/* Düzen: katalog (arama + süzgeçler + liste) · bağ sayfası · tam ekran sahne (izle/dene: üst şerit, rehber kartı, tuval, başparmak hizasında dok).
   Kimlik: harita odası — açık deniz-grisi zemin, lacivert mürekkep, işaret turuncusu eylem, halat sarısı ve çıma mavisi. */
:root {
  --c-bg: #F3F5F7; --c-surface: #FFFFFF; --c-surface-2: #EBF0F4; --c-ink: #0F1D2B; --c-muted: #566577; --c-line: #DAE1E8;
  --c-primary: #D9501A; --c-primary-ink: #FFFFFF; --c-primary-soft: #FCE8DD; --c-focus: #2563EB;
  --c-over: #1E66C8; --c-under: #8E3AAF; --c-good: #1F7F45; --c-bad: #C9372A; --c-warn: #9A5B00; --c-warn-soft: #FFF3DC;
  --c-stage: #E7ECF0; --c-table: #F9FBFC; --c-grid: rgba(15, 29, 43, .055); --c-thumb: #EEF2F5;
  --c-rope: #D9A34A; --c-rope-edge: #3A2911; --c-rope-lay: rgba(96, 62, 14, .5); --c-rope-hi: rgba(255, 255, 255, .32);
  --c-tip: #2C5E95; --c-tip-lay: rgba(255, 255, 255, .5); --c-whip: #10151A; --c-anchor: #4A5866;
  --c-pin: #FFD23F; --c-shadow: rgba(15, 29, 43, .22); --c-lift: #EFA200; --c-ghost: #D9501A;
  --c-bar: #9B6B39; --c-bar-hi: #C69460; --c-bar-lo: #6B4625; --c-bar-text: rgba(255, 255, 255, .8);
  --c-label-bg: rgba(15, 29, 43, .88); --c-label-fg: #FFFFFF;
  --f-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-ui: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(15, 29, 43, .06), 0 2px 8px rgba(15, 29, 43, .05);
  --shadow-2: 0 10px 40px rgba(15, 29, 43, .18);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --c-bg: #0C141C; --c-surface: #131E29; --c-surface-2: #1B2835; --c-ink: #E6EDF4; --c-muted: #9AABBD; --c-line: #263546;
  --c-primary: #FF7340; --c-primary-ink: #1C0A02; --c-primary-soft: #3A1D10; --c-focus: #7AA7FF;
  --c-over: #63A6F5; --c-under: #C987E2; --c-good: #52C47F; --c-bad: #FF7362; --c-warn: #F2B24D; --c-warn-soft: #33260F;
  --c-stage: #0F1821; --c-table: #15212D; --c-grid: rgba(230, 237, 244, .05); --c-thumb: #182532;
  --c-shadow: rgba(0, 0, 0, .5); --c-label-bg: rgba(230, 237, 244, .92); --c-label-fg: #0C141C; --c-ghost: #FF7340;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3); --shadow-2: 0 10px 40px rgba(0, 0, 0, .55); color-scheme: dark; } }
:root[data-theme="dark"] {
  --c-bg: #0C141C; --c-surface: #131E29; --c-surface-2: #1B2835; --c-ink: #E6EDF4; --c-muted: #9AABBD; --c-line: #263546;
  --c-primary: #FF7340; --c-primary-ink: #1C0A02; --c-primary-soft: #3A1D10; --c-focus: #7AA7FF;
  --c-over: #63A6F5; --c-under: #C987E2; --c-good: #52C47F; --c-bad: #FF7362; --c-warn: #F2B24D; --c-warn-soft: #33260F;
  --c-stage: #0F1821; --c-table: #15212D; --c-grid: rgba(230, 237, 244, .05); --c-thumb: #182532;
  --c-shadow: rgba(0, 0, 0, .5); --c-label-bg: rgba(230, 237, 244, .92); --c-label-fg: #0C141C; --c-ghost: #FF7340;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3); --shadow-2: 0 10px 40px rgba(0, 0, 0, .55); color-scheme: dark; }

[hidden] { display: none !important; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 16px/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body[data-page="try"] .stage-view, body[data-page="watch"] .stage-view { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); letter-spacing: -.01em; text-wrap: balance; margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 8px; }
svg { flex: none; }
.fine { font-size: 13px; color: var(--c-muted); margin: 0; }
.warn { color: var(--c-warn); }
.mono { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary); margin: 0; }
.pill { font: 600 11px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); background: var(--c-surface-2); border-radius: 999px; padding: 5px 8px; }

