/* ==========================================================================
   AleviOlsun yeni tasarım: alevicanlar.net renkleri (koyu kırmızı, altın, yeşil, krem)
   + akış, hikayeler, bilgi yarışması, öne çıkanlar. Önce mobil.
   ========================================================================== */

:root {
  --ac-red: #8f1220; --ac-red2: #b81d2c; --ac-green: #1f6b4a; --ac-gold: #d9a233;
  --serif: Georgia, 'Times New Roman', serif;
}
:root, :root[data-theme="dark"] {
  --bg: #150f0e; --surface: #201816; --surface-2: #2b201d; --border: #392b27; --text: #f1e7dc; --muted: #ad9a90;
  --glass: rgba(21, 15, 14, .6); --skeleton-a: #201816; --skeleton-b: #2b201d;
  --accent-text: #f0b45a;
}
:root[data-theme="light"], :root[data-theme="system"] {
  --bg: #f7f1e6; --surface: #fffdf8; --surface-2: #f3e8d6; --border: #eadfce; --text: #2a1b17; --muted: #7b6860;
  --glass: rgba(255, 253, 248, .7); --skeleton-a: #f3e8d6; --skeleton-b: #fffdf8;
  --accent-text: #9c1524;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] { --bg: #150f0e; --surface: #201816; --surface-2: #2b201d; --border: #392b27; --text: #f1e7dc; --muted: #ad9a90; --accent-text: #f0b45a; }
}

/* Genel dokunuşlar */
h1, h2, .feed-title, .lead-h { font-family: var(--serif); }
.pill-gold { background: linear-gradient(135deg, #f3c15a, var(--ac-gold)); color: #3b2500; }
.btn-primary { background: linear-gradient(135deg, var(--ac-red2), var(--ac-red)); }
.nav { border-color: var(--border); }
.nav-item.active { color: var(--accent-text); }
@media (min-width: 769px) {
  .nav { background: linear-gradient(180deg, var(--surface), var(--bg)); }
  .nav-item.active { background: color-mix(in srgb, var(--ac-red2) 14%, transparent); }
}
/* Mobilde 5 menü öğesi sığsın */
@media (max-width: 380px) { .nav-item { font-size: .62rem; } .nav-item .ico { width: 23px; height: 23px; } }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip:hover { text-decoration: none; border-color: var(--ac-gold); }
.no-scroll { overflow: hidden; }
.progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ac-gold), var(--ac-red2)); transition: width .2s; }

/* ---------- Akış düzeni ---------- */
.main-feed { max-width: 1060px; padding-left: 0; padding-right: 0; }
.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.feed-col { min-width: 0; }
.feed-side { padding: 0 12px; }
@media (min-width: 1000px) {
  .feed-layout { grid-template-columns: minmax(0, 620px) 320px; justify-content: center; }
  .feed-side { position: sticky; top: 20px; align-self: start; padding: 0; }
}
.feed-head { padding: 0 12px; flex-wrap: wrap; }
.feed-title { margin: 0; font-size: 1.6rem; color: var(--accent-text); }
.feed-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.feed-chips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .main-feed .card { border-radius: var(--radius); } }
@media (max-width: 639px) { .main-feed .feed-col > .card, .main-feed .feed-list .card { border-radius: 0; border-left: 0; border-right: 0; margin-bottom: 8px; } }

/* ---------- Hikaye şeridi ---------- */
.stories { display: flex; gap: 12px; padding: 4px 12px 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stories::-webkit-scrollbar { display: none; }
.story-list { display: flex; gap: 12px; }
.story-item { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 74px; flex: none; background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; position: relative; }
.story-ring { position: relative; width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: var(--border); display: block; }
.story-ring.unseen { background: conic-gradient(var(--ac-red2), var(--ac-gold), var(--ac-green), var(--ac-red2)); }
.story-ring.gold { background: linear-gradient(135deg, #ffe08a, var(--ac-gold), #a8741a); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ac-gold) 35%, transparent); }
.story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); display: block; background: var(--surface-2); }
.story-ring.mine { background: var(--surface-2); }
.story-plus { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--ac-red2); color: #fff; display: grid; place-items: center; border: 2px solid var(--bg); }
.story-name { font-size: .72rem; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-gold { position: absolute; top: 54px; left: 50%; transform: translateX(-50%); font-size: .55rem; font-weight: 800; letter-spacing: .04em; padding: 1px 6px; border-radius: 999px; background: var(--ac-gold); color: #3b2500; border: 2px solid var(--bg); }
.story-skel { width: 68px; height: 68px; border-radius: 50%; flex: none; }
.story-empty { align-self: center; white-space: nowrap; }

/* Hikaye izleyici */
.story-viewer { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; display: flex; flex-direction: column; }
.story-viewer[hidden] { display: none; }
.sv-bars { display: flex; gap: 4px; padding: calc(var(--safe-t) + 10px) 10px 0; position: relative; z-index: 3; }
.sv-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.sv-bars span i { display: block; height: 100%; width: 0; background: #fff; }
.sv-bars span.done i { width: 100%; }
.sv-head { display: flex; align-items: center; gap: 8px; padding: 10px; position: relative; z-index: 3; }
.sv-head .icon-btn { color: #fff; }
.sv-user { display: flex; align-items: center; gap: 8px; color: #fff; flex: 1; min-width: 0; font-weight: 700; text-decoration: none; }
.sv-user small { opacity: .7; font-weight: 400; }
.sv-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.sv-stage img, .sv-stage video { max-width: 100%; max-height: 100%; object-fit: contain; }
.sv-text { position: absolute; inset: 0; }
.sv-caption { position: absolute; left: 16px; right: 16px; bottom: calc(var(--safe-b) + 60px); margin: 0; text-align: center; font-size: 1.05rem; text-shadow: 0 1px 6px rgba(0,0,0,.8); white-space: pre-wrap; word-break: break-word; }
.sv-caption.big { top: 50%; bottom: auto; transform: translateY(-50%); font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; }
.sv-nav { position: absolute; top: 80px; bottom: 60px; width: 35%; background: none; border: 0; z-index: 2; cursor: pointer; }
.sv-prev { left: 0; } .sv-next { right: 0; width: 65%; }
.sv-meta { position: absolute; bottom: calc(var(--safe-b) + 16px); left: 0; right: 0; text-align: center; font-size: .85rem; opacity: .8; margin: 0; z-index: 3; }
@media (min-width: 769px) { .story-viewer { left: 50%; width: min(440px, 100%); transform: translateX(-50%); box-shadow: 0 0 0 100vmax rgba(0,0,0,.85); } }

/* Hikaye ekleme */
.story-preview { position: relative; height: 260px; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--ac-red); color: #fff; margin: 10px 0; }
.story-preview img, .story-preview video { max-width: 100%; max-height: 100%; }
.story-preview .sv-caption.big { position: static; transform: none; padding: 16px; }
#story-text { width: 100%; }
.story-bgs { display: flex; gap: 8px; margin: 8px 0; }
.bg-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; }
.bg-dot.on { border-color: var(--text); transform: scale(1.12); }

/* ---------- Paylaşım formu ---------- */
.post-composer textarea { width: 100%; border: 0; background: transparent; resize: vertical; min-height: 56px; font-size: 1rem; color: var(--text); padding: 4px 2px; }
.post-composer textarea:focus { outline: none; }
.composer-preview { position: relative; margin: 8px 0; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.composer-preview img, .composer-preview video { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #000; }
.prev-x { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 1.4rem; }
.composer-title { width: 100%; margin: 6px 0; }
.composer-bar { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; }
.c-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; color: var(--muted); font-size: .88rem; font-weight: 600; cursor: pointer; }
.c-btn:hover { background: var(--surface-2); color: var(--text); }
.c-btn:nth-child(1) .ico { color: var(--ac-green); } .c-btn:nth-child(2) .ico { color: var(--ac-red2); } .c-btn:nth-child(3) .ico { color: var(--ac-gold); }
.composer-send { margin-left: auto; }
.composer-note { margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 420px) { .c-btn span { display: none; } }

/* ---------- Paylaşım kartı ---------- */
.post { padding: 14px 14px 6px; }
/* Gold paylaşımlarında ayrı kenar çizgisi yok: Gold rozeti yazarın adının yanında zaten görünüyor */
.post-gold { border-color: var(--border); box-shadow: none; }
.post-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.post-author { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; flex: 1; }
.post-author:hover { text-decoration: none; }
.post-who { display: flex; flex-direction: column; min-width: 0; }
.post-name { font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-who small { font-size: .78rem; }
.p-del, .c-del { color: var(--muted); }
.post-pending { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ac-gold); margin: 0 0 8px; }
.post-body { margin: 0 0 10px; white-space: pre-wrap; word-break: break-word; line-height: 1.5; font-size: 1rem; }
.post-media { display: block; margin: 0 -14px 8px; background: #000; }
.post-media img, .post-media video { display: block; width: 100%; max-height: 640px; object-fit: contain; }
.post-mtitle { margin: 0; padding: 8px 14px; background: var(--surface-2); color: var(--text); font-weight: 600; }
.post-audio { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--ac-red) 22%, var(--surface-2)), var(--surface-2)); margin-bottom: 8px; }
.post-audio-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ac-red2); color: #fff; display: grid; place-items: center; flex: none; }
.post-audio-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.post-audio audio { width: 100%; height: 36px; }
.post-actions { display: flex; gap: 4px; border-top: 1px solid var(--border); padding-top: 4px; }
.p-act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; background: none; border: 0; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .9rem; cursor: pointer; }
.p-act:hover { background: var(--surface-2); }
.p-act.on { color: var(--like); }
.p-act.on .ico { fill: currentColor; }
.post-comments { border-top: 1px solid var(--border); padding: 10px 0 8px; }
.comment { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.comment.pending { opacity: .7; }
.comment-b { flex: 1; min-width: 0; background: var(--surface-2); border-radius: 14px; padding: 8px 12px; }
.comment-b p { margin: 2px 0 0; white-space: pre-wrap; word-break: break-word; }
.c-name { font-weight: 700; color: var(--text); margin-right: 4px; }
.comment-form { display: flex; gap: 8px; align-items: flex-end; }
.comment-form textarea { flex: 1; min-height: 40px; resize: none; }
.warn-modal { max-width: 420px; text-align: left; }
.warn-title { font-weight: 800; font-size: 1.1rem; color: var(--ac-red2); }
:root[data-theme="dark"] .warn-title { color: #ff8a8a; }

/* ---------- Yan sütun kartları ---------- */
.info-card { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, color-mix(in srgb, var(--ac-green) 22%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--ac-green) 40%, var(--border)); }
.info-card p { margin: 4px 0 10px; }
.info-ic, .quiz-cta-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--ac-green); color: #fff; }
.quiz-cta { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, color-mix(in srgb, var(--ac-gold) 22%, var(--surface)), var(--surface)); }
.quiz-cta-ic { background: var(--ac-gold); color: #3b2500; }
.quiz-cta p { margin: 4px 0 10px; }
.lead-h { font-size: 1.05rem; margin: 0 0 10px; color: var(--accent-text); }
.lead-list { list-style: none; margin: 0; padding: 0; }
.lead-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); }
.lead-row:first-child { border-top: 0; }
.lead-rank { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--surface-2); color: var(--muted); flex: none; }
.lead-rank.top1 { background: var(--ac-gold); color: #3b2500; } .lead-rank.top2 { background: #c9c3bb; color: #2a1b17; } .lead-rank.top3 { background: #b9773e; color: #fff; }
.lead-user { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; color: var(--text); text-decoration: none; }
.lead-name { display: flex; flex-direction: column; min-width: 0; font-weight: 600; font-size: .92rem; }
.lead-name small { font-weight: 400; font-size: .75rem; }
.lead-val { font-size: .9rem; white-space: nowrap; color: var(--accent-text); }
.lead-val small { font-weight: 400; color: var(--muted); }

/* ---------- Alevilik sayfası ---------- */
.alevi-hero { text-align: center; padding: 28px 20px; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--ac-red) 30%, var(--surface)), var(--surface) 70%); }
.alevi-hero-img { width: 84px; height: 84px; border-radius: 22px; }
.alevi-hero .btn { margin-top: 10px; }

