/*
 * DOSYA YOLU : /module/community/assets/cy.css   (YENİ DOSYA)
 * AÇIKLAMA   : Topluluk stilleri (önek: cy-): gönderi formu, gönderi kartı, anket çubukları, beğeni düğmesi.
 *              Sadece core.css / yt.css değişkenlerine (--st-*) bağlıdır.
 */
.cy { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.cy-muted { font-size: 13px; color: var(--st-text-2); }
.cy-empty { padding: 32px 8px; text-align: center; font-size: 14px; color: var(--st-text-3); }
.cy-empty[hidden] { display: none; }
.cy-error { font-size: 13px; color: var(--st-danger); }
.cy-error:empty { display: none; }
.cy-spacer { flex: 1; }

.cy-form { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--st-surface); border: 1px solid var(--st-border); }
.cy-form__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cy-input { width: 100%; min-height: 56px; padding: 10px 12px; resize: vertical; border-radius: 10px; border: 1px solid var(--st-border-strong); background: var(--st-bg); color: var(--st-text); font: 16px/1.45 inherit; outline: 0; }
.cy-input:focus { border-color: var(--st-accent); box-shadow: var(--st-ring); }
.cy-polledit { display: flex; flex-direction: column; gap: 8px; }
.cy-polledit[hidden] { display: none; }
.cy-polledit > div { display: flex; flex-direction: column; gap: 8px; }
.cy-polledit .st-btn { align-self: flex-start; }
.cy-form__row { display: flex; align-items: center; gap: 8px; }
.cy-form__row .is-on { background: var(--st-accent-soft); color: var(--st-accent); }

.cy-list { display: flex; flex-direction: column; gap: 14px; }
.cy-post { padding: 16px; border-radius: 14px; background: var(--st-surface); border: 1px solid var(--st-border); }
.cy-post__head { display: flex; align-items: center; gap: 12px; }
.cy-post__av { flex: none; }
.cy-post__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cy-post__who strong { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cy-post__who small { font-size: 12.5px; color: var(--st-text-3); }
.cy-post__body { margin: 12px 0 4px; font-size: 14.5px; line-height: 22px; overflow-wrap: anywhere; }
.cy-post__body a { color: var(--st-accent); }
.cy-post__body a:hover { text-decoration: underline; }
.cy-ib { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--st-text-2); }
.cy-ib:hover { background: var(--st-surface-3); color: var(--st-danger); }

.cy-poll { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.cy-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 14px; overflow: hidden; border-radius: 10px; border: 1px solid var(--st-border-strong); font-size: 14px; text-align: left; }
.cy-opt--btn { cursor: pointer; background: var(--st-bg); transition: background .15s, border-color .15s; }
.cy-opt--btn:hover { border-color: var(--st-accent); background: var(--st-accent-soft); }
.cy-opt--res { background: var(--st-surface-2); border-color: transparent; }
.cy-opt--res i { position: absolute; inset: 0 auto 0 0; background: var(--st-surface-3); }
.cy-opt--res.is-mine i { background: var(--st-accent-soft); }
.cy-opt--res.is-mine { box-shadow: inset 0 0 0 1.5px var(--st-accent); }
.cy-opt__l, .cy-opt__p { position: relative; }
.cy-opt__l { overflow-wrap: anywhere; }
.cy-opt__p { font-weight: 600; font-variant-numeric: tabular-nums; }
.cy-poll__n { font-size: 12.5px; color: var(--st-text-3); }

.cy-post__foot { display: flex; margin-top: 8px; }
.cy-like { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 18px; font-size: 13.5px; font-weight: 500; color: var(--st-text-2); transition: background .15s, color .15s; }
.cy-like:hover { background: var(--st-surface-2); color: var(--st-text); }
.cy-like.is-on { color: var(--st-accent); background: var(--st-accent-soft); }
.cy-like.is-on .st-icon { fill: currentColor; fill-opacity: .22; }
.cy-more { display: flex; justify-content: center; }
.cy-more[hidden] { display: none; }


/* ---------- MODÜL 29: yorumlar ---------- */
.cy-comments { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--st-border); display: flex; flex-direction: column; gap: 12px; }
.cy-comments[hidden] { display: none; }
.cy-cform { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cy-cinput { width: 100%; min-height: 40px; padding: 9px 12px; resize: vertical; border-radius: 10px; border: 1px solid var(--st-border-strong); background: var(--st-bg); color: var(--st-text); font: 16px/1.4 inherit; outline: 0; }
.cy-cinput:focus { border-color: var(--st-accent); box-shadow: var(--st-ring); }
.cy-c { display: flex; gap: 10px; margin-bottom: 12px; }
.cy-c__b { flex: 1; min-width: 0; }
.cy-c__m { display: flex; align-items: center; gap: 8px; }
.cy-c__m strong { font-size: 13.5px; font-weight: 600; }
.cy-c__m small { font-size: 12px; color: var(--st-text-3); }
.cy-c__x { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--st-text-3); }
.cy-c__x:hover { background: var(--st-surface-3); color: var(--st-danger); }
.cy-c__t { margin-top: 2px; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.cy-c__t a { color: var(--st-accent); }