/* ortak kontroller */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-surface); font-weight: 650; text-decoration: none; }
.btn:hover { border-color: var(--c-muted); }
.btn.primary { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn.small svg { width: 18px; height: 18px; }
.btn.wide { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; text-decoration: none; }
.icon-btn:hover { background: var(--c-surface-2); }
.icon-btn.lg { width: 52px; height: 52px; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); font-weight: 600; font-size: 14px; }
.chip-btn svg { width: 18px; height: 18px; }
/* Paylaş düğmesi ve menüsü (madde 15): simgeler sitenin renginde */
.pl { position: relative; display: inline-flex; }
.pl-btn { gap: 6px; }
.pl-btn.btn svg { width: 18px; height: 18px; }
.pl-menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 6px; display: grid; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.pl-menu.sag { left: auto; right: 0; }
.pl-menu [role="menuitem"] { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.pl-menu [role="menuitem"]:hover, .pl-menu [role="menuitem"]:focus-visible { background: var(--c-surface-2); }
.pl-menu svg { flex: none; }
.baslik-satir { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.baslik-satir h1 { flex: 1 1 12ch; min-width: 0; margin: 0; }
.baslik-satir .pl { flex: none; margin-top: 4px; }
.hero .pl { margin-top: 10px; }
.chip-btn[aria-pressed="true"] { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.link { border: 0; background: none; padding: 0; color: var(--c-primary); font-weight: 650; text-decoration: underline; }
.seg { display: inline-flex; background: var(--c-surface-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 8px 14px; font-weight: 650; color: var(--c-muted); }
.seg button[aria-selected="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: var(--shadow-1); }
.seg.small button { padding: 6px 10px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); font-size: 14px; font-weight: 600; text-decoration: none; }
.chip span:last-child:not(.cg) { color: var(--c-muted); font-weight: 500; }
.chip.on { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }
.chip.on span { color: inherit !important; opacity: .75; }
.chip svg { width: 18px; height: 18px; }
.chip .cg svg { width: 18px; height: 18px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--c-surface-2); font-size: 13px; font-weight: 600; }
.tag.muted { color: var(--c-muted); font-weight: 500; }
.level { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--c-muted); font-weight: 600; }
.level i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-line); }
.level[data-l="1"] i:nth-child(-n+1), .level[data-l="2"] i:nth-child(-n+2), .level[data-l="3"] i:nth-child(-n+3) { background: var(--c-ink); }
.level span { margin-left: 4px; }
.badge.try { font-size: 12px; font-weight: 700; color: var(--c-primary); background: var(--c-primary-soft); border-radius: 999px; padding: 3px 9px; }