/* ---------- Bilgi yarışması ---------- */
.quiz-intro { text-align: center; padding: 26px 18px; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--ac-gold) 24%, var(--surface)), var(--surface) 70%); }
.quiz-badge { width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffe08a, var(--ac-gold)); color: #3b2500; }
.quiz-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0; }
.quiz-facts li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: .85rem; }
.quiz-me { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.quiz-me div { background: var(--surface-2); border-radius: 14px; padding: 10px 6px; display: flex; flex-direction: column; }
.quiz-me b { font-size: 1.3rem; color: var(--accent-text); }
.quiz-me small { color: var(--muted); font-size: .72rem; }
.quiz-how { text-align: left; margin-top: 14px; }
.quiz-how summary { cursor: pointer; font-weight: 700; }
.qz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qz-heart { color: var(--like); font-size: 1.15rem; margin: 0 1px; }
.qz-score { font-weight: 700; }
.qz-score b { color: var(--accent-text); font-size: 1.2rem; }
.qz-timer { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin: 14px 0 8px; }
.qz-timer span { display: block; height: 100%; background: linear-gradient(90deg, var(--ac-green), var(--ac-gold)); }
.qz-timer span.low { background: var(--ac-red2); }
.qz-meta { color: var(--muted); font-size: .82rem; margin: 0 0 6px; }
.qz-q { font-size: 1.25rem; line-height: 1.4; margin: 6px 0 16px; }
.qz-opts { display: grid; gap: 10px; }
.qz-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border-radius: 16px; border: 2px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 1rem; cursor: pointer; transition: transform .1s, border-color .15s; }
.qz-opt b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); flex: none; }
.qz-opt:hover:not(:disabled) { border-color: var(--ac-gold); }
.qz-opt:active { transform: scale(.99); }
.qz-opt.gone { opacity: .25; }
.qz-opt.picked { border-color: var(--ac-gold); }
.qz-opt.right { border-color: #22c55e; background: color-mix(in srgb, #22c55e 18%, var(--surface-2)); }
.qz-opt.wrong { border-color: var(--like); background: color-mix(in srgb, var(--like) 16%, var(--surface-2)); }
.qz-feedback { min-height: 1.4em; font-weight: 700; margin: 12px 0 4px; }
.qz-feedback.ok { color: #22c55e; } .qz-feedback.bad { color: var(--like); }
.qz-jokers { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.quiz-end { text-align: center; }
.qz-final b { font-size: 2.6rem; color: var(--accent-text); font-family: var(--serif); }
.qz-tabs { display: flex; width: 100%; margin-bottom: 12px; }
.seg-text { flex: 1; border: 0; background: none; padding: 8px 6px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .85rem; cursor: pointer; }
.seg-text.active { background: var(--surface-2); color: var(--text); }
.qz-tabs + div .card, [data-board-panel] .card { border: 0; padding: 0; background: none; }

/* ---------- Profil: hikayeler ve paylaşımlar ---------- */
.profile-social { padding: 0 16px; }
.profile-social h2 { font-size: 1.1rem; margin: 18px 0 10px; }
.ustories { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.ustory { position: relative; width: 92px; height: 150px; flex: none; border-radius: 14px; overflow: hidden; border: 2px solid var(--border); background: var(--surface-2); padding: 0; cursor: pointer; color: #fff; }
.ustory img { width: 100%; height: 100%; object-fit: cover; }
.ustory span { display: block; padding: 8px; font-size: .75rem; text-align: left; }
.ustory .ustory-play { position: absolute; top: 6px; right: 6px; padding: 4px; border-radius: 50%; background: rgba(0,0,0,.55); }
.profile-counts { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.profile-counts span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: .85rem; }
.profile-counts b { color: var(--accent-text); }
aside.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 0 0 16px; }
.info-card { background: linear-gradient(135deg, color-mix(in srgb, var(--ac-green) 22%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--ac-green) 40%, var(--border)); }

/* ======================= v2 ======================= */
/* alevicanlar.net tarzı ikonlu üst menü */
.icon-menu { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 12px 12px; -webkit-overflow-scrolling: touch; }
.icon-menu::-webkit-scrollbar { display: none; }
.im-item { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--text); text-decoration: none; cursor: pointer; font: inherit; }
.im-item:hover { text-decoration: none; }
.im-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--ac-red2); box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .12s; }
:root[data-theme="dark"] .im-ic { color: #e2434f; }
.im-ic .ico { width: 28px; height: 28px; }
.im-item:active .im-ic { transform: scale(.94); }
.im-item.on .im-ic, .im-item:first-child .im-ic { background: linear-gradient(160deg, var(--ac-red2), var(--ac-red)); color: #ffe7a8; border-color: transparent; }
.im-l { font-size: .76rem; font-weight: 700; text-align: center; line-height: 1.15; }
@media (min-width: 769px) { .icon-menu { flex-wrap: wrap; overflow: visible; } }

/* Yan sütun yalnızca geniş ekranda (mobilde aynı bağlantılar üst menüde) */
@media (max-width: 999px) { .feed-side { display: none; } }

/* Paylaşım formu v2 */
.pc-top { display: flex; gap: 10px; align-items: flex-start; }
.pc-top .avatar { margin-top: 4px; }
.pc-extra { margin: 8px 0; }
.pc-extra input { width: 100%; }
.poll-in { margin-bottom: 6px; }
.poll-in input { width: 100%; }
.pc-status { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-text); margin: 8px 0 0; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.c-btn { background: none; border: 0; font: inherit; }
.c-btn:nth-child(3) .ico { color: var(--ac-gold); }
.warn-strong { font-weight: 700; color: var(--ac-gold); }

/* YouTube */
.post-media.yt { background: #000; }
.yt-poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 14px; background: #e00; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.5); }
.yt-play .ico { fill: currentColor; }
.post-media.yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.yt-badge { display: inline-block; font-size: .7rem; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: #e00; color: #fff; vertical-align: middle; }

/* Anket */
.poll-q { font-weight: 700; font-size: 1.05rem; }
.poll { display: grid; gap: 8px; margin-bottom: 10px; }
.poll-opt { width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--border); background: var(--surface-2); color: var(--text); font-weight: 600; font-size: .95rem; cursor: pointer; }
.poll-opt:hover { border-color: var(--ac-gold); }
.poll-res { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; border-radius: 14px; background: var(--surface-2); overflow: hidden; font-weight: 600; }
.poll-res.mine { outline: 2px solid var(--ac-gold); }
.poll-bar { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--ac-red2) 30%, transparent); transition: width .5s; }
.poll-l, .poll-res b { position: relative; display: flex; align-items: center; gap: 6px; }

/* Cevaplı yorumlar */
.comment-main { flex: 1; min-width: 0; }
.c-meta { display: flex; align-items: center; gap: 10px; padding: 2px 10px 0; }
.c-reply { background: none; border: 0; padding: 0; color: var(--muted); font-weight: 700; font-size: .8rem; cursor: pointer; }
.c-reply:hover { color: var(--text); }
.c-replies { margin-left: 40px; }
.comment.reply .avatar-sm { width: 26px; height: 26px; }
.reply-box { margin: 0 0 10px 40px; }
.c-status { display: flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 700; }

/* Hikaye izleyici v2: 9:16 kutu */
.story-viewer { align-items: center; justify-content: center; }
.sv-box { position: relative; width: min(100vw, calc(100dvh * 9 / 16)); height: min(100dvh, calc(100vw * 16 / 9)); max-height: 100dvh; margin: auto; overflow: hidden; background: #000; }
@media (min-width: 769px) { .story-viewer { left: 0; width: 100%; transform: none; box-shadow: none; background: rgba(0,0,0,.92); } .sv-box { border-radius: 16px; height: min(94dvh, calc(100vw * 16 / 9)); width: min(100vw, calc(94dvh * 9 / 16)); } }
.sv-box .sv-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.sv-box .sv-stage img { width: 100%; height: 100%; object-fit: contain; }
.sv-box .sv-stage video { width: 100%; height: 100%; object-fit: cover; }
.sv-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.sv-box .sv-bars { position: absolute; top: 0; left: 0; right: 0; padding: calc(var(--safe-t) + 8px) 8px 0; z-index: 3; }
.sv-box .sv-head { position: absolute; top: calc(var(--safe-t) + 16px); left: 0; right: 0; z-index: 3; background: linear-gradient(rgba(0,0,0,.45), transparent); }
.sv-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px calc(var(--safe-b) + 14px); background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.sv-foot .sv-meta { position: static; margin: 0; text-align: left; }
.sv-like { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 700; }
.sv-like .ico { width: 26px; height: 26px; }
.sv-like.on { color: #ff4d57; border-color: #ff4d57; }
.sv-like.on .ico { fill: currentColor; }
.sv-like.pop { animation: pop .4s; }
@keyframes pop { 50% { transform: scale(1.3); } }
.sv-box .sv-nav { top: 70px; bottom: 70px; }

/* Yazı ve çıkartma katmanı (izleyici ve düzenleyici ortak) */
.ov-item { position: absolute; transform: translate(-50%, -50%); white-space: pre; text-align: center; line-height: 1.2; font-weight: 700; user-select: none; -webkit-user-select: none; }
.ov-text:not(.ov-bg) { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ov-bg { background: rgba(0,0,0,.55); padding: .15em .35em; border-radius: .3em; }
.ov-emoji { font-weight: 400; line-height: 1; }

/* Hikaye düzenleyici */
.story-editor { position: fixed; inset: 0; z-index: 210; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; }
.story-editor[hidden] { display: none; }
.se-box { position: relative; width: min(100vw, calc(100dvh * 9 / 16)); height: min(100dvh, calc(100vw * 16 / 9)); overflow: hidden; background: #111; touch-action: none; }
@media (min-width: 769px) { .se-box { border-radius: 16px; height: min(94dvh, calc(100vw * 16 / 9)); width: min(100vw, calc(94dvh * 9 / 16)); } }
.se-stage { position: absolute; inset: 0; }
.se-stage img, .se-stage video { width: 100%; height: 100%; object-fit: cover; }
.se-layer { position: absolute; inset: 0; z-index: 2; }
.se-layer .ov-item { cursor: grab; touch-action: none; }
.se-layer .ov-item.sel { outline: 2px dashed rgba(255,255,255,.9); outline-offset: 4px; }
.se-top { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; gap: 8px; align-items: center; padding: calc(var(--safe-t) + 10px) 10px 10px; background: linear-gradient(rgba(0,0,0,.45), transparent); }
.se-grow { flex: 1; }
.se-tool { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.2rem; cursor: pointer; }
.se-aa { font-weight: 800; font-family: var(--serif); }
.se-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; display: block; }
.se-empty { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; pointer-events: none; }
.se-empty > * { pointer-events: auto; }
.se-empty[hidden] { display: none; }
.se-sel { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 5; display: flex; gap: 6px; background: rgba(0,0,0,.6); border-radius: 999px; padding: 6px; }
.se-sel[hidden] { display: none; }
.se-sel button { min-width: 44px; height: 40px; border-radius: 999px; border: 0; background: rgba(255,255,255,.15); color: #fff; font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.se-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 10px 12px calc(var(--safe-b) + 14px); background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.se-status { display: flex; align-items: center; gap: 8px; justify-content: center; min-height: 1.2em; margin: 4px 0 8px; font-weight: 700; }
.se-share { width: 100%; }
.se-panel { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: min(100vw, 480px); z-index: 220; background: rgba(20,14,13,.96); border-radius: 22px 22px 0 0; padding: 16px 16px calc(var(--safe-b) + 16px); }
.se-panel[hidden] { display: none; }
.se-panel textarea { width: 100%; background: #000; color: #fff; border: 1px solid #444; border-radius: 14px; font-size: 1.2rem; font-weight: 700; text-align: center; }
.se-colors { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.se-color { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #666; cursor: pointer; }
.se-color.on { border-color: #fff; transform: scale(1.15); }
.se-row { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.se-stickers { display: flex; flex-wrap: wrap; gap: 8px; max-height: 46dvh; overflow-y: auto; }
.se-emoji { font-size: 2rem; width: 52px; height: 52px; border: 0; background: rgba(255,255,255,.08); border-radius: 14px; cursor: pointer; }
.se-word { border: 0; background: rgba(0,0,0,.55); color: #fff; font-weight: 800; padding: 8px 12px; border-radius: 10px; cursor: pointer; border: 1px solid rgba(255,255,255,.2); }

/* ---------- Profil v2: işlemler > hikayeler > paylaşımlar > hakkında ---------- */
.pf-stories { padding: 14px 16px 0; }
.pf-stories h2, .pf-tabs + h2 { font-size: 1rem; margin: 0 0 8px; }
.pf-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.pf-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; font-size: .92rem; }
.pf-tab:hover { text-decoration: none; }
.pf-tab.on { background: linear-gradient(135deg, var(--ac-red2), var(--ac-red)); color: #fff; border-color: transparent; }
.pf-posts { padding: 0 16px; }
.pf-about-h { padding: 8px 16px 0; font-size: 1.1rem; }
.profile .about { scroll-margin-top: 70px; }
.quiz-support { margin: -4px 0 8px; font-weight: 700; color: var(--ac-green); }
:root[data-theme="dark"] .quiz-support, :root[data-theme="dark"] .quiz-support a { color: #5fc292; }
@media (min-width: 769px) { .icon-menu { flex-wrap: nowrap; gap: 6px; overflow-x: auto; } .im-item { width: 66px; } .im-ic { width: 54px; height: 54px; border-radius: 16px; } }
.profile .pf-posts .card, .pf-posts .card { margin: 0 0 12px; }
.c-like { display: inline-flex; align-items: center; gap: 3px; background: none; border: 0; padding: 0; color: var(--muted); font-weight: 700; font-size: .8rem; cursor: pointer; }
.c-like.on { color: var(--like); }
.c-like.on .ico { fill: currentColor; }

/* ---------- Profil işlem düğmeleri: tek satır, renkli ikonlu karolar (açık ve koyu temada okunur) ---------- */
.gallery-info { background: linear-gradient(to top, rgba(12,8,7,.92) 0%, rgba(12,8,7,.75) 32%, rgba(0,0,0,.35) 64%, rgba(0,0,0,0) 100%) !important; }
.gallery-info h1, .gallery-sub, .gallery-status { color: #fff; }
.gallery-status.is-online { color: #4ADE80; }
.pa-tiles { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; padding: 14px 0 0 !important; }
.pa-tiles .btn { flex-direction: column; gap: 3px; min-height: 62px; padding: 8px 4px; border-radius: 18px; border: 0; font-size: .74rem; font-weight: 800; letter-spacing: 0; text-transform: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.3); text-shadow: none; }
.pa-tiles .btn .ico { width: 24px; height: 24px; }
.pa-tiles .btn-like { background: linear-gradient(160deg, #ff5a6a, #e0233a); color: #fff; }
.pa-tiles .btn-like.is-done { background: #fff; color: #e0233a; opacity: 1; }
.pa-tiles .btn-like.is-done .ico { fill: currentColor; }
.pa-tiles .btn-dark, :root[data-theme] .pa-tiles .btn-dark { background: linear-gradient(160deg, var(--ac-red2), var(--ac-red)); color: #fff; }
.pa-tiles .btn-gold { background: linear-gradient(160deg, #ffd56b, var(--ac-gold)); color: #3b2500; }
.pa-tiles .btn-gold.is-done { background: #fff; color: #a8741a; }
.pa-tiles .btn-gold.is-done .ico { fill: currentColor; }
.pa-tiles #btn-poke { background: linear-gradient(160deg, #2a8a5f, var(--ac-green)); color: #fff; }
.pa-tiles .btn:disabled { cursor: default; }
@media (min-width: 769px) { .pa-tiles .btn { font-size: .85rem; min-height: 66px; } }

/* Açık temada profil kartları ve sekmeler belirgin olsun */
:root[data-theme="light"] .pf-tabs, :root[data-theme="system"] .pf-tabs { background: var(--bg); }
:root[data-theme="light"] .pf-tab:not(.on) { background: #fff; border-color: #e3d6c2; color: #2a1b17; }
:root[data-theme="light"] .profile .card { box-shadow: 0 2px 10px rgba(42,27,23,.06); }
:root[data-theme="light"] .star { color: #d9cbb5; }
:root[data-theme="light"] .star.on { color: var(--ac-gold); }
:root[data-theme="light"] .gallery-top .icon-btn, :root[data-theme="light"] .photo-like { background: rgba(0,0,0,.35); color: #fff; }

/* ======================= Yarışma stüdyosu (tam ekran) ======================= */
body.qz-on { overflow: hidden; }
body.qz-on nav.nav, body.qz-on .site-footer { display: none !important; }
.qz-studio { position: fixed; inset: 0; z-index: 300; overflow-y: auto; color: #fff;
  background: radial-gradient(ellipse at 50% -10%, #5a0f19 0%, #2a0a0f 40%, #0d0606 75%); display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--safe-t) + 10px) 14px calc(var(--safe-b) + 18px); }
.qz-studio[hidden] { display: none; }
.qz-lights { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.qz-lights span { position: absolute; top: -20%; width: 40%; height: 140%; background: linear-gradient(to bottom, rgba(255,214,107,.18), transparent 70%); filter: blur(6px); transform-origin: top center; animation: sweep 6s ease-in-out infinite alternate; }
.qz-lights span:nth-child(1) { left: 0; transform: rotate(18deg); }
.qz-lights span:nth-child(2) { left: 30%; animation-delay: -2s; background: linear-gradient(to bottom, rgba(184,29,44,.22), transparent 70%); }
.qz-lights span:nth-child(3) { right: 0; transform: rotate(-18deg); animation-delay: -4s; }
@keyframes sweep { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
.qz-bar { position: relative; z-index: 2; width: 100%; max-width: 760px; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.qz-pill { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.qz-brand { flex: 1; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 1rem; color: #ffd56b; line-height: 1.2; }
.qz-brand small { display: block; font-family: var(--sans); font-size: .72rem; color: #9fe0bd; font-weight: 600; }
.quiz-game, .quiz-end { position: relative; z-index: 2; width: 100%; max-width: 760px; }
.qz-hud { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 10px; }
.qz-heart { color: #ff4d57; font-size: 1.4rem; margin-right: 2px; text-shadow: 0 0 10px rgba(255,77,87,.7); display: inline-block; animation: heart 1.4s ease-in-out infinite; }
@keyframes heart { 50% { transform: scale(1.15); } }
.qz-ring { position: relative; width: 84px; height: 84px; }
.qz-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-ring circle { fill: none; stroke-width: 8; }
.qz-ring-bg { stroke: rgba(255,255,255,.12); }
.qz-ring-fg { stroke: #ffd56b; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,213,107,.8)); }
.qz-studio.urgent .qz-ring-fg { stroke: #ff4d57; filter: drop-shadow(0 0 8px rgba(255,77,87,.9)); }
.qz-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; }
.qz-studio.urgent .qz-ring b { color: #ff7b84; animation: heart .5s ease-in-out infinite; }
.qz-score { text-align: right; }
.qz-score b { display: block; font-size: 1.7rem; color: #ffd56b; font-family: var(--serif); line-height: 1; }
.qz-score small { color: rgba(255,255,255,.7); }
.qz-studio .qz-timer { background: rgba(255,255,255,.1); }
.qz-studio .qz-meta { color: rgba(255,255,255,.65); text-align: center; }
.qz-studio .qz-q { text-align: center; font-family: var(--serif); font-size: clamp(1.2rem, 4.6vw, 1.9rem); line-height: 1.35; margin: 10px 0 18px; padding: 18px 16px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,213,107,.35); box-shadow: 0 0 30px rgba(217,162,51,.15) inset; }
.qz-q.in { animation: qin .55s cubic-bezier(.2,.9,.3,1.2); }
@keyframes qin { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }
.qz-studio .qz-opts { grid-template-columns: 1fr; }
@media (min-width: 640px) { .qz-studio .qz-opts { grid-template-columns: 1fr 1fr; } }
.qz-studio .qz-opt { background: linear-gradient(90deg, rgba(60,14,20,.95), rgba(30,10,12,.95)); border: 2px solid rgba(255,213,107,.35); color: #fff; border-radius: 40px; padding: 14px 18px;
  opacity: 0; animation: optin .4s ease forwards; clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%); }
@keyframes optin { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
.qz-studio .qz-opt b { background: #ffd56b; color: #3b2500; }
.qz-studio .qz-opt:hover:not(:disabled) { border-color: #ffd56b; box-shadow: 0 0 18px rgba(255,213,107,.4); }
.qz-studio .qz-opt.picked { background: linear-gradient(90deg, #b8861f, #8a5f0f); border-color: #ffd56b; animation: blink .3s 3; opacity: 1; }
@keyframes blink { 50% { filter: brightness(1.5); } }
.qz-studio .qz-opt.right { background: linear-gradient(90deg, #1f8a55, #12613a); border-color: #6ff0a8; box-shadow: 0 0 24px rgba(111,240,168,.6); opacity: 1; animation: none; }
.qz-studio .qz-opt.wrong { background: linear-gradient(90deg, #a51d2b, #6d0f18); border-color: #ff7b84; opacity: 1; animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.qz-studio .qz-opt.gone { opacity: .15 !important; animation: none; }
.qz-studio .qz-feedback { text-align: center; font-size: 1.15rem; min-height: 1.6em; }
.qz-feedback.pop { animation: fbpop .4s ease; }
@keyframes fbpop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.qz-studio .qz-feedback.ok { color: #6ff0a8; } .qz-studio .qz-feedback.bad { color: #ff7b84; }
.qz-studio .qz-jokers { gap: 10px; }
.qz-joker { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 92px; padding: 8px 10px; border-radius: 16px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: #fff; cursor: pointer; }
.qz-joker b { font-size: 1.05rem; color: #ffd56b; }
.qz-joker small { font-size: .7rem; opacity: .8; }
.qz-joker:disabled { opacity: .3; cursor: default; }
.qz-studio.flash-ok { box-shadow: inset 0 0 120px rgba(111,240,168,.45); }
.qz-studio.flash-bad { box-shadow: inset 0 0 120px rgba(255,77,87,.5); }
.qz-count { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; }
.qz-count[hidden] { display: none; }
.qz-count span { font-family: var(--serif); font-size: clamp(5rem, 30vw, 11rem); font-weight: 800; color: #ffd56b; text-shadow: 0 0 40px rgba(255,213,107,.8); line-height: 1; }
.qz-count span.beat { animation: beat .85s ease; }
@keyframes beat { 0% { transform: scale(2.2); opacity: 0; } 30% { transform: scale(1); opacity: 1; } 100% { transform: scale(.8); opacity: .2; } }
.qz-count small { font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.qz-studio .quiz-end { text-align: center; padding-top: 20px; }
.qz-trophy { font-size: 5rem; animation: trophy 1.2s cubic-bezier(.2,.9,.3,1.3); filter: drop-shadow(0 0 30px rgba(255,213,107,.7)); }
@keyframes trophy { from { transform: translateY(-80px) scale(.3) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
.qz-badge { display: inline-block; background: #ffd56b; color: #3b2500; font-weight: 800; padding: 4px 14px; border-radius: 999px; animation: heart 1s infinite; }
.qz-studio .qz-final b { color: #ffd56b; font-size: 3.4rem; }
.qz-studio .quiz-facts li { background: rgba(255,255,255,.08); color: #fff; }
.qz-studio .qz-exit2 { color: #fff; border-color: rgba(255,255,255,.3); margin-top: 8px; }
.qz-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; }
.qz-confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 2s linear forwards; }
@keyframes fall { to { top: 105%; transform: translateX(40px) rotate(720deg); } }
@media (prefers-reduced-motion: reduce) { .qz-lights span, .qz-heart, .qz-opt, .qz-q.in { animation: none !important; opacity: 1 !important; } }

/* ======================= Sesli arama ======================= */
.call-btn { color: #2fbf71; }
.call-ui { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; justify-content: space-between; align-items: center; color: #fff; overflow: hidden;
  padding: calc(var(--safe-t) + 40px) 20px calc(var(--safe-b) + 34px); background: #120a09; }
.cl-bg { position: absolute; inset: 0; }
.cl-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) brightness(.45); transform: scale(1.2); }
.cl-main, .cl-actions { position: relative; z-index: 1; text-align: center; }
.cl-avatar { position: relative; width: 150px; height: 150px; margin: 30px auto 18px; }
.cl-avatar img { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.85); background: #333; }
.cl-wave { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255,213,107,.7); animation: wave 1.8s ease-out infinite; }
.cl-wave.w2 { animation-delay: .9s; }
@keyframes wave { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.call-ui.live .cl-wave { border-color: rgba(111,240,168,.7); animation-duration: 2.6s; }
.call-ui.ended .cl-wave { display: none; }
.cl-main h2 { font-family: var(--serif); font-size: 1.8rem; margin: 0; display: flex; gap: 8px; align-items: center; justify-content: center; }
.cl-status { font-size: 1.15rem; margin: 8px 0 0; opacity: .9; font-variant-numeric: tabular-nums; }
.cl-note { opacity: .6; margin-top: 6px; }
.cl-actions { display: flex; gap: 22px; justify-content: center; }
.cl-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; color: #fff; cursor: pointer; font-weight: 700; }
.cl-btn > span { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.cl-btn small { font-size: .78rem; opacity: .9; }
.cl-btn.on > span { background: #fff; color: #111; }
.cl-hang > span { background: #e0233a; transform: rotate(135deg); }
.cl-accept > span { background: #22b35f; animation: heart 1s ease-in-out infinite; }
.cl-btn[hidden] { display: none; }
.yt-mini { display: inline-grid; place-items: center; width: 22px; height: 16px; border-radius: 4px; background: #e00; color: #fff; font-size: .6rem; }

/* ---------- Profil v3: fotoğraf daha görünür, düğmeler fotoğrafın altında ---------- */
.gallery-info { padding: 70px 16px 14px !important; background: linear-gradient(to top, rgba(12,8,7,.85) 0%, rgba(12,8,7,.45) 55%, rgba(0,0,0,0) 100%) !important; }
.gallery-info h1 { font-size: 1.6rem; }
.gallery-sub, .gallery-status { font-size: .92rem; }
.pa-wrap { padding: 12px 16px 4px; }
.pa-wrap .pa-tiles { padding: 0 !important; }
.pa-wrap .pa-tiles .btn { box-shadow: 0 3px 10px rgba(0,0,0,.18); }
@media (min-width: 769px) { .pa-wrap { padding: 14px 0 4px; } }

/* ---------- Yarışma stüdyosu: telefonda kenar boşlukları ve sistem çubukları ---------- */
.qz-studio { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right));
  padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: calc(max(14px, env(safe-area-inset-bottom)) + 44px); }
.qz-studio:fullscreen { padding-top: calc(env(safe-area-inset-top, 0px) + 18px); }
html.app-mode .qz-studio { padding-top: 16px; }
.qz-studio .qz-opts { padding: 0 6px; }
.qz-studio .qz-opt { width: 100%; }
@media (max-width: 420px) { .qz-studio .qz-q { padding: 14px 12px; } .qz-studio .qz-opt { padding: 12px 14px; font-size: .95rem; } .qz-brand { font-size: .9rem; } .qz-pill { padding: 7px 11px; font-size: .85rem; } }

/* Alt kayan şerit: en çok soru bilen ilk 10 */
.qz-ticker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden; padding: 8px 0 calc(env(safe-area-inset-bottom, 0px) + 8px);
  background: linear-gradient(90deg, rgba(143,18,32,.92), rgba(42,10,15,.92)); border-top: 1px solid rgba(255,213,107,.35); }
.qz-ticker-track { display: inline-flex; gap: 28px; white-space: nowrap; animation: ticker 40s linear infinite; padding-left: 100%; }
.qz-tick { color: #fff; font-size: .9rem; }
.qz-tick b { color: #ffd56b; }
.qz-tick em { font-style: normal; color: #9fe0bd; font-size: .8rem; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .qz-ticker-track { animation: none; padding-left: 16px; } }
.p-more { font-size: 1.4rem; line-height: 1; color: var(--muted); }
.rep-opt { justify-content: flex-start; margin-bottom: 6px; }
/* Uygulamada AdMob yerel reklamın yerleştiği profil kartı boyutunda yer tutucu */
.app-ad-slot { aspect-ratio: 3 / 4; min-height: 200px; padding: 0 !important; background: var(--surface-2) !important; border-radius: var(--radius); }
.modal { z-index: 500; }
.app-ad-slot { margin: 0 !important; }

/* Akış üstü: Yarışma / Öne Çıkanlar — yan yana iki buton */
.icon-menu { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible !important; padding: 4px 12px 14px; }
.icon-menu .im-item { width: auto; flex-direction: row; justify-content: center; gap: 10px; min-height: 54px; padding: 8px 14px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.icon-menu .im-item:first-child { background: linear-gradient(135deg, var(--ac-red2), var(--ac-red)); border-color: transparent; color: #fff; }
.icon-menu .im-item:nth-child(2) { background: linear-gradient(135deg, #ffd56b, var(--ac-gold)); border-color: transparent; color: #3b2500; }
.icon-menu .im-ic { width: 34px; height: 34px; border-radius: 12px; background: rgba(255,255,255,.18) !important; border: 0; box-shadow: none; color: inherit !important; }
.icon-menu .im-ic .ico { width: 22px; height: 22px; }
.icon-menu .im-l { font-size: .98rem; font-weight: 800; }
@media (min-width: 769px) { .icon-menu .im-item { width: auto; } .icon-menu .im-ic { width: 34px; height: 34px; } }

/* Yarışma şıkları: kenarları kırpılmayan temiz yuvarlak düğme */
.qz-studio .qz-opt { clip-path: none !important; border-radius: 999px; border: 2px solid rgba(255,213,107,.45);
  background: linear-gradient(90deg, rgba(70,16,24,.96), rgba(32,10,13,.96)); box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); }
.qz-studio .qz-opt b { flex: none; }
.qz-studio .qz-opt span { flex: 1; min-width: 0; }

/* ---------- Ekrana sığma: yatay kayma olmasın (özellikle uygulamada) ---------- */
html, body { max-width: 100%; overflow-x: clip; }
.main, .main-wrap { min-width: 0; } /* not: max-width burada verilmez, sayfa genişlik sınırlarını ezer */
.chats { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 769px) { .chats { grid-template-columns: 340px minmax(0, 1fr); } }
.chat-list-pane, .chat-pane, .chat-list { min-width: 0; }
.chat-item { min-width: 0; max-width: 100%; }
.chat-item .last { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .92rem; }
.chat-item .top strong > span:first-child { max-width: 100%; }
.post-body, .comment-b p, .bubble .text, .bio { overflow-wrap: anywhere; }
img, video, iframe { max-width: 100%; }

/* ---------- Profil v4: düğmeler fotoğrafın üzerinde, fotoğraf alta doğru siyaha döner ---------- */
.gallery { height: min(78vh, 680px) !important; min-height: 460px !important; }
.gallery-info { padding: 120px 14px 14px !important; pointer-events: none;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,.92) 22%, rgba(0,0,0,.6) 48%, rgba(0,0,0,.22) 72%, rgba(0,0,0,0) 100%) !important; }
.gallery-info .pa-tiles { padding: 12px 0 2px !important; pointer-events: auto; }
.gallery-info .pa-tiles .btn { min-height: 58px; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.gallery-info .pa-tiles .btn-like.is-done, .gallery-info .pa-tiles .btn-gold.is-done { background: rgba(255,255,255,.95); }
/* Yarışma: büyük, belirgin çıkış düğmesi */
#qz-exit { font-size: 1rem; font-weight: 800; padding: 11px 18px; min-height: 46px; background: linear-gradient(135deg, #ffd56b, var(--ac-gold)); color: #3b2500; border-color: transparent; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.qz-studio .qz-exit2 { min-height: 52px; font-size: 1.05rem; font-weight: 800; }

/* ---------- Akış: kayan "Bugün" aktivite şeridi ---------- */
.digest { display: flex; align-items: center; gap: 0; margin: 0 12px 14px; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.digest-tag { flex: none; align-self: stretch; display: flex; align-items: center; padding: 0 12px; font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--ac-red2), var(--ac-red)); }
.digest-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.digest-track { display: inline-flex; gap: 22px; white-space: nowrap; padding: 10px 0; }
.digest-item { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--text); }
.digest-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; flex: none; }
.digest-ic.t-gold { background: color-mix(in srgb, var(--ac-gold) 28%, transparent); }
.digest-ic.t-red { background: color-mix(in srgb, var(--ac-red2) 22%, transparent); }
.digest-ic.t-green { background: color-mix(in srgb, #22c55e 22%, transparent); }
.digest-ic.t-blue { background: color-mix(in srgb, #3b82f6 22%, transparent); }
.digest-ic.t-purple { background: color-mix(in srgb, #8b5cf6 22%, transparent); }
@keyframes digest { to { transform: translateX(-50%); } }
/* Şerit JS ile kayar (Windows/Android 'animasyonları kapat' ayarında da çalışır); parmakla da kaydırılabilir, kaydırma çubuğu gizli. */
.digest-view { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.digest-view::-webkit-scrollbar { display: none; }

/* ======================= Gold sayfası ======================= */
.main-gold { max-width: 720px; }
.gold-top { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 0 0 14px; border-radius: 22px; color: #3b2500;
  background: radial-gradient(circle at 15% 20%, #fff3c4 0%, #ffd56b 35%, #d9a233 100%); box-shadow: 0 8px 24px rgba(217,162,51,.35); }
.gold-top h1 { margin: 0; font-size: 1.45rem; line-height: 1.15; color: #3b2500; }
.gold-top p { margin: 3px 0 0; font-size: .9rem; font-weight: 600; opacity: .85; }
.gold-badge-ic { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.55); }
.gold-badge-ic .ico { width: 32px; height: 32px; fill: #b8861f; stroke: #8a5f0f; }
.gplans { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gplans-1 { grid-template-columns: minmax(0, 1fr); } .gplans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gplans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gplan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 8px 10px; border-radius: 20px; text-align: center;
  background: var(--surface); border: 2px solid var(--border); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.gplan.is-popular { border-color: var(--ac-red2); box-shadow: 0 8px 22px color-mix(in srgb, var(--ac-red2) 28%, transparent); transform: translateY(-2px); }
.gplan.is-best { border-color: var(--ac-gold); }
.gplan-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .68rem; font-weight: 800; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--ac-red2), var(--ac-red)); }
.gplan-tag.best { background: linear-gradient(135deg, #ffd56b, var(--ac-gold)); color: #3b2500; }
.gplan-days { font-size: .85rem; color: var(--muted); font-weight: 600; }
.gplan-days b { font-size: 1.55rem; color: var(--text); font-family: var(--serif); }
.gplan-price { font-size: 1.12rem; font-weight: 800; color: var(--accent-text); white-space: nowrap; }
.gplan-per { font-size: .7rem; color: var(--muted); margin-bottom: 8px; }
.gplan-btn { min-height: 40px; padding: 0 8px; font-size: .92rem; }
.gold-secure { margin: 10px 0 18px; }
.gperks h2 { font-size: 1.1rem; margin: 6px 0 10px; }
.gperk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gperk { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.gperk-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; }
.gperk-ic.t-gold { background: color-mix(in srgb, var(--ac-gold) 26%, transparent); }
.gperk-ic.t-red { background: color-mix(in srgb, var(--ac-red2) 20%, transparent); }
.gperk-ic.t-green { background: color-mix(in srgb, #22c55e 20%, transparent); }
.gperk-ic.t-blue { background: color-mix(in srgb, #3b82f6 20%, transparent); }
.gperk-ic.t-purple { background: color-mix(in srgb, #8b5cf6 20%, transparent); }
.gperk b { display: block; font-size: .9rem; line-height: 1.2; }
.gperk small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.3; margin-top: 2px; }
@media (max-width: 380px) { .gplan-price { font-size: 1rem; } .gplan-days b { font-size: 1.35rem; } .gperk { padding: 10px; } }

/* Profil fotoğraf alanı: kenarları hafif oval */
.profile .gallery { border-radius: 0 0 14px 14px; overflow: hidden; }
@media (min-width: 769px) { .profile .gallery { border-radius: 14px; } }
.gallery-info { border-radius: 0 0 14px 14px; }
.gallery-info .pa-tiles .btn { border-radius: 12px; }

/* Profil kartı rozetleri: her fotoğrafta okunur (koyu, buzlu zemin + belirgin renk) */
.profile-card .tl { gap: 6px; flex-wrap: wrap; }
.profile-card .pill { font-size: .74rem; padding: 4px 10px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.profile-card .pill-online { background: #16a34a; color: #fff; }
.profile-card .pill-online::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #bbf7d0; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.profile-card .pill-compat { background: rgba(20,12,10,.72); color: #ffd56b; margin-left: 0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,213,107,.45); }
.profile-card .pill-new { background: #2563eb; color: #fff; }
.profile-card .tr { background: rgba(20,12,10,.72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nudge-modal { text-align: center; max-width: 360px; }
.nudge-av { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 6px; display: block; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.nudge-title { font-weight: 800; font-size: 1.15rem; margin: 6px 0 4px; }
.nudge-text { color: var(--muted); margin: 0 0 14px; }

/* ---------- Sohbet: "Mesajlar" dönüşü, açık sohbette alt menü gizli, yeni mesaj kutucuğu ---------- */
.chat-back-lbl { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: -6px; border-radius: 50%; color: var(--accent-text); text-decoration: none; flex: none; }
.chat-back-lbl .ico { width: 24px; height: 24px; }
.chat-back-lbl:hover { background: var(--surface-2); text-decoration: none; }
@media (min-width: 769px) { .chat-back-lbl { display: none; } }
@media (max-width: 768px) {
  body.in-chat nav.nav { display: none; }
  body.in-chat .chat-pane { height: calc(100dvh - var(--safe-b)) !important; }
}
.newmsg-toast { position: fixed; left: 50%; top: calc(var(--safe-t) + 12px); transform: translateX(-50%); z-index: 600; width: min(94vw, 420px);
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(0,0,0,.28); animation: nmIn .35s cubic-bezier(.2,.9,.3,1.2); }
.newmsg-toast:hover { text-decoration: none; }
.newmsg-toast .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.newmsg-toast strong { font-size: .92rem; }
.newmsg-toast small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.newmsg-go { flex: none; font-weight: 800; color: var(--accent-text); font-size: .85rem; }
.newmsg-x { flex: none; background: none; border: 0; color: var(--muted); font-size: 1.3rem; line-height: 1; padding: 0 2px; cursor: pointer; }
.newmsg-toast.out { opacity: 0; transform: translate(-50%, -20px); transition: .35s; }
@keyframes nmIn { from { opacity: 0; transform: translate(-50%, -24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Kayan şerit v2: kenardan kenara, etiketsiz */
.digest { margin: 2px 0 14px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ac-red2) 8%, var(--surface)), var(--surface) 30%, var(--surface) 70%, color-mix(in srgb, var(--ac-gold) 10%, var(--surface))); }
.digest-view { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.digest-track { padding: 11px 0; gap: 28px; }
.digest-item { font-size: .92rem; }
.digest-item + .digest-item::before { content: '•'; color: var(--muted); margin-right: 20px; opacity: .6; }
@media (min-width: 640px) { .digest { margin: 2px 12px 14px; border-radius: 16px; border: 1px solid var(--border); } }

/* ---------- Telefon tarayıcısı: alt menü havada duran kapsül ---------- */
@media (max-width: 768px) {
  .nav { left: 10px; right: 10px; bottom: calc(var(--safe-b) + 10px); height: 64px; padding-bottom: 0; border: 1px solid var(--border); border-radius: 26px;
    background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 10px 30px rgba(0,0,0,.22); }
  .nav-item { font-size: .68rem; gap: 3px; }
  .nav-item .ico { width: 24px; height: 24px; stroke-width: 1.7; }
  .nav-item.active { color: var(--accent-text); }
  .nav-item .badge { top: 5px; min-width: 17px; height: 17px; line-height: 17px; font-size: .64rem; background: #e5364a; box-shadow: 0 0 0 2px var(--surface); }
  body.with-nav .main-wrap { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 24px) !important; }
}
/* Masaüstü sohbet ekranı: üst boşluk yüzünden 28px taşma ve kesik yazı kutusu düzeltmesi */
@media (min-width: 769px) { .main.main-chats { padding-top: 0 !important; padding-bottom: 0 !important; } }

/* ---------- Sohbet listesi: kompakt kutucuklar, okunmamışlar belirgin ---------- */
.chat-list { gap: 6px; }
.chat-item { position: relative; gap: 11px; padding: 9px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: background .15s, transform .1s; }
.chat-item:active { transform: scale(.99); }
.chat-item .avatar { width: 46px; height: 46px; }
.chat-item .top strong { font-size: .95rem; font-weight: 600; }
.chat-item .last { font-size: .86rem; margin-top: 1px; }
.chat-item time { font-size: .72rem; }
.chat-item .badge { flex: none; min-width: 22px; height: 22px; line-height: 22px; border-radius: 11px; font-size: .72rem; background: #e5364a; color: #fff; text-align: center; padding: 0 6px; }
/* Okunmamış: kalın ad ve mesaj, renkli zemin, solda vurgu çizgisi, saat vurgulu */
.chat-item.unread { background: color-mix(in srgb, var(--ac-red2) 9%, var(--surface)); border-color: color-mix(in srgb, var(--ac-red2) 35%, var(--border)); }
.chat-item.unread::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ac-red2); }
.chat-item.unread .top strong { font-weight: 800; }
.chat-item.unread .last { color: var(--text); font-weight: 700; }
.chat-item.unread time { color: var(--accent-text); font-weight: 700; }
.chat-item.active { border-color: var(--ac-gold); }
.chat-list-pane h1, .chat-list-pane .page-head h1 { font-size: 1.6rem; margin-bottom: 4px; }

/* ---------- Hikaye düzenleyici v3 (Instagram tarzı: yakınlaştır/kaydır, sığdır, filtre, kalem, döndür, çöp) ---------- */
.se-tool[hidden], .se-hint[hidden], .se-trash[hidden], .se-drawbar[hidden], .se-filters[hidden], .se-bottom[hidden] { display: none !important; }
.se-media { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.se-media img, .se-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-stage .se-backdrop { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) brightness(.7); }
.se-draw { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* Araçlar: sağda dikey sütun, kapat solda (dar ekranda taşmaz) */
.se-top { left: 0; right: 0; bottom: auto; flex-direction: column; align-items: flex-end; gap: 10px; background: none; padding: calc(var(--safe-t) + 12px) 10px 10px; pointer-events: none; }
.se-top > * { pointer-events: auto; }
.se-top .se-grow { display: none; }
.se-top [data-se="close"] { position: absolute; left: 10px; top: calc(var(--safe-t) + 12px); }
.se-tool { box-shadow: 0 2px 10px rgba(0,0,0,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .12s; }
.se-tool:active { transform: scale(.92); }
.story-editor.drawing .se-top, .story-editor.drawing .se-sel { display: none; }
.se-hint { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 3; margin: 0; padding: 10px 16px; border-radius: 999px; background: rgba(0,0,0,.6); font-weight: 700; font-size: .9rem; white-space: nowrap; pointer-events: none; animation: seHint .3s ease-out; }
@keyframes seHint { from { opacity: 0; transform: translate(-50%, -40%); } }
.se-trash { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 6; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.7); color: #fff; transition: transform .15s, background .15s; pointer-events: none; }
.se-trash.hot { transform: translateX(-50%) scale(1.25); background: #d62839; border-color: #fff; }
.se-layer .ov-item.dying { opacity: .45; }
.se-layer .ov-item.sel { outline-offset: 6px; border-radius: 6px; }
.se-sel { bottom: 104px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.se-sel button[hidden] { display: none; }
/* Kalem çubuğu (üstte) */
.se-drawbar { position: absolute; top: 0; left: 0; right: 0; z-index: 6; padding: calc(var(--safe-t) + 10px) 12px 10px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.se-drawbar .se-colors { justify-content: center; margin: 0 0 10px; }
.se-drawbar .se-row { justify-content: center; gap: 6px; flex-wrap: wrap; }
.se-chip { border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.45); color: #fff; font-weight: 700; font-size: .85rem; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.se-chip.on { background: #fff; color: #111; border-color: #fff; }
/* Filtreler: altta yatay şerit */
.se-filters { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 6; display: flex; gap: 10px; overflow-x: auto; padding: 8px 12px; scrollbar-width: none; }
.se-filters::-webkit-scrollbar { display: none; }
.se-filter { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; color: #fff; cursor: pointer; padding: 0; }
.se-filter-sw { width: 58px; height: 76px; border-radius: 12px; border: 2px solid rgba(255,255,255,.35); background: #444 center / cover no-repeat; display: block; }
.se-filter.on .se-filter-sw { border-color: #fff; box-shadow: 0 0 0 2px var(--ac-gold, #d9a233); }
.se-filter small { font-weight: 700; font-size: .75rem; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
/* Yazı paneli: yazı tipleri ve hizalama */
.se-fonts { display: flex; gap: 6px; margin: 10px 0 0; overflow-x: auto; scrollbar-width: none; }
.se-fonts .se-chip { flex: none; }
.se-panel .se-row { gap: 8px; flex-wrap: wrap; }
.se-word-special { background: linear-gradient(135deg, #8f1220, #d9a233); }
@media (max-width: 380px) { .se-tool { width: 38px; height: 38px; font-size: 1.05rem; } .se-top { gap: 8px; } }

/* ---------- Profil kartı v2: fotoğraf daha çok görünür, Gold = isim yanında altın yıldız + ince altın çerçeve ---------- */
.profile-card { border-radius: 16px; }
.profile-card .shade { background: linear-gradient(to top, rgba(0,0,0,.66) 0%, rgba(0,0,0,.22) 22%, rgba(0,0,0,0) 38%); }
.profile-card .info { left: 10px; right: 10px; bottom: 9px; }
.profile-card .name { font-size: 1.02rem; gap: 5px; flex-wrap: nowrap; line-height: 1.2; }
.profile-card .name .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-card .sub { font-size: .76rem; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-card .tl { right: 58px; top: 8px; left: 8px; gap: 4px; }
.profile-card .tr { top: 8px; right: 8px; }
.profile-card .pill { font-size: .7rem; padding: 3px 8px; }
.gold-star { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, #ffe08a, #d9a233 60%, #b9801a); box-shadow: 0 1px 4px rgba(0,0,0,.45), 0 0 0 1.5px rgba(255,255,255,.55); }
.gold-star .ico { width: 12px; height: 12px; fill: #fff; stroke: #fff; stroke-width: 1; }
.profile-card.is-gold { box-shadow: 0 0 0 2px #d9a233, 0 6px 18px rgba(217,162,51,.25); }

/* Kart üst satırı: tüm rozetler + fotoğraf sayısı tek sırada (dar kartta küçülür, taşmaz) */
.profile-card .tl.top-row { left: 8px; right: 8px; top: 8px; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; min-width: 0; }
.profile-card .tl.top-row { overflow: hidden; }
.profile-card .tl.top-row .pill { flex: none; white-space: nowrap; }
.profile-card .tl.top-row .tr { position: static; margin-left: auto; flex: none; padding: 3px 8px; font-size: .72rem; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.profile-card .tl.top-row .tr .ico { width: 12px; height: 12px; }
@media (max-width: 420px) {
  .profile-card .tl.top-row { gap: 3px; left: 6px; right: 6px; top: 6px; }
  .profile-card .tl.top-row .pill { font-size: .64rem; padding: 3px 6px; gap: 4px; }
  .profile-card .tl.top-row .tr { font-size: .66rem; padding: 3px 6px; }
  .profile-card .pill-online::before { width: 6px; height: 6px; }
  .profile-card .tl.top-row .pill-online ~ .pill-new { display: none; }
}

/* ---------- Paylaşım altı: kompakt Beğen · Yorum + beğenenlerin küçük fotoğrafları ---------- */
.post-actions { align-items: center; gap: 2px; padding-top: 2px; margin-top: 2px; }
.post-actions .p-act { flex: none; min-height: 36px; padding: 0 10px; gap: 5px; font-size: .86rem; }
.post-actions .p-act .ico { width: 20px; height: 20px; }
.post-actions .p-act:first-child { margin-left: -8px; }
.post-actions .p-grow { flex: 1; }
.p-likers { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 6px; margin-right: -6px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .84rem; cursor: pointer; }
.p-likers[hidden] { display: none; }
.p-likers:hover { background: var(--surface-2); }
.p-likers-av { display: inline-flex; }
.p-likers-av img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); margin-left: -8px; background: var(--surface-2); }
.p-likers-av img:first-child { margin-left: 0; }
.p-likers-n { display: inline-flex; align-items: center; gap: 2px; }
.p-likers-n .ico { width: 14px; height: 14px; fill: var(--like); stroke: var(--like); }
.ico-xs { width: 14px; height: 14px; }
.likers-modal { width: min(94vw, 400px); max-height: 75dvh; display: flex; flex-direction: column; padding: 14px 6px 8px 14px; text-align: left; }
.likers-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 8px 0; border-bottom: 1px solid var(--border); }
.likers-head b { display: inline-flex; align-items: center; gap: 4px; }
.likers-head .ico-sm { fill: var(--like); stroke: var(--like); }
.likers-list { overflow-y: auto; padding: 6px 8px 4px 0; }
.likers-item { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 6px 4px; border-radius: 12px; color: var(--text); text-decoration: none; }
.likers-item:hover { background: var(--surface-2); text-decoration: none; }
.likers-item img { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.likers-name { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; min-width: 0; }
.likers-name .gold-star { width: 18px; height: 18px; }
.likers-name .gold-star .ico { width: 11px; height: 11px; }
.likers-item small { grid-column: 2; }
/* Paylaşım kutusu: köşedeki büyütme tutamağı yok */
.post-composer textarea, .pc-text, [data-composer] textarea { resize: none; }
.se-layer .ov-item.sel { z-index: 3; }

/* Gelen arama: "Rahatsız etme" düğmesi */
.cl-dnd > span { background: rgba(255,255,255,.22); font-size: 1.5rem; }
@media (max-width: 380px) { .cl-actions { gap: 14px; } .cl-btn > span { width: 58px; height: 58px; } }

/* ---------- Paylaşım altı: Facebook tarzı ---------- */
.post-foot { margin-top: 4px; }
.p-summary { display: flex; align-items: center; gap: 8px; padding: 6px 0 8px; min-height: 30px; }
.p-summary[hidden] { display: none; }
.p-summary .p-likers { margin: 0 0 0 -6px; }
.p-sum-com { border: 0; background: none; color: var(--muted); font-size: .86rem; font-weight: 600; padding: 4px 2px; cursor: pointer; }
.p-sum-com:hover { text-decoration: underline; }
.p-sum-com[hidden] { display: none; }
.post-actions.fb { display: flex; gap: 4px; border-top: 1px solid var(--border); padding: 4px 0 0; margin: 0; }
.post-actions.fb .p-act { flex: 1; justify-content: center; min-height: 40px; padding: 0 6px; margin: 0; gap: 7px; font-size: .9rem; font-weight: 700; border-radius: 10px; color: var(--muted); }
.post-actions.fb .p-act:first-child { margin-left: 0; }
.post-actions.fb .p-act .ico { width: 21px; height: 21px; }
.post-actions.fb .p-act:hover { background: var(--surface-2); }
.post-actions.fb .p-act.on { color: var(--like); }
.post-actions.fb .p-act.on .ico { fill: currentColor; }
.post-actions.fb .p-act:active { transform: scale(.96); }
@media (max-width: 380px) { .post-actions.fb .p-act { font-size: .84rem; gap: 5px; } .post-actions.fb .p-act .ico { width: 19px; height: 19px; } }

/* ---------- Bildirim ve mesaj listeleri: modern kutular ---------- */
.notif-list { gap: 10px; }
.notif-item { border-radius: 16px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: background .15s, transform .1s; }
.notif-item:active { transform: scale(.99); }
.notif-item.is-new { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }

/* Bot etiketi (yorum, beğenenler, bildirim, paylaşım başlığı) */
.pill-xs { font-size: .62rem; padding: 1px 6px; margin: 0 4px; vertical-align: middle; line-height: 1.4; }
.pill-bot { background: color-mix(in srgb, #8b5cf6 22%, var(--surface)); color: #8b5cf6; border: 1px solid color-mix(in srgb, #8b5cf6 40%, transparent); }

/* ---------- Facebook'un yeni düzeni: paylaşım altı tek satır, paylaşım kutusu kapsül ---------- */
.post-actions.fb2 { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--border); margin: 6px 0 0; padding: 6px 0 2px; }
.p-act2 { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .98rem; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.p-act2:first-child { margin-left: -8px; }
.p-act2 .ico { width: 23px; height: 23px; stroke-width: 1.8; }
.p-act2:hover { background: var(--surface-2); }
.p-act2:active { transform: scale(.95); }
.p-act2.on { color: var(--like); }
.p-act2.on .ico { fill: currentColor; }
.p-act2 span:empty { display: none; }
.p-likers2 { padding: 2px; margin-right: -4px; }
.p-likers2 .p-likers-av img { width: 24px; height: 24px; }
.p-like-badge { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, #ff5a6a, #e0233a); margin-left: -6px; border: 2px solid var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.p-like-badge .ico { width: 12px; height: 12px; fill: #fff; stroke: #fff; }
.post-composer .pc-top { display: flex; align-items: center; gap: 10px; }
.post-composer .pc-top textarea { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); padding: 10px 18px; resize: none; font-size: 1rem; line-height: 1.4; transition: border-radius .15s, min-height .15s; }
.post-composer.open .pc-top textarea { border-radius: 18px; min-height: 84px; background: var(--surface); }
.post-composer .pc-top { align-items: flex-start; }
.post-composer:not(.open) .pc-top { align-items: center; }
.pc-photo { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #2f9e66; cursor: pointer; }
.pc-photo .ico { width: 26px; height: 26px; }
.pc-photo:hover { background: var(--surface-2); }
.post-composer:not(.open) .composer-bar, .post-composer:not(.open) .form-error { display: none; }
