/* ===================================================================== Yusmu — ana stil dosyası */
:root, [data-theme="turkuaz"] {
  --accent: #14b8a6; --accent-fg: #fff;
  --bg: #eef3f4; --panel: #fff; --panel-2: #f2f6f7; --text: #11242b; --muted: #6b7c85; --border: #e1e8ea;
  --in: #fff; --shadow: 0 8px 30px rgba(15, 40, 50, .12); --chat-bg: #dfeceb; --danger: #e5484d; --ok: #16a34a; --warn: #d97706;
  color-scheme: light;
}
[data-theme="beyaz"] { --accent: #14b8a6; --bg: #fff; --panel: #fff; --panel-2: #f5f7f8; --chat-bg: #f4f6f7; --border: #e6ebee; }
[data-theme="mavi"] { --accent: #2563eb; --bg: #eef3fb; --chat-bg: #dde8f7; }
[data-theme="pembe"] { --accent: #ec4899; --bg: #fbeff5; --chat-bg: #f7dfeb; }
[data-theme="ozel"] { --bg: color-mix(in srgb, var(--accent) 7%, #fff); --chat-bg: color-mix(in srgb, var(--accent) 14%, #fff); }
[data-theme="siyah"], [data-theme="ozel-koyu"] {
  --accent: #2dd4bf; --accent-fg: #04201c;
  --bg: #0b1114; --panel: #11191d; --panel-2: #172127; --text: #e8f0f2; --muted: #8aa0a8; --border: #1f2c32;
  --in: #1a252b; --shadow: 0 8px 30px rgba(0, 0, 0, .5); --chat-bg: #0b1114; color-scheme: dark;
}
[data-theme="ozel-koyu"] { --accent-fg: #fff; }
:root { --accent-2: color-mix(in srgb, var(--accent) 82%, #000); --soft: color-mix(in srgb, var(--accent) 13%, var(--panel)); --out: color-mix(in srgb, var(--accent) 24%, var(--panel)); }
[data-theme="siyah"] { --out: color-mix(in srgb, var(--accent) 30%, var(--panel)); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
a { color: var(--accent-2); text-decoration: none; } a:hover { text-decoration: underline; }
:where([data-theme="siyah"], [data-theme="ozel-koyu"]) a { color: var(--accent); } /* :where → sınıf renkleri (ör. .btn, kartlar) bu kuralı ezebilir */
h1 { font-size: 26px; margin: 0 0 14px; } h2 { font-size: 21px; } h3 { font-size: 17px; margin: 0 0 10px; } h4 { margin: 14px 0 8px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
img { max-width: 100%; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.pos { color: var(--ok); font-weight: 600; } .neg { color: var(--danger); font-weight: 600; }
.nowrap { flex-wrap: nowrap !important; } .between { justify-content: space-between; } .block { display: block; width: 100%; }
.danger-text { color: var(--danger) !important; } .inline { display: inline; } .wide { max-width: 720px !important; }

/* ---------- düğmeler ve form elemanları */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border: 1px solid transparent; border-radius: 10px; background: var(--accent); color: var(--accent-fg); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: filter .15s, transform .05s; }
.btn:hover { filter: brightness(.95); } .btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); } .btn.ghost:hover { background: var(--panel-2); filter: none; }
.btn.danger { background: var(--danger); color: #fff; } .btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; } .btn.lg { padding: 13px 26px; font-size: 16px; }
.btn[disabled], button[disabled] { opacity: .5; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; color: inherit; }
input, select, textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; max-width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
input[type=color] { padding: 2px; height: 40px; width: 64px; cursor: pointer; }
input[type=file] { padding: 7px; }
textarea { width: 100%; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; } .field > span { font-weight: 600; font-size: 14px; } .field small { color: var(--muted); font-size: 12.5px; }
.field input, .field select, .field textarea { width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; cursor: pointer; } .check input { margin-top: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .row > input, .row > select { flex: 1 1 160px; min-width: 0; }
.row.nowrap > input { flex: 1 1 90px; }
.row > label { max-width: 100%; min-width: 0; } .row > label > select { max-width: 100%; text-overflow: ellipsis; }
.narrow-in { width: 80px !important; flex: 0 0 80px !important; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
@media (max-width: 700px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.req { color: var(--danger); }
.alert { padding: 11px 14px; border-radius: 10px; margin: 0 0 14px; border: 1px solid; cursor: pointer; }
.alert.ok { background: color-mix(in srgb, var(--ok) 12%, var(--panel)); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.alert.err { background: color-mix(in srgb, var(--danger) 11%, var(--panel)); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.alert.warn { background: color-mix(in srgb, var(--warn) 13%, var(--panel)); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.alert ul { margin: 0; padding-left: 18px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--panel-2); border: 1px solid var(--border); }
.pill.ok { color: var(--ok); } .pill.err { color: var(--danger); } .pill.warn { color: var(--warn); }
.count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 12px; text-align: center; font-style: normal; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.card h3 { margin-top: 0; }

/* ---------- tablolar */
.table-wrap { overflow-x: auto; } .tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; } .tbl tr:last-child td { border-bottom: 0; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 20px; margin: 0; }
.kv dt { font-size: 12px; text-transform: uppercase; color: var(--muted); } .kv dd { margin: 2px 0 0; word-break: break-word; }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 18px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; } .stat { margin: 0; } .stat-n { font-size: 28px; font-weight: 700; color: var(--accent-2); }
[data-theme="siyah"] .stat-n { color: var(--accent); }

/* ---------- genel sayfa iskeleti */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px clamp(12px, 3vw, 28px); background: var(--panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none !important; }
.topnav { display: flex; gap: 8px; align-items: center; }
.container { max-width: 1080px; margin: 0 auto; padding: 24px clamp(12px, 3vw, 24px) 40px; }
.footer { text-align: center; padding: 26px 16px 40px; color: var(--muted); font-size: 13px; line-height: 2; } .footer a { color: var(--muted); }
.auth-card { max-width: 440px; margin: 20px auto; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); } .auth-card.wide { max-width: 760px; }
.auth-card h1 { font-size: 24px; }
.code-input { text-align: center; letter-spacing: .5em; font-size: 26px; font-weight: 700; text-transform: uppercase; }
.pw-rules { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.pw-rules li::before { content: "○ "; } .pw-rules li.ok { color: var(--ok); } .pw-rules li.ok::before { content: "● "; }
.robot-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin: 14px 0; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; }
.robot-label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.robot-label input { width: 24px; height: 24px; }
.robot-check { display: none; } .robot-brand { text-align: right; font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.2; } .robot-brand small { font-weight: 400; font-size: 10px; }
.hero { text-align: center; padding: 60px 10px 36px; } .hero h1 { font-size: clamp(30px, 6vw, 50px); line-height: 1.15; max-width: 760px; margin: 0 auto 14px; } .hero h1 span { color: var(--accent); }
.hero p { max-width: 560px; margin: 0 auto 26px; color: var(--muted); font-size: 18px; } .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.feat { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 20px; } .feat .feat-ic { color: var(--accent-2); line-height: 0; } .feat .feat-ic .ic { width: 34px; height: 34px; stroke-width: 1.75; } .feat h3 { margin: 8px 0 4px; } .feat p { margin: 0; color: var(--muted); font-size: 14px; }
.doc { max-width: 800px; margin: 0 auto; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 26px 30px; } .doc-body { line-height: 1.7; } .doc-body h2 { margin-top: 24px; }

/* ---------- ayarlar / yönetim yerleşimi */
.settings-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 24px; max-width: 1180px; align-items: start; }
.settings-nav { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 10px; }
.settings-nav > a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none !important; }
.settings-nav > a:hover { background: var(--panel-2); } .settings-nav > a.active { background: var(--soft); color: var(--accent-2); font-weight: 600; }
.settings-nav .count { margin-left: auto; }
.me-card { display: flex; gap: 12px; align-items: center; padding: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none !important; }
.logout-form { margin: 10px 4px 4px; }
.settings-body { min-width: 0; }
@media (max-width: 860px) { .settings-wrap { grid-template-columns: 1fr; } .settings-nav { position: static; flex-direction: row; flex-wrap: wrap; } .me-card { width: 100%; } }
.profile-edit-head .banner { position: relative; } .big-id { font-size: 30px; font-weight: 800; letter-spacing: .06em; color: var(--accent-2); }
.big-coin { font-size: 34px; font-weight: 800; } .bank-box { background: var(--panel-2); border: 1px dashed var(--border); border-radius: 12px; padding: 12px 16px; }
.plans-grid, .gift-grid, .cards-grid, .pkg-grid, .theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 12px 0; }
.plan-card, .gift-card, .pkg > span, .theme-opt, .pcard-edit { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 14px; position: relative; }
.plan-card.current, .theme-opt.current, .pkg input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }
.plan-card h3 { display: flex; gap: 8px; align-items: center; } .plan-card ul { padding-left: 18px; margin: 8px 0; font-size: 14px; } .price { font-size: 22px; font-weight: 800; }
.pkg { cursor: pointer; display: block; } .pkg input { position: absolute; opacity: 0; } .pkg > span { display: block; text-align: center; }
.gift-card { text-align: center; } .gift-emoji { font-size: 40px; display: block; }
.swatch { display: block; width: 100%; height: 44px; border-radius: 10px; margin-bottom: 8px; border: 1px solid var(--border); }
.theme-opt { display: block; cursor: pointer; text-align: center; } .theme-opt input { position: absolute; opacity: 0; }
.sess { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); } .sess.current { background: var(--soft); }
.cat-row { display: flex; gap: 8px; flex-wrap: wrap; } .cat-chip { padding: 4px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); font-size: 13px; }
.pcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; color: var(--text); }
a.pcard:hover { border-color: var(--accent); text-decoration: none; } .pcard-ico, .pcard-ic { font-size: 26px; } .pcard-txt { display: flex; flex-direction: column; min-width: 0; } .pcard-txt small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; } .pcard-t { font-weight: 600; } .pcard-act { margin-left: auto; }

/* ---------- rozet ve tikler */
.bdg-tick { display: inline-flex; vertical-align: -3px; margin-left: 2px; } .tick { display: block; }
/* Ad yanındaki rozet kabı: ad her zaman önce görünür, rozetler önce küçülür/kırpılır */
.bdgs { display: inline-flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 20px 3px; height: 17px; min-width: 0; max-width: 100%; overflow: hidden; flex: 0 100 auto; vertical-align: middle; margin-left: 3px; } /* sığmayan rozet ikinci satıra düşüp gizlenir: yarım kesilmiş tik görünmez */
.bdgs .bdg-pill { margin-left: 0; flex: 0 1 auto; min-width: 0; max-width: 11em; overflow: hidden; text-overflow: ellipsis; } .bdgs .bdg-tick { margin-left: 0; flex: none; }
.bdg-more { flex: none; font-size: 10.5px; font-weight: 800; line-height: 15px; padding: 0 5px; border-radius: 99px; color: var(--muted); background: var(--soft); border: 1px solid var(--border); cursor: default; }
.bdg-pill { display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 0 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; line-height: 17px; border-radius: 5px; color: #fff; background: var(--bc, #14b8a6); white-space: nowrap; }
.inline-tick { display: inline-flex; vertical-align: middle; }

/* ---------- avatar */
.av { border-radius: 50%; object-fit: cover; display: inline-block; flex: 0 0 auto; vertical-align: middle; background: var(--panel-2); }
.av-ph { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; user-select: none; }

/* ---------- profil / açılış kartları */
.profile, .landing-card { max-width: 640px; margin: 0 auto; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.landing-card { padding: 26px; } .landing-card.narrow { max-width: 480px; }
.p-banner { height: 170px; background: linear-gradient(135deg, var(--pc, var(--accent)), color-mix(in srgb, var(--pc, var(--accent)) 55%, #000)); background-size: cover; background-position: center; }
.p-body { padding: 0 24px 24px; } .p-avatar { margin-top: -56px; } .p-avatar .av { border: 4px solid var(--panel); width: 112px; height: 112px; }
.p-name { font-size: 24px; margin: 8px 0 2px; } .p-bio { margin: 12px 0; } .p-actions, .lc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.p-info { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; } .p-info dt { font-size: 12px; color: var(--muted); text-transform: uppercase; } .p-info dd { margin: 0; font-weight: 600; }
.p-sec { margin: 22px 0 10px; } .p-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.lc-head { display: flex; gap: 18px; align-items: center; margin-bottom: 12px; } .lc-head h1 { margin: 0 0 4px; font-size: 24px; }
.lc-post { background: var(--panel-2); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; white-space: pre-wrap; } .lc-post small { display: block; margin-top: 4px; }
.lc-channels { list-style: none; padding: 0; margin: 0; columns: 2; }

/* ===================================================================== SOHBET UYGULAMASI */
.app-body { height: 100vh; height: 100dvh; overflow: hidden; background: var(--bg); }
#app { height: 100%; }
.shell { display: flex; height: 100%; width: 100%; max-width: 1700px; margin: 0 auto; background: var(--panel); position: relative; overflow: hidden; }
.side { width: 390px; min-width: 300px; display: flex; flex-direction: column; border-right: 1px solid var(--border); background: var(--panel); position: relative; }
.side-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.icon-btn { width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.search { flex: 1; min-width: 0; border-radius: 999px; background: var(--panel-2); border-color: transparent; padding: 9px 16px; }
.side-tabs { display: flex; border-bottom: 1px solid var(--border); }
.side-tabs button { flex: 1; padding: 10px 6px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; position: relative; }
.side-tabs button.active { color: var(--accent-2); border-color: var(--accent); } [data-theme="siyah"] .side-tabs button.active { color: var(--accent); }
.tab-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 5px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-size: 11px; line-height: 18px; }
.list { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.item { display: flex; gap: 12px; padding: 9px 12px; cursor: pointer; align-items: center; position: relative; }
.item:hover { background: var(--panel-2); } .item.active { background: var(--accent); color: var(--accent-fg); } .item.active .muted, .item.active .item-time, .item.active .item-last { color: color-mix(in srgb, var(--accent-fg) 85%, transparent); }
.item-body { flex: 1; min-width: 0; } .item-top, .item-sub { display: flex; align-items: center; gap: 6px; } .item-top { justify-content: space-between; }
.item-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 2px; min-width: 0; } .item-title .name { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.item-title .bdg-pill { flex: 0 8 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .item-title .bdg-tick { flex: 0 0 auto; }
.item-title .name { flex: 0 .001 auto; } .item-title .bdgs { margin-left: 4px; }
.item-time { font-size: 12px; color: var(--muted); flex: 0 0 auto; } .item-last { flex: 1; min-width: 0; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-last .typing-txt { color: var(--accent-2); }
.unread { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.unread.muted-n { background: var(--muted); color: #fff; } .item.active .unread { background: var(--accent-fg); color: var(--accent); }
.pin-ico { font-size: 12px; opacity: .6; }
.online-dot { position: absolute; left: 44px; bottom: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid var(--panel); }
.list-sec { padding: 10px 14px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.list-empty { padding: 40px 24px; text-align: center; color: var(--muted); }
.fab { position: absolute; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-fg); font-size: 24px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 5; }
.com-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-weight: 700; }
.chan { padding: 7px 14px 7px 20px; display: flex; align-items: center; gap: 8px; cursor: pointer; border-radius: 8px; margin: 1px 8px; } .chan:hover { background: var(--panel-2); } .chan.active { background: var(--soft); font-weight: 600; } .chan .hash { color: var(--muted); }
.chan .unread { margin-left: auto; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--chat-bg); position: relative; }
.empty-main { margin: auto; text-align: center; color: var(--muted); padding: 20px; } .empty-main .big { font-size: 64px; }
.empty-main span.pill { background: var(--panel); }
.chat { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--panel); border-bottom: 1px solid var(--border); cursor: pointer; }
.chat-head .t { flex: 1; min-width: 0; } .chat-head .t b { display: flex; align-items: center; gap: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chat-head .t .h-nm { flex: 0 .001 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .chat-head .t small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chat-head .t small.typing { color: var(--accent-2); }
.back-btn { display: none; }
.pinbar { display: flex; align-items: center; gap: 10px; padding: 6px 14px; background: var(--panel); border-bottom: 1px solid var(--border); font-size: 13px; cursor: pointer; } .pinbar b { color: var(--accent-2); } .pinbar span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msgs { flex: 1; overflow-y: auto; padding: 12px clamp(8px, 4vw, 60px); display: flex; flex-direction: column; min-height: 0; overscroll-behavior: contain; scroll-behavior: auto; }
.msgs .spacer { flex: 1; }
.dsep { align-self: center; margin: 12px 0 6px; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--panel) 80%, transparent); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sys { align-self: center; margin: 6px 0; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--muted); font-size: 13px; text-align: center; }
.msg { display: flex; align-items: flex-end; gap: 8px; margin: 1px 0; max-width: 100%; } .msg.out { justify-content: flex-end; } .msg.gap { margin-top: 8px; }
.msg .av { margin-bottom: 2px; } .msg .av-sp { width: 34px; flex: 0 0 34px; }
.bubble { position: relative; max-width: min(540px, 82%); padding: 6px 10px 5px; border-radius: 14px; background: var(--in); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); word-wrap: break-word; overflow-wrap: anywhere; min-width: 70px; }
.msg.in .bubble { border-bottom-left-radius: 4px; } .msg.out .bubble { background: var(--out); border-bottom-right-radius: 4px; }
.msg.flash .bubble { animation: flash 1.4s; } @keyframes flash { 0%, 60% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 1px 1px rgba(0, 0, 0, .08); } }
.b-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 2px; margin-bottom: 1px; cursor: pointer; min-width: 0; max-width: 100%; }
.b-name .b-nm { flex: 0 .001 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-text { white-space: pre-wrap; } .b-text a { text-decoration: underline; word-break: break-all; }
.b-meta { float: right; margin: 6px 0 -2px 10px; font-size: 11.5px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; line-height: 1; position: relative; top: 3px; }
.b-meta .ck { color: var(--muted); letter-spacing: -3px; } .b-meta .ck.seen { color: var(--accent); }
.b-fwd { font-size: 12.5px; color: var(--accent-2); font-weight: 600; margin-bottom: 2px; }
.b-reply { border-left: 3px solid var(--accent); padding: 2px 8px; margin: 2px 0 5px; background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 4px; cursor: pointer; font-size: 13px; } .b-reply b { color: var(--accent-2); display: block; } .b-reply span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
.b-media { margin: 2px -4px 4px; } .b-media img, .b-media video { display: block; max-width: 100%; max-height: 420px; border-radius: 10px; cursor: zoom-in; } .b-media video { cursor: default; background: #000; }
.b-voice { display: flex; align-items: center; gap: 8px; min-width: 230px; } .b-voice audio { height: 38px; width: 100%; max-width: 280px; }
.b-file { display: flex; align-items: center; gap: 12px; padding: 4px 2px; min-width: 220px; color: inherit; text-decoration: none !important; } .b-file .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--accent-fg); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; } .b-file b { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .b-file small { color: var(--muted); }
.b-gift { text-align: center; padding: 8px 18px 2px; } .b-gift .ge { font-size: 64px; line-height: 1.1; } .b-gift b { display: block; } .b-gift small { color: var(--muted); }
.b-once { display: flex; align-items: center; gap: 10px; padding: 6px 4px; min-width: 200px; } .b-once .oi { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--accent); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-size: 20px; background: transparent; cursor: pointer; flex: 0 0 auto; } .b-once.done { opacity: .6; } .b-once.done .oi { border-style: solid; cursor: default; }
.reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; clear: both; } .rchip { padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, var(--panel)); border: 1px solid transparent; font-size: 13px; cursor: pointer; } .rchip.mine { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 28%, var(--panel)); }
.to-bottom { position: absolute; right: 18px; bottom: 90px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow); cursor: pointer; font-size: 18px; z-index: 4; display: none; } .to-bottom.show { display: block; } .to-bottom i { position: absolute; top: -8px; right: -4px; font-style: normal; }
.composer-wrap { background: var(--panel); border-top: 1px solid var(--border); }
.ctx-bar { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-bottom: 1px solid var(--border); font-size: 13px; } .ctx-bar .bar { width: 3px; align-self: stretch; background: var(--accent); border-radius: 2px; } .ctx-bar div { flex: 1; min-width: 0; } .ctx-bar b { color: var(--accent-2); display: block; } .ctx-bar span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.composer { display: flex; align-items: flex-end; gap: 6px; padding: 8px 12px; }
.composer textarea { flex: 1; min-height: 40px; max-height: 160px; resize: none; border-radius: 20px; padding: 9px 16px; line-height: 1.4; background: var(--panel-2); border-color: transparent; }
.send-btn { background: var(--accent); color: var(--accent-fg); } .send-btn:hover { background: var(--accent-2); color: var(--accent-fg); }
.once-toggle.on { background: var(--accent); color: var(--accent-fg); }
.rec-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; } .rec-bar .rdot { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); animation: pulse 1s infinite; } .rec-bar .rt { flex: 1; font-weight: 600; font-variant-numeric: tabular-nums; } @keyframes pulse { 50% { opacity: .25; } }
.readonly-bar { padding: 14px; text-align: center; color: var(--muted); }

/* ---------- menü, modal, bildirim */
.menu { position: fixed; z-index: 100; min-width: 200px; max-width: 280px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font: inherit; color: var(--text); text-align: left; cursor: pointer; text-decoration: none !important; } .menu button:hover, .menu a:hover { background: var(--panel-2); } .menu .dng { color: var(--danger); }
.menu hr { margin: 4px 0; } .menu .rx { display: flex; gap: 2px; padding: 4px; justify-content: space-between; } .menu .rx button { width: auto; padding: 4px 6px; font-size: 22px; }
.modal-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .12s; } @keyframes fade { from { opacity: 0; } }
.modal { background: var(--panel); border-radius: 18px; width: 100%; max-width: 440px; max-height: 90dvh; display: flex; flex-direction: column; box-shadow: var(--shadow); overflow: hidden; } .modal.lg { max-width: 560px; }
.modal-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; } .modal-h h3 { margin: 0; font-size: 18px; }
.modal-b { padding: 4px 18px 16px; overflow-y: auto; } .modal-f { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid var(--border); }
.modal .item { padding: 8px 6px; border-radius: 10px; } .modal-b .field { margin-bottom: 10px; }
.seg { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 12px; } .seg button { flex: 1; padding: 8px; border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; } .seg button.on { background: var(--accent); color: var(--accent-fg); font-weight: 600; }
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: #1f2a30; color: #fff; padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow); max-width: 90vw; animation: fade .15s; } .toast.err { background: var(--danger); }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 150; display: flex; align-items: center; justify-content: center; } .lightbox img, .lightbox video { max-width: 96vw; max-height: 92vh; border-radius: 6px; } .lightbox .x { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 30px; background: none; border: 0; cursor: pointer; }
.once-view { text-align: center; } .once-view img, .once-view video { max-width: 100%; max-height: 60vh; border-radius: 10px; } .once-view .big-text { font-size: 18px; white-space: pre-wrap; padding: 12px; background: var(--panel-2); border-radius: 12px; text-align: left; } .once-view .cd { margin-top: 8px; font-weight: 700; color: var(--danger); }
.prof-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 10px; } .prof-top h3 { margin: 6px 0 0; } .prof-banner { height: 90px; margin: -4px -18px 0; background-size: cover; background-position: center; }
.kvs { display: grid; gap: 8px; margin: 10px 0; } .kvs div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; } .kvs span { color: var(--muted); }
.gift-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; } .gift-pick button { border: 1px solid var(--border); background: var(--panel); border-radius: 12px; padding: 10px 4px; cursor: pointer; font: inherit; color: var(--text); } .gift-pick button.on { border-color: var(--accent); background: var(--soft); } .gift-pick .ge { font-size: 34px; display: block; } .gift-pick small { color: var(--muted); }

/* ---------- mobil: kenar çubuğu ve sohbet ekranı arasında kayma */
@media (max-width: 820px) {
  .side { width: 100%; min-width: 0; border-right: 0; }
  .main { position: absolute; inset: 0; transform: translateX(100%); transition: transform .22s ease; z-index: 8; background: var(--chat-bg); }
  .shell.in-chat .main { transform: none; }
  .back-btn { display: inline-flex; }
  .bubble { max-width: 88%; }
  .msgs { padding: 10px 8px; }
  .lc-channels { columns: 1; }
}
@media (min-width: 821px) { .fab { right: 18px; } }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 40%, transparent); border-radius: 8px; }