/* uygulama çubuğu */
.appbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 60px; padding: 0 12px 0 16px; background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font: 800 20px/1 var(--f-head); }
.logo { color: var(--c-primary); }
.ab-title { font: 700 17px/1.2 var(--f-head); flex: 1; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* katalog */
.home-grid { max-width: 1240px; margin: 0 auto; padding: 0 16px 48px; display: grid; gap: 20px; }
.hero { padding-top: 20px; display: grid; gap: 12px; }
.hero h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.05; font-weight: 800; }
.search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px; border-radius: var(--r-md); border: 1.5px solid var(--c-line); background: var(--c-surface); box-shadow: var(--shadow-1); }
.search:focus-within { border-color: var(--c-ink); }
.search svg { color: var(--c-muted); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; }
.filters { display: grid; gap: 12px; }
.filters .seg { justify-self: start; }
.chips.small .chip { min-height: 34px; font-size: 13px; }
.cg { display: inline-grid; color: var(--c-primary); }
.chip.on .cg { color: inherit; }
.main { display: grid; gap: 16px; min-width: 0; }
.sec-head { display: grid; gap: 4px; }
.sec-head h2 { font-size: 22px; }
.sec-head p { margin: 0; color: var(--c-muted); }
.start { display: grid; gap: 12px; }
.start-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.start-card { scroll-snap-align: start; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; display: grid; }
.thumb-link { display: block; }
.thumb { display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--c-thumb); }
.sc-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.sc-body h3 { font-size: 19px; }
.sc-body h3 a { text-decoration: none; }
.sc-body p { margin: 0; color: var(--c-muted); font-size: 14px; }
.sc-actions { display: flex; gap: 8px; margin-top: 8px; }
.result-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result-head h2 { font-size: 20px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-muted); }
.sort select { height: 38px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-surface); padding: 0 8px; }
.knot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.krow { position: relative; }
.kcard { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 52px 12px 12px; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-surface); text-decoration: none; }
.kcard:hover { border-color: var(--c-muted); }
.glyph { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--c-surface-2); color: var(--c-ink); }
.glyph.xl { width: 120px; height: 120px; border-radius: 24px; }
.glyph.xl svg { width: 64px; height: 64px; }
.kc-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.kc-main b { font-size: 16px; font-weight: 700; }
.kc-main small { color: var(--c-muted); font-size: 13px; }
.kc-tags { font-size: 12px; color: var(--c-muted); }
.kc-side { display: grid; justify-items: end; gap: 6px; }
.fav { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 12px; color: var(--c-muted); }
.fav.on { color: var(--c-primary); }
.fav:hover { background: var(--c-surface-2); }
.appbar .fav { position: static; transform: none; }
.empty { color: var(--c-muted); }

/* bağ sayfası */
.d-wrap { max-width: 780px; margin: 0 auto; padding: 20px 16px 56px; display: grid; gap: 18px; }
.d-hero { display: flex; gap: 18px; align-items: center; }
.d-hero .photo { margin: 0; flex: 0 0 auto; width: min(320px, 100%); aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--c-thumb); }
.d-hero .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb.big { width: 132px; height: 132px; aspect-ratio: 1; border-radius: 24px; flex: none; }
.d-names { display: grid; gap: 4px; min-width: 0; }
.d-names h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.05; font-weight: 800; }
.d-names .en { margin: 0; font-size: 18px; color: var(--c-muted); font-weight: 600; }
.d-names .alt, .d-names .aka { margin: 0; font-size: 14px; color: var(--c-muted); }
.d-names .who { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.d-names .who b { font-weight: 600; }
.unsure { display: inline-block; font-size: 11px; line-height: 1.4; padding: 0 6px; border-radius: 999px; border: 1px dashed var(--c-muted); color: var(--c-muted); vertical-align: 1px; }
.d-names .srcs { font-size: 13px; color: var(--c-muted); }
.d-names .srcs summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.d-names .srcs ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.d-names .srcs a { color: inherit; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.meta .level { height: 30px; padding: 0 10px; border-radius: 8px; background: var(--c-surface-2); color: var(--c-ink); }
.callout, .note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); }
.callout { background: var(--c-warn-soft); color: var(--c-ink); }
.callout svg { color: var(--c-warn); }
.note { background: var(--c-surface-2); }
.callout p, .note p { margin: 0; }
.d-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn.big { min-height: 72px; justify-content: flex-start; padding: 12px 16px; gap: 12px; border-radius: var(--r-lg); }
.btn.big span { display: grid; text-align: left; line-height: 1.2; }
.btn.big b { font-size: 17px; }
.btn.big small { font-size: 13px; font-weight: 500; opacity: .85; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { padding: 14px 16px; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 16px; max-width: 65ch; }
.story .facts.origin { margin: 4px 0 18px; gap: 0; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
.story .facts.origin div { border: 0; border-radius: 0; background: none; padding: 12px 16px; }
.story .facts.origin div + div { border-top: 1px solid var(--c-line); }
.story h3 { font-size: 17px; margin: 18px 0 6px; }
.rel, .sources { display: grid; gap: 10px; }
.rel h2, .sources h2 { font-size: 18px; }
.sources ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--c-muted); font-size: 14px; }
.sources a { display: inline-flex; align-items: center; gap: 4px; color: var(--c-ink); font-weight: 600; }
.sources a svg { width: 14px; height: 14px; }
.prose { font-size: 16px; }
.prose h1 { font-size: 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prose h2 { font-size: 20px; margin-top: 8px; }
.prose p, .prose li { max-width: 65ch; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin: 0; }

/* sahne (izle / dene) */
.stage-view { position: relative; height: 100vh; height: 100dvh; padding-top: env(safe-area-inset-top, 0px); display: grid; grid-template-rows: auto auto 1fr auto; background: var(--c-stage); overscroll-behavior: contain; }
.topbar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.tb-title { flex: 1; min-width: 0; display: grid; line-height: 1.15; }
.tb-title h1, .tb-title b { font: 700 18px/1.15 var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.tb-title span { font-size: 12px; color: var(--c-muted); font-weight: 600; }
.guide { padding: 10px 16px 12px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); display: grid; gap: 4px; min-height: 84px; align-content: start; }
.guide-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide p { margin: 0; font-size: 16px; line-height: 1.4; max-width: 70ch; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-line); }
.dots i.done { background: var(--c-muted); }
.dots i.now { background: var(--c-primary); width: 20px; border-radius: 4px; }
.canvas-wrap { position: relative; min-height: 0; }
.canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; display: block; }
.hud { position: absolute; left: 12px; bottom: 8px; font-size: 11px; color: var(--c-muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.toast { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: var(--c-ink); color: var(--c-bg); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.legend { position: absolute; top: 10px; left: 12px; display: flex; gap: 12px; font-size: 12px; font-weight: 600; color: var(--c-muted); background: color-mix(in srgb, var(--c-surface) 80%, transparent); padding: 6px 10px; border-radius: 999px; pointer-events: none; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 18px; height: 8px; border-radius: 4px; display: inline-block; }
.sw.beden { background: var(--c-rope); box-shadow: inset 0 0 0 1px var(--c-rope-edge); }
.sw.cima { background: var(--c-tip); box-shadow: inset 0 0 0 1px var(--c-rope-edge); }
.floating { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); box-shadow: var(--shadow-2); }
.dock { display: grid; gap: 10px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--c-surface); border-top: 1px solid var(--c-line); }
.depth { display: grid; gap: 4px; }
.depth-seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.depth-seg button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-size: 16px; font-weight: 700; }
.depth-seg button[aria-checked="true"][data-d="over"] { background: var(--c-over); color: #fff; box-shadow: var(--shadow-1); }
.depth-seg button[aria-checked="true"][data-d="under"] { background: var(--c-under); color: #fff; box-shadow: var(--shadow-1); }
.depth[data-method="lift"] .depth-seg button[aria-checked="true"][data-d="over"] { background: var(--c-surface); color: var(--c-ink); }
.depth-note { text-align: center; font-size: 12px; color: var(--c-muted); }
.actions { display: grid; grid-template-columns: repeat(3, minmax(56px, auto)) 1fr; gap: 8px; align-items: stretch; }
.tool { display: grid; place-items: center; gap: 2px; min-height: 56px; padding: 6px 10px; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-surface); font-size: 12px; font-weight: 650; }
.tool svg { width: 22px; height: 22px; }
.actions .btn.primary { min-height: 56px; font-size: 17px; }
.scrim { position: fixed; inset: 0; background: rgba(8, 14, 20, .42); z-index: 20; }
.sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); max-height: 85%; overflow: auto; z-index: 21; background: var(--c-surface); border-radius: 22px 22px 0 0; padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--shadow-2); display: grid; gap: 12px; }
.sheet h2 { font-size: 22px; }
.sheet p { margin: 0; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sheet-actions .btn { flex: 1 1 auto; }
.res-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c-warn); }
.res-icon svg { width: 30px; height: 30px; stroke-width: 2.4; }
.sheet[data-status="correct"] .res-icon { background: var(--c-good); }
.sheet[data-status="correct"] h2 { color: var(--c-good); }
.sheet[data-status="wrong"] .res-icon { background: var(--c-bad); }
.sheet[data-status="wrong"] h2 { color: var(--c-bad); }
.radio-list { display: grid; gap: 8px; }
.radio-list label, .switch { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--c-line); border-radius: var(--r-md); font-size: 15px; }
.radio-list input, .switch input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--c-primary); flex: none; }
.coach { position: absolute; inset: auto 12px 50% 12px; transform: translateY(50%); margin: 0 auto; max-width: 440px; z-index: 22; background: var(--c-surface); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-2); display: grid; gap: 14px; }
.coach h2 { font-size: 22px; }
.coach ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coach li { display: flex; gap: 12px; align-items: flex-start; }
.coach li svg { color: var(--c-primary); margin-top: 2px; }
.player-dock { gap: 6px; }
.timeline { position: relative; padding: 4px 4px 22px; }
.timeline input { width: 100%; accent-color: var(--c-primary); height: 28px; }
.ticks { position: absolute; left: 12px; right: 12px; bottom: 0; height: 22px; }
.ticks button { position: absolute; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-surface); font-size: 11px; font-weight: 700; color: var(--c-muted); padding: 0; }
.ticks button.on { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.transport { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.transport .chip-btn { position: absolute; right: 0; }
.play { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--c-primary); color: var(--c-primary-ink); display: grid; place-items: center; box-shadow: var(--shadow-1); }
.play svg { width: 28px; height: 28px; }

@media (min-width: 720px) {
  .knot-list { grid-template-columns: 1fr 1fr; }
  .stage-view .dock { grid-template-columns: minmax(320px, 420px) 1fr; align-items: center; padding-left: 16px; padding-right: 16px; }
  .player-dock { grid-template-columns: 1fr !important; }
}
@media (min-width: 1000px) {
  .home-grid { grid-template-columns: 340px 1fr; gap: 32px; }
  .side { position: sticky; top: 76px; align-self: start; display: grid; gap: 20px; }
  .start-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .result-head { padding-top: 4px; }
  .main { padding-top: 20px; }
}
/* telefon: ana sayfada sıra arama → buradan başla → süzgeçler → liste; çipler tek satırda kayar */
@media (max-width: 999px) {
  .side, .main { display: contents; }
  .hero { order: 1; } .start { order: 2; } .filters { order: 3; } .result-head { order: 4; } .knot-list { order: 5; } .empty { order: 6; }
  .chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  .chips.scroll::-webkit-scrollbar { display: none; }
  .chips.scroll .chip { flex: none; }
}
@media (max-width: 420px) {
  .d-hero { flex-direction: column; align-items: flex-start; }
  .actions { grid-template-columns: repeat(3, 58px) 1fr; gap: 6px; }
  .tool { padding: 4px; font-size: 11px; }
  .actions .btn.primary { padding: 0 10px; font-size: 16px; }
  .transport .chip-btn { position: static; }
  .tb-title h1, .tb-title b { font-size: 16px; }
  .depth-seg button { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
/* site kabuğu: atlama bağlantısı, araç düğmeleri, tema simgesi */
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--c-ink); color: var(--c-bg); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 8px; }
.ab-tools { display: inline-flex; align-items: center; gap: 2px; }
.lang-btn span { font: 700 13px/1 var(--f-ui); letter-spacing: .04em; }
.i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: inline; } :root:not([data-theme="light"]) .i-moon { display: none; } }
:root[data-theme="dark"] .i-sun { display: inline; } :root[data-theme="dark"] .i-moon { display: none; }
.lede { margin: 0; font-size: 17px; line-height: 1.5; max-width: 65ch; }
.hero .lede { font-size: 15px; color: var(--c-muted); }
.names { display: grid; gap: 6px; }
.names h2 { font-size: 18px; }
.names .who { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 15px; }
.names .who b { font-weight: 600; }
.names .aka { margin: 0; font-size: 14px; color: var(--c-muted); }
.names .srcs { font-size: 13px; color: var(--c-muted); }
.names .srcs summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.names .srcs ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.names .srcs a { color: inherit; }
.page-hits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ph-head { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.prose h3 { font-size: 17px; margin-top: 4px; }
.prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 0; }
.prose a { color: var(--c-primary); font-weight: 600; }
.prose .btn.primary { color: var(--c-primary-ink); }