/* mesaj işlem düğmesi ve avatar hizası */
.bubble .mact { position: absolute; top: 2px; right: 4px; display: none; border: 0; background: var(--in); color: var(--muted); border-radius: 8px; width: 22px; height: 22px; line-height: 20px; padding: 0; cursor: pointer; font-size: 15px; }
.msg.out .bubble .mact { background: var(--out); }
.bubble:hover .mact { display: block; }
@media (pointer: coarse) { .bubble .mact { display: none !important; } }
.msg .av, .msg .av-sp { align-self: flex-start; }
.modal h4 { margin: 16px 0 8px; }
.modal hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }

/* ---- SVG ikonlar (public/assets/img/icons.svg) ---- */
.ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.27em; }
.ic.sm { width: 1em; height: 1em; vertical-align: -.15em; } .ic.xs { width: .85em; height: .85em; vertical-align: -.1em; }
.ic.lg { width: 1.6em; height: 1.6em; } .ic.xl { width: 64px; height: 64px; stroke-width: 1.5; vertical-align: 0; }
.icon-btn .ic { width: 21px; height: 21px; vertical-align: 0; }
.btn .ic { width: 1.15em; height: 1.15em; vertical-align: 0; }
.menu button .ic, .menu a .ic { width: 18px; height: 18px; vertical-align: 0; opacity: .85; } .menu .dng .ic { opacity: 1; }
.pin-ico { display: inline-flex; align-items: center; } .pin-ico .ic { width: 14px; height: 14px; vertical-align: 0; }
.fab .ic { width: 24px; height: 24px; vertical-align: 0; }
.to-bottom { display: flex; align-items: center; justify-content: center; } .to-bottom .ic { width: 22px; height: 22px; vertical-align: 0; }
.b-meta .ck { display: inline-flex; letter-spacing: 0; } .b-meta .ck .ic { width: 16px; height: 16px; vertical-align: 0; stroke-width: 2.25; }
.b-once .oi { display: inline-flex; align-items: center; justify-content: center; } .b-once .oi .ic { width: 22px; height: 22px; vertical-align: 0; }
.bubble .mact { display: none; align-items: center; justify-content: center; padding: 0; } .bubble:hover .mact { display: inline-flex; } .bubble .mact .ic { width: 16px; height: 16px; vertical-align: 0; }
.av-ph .ic { width: 52%; height: 52%; vertical-align: 0; }
.settings-nav > a > span:first-child:not(.count), .tab-ic { display: inline-flex; width: 22px; justify-content: center; color: var(--accent-2); } .settings-nav > a > span .ic { width: 19px; height: 19px; vertical-align: 0; }
.pv .ic { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; opacity: .85; }
.b-fwd .ic, .pinbar b .ic { width: 14px; height: 14px; vertical-align: -.15em; }
.list-empty .ic.xl, .empty-main .ic.xl { color: var(--muted); opacity: .8; }
.coin { color: #d97706; } .ic.coin { stroke: #d97706; }
.file-ic { display: inline-flex; align-items: center; justify-content: center; } .file-ic .ic { width: 26px; height: 26px; vertical-align: 0; }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 1.4em; } .card-ic .ic { width: 1.15em; height: 1.15em; vertical-align: 0; }
.ic-ok { color: var(--ok, #16a34a); } .ic-no { color: var(--danger, #dc2626); }
.ic.lead { margin-right: .4em; } .btn .ic.lead, .menu .ic.lead, .icon-btn .ic.lead, .fab .ic.lead { margin-right: 0; }
.big-ic { line-height: 0; margin-bottom: 10px; color: var(--muted); } .big-ic .ic { width: 56px; height: 56px; stroke-width: 1.5; vertical-align: 0; opacity: .8; }
.empty-main .big { line-height: 0; margin-bottom: 14px; } .empty-main .big .ic { width: 64px; height: 64px; stroke-width: 1.5; vertical-align: 0; opacity: .8; }
.b-file .fi .ic { width: 24px; height: 24px; vertical-align: 0; }
.lightbox .x { display: flex; align-items: center; justify-content: center; } .lightbox .x .ic { width: 28px; height: 28px; vertical-align: 0; }
.pinbar b { display: inline-flex; align-items: center; gap: 6px; }
.chan .pin-ico { margin-left: auto; }
.icon-in { width: 150px !important; flex: 0 0 150px !important; }
.bdg-pill .ic { width: 1em; height: 1em; vertical-align: -.15em; stroke-width: 2.25; }

/* ---- QR ile giriş / cihaz bağlama ---- */
.auth-split { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-start; }
.auth-split .auth-card { flex: 1 1 360px; max-width: 440px; margin: 20px 0; }
.qr-card h2 { margin: 0 0 4px; font-size: 20px; } .qr-card .ic.lead { color: var(--accent-2); }
.qr-box { position: relative; width: 240px; max-width: 100%; aspect-ratio: 1; margin: 14px auto 8px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
.qr-box canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.qr-over { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; padding: 14px; text-align: center; background: rgba(255, 255, 255, .93); color: #10302d; font-weight: 600; } .qr-over[hidden] { display: none; }
.qr-steps { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; } .qr-steps li { margin: 3px 0; }
@media (max-width: 899px), (pointer: coarse) { .qr-card { display: none; } }
.qr-confirm .qr-big { display: flex; justify-content: center; margin: 4px 0 10px; color: var(--accent-2); } .qr-confirm .qr-big .ic { width: 56px; height: 56px; stroke-width: 1.6; } .qr-confirm .qr-big.ok { color: var(--ok); } .qr-confirm .qr-big.warn { color: var(--warn); }
.qr-dev { margin: 14px 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; } .qr-dev div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--border); } .qr-dev div:last-child { border-bottom: 0; } .qr-dev dt { color: var(--muted); } .qr-dev dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.qr-confirm .stack > * + * { margin-top: 10px; }
.link-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .link-cta > div { flex: 1 1 240px; } .link-cta h3 { margin: 0 0 4px; }

/* kamera tarayıcı (tam ekran) */
.qrs { position: fixed; inset: 0; z-index: 300; background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qrs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qrs-frame { position: relative; width: min(70vw, 300px); aspect-ratio: 1; border-radius: 22px; border: 3px solid #fff; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .55); } .qrs-frame[hidden] { display: none; }
.qrs-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; background: linear-gradient(#000a, transparent); font-size: 17px; }
.qrs-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .qrs-x .ic { width: 22px; height: 22px; }
.qrs-hint, .qrs-err { position: absolute; left: 16px; right: 16px; margin: 0; text-align: center; text-shadow: 0 1px 4px #000; }
.qrs-hint { bottom: calc(40px + env(safe-area-inset-bottom)); }
.qrs-err { top: 50%; transform: translateY(-50%); padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .75); font-weight: 600; } .qrs-err[hidden], .qrs-hint[hidden] { display: none; }

/* ---- mobil cila (çentik/alt çubuk boşlukları, dokunma hedefleri, dar ekran) ---- */
.side-head { padding-top: calc(10px + env(safe-area-inset-top)); }
.chat-head { padding-top: calc(8px + env(safe-area-inset-top)); }
.composer-wrap { padding-bottom: env(safe-area-inset-bottom); }
.fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
.item, .icon-btn, .side-tabs button { -webkit-tap-highlight-color: transparent; }
.item { -webkit-touch-callout: none; user-select: none; }
@media (pointer: coarse) {
  .icon-btn { width: 42px; height: 42px; }
  .item { padding-top: 11px; padding-bottom: 11px; }
  .menu button, .menu a { padding: 12px 14px; }
  .side-tabs button { padding: 13px 6px; }
}
@media (max-width: 700px) {
  .row.nowrap { flex-wrap: wrap !important; } .row.nowrap > input, .row.nowrap > select { flex: 1 1 120px; }
  .container { padding-top: 14px; padding-bottom: 28px; }
  .auth-card { padding: 22px 18px; margin: 12px auto; border-radius: 16px; }
  .auth-split .auth-card { margin: 12px 0; }
  .modal-back { padding: 10px; align-items: flex-end; } .modal { max-height: 92dvh; border-radius: 18px 18px 14px 14px; }
  .modal-f { flex-wrap: wrap; } .modal-f .btn { flex: 1 1 auto; }
  .toast-wrap { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .table-wrap { margin-left: -6px; margin-right: -6px; }
  .card { padding: 16px; }
}
@media (max-width: 860px) {
  .settings-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .settings-nav .me-card, .settings-nav .logout-form { grid-column: 1 / -1; }
  .settings-nav > a { padding: 10px 10px; font-size: 14px; }
  .logout-form { margin: 8px 0 0; }
}
@media (min-width: 560px) and (max-width: 860px) { .settings-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .topbar .brand span { display: none; }
  .topnav { display: flex; gap: 6px; } .topnav .btn { white-space: nowrap; }
}
@media (max-width: 700px) { .sess { flex-wrap: wrap; } .sess form { margin-left: auto; } }

/* ===================================================================== sohbet arka planı, seri, hikâye, reklam */
.msgs.has-wp .dsep, .msgs.has-wp .sys { background: color-mix(in srgb, var(--panel) 88%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wp-modal .seg { margin-bottom: 12px; }
.wp-prev { border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; background: var(--chat-bg); border: 1px solid var(--border); margin-bottom: 12px; }
.wp-b { max-width: 72%; padding: 6px 11px; border-radius: 12px; font-size: 14px; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.wp-b.in { background: var(--in); align-self: flex-start; } .wp-b.out { background: var(--out); align-self: flex-end; }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; margin-bottom: 10px; }
.wp-sw { aspect-ratio: 1; border-radius: 14px; border: 2px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; padding: 0; background: var(--panel-2); }
.wp-sw .ic { width: 22px; height: 22px; vertical-align: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.wp-sw.none { color: var(--muted); } .wp-sw.none .ic { filter: none; }
.wp-sw.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }

.streak-chip { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; flex: 0 0 auto; }
.streak-chip .ic { width: 16px; height: 16px; vertical-align: 0; }
.streak-chip.on { color: #ea580c; border-color: color-mix(in srgb, #f97316 45%, var(--border)); background: color-mix(in srgb, #f97316 12%, var(--panel)); }
.streak-chip.on .ic { fill: color-mix(in srgb, #f97316 40%, transparent); }
.streak-chip.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, var(--border)); background: color-mix(in srgb, var(--ok) 12%, var(--panel)); }
.streak-chip.risk { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 50%, var(--border)); background: color-mix(in srgb, var(--danger) 10%, var(--panel)); animation: sk-pulse 1.8s infinite; }
.streak-chip.pend { color: var(--warn); }
@keyframes sk-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 35%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
.mini-streak { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: #ea580c; margin-left: 6px; flex: 0 0 auto; }
.mini-streak .ic { width: 13px; height: 13px; vertical-align: 0; } .mini-streak.risk { color: var(--danger); }
.streak-modal { display: flex; flex-direction: column; gap: 12px; }
.streak-hero { text-align: center; padding: 6px 0 2px; } .streak-hero .ic.xl { width: 56px; height: 56px; color: #f97316; }
.streak-hero.idle .ic.xl, .streak-hero.pend .ic.xl { color: var(--muted); } .streak-hero.risk .ic.xl { color: var(--danger); }
.streak-hero.on .ic.xl { fill: color-mix(in srgb, #f97316 35%, transparent); }
.streak-hero h3 { margin: 6px 0 4px; } .streak-hero p { margin: 0; } .streak-n { font-size: 46px; font-weight: 800; line-height: 1; margin: 2px 0; }
.streak-rules { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; display: grid; gap: 4px; }
.streak-warn { background: color-mix(in srgb, var(--danger) 11%, var(--panel)); border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--border)); color: var(--danger); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.st-today, .st-block { border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.st-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--muted); } .st-row b { margin-left: auto; font-weight: 600; font-size: 13px; } .st-row.ok { color: var(--ok); }
.st-lbl { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; font-size: 14px; }
.streak-dots { display: flex; gap: 6px; justify-content: space-between; }
.sd { flex: 1; aspect-ratio: 1; max-width: 42px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); } .sd.on { background: #f97316; border-color: #f97316; color: #fff; }
.st-bar { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; } .st-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.st-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; } .st-stats div { background: var(--panel-2); border-radius: 12px; padding: 10px 4px; } .st-stats b { display: block; font-size: 20px; } .st-stats span { font-size: 12px; color: var(--muted); }
.streak-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; } .streak-foot .btn { flex: 1 1 auto; }
.streak-list .item { cursor: pointer; }
.sys.streak-card { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; border-radius: 16px; padding: 8px 14px; max-width: min(520px, 92%); background: color-mix(in srgb, #f97316 12%, var(--panel)); color: var(--text); border: 1px solid color-mix(in srgb, #f97316 28%, var(--border)); }
.streak-card .sc-ic { color: #f97316; display: inline-flex; } .streak-card.k-end .sc-ic { color: var(--muted); } .streak-card.k-week .sc-ic { color: #eab308; }
.streak-card .sc-act { display: inline-flex; gap: 6px; width: 100%; justify-content: center; } .streak-card .sc-act:empty { display: none; }

.story-tray { display: flex; gap: 10px; padding: 10px 12px 8px; overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: none; flex: 0 0 auto; }
.story-tray::-webkit-scrollbar { display: none; }
.st-item { flex: 0 0 auto; width: 64px; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; color: var(--text); }
.st-ring { position: relative; display: inline-flex; padding: 3px; border-radius: 50%; border: 2px solid var(--border); }
.st-item.unseen .st-ring { border-color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.st-item.mine:not(.seen) .st-ring { border-style: dashed; }
.st-ring .av { display: block; border: 2px solid var(--panel); }
.st-plus { position: absolute; right: -3px; bottom: -3px; width: 21px; height: 21px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: flex; align-items: center; justify-content: center; border: 2px solid var(--panel); cursor: pointer; }
.st-plus .ic { width: 12px; height: 12px; vertical-align: 0; }
.st-name { font-size: 11.5px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }

.modal.modal-xl { max-width: 780px; }
.story-cmp { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: start; }
.cmp-left, .cmp-edit { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .cmp-left .seg { margin-bottom: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chip { border: 1px solid var(--border); background: var(--panel); color: var(--text); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 13px; cursor: pointer; } .chip.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 600; }
.crop-wrap { position: relative; align-self: center; border-radius: 12px; overflow: hidden; background: #000; line-height: 0; box-shadow: var(--shadow); max-width: 100%; }
.crop-cv { display: block; touch-action: none; cursor: grab; max-width: 100%; } .crop-cv.drag { cursor: grabbing; }
.crop-grid { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255, 255, 255, .4) calc(33.33% - .5px), rgba(255, 255, 255, .4) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .4) calc(66.66% - .5px), rgba(255, 255, 255, .4) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
  linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255, 255, 255, .4) calc(33.33% - .5px), rgba(255, 255, 255, .4) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .4) calc(66.66% - .5px), rgba(255, 255, 255, .4) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.crop-ctl { display: flex; align-items: center; gap: 8px; } .crop-ctl input[type=range] { flex: 1; min-width: 0; padding: 0; border: 0; background: none; accent-color: var(--accent); }
.cmp-prev { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.pv-col { display: flex; flex-direction: column; align-items: center; gap: 6px; } .pv-lbl { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pv-story { position: relative; width: 170px; aspect-ratio: 9 / 16; background: #000; border-radius: 16px; overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: center; }
.pv-img { width: 100%; height: 100%; object-fit: contain; }
.pv-bars { position: absolute; top: 6px; left: 8px; right: 8px; height: 3px; background: rgba(255, 255, 255, .3); border-radius: 3px; z-index: 2; } .pv-bars i { display: block; width: 40%; height: 100%; background: #fff; border-radius: 3px; }
.pv-top { position: absolute; top: 14px; left: 8px; right: 8px; display: flex; align-items: center; gap: 6px; font-size: 12px; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); z-index: 2; } .pv-top small { opacity: .8; }
.pv-cap { position: absolute; left: 0; right: 0; bottom: 34px; padding: 6px 10px; font-size: 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); text-align: center; z-index: 2; overflow-wrap: anywhere; }
.pv-act { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; gap: 14px; justify-content: center; z-index: 2; } .pv-act .ic { width: 18px; height: 18px; vertical-align: 0; }
.pv-prof { width: 210px; max-width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 8px; background: var(--panel); }
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } .pv-tile { aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--panel-2); } .pv-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-right { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-opts .field { margin-bottom: 8px; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); cursor: pointer; } .sw-row b { display: block; font-size: 14px; } .sw-row small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; } .sw-row input { width: 20px; height: 20px; flex: 0 0 auto; padding: 0; accent-color: var(--accent); }
.pick-list { max-height: 46vh; overflow-y: auto; } .pick-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 10px; cursor: pointer; } .pick-row:hover { background: var(--panel-2); }
.pr-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pick-row input { width: 20px; height: 20px; padding: 0; accent-color: var(--accent); }

.sv { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; }
body.sv-open { overflow: hidden; }
.sv-frame { position: relative; height: 100dvh; aspect-ratio: 9 / 16; max-width: 100vw; background: #000; overflow: hidden; color: #fff; }
.sv-frame::before, .sv-frame::after { content: ''; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.sv-frame::before { top: 0; height: 110px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); } .sv-frame::after { bottom: 0; height: 150px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
@media (min-width: 700px) { .sv-frame { height: min(100dvh, 920px); border-radius: 16px; } }
@media (max-width: 699px) { .sv-frame { aspect-ratio: auto; width: 100vw; } }
.sv-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; touch-action: manipulation; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sv-img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.sv-bars { position: absolute; top: calc(8px + env(safe-area-inset-top)); left: 8px; right: 8px; display: flex; gap: 4px; z-index: 3; pointer-events: none; }
.sv-bar { flex: 1; height: 3px; background: rgba(255, 255, 255, .35); border-radius: 3px; overflow: hidden; } .sv-bar i { display: block; height: 100%; background: #fff; }
.sv-head { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: 8px; right: 8px; z-index: 4; display: flex; align-items: center; gap: 4px; }
.sv-who { display: flex; align-items: center; gap: 8px; cursor: pointer; min-width: 0; } .sv-nm { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; } .sv-nm b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sv-nm small { font-size: 12px; opacity: .85; }
.sv-head .sp { flex: 1; }
.sv-ib { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; } .sv-ib:hover { background: rgba(255, 255, 255, .16); } .sv-ib .ic { width: 22px; height: 22px; vertical-align: 0; }
.sv-cap { position: absolute; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 3; padding: 0 16px; text-align: center; font-size: 15px; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 30%; overflow-y: auto; pointer-events: none; }
.sv-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); }
.sv-act { display: inline-flex; align-items: center; gap: 5px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; border-radius: 999px; height: 40px; min-width: 40px; justify-content: center; padding: 0 13px; cursor: pointer; font: inherit; font-weight: 600; } .sv-act .ic { width: 20px; height: 20px; vertical-align: 0; } .sv-act.on .ic { fill: #ef4444; color: #ef4444; } .sv-act.views { margin-left: auto; }
.sv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; display: none; align-items: center; justify-content: center; } .sv-nav .ic { width: 24px; height: 24px; vertical-align: 0; }
.sv-nav.prev { left: 16px; } .sv-nav.next { right: 16px; }
@media (min-width: 700px) and (hover: hover) { .sv-nav { display: inline-flex; } }
.cm-list { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; margin-bottom: 10px; } .cm { display: flex; gap: 10px; align-items: flex-start; } .cm-b { flex: 1; min-width: 0; } .cm-t { white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-form { display: flex; gap: 8px; } .v-heart { color: #ef4444; } .v-heart .ic { fill: #ef4444; }

.prof-photos { margin: 12px 0 4px; } .ph-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .ph-head .btn { margin-left: auto; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ph-tile { aspect-ratio: 3 / 4; border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: var(--panel-2); cursor: pointer; } .ph-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.has-story { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--accent); }
.p-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.p-photo { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; display: block; background: var(--panel-2); } .p-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bubble.ad-bub { border: 1px solid color-mix(in srgb, #f59e0b 40%, var(--border)); max-width: min(380px, 88%); }
.ad-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #b45309; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; } .ad-tag .ic { width: 13px; height: 13px; vertical-align: 0; }
[data-theme="siyah"] .ad-tag, [data-theme="ozel-koyu"] .ad-tag { color: #fbbf24; }
.ad-bub .ad-img { width: 100%; border-radius: 10px; cursor: zoom-in; display: block; } .ad-cta { margin-top: 8px; width: 100%; }
.sys-support .name, .sys-ads .name { font-weight: 700; }

.support-thread { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.sup-msg { display: flex; } .sup-msg.out { justify-content: flex-end; }
.sup-b { max-width: 78%; padding: 8px 12px; border-radius: 14px; background: var(--panel-2); overflow-wrap: anywhere; } .sup-msg.out .sup-b { background: var(--out); } .sup-b img { max-width: 240px; border-radius: 8px; display: block; margin-bottom: 6px; } .sup-b small { display: block; margin-top: 4px; }
.sup-sys { align-self: center; font-size: 12.5px; color: var(--muted); background: var(--panel-2); padding: 3px 12px; border-radius: 99px; }
.ad-preview { max-width: 380px; border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: var(--panel-2); display: flex; flex-direction: column; gap: 8px; } .ad-preview img { max-width: 100%; border-radius: 10px; }
.ad-badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: #b45309; text-transform: uppercase; letter-spacing: .04em; }
.ad-progress { height: 10px; border-radius: 99px; background: var(--panel-2); overflow: hidden; } .ad-bar { height: 100%; background: var(--accent); transition: width .3s; }

@media (max-width: 700px) {
  .story-cmp { grid-template-columns: 1fr; gap: 12px; }
  .pv-story { width: 150px; }
  .st-stats b { font-size: 17px; }
}

/* ---- Profil: düzenli rozet / tik çipleri, bayrak, ceza ve süre (Faz 1) ---- */
.p-badges { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 8px; } .prof-top .p-badges { align-items: center; }
.p-pills, .p-chips { display: flex; flex-wrap: wrap; gap: 6px; } .prof-top .p-pills, .prof-top .p-chips { justify-content: center; }
.p-pills .bdg-pill { margin-left: 0; }
.p-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 5px; font-size: 12px; font-weight: 600; line-height: 16px; border-radius: 99px; background: var(--soft); border: 1px solid var(--border); color: var(--text); max-width: 100%; }
.p-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .p-chip .tick { width: 15px; height: 15px; }
.p-chip-flag { padding-left: 6px; } .flag-tr { display: block; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: 0 0 auto; }
.p-sanction { display: grid; gap: 8px; margin: 14px 0; } .prof-sanction { margin: 10px 0; }
.p-sanc { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 10%, var(--panel)); font-size: 14px; }
.p-sanc b { color: var(--danger); } .p-sanc small { color: var(--muted); } .p-sanc-mute { border-color: color-mix(in srgb, var(--warn) 50%, transparent); background: color-mix(in srgb, var(--warn) 11%, var(--panel)); } .p-sanc-mute b { color: var(--warn); }
.p-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .p-hist li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 13.5px; } .p-hist small { flex-basis: 100%; color: var(--muted); }
.p-hist-revoked b, .p-hist-ended b { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 70%, transparent); } .p-hist-active b { color: var(--danger); }
.since { color: var(--muted); font-size: 12.5px; }

/* ---- Mobil: uzun basma menüsü, çoklu seçim, klavye (Faz 1) ---- */
.app-body { height: var(--vvh, 100dvh); }
textarea, input:not([type=checkbox]):not([type=radio]):not([type=range]) { -webkit-user-select: text; user-select: text; }
.composer, .composer textarea { touch-action: manipulation; }
@media (pointer: coarse) {
  .bubble, .bubble * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  .bubble a { -webkit-touch-callout: default; }
  .composer textarea { font-size: 16px; }
  .msgs { -webkit-tap-highlight-color: transparent; }
}
.sel-text { white-space: pre-wrap; word-break: break-word; -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); max-height: 50vh; overflow: auto; }
.sel-bar { align-items: center; gap: 6px; } .sel-bar .grow { flex: 1; } .sel-bar .sel-n { font-size: 16px; } .sel-bar .icon-btn[disabled] { opacity: .35; pointer-events: none; } .sel-bar .icon-btn.dng { color: var(--danger); }
.msgs.selecting .msg { position: relative; cursor: pointer; padding-left: 34px; }
.msgs.selecting .msg::before { content: ''; position: absolute; left: 6px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid var(--muted); background: var(--panel); box-sizing: border-box; }
.msgs.selecting .msg.picked::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--panel); }
.msgs.selecting .msg.picked { background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 10px; }
.msgs.selecting .msg .mact { display: none; }
a.mention { color: var(--accent-2); font-weight: 600; text-decoration: none; cursor: pointer; } a.mention:hover { text-decoration: underline; }
.msg.out .bubble a.mention { color: color-mix(in srgb, var(--accent) 70%, #000); }

/* ---- Profil resmi çerçeveleri ve konumlandırma (Faz 1) ---- */
.av.fr { --fr-r: .1em; }
.av.fr-turkuaz { box-shadow: 0 0 0 .12em var(--panel), 0 0 0 .28em #14b8a6; }
.av.fr-okyanus { box-shadow: 0 0 0 .1em #1d4ed8, 0 0 0 .24em #38bdf8; }
.av.fr-gul { box-shadow: 0 0 0 .1em #f9a8d4, 0 0 0 .24em #ec4899; }
.av.fr-gece { box-shadow: 0 0 0 .1em #1e1b4b, 0 0 0 .24em #6366f1; }
.av.fr-bayrak { box-shadow: 0 0 0 .1em #fff, 0 0 0 .26em #e30a17; }
.av.fr-cift { box-shadow: 0 0 0 .1em var(--panel), 0 0 0 .2em var(--accent), 0 0 0 .3em var(--panel), 0 0 0 .4em var(--accent); }
.av.fr-altin { box-shadow: 0 0 0 .08em #fff3c4, 0 0 0 .2em #f5b301, 0 0 0 .3em #b45309, 0 0 .6em .3em rgba(245, 179, 1, .4); }
.av.fr-gumus { box-shadow: 0 0 0 .08em #fff, 0 0 0 .2em #cbd5e1, 0 0 0 .3em #64748b, 0 0 .5em .2em rgba(148, 163, 184, .45); }
.av.fr-neon { box-shadow: 0 0 0 .1em #0f172a, 0 0 0 .22em #22d3ee, 0 0 .7em .3em rgba(34, 211, 238, .75); animation: frNeon 1.8s ease-in-out infinite alternate; }
.av.fr-ates { box-shadow: 0 0 0 .1em #fde047, 0 0 0 .22em #f97316, 0 0 .7em .3em rgba(249, 115, 22, .7); animation: frFire 1.1s ease-in-out infinite alternate; }
.av.fr-gokkusagi { box-shadow: 0 0 0 .1em #ef4444, 0 0 0 .2em #f59e0b, 0 0 0 .3em #22c55e, 0 0 0 .4em #3b82f6; animation: frRainbow 3s linear infinite; }
@keyframes frNeon { from { box-shadow: 0 0 0 .1em #0f172a, 0 0 0 .22em #22d3ee, 0 0 .35em .15em rgba(34, 211, 238, .45); } to { box-shadow: 0 0 0 .1em #0f172a, 0 0 0 .22em #67e8f9, 0 0 .9em .4em rgba(34, 211, 238, .9); } }
@keyframes frFire { from { box-shadow: 0 0 0 .1em #fde047, 0 0 0 .22em #f97316, 0 0 .5em .2em rgba(249, 115, 22, .55); } to { box-shadow: 0 0 0 .1em #fb923c, 0 0 0 .22em #ef4444, 0 0 .9em .4em rgba(239, 68, 68, .8); } }
@keyframes frRainbow { 0% { box-shadow: 0 0 0 .1em #ef4444, 0 0 0 .2em #f59e0b, 0 0 0 .3em #22c55e, 0 0 0 .4em #3b82f6; } 33% { box-shadow: 0 0 0 .1em #3b82f6, 0 0 0 .2em #ef4444, 0 0 0 .3em #f59e0b, 0 0 0 .4em #22c55e; } 66% { box-shadow: 0 0 0 .1em #22c55e, 0 0 0 .2em #3b82f6, 0 0 0 .3em #ef4444, 0 0 0 .4em #f59e0b; } 100% { box-shadow: 0 0 0 .1em #ef4444, 0 0 0 .2em #f59e0b, 0 0 0 .3em #22c55e, 0 0 0 .4em #3b82f6; } }
@media (prefers-reduced-motion: reduce) { .av.fr { animation: none !important; } }
.reduce-motion .av.fr { animation: none !important; }
.frame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 8px; padding: 8px 4px; }
.frame-opt { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 6px 8px; border: 1px solid var(--border); background: var(--panel); border-radius: 12px; cursor: pointer; color: var(--text); font: inherit; font-size: 12.5px; }
.frame-opt.on { border-color: var(--accent); background: var(--soft); } .frame-opt[disabled] { opacity: .5; cursor: not-allowed; }
.frame-pro { font-style: normal; font-size: 9.5px; font-weight: 800; padding: 1px 4px; border-radius: 4px; background: var(--accent); color: #fff; vertical-align: 1px; }
.avpos-wrap { display: flex; justify-content: center; margin: 10px 0; }
.avpos-view { position: relative; width: min(280px, 80vw); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--panel-2); border: 3px solid var(--accent); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.avpos-view:active { cursor: grabbing; } .avpos-view img { position: absolute; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* ---- Görünüm tercihleri: yazı boyutu, balon şekli, sıklık, animasyon ---- */
html[data-fs="s"] { --msg-fs: 13.5px; } html[data-fs="l"] { --msg-fs: 17px; } html[data-fs="xl"] { --msg-fs: 19px; }
html[data-bubble="soft"] { --bubble-r: 22px; } html[data-bubble="square"] { --bubble-r: 6px; }
.bubble { border-radius: var(--bubble-r, 14px); } .b-text { font-size: var(--msg-fs, 15px); line-height: 1.4; }
.msg.in .bubble { border-bottom-left-radius: min(4px, var(--bubble-r, 14px)); } .msg.out .bubble { border-bottom-right-radius: min(4px, var(--bubble-r, 14px)); }
html[data-dens="compact"] .item { padding-top: 6px; padding-bottom: 6px; } html[data-dens="compact"] .msg { margin: 0; } html[data-dens="compact"] .msg.gap { margin-top: 4px; } html[data-dens="compact"] .bubble { padding-top: 4px; padding-bottom: 3px; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
.ui-prev { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: var(--chat-bg, var(--panel-2)); }
.ui-prev .msg { display: flex; } .ui-prev .msg.out { justify-content: flex-end; } .ui-prev .b-meta { display: block; text-align: right; font-size: 11px; opacity: .6; }
.ui-set { border: 0; padding: 0; margin: 0; } .ui-set legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 6px; }
.ui-opts { display: flex; flex-wrap: wrap; gap: 8px; } .ui-opt { cursor: pointer; } .ui-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ui-opt span { display: inline-block; padding: 7px 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--panel); font-size: 14px; }
.ui-opt input:checked + span { border-color: var(--accent); background: var(--soft); font-weight: 600; } .ui-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sel-bar { display: flex; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; background: var(--panel); border-bottom: 1px solid var(--border); min-height: 56px; box-sizing: border-box; }
@media (pointer: coarse) { .menu .rx { display: grid; grid-template-columns: repeat(4, 1fr); } .menu .rx button { justify-content: center; padding: 6px 4px; } }
@media (max-width: 700px) { .chat-head .t .bdg-pill { display: none; } }

/* ---- görsel hediyeler ---- */
img.gimg { object-fit: contain; display: block; margin: 0 auto; background: none; }
.gift-pick img.gimg.ge { width: 48px; height: 48px; margin-bottom: 2px; }
.b-gift .ge-wrap { line-height: 0; } .b-gift img.gimg.ge { width: 120px; height: 120px; max-width: 60vw; max-height: 60vw; margin: 0 auto 4px; }
.gift-emoji img.gimg { width: 72px; height: 72px; }
.cat-chip img.gimg { display: inline-block; width: 22px; height: 22px; vertical-align: middle; margin: 0 2px 0 0; }
.gift-admin .gift-thumb { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; flex: none; background: repeating-conic-gradient(#e5e7eb 0 25%, #fff 0 50%) 0 0/12px 12px; border-radius: 8px; }
.gift-admin .gift-thumb img.gimg { width: 40px; height: 40px; }

/* ---- çıkartmalar ---- */
.bubble.b-stk { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 2px 4px; }
.bubble.b-stk::before, .bubble.b-stk::after { display: none !important; }
.b-stk .stk-img { display: block; width: min(168px, 46vw); height: min(168px, 46vw); object-fit: contain; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.b-stk .b-meta { display: inline-block; float: none; background: rgba(15, 23, 42, .45); color: #fff; border-radius: 10px; padding: 0 7px; margin-top: 2px; }
.b-stk .b-meta .ck { color: #fff; }
.stk-panel { border-top: 1px solid var(--border); background: var(--panel); display: flex; flex-direction: column; max-height: min(300px, 42vh); min-height: 120px; }
.stk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 4px; padding: 6px; overflow-y: auto; flex: 1; align-content: start; }
.stk-it { background: none; border: 0; padding: 4px; border-radius: 12px; cursor: pointer; position: relative; line-height: 0; }
.stk-it:hover, .stk-it:focus-visible { background: var(--soft); }
.stk-it.static { cursor: default; } .stk-it.static:hover { background: none; }
.stk-it img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; -webkit-user-drag: none; }
.stk-empty { grid-column: 1 / -1; text-align: center; padding: 18px 8px; line-height: 1.4; }
.stk-tabs { display: flex; gap: 2px; overflow-x: auto; padding: 4px 6px; border-top: 1px solid var(--border); scrollbar-width: thin; }
.stk-tab { flex: none; width: 42px; height: 42px; border-radius: 10px; border: 0; background: none; padding: 5px; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.stk-tab img { width: 100%; height: 100%; object-fit: contain; } .stk-tab .ic { width: 22px; height: 22px; }
.stk-tab.on { background: var(--soft); color: var(--accent); }
.icon-btn.stk-btn.on { color: var(--accent); }

/* ---- Faz 25: emoji paneli (arama, kategoriler, özel emojiler) ---- */
.stk-panel.emo { height: min(330px, 48vh); max-height: none; min-height: 230px; }
.stk-modes.seg { margin: 6px 8px 2px; flex: none; }
.stk-modes.seg button { padding: 5px 8px; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.stk-modes .ic { width: 16px; height: 16px; }
.stk-emoji { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.emj { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.emj-search { position: relative; flex: none; padding: 2px 8px 4px; }
.emj-search .ic { position: absolute; left: 18px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.emj-q { width: 100%; padding: 8px 12px 8px 36px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2, var(--soft)); color: var(--text); font: inherit; font-size: 16px; min-width: 0; }
.emj-q:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.emj-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 6px; scrollbar-width: thin; position: relative; }
.emj-h { margin: 8px 4px 2px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.emj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 2px; align-content: start; }
.emj-grid.res { padding-top: 4px; }
.emj-it { height: 38px; border: 0; background: none; border-radius: 9px; cursor: pointer; padding: 0; font-size: 26px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; color: var(--text); -webkit-tap-highlight-color: transparent; }
.emj-it:hover, .emj-it:focus-visible { background: var(--soft); }
.emj-it:active { transform: scale(.9); }
.emj-it.c img { width: 30px; height: 30px; object-fit: contain; display: block; }
.emj-empty { text-align: center; padding: 22px 12px; line-height: 1.45; }
.emj-tabs { flex: none; display: flex; gap: 0; overflow-x: auto; border-top: 1px solid var(--border); padding: 2px 4px; scrollbar-width: none; justify-content: space-between; }
.emj-tabs::-webkit-scrollbar { display: none; }
.emj-tab { flex: 1 0 34px; height: 34px; border: 0; background: none; border-radius: 9px; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 18px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; filter: grayscale(.85); opacity: .75; }
.emj-tab .ic { width: 20px; height: 20px; }
.emj-tab.on { background: var(--soft); color: var(--accent); filter: none; opacity: 1; }
.cemoji { width: 1.35em; height: 1.35em; vertical-align: -0.3em; object-fit: contain; display: inline-block; margin: 0 .05em; -webkit-user-drag: none; }
@media (max-width: 520px) { .emj-grid { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); } .emj-it { height: 40px; } }
@media (prefers-reduced-motion: reduce) { .emj-it:active { transform: none; } }
.stk-grid.view { max-height: 52vh; border: 1px solid var(--border); border-radius: 12px; margin: 8px 0; }
.stk-x { position: absolute; top: 0; right: 0; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; line-height: 0; }
.stk-x .ic { width: 14px; height: 14px; }
.stk-hub .row, .stk-hub .stk-row { margin-bottom: 8px; }
.stk-row { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.stk-row .grow { flex: 1; min-width: 0; } .stk-row .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stk-thumbs { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 1px; width: 52px; height: 52px; flex: none; background: var(--panel-2); border-radius: 10px; overflow: hidden; padding: 2px; }
.stk-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.stk-admin-grid { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.stk-admin-grid form { position: relative; width: 72px; height: 72px; background: repeating-conic-gradient(#e5e7eb 0 25%, #fff 0 50%) 0 0/12px 12px; border-radius: 10px; }
.stk-admin-grid img { width: 100%; height: 100%; object-fit: contain; display: block; }
.stk-admin-grid button { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; cursor: pointer; font-size: 12px; line-height: 1; padding: 0; }

/* ---- kazanılan tikler, kimlik doğrulama ---- */
.tick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tick-card .bar { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin-top: 8px; }
.tick-card .bar span { display: block; height: 100%; border-radius: 99px; }
.tick-card:not(.got) { opacity: .85; }
.note-box { padding: 11px 14px; border-radius: 10px; margin: 0 0 14px; border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 13%, var(--panel)); }

/* ---- Faz 3: tek satır yazı alanı ve "+" alt tepsisi ---- */
.composer-wrap { flex: 0 0 auto; position: relative; z-index: 3; min-width: 0; }
.composer { gap: 4px; padding: 8px 8px 8px 6px; min-width: 0; }
.composer .cmp-field { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }
.composer .cmp-field textarea { width: 100%; min-width: 0; padding-right: 44px; }
.composer .cmp-field .stk-btn { position: absolute; right: 2px; bottom: 1px; width: 38px; height: 38px; }
.plus-btn .ic { transition: transform .16s ease; } .plus-btn.on .ic { transform: rotate(45deg); } .plus-btn.on { background: var(--soft); color: var(--accent-2); }
.attach-tray { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 10px 6px 4px; border-top: 1px solid var(--border); background: var(--panel); max-height: 40vh; overflow-y: auto; }
.attach-tray[hidden] { display: none; }
.at-it { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: 0; padding: 6px 2px 8px; border-radius: 12px; cursor: pointer; color: var(--text); font: inherit; font-size: 12px; min-width: 0; }
.at-it:hover, .at-it:focus-visible { background: var(--soft); }
.at-it .t { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-ic { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c, var(--accent)); }
.at-ic .ic { width: 22px; height: 22px; }
.at-it.on .at-ic { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--c, var(--accent)); }
html.kbd-open, html.kbd-open body { overflow: hidden; overscroll-behavior: none; }
.app-body { overscroll-behavior: none; }
.chat:has(.attach-tray:not([hidden])) .to-bottom, .chat:has(.stk-panel) .to-bottom { display: none; }

/* ---- Faz 3: anketler, kişi kartı, durum, hatırlatıcılar, bildirimler ---- */
.bubble.b-poll { min-width: min(280px, 78vw); max-width: min(360px, 86vw); }
.bubble.b-poll > .b-text { display: none; }
.poll { display: flex; flex-direction: column; gap: 6px; }
.poll-tag { font-size: 12px; font-weight: 700; color: var(--accent-2); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .03em; }
.poll-tag .ic { width: 15px; height: 15px; }
.poll-q { font-weight: 700; font-size: 15.5px; line-height: 1.35; word-break: break-word; }
.poll-opt { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--text); border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; overflow: hidden; min-height: 38px; }
.poll-opt:disabled { cursor: default; }
.poll-opt:not(:disabled):hover { background: var(--soft); }
.poll-bar { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--accent) 22%, transparent); transition: width .35s ease; z-index: 0; }
.poll-opt.mine .poll-bar { background: color-mix(in srgb, var(--accent) 38%, transparent); }
.poll-opt.ok .poll-bar { background: color-mix(in srgb, var(--ok) 35%, transparent); }
.poll-opt.bad .poll-bar { background: color-mix(in srgb, var(--danger) 30%, transparent); }
.poll-chk, .poll-t, .poll-n { position: relative; z-index: 1; }
.poll-chk { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.poll-opt.multi .poll-chk { border-radius: 5px; }
.poll-opt.mine .poll-chk { background: var(--accent); border-color: var(--accent); }
.poll-opt.ok .poll-chk { background: var(--ok); border-color: var(--ok); }
.poll-opt.bad .poll-chk { background: var(--danger); border-color: var(--danger); }
.poll-chk .ic { width: 12px; height: 12px; }
.poll-t { flex: 1; min-width: 0; word-break: break-word; }
.poll-n { flex: none; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.poll-expl { font-size: 13px; padding: 7px 9px; border-radius: 9px; background: color-mix(in srgb, var(--ok) 12%, var(--panel)); display: flex; gap: 6px; align-items: flex-start; }
.poll-expl .ic { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.poll-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); align-items: center; }
.poll-lnk { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--accent-2); cursor: pointer; text-decoration: underline; }
.poll-form .field input[type=text], .poll-form > input[type=text] { width: 100%; }
.poll-form-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.poll-form-row input[type=text] { flex: 1; min-width: 0; }
.poll-form > input[type=text] { margin: 4px 0 6px; }
.vt-h { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 4px; }
.vt-u { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-radius: 8px; cursor: pointer; } .vt-u:hover { background: var(--soft); }

.bubble.b-contact { min-width: min(240px, 72vw); }
.contact-card { display: flex; flex-direction: column; gap: 8px; }
.cc-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc-t { display: flex; flex-direction: column; min-width: 0; } .cc-t b, .cc-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cc-t small { color: var(--muted); }
.cc-act { display: flex; gap: 6px; } .cc-act .btn { flex: 1; justify-content: center; }
.ct-list { max-height: 50vh; overflow-y: auto; margin-top: 8px; }

.st-mini { font-size: 14px; line-height: 1; margin-left: 4px; flex: none; }
.ie-wrap { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.st-line { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.st-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--soft); margin: 0 0 10px; flex-wrap: wrap; }
.st-pe { font-size: 22px; line-height: 1; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 4px; margin-bottom: 12px; }
.st-em { font-size: 22px; line-height: 1; padding: 8px 0; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; }
.st-em:hover { background: var(--soft); } .st-em.on { border-color: var(--accent); background: var(--soft); }

.rem-list { display: flex; flex-direction: column; gap: 4px; }
.rem-it { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.rem-it.done { opacity: .6; }
.rem-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; flex: none; } .rem-ic .ic { width: 20px; height: 20px; }
.rem-b { flex: 1; min-width: 0; display: flex; flex-direction: column; } .rem-b b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rem-b small { line-height: 1.35; }

.bell-btn { position: relative; flex: none; }
.bell-dot { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; pointer-events: none; }
.nc-list { display: flex; flex-direction: column; }
.nc-it { display: flex; align-items: flex-start; gap: 10px; padding: 10px 6px; border-bottom: 1px solid var(--border); cursor: pointer; border-radius: 8px; }
.nc-it { flex: none; } .nc-del { flex: none; width: 32px; height: 32px; color: var(--muted); margin: -2px -2px 0 0; } .nc-del .ic { width: 16px; height: 16px; } .nc-del:hover { color: var(--danger); } .nc-it:hover { background: var(--soft); } .nc-it.is-new { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.nc-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; flex: none; } .nc-ic .ic { width: 18px; height: 18px; }
.nc-b { flex: 1; min-width: 0; display: flex; flex-direction: column; } .nc-b small { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.35; }
.nc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 6px; }

.p3-sw { display: flex; align-items: center; gap: 12px; padding: 9px 2px; cursor: pointer; }
.p3-sw-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .p3-sw-t small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.p3-sw-in { position: absolute; opacity: 0; width: 0; height: 0; }
.p3-sw-k { flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--border); position: relative; transition: background .15s; }
.p3-sw-k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.p3-sw-in:checked + .p3-sw-k { background: var(--accent); } .p3-sw-in:checked + .p3-sw-k::after { transform: translateX(18px); }
.p3-sw-in:focus-visible + .p3-sw-k { outline: 2px solid var(--accent); outline-offset: 2px; }
.nset h4 { margin: 14px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.nset-dev .row { margin-top: 6px; }
.btn.ghost.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); background: transparent; }

.p3-custom { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: nowrap; }
.p3-custom input, .p3-custom select { flex: 1 1 70px; min-width: 0; width: auto; }
.p3-custom .btn { flex: none; }
.poll-opt:disabled { color: var(--text); opacity: 1; }
.poll-opt:disabled .poll-n { color: var(--muted); }

/* ---- Faz 3 (2. parça): telsiz, gizli sohbet, oyunlar, Yusmu AI ---- */
.av-ai { background: linear-gradient(135deg, #14b8a6, #6366f1) !important; color: #fff; }
.ai-pill { display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(135deg, #14b8a6, #6366f1); vertical-align: 1px; }
.ai-bar, .sec-bar { display: flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 12.5px; background: color-mix(in srgb, #6366f1 10%, var(--panel)); border-bottom: 1px solid var(--border); color: var(--text); }
.ai-bar .ic, .sec-bar .ic { flex: none; width: 16px; height: 16px; color: #6366f1; }
.ai-bar span, .sec-bar .sec-txt { flex: 1; min-width: 0; line-height: 1.35; }
.sec-bar { background: color-mix(in srgb, #0f172a 10%, var(--panel)); flex-wrap: wrap; }
.sec-bar .ic { color: var(--text); }
.sec-bar .btn.sm { padding: 5px 11px; font-size: 12.5px; flex: none; }
.chat.is-secret .msgs { box-shadow: inset 0 0 0 3px color-mix(in srgb, #0f172a 22%, transparent); }
.ai-tag, .ptt-tag { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 3px; }
.ai-tag { color: #6366f1; } .ai-tag .ic, .ptt-tag .ic { width: 13px; height: 13px; }
.ai-wait { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin: 6px 12px; padding: 8px 13px; border-radius: 16px; background: var(--in); color: var(--muted); font-size: 13.5px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.ai-wait .ic { color: #6366f1; width: 16px; height: 16px; }
.ai-wait .dots { display: inline-flex; gap: 3px; } .ai-wait .dots b { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: aiDot 1.2s infinite; } .ai-wait .dots b:nth-child(2) { animation-delay: .2s; } .ai-wait .dots b:nth-child(3) { animation-delay: .4s; }
@keyframes aiDot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.1); } }
.sec-exp { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-top: 3px; } .sec-exp .ic { width: 12px; height: 12px; }

/* kasa ve PIN */
.vault { min-width: 0; }
.vault-hero { text-align: center; margin: 4px 0 8px; } .vault-hero .ic { color: var(--accent-2); } .vault-hero h3 { margin: 6px 0 0; }
.vault-note { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin: 12px 0 4px; padding: 9px 11px; border-radius: 10px; background: var(--panel-2); } .vault-note .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.vault-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; } .vault-state { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.vault-new { display: flex; gap: 8px; margin-bottom: 10px; } .vault-new input { flex: 1; min-width: 0; }
.vault-list { max-height: 42vh; overflow-y: auto; } .vault-list .item-title .ic { margin-left: 5px; color: var(--muted); }
.vault-links { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pin-pad { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pin-pad.busy { opacity: .6; pointer-events: none; }
.pin-pad.shake { animation: pinShake .35s; } @keyframes pinShake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pin-dots { display: flex; gap: 10px; min-height: 18px; } .pin-dots .pd { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); } .pin-dots .pd.on { background: var(--accent); border-color: var(--accent); }
.pin-hint { font-size: 12.5px; color: var(--muted); text-align: center; } .pin-err { min-height: 18px; font-size: 13px; color: var(--danger); text-align: center; }
.pin-keys { display: grid; grid-template-columns: repeat(3, 68px); gap: 10px; justify-content: center; }
.pk { height: 56px; border-radius: 16px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 22px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .pk:hover { background: var(--soft); } .pk:active { transform: scale(.96); }
.pin-go { min-width: 160px; margin-top: 2px; } .pin-go:disabled { opacity: .45; cursor: default; }
.ttl-list { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; } .ttl-row { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border-radius: 10px; cursor: pointer; } .ttl-row:hover { background: var(--soft); }

/* telsiz */
.ptt-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ptt-who { display: flex; align-items: center; gap: 10px; }
.ptt-clock { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); min-height: 30px; }
.ptt-btn { width: 150px; height: 150px; border-radius: 50%; border: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, #fb923c, #ea580c); color: #fff; box-shadow: 0 10px 28px rgba(234, 88, 12, .45), inset 0 -6px 14px rgba(0, 0, 0, .18); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 800; font-size: 13px; letter-spacing: .06em; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .08s, box-shadow .15s; }
.ptt-btn .ic { width: 44px; height: 44px; }
.ptt-btn.on { transform: scale(.94); box-shadow: 0 0 0 10px rgba(234, 88, 12, .22), 0 0 0 22px rgba(234, 88, 12, .1); animation: pttPulse 1s infinite; }
.ptt-btn.cancel { background: radial-gradient(circle at 35% 30%, #94a3b8, #475569); animation: none; box-shadow: none; }
.ptt-btn.rx { background: radial-gradient(circle at 35% 30%, #34d399, #059669); }
.ptt-btn.busy { opacity: .6; pointer-events: none; }
@keyframes pttPulse { 50% { box-shadow: 0 0 0 16px rgba(234, 88, 12, .16), 0 0 0 30px rgba(234, 88, 12, .06); } }
.ptt-hint { font-size: 13px; color: var(--muted); min-height: 18px; }
.ptt-now { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 14px; background: color-mix(in srgb, #10b981 18%, var(--panel)); font-weight: 600; font-size: 13.5px; }
.ptt-auto { align-self: stretch; justify-content: center; font-size: 13.5px; }
.ptt-h { align-self: flex-start; margin: 10px 0 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ptt-list { align-self: stretch; text-align: left; }
.ptt-row { display: flex; align-items: center; gap: 8px; padding: 4px 2px; border-bottom: 1px solid var(--border); } .ptt-row .ptt-nm { flex: 1; font-weight: 600; }
.bubble.b-ptt { min-width: min(260px, 72vw); }

/* oyun balonu */
.bubble.b-game { min-width: min(250px, 74vw); max-width: min(330px, 86vw); } .bubble.b-game > .b-text { display: none; }
.gm { display: flex; flex-direction: column; gap: 6px; }
.gm-tag { font-size: 11.5px; font-weight: 700; color: #7c3aed; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 5px; } .gm-tag .ic { width: 14px; height: 14px; }
.gm-title { font-size: 17px; font-weight: 800; } .gm-by { font-size: 13px; color: var(--muted); }
.gm-lb { display: flex; flex-direction: column; gap: 3px; margin: 2px 0; }
.gm-row { display: flex; align-items: center; gap: 7px; padding: 3px 6px; border-radius: 8px; font-size: 13.5px; } .gm-row.me { background: var(--soft); } .gm-row .rk { width: 14px; text-align: center; font-weight: 700; color: var(--muted); } .gm-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-done { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; } .gm-done .ic { width: 13px; height: 13px; }
.gm-play { align-self: flex-start; background: #7c3aed; }
.gpick { display: flex; flex-direction: column; gap: 8px; }
.gpick-it { display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; cursor: pointer; width: 100%; } .gpick-it:hover { background: var(--soft); }
.gpick-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); } .gpick-ic.g-catch { background: linear-gradient(135deg, #f59e0b, #dc2626); }
.gpick-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .gpick-tx small { color: var(--muted); line-height: 1.35; } .gpick-best { color: var(--accent-2) !important; font-weight: 600; }

/* oyun ekranı */
html.g-lock, html.g-lock body { overflow: hidden; overscroll-behavior: none; }
.g-ov { position: fixed; inset: 0; z-index: 80; background: #0b1114; color: #fff; display: flex; flex-direction: column; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.g-top { position: absolute; top: 0; left: 0; right: 0; z-index: 6; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; }
.g-title { flex: 1; text-align: center; font-size: 15px; opacity: .85; }
.g-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .g-btn:hover { background: rgba(255, 255, 255, .24); } .g-btn .ic { width: 20px; height: 20px; }
.g-stage { position: absolute; inset: 0; }
.g-canvas { display: block; touch-action: none; }
.g-score { position: absolute; top: calc(52px + env(safe-area-inset-top)); left: 0; right: 0; text-align: center; font-size: 56px; font-weight: 800; line-height: 1; text-shadow: 0 3px 12px rgba(0, 0, 0, .45); pointer-events: none; z-index: 2; font-variant-numeric: tabular-nums; }
.g-sub { position: absolute; top: calc(116px + env(safe-area-inset-top)); left: 0; right: 0; text-align: center; font-size: 15px; font-weight: 700; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); pointer-events: none; z-index: 2; letter-spacing: .05em; }
.g-center { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.g-count { font-size: 120px; font-weight: 900; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); animation: gCount .7s ease-out; } @keyframes gCount { from { transform: scale(1.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.g-wait { padding: 10px 18px; border-radius: 14px; background: rgba(0, 0, 0, .55); font-weight: 600; }
.g-panel { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 12, 15, .72); overflow-y: auto; touch-action: pan-y; }
.g-card { width: min(360px, 100%); max-height: 100%; overflow-y: auto; background: var(--panel); color: var(--text); border-radius: 22px; padding: 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); } .g-card h2, .g-card h3 { margin: 0; } .g-card p { margin: 0; line-height: 1.45; }
.g-ic { width: 72px; height: 72px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #14b8a6, #7c3aed); } .g-ic .ic { width: 38px; height: 38px; }
.g-best { font-weight: 700; color: var(--accent-2); }
.g-vs { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; background: var(--soft); font-weight: 600; font-size: 14px; }
.g-warn { font-size: 12.5px; color: var(--warn); }
.g-start { min-width: 190px; padding: 12px 22px; font-size: 16px; }
.g-big { font-size: 64px; font-weight: 900; line-height: 1; color: var(--accent-2); }
.g-stats { font-size: 13.5px; color: var(--muted); }
.g-verdict { padding: 8px 12px; border-radius: 12px; font-weight: 700; font-size: 14px; background: var(--panel-2); } .g-verdict.win { background: color-mix(in srgb, var(--ok) 16%, var(--panel)); color: var(--ok); } .g-verdict.lose { background: color-mix(in srgb, var(--danger) 12%, var(--panel)); color: var(--danger); }
.g-lb { width: 100%; display: flex; flex-direction: column; gap: 3px; } .g-lbr { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 9px; font-size: 14px; text-align: left; } .g-lbr.me { background: var(--soft); } .g-lbr .rk { width: 16px; font-weight: 700; color: var(--muted); } .g-lbr .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
@media (max-width: 380px) { .pin-keys { grid-template-columns: repeat(3, 62px); } .ptt-btn { width: 132px; height: 132px; } .g-score { font-size: 48px; } }
.g-top .g-btn { pointer-events: auto; }

/* ---- aşağı çekip yenile / Keşifçi sürprizi ---- */
.ptr { position: absolute; left: 50%; top: 0; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--accent-2); z-index: 8; pointer-events: none; opacity: 0; transform: translateY(-46px); will-change: transform, opacity; }
.ptr .ic { width: 20px; height: 20px; } .ptr.ready { color: var(--accent); border-color: var(--accent); } .ptr.back { transition: transform .22s ease, opacity .22s ease; }
.ptr.spin .ic { animation: ptrSpin .8s linear infinite; } @keyframes ptrSpin { to { transform: rotate(-360deg); } }
.ptr-b { top: auto; bottom: 22px; transform: translateY(46px); }
.xpl-box { text-align: center; padding: 6px 4px 0; line-height: 1.5; } .xpl-ic { color: #7c3aed; margin-bottom: 4px; } .xpl-ic .ic { width: 56px; height: 56px; stroke-width: 1.5; } .xpl-win b { color: #7c3aed; }
.bdg-opts { display: flex; flex-direction: column; } .bdg-opt { align-items: center; margin: 4px 0; } .bdg-opt > span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; } .bdg-opt .tick { width: 20px; height: 20px; } .bdg-opt .flag-tr { width: 21px; height: 14px; }

/* ===================================================================== davet et kazan, ödeme yöntemleri */
.ref-hero { background: linear-gradient(135deg, var(--soft), var(--panel)); }
.ref-lead { margin: 0; font-size: 16px; display: flex; gap: 10px; align-items: flex-start; } .ref-lead .ic { flex: none; width: 26px; height: 26px; color: var(--accent-2); margin-top: 1px; }
.ref-code-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ref-code { font: 800 clamp(24px, 7vw, 34px)/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; padding: 12px 18px; border-radius: 14px; background: var(--panel); border: 2px dashed var(--accent); color: var(--accent-2); user-select: all; word-break: break-all; }
[data-theme="siyah"] .ref-code, [data-theme="ozel-koyu"] .ref-code { color: var(--accent); }
.ref-link-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .ref-link { flex: 1 1 240px; min-width: 0; font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ref-stats { margin: 14px 0; }
.ref-gift { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); margin: 6px 0 10px; text-align: left; } .ref-gift .ic { color: var(--accent-2); flex: none; }
.ref-av { display: flex; justify-content: center; margin-bottom: 12px; }
.ref-landing { text-align: center; } .ref-landing h1 { font-size: 24px; }
.ref-ok { color: var(--ok); display: block; margin-top: 4px; } .ref-ok .ic { width: 15px; height: 15px; vertical-align: -3px; margin-right: 3px; }
.pm { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); margin: 10px 0; overflow: hidden; }
.pm > summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 13px 16px; cursor: pointer; list-style: none; font-size: 15px; } .pm > summary::-webkit-details-marker { display: none; }
.pm > summary::after { content: "›"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .15s; } .pm[open] > summary::after { transform: rotate(90deg); }
.pm-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; flex: none; } .pm-ic .ic { width: 19px; height: 19px; }
.pm[open] > summary { border-bottom: 1px solid var(--border); background: var(--panel-2); }
.pm-body { padding: 14px 16px 16px; }
.pm-card { margin-bottom: 12px; }
.paytr-frame { display: block; width: 100%; min-height: 680px; border: 0; border-radius: 12px; background: #fff; }
@media (max-width: 480px) { .paytr-frame { min-height: 760px; } .ref-code-row .btn { flex: 1 1 100%; } }

/* ---- Sürpriz kutu, hediye kartları, kupon (Faz 6) */
.box-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; overflow: hidden; }
.box-stage { width: min(260px, 70vw); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; border-radius: 50%; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.box-img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.22)); transition: transform .35s ease; }
.box-svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.22)); overflow: visible; }
.box-svg .bx-body { fill: var(--accent); } .box-svg .bx-lid { fill: var(--accent-2); } .box-svg .bx-rib { fill: #fff; opacity: .88; } .box-svg .bx-bow { fill: #fff; opacity: .94; }
.box-svg .bx-q { fill: #fff; font: 800 38px/1 system-ui, sans-serif; }
.box-svg .box-lid { transform-origin: 100px 98px; transition: transform .5s cubic-bezier(.2,.9,.3,1.2), opacity .5s ease; }
.box-stage.opened .box-svg .box-lid { transform: translate(40px, -34px) rotate(26deg); }
.box-stage.opened .box-svg .bx-q { opacity: 0; }
.box-stage.opened .box-img { transform: scale(1.08); }
.box-stage.opened::after { content: "✨"; position: absolute; top: 4%; right: 8%; font-size: 34px; animation: box-pop .7s ease-out both; }
.box-stage.opened::before { content: "🎉"; position: absolute; top: 6%; left: 8%; font-size: 34px; animation: box-pop .7s .1s ease-out both; }
.box-stage.shake { animation: box-shake .45s linear infinite; }
@keyframes box-shake { 0%, 100% { transform: rotate(0) translateX(0); } 20% { transform: rotate(-6deg) translateX(-4px); } 40% { transform: rotate(6deg) translateX(4px); } 60% { transform: rotate(-4deg) translateX(-3px); } 80% { transform: rotate(4deg) translateX(3px); } }
@keyframes box-pop { from { transform: scale(0) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.box-btn { font-size: 17px; padding: 12px 28px; display: inline-flex; gap: 8px; align-items: center; }
.box-result { width: 100%; max-width: 460px; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.box-result.win { border-color: var(--accent); animation: box-pop .5s ease-out both; }
.box-result.err { border-color: var(--danger); color: var(--danger); }
.box-result[hidden] { display: none; }
.box-result p { margin: 0; }
.box-prize { font-size: 21px; } .box-emoji { font-size: 28px; vertical-align: middle; }
.kcode { font-size: clamp(16px, 4.6vw, 22px) !important; letter-spacing: .08em !important; padding: 8px 12px !important; cursor: pointer; }
.gcard { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--accent); background: var(--panel-2); }
.gcard-ic { font-size: 34px; } .gcard-body { flex: 1 1 160px; min-width: 0; } .gcard-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gcard-act form { margin: 0; } .gcard-act .row input { width: 150px; flex: 0 1 150px; }
.box-admin-prev { width: 96px; height: 96px; flex: 0 0 96px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border); border-radius: 12px; overflow: hidden; text-align: center; padding: 4px; }
.box-admin-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.box-admin-img { align-items: flex-start; }
html.reduce-motion .box-stage.shake, html.reduce-motion .box-result.win, html.reduce-motion .box-stage.opened::before, html.reduce-motion .box-stage.opened::after { animation: none; }
html.reduce-motion .box-svg .box-lid, html.reduce-motion .box-img { transition: none; }
@media (prefers-reduced-motion: reduce) { .box-stage.shake, .box-result.win, .box-stage.opened::before, .box-stage.opened::after { animation: none; } .box-svg .box-lid, .box-img { transition: none; } }

/* ======================================================================
   Faz 7: biçimlendirme, dış bağlantı uyarısı ve Akış
   ====================================================================== */
.fm-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; padding: 1px 5px; border-radius: 5px; background: color-mix(in srgb, var(--muted) 18%, transparent); word-break: break-word; }
.fm-spoiler { cursor: pointer; border-radius: 4px; background: color-mix(in srgb, var(--muted) 45%, transparent); color: transparent; text-shadow: 0 0 9px var(--text); transition: background .15s, color .15s, text-shadow .15s; user-select: none; }
.fm-spoiler:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fm-spoiler.show { background: color-mix(in srgb, var(--muted) 14%, transparent); color: inherit; text-shadow: none; user-select: text; }
.fm-spoiler a { pointer-events: none; } .fm-spoiler.show a { pointer-events: auto; }
a.hashtag, a.mention { font-weight: 600; text-decoration: none; word-break: break-word; } a.hashtag:hover, a.mention:hover { text-decoration: underline; }
.b-text strong, .fd-text strong { font-weight: 700; }

/* yazma alanı: biçim düğmesi ve araç çubuğu */
.composer .cmp-field textarea { padding-right: 80px; }
.composer .cmp-field .fmt-toggle { position: absolute; right: 38px; bottom: 1px; width: 38px; height: 38px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.composer .cmp-field .fmt-toggle.on { color: var(--accent-2); background: var(--soft); }
.fmt-bar { display: flex; align-items: center; gap: 4px; padding: 6px 12px 0; flex-wrap: wrap; }
.fmt-bar[hidden] { display: none; }
.fmt-b { min-width: 34px; height: 30px; padding: 0 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-2); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; line-height: 1; }
.fmt-b:hover { border-color: var(--accent); } .fmt-b:active { background: var(--soft); }
.fmt-b.fmt-b { font-weight: 800; } .fmt-b.fmt-i { font-style: italic; font-weight: 600; } .fmt-b.fmt-s { text-decoration: line-through; font-weight: 600; } .fmt-b.fmt-c { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; } .fmt-b.fmt-x { font-weight: 600; }
.fmt-hint { margin-left: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .fmt-hint { display: none; } }

/* dış bağlantı uyarısı */
.ext-warn { text-align: center; padding: 4px 0 2px; }
.ext-ic { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; align-items: center; justify-content: center; background: color-mix(in srgb, var(--warn) 16%, var(--panel)); color: var(--warn); margin-bottom: 8px; } .ext-ic .ic { width: 26px; height: 26px; vertical-align: 0; }
.ext-lead { font-weight: 600; margin: 4px 0 10px; }
.ext-host { display: inline-block; max-width: 100%; padding: 6px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--border); font-weight: 700; word-break: break-all; }
.ext-url { margin: 8px 0 10px; word-break: break-all; }
.ext-idn { color: var(--danger); font-weight: 600; font-size: 13.5px; }

/* kenar çubuğu: Akış modu (masaüstünde daha geniş sütun) */
@media (min-width: 1100px) { .shell.feed-mode .side { width: 560px; } }
@media (min-width: 821px) and (max-width: 1099px) { .shell.feed-mode .side { width: 440px; } }
.shell.feed-mode .list { background: var(--bg); }

/* Akış */
.fd-wrap { position: relative; min-height: 100%; padding-bottom: 90px; }
.fd-headbox { display: contents; }
.fd-chips, .fd-sub { position: sticky; top: 0; z-index: 4; background: var(--panel); border-bottom: 1px solid var(--border); }
.fd-chips { display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; } .fd-chips::-webkit-scrollbar { display: none; }
.fd-chip { flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.fd-chip.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.fd-trend { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--panel); overflow-x: auto; scrollbar-width: none; } .fd-trend::-webkit-scrollbar { display: none; }
.fd-trend-t { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; } .fd-trend-t .ic { width: 14px; height: 14px; vertical-align: 0; color: var(--warn); }
.fd-tag { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; border: 0; background: var(--soft); color: var(--accent-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
[data-theme="siyah"] .fd-tag, [data-theme="ozel-koyu"] .fd-tag { color: var(--accent); }
.fd-teaser { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-top: 1px solid var(--border); background: var(--panel); color: var(--muted); font: inherit; text-align: left; cursor: pointer; }
.fd-teaser > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-teaser:hover { background: var(--panel-2); }
.fd-sub { display: flex; align-items: center; gap: 8px; padding: 6px 10px; } .fd-sub b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-newbar { position: sticky; top: 58px; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px auto 0; padding: 7px 16px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.fd-newbar[hidden] { display: none; } .fd-newbar .ic { width: 16px; height: 16px; vertical-align: 0; }
.fd-list { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.fd-foot { padding: 8px 12px 24px; text-align: center; } .fd-load, .fd-end { padding: 14px; color: var(--muted); font-size: 13.5px; }
.fd-empty { padding: 36px 20px; color: var(--muted); } .fd-empty .ic { width: 44px; height: 44px; opacity: .7; stroke-width: 1.5; vertical-align: 0; } .fd-empty p { margin: 10px 0; }

.fd-post { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 14px 6px; cursor: pointer; min-width: 0; overflow: hidden; }
.fd-post.is-detail { cursor: default; border-top: 0; }
.fd-post.is-hidden { opacity: .85; border-left: 4px solid var(--warn); }
.fd-post:hover:not(.is-detail):not(.fd-ad) { background: color-mix(in srgb, var(--panel-2) 55%, var(--panel)); }
.fd-head { display: flex; align-items: flex-start; gap: 10px; }
.fd-av { flex: 0 0 auto; display: inline-flex; line-height: 0; } .fd-av.click { cursor: pointer; }
.fd-anon-av { background: var(--muted) !important; color: #fff; display: inline-flex; align-items: center; justify-content: center; } .fd-anon-av .ic { width: 55%; height: 55%; vertical-align: 0; }
.fd-ad-av { background: #f59e0b !important; color: #fff; display: inline-flex; align-items: center; justify-content: center; } .fd-ad-av .ic { width: 50%; height: 50%; vertical-align: 0; }
.fd-who { flex: 1; min-width: 0; }
.fd-name { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; } .fd-name b { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fd-pill { font-size: 11px; padding: 0 7px; }
.fd-sub-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-more { margin: -4px -6px 0 0; width: 34px; height: 34px; }
.fd-staff { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--warn) 14%, var(--panel)); color: var(--warn); font-size: 12px; font-weight: 600; word-break: break-all; } .fd-staff .ic { width: 13px; height: 13px; vertical-align: 0; }
.fd-note { margin: 8px 0 0; padding: 7px 10px; border-radius: 10px; background: var(--panel-2); color: var(--muted); font-size: 13px; } .fd-note.warn { background: color-mix(in srgb, var(--warn) 13%, var(--panel)); color: var(--text); } .fd-note .ic { vertical-align: -.12em; margin-right: 2px; }
.fd-text { margin: 8px 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.45; }
.fd-text.clamp { display: -webkit-box; -webkit-line-clamp: 8; line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.is-detail .fd-text { font-size: 17px; }
.fd-readmore { color: var(--accent-2); font-size: 13.5px; text-decoration: none; } [data-theme="siyah"] .fd-readmore, [data-theme="ozel-koyu"] .fd-readmore { color: var(--accent); }
.fd-ad-title { font-weight: 700; margin: 8px 0 0; }
.fd-media { display: grid; gap: 3px; margin: 8px 0 4px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--panel-2); }
.fd-media img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; background: var(--panel-2); }
.fd-media.m1 { grid-template-columns: 1fr; } .fd-media.m1 img { max-height: 460px; height: auto; object-fit: contain; }
.fd-media.m2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 9; } .fd-media.m3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; } .fd-media.m3 img:first-child { grid-row: 1 / 3; } .fd-media.m4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
.fd-poll { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.fd-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; text-align: left; overflow: hidden; width: 100%; }
.fd-opt.btn-opt { cursor: pointer; border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: var(--panel); font-weight: 600; } .fd-opt.btn-opt:hover:not(:disabled) { background: var(--soft); } .fd-opt.btn-opt:disabled { opacity: .6; cursor: default; }
.fd-fill { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--accent) 22%, transparent); z-index: 0; transition: width .3s ease; }
.fd-opt.mine .fd-fill { background: color-mix(in srgb, var(--accent) 38%, transparent); }
.fd-ot, .fd-pct { position: relative; z-index: 1; } .fd-ot { min-width: 0; overflow-wrap: anywhere; } .fd-opt.mine .fd-ot { font-weight: 700; } .fd-ot .ic { width: 15px; height: 15px; vertical-align: -.2em; margin-right: 3px; }
.fd-pinfo { padding: 0 2px; }
.fd-acts { display: flex; align-items: center; justify-content: space-between; margin: 4px -8px 0; max-width: 420px; }
.fd-act { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; min-height: 36px; }
.fd-act:hover { background: var(--panel-2); color: var(--text); } .fd-act .ic { width: 19px; height: 19px; vertical-align: 0; }
.fd-act.like.on { color: #e11d48; } .fd-act.like.on .ic { fill: currentColor; } .fd-act.save.on { color: var(--accent-2); } .fd-act.save.on .ic { fill: currentColor; }
.fd-act .n:empty { display: none; }
.fd-ad { background: color-mix(in srgb, #f59e0b 5%, var(--panel)); cursor: default; }
.fd-adrow { margin: 8px 0 8px; } .fd-cta .ic { width: 15px; height: 15px; }

/* Akış: paylaşım penceresi */
.fd-compose .fmt-bar { padding: 0; }
.fd-ta { width: 100%; resize: vertical; min-height: 110px; max-height: 40vh; border-radius: 12px; padding: 10px 12px; line-height: 1.45; }
.fd-cnt.fd-bad, .fd-bad { color: var(--danger); font-weight: 600; }
.fd-warn { color: var(--danger); font-size: 13px; font-weight: 600; flex: 1; } .fd-warn[hidden] { display: none; } .fd-warn .ic { vertical-align: -.15em; }
.row.between { justify-content: space-between; flex-wrap: nowrap; }
.fd-prev { display: flex; flex-wrap: wrap; gap: 8px; } .fd-prev:empty { display: none; }
.fd-pv { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); } .fd-pv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-pv-x { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .fd-pv-x .ic { width: 14px; height: 14px; vertical-align: 0; }
.fd-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-pollbox { border: 1px solid var(--border); border-radius: 12px; padding: 10px; background: var(--panel-2); } .fd-pollbox[hidden] { display: none; } .fd-pollbox .row { margin-top: 8px; justify-content: space-between; } .fd-dur { display: inline-flex; align-items: center; gap: 6px; }
.fd-anon { align-items: flex-start; padding: 10px; border: 1px solid var(--border); border-radius: 12px; margin: 0; }
.fd-reasons { display: flex; flex-direction: column; }
.fd-pick { max-height: 46vh; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; }

/* Akış: ayrıntı ve yorumlar */
.fd-detail { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--panel); }
.fd-dhead { cursor: default; }
.fd-dscroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; min-height: 0; max-width: 760px; width: 100%; margin: 0 auto; }
.fd-chead { padding: 10px 14px 4px; border-top: 8px solid var(--bg); }
.fd-comments { padding-bottom: 12px; } .fd-cempty { padding: 18px 14px; text-align: center; } .fd-cmore { text-align: center; padding-bottom: 14px; }
.fd-c { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; }
.fd-cb { flex: 1; min-width: 0; } .fd-cn { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 14px; }
.fd-ct { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.4; margin: 2px 0; }
.fd-ca { margin-left: -10px; } .fd-ca .fd-act { min-height: 30px; padding: 3px 10px; font-size: 13px; } .fd-ca .fd-act .ic { width: 16px; height: 16px; }
.fd-cbar { border-top: 1px solid var(--border); background: var(--panel); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); max-width: 760px; width: 100%; margin: 0 auto; }
.fd-crow { display: flex; align-items: flex-end; gap: 6px; } .fd-crow .cmp-field { flex: 1; min-width: 0; display: flex; }
.fd-crow textarea { width: 100%; min-height: 40px; max-height: 120px; resize: none; border-radius: 20px; padding: 9px 16px; line-height: 1.4; background: var(--panel-2); border-color: transparent; }
.fd-cnote { color: var(--danger); padding: 0 6px 4px; } .fd-cnote[hidden] { display: none; }

/* Akış: profil, sohbet kartı */
.prof-feed { margin-top: 14px; } .prof-feed .ph-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fd-mini { padding: 9px 12px; margin-bottom: 6px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--panel-2); } .fd-mini:hover { border-color: var(--accent); }
.fd-mini-t { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .fd-mini-m .ic { vertical-align: -.1em; }
.bubble.fd-share > .b-text { display: none; }
.fd-sc { display: block; margin: 2px 0 4px; min-width: 200px; max-width: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--panel); cursor: pointer; } .fd-sc:hover { border-color: var(--accent); } .fd-sc.dead { cursor: default; }
.fd-sc-img { width: 100%; max-height: 180px; object-fit: cover; display: block; }
.fd-sc-b { padding: 8px 10px; } .fd-sc-h { font-size: 12px; color: var(--accent-2); font-weight: 700; } .fd-sc-t { font-size: 14px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* yönetim: Akış sayfaları */
.fd-adm-thumb { max-width: 160px; max-height: 120px; border-radius: 8px; border: 1px solid var(--border); object-fit: cover; margin: 4px 6px 4px 0; }
.fd-adm-body { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 640px; }

@media (max-width: 820px) { .fd-acts { max-width: none; } .fd-dscroll { max-width: none; } .shell.feed-mode .side { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .fd-fill { transition: none; } .fm-spoiler { transition: none; } }
.side-tabs button[hidden] { display: none; }

/* ---- Ödüller: Çekilişler, @destek uyarısı, reklam hesabı çubuğu ---- */
.gw-list { display: flex; flex-direction: column; gap: 12px; max-height: 62vh; overflow-y: auto; padding-right: 2px; }
.gw-card { border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: var(--panel-2); display: flex; flex-direction: column; gap: 6px; }
.gw-card.joined { border-color: color-mix(in srgb, var(--ok) 55%, var(--border)); }
.gw-card.won { border-color: #f59e0b; background: color-mix(in srgb, #f59e0b 10%, var(--panel-2)); }
.gw-img { width: 100%; max-height: 160px; object-fit: cover; border-radius: 10px; }
.gw-title { display: flex; align-items: center; gap: 8px; font-size: 15.5px; }
.gw-title .ic { color: #f59e0b; }
.gw-prize { font-weight: 600; color: var(--accent-2); }
.gw-desc { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.gw-conds { margin: 2px 0 0; padding-left: 18px; }
.gw-join { align-self: stretch; margin-top: 4px; }
.gw-join:disabled { opacity: .55; cursor: not-allowed; }
.gw-why { color: var(--warn); }
.gw-joined { display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; margin-top: 4px; }
.gw-win { display: flex; align-items: center; gap: 6px; color: #b45309; font-weight: 700; }
.gw-winners { overflow-wrap: anywhere; }
.sup-warn { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; font-size: 13px; line-height: 1.4; background: #fee2e2; color: #991b1b; border-bottom: 1px solid #fca5a5; }
.sup-warn .ic { flex: none; width: 17px; height: 17px; margin-top: 1px; }
[data-theme="siyah"] .sup-warn, [data-theme="ozel-koyu"] .sup-warn { background: #3b1212; color: #fecaca; border-color: #7f1d1d; }
.readonly-bar.ad-ro { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.readonly-bar.ad-ro .btn { padding: 6px 14px; font-size: 13px; }
.menu a .ic, .menu button .ic { flex: none; }

/* ---- Ayarlar yan menüsü: gruplu (details) ---- */
.settings-nav .nav-group { border-radius: 10px; }
.settings-nav .nav-group > summary { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; list-style: none; color: var(--text); font-weight: 600; }
.settings-nav .nav-group > summary::-webkit-details-marker { display: none; }
.settings-nav .nav-group > summary:hover { background: var(--panel-2); }
.settings-nav .nav-group .chev { margin-left: auto; line-height: 0; color: var(--muted); transition: transform .15s; }
.settings-nav .nav-group .chev .ic { width: 16px; height: 16px; }
.settings-nav .nav-group[open] > summary .chev { transform: rotate(90deg); }
.settings-nav .nav-group > a { display: block; margin: 1px 0 1px 22px; padding: 7px 12px; border-radius: 8px; color: var(--text); text-decoration: none !important; font-size: 14px; border-left: 2px solid var(--border); }
.settings-nav .nav-group > a:hover { background: var(--panel-2); }
.settings-nav .nav-group > a.active { background: var(--soft); color: var(--accent-2); font-weight: 600; border-left-color: var(--accent); }
@media (max-width: 860px) { .settings-nav .nav-group { width: 100%; } }

/* ---- Cüzdan: coin ile al ---- */
.shop-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.shop-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: var(--panel-2); }
.shop-item .shop-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent-2); }
.shop-item .shop-body { flex: 1 1 220px; min-width: 0; }
.shop-qty { width: 84px; }
.ai-bar .ai-more { flex: none; font-weight: 600; font-size: 12px; white-space: nowrap; }

/* ---------- iOS tarzı ana menü: profil kartı, hızlı erişim karoları, gruplanmış satırlar */
.im-dim { position: fixed; inset: 0; z-index: 99; background: rgba(0, 0, 0, .22); pointer-events: none; animation: im-fade .2s ease-out; }
.menu.ios-menu { width: min(348px, calc(100vw - 16px)); max-width: none; padding: 10px; border-radius: 22px; border: .5px solid var(--border); background: color-mix(in srgb, var(--bg) 94%, var(--panel)); box-shadow: 0 18px 54px rgba(0, 0, 0, .3); transform-origin: top left; animation: im-pop .22s cubic-bezier(.2, .9, .3, 1.08); z-index: 101; scrollbar-width: none; }
.menu.ios-menu::-webkit-scrollbar { display: none; }
@keyframes im-pop { from { opacity: 0; transform: scale(.94) translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes im-fade { from { opacity: 0; } to { opacity: 1; } }
html.reduce-motion .menu.ios-menu, html.reduce-motion .im-dim { animation: none; }

.menu.ios-menu .im-hero { position: relative; background: var(--panel); border: .5px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 10px; }
.im-cover { height: 62px; background: linear-gradient(135deg, var(--pc, #14b8a6), color-mix(in srgb, var(--pc, #14b8a6) 55%, #000)); background-size: cover; background-position: center; }
.menu.ios-menu .im-edit { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; border-radius: 50%; justify-content: center; background: rgba(0, 0, 0, .4); color: #fff; z-index: 3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.menu.ios-menu .im-edit .ic { width: 16px; height: 16px; opacity: 1; }
.menu.ios-menu .im-edit:hover { background: rgba(0, 0, 0, .55); }
.menu.ios-menu .im-me { position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 12px; width: 100%; margin-top: -26px; padding: 0 14px 2px; border-radius: 0; background: none; text-align: left; }
.menu.ios-menu .im-me:hover { background: none; }
.im-av { flex: none; line-height: 0; border-radius: 50%; background: var(--panel); box-shadow: 0 0 0 3px var(--panel); }
.im-av .av { display: block; }
.im-av .av-ph { display: flex; align-items: center; justify-content: center; line-height: 1; }
.im-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding-top: 30px; }
.im-name { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 700; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.im-sub { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.im-go { display: inline-flex; align-items: center; color: var(--accent-2); font-size: 13px; font-weight: 600; margin-top: 2px; }
[data-theme="siyah"] .im-go, [data-theme="ozel-koyu"] .im-go { color: var(--accent); }
.menu.ios-menu .im-go .ic { width: 14px; height: 14px; opacity: 1; }
.im-chips { display: flex; gap: 8px; padding: 10px 14px 14px; }
.menu.ios-menu .im-chip { width: auto; flex: 1 1 0; min-width: 0; justify-content: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--text) 6%, var(--panel)); font-size: 14px; font-weight: 600; }
.menu.ios-menu .im-chip:hover { background: color-mix(in srgb, var(--text) 11%, var(--panel)); }
.menu.ios-menu .im-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu.ios-menu .im-chip .ic { width: 16px; height: 16px; opacity: 1; }

.im-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin-bottom: 10px; }
.menu.ios-menu .im-tile { flex-direction: column; justify-content: flex-start; align-items: center; gap: 6px; min-width: 0; padding: 12px 6px 10px; border-radius: 16px; background: var(--panel); border: .5px solid var(--border); text-align: center; }
.menu.ios-menu .im-tile:hover { background: var(--panel-2); }
.menu.ios-menu .im-tile:active { transform: scale(.97); }
.im-tic, .im-ic { position: relative; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--c, #8e8e93) 80%, #fff), var(--c, #8e8e93)); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.im-tic { width: 46px; height: 46px; border-radius: 14px; }
.im-ic { width: 30px; height: 30px; border-radius: 8px; }
.menu.ios-menu .im-tic .ic { width: 25px; height: 25px; opacity: 1; stroke-width: 2; }
.menu.ios-menu .im-ic .ic { width: 18px; height: 18px; opacity: 1; stroke-width: 2.1; }
.im-bdg { position: absolute; top: -6px; right: -8px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: #ff3b30; color: #fff; font: 700 12px/21px system-ui, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2.5px var(--panel); }
.im-tl { font-size: 13px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.im-ts { font-size: 11.5px; color: var(--muted); margin-top: -3px; }

.im-group { background: var(--panel); border: .5px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.menu.ios-menu .im-group .mi { position: relative; min-height: 46px; gap: 12px; padding: 8px 12px; border-radius: 0; font-size: 16px; }
.menu.ios-menu .im-group .mi:hover { background: var(--panel-2); }
.menu.ios-menu .im-group .mi:active { background: color-mix(in srgb, var(--text) 10%, var(--panel)); }
.menu.ios-menu .im-group .mi + .mi::before { content: ''; position: absolute; top: 0; left: 54px; right: 0; height: .5px; background: var(--border); }
.menu.ios-menu .im-group .mi.im-out { justify-content: center; color: var(--danger); font-weight: 600; }
.menu.ios-menu .im-group .mi.im-out::before { left: 0 !important; }
.menu.ios-menu .im-out .im-lb { flex: none; }
.menu.ios-menu .im-out .ic { width: 20px; height: 20px; opacity: 1; }
.im-lb { flex: 1; min-width: 0; overflow-wrap: anywhere; text-align: left; }
.im-val { color: var(--muted); font-size: 14.5px; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-chev { line-height: 0; flex: none; color: var(--muted); }
.menu.ios-menu .im-chev .ic { width: 16px; height: 16px; opacity: .6; stroke-width: 2.4; }
.im-new { background: #ff3b30; color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; flex: none; }
.im-nav { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; margin-bottom: 6px; }
.menu.ios-menu .im-back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: auto; padding: 8px 10px 8px 2px; gap: 0; color: var(--accent-2); font-weight: 500; }
[data-theme="siyah"] .menu.ios-menu .im-back, [data-theme="ozel-koyu"] .menu.ios-menu .im-back { color: var(--accent); }
.menu.ios-menu .im-back .ic { width: 24px; height: 24px; opacity: 1; stroke-width: 2.4; }
.im-title { font-size: 16.5px; font-weight: 650; }
.im-wallet { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; padding: 14px 16px; border-radius: 16px; color: var(--accent-fg, #fff); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); }
.im-wallet small { opacity: .85; font-size: 12.5px; }
.im-wallet b { display: flex; align-items: center; gap: 6px; font-size: 26px; letter-spacing: -.02em; }
.im-wallet span { opacity: .9; font-size: 13px; }
.im-wallet .coin { color: inherit; }
.im-wallet .ic, .im-wallet .ic.coin { stroke: currentColor; width: 24px; height: 24px; }
.im-foot { text-align: center; color: var(--muted); font-size: 12px; padding: 0 0 2px; }
.code-input.wide { letter-spacing: .18em; font-size: 22px; }

/* ---------- sesli arama (app-call.js) */
.call-btn, .vid-btn { color: var(--accent-2); }
:where([data-theme="siyah"], [data-theme="ozel-koyu"]) :is(.call-btn, .vid-btn) { color: var(--accent); }
.sys.call-sys { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 5px 14px; color: var(--text); }
.sys.call-sys .ic { width: 16px; height: 16px; color: var(--accent-2); }
.sys.call-sys.miss .ic { color: var(--danger); }
.sys.call-sys .cs-redial { border: 0; background: transparent; color: var(--accent-2); font: inherit; font-weight: 600; cursor: pointer; padding: 0 2px; text-decoration: underline; }
.call-ov { position: fixed; inset: 0; z-index: 180; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: max(28px, env(safe-area-inset-top)) 20px max(36px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 55%, #06201c) 0%, #0a1f24 70%); color: #fff; animation: fade .15s; }
.call-ov .co-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-width: 0; max-width: 100%; }
.call-ov .co-av { position: relative; border-radius: 50%; padding: 6px; background: rgba(255, 255, 255, .12); }
.call-ov.mode-in:not(.ended) .co-av, .call-ov.mode-out:not(.ended) .co-av { animation: coPulse 1.8s ease-out infinite; }
@keyframes coPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); } 100% { box-shadow: 0 0 0 36px rgba(255, 255, 255, 0); } }
.call-ov .co-name { font-size: 26px; font-weight: 700; max-width: 88vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-ov .co-st { font-size: 16px; opacity: .85; min-height: 24px; font-variant-numeric: tabular-nums; }
.call-ov .co-btns { display: flex; gap: 34px; align-items: flex-start; justify-content: center; min-height: 92px; }
.call-ov .co-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; padding: 0; }
.call-ov .co-btn .ic { width: 30px; height: 30px; padding: 17px; box-sizing: content-box; border-radius: 50%; background: rgba(255, 255, 255, .16); stroke: #fff; }
.call-ov .co-btn .co-lb { font-size: 13px; opacity: .85; }
.call-ov .co-btn.co-end .ic { background: #e5484d; }
.call-ov .co-btn.co-ok .ic { background: #16a34a; }
.call-ov .co-btn.co-mute.on .ic { background: #fff; stroke: #0a1f24; }
.call-ov .co-btn:active .ic { transform: scale(.94); }
.call-ov .co-min { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 14px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.call-ov .co-min .ic { stroke: #fff; }
.call-ov.ended .co-btns { visibility: hidden; }
/* küçültülmüş: üstte ince şerit */
.call-ov.mini { inset: 0 0 auto 0; flex-direction: row; justify-content: space-between; gap: 10px; padding: max(8px, env(safe-area-inset-top)) 14px 8px; background: #0f766e; cursor: pointer; animation: none; }
.call-ov.mini .co-min { display: none; }
.call-ov.mini .co-card { flex-direction: row; justify-content: flex-start; gap: 10px; }
.call-ov.mini .co-av { padding: 0; background: none; animation: none; }
.call-ov.mini .co-av .av { width: 32px !important; height: 32px !important; font-size: 13px !important; }
.call-ov.mini .co-name { font-size: 15px; max-width: 40vw; }
.call-ov.mini .co-st { font-size: 14px; min-height: 0; }
.call-ov.mini .co-btns { min-height: 0; gap: 8px; }
.call-ov.mini .co-btn .co-lb { display: none; }
.call-ov.mini .co-btn .ic { width: 18px; height: 18px; padding: 8px; }
@media (prefers-reduced-motion: reduce) { .call-ov .co-av { animation: none !important; } }
/* dar ekranlarda sohbet başlığı: telefon düğmesi eklenince ad alanı daralmasın */
@media (max-width: 480px) {
  .chat-head { gap: 3px; padding-left: 8px; padding-right: 8px; }
  .chat-head .icon-btn { width: 36px; height: 36px; }
  .chat-head .streak-chip { padding: 0 8px; }
}

/* ---- Hazır avatar kütüphanesi (Faz 14) ---- */
.preset-box { padding: 0; overflow: hidden; }
.preset-cat > summary { list-style: none; cursor: pointer; }
.preset-cat > summary::-webkit-details-marker { display: none; }
.preset-cat[open] > summary .ios-chev { transform: rotate(90deg); }
.preset-cat + .preset-cat { border-top: 1px solid var(--line, rgba(0,0,0,.08)); }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 10px; padding: 8px 14px 16px; }
.preset-opt { background: none; border: 0; padding: 0; border-radius: 50%; cursor: pointer; aspect-ratio: 1; -webkit-tap-highlight-color: transparent; transition: transform .18s cubic-bezier(.3,1.4,.5,1); }
.preset-opt img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: var(--panel-2); }
.preset-opt:hover, .preset-opt:focus-visible { transform: scale(1.08); outline: 2px solid var(--accent); outline-offset: 2px; }
.preset-opt:active { transform: scale(.94); }
.avlib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.avlib-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.avlib-item.off { opacity: .5; }
.avlib-pick { position: relative; display: block; width: 84px; height: 84px; cursor: pointer; }
.avlib-pick img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.avlib-pick input { position: absolute; top: 2px; left: 2px; z-index: 2; }

/* ---- Süslü çerçeveler (Faz 14): .avw sarmalayıcı = [arka katman .fxb][profil resmi .av][ön katman .fxf] ---- */
.avw { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; vertical-align: middle; border-radius: 50%; }
.avw > .av { position: relative; z-index: 1; }
.avw > .fxb, .avw > .fxf { position: absolute; left: -20%; top: -20%; width: 140%; height: 140%; background: center / 100% 100% no-repeat; pointer-events: none; }
.avw > .fxb { z-index: 0; } .avw > .fxf { z-index: 2; }
.msg .avw { align-self: flex-start; margin-bottom: 2px; }
.call-ov.mini .co-av .avw { width: 32px !important; height: 32px !important; font-size: 13px !important; }
.frame-opt .avw { margin: 4px 0; }
/* FRAMES-BEGIN (tools/gen_frames.py üretir; elle düzenlemeyin) */
.avw.fr-d_seker>.fxf{background-image:url(../img/frames/seker-f.svg)}
.reduce-motion .avw.fr-d_seker>.fxf{background-image:url(../img/frames/seker-f-s.svg)}
.avw.fr-d_gunbatimi>.fxf{background-image:url(../img/frames/gunbatimi-f.svg)}
.reduce-motion .avw.fr-d_gunbatimi>.fxf{background-image:url(../img/frames/gunbatimi-f-s.svg)}
.avw.fr-d_kalp>.fxf{background-image:url(../img/frames/kalp-f.svg)}
.reduce-motion .avw.fr-d_kalp>.fxf{background-image:url(../img/frames/kalp-f-s.svg)}
.avw.fr-d_kedi>.fxf{background-image:url(../img/frames/kedi-f.svg)}
.reduce-motion .avw.fr-d_kedi>.fxf{background-image:url(../img/frames/kedi-f-s.svg)}
.avw.fr-d_baloncuk>.fxf{background-image:url(../img/frames/baloncuk-f.svg)}
.reduce-motion .avw.fr-d_baloncuk>.fxf{background-image:url(../img/frames/baloncuk-f-s.svg)}
.avw.fr-d_ay>.fxf{background-image:url(../img/frames/ay-f.svg)}
.reduce-motion .avw.fr-d_ay>.fxf{background-image:url(../img/frames/ay-f-s.svg)}
.avw.fr-d_kelebek>.fxf{background-image:url(../img/frames/kelebek-f.svg)}
.reduce-motion .avw.fr-d_kelebek>.fxf{background-image:url(../img/frames/kelebek-f-s.svg)}
.avw.fr-d_cicek>.fxf{background-image:url(../img/frames/cicek-f.svg)}
.reduce-motion .avw.fr-d_cicek>.fxf{background-image:url(../img/frames/cicek-f-s.svg)}
.avw.fr-d_tac>.fxf{background-image:url(../img/frames/tac-f.svg)}
.reduce-motion .avw.fr-d_tac>.fxf{background-image:url(../img/frames/tac-f-s.svg)}
.avw.fr-d_melek>.fxf{background-image:url(../img/frames/melek-f.svg)}
.reduce-motion .avw.fr-d_melek>.fxf{background-image:url(../img/frames/melek-f-s.svg)}
.avw.fr-d_melek>.fxb{background-image:url(../img/frames/melek-b.svg)}
.reduce-motion .avw.fr-d_melek>.fxb{background-image:url(../img/frames/melek-b-s.svg)}
.avw.fr-d_yildiz>.fxf{background-image:url(../img/frames/yildiz-f.svg)}
.reduce-motion .avw.fr-d_yildiz>.fxf{background-image:url(../img/frames/yildiz-f-s.svg)}
.avw.fr-d_galaksi>.fxf{background-image:url(../img/frames/galaksi-f.svg)}
.reduce-motion .avw.fr-d_galaksi>.fxf{background-image:url(../img/frames/galaksi-f-s.svg)}
.avw.fr-d_kar>.fxf{background-image:url(../img/frames/kar-f.svg)}
.reduce-motion .avw.fr-d_kar>.fxf{background-image:url(../img/frames/kar-f-s.svg)}
.avw.fr-d_sakura>.fxf{background-image:url(../img/frames/sakura-f.svg)}
.reduce-motion .avw.fr-d_sakura>.fxf{background-image:url(../img/frames/sakura-f-s.svg)}
.avw.fr-d_elmas>.fxf{background-image:url(../img/frames/elmas-f.svg)}
.reduce-motion .avw.fr-d_elmas>.fxf{background-image:url(../img/frames/elmas-f-s.svg)}
.avw.fr-d_yildirim>.fxf{background-image:url(../img/frames/yildirim-f.svg)}
.reduce-motion .avw.fr-d_yildirim>.fxf{background-image:url(../img/frames/yildirim-f-s.svg)}
.avw.fr-d_hologram>.fxf{background-image:url(../img/frames/hologram-f.svg)}
.reduce-motion .avw.fr-d_hologram>.fxf{background-image:url(../img/frames/hologram-f-s.svg)}
.avw.fr-d_zumrut>.fxf{background-image:url(../img/frames/zumrut-f.svg)}
.reduce-motion .avw.fr-d_zumrut>.fxf{background-image:url(../img/frames/zumrut-f-s.svg)}
/* FRAMES-END */

/* ---- Arama: ses paneli (Faz 14) ---- */
.call-ov .co-panel { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); width: min(92vw, 340px); background: rgba(24, 34, 38, .86); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 14px 16px 12px; color: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); z-index: 5; }
.call-ov .co-ph { font-weight: 700; font-size: 15px; margin-bottom: 10px; opacity: .95; }
.call-ov .co-seg { display: flex; background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 3px; margin-bottom: 12px; }
.call-ov .co-seg button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; padding: 9px 6px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.call-ov .co-seg button .ic { width: 16px; height: 16px; stroke: currentColor; }
.call-ov .co-seg button.on { background: #fff; color: #0a1f24; font-weight: 600; }
.call-ov .co-sl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; opacity: .9; margin-bottom: 12px; }
.call-ov .co-sel { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: 14px; }
.call-ov .co-sel option { color: #111; }
.call-ov .co-vol { display: flex; align-items: center; gap: 10px; }
.call-ov .co-vi .ic { width: 20px; height: 20px; stroke: #fff; opacity: .85; }
.call-ov .co-rng { flex: 1; accent-color: #34d3c1; height: 28px; }
.call-ov .co-vv { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.call-ov .co-pn { margin: 8px 0 0; font-size: 12px; line-height: 1.4; opacity: .65; }
.call-ov.mini .co-panel { display: none; }
.call-ov .co-btn.co-snd .ic { background: rgba(255, 255, 255, .16); }
.chat-head .avw { margin-top: 6px; }

/* GIFTFX-BEGIN (Faz 15) */
.fx-cv{position:fixed;left:0;top:0;pointer-events:none;z-index:1250}
.fx-pop{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);z-index:1251;pointer-events:none;text-align:center;animation:fxPop .7s cubic-bezier(.2,1.5,.4,1) both}
.fx-pop.out{animation:fxOut .4s ease-in both}
.fx-pop-g{display:block;font-size:112px;line-height:1;filter:drop-shadow(0 12px 28px rgba(0,0,0,.35));animation:fxBob 1.6s ease-in-out .7s infinite}
img.fx-pop-g{width:128px;height:128px;object-fit:contain;margin:0 auto}
.fx-pop-l{margin-top:10px;display:inline-block;background:rgba(20,30,34,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#fff;padding:8px 16px;border-radius:999px;font-weight:600;font-size:15px}
@keyframes fxPop{0%{transform:translate(-50%,-50%) scale(.1) rotate(-14deg);opacity:0}60%{transform:translate(-50%,-50%) scale(1.18) rotate(4deg);opacity:1}100%{transform:translate(-50%,-50%) scale(1) rotate(0);opacity:1}}
@keyframes fxOut{to{transform:translate(-50%,-62%) scale(.8);opacity:0}}
@keyframes fxBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.reduce-motion .fx-pop,.reduce-motion .fx-pop-g{animation:none}
@media (prefers-reduced-motion:reduce){.fx-pop,.fx-pop-g{animation:none}}
/* GIFTFX-END */

/* IOS-POLISH-BEGIN (Faz 15) — iOS görünümü: cam yüzeyler, alttan açılan pencereler, yaylı animasyonlar. Hareketi azalt açıksa animasyonlar kapanır. */
:root { --ios-ease: cubic-bezier(.32, .72, 0, 1); --ios-spring: cubic-bezier(.34, 1.45, .5, 1); --glass: color-mix(in srgb, var(--panel) 78%, transparent); --hair: color-mix(in srgb, var(--text) 13%, transparent); }
html { -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3 { letter-spacing: -.02em; }

/* düğmeler: basınca yaylı küçülme, daha yuvarlak köşe */
.btn { border-radius: 12px; font-weight: 600; transition: transform .18s var(--ios-ease), filter .15s, background-color .15s, opacity .15s; }
.btn:active { transform: scale(.97); filter: brightness(.94); }
.btn.sm { border-radius: 10px; }
.icon-btn { transition: transform .18s var(--ios-ease), background-color .15s; }
.icon-btn:active { transform: scale(.88); background: var(--panel-2); }
.fab { transition: transform .22s var(--ios-spring), box-shadow .2s; }
.fab:active { transform: scale(.92); box-shadow: 0 3px 10px rgba(0, 0, 0, .22); }
.item { transition: background-color .12s; }
.item:active:not(.active) { background: color-mix(in srgb, var(--text) 9%, var(--panel)); }
.pick-row:active, .menu button:active, .menu a:active { background: color-mix(in srgb, var(--text) 9%, var(--panel)); }
.at-it { transition: transform .18s var(--ios-ease); } .at-it:active { transform: scale(.92); }

/* form elemanları: yumuşak odak halkası */
input, select, textarea { border-radius: 12px; transition: box-shadow .18s, border-color .18s; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); border-color: var(--accent); }
.search, .composer textarea { border-radius: 999px; }
.composer textarea { border-radius: 20px; }

/* segmentli kontrol (iOS) */
.seg { background: color-mix(in srgb, var(--text) 8%, var(--panel)); border: 0; border-radius: 11px; padding: 2px; gap: 2px; }
.seg button { border-radius: 9px; font-weight: 500; transition: background-color .2s var(--ios-ease), box-shadow .2s, color .2s; }
.seg button.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .16), 0 0 0 .5px rgba(0, 0, 0, .05); }
:where([data-theme="siyah"], [data-theme="ozel-koyu"]) .seg button.on { background: color-mix(in srgb, var(--text) 18%, var(--panel)); box-shadow: none; }

/* anahtar (iOS switch): pencerelerdeki ve listelerdeki onay kutuları */
.sw-row > input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 51px !important; height: 31px !important; border-radius: 16px; border: 0; padding: 0; margin: 0; position: relative; cursor: pointer; background: color-mix(in srgb, var(--text) 18%, var(--panel)); transition: background-color .25s var(--ios-ease); }
.sw-row > input[type=checkbox]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .28); transition: transform .28s var(--ios-spring); }
.sw-row > input[type=checkbox]:checked { background: var(--accent); }
.sw-row > input[type=checkbox]:checked::after { transform: translateX(20px); }
.sw-row > input[type=checkbox]:disabled { opacity: .45; cursor: not-allowed; }
.sw-row > input[type=checkbox]:focus-visible { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); }

/* pencereler: bulanık arka plan + yaylı açılış; telefonda alttan açılan sayfa (grabber ile) */
.modal-back { background: rgba(8, 18, 22, .38); -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15); animation: iosFade .28s var(--ios-ease); }
.modal { border-radius: 22px; border: .5px solid var(--hair); box-shadow: 0 24px 70px rgba(0, 0, 0, .28); animation: iosPop .42s var(--ios-spring); }
.modal-h h3 { font-weight: 700; letter-spacing: -.02em; }
.modal-f { border-top: .5px solid var(--hair); }
.modal hr { border-top-width: .5px; border-top-color: var(--hair); }
@media (max-width: 700px) {
  .modal { border-radius: 24px 24px 0 0; border-bottom: 0; animation: iosSheet .46s var(--ios-ease); padding-top: 14px; position: relative; padding-bottom: env(safe-area-inset-bottom); }
  .modal::before { content: ''; position: absolute; top: 6px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: color-mix(in srgb, var(--text) 22%, transparent); }
  .modal-back { padding: 0; }
  .modal-f { flex-wrap: wrap; } .modal-f .btn { flex: 1 1 auto; padding-top: 12px; padding-bottom: 12px; }
}
@keyframes iosFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes iosPop { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes iosSheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes iosToast { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes iosMenu { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* açılır menüler ve bildirimler: cam görünüm */
.menu:not(.ios-menu) { border: .5px solid var(--hair); border-radius: 16px; animation: iosMenu .24s var(--ios-spring); transform-origin: top right; }
.toast { border-radius: 16px; animation: iosToast .34s var(--ios-spring); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .menu:not(.ios-menu) { background: var(--glass); -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px); }
  .toast { background: rgba(28, 36, 41, .82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
  .toast.err { background: color-mix(in srgb, var(--danger) 88%, transparent); }
  .topbar { background: var(--glass); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
  .attach-tray { -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }
}
.topbar, .chat-head, .side-tabs, .composer-wrap { border-bottom-width: .5px; } .composer-wrap { border-top-width: .5px; border-bottom-width: 0; }
.card { border-radius: 18px; border-width: .5px; }

/* telefonda sohbet geçişi: iOS "push" animasyonu (yeni sayfa sağdan, eski sayfa hafif sola kayar) */
@media (max-width: 820px) {
  .main { transition: transform .38s var(--ios-ease); }
  .side { transition: transform .38s var(--ios-ease); }
  .shell.in-chat .side { transform: translateX(-26%); }
  .shell.in-chat .main { box-shadow: -8px 0 30px rgba(0, 0, 0, .12); }
}

html.reduce-motion .modal, html.reduce-motion .modal-back, html.reduce-motion .menu, html.reduce-motion .toast { animation: none !important; }
html.reduce-motion .btn, html.reduce-motion .icon-btn, html.reduce-motion .fab, html.reduce-motion .at-it, html.reduce-motion .item, html.reduce-motion .seg button,
html.reduce-motion .sw-row > input[type=checkbox], html.reduce-motion .sw-row > input[type=checkbox]::after, html.reduce-motion .main, html.reduce-motion .side { transition: none !important; }
html.reduce-motion .btn:active, html.reduce-motion .icon-btn:active, html.reduce-motion .fab:active, html.reduce-motion .at-it:active { transform: none; }
html.reduce-motion .shell.in-chat .side { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal-back, .menu, .toast { animation: none !important; }
  .btn, .icon-btn, .fab, .at-it, .item, .seg button, .main, .side { transition: none !important; }
  .btn:active, .icon-btn:active, .fab:active, .at-it:active { transform: none; }
  .shell.in-chat .side { transform: none; }
}
/* IOS-POLISH-END */

/* Yönetim → Shop ürün formu: türe göre gizlenen alanlar (display kuralları hidden'ı ezmesin) */
#pform [hidden] { display: none !important; }

/* FULLSCREEN-MENU-BEGIN (Faz 17) — ana menü ve alt menüleri: telefonda tam ekran sayfa, bilgisayarda soldan tam boy panel */
html.im-open { overflow: hidden; }
.menu.ios-menu.im-full { position: fixed; z-index: 101; max-width: none; max-height: none; overflow-y: auto; overscroll-behavior: contain; border: 0; background: var(--bg); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 28px); animation: imFull .32s var(--ios-ease, cubic-bezier(.2, .9, .3, 1)); }
@keyframes imFull { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes imSide { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.menu.ios-menu.im-full .im-nav { position: sticky; top: 0; z-index: 5; min-height: 52px; margin: 0 -14px 8px; padding: env(safe-area-inset-top, 0px) 14px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 .5px 0 var(--border); }
.menu.ios-menu.im-full .im-back { left: 6px; }
.menu.ios-menu.im-full .im-title { font-size: 17px; }
.menu.ios-menu.im-full .im-x { position: absolute; right: 12px; top: calc(50% + env(safe-area-inset-top, 0px) / 2); transform: translateY(-50%); width: 34px; height: 34px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--text) 9%, var(--panel)); }
.menu.ios-menu.im-full .im-x .ic { width: 18px; height: 18px; opacity: .8; }
.menu.ios-menu.im-full .im-x:hover { background: color-mix(in srgb, var(--text) 15%, var(--panel)); }
.menu.ios-menu.im-full .im-group .mi { min-height: 52px; font-size: 17px; }
.menu.ios-menu.im-full .im-hero, .menu.ios-menu.im-full .im-wallet { border-radius: 20px; }
@media (max-width: 820px) {
  .menu.ios-menu.im-full { left: 0; top: 0; right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; }
  .im-dim { display: none; }
}
@media (min-width: 821px) {
  .menu.ios-menu.im-full { left: 0; top: 0; bottom: 0; right: auto; width: 430px; max-width: 100vw; height: 100dvh; border-radius: 0 24px 24px 0; border-right: .5px solid var(--border); box-shadow: 0 0 70px rgba(0, 0, 0, .35); animation-name: imSide; }
  .im-dim { pointer-events: auto; background: rgba(8, 18, 22, .38); z-index: 100; }
}
html.reduce-motion .menu.ios-menu.im-full { animation: none !important; }
/* FULLSCREEN-MENU-END */

/* INTERESTS-BEGIN (Faz 17) — ilgi alanı seçici (akış ilk açılış ekranı + Ayarlar) */
.ip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 520px) { .ip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ip-chip { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ip-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ip-body { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 16px; background: var(--panel); border: 1.5px solid var(--border); font-weight: 600; font-size: 15px; transition: transform .18s var(--ios-spring, ease), border-color .15s, background .15s, box-shadow .15s; }
.ip-e { font-size: 24px; line-height: 1; flex: none; }
.ip-n { min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
.ip-ck { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-fg, #fff); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .22s var(--ios-spring, ease); }
.ip-ck .ic { width: 13px; height: 13px; stroke-width: 3; opacity: 1; }
.ip-chip input:checked + .ip-body { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--panel)); box-shadow: 0 0 0 1px var(--accent) inset; }
.ip-chip input:checked + .ip-body .ip-ck { opacity: 1; transform: none; }
.ip-chip input:active + .ip-body { transform: scale(.96); }
.ip-chip input:focus-visible + .ip-body { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.ip-count { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ios-savebar .btn[disabled] { opacity: .5; cursor: not-allowed; }
/* akışta ilk açılış: tam ekran */
.ip-full { position: fixed; inset: 0; z-index: 120; background: var(--bg); display: flex; flex-direction: column; animation: imFull .32s var(--ios-ease, ease); }
.ip-full-in { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: calc(env(safe-area-inset-top, 0px) + 18px) 16px 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.ip-full h2 { margin: 6px 0 6px; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.ip-full p.ip-sub { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.ip-full-bar { padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 14px); border-top: .5px solid var(--border); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); max-width: 760px; width: 100%; margin: 0 auto; }
.ip-full-bar .btn { width: 100%; padding: 14px; font-size: 16.5px; border-radius: 14px; }
.ip-full-bar .btn[disabled] { opacity: .45; cursor: not-allowed; }
.ip-full-back { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--text) 9%, var(--panel)); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); z-index: 2; }
html.reduce-motion .ip-full, html.reduce-motion .ip-body, html.reduce-motion .ip-ck { animation: none !important; transition: none !important; }
/* INTERESTS-END */

/* IDV-GATE-BEGIN (Faz 17) — yönetici kimlik doğrulaması isteyince tam ekran uyarı */
.idv-gate { position: fixed; inset: 0; z-index: 140; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: calc(env(safe-area-inset-top, 0px) + 20px) 20px calc(env(safe-area-inset-bottom, 0px) + 20px); overflow-y: auto; animation: imFull .32s var(--ios-ease, ease); }
.idv-in { width: 100%; max-width: 440px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.idv-ic { width: 76px; height: 76px; margin: 0 auto 4px; border-radius: 22px; background: linear-gradient(135deg, #ff9f0a, #ff6a00); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(255, 140, 0, .35); }
.idv-ic .ic { width: 40px; height: 40px; stroke: #fff; opacity: 1; }
.idv-in h2 { margin: 6px 0 0; font-size: 26px; letter-spacing: -.02em; }
.idv-in p { margin: 0; line-height: 1.5; }
.idv-why { font-size: 16.5px; }
.idv-until { font-weight: 650; color: var(--accent-2); }
.idv-until.over { color: var(--danger); }
.idv-note { color: var(--muted); font-size: 13.5px; }
.idv-in .btn { padding: 14px; font-size: 16.5px; border-radius: 14px; }
.idv-out { opacity: .8; }
html.reduce-motion .idv-gate { animation: none !important; }
/* IDV-GATE-END */

/* LANDING-COVER (Faz 17): herkese açık grup/topluluk sayfasında kapak ve kurallar */
.lc-cover { margin: -26px -26px 18px; height: 170px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); background-size: cover; background-position: center; }
.lc-rules { margin: 12px 0; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.lc-rules summary { cursor: pointer; font-weight: 650; }
.lc-rules p { margin: 8px 0 2px; }

/* GROUPS-PAGE-BEGIN (Faz 17) — grup / kanal / topluluk: tam ekran bilgi ve yönetim sayfaları */
.gp { position: fixed; inset: 0; z-index: 88; background: var(--bg); color: var(--text); opacity: 0; transition: opacity .18s ease; overflow: hidden; }
.gp.in { opacity: 1; }
html.gp-open, html.gp-open body { overflow: hidden; }
.gp-screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1), filter .3s; will-change: transform; }
.gp-screen.first { transform: none; }
.gp-screen.in { transform: none; }
.gp-screen.under { transform: translateX(-22%); filter: brightness(.94); pointer-events: none; }
.gp-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: calc(env(safe-area-inset-top, 0px) + 8px) 10px 8px; min-height: 54px; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border-bottom: .5px solid var(--border); position: relative; z-index: 2; }
.gp-nav { display: inline-flex; align-items: center; justify-content: flex-start; gap: 2px; min-width: 70px; height: 40px; padding: 0 10px; border: 0; background: transparent; color: var(--accent-2); font: inherit; font-weight: 600; border-radius: 12px; cursor: pointer; }
.gp-nav:hover { background: var(--panel-2); }
.gp-nav .ic { width: 22px; height: 22px; }
.gp-nav.ph { pointer-events: none; }
:where([data-theme="siyah"], [data-theme="ozel-koyu"]) .gp-nav { color: var(--accent); }
.gp-title { flex: 1; text-align: center; font-size: 17px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 48px); }
.gp-in { max-width: 720px; margin: 0 auto; }
.gp-hero { position: relative; margin-bottom: 6px; }
.gp-cover { position: relative; height: clamp(130px, 30vw, 230px); background: linear-gradient(135deg, var(--gc, var(--accent)), color-mix(in srgb, var(--gc, var(--accent)) 55%, #000)); overflow: hidden; }
.gp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 821px) { .gp-cover { border-radius: 0 0 24px 24px; } }
.gp-hero-in { position: relative; padding: 0 18px; text-align: center; margin-top: -50px; }
.gp-av { display: inline-block; line-height: 0; border-radius: 50%; border: 4px solid var(--bg); background: var(--bg); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.gp-hero h2 { margin: 8px 0 2px; font-size: 24px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.gp-sub { color: var(--muted); font-size: 14px; }
.gp-qa { display: flex; gap: 10px; padding: 14px 16px 2px; }
.gp-qa-b { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 4px; border: .5px solid var(--border); border-radius: 14px; background: var(--panel); color: var(--accent-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.gp-qa-b:active { background: var(--panel-2); }
.gp-qa-b .ic { width: 23px; height: 23px; }
.gp-qa-b span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where([data-theme="siyah"], [data-theme="ozel-koyu"]) .gp-qa-b { color: var(--accent); }
.gp-sec { margin: 20px 16px 0; }
.gp-sec-h { font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 0 14px 6px; }
.gp-sec-f { font-size: 12.5px; color: var(--muted); padding: 7px 14px 0; line-height: 1.4; }
.gp-card { background: var(--panel); border: .5px solid var(--border); border-radius: 14px; overflow: hidden; }
.gp-card > * + * { border-top: .5px solid var(--border); }
.gp-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; min-height: 50px; background: transparent; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
button.gp-row:active, label.gp-row:active { background: var(--panel-2); }
div.gp-row { cursor: default; }
.gp-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; }
.gp-ic .ic { width: 18px; height: 18px; stroke: #fff; }
.gp-lb { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gp-lb b { font-weight: 560; overflow-wrap: anywhere; }
.gp-lb small { color: var(--muted); font-size: 12.5px; margin-top: 1px; line-height: 1.35; }
.gp-val { color: var(--muted); font-variant-numeric: tabular-nums; }
.gp-chev { width: 18px; height: 18px; color: var(--muted); flex: none; opacity: .7; }
.gp-row.danger .gp-lb b { color: var(--danger); }
.gp-row.danger .gp-ic { background: var(--danger); }
.gp-row.danger > .ic { color: var(--danger); }
.gp-row select { max-width: 52%; font: inherit; border: 0; background: var(--panel-2); border-radius: 9px; padding: 7px 8px; color: var(--text); }
.gp-row.dis { opacity: .55; pointer-events: none; }
.gp-text { padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.gp-pad { padding: 12px 14px; }
.gp-empty { padding: 26px 14px; text-align: center; color: var(--muted); }
.gp-cat { padding: 8px 14px 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--panel-2); }
.gp-sw { position: relative; flex: none; width: 51px; height: 31px; }
.gp-sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.gp-sw i { position: absolute; inset: 0; border-radius: 999px; background: color-mix(in srgb, var(--muted) 36%, var(--panel)); transition: background .2s; }
.gp-sw i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .28); transition: transform .2s; }
.gp-sw input:checked + i { background: var(--accent); }
.gp-sw input:checked + i::after { transform: translateX(20px); }
.gp-sw input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.gp-field { display: block; position: relative; padding: 10px 14px 11px; }
.gp-field > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.gp-field input, .gp-field textarea { display: block; width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--text); font: inherit; padding: 2px 0; outline: none; resize: vertical; }
.gp-field input:disabled { opacity: .6; }
.gp-field small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.35; }
.gp-cnt { position: absolute; right: 14px; top: 10px; font-size: 11.5px; color: var(--muted); font-style: normal; }
.gp-ied { display: flex; gap: 14px; align-items: center; padding: 12px 14px; transition: opacity .15s; }
.gp-ied.busy { opacity: .5; pointer-events: none; }
.gp-ied-prev { flex: none; width: 78px; height: 78px; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--panel-2); border: .5px solid var(--border); }
.gp-ied-prev.wide { width: 138px; height: 46px; border-radius: 10px; }
.gp-ied-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-ied-ph { color: var(--muted); line-height: 0; }
.gp-ied-ph .ic { width: 26px; height: 26px; }
.gp-ied-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gp-ied-b small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.gp-ied label.btn { cursor: pointer; }
.gp-file { display: none !important; }
.gp-user { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; }
.gp-user:active { background: var(--panel-2); }
.gp-user-b { flex: 1; min-width: 0; }
.gp-user-n { display: flex; align-items: center; gap: 4px; font-weight: 560; }
.gp-user-b small { color: var(--muted); }
.gp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px; }
@media (min-width: 560px) { .gp-stats { grid-template-columns: repeat(3, 1fr); } }
.gp-stat { display: flex; flex-direction: column; padding: 14px; background: var(--panel); border: .5px solid var(--border); border-radius: 14px; }
.gp-stat b { font-size: 28px; letter-spacing: -.02em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.gp-stat span { color: var(--muted); font-size: 13px; }
.gp-copy, .gp-add { display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
.gp-copy input, .gp-add input { flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--text); background: var(--panel-2); border: .5px solid var(--border); border-radius: 10px; padding: 8px 10px; outline: none; }
.gp-inv { padding-bottom: 4px; }
.gp-inv-m { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 14px 6px; }
.gp-inv-m small, .gp-log small { color: var(--muted); }
.gp-log { padding: 10px 14px; }
.gp-log-t { overflow-wrap: anywhere; line-height: 1.4; }
.gp-ch { display: flex; align-items: center; gap: 2px; padding-right: 8px; }
.gp-ch-n { flex: 1; min-width: 0; display: flex; flex-direction: column; text-align: left; padding: 9px 14px; background: transparent; border: 0; color: inherit; font: inherit; cursor: pointer; }
.gp-ch-n small { color: var(--muted); }
.gp-ch .icon-btn:disabled { opacity: .3; }
html.reduce-motion .gp, html.reduce-motion .gp-screen { transition: none !important; }
.com-cover { height: 78px; overflow: hidden; border-bottom: .5px solid var(--border); }
.com-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* GROUPS-PAGE-END */

/* ---------- Faz 18: şeker eşleştirme, blok bulmaca, sıralamalar, turnuvalar */
.g-end { position: absolute; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 6; background: rgba(255, 255, 255, .14) !important; color: #fff !important; border: 0 !important; padding: 8px 22px; } .g-end:hover { background: rgba(255, 255, 255, .24) !important; }
.g-ranks { display: flex; gap: 8px; justify-content: center; width: 100%; }
.g-rk { flex: 1; max-width: 104px; display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border-radius: 12px; background: var(--soft); } .g-rk small { color: var(--muted); font-size: 11.5px; } .g-rk b { font-size: 18px; color: var(--accent-2); }
.g-consent { width: 100%; padding: 10px 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); text-align: left; display: flex; flex-direction: column; gap: 6px; } .g-consent p { margin: 0; } .g-consent .g-actions { justify-content: flex-start; margin: 2px 0 0; }
.g-consent-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .g-consent-row .linklike { color: var(--accent-2); }
.g-actions.left { justify-content: flex-start; }
.gpick-row { display: flex; align-items: stretch; gap: 8px; } .gpick-row .gpick-it { flex: 1; min-width: 0; }
.gpick-lb { flex: none; width: 46px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-2); color: #d97706; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .gpick-lb:hover { background: var(--soft); } .gpick-lb .ic { width: 22px; height: 22px; }
.gpick-bar { display: flex; gap: 8px; flex-wrap: wrap; } .gpick-bar .btn { flex: 1; min-width: 130px; }
.gpick-ic.g-match3 { background: linear-gradient(135deg, #ec4899, #7c3aed); } .gpick-ic.g-blocks { background: linear-gradient(135deg, #3b82f6, #14b8a6); }
.gpick-ic.sm { width: 38px; height: 38px; border-radius: 11px; }
.lb { display: flex; flex-direction: column; gap: 10px; }
.lb-games { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; } .lb-games::-webkit-scrollbar { display: none; }
.lb-g { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; } .lb-g.on { background: var(--accent); color: var(--accent-fg); border-color: transparent; font-weight: 600; } .lb-g .ic { width: 16px; height: 16px; }
.lb-per { margin-bottom: 0; }
.lb-info { text-align: center; }
.lb-list { display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.lb-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 10px; color: var(--muted); } .lb-empty p { margin: 0; }
.lb-pod { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 6px 0 0; }
.pd { flex: 1; max-width: 120px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.pd-av { position: relative; } .pd-1 .pd-av::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid #f59e0b; pointer-events: none; } .pd-2 .pd-av::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #94a3b8; pointer-events: none; } .pd-3 .pd-av::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #c2793b; pointer-events: none; }
.pd-nm { font-size: 13px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; } .pd.me .pd-nm { color: var(--accent-2); }
.pd-sc { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pd-bar { width: 100%; border-radius: 10px 10px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 4px; color: #fff; font-weight: 800; } .pd-1 .pd-bar { height: 62px; background: linear-gradient(180deg, #fbbf24, #d97706); } .pd-2 .pd-bar { height: 44px; background: linear-gradient(180deg, #cbd5e1, #64748b); } .pd-3 .pd-bar { height: 32px; background: linear-gradient(180deg, #e0a064, #9a5b24); }
.lb-rest { display: flex; flex-direction: column; gap: 2px; }
.lb-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; } .lb-row.me { background: var(--soft); } .lb-row.tap { cursor: pointer; } .lb-row.tap:hover { background: var(--panel-2); }
.lb-rk { flex: none; width: 24px; text-align: center; font-weight: 700; color: var(--muted); } .lb-rk .ic { width: 20px; height: 20px; } .lb-rk.m1 { color: #f59e0b; } .lb-rk.m2 { color: #94a3b8; } .lb-rk.m3 { color: #c2793b; }
.lb-anon { flex: none; border-radius: 50%; background: var(--panel-2); border: 1px dashed var(--border); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; } .lb-anon .ic { width: 55%; height: 55%; }
.lb-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; } .lb-nm .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lb-row.masked .nm { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; color: var(--muted); font-weight: 500; } .lb-nm small { font-size: 11.5px; }
.lb-sc { font-variant-numeric: tabular-nums; }
.lb-me { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--soft); font-weight: 600; font-size: 14px; } .lb-me.muted { background: var(--panel-2); font-weight: 400; } .lb-me .ic { width: 16px; height: 16px; }
.lb-foot { display: flex; flex-direction: column; gap: 8px; } .lb-foot p { margin: 0; }
.tr-list { display: flex; flex-direction: column; gap: 10px; }
.tr-card { border: 1px solid var(--border); border-radius: 16px; padding: 12px; background: var(--panel-2); display: flex; flex-direction: column; gap: 6px; } .tr-card.tr-active { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); } .tr-card.tr-done { opacity: .85; } .tr-card p { margin: 0; }
.tr-h { display: flex; align-items: center; gap: 10px; } .tr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .tr-t b { overflow: hidden; text-overflow: ellipsis; }
.tr-chip { flex: none; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); color: var(--muted); } .tr-active .tr-chip { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
.tr-pz { font-size: 13.5px; font-weight: 600; color: #b45309; } :where([data-theme="siyah"], [data-theme="ozel-koyu"]) .tr-pz { color: #fbbf24; }
.tr-me { font-size: 13px; font-weight: 600; color: var(--accent-2); }
.lb-per button { white-space: nowrap; padding: 8px 4px; font-size: 14px; }

/* ---- Satranç (Faz 19): tahta, taşlar, oyun ekranı, lobi, sohbet balonu ---- */
.ch-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ch-board { --ch-l: #e8f5f2; --ch-d: #3fa597; position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); cursor: default; }
.ch-sqs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); }
.ch-s { position: relative; } .ch-s.l { background: var(--ch-l); } .ch-s.d { background: var(--ch-d); }
.ch-s i { position: absolute; font-style: normal; font-size: clamp(8px, 1.9vmin, 12px); font-weight: 700; line-height: 1; pointer-events: none; }
.ch-s.l i { color: var(--ch-d); } .ch-s.d i { color: var(--ch-l); }
.ch-s .rk { top: 3px; left: 3px; } .ch-s .fl { right: 3px; bottom: 3px; }
.ch-hls, .ch-pcs { position: absolute; inset: 0; pointer-events: none; }
.ch-hl { position: absolute; left: 0; top: 0; width: 12.5%; height: 12.5%; }
.ch-hl.last { background: rgba(250, 204, 21, .42); }
.ch-hl.sel { background: rgba(250, 204, 21, .6); }
.ch-hl.chk { background: radial-gradient(circle, rgba(239, 68, 68, .9) 0%, rgba(239, 68, 68, .55) 45%, rgba(239, 68, 68, 0) 75%); }
.ch-hl.dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; margin: -15% 0 0 -15%; border-radius: 50%; background: rgba(15, 40, 45, .32); }
.ch-hl.cap::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 5px solid rgba(15, 40, 45, .32); box-sizing: border-box; }
.ch-p { position: absolute; left: 0; top: 0; width: 12.5%; height: 12.5%; transition: transform .17s ease, opacity .2s ease; will-change: transform; }
.ch-p.in, .ch-p.out { opacity: 0; } .ch-p.drag { opacity: .3; }
.ch-pcs.noanim .ch-p { transition: none; }
.ch-pc { display: block; width: 100%; height: 100%; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; overflow: visible; }
.ch-pc use { fill: var(--f); stroke: var(--s); }
.ch-pc.w { --f: #fffdf5; --s: #14303a; --d: #14303a; } .ch-pc.b { --f: #2d4249; --s: #071012; --d: #a7bfc4; }
.cdt { fill: none; stroke: var(--d); } .cey { fill: var(--s); stroke: none; }
.ch-ghost { position: absolute; z-index: 5; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); transform: scale(1.15); }
.ch-promo { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(8, 20, 24, .78); touch-action: auto; }
.ch-promo-t { font-weight: 700; color: #fff; } .ch-promo-r { display: flex; gap: 8px; }
.ch-promo-b { width: 18vmin; max-width: 86px; min-width: 56px; padding: 4px 2px 6px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .92); color: #14303a; font: inherit; font-size: 12px; font-weight: 600; display: flex; flex-direction: column; align-items: center; cursor: pointer; } .ch-promo-b:hover { background: #fff; } .ch-promo-b .ch-pc { width: 100%; aspect-ratio: 1; height: auto; }
.ch-promo .linklike { color: #cfe3e6; }

.ch-ov { position: fixed; inset: 0; z-index: 80; background: #0b1114; color: #fff; display: flex; flex-direction: column; user-select: none; -webkit-user-select: none; }
.ch-ov .muted { color: #9fb4bc; }
.ch-top { display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 10px 6px; }
.ch-title { flex: 1; text-align: center; font-size: 14px; opacity: .85; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-btn.off { opacity: .45; }
.ch-body { --bs: min(100vw - 16px, max(260px, 100dvh - 372px), 620px); flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 8px calc(14px + env(safe-area-inset-bottom)); }
.ch-bw, .ch-pl, .ch-banner, .ch-moves, .ch-acts, .ch-drawq { width: var(--bs); flex: none; }
.ch-pl { display: flex; align-items: center; gap: 10px; padding: 2px 4px; border-radius: 12px; border: 1px solid transparent; } .ch-pl.turn { border-color: rgba(45, 212, 191, .55); background: rgba(45, 212, 191, .08); }
.ch-pl .av { border-radius: 50%; }
.ch-av { width: 38px; height: 38px; border-radius: 50%; background: #1e3a40; display: inline-flex; align-items: center; justify-content: center; color: #9fe9df; flex: none; } .ch-av .ic { width: 22px; height: 22px; } .ch-av.bot { background: linear-gradient(135deg, #0d9488, #134e4a); color: #fff; }
.ch-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ch-nm { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-sub { font-size: 12px; display: flex; align-items: center; gap: 2px; }
.ch-sd { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #14303a; margin-right: 3px; } .ch-sd.w { background: #fffdf5; } .ch-sd.b { background: #2d4249; border-color: #a7bfc4; }
.ch-cap { display: flex; align-items: center; min-height: 14px; flex-wrap: wrap; } .ch-cap .ch-pc { width: 14px; height: 14px; margin-right: -4px; } .ch-cap b { font-size: 11.5px; margin-left: 8px; color: #9fe9df; }
.ch-clk { flex: none; min-width: 74px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 20px; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); } .ch-clk[hidden] { display: none; }
.ch-clk.run { background: #fff; color: #0b1114; } .ch-clk.low { color: #ff8a8d; } .ch-clk.run.low { background: #e5484d; color: #fff; }
.ch-banner { text-align: center; font-weight: 700; font-size: 14px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); } .ch-banner.my { background: rgba(45, 212, 191, .2); color: #7ff0df; } .ch-banner.think { color: #fcd34d; } .ch-banner.done { background: rgba(255, 255, 255, .14); }
.ch-moves { display: flex; align-items: center; gap: 4px 6px; overflow-x: auto; white-space: nowrap; padding: 6px 4px; scrollbar-width: none; min-height: 34px; } .ch-moves::-webkit-scrollbar { display: none; }
.ch-moves .mn { color: #7d949c; font-size: 12.5px; margin-left: 4px; } .ch-moves .mv { font-size: 13.5px; font-weight: 600; padding: 2px 6px; border-radius: 6px; } .ch-moves .mv.cur { background: rgba(45, 212, 191, .22); color: #7ff0df; }
.ch-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ch-body .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .28); } .ch-body .btn.ghost:hover { background: rgba(255, 255, 255, .12); } .ch-body .btn.ghost.danger { color: #ff9a9d; border-color: rgba(255, 138, 141, .45); }
.ch-drawq { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 8px 10px; border-radius: 12px; background: rgba(250, 204, 21, .14); font-size: 14px; } .ch-drawq[hidden] { display: none; }
.ch-res { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 12, 15, .72); overflow-y: auto; touch-action: pan-y; } .ch-res[hidden] { display: none; }
.ch-card .ch-rico { width: 64px; height: 64px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #64748b, #334155); } .ch-card .ch-rico .ic { width: 34px; height: 34px; }
.ch-card.t-w .ch-rico { background: linear-gradient(135deg, #f59e0b, #16a34a); } .ch-card.t-l .ch-rico { background: linear-gradient(135deg, #f87171, #b91c1c); } .ch-card.t-d .ch-rico { background: linear-gradient(135deg, #14b8a6, #0369a1); }
.ch-elo { display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--panel-2); font-size: 15px; } .ch-elo b { font-size: 18px; font-variant-numeric: tabular-nums; } .ch-elo .dl { font-weight: 800; } .ch-elo.up .dl { color: var(--ok); } .ch-elo.dn .dl { color: var(--danger); }
.ch-card .btn.ghost { color: var(--text); }

.ch-lobby { display: flex; flex-direction: column; gap: 10px; } .ch-lobby h4 { margin: 4px 0 0; }
.ch-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--panel-2); }
.ch-hico { width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #0d9488, #134e4a); flex: none; }
.ch-hx { flex: 1; display: flex; flex-direction: column; } .ch-hx b { font-size: 17px; }
.ch-mine { display: flex; flex-direction: column; gap: 6px; }
.ch-mrow { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--panel-2); } .ch-mt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ch-mt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-turn { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, var(--panel)); color: var(--accent-2); }
.ch-sec { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); } .ch-sec h4, .ch-sec p { margin: 0; }
.ch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; } .ch-chip.on { background: var(--accent); color: var(--accent-fg); border-color: transparent; font-weight: 700; }
.ch-lvs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch-lvb { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; cursor: pointer; text-align: center; } .ch-lvb:hover { border-color: var(--accent); } .ch-lvb .ic { color: var(--accent-2); } .ch-lvb small { font-size: 11.5px; line-height: 1.25; }
.ch-search { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0; text-align: center; } .ch-search p { margin: 0; }
.ch-spin { color: var(--accent-2); animation: chPulse 1.4s ease-in-out infinite; } @keyframes chPulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
.ch-secs { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ch-botbox { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: var(--panel-2); } .ch-botbox[hidden] { display: none; } .ch-lv { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.gpick-ic.g-chess { background: linear-gradient(135deg, #0d9488, #134e4a); }
.bubble.b-chess { min-width: min(240px, 74vw); max-width: min(320px, 86vw); } .bubble.b-chess > .b-text { display: none; }
.chm { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.chm-tag { font-size: 11.5px; font-weight: 700; color: #0d9488; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 5px; } .chm-tag .ic { width: 14px; height: 14px; }
.chm-b { display: flex; gap: 8px; flex-wrap: wrap; }
.ch-av.wait { background: rgba(255, 255, 255, .06); border: 1.5px dashed #4fb3a8; animation: chPulse 1.4s ease-in-out infinite; } .ch-banner.wait { color: #9fe9df; }
.chm-t { font-size: 15.5px; font-weight: 800; } .chm-s, .chm-w { font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .ch-p { transition: none; } .ch-spin, .ch-av.wait { animation: none; } }
.ch-res .muted, .ch-card .muted { color: var(--muted); }

/* ---- Satranç · maç içi sohbet / sesli konuşma / hediye (Faz 19.1) */
.ch-aud { display: none; }
.ch-live { width: var(--bs); flex: none; display: flex; flex-direction: column; gap: 6px; } .ch-live[hidden] { display: none; }
.ch-body.has-live { --bs: min(100vw - 16px, max(240px, 100dvh - 436px), 620px); }
.ch-lr { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; }
.ch-lb { position: relative; flex: none; flex-direction: row; height: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .07); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ch-lb:hover { background: rgba(255, 255, 255, .14); } .ch-lb .ic { width: 18px; height: 18px; }
.ch-lb.on { background: rgba(45, 212, 191, .2); border-color: rgba(45, 212, 191, .7); }
.ch-lb.mic.on { background: rgba(34, 197, 94, .22); border-color: rgba(34, 197, 94, .8); } .ch-lb.mic.off { background: rgba(239, 68, 68, .2); border-color: rgba(248, 113, 113, .8); color: #fecaca; }
.ch-lb.mic.wait { background: rgba(250, 204, 21, .16); border-color: rgba(250, 204, 21, .6); } .ch-lb.mic.dis { opacity: .5; }
.ch-lb.end { background: rgba(239, 68, 68, .85); border-color: transparent; } .ch-lb.gift .ic { color: #f9a8d4; }
.ch-bdg { position: absolute; top: -5px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #ef4444; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ch-vst { text-align: center; font-size: 12.5px; color: #9fe9df; } .ch-vst[hidden] { display: none; }
.ch-vreq { width: var(--bs); flex: none; box-sizing: border-box; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 9px 12px; border-radius: 12px; background: rgba(45, 212, 191, .14); border: 1px solid rgba(45, 212, 191, .45); font-size: 13.5px; } .ch-vreq[hidden] { display: none; }
.ch-vreq > span { flex: 1 1 100%; text-align: center; }
.ch-chat { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; flex-direction: column; max-height: min(58%, 400px); min-height: 250px; background: #10222a; border-top: 1px solid rgba(255, 255, 255, .16); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .5); padding-bottom: env(safe-area-inset-bottom); animation: chUp .16s ease-out; user-select: text; -webkit-user-select: text; }
@keyframes chUp { from { transform: translateY(24px); opacity: .5; } }
.ch-chat .ch-ch { display: flex; align-items: center; gap: 10px; padding: 10px 12px 6px; } .ch-chat .ch-ch b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.ch-chat .ch-ct-off { color: #9fe9df; font-size: 12.5px; } .ch-chat .ch-ct-off[hidden] { display: none; }
.ch-chat .ch-cx { width: 32px; height: 32px; }
.ch-ml { flex: 1; min-height: 70px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; display: flex; flex-direction: column; gap: 5px; padding: 4px 12px 6px; }
.ch-ms { max-width: 82%; padding: 7px 11px; border-radius: 14px; font-size: 14.5px; line-height: 1.3; word-break: break-word; }
.ch-ms.me { align-self: flex-end; background: #0d9488; color: #fff; border-bottom-right-radius: 4px; } .ch-ms.op { align-self: flex-start; background: #24393f; color: #f1f5f9; border-bottom-left-radius: 4px; }
.ch-ms.sys { align-self: center; max-width: 100%; background: none; color: #8fa6ad; font-size: 12px; padding: 2px 6px; text-align: center; }
.ch-ms.gift { align-self: center; display: flex; align-items: center; gap: 8px; background: rgba(236, 72, 153, .16); border: 1px solid rgba(244, 114, 182, .4); color: #fbcfe8; font-size: 13.5px; } .ch-ms.gift .ge { font-size: 26px; line-height: 1; } .ch-ms.gift img.gimg.ge { width: 32px; height: 32px; margin: 0; }
.ch-mnote { padding: 2px 14px 4px; font-size: 12.5px; color: #fcd34d; text-align: center; } .ch-mnote[hidden] { display: none; }
.ch-qk { display: flex; gap: 6px; overflow-x: auto; padding: 4px 12px 6px; scrollbar-width: none; touch-action: pan-x; } .ch-qk::-webkit-scrollbar { display: none; }
.ch-qb { flex: none; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #e2f4f1; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.ch-ci { display: flex; gap: 8px; padding: 4px 12px 12px; } .ch-ci input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 16px; outline: none; } .ch-ci input:focus { border-color: #2dd4bf; }
.ch-send { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: #0d9488; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .ch-send:disabled { opacity: .45; }
.ch-chat.off .ch-qb { opacity: .45; }
@media (prefers-reduced-motion: reduce) { .ch-chat { animation: none; } }

/* ---- Faz 21: Yönetim paneli düzeni, arama, bakım modu */
.hide-sm { display: inline; } @media (max-width: 560px) { .hide-sm { display: none; } }
.mnt-bar { position: fixed; top: 8px; left: 50%; transform: translateX(-50%); z-index: 9999; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #facc15; color: #422006; font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); white-space: nowrap; max-width: 94vw; overflow: hidden; text-overflow: ellipsis; }
.mnt-bar a { color: #422006; text-decoration: underline; }
.mnt-adm { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 7px 14px; background: #facc15; color: #422006; font-size: 13.5px; position: sticky; top: 56px; z-index: 19; }
.mnt-adm a { color: #422006; text-decoration: underline; font-weight: 700; }
.card.mnt-on { border: 2px solid #facc15; background: color-mix(in srgb, #facc15 14%, var(--panel)); }
.adm-top { gap: 12px; }
.adm-search { flex: 1; max-width: 460px; position: relative; display: flex; align-items: center; }
.adm-search input { width: 100%; padding: 9px 12px 9px 36px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 14px; }
.adm-search input:focus { outline: 2px solid var(--accent); background: var(--panel); }
.adm-search-ic { position: absolute; left: 11px; color: var(--muted); display: inline-flex; pointer-events: none; } .adm-search-ic .ic { width: 17px; height: 17px; }
.adm-nav { max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.adm-nav .adm-nf { width: 100%; box-sizing: border-box; margin: 0 0 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 13.5px; }
.adm-nav .nav-group { width: 100%; }
.adm-nav .nav-group > summary { font-size: 13.5px; }
.adm-nav .nav-group .adm-gic { display: inline-flex; width: 22px; justify-content: center; color: var(--accent-2); flex: none; } .adm-nav .nav-group .adm-gic .ic { width: 18px; height: 18px; }
.adm-nav .nav-group > a { display: flex; align-items: center; gap: 8px; } .adm-nav .nav-group > a .count { margin-left: auto; }
.adm-nav .nav-group > summary .count { margin-left: 4px; }
.adm-nav a.adm-solo { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none !important; font-weight: 600; font-size: 13.5px; }
.adm-nav a.adm-solo:hover { background: var(--panel-2); } .adm-nav a.adm-solo.active { background: var(--soft); color: var(--accent-2); }
.adm-nav [hidden] { display: none !important; }
@media (max-width: 860px) { .adm-nav { max-height: none; display: block; } .adm-nav .nav-group { margin-bottom: 2px; } .adm-search { max-width: none; } .mnt-adm { top: 52px; } }
.adm-res h3 { margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; } .adm-res h3 .count { background: var(--accent); }
.adm-res .r-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); margin-bottom: 6px; text-decoration: none !important; color: var(--text); }
.adm-res .r-row:hover { background: var(--panel-2); }
.adm-res .r-row .r-t { flex: 1; min-width: 0; } .adm-res .r-row .r-t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .adm-res .r-row .r-t span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-res .r-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; } .adm-res .r-ic img { width: 100%; height: 100%; object-fit: cover; } .adm-res .r-ic .ic { width: 19px; height: 19px; }
.adm-res mark { background: color-mix(in srgb, #facc15 55%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
/* Faz 21: kullanıcı listesi ve kullanıcı yönetim sayfası */
.adm-av { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--soft); color: var(--accent-2); align-items: center; justify-content: center; font-weight: 700; font-size: 13px; text-decoration: none !important; }
.adm-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-uhead { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--panel); margin-bottom: 10px; }
.adm-ubanner { height: 110px; background: linear-gradient(135deg, var(--accent), var(--accent-2)) center/cover no-repeat; }
.adm-ubar { display: flex; align-items: center; gap: 14px; padding: 0 16px 14px; margin-top: -34px; }
.adm-uav { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 4px solid var(--panel); background: var(--soft); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.adm-uav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-uname { min-width: 0; padding-top: 38px; } .adm-uname h1 { font-size: 20px; overflow-wrap: anywhere; }
.adm-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; position: sticky; top: 56px; z-index: 18; padding: 6px 0; background: var(--bg); }
.adm-jump a { padding: 5px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); color: var(--text); font-size: 13px; text-decoration: none !important; font-weight: 600; }
.adm-jump a:hover { background: var(--soft); color: var(--accent-2); }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.adm-tile { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: var(--panel-2); display: flex; flex-direction: column; gap: 2px; }
.adm-tile b { font-size: 20px; color: var(--accent-2); } .adm-tile span { font-size: 12.5px; color: var(--muted); }
.adm-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } @media (max-width: 760px) { .adm-imgs { grid-template-columns: 1fr; } }
.adm-imgbox h4 { margin: 0 0 8px; }
.adm-bigav { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid var(--border); background: var(--soft); }
.adm-bigav.ph { display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; color: var(--accent-2); }
.adm-bigbn { width: 100%; max-width: 420px; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 12px; display: block; border: 1px solid var(--border); background: var(--soft); }
.adm-bigbn.ph { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.adm-bigav[hidden], .adm-bigbn[hidden] { display: none; }
.adm-presets { max-height: 260px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; margin: 8px 0; }
.adm-presets h5 { margin: 8px 0 6px; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.adm-pgrid { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-pgrid label { position: relative; cursor: pointer; border-radius: 50%; border: 3px solid transparent; display: inline-flex; }
.adm-pgrid label input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.adm-pgrid label img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.adm-pgrid label.on { border-color: var(--accent); } .adm-pgrid label:focus-within { outline: 2px solid var(--accent-2); outline-offset: 1px; }

.tbl td.nw, .tbl th.nw { white-space: nowrap; } .adm-users td:nth-child(2) { min-width: 150px; }
.adm-quick { padding: 12px; margin-bottom: 14px; align-items: center; } .adm-quick input { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; }
/* Faz 21: dar ekranda yönetim menüsü açılır/kapanır */
.adm-navbtn { display: none; }
@media (max-width: 860px) {
  .adm-navbtn { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; padding: 11px 14px; margin-bottom: 4px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
  .adm-navbtn small { color: var(--muted); font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .adm-navbtn .ic { width: 20px; height: 20px; } .adm-navbtn .chev { margin-left: auto; line-height: 0; color: var(--muted); transition: transform .15s; }
  .adm-navbtn[aria-expanded="true"] .chev { transform: rotate(90deg); }
  .adm-nav:not(.show) { display: none; }
  .adm-nav.show { margin-bottom: 8px; }
}

/* ===================================================================== Faz 22: Haberler | Akış sekmeleri, Yusmu Haber, Günün sorusu, Tanış */
.fd-seg { position: sticky; top: 0; z-index: 6; display: flex; gap: 6px; height: 46px; padding: 6px 10px; background: var(--panel); border-bottom: 1px solid var(--border); }
.fd-seg[hidden] { display: none; }
.fd-segb { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); border-radius: 10px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; position: relative; }
.fd-segb.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.fd-segb .ic { width: 17px; height: 17px; }
.fd-segn { min-width: 18px; padding: 0 5px; height: 18px; line-height: 18px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.fd-seg:not([hidden]) + .fd-body .fd-chips, .fd-seg:not([hidden]) + .fd-body .fd-sub { top: 46px; }
.fd-seg:not([hidden]) + .fd-body .fd-newbar { top: 104px; }
.fd-body { display: block; }

/* Haber listesi */
.nw-head { background: var(--panel); }
.nw-liveBar { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; background: #dc2626; color: #fff; font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.nw-liveBar b { flex: 0 0 auto; letter-spacing: .04em; font-size: 12px; background: rgba(255, 255, 255, .22); padding: 2px 8px; border-radius: 999px; }
.nw-liveBar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-liveBar .ic { flex: 0 0 auto; }
.nw-notify { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--panel); cursor: pointer; }
.nw-notify.on { background: var(--soft); }
.nw-nic { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--panel-2); color: var(--muted); }
.nw-notify.on .nw-nic { background: #dc2626; color: #fff; }
.nw-ntx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; } .nw-ntx small { font-size: 12.5px; }
.nw-chips { top: 0; }
.nw-list { display: block; }
.nw-card { display: block; background: var(--panel); border-bottom: 1px solid var(--border); cursor: pointer; overflow: hidden; }
.nw-card:hover { background: var(--panel-2); }
.nw-card.live { box-shadow: inset 4px 0 0 #dc2626; }
.nw-img { display: block; width: 100%; max-height: 220px; object-fit: cover; background: var(--panel-2); }
.nw-cb { padding: 11px 14px 12px; }
.nw-pin { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.nw-t { margin: 0 0 4px; font-size: 16.5px; line-height: 1.3; }
.nw-s { margin: 0 0 8px; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nw-tag { padding: 1px 9px; border-radius: 999px; background: var(--soft); color: var(--accent-2); font-size: 12px; font-weight: 700; }
[data-theme="siyah"] .nw-tag, [data-theme="ozel-koyu"] .nw-tag { color: var(--accent); }
.nw-live { padding: 1px 8px; border-radius: 6px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.nw-stat { display: inline-flex; align-items: center; gap: 3px; }
.nw-stat .ic { width: 14px; height: 14px; vertical-align: -2px; }
/* haber ayrıntısı */
.nw-dscroll { background: var(--panel); }
.nw-hero { display: block; width: 100%; max-height: 360px; object-fit: cover; cursor: zoom-in; }
.nw-ab { padding: 14px 18px 30px; }
.nw-h1 { font-size: 24px; line-height: 1.25; margin: 10px 0 8px; }
.nw-lead { font-size: 16.5px; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.nw-body p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.nw-src { margin: 4px 0 10px; } .nw-views { margin: 6px 0 12px; display: flex; align-items: center; gap: 4px; }
.nw-acts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
/* sohbette haber kartı (@sondakika ve paylaşımlar) */
.nw-bub { max-width: min(380px, 86%); }
.nw-sc { display: block; margin: -4px -6px 2px; border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--border); cursor: pointer; text-align: left; }
.nw-sc-img { display: block; width: 100%; max-height: 190px; object-fit: cover; }
.nw-sc-b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nw-sc-h { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.nw-sc-h.live { color: #dc2626; }
.nw-sc-t { font-weight: 700; line-height: 1.3; color: var(--text); }
.nw-sc-go { pointer-events: none; }

/* Günün sorusu + Tanış */
.so-box { background: var(--panel); border-top: 1px solid var(--border); }
.so-box[hidden] { display: none; }
.so-q { margin: 10px 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--panel)), var(--soft)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); }
.so-q-in { margin: 0; }
.so-q-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-2); }
[data-theme="siyah"] .so-q-h, [data-theme="ozel-koyu"] .so-q-h { color: var(--accent); }
.so-q-t { margin: 6px 0 10px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.so-q-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.so-done { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; font-size: 14px; }
.so-meet { padding: 8px 0 12px; border-top: 1px solid var(--border); }
.so-meet-h { display: flex; align-items: center; gap: 8px; padding: 4px 14px 8px; } .so-meet-h b { display: inline-flex; align-items: center; gap: 5px; }
.so-meet-off { margin-left: auto; color: var(--muted); }
.so-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 14px 4px; scrollbar-width: none; scroll-snap-type: x proximity; } .so-row::-webkit-scrollbar { display: none; }
.so-c { position: relative; flex: 0 0 148px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel-2); text-align: center; }
.so-c-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: 50%; cursor: pointer; } .so-c-x:hover { background: var(--border); }
.so-c-x .ic { width: 15px; height: 15px; }
.so-c-av.click { cursor: pointer; }
.so-c-n { font-weight: 700; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-c-s { min-height: 32px; max-width: 100%; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.so-tpls { display: flex; flex-direction: column; gap: 8px; }
.so-tpl { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; background: var(--panel-2); } .so-tpl:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.so-greet-t { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.shell.news-view .fab { display: none; }
.nw-notify > input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 51px; height: 31px; border-radius: 16px; border: 0; padding: 0; margin: 0; position: relative; cursor: pointer; background: color-mix(in srgb, var(--text) 18%, var(--panel)); transition: background-color .25s var(--ios-ease); }
.nw-notify > input[type=checkbox]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .28); transition: transform .28s var(--ios-spring); }
.nw-notify > input[type=checkbox]:checked { background: var(--accent); }
.nw-notify > input[type=checkbox]:checked::after { transform: translateX(20px); }
.nw-notify > input[type=checkbox]:focus-visible { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); }
html.reduce-motion .nw-notify > input[type=checkbox], html.reduce-motion .nw-notify > input[type=checkbox]::after { transition: none !important; }
.fd-qtag { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 8px; padding: 6px 10px; border-radius: 10px; background: var(--soft); color: var(--accent-2); font-size: 13px; font-weight: 700; line-height: 1.35; }
.fd-qtag .ic { flex: 0 0 auto; margin-top: 2px; }
[data-theme="siyah"] .fd-qtag, [data-theme="ozel-koyu"] .fd-qtag { color: var(--accent); }

/* Veli onayı: yönetici sayfaları (Faz 23) */
.gd-events { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 4px; }
.gd-events li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: baseline; padding: 7px 10px; border-radius: 10px; background: var(--panel-2); font-size: 13.5px; }
.gd-events time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.gdm-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gdm-kv { display: grid; grid-template-columns: 150px 1fr; gap: 4px 12px; font-size: 13.5px; }
.gdm-kv dt { color: var(--muted); } .gdm-kv dd { margin: 0; overflow-wrap: anywhere; }
.gdm-risk { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.gdm-risk .pill { font-size: 12px; }

/* Veli onayı: uygulama içi ek süre şeridi */
.gd-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; padding: 8px 14px; background: #fff7e0; color: #7a5a00; border-bottom: 1px solid #f0d98a; font-size: 13.5px; position: relative; z-index: 30; }
[data-theme="siyah"] .gd-bar, [data-theme="ozel-koyu"] .gd-bar { background: #3a2f10; color: #f6df9b; border-color: #5b4a1a; }

/* ---- Faz 25: Hafıza Kartları ve Resimli Yapboz ---- */
.gpick-ic.g-memory { background: linear-gradient(135deg, #f59e0b, #ef4444); } .gpick-ic.g-slide { background: linear-gradient(135deg, #8b5cf6, #14b8a6); }
.mg-wrap { position: absolute; left: 0; right: 0; top: calc(150px + env(safe-area-inset-top)); bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 12px; }
.mg-board { position: relative; width: min(100%, 440px, calc(100vh - 290px)); aspect-ratio: 1; }
.mg-board.mem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mg-card { perspective: 700px; background: none; border: 0; padding: 0; cursor: pointer; min-width: 0; -webkit-tap-highlight-color: transparent; }
.mg-card .in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .35s ease; }
.mg-card.open .in { transform: rotateY(180deg); }
.mg-f { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mg-f.back { background: linear-gradient(135deg, #14b8a6, #0f766e); color: #fff; font-size: clamp(22px, 7vw, 34px); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .2); }
.mg-f.face { background: #fff; transform: rotateY(180deg); color: #11242b; }
.mg-f.face img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.mg-sym { font-size: clamp(28px, 10vw, 54px); line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.mg-card.ok .mg-f.face { box-shadow: inset 0 0 0 4px #22c55e; }
.mg-card.ok { animation: mgPop .35s ease; } @keyframes mgPop { 50% { transform: scale(1.08); } }
.mg-board.slide { border-radius: 14px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mg-tile { position: absolute; width: 33.3334%; height: 33.3334%; padding: 0; border: 2px solid #0b1114; border-radius: 10px; box-sizing: border-box; cursor: pointer; transition: left .16s ease, top .16s ease, border-radius .3s, border-color .3s; background-repeat: no-repeat; background-color: #134e4a; color: #fff; -webkit-tap-highlight-color: transparent; }
.mg-num { position: absolute; left: 6px; top: 5px; min-width: 20px; padding: 1px 6px; border-radius: 9px; background: rgba(0, 0, 0, .5); font-size: 13px; font-weight: 800; line-height: 1.3; }
.mg-board.slide.solved .mg-tile { border-color: transparent; border-radius: 0; } .mg-board.slide.solved .mg-num { display: none; }
.mg-prev { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); }
.mg-prev-img { width: 56px; height: 56px; border-radius: 10px; background-size: cover; background-position: center; border: 2px solid rgba(255, 255, 255, .4); }
@media (prefers-reduced-motion: reduce) { .mg-card .in, .mg-tile { transition: none; } .mg-card.ok { animation: none; } }

/* Oyun kapak görselleri (Yönetim → Oyunlar → Oyun kapak görselleri) */
.g-cover { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.gpick-ic:has(> .g-cover), .g-ic:has(> .g-cover) { background: var(--panel-2, #e5e7eb); overflow: hidden; padding: 0; }
.gpick-ic:has(> .g-cover) { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.gpick-ic.sm:has(> .g-cover) { width: 38px; height: 38px; border-radius: 11px; }
.g-ic:has(> .g-cover) { width: 120px; height: 120px; border-radius: 26px; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.lb-g > .g-cover { width: 20px; height: 20px; border-radius: 6px; flex: none; }

/* ===== Birlikte İzle (Faz 26) ===== */
.wt-ov { position: fixed; inset: 0; z-index: 80; background: #0b1114; color: #fff; display: flex; flex-direction: column; }
.wt-ov .muted { color: #9fb4bc; }
.wt-top { display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; flex: none; }
.wt-tt { flex: 1; min-width: 0; }
.wt-title { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-sub { font-size: 12px; }
.wt-dot { width: 11px; height: 11px; border-radius: 50%; background: #64748b; flex: none; margin-right: 6px; box-shadow: 0 0 0 3px rgba(100, 116, 139, .25); }
.wt-dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .28); }
.wt-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.wt-left { flex: none; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wt-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; flex: none; }
.wt-vid { position: absolute; inset: 0; }
.wt-vid iframe, .wt-vid > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.wt-fl { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.wt-fe { position: absolute; bottom: 8%; font-size: 34px; line-height: 1; animation: wtFloat 3.6s ease-out forwards; will-change: transform, opacity; }
@keyframes wtFloat { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 12% { opacity: 1; transform: translate(0, -20px) scale(1.15); } 100% { transform: translate(var(--dx, 0), -220px) scale(1); opacity: 0; } }
.wt-tap { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(0, 0, 0, .55); color: #fff; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.wt-tap[hidden], .wt-err[hidden] { display: none; }
.wt-tap .ic { width: 56px; height: 56px; }
.wt-err { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; background: rgba(8, 14, 17, .94); }
.wt-err-t { font-size: 14.5px; line-height: 1.4; max-width: 460px; } .wt-err-b { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wt-feed { position: absolute; left: 10px; bottom: 64px; z-index: 4; display: none; flex-direction: column; gap: 4px; pointer-events: none; max-width: 60%; }
.wt-fb { background: rgba(0, 0, 0, .62); padding: 6px 11px; border-radius: 14px; font-size: 14px; word-break: break-word; }
.wt-fsbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; display: none; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); flex-wrap: wrap; }
.wt-stage.fs { width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; }
.wt-stage.fs .wt-feed, .wt-stage.fs .wt-fsbar { display: flex; }
.wt-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 6px 10px 2px; }
.wt-bar .ch-lb.lnk .ic, .wt-bar .ch-lb.fs .ic { color: #9fe9df; }
.wt-react { padding: 2px 10px 8px; }
.wt-rr { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.wt-rb { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); font-size: 22px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; touch-action: manipulation; }
.wt-rb:active { transform: scale(1.18); }
.wt-vst { padding: 0 10px; }
.wt-left .ch-vreq { width: auto; margin: 0 10px; }
.wt-side { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #10222a; border-top: 1px solid rgba(255, 255, 255, .14); }
.wt-sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 4px; font-size: 14px; }
.wt-coff { font-size: 12.5px; color: #9fe9df; background: none; border: 0; cursor: pointer; padding: 4px 2px; text-decoration: underline; } .wt-coff[hidden] { display: none; }
.wt-ml { flex: 1; min-height: 60px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; display: flex; flex-direction: column; gap: 5px; padding: 4px 12px 6px; }
.wt-side.off .ch-qk, .wt-side.off .ch-ci { opacity: .45; }
.wt-note { padding-top: 0; }
.wt-open { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .4); font-size: 14px; }
.wt-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.wt-th { width: 92px; height: 52px; border-radius: 8px; object-fit: cover; background: #111; flex: none; }
.wt-ri { flex: 1; min-width: 0; display: flex; flex-direction: column; } .wt-ri b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble.b-watch { min-width: min(240px, 74vw); max-width: min(320px, 86vw); } .bubble.b-watch > .b-text { display: none; }
.wtm { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; width: 100%; }
.wtm-th { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #111; }
.wtm-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wtm-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, .28); } .wtm-play .ic { width: 38px; height: 38px; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .5)); }
.wtm .chm-t { font-size: 14.5px; line-height: 1.25; word-break: break-word; }
@media (min-width: 900px) {
  .wt-main { flex-direction: row; }
  .wt-left { flex: 1; min-width: 0; justify-content: flex-start; overflow-y: auto; }
  .wt-stage { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
  .wt-side { flex: none; width: 340px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 899px) and (max-height: 520px) and (orientation: landscape) {
  .wt-main { flex-direction: row; }
  .wt-left { flex: 1; min-width: 0; overflow-y: auto; }
  .wt-stage { max-height: calc(100vh - 110px); width: auto; max-width: 100%; margin: 0 auto; height: calc(100vh - 110px); aspect-ratio: 16 / 9; }
  .wt-side { flex: none; width: 260px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
  .wt-react { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wt-fe { animation-duration: 1.2s; } .wt-rb:active { transform: none; } }
@media (max-width: 899px) {
  .wt-bar { gap: 6px; padding: 6px 8px 0; }
  .wt-bar .ch-lb { padding: 6px 11px; font-size: 12.5px; gap: 5px; } .wt-bar .ch-lb .ic { width: 16px; height: 16px; }
  .wt-rb { width: 38px; height: 38px; font-size: 20px; } .wt-rr { gap: 3px; }
  .wt-react { padding: 4px 6px 6px; }
}

/* ---------- görüntülü arama (app-call.js): sahne = karşı taraf (büyük) + kendi görüntüm (küçük, dokununca yer değiştirir) */
.call-ov .co-stage { display: none; position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.call-ov.has-video .co-stage { display: block; }
.call-ov.rv-on:not(.mini) { background: #000; }
.call-ov .co-rv, .call-ov .co-lv { position: absolute; display: none; object-fit: cover; background: #0b1114; }
.call-ov .co-rv { inset: 0; width: 100%; height: 100%; }
.call-ov.rv-on .co-rv { display: block; }
.call-ov .co-lv { right: 14px; top: calc(max(14px, env(safe-area-inset-top)) + 58px); width: 104px; height: 140px; border-radius: 16px; z-index: 2; box-shadow: 0 4px 18px rgba(0, 0, 0, .5); border: 1.5px solid rgba(255, 255, 255, .45); cursor: pointer; }
.call-ov.lv-on .co-lv { display: block; }
.call-ov .co-lv.mirror { transform: scaleX(-1); }
/* yer değiştirme: kendi görüntüm büyür, karşı taraf küçülür */
.call-ov.swap.rv-on.lv-on .co-rv { inset: auto; right: 14px; top: calc(max(14px, env(safe-area-inset-top)) + 58px); width: 104px; height: 140px; border-radius: 16px; z-index: 2; box-shadow: 0 4px 18px rgba(0, 0, 0, .5); border: 1.5px solid rgba(255, 255, 255, .45); cursor: pointer; }
.call-ov.swap.rv-on.lv-on .co-lv { inset: 0; right: 0; top: 0; width: 100%; height: 100%; border-radius: 0; z-index: 1; box-shadow: none; border: 0; cursor: default; }
/* adı ve durumu üst kenara al; karşı taraf görünürken avatar gizlenir */
.call-ov.has-video .co-card { position: relative; z-index: 2; pointer-events: none; }
.call-ov.has-video.rv-on:not(.mini) .co-card { position: absolute; inset: 0 0 auto 0; flex: none; padding: max(16px, env(safe-area-inset-top)) 70px 36px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); gap: 2px; }
.call-ov.has-video.rv-on:not(.mini) .co-av { display: none; }
.call-ov.has-video.rv-on:not(.mini) .co-name { font-size: 18px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.call-ov.has-video.rv-on:not(.mini) .co-st { font-size: 14px; min-height: 0; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.call-ov.has-video:not(.mini) .co-min { z-index: 4; }
.call-ov.has-video:not(.mini) .co-btns { position: relative; z-index: 3; margin-top: auto; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 34px; padding: 10px 14px; min-height: 0; max-width: 100%; }
.call-ov.mini .co-stage { display: none !important; }
.call-ov .co-btns.many { gap: 10px; flex-wrap: wrap; }
.call-ov:not(.mini) .co-btns.many .co-btn .ic { padding: 12px; width: 28px; height: 28px; }
.call-ov:not(.mini) .co-btns.many .co-btn .co-lb { font-size: 12px; max-width: 64px; text-align: center; line-height: 1.15; }
.call-ov.mini .co-cam, .call-ov.mini .co-flip { display: none; }
.call-ov .co-btn.co-cam.on .ic { background: #fff; stroke: #0a1f24; }
.call-ov .co-btn.co-ok2 .ic { background: #3b82f6; }
.call-ov.has-video .co-panel { z-index: 5; }
.vid-btn { margin-right: -2px; }
@media (min-width: 900px) {
  .call-ov.has-video .co-rv, .call-ov.swap.rv-on.lv-on .co-lv { object-fit: contain; }
  .call-ov .co-lv, .call-ov.swap.rv-on.lv-on .co-rv { width: 190px; height: 142px; }
}
@media (max-width: 380px) { .call-ov:not(.mini) .co-btns.many { gap: 6px; } .call-ov:not(.mini) .co-btns.many .co-btn .ic { padding: 10px; } }
@media (orientation: landscape) and (max-height: 520px) {
  .call-ov .co-lv, .call-ov.swap.rv-on.lv-on .co-rv { width: 120px; height: 90px; top: 12px; }
  .call-ov.has-video:not(.mini) .co-btns { padding: 6px 14px; }
}

/* ================================================================== Konum paylaşma (Faz 28) */
.bubble.b-loc { min-width: min(280px, 78vw); }
.lm { display: flex; flex-direction: column; gap: 4px; }
.lm-tag { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent-2); }
.lm-tag .ic { width: 15px; height: 15px; }
.lm-wrap { position: relative; width: 260px; max-width: 100%; height: 150px; border-radius: 12px; overflow: hidden; background: #dfe7e3; }
.lm-map { display: block; position: relative; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.lm-map.ended { filter: grayscale(.85) opacity(.88); }
.lm-cv { position: absolute; left: 50%; top: 0; transform: translateX(-50%); overflow: hidden; }
.lm-t { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.lm-acc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(59, 130, 246, .16); border: 1px solid rgba(59, 130, 246, .55); pointer-events: none; }
.lm-pin, .lp-pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -27px 0 0 -11px; border-radius: 50% 50% 50% 0; background: var(--danger); border: 3px solid #fff; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); pointer-events: none; }
.lm-pin::after, .lp-pin::after, .lc-pin-b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.lm-attr { position: absolute; right: 0; bottom: 0; z-index: 3; font-size: 9.5px; line-height: 1.5; padding: 0 5px; background: rgba(255, 255, 255, .82); color: #333; border-radius: 6px 0 0 0; }
.lm-attr a { color: #0b6a8a; text-decoration: underline; }
.lm-st { font-size: 12px; color: var(--muted); }
.lm-st.on { color: var(--ok); font-weight: 600; }
.lm-act, .lc-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.lm-stop { align-self: flex-start; margin-top: 2px; }
/* tam ekran harita */
.lc-ov { position: fixed; inset: 0; z-index: 80; background: var(--bg); color: var(--text); display: flex; flex-direction: column; }
.lc-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); background: var(--panel); border-bottom: 1px solid var(--border); }
.lc-tt { min-width: 0; } .lc-t { font-weight: 700; } .lc-s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-mw { position: relative; flex: 1; min-height: 0; background: #dfe7e3; }
.lc-map { position: absolute; inset: 0; }
.lc-mw .lm-attr { z-index: 500; font-size: 10.5px; }
.lc-info { background: var(--panel); border-top: 1px solid var(--border); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 6px; }
.lc-stl { font-size: 13px; color: var(--muted); } .lc-stl.on { color: var(--ok); font-weight: 600; } .lc-stl[hidden] { display: none; }
.lc-co { color: var(--muted); }
.lc-act .btn.on { background: var(--soft); }
.lc-err { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.lc-pin-ic { background: none; border: 0; }
.lc-pin-b { position: relative; display: block; width: 22px; height: 22px; margin: 3px 4px; border-radius: 50% 50% 50% 0; background: var(--danger); border: 3px solid #fff; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.lc-pin-ic.live .lc-pin-b { background: #16a34a; }
/* paylaşma penceresi */
.lp { display: flex; flex-direction: column; gap: 10px; }
.lp-search { display: flex; gap: 8px; } .lp-search input { flex: 1; min-width: 0; }
.lp-res { max-height: 150px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; }
.lp-res[hidden] { display: none; }
.lp-r { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--border); padding: 8px 10px; cursor: pointer; color: var(--text); font: inherit; font-size: 13.5px; }
.lp-r:last-child { border-bottom: 0; } .lp-r:hover, .lp-r:focus-visible { background: var(--soft); }
.lp-wrap { position: relative; height: min(44dvh, 340px); min-height: 220px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #dfe7e3; }
.lp-map { position: absolute; inset: 0; }
.lp-pin { z-index: 650; }
.lp-loc { position: absolute; z-index: 1001; left: 8px; top: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.lp-wrap .lm-attr { z-index: 900; }
.lp-hint { min-height: 18px; }
.lp-live { border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; background: var(--panel-2); }
.lp-lh { display: flex; align-items: center; gap: 6px; } .lp-lh .ic { width: 16px; height: 16px; color: var(--ok); }
.lp-lr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* canlı konum göstergesi */
.lc-pill { position: fixed; z-index: 70; top: calc(env(safe-area-inset-top, 0px) + 64px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; max-width: calc(100vw - 24px); padding: 6px 13px; border: 0; border-radius: 999px; background: #16a34a; color: #fff; font: 600 12.5px/1.3 system-ui, sans-serif; box-shadow: 0 4px 16px rgba(0, 0, 0, .28); cursor: pointer; white-space: nowrap; }
.lc-pill span { overflow: hidden; text-overflow: ellipsis; }
.lc-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: lcBlink 1.4s ease-in-out infinite; }
@keyframes lcBlink { 50% { opacity: .25; } }
.lc-mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.lc-mi { display: flex; flex-direction: column; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .lc-dot { animation: none; } }

/* Yönetim: üye sayfası "Üyenin ayarları" açılır bölümleri (Faz 29) */
.adm-set { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px }
.adm-set > summary { cursor: pointer; margin-bottom: 10px; list-style-position: inside }
.adm-set .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 22px }
.adm-set .check { display: flex; gap: 10px; align-items: flex-start }
.adm-set .narrow-in { width: 110px }