/* Üyelik sayfaları (standart madde 7) ve yönetim paneli (madde 10); renkler tema jetonlarından */
.seg button[aria-pressed="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: var(--shadow-1); }
.hs-form { display: grid; gap: 14px; max-width: 440px; }
.hs-form[hidden] { display: none; }
.hs-alan { display: grid; gap: 6px; }
.hs-alan label, .hs-secim legend { font-weight: 650; font-size: 15px; }
.hs-alan input, .hs-alan select { min-height: 48px; padding: 0 12px; border: 1px solid var(--c-muted); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-ink); font: inherit; font-size: 16px; width: 100%; }
.hs-alan input:focus-visible, .hs-alan select:focus-visible, .hs-kutu input:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.hs-ipucu { margin: 0; font-size: 14px; color: var(--c-muted); }
.hs-ipucu a { color: var(--c-primary); }
.hs-kutu { display: inline-flex; gap: 10px; align-items: center; min-height: 40px; font-size: 15px; cursor: pointer; }
.hs-kutu input { width: 20px; height: 20px; accent-color: var(--c-primary); margin: 0; }
.hs-secim { display: flex; flex-wrap: wrap; gap: 4px 18px; border: 0; padding: 0; margin: 0; }
.hs-secim legend { padding: 0; margin-bottom: 4px; }
.hs-hata { margin: 0; color: var(--c-bad, var(--c-ink)); font-weight: 650; }
.hs-mesaj { margin: 0; padding: 12px 14px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-primary); border-radius: var(--r-md); background: var(--c-surface); }
.hs-mesaj[data-ok="0"] { border-left-color: var(--c-bad, var(--c-ink)); }
.hs-linkler { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hs-bolum { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.prose .hs-bolum h2 { margin: 0; font-size: 19px; }
.btn.tehlike { border-color: var(--c-bad, var(--c-ink)); color: var(--c-bad, var(--c-ink)); }
.cerez-pencere .hs-form { max-width: none; }
.hs-form.genis { max-width: 640px; }
.hs-iki { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hs-alan textarea { padding: 10px 12px; border: 1px solid var(--c-muted); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-ink); font: inherit; font-size: 16px; width: 100%; resize: vertical; }
.hs-alan textarea:focus-visible, .hs-tel select:focus-visible, .hs-sosyal-satir select:focus-visible, .hs-sosyal-satir input:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.hs-tel { display: grid; gap: 8px; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
.hs-foto { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hs-foto img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-line); background: var(--c-surface-2); }
.hs-foto-dugme { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 220px; }
.hs-foto-dugme .hs-ipucu { flex-basis: 100%; }
.hs-foto-dugme label.btn { cursor: pointer; }
.hs-gizli-girdi { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.hs-gizli-girdi:focus-visible + .btn, label.btn:has(+ .hs-gizli-girdi:focus-visible) { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.hs-sosyal { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.hs-sosyal legend { font-weight: 650; font-size: 15px; padding: 0; margin-bottom: 6px; }
.hs-sosyal [data-sosyal-liste] { display: grid; gap: 8px; }
.hs-sosyal-satir { display: grid; gap: 8px; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 44px; align-items: center; }
.hs-sosyal-satir select, .hs-sosyal-satir input { min-height: 44px; padding: 0 10px; border: 1px solid var(--c-muted); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-ink); font: inherit; font-size: 16px; min-width: 0; }
.hs-sosyal .btn { justify-self: start; }
.hs-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 14px; }
.hs-izgara legend { grid-column: 1 / -1; }
fieldset.hs-secim:disabled { opacity: .5; }
.hs-onay { font-size: 13px; }
.hs-onay a, .hs-metinler a { text-decoration: underline; }
.hs-oturumlar { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hs-oturumlar li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); max-width: 640px; }
.hs-oturumlar .pill { font-size: 12px; }
.prose ul.hs-kural, .prose ul.hs-oturumlar { padding-left: 0; }
.hs-kural { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--c-muted); }
.hs-kural li { display: flex; gap: 8px; align-items: center; }
.hs-kural-im { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--c-muted); box-sizing: border-box; }
.hs-kural li[data-ok="1"] { color: var(--c-ink); }
.hs-kural li[data-ok="1"] .hs-kural-im { border-color: var(--c-good); background: var(--c-good); box-shadow: inset 0 0 0 3px var(--c-surface); }
.hs-gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hs-soru { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-primary); border-radius: var(--r-md); background: var(--c-surface); max-width: 640px; }
.hs-soru[hidden] { display: none; }
.hs-soru p { margin: 0; }
.hs-dikey { flex-direction: column; }
.prose .hs-bolum h3 { margin: 8px 0 0; font-size: 17px; }
.hs-urunler a { color: var(--c-primary); }
.hs-bilgi { margin: 0; display: grid; gap: 8px; max-width: 440px; }
.hs-bilgi div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.hs-bilgi dt { color: var(--c-muted); }
.hs-bilgi dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.hs-sekmeler { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--c-surface-2); max-width: 760px; }
.hs-sekmeler button { border: 0; background: transparent; border-radius: 9px; padding: 9px 14px; min-height: 44px; font: inherit; font-weight: 650; color: var(--c-muted); cursor: pointer; }
.hs-sekmeler button[aria-selected="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: var(--shadow-1); }
.hs-sekmeler button:focus-visible, .hs-akordeon button:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.hs-panel { display: grid; gap: 18px; padding-top: 22px; }
.hs-panel[data-acik="0"] { display: none; }
.hs-panel-ic { display: grid; gap: 18px; }
.prose .hs-akordeon { display: none; margin: 0; font-size: 17px; }
.hs-akordeon button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.hs-akordeon button::after { content: "+"; font-size: 20px; line-height: 1; color: var(--c-muted); }
.hs-akordeon button[aria-expanded="true"]::after { content: "−"; }
.hs-panel .hs-bolum:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 719px) {
  .hs-sekmeler { display: none; }
  .prose .hs-akordeon { display: block; }
  .hs-panel, .hs-panel[data-acik="0"] { display: grid; gap: 12px; padding-top: 10px; }
  .hs-panel[data-acik="0"] .hs-panel-ic { display: none; }
  .hs-panel .hs-bolum:first-child { padding-top: 6px; }
}
.hs-tehlike-blok { display: grid; gap: 10px; padding: 14px; border: 2px solid var(--c-bad, var(--c-ink)); border-radius: var(--r-md); background: var(--c-surface); max-width: 640px; }
.hs-tehlike-blok p { margin: 0; }

/* Rozetler ekranı (standart madde 13): durum simge ve metinle de anlatılır, yalnız renkle değil */
.prose .rz-list, .rz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rz { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.rz img { flex: none; width: 64px; height: 64px; filter: grayscale(1); opacity: .45; }
.rz.ok img { filter: none; opacity: 1; }
.rz h2 { font-size: 16px; margin: 0 0 2px; }
.rz p { margin: 0; font-size: 14px; }
.rz .rz-state { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-weight: 700; color: var(--c-muted); }
.rz.ok .rz-state { color: var(--c-good); }
.rz-prog { font-weight: 600; color: var(--c-muted); }
.rz-count { font-weight: 700; }
.rz-not { font-size: 14px; color: var(--c-muted); }
.rz-not a { color: var(--c-primary); font-weight: 600; }

/* çerez bandı ve tercihler (standart madde 14): altta, içeriği kapatmaz; üç düğme eşit */
.cerez-bant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--c-surface); color: var(--c-ink); border-top: 1px solid var(--c-line); box-shadow: 0 -4px 18px rgb(0 0 0 / .12); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: center; }
.cerez-bant p { margin: 0; font-size: 14px; max-width: 720px; flex: 1 1 320px; }
.cerez-bant a, .cerez-pencere a { color: var(--c-primary); font-weight: 600; }
.cerez-dugmeler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 0 1 420px; }
.cerez-pencere .cerez-dugmeler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cerez-dugmeler .btn { min-height: 44px; justify-content: center; }
body.cerez-acik { padding-bottom: var(--cerez-h, 150px); }
body.cerez-acik .stage-view { height: calc(100dvh - var(--cerez-h, 150px)); }
.cerez-pencere { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-ink); }
.cerez-pencere::backdrop { background: rgb(0 0 0 / .55); }
.cerez-pencere h2 { font-size: 19px; margin: 0 0 12px; }
.cerez-grup { border-top: 1px solid var(--c-line); padding: 10px 0; }
.cerez-grup-bas { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cerez-grup h3 { font-size: 16px; margin: 0; }
.cerez-grup p { margin: 6px 0 0; font-size: 14px; }
.cerez-durum { font-size: 13px; font-weight: 700; color: var(--c-muted); }
.cerez-grup input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--c-primary); }
.cerez-bant :focus-visible, .cerez-pencere :focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

/* alt bilgi: e-posta listesi, bağlantılar, Bumba rozeti */
.site-foot { background: var(--c-surface); border-top: 1px solid var(--c-line); }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 28px 16px calc(28px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 22px; }
/* standart madde 1: solda çerçevesiz liste kaydı, sağda Bumba rozeti; telefonda alt alta */
.foot-main { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; justify-content: space-between; }
.liste-form { display: grid; gap: 6px; flex: 1 1 320px; max-width: 520px; }
.liste-form > label { font-weight: 600; font-size: 14px; }
.list-row { display: flex; gap: 10px; align-items: stretch; }
.list-row input { flex: 1; min-width: 0; height: 44px; padding: 0 2px; border: 0; border-bottom: 1.5px solid var(--c-muted); border-radius: 0; background: transparent; color: var(--c-ink); font-size: 16px; }
.list-row input::placeholder { color: var(--c-muted); }
.list-row input:focus-visible, #liste-katil:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
#liste-katil { min-height: 44px; padding: 0 16px; border: 0; border-bottom: 1.5px solid var(--c-ink); background: transparent; color: var(--c-ink); font: inherit; font-weight: 700; cursor: pointer; }
#liste-katil:hover { color: var(--c-primary); border-color: var(--c-primary); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--c-muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--c-primary); flex: none; }
.consent a { color: var(--c-ink); }
.bot-tuzagi { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.list-msg { margin: 0; font-size: 14px; color: var(--c-ink); }
.list-msg[data-ok="0"] { color: var(--c-bad, var(--c-ink)); font-weight: 600; }
.liste-pencere { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-ink); display: none; }
.liste-pencere[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 12px; }
.liste-pencere::backdrop { background: rgb(0 0 0 / .55); }
.liste-pencere h2 { font-size: 19px; margin: 0; }
.liste-metin { overflow-y: auto; min-height: 80px; font-size: 14px; line-height: 1.55; display: grid; gap: 10px; align-content: start; }
.liste-metin h3 { font-size: 15px; margin: 0; }
.liste-metin p { margin: 0; }
.liste-metin:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.liste-pencere > a { color: var(--c-primary); font-weight: 600; font-size: 14px; }
.liste-dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.liste-dugmeler .btn[disabled] { opacity: .55; cursor: not-allowed; }
.foot-sign { display: flex; align-items: flex-end; }
@media (max-width: 640px) { .foot-main { flex-direction: column; align-items: stretch; } .liste-form { flex: none; } .foot-sign { justify-content: flex-start; } }

/* Bumba Group imzası: alt bilgide, telif satırının üstünde; sitenin temasını izler (açık ya da koyu rozet) */
.imza { display: inline-block; line-height: 0; }
.imza img { height: 28px; width: auto; }
.imza .koyu { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .imza .koyu { display: inline; } :root:not([data-theme="light"]) .imza .acik { display: none; } }
:root[data-theme="dark"] .imza .koyu { display: inline; }
:root[data-theme="dark"] .imza .acik { display: none; }