/* ==========================================================================
   Dune rehberi (/dune/, /en/dune/). main.css'in üstüne biner.
   Palet: gece çölü, kum, baharat. Görseller ve semboller özgün.
   ========================================================================== */

body.dune {
  --bg: #0c0704;
  --bg-2: #140c07;
  --bg-3: #1d120a;
  --line: rgba(243, 200, 150, .1);
  --line-2: rgba(243, 200, 150, .2);
  --text: #f3e7d3;
  --muted: #c2ad91;
  --dim: #8f7b64;
  --sand: #e3b072;
  --spice: #ef7d2f;
  --ember: #c2471d;
  --blue: #ef7d2f;
  --cyan: #f2b66d;
  --brand: linear-gradient(100deg, #f8dcaa 0%, #e9a356 35%, #ef7d2f 65%, #c2471d 100%);
  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", "Noto Serif", Georgia, serif;
  --card: rgba(24, 14, 8, .72);
  background: var(--bg);
}
body.dune::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    repeating-radial-gradient(ellipse 120% 80% at 18% 30%, transparent 0 34px, rgba(227, 176, 114, .045) 35px 36px),
    repeating-radial-gradient(ellipse 90% 120% at 90% 85%, transparent 0 42px, rgba(239, 125, 47, .035) 43px 44px);
}
.dune ::selection { background: var(--spice); color: #1a0c04; }
.dune .nav.is-scrolled .nav__inner { background: rgba(22, 13, 7, .7); }
.dune .btn--light { background: var(--text); color: #1a0f08; }
.dune .grain { opacity: .07; }
.dune main { overflow-x: clip; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Spoiler sistemi ----------
   html[data-seen] 0..3; data-l bu değerden büyükse gizli. */
.sp { position: relative; display: block; }
.sp__btn {
  display: none; position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; max-width: 100%;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: #1a0c04; background: var(--sand); box-shadow: 0 8px 24px -8px rgba(239, 125, 47, .7);
  white-space: nowrap; z-index: 2; transition: transform .3s var(--ease-spring);
}
.sp__btn:hover { transform: scale(1.05); }
:is(html[data-seen="0"] .sp:is([data-l="1"], [data-l="2"], [data-l="3"]),
    html[data-seen="1"] .sp:is([data-l="2"], [data-l="3"]),
    html[data-seen="2"] .sp[data-l="3"]):not(.is-open) > .sp__txt {
  filter: blur(7px); opacity: .5; user-select: none; pointer-events: none;
}
:is(html[data-seen="0"] .sp:is([data-l="1"], [data-l="2"], [data-l="3"]),
    html[data-seen="1"] .sp:is([data-l="2"], [data-l="3"]),
    html[data-seen="2"] .sp[data-l="3"]):not(.is-open) > .sp__btn { display: inline-flex; }
.sp.is-open > .sp__txt { animation: unblur .6s var(--ease-out); }
@keyframes unblur { from { filter: blur(7px); opacity: .5; } }

/* ---------- Ortak başlık ---------- */
.dn-section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.dn-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.dn-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--sand);
}
.dn-kicker__n { font-family: var(--f-serif); font-style: italic; font-size: 20px; letter-spacing: 0; color: var(--spice); font-weight: 400; }
.dn-kicker::after {
  content: ""; flex: 0 0 64px; height: 1px;
  background: linear-gradient(90deg, var(--sand), transparent);
  -webkit-mask: radial-gradient(circle at 4px 50%, transparent 3px, #000 3.5px); mask: radial-gradient(circle at 4px 50%, transparent 3px, #000 3.5px);
}
.dn-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 6vw, 78px); letter-spacing: -.015em; line-height: 1.02; text-wrap: balance; }
.dn-lead { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 40em; text-wrap: pretty; }

.dn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px;
  border-radius: 999px; font-weight: 800; color: #1a0c04; background: var(--brand); background-size: 200% 100%;
  box-shadow: 0 18px 40px -18px rgba(239, 125, 47, .8); transition: background-position .6s var(--ease-out), transform .3s var(--ease-spring);
}
.dn-btn:hover { background-position: 100% 0; transform: translateY(-2px); }
.dn-btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.dn-btn--ghost:hover { border-color: var(--sand); }

/* ---------- Hero ---------- */
.dn-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 820px); display: flex; align-items: flex-end;
  padding: 130px 0 60px;
}
.dn-sky {
  position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(180deg, #06040a 0%, #120a12 30%, #2c1414 52%, #6b2e19 68%, #b4622d 80%, #e39a55 88%, #f0b877 92%);
}
.dn-stars {
  position: absolute; inset: 0 0 40% 0; opacity: .8;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 26%, #ffe8c8 50%, transparent 51%), radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 31%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 83% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 24%, #ffe8c8 50%, transparent 51%), radial-gradient(1px 1px at 7% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 44%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 74% 46%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 50% 5%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 19% 55%, #ffd7a8 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .45; } }
.dn-moon { position: absolute; border-radius: 50%; }
.dn-moon--big {
  width: clamp(110px, 14vw, 200px); aspect-ratio: 1; right: 12%; top: 13%;
  background: radial-gradient(circle at 36% 34%, #fbf1df 0%, #e9d6b6 42%, #b99c78 70%, #5e4a37 100%);
  box-shadow: 0 0 80px 10px rgba(255, 220, 170, .16), inset -18px -14px 40px rgba(40, 20, 10, .55);
  transform: translateY(calc(var(--py, 0) * -.25px));
}
.dn-moon--big::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .35;
  background:
    radial-gradient(circle at 30% 60%, rgba(90, 60, 40, .5) 0 7%, transparent 8%),
    radial-gradient(circle at 62% 30%, rgba(90, 60, 40, .45) 0 5%, transparent 6%),
    radial-gradient(circle at 55% 68%, rgba(90, 60, 40, .4) 0 10%, transparent 11%);
}
.dn-moon--small {
  width: clamp(36px, 4vw, 56px); aspect-ratio: 1; right: 28%; top: 9%;
  background: radial-gradient(circle at 38% 35%, #f3e2c6, #b08f6b 70%, #4d3a2a);
  box-shadow: 0 0 40px rgba(255, 220, 170, .14), inset -6px -5px 14px rgba(40, 20, 10, .6);
  transform: translateY(calc(var(--py, 0) * -.4px));
}
.dn-haze {
  position: absolute; left: -10%; right: -10%; bottom: 26%; height: 40%;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 170, 90, .35), transparent 70%);
  filter: blur(20px); animation: haze 9s ease-in-out infinite alternate;
}
@keyframes haze { to { transform: translateX(3%) scaleY(1.1); opacity: .75; } }

.dn-sand { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.dn-dunes { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(300px, 52vh, 520px); z-index: -2; overflow: visible; }
.dn-dune { will-change: transform; }
.dn-dune--3 { transform: translateY(calc(var(--py, 0) * .28px)); }
.dn-dune--2 { transform: translateY(calc(var(--py, 0) * .14px)); }
.dn-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
.dn-dune .ridge { fill: none; stroke: rgba(255, 196, 130, .45); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dn-dune--1 .ridge { stroke: rgba(255, 170, 100, .35); }
.dn-wormsign { fill: none; stroke: rgba(255, 196, 130, .7); stroke-width: 1.4; vector-effect: non-scaling-stroke; animation: worm 22s linear infinite; }
.dn-wormsign .r { stroke: rgba(255, 196, 130, .3); }
@keyframes worm {
  0% { transform: translate(-200px, 346px); opacity: 0; }
  6% { opacity: 1; }
  45% { transform: translate(700px, 330px); }
  90% { opacity: 1; }
  100% { transform: translate(1640px, 334px); opacity: 0; }
}

.dn-hero__inner { position: relative; z-index: 2; }
.dn-by {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12, 7, 4, .45); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; color: var(--muted); transition: color .3s, border-color .3s;
}
.dn-by:hover { color: var(--text); border-color: var(--sand); }
.dn-by img { width: 22px; height: auto; }
.dn-hero__kicker { font-size: 12px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; color: var(--sand); margin-bottom: 14px; }
.dn-h1 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.02em; line-height: .9; }
.dn-h1__big { display: block; font-size: clamp(58px, 11.5vw, 176px); text-shadow: 0 10px 60px rgba(0, 0, 0, .45); }
.dn-h1__line { display: block; animation: rise 1.4s var(--ease-out) both; }
.dn-h1__line--spice {
  animation-delay: .15s; font-style: italic; padding-bottom: .08em;
  background: linear-gradient(100deg, #fbe3b8 0%, #f2b66d 30%, #ef7d2f 55%, #fbe3b8 80%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.4s .15s var(--ease-out) both, shimmer 7s 1.6s ease-in-out infinite alternate;
}
@keyframes rise { from { opacity: 0; transform: translateY(.35em); filter: blur(12px); letter-spacing: .06em; } }
@keyframes shimmer { to { background-position: 100% 0; } }
.dn-h1__sub {
  display: block; margin-top: 22px; max-width: 46em; font-family: var(--f-body);
  font-size: clamp(12px, 1.2vw, 14px); font-weight: 800; letter-spacing: .22em; line-height: 1.6; text-transform: uppercase; color: var(--sand);
  animation: rise 1.2s .35s var(--ease-out) both;
}
.dn-hero__lead { margin-top: 22px; max-width: 38em; color: #e4d2b8; font-size: clamp(16px, 1.5vw, 19px); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); animation: rise 1.2s .5s var(--ease-out) both; }
.dn-hero__panels { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-top: 36px; max-width: 980px; animation: rise 1.2s .65s var(--ease-out) both; }
.dn-count, .dn-seen {
  padding: 20px 22px; border-radius: 22px; border: 1px solid var(--line-2);
  background: rgba(14, 8, 4, .55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.dn-count__title, .dn-seen__label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 12px; }
.dn-count__row { display: flex; gap: 10px; }
.dn-count__cell { min-width: 64px; text-align: center; }
.dn-count__cell b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.dn-count__cell span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.dn-count__cell + .dn-count__cell { border-left: 1px solid var(--line); padding-left: 10px; }
.dn-count__note { margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.dn-count.is-out .dn-count__row { display: none; }
.dn-seen__hint { margin-top: 12px; font-size: 13px; color: var(--dim); line-height: 1.45; }

.dn-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-seg button {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--muted);
  transition: background-color .3s, color .3s, border-color .3s;
}
.dn-seg button:hover { color: var(--text); border-color: var(--sand); }
.dn-seg button[aria-checked="true"] { background: var(--sand); border-color: var(--sand); color: #1a0c04; }
.dn-seg--col { flex-direction: column; }
.dn-seg--col button { text-align: left; }

.dn-scroll { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.dn-scroll i { width: 1px; height: 42px; background: linear-gradient(var(--sand), transparent); position: relative; overflow: hidden; }
.dn-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }

/* Solucan izi ayırıcı */
.dn-worm { height: 80px; margin-top: -1px; overflow: hidden; }
.dn-worm svg { width: 100%; height: 100%; overflow: visible; }
.dn-worm__sand { fill: none; stroke: rgba(227, 176, 114, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dn-worm__mover { fill: none; stroke: var(--spice); stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(239, 125, 47, .8)); animation: worm2 14s linear infinite; }
.dn-worm__mover .r { stroke: rgba(239, 125, 47, .35); }
@keyframes worm2 { from { transform: translateX(-160px); } to { transform: translateX(1600px); } }

/* ---------- Güç dengesi ---------- */
.pw { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.pw-map { width: 100%; height: auto; overflow: hidden; }
.pw-ring { fill: none; stroke: var(--line-2); stroke-dasharray: 2 9; transform-origin: 300px 300px; animation: spin 120s linear infinite; }
.pw-ring--2 { stroke-dasharray: 1 6; animation-duration: 80s; animation-direction: reverse; }
.pw-glow { transform-origin: 300px 300px; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .75; } }
@keyframes spin { to { transform: rotate(360deg); } }
.pw-tri { fill: rgba(227, 176, 114, .035); stroke: rgba(227, 176, 114, .4); stroke-width: 1.2; }
.pw-spoke { fill: none; stroke: var(--spice); stroke-width: 1.4; stroke-dasharray: 3 7; animation: flow 3s linear infinite; opacity: .8; }
.pw-shadow { fill: none; stroke: #9b86c9; stroke-width: 1.2; stroke-dasharray: 1 6; stroke-linecap: round; opacity: .7; }
.pw-desert { fill: none; stroke: #e0913f; stroke-width: 1.2; stroke-dasharray: 1 6; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.pw-node { --c: var(--sand); cursor: pointer; transition: opacity .4s; }
.pw-node[data-pw="emperor"] { --c: #d6a646; }
.pw-node[data-pw="landsraad"] { --c: #4f9b6e; }
.pw-node[data-pw="guild"] { --c: #4fb3b0; }
.pw-node[data-pw="bene"] { --c: #9b86c9; }
.pw-node[data-pw="fremen"] { --c: #e0913f; }
.pw-node circle { fill: #170d07; stroke: var(--c); stroke-width: 1.6; transition: fill .4s, r .4s; }
.pw-node--core circle { fill: #2a1206; stroke: var(--spice); stroke-width: 2; }
.pw-node text { fill: var(--text); font: 700 12.5px var(--f-body); text-anchor: middle; paint-order: stroke; stroke: #170d07; stroke-width: 4px; }
.pw-node--core text { font: italic 400 18px var(--f-serif); fill: #ffd9a8; stroke: #2a1206; }
.pw.has-hl .pw-node:not(.is-hl) { opacity: .35; }
.pw-node.is-hl circle { fill: color-mix(in srgb, var(--c) 22%, #170d07); }
.pw-list { display: grid; gap: 10px; }
.pw-item {
  --c: var(--sand); padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); border-left: 3px solid var(--c);
  background: var(--card); cursor: default; transition: background-color .3s, transform .4s var(--ease-out), border-color .3s;
}
.pw-item[data-pw="emperor"] { --c: #d6a646; }
.pw-item[data-pw="landsraad"] { --c: #4f9b6e; }
.pw-item[data-pw="guild"] { --c: #4fb3b0; }
.pw-item[data-pw="spice"] { --c: var(--spice); }
.pw-item[data-pw="bene"] { --c: #9b86c9; }
.pw-item[data-pw="fremen"] { --c: #e0913f; }
.pw-item h3 { font-family: var(--f-serif); font-weight: 400; font-size: 22px; letter-spacing: 0; margin-bottom: 4px; color: var(--c); }
.pw-item p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.pw-item.is-hl, .pw-item:hover { background: color-mix(in srgb, var(--c) 10%, rgba(24, 14, 8, .9)); transform: translateX(6px); }

/* ---------- Haneler ---------- */
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.hc {
  position: relative; overflow: hidden; isolation: isolate; padding: 28px; border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 16%, #150c07) 0%, #110905 62%);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out), border-color .4s, opacity 1s var(--ease-out);
}
.js .hc.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hc:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.hc__glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 35%, transparent), transparent 70%);
}
.hc:hover .hc__glow { opacity: 1; }
.hc__sig { width: 58px; height: 58px; fill: var(--c); filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c) 60%, transparent)); margin-bottom: 22px; transition: transform .8s var(--ease-spring); }
.hc:hover .hc__sig { transform: rotate(-8deg) scale(1.08); }
.hc::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; z-index: -1;
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  box-shadow: 0 0 0 22px color-mix(in srgb, var(--c) 5%, transparent), 0 0 0 46px color-mix(in srgb, var(--c) 3%, transparent);
}
.hc__name { font-family: var(--f-serif); font-weight: 400; font-size: 30px; letter-spacing: -.01em; }
.hc__line { margin-top: 6px; font-style: italic; font-family: var(--f-serif); color: var(--c); font-size: 17px; filter: brightness(1.25); }
.hc__desc { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.hc__meta { margin: 18px 0 0; font-size: 13px; }
.hc__meta div { display: flex; gap: 10px; }
.hc__meta dt { color: var(--dim); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; padding-top: 2px; }
.hc__meta dd { margin: 0; font-weight: 700; }
.hc__members { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hm {
  padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent);
  transition: background-color .3s;
}
.hm:hover { background: color-mix(in srgb, var(--c) 28%, transparent); }
.hm__q { display: none; }
:is(html[data-seen="0"] .hm:is([data-l="2"], [data-l="3"]), html[data-seen="1"] .hm:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .hm[data-l="3"]) .hm__n { display: none; }
:is(html[data-seen="0"] .hm:is([data-l="2"], [data-l="3"]), html[data-seen="1"] .hm:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .hm[data-l="3"]) .hm__q { display: inline; }

/* ---------- Soy ağacı ---------- */
.tree-wrap {
  position: relative; border-radius: 30px; border: 1px solid var(--line); padding: 22px 0 18px;
  background: radial-gradient(ellipse at 50% 0%, rgba(239, 125, 47, .08), transparent 60%), rgba(18, 10, 6, .6);
}
.tree-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0 24px 6px; font-size: 13px; color: var(--muted); }
.tl { display: inline-flex; align-items: center; gap: 8px; }
.tl i { width: 26px; height: 0; border-top: 2px solid var(--sand); }
.tl--union i { border-top: 2px dashed var(--spice); }
.tl--secret i { border-top: 2px dotted #ff5a40; }
.tl--book i { border-top: 2px dashed var(--dim); }
.tree-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.tree { width: 100%; min-width: 940px; height: auto; display: block; }
.tree__rows path { stroke: rgba(243, 200, 150, .05); stroke-width: 1; }
.te { transition: opacity .4s; }
.te path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.te--blood path { stroke: rgba(227, 176, 114, .6); }
.te--union path { stroke: var(--spice); stroke-dasharray: 8 6; }
.te--sib path { stroke: rgba(227, 176, 114, .45); stroke-dasharray: 2 6; }
.te--secret path { stroke: #ff5a40; stroke-dasharray: 1 7; stroke-width: 2.6; filter: drop-shadow(0 0 5px rgba(255, 90, 64, .8)); animation: flow 2.5s linear infinite; }
.te--book path { stroke: var(--dim); stroke-dasharray: 6 6; }
.te__lab { font: 700 12px var(--f-body); fill: var(--muted); text-anchor: middle; paint-order: stroke; stroke: #120a06; stroke-width: 5px; }
.te__lab--secret { fill: #ff8a70; }
.tn { cursor: pointer; outline: none; transition: opacity .4s; }
.tn__halo { fill: var(--c); opacity: 0; transition: opacity .4s; }
.tn__ring { fill: #140b06; stroke: var(--c); stroke-width: 2.5; transition: fill .4s, stroke-width .3s; }
.tn__sig { fill: var(--c); }
.tn__name, .tn__hid { font: 700 15px var(--f-body); fill: var(--text); text-anchor: middle; paint-order: stroke; stroke: #120a06; stroke-width: 5px; }
.tn__q { font: 400 26px var(--f-serif); fill: var(--dim); text-anchor: middle; display: none; }
.tn__hid { display: none; fill: var(--dim); font-style: italic; }
.tn:hover .tn__halo, .tn:focus-visible .tn__halo, .tn.is-hl .tn__halo { opacity: .22; }
.tn:focus-visible .tn__ring { stroke-width: 4; }
.tree.has-hl .tn:not(.is-hl) { opacity: .3; }
.tree.has-hl .te:not(.is-hl) { opacity: .1; }
:is(html[data-seen="0"] .tn:is([data-l="1"], [data-l="2"], [data-l="3"]), html[data-seen="1"] .tn:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .tn[data-l="3"]) :is(.tn__sig, .tn__name) { display: none; }
:is(html[data-seen="0"] .tn:is([data-l="1"], [data-l="2"], [data-l="3"]), html[data-seen="1"] .tn:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .tn[data-l="3"]) :is(.tn__q, .tn__hid) { display: block; }
:is(html[data-seen="0"] .tn:is([data-l="1"], [data-l="2"], [data-l="3"]), html[data-seen="1"] .tn:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .tn[data-l="3"]) .tn__ring { stroke-dasharray: 4 5; stroke: var(--dim); }
:is(html[data-seen="0"] .te:is([data-l="1"], [data-l="2"], [data-l="3"]), html[data-seen="1"] .te:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .te[data-l="3"]) { opacity: .08 !important; }
:is(html[data-seen="0"] .te:is([data-l="1"], [data-l="2"], [data-l="3"]), html[data-seen="1"] .te:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .te[data-l="3"]) .te__lab { display: none; }
.js .tree-wrap .tn { opacity: 0; transform-box: fill-box; }
.js .tree-wrap.is-in .tn { animation: nodeIn .9s var(--ease-out) both; }
.js .tree-wrap.is-in .tn:nth-child(3n+1) { animation-delay: .1s; }
.js .tree-wrap.is-in .tn:nth-child(3n+2) { animation-delay: .25s; }
.js .tree-wrap.is-in .tn:nth-child(3n) { animation-delay: .4s; }
.js .tree-wrap.is-in .tree.has-hl .tn:not(.is-hl) { animation: none; opacity: .3; }
.js .tree-wrap.is-in .tree.has-hl .tn.is-hl { animation: none; opacity: 1; }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }
.tree-hint { display: none; padding: 8px 24px 0; font-size: 13px; color: var(--dim); }

/* ---------- Karakterler ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  --c: var(--sand); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--muted); transition: all .3s;
}
.chip__sig { width: 16px; height: 16px; fill: var(--c); }
.chip:hover { color: var(--text); border-color: var(--c); }
.chip.is-on { color: #1a0c04; background: var(--c); border-color: var(--c); }
.chip.is-on .chip__sig { fill: #1a0c04; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.cc {
  position: relative; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--card);
  transition: border-color .3s, transform .5s var(--ease-out), opacity 1s var(--ease-out);
}
.cc::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c), transparent); }
.cc:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.cc.is-flash { animation: flash 1.6s var(--ease-out); }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 2px var(--c), 0 0 40px -6px var(--c); } }
.cc[hidden] { display: none; }
.cc__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cc__sig { width: 26px; height: 26px; fill: var(--c); }
.cc__house { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.cc__name { font-family: var(--f-serif); font-weight: 400; font-size: 26px; letter-spacing: -.01em; line-height: 1.1; }
.cc__role { margin-top: 4px; color: var(--c); font-weight: 700; font-size: 14px; filter: brightness(1.3); }
.cc__bio { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cc__facts { margin-top: 14px; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.cc__facts li, .cp__facts li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; }
.cc__facts li::before, .cp__facts li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--c, var(--sand)); }
.sp--block > .sp__txt { display: block; }

/* ---------- Filmler ---------- */
.fc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fc {
  position: relative; overflow: hidden; padding: 28px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(239, 125, 47, .08), rgba(18, 10, 6, .8) 50%);
}
.fc__num { position: absolute; right: 16px; top: -24px; font: italic 400 170px/1 var(--f-serif); color: rgba(239, 125, 47, .09); pointer-events: none; }
.fc__year { font-family: var(--f-serif); font-style: italic; color: var(--spice); font-size: 20px; }
.fc__title { font-family: var(--f-serif); font-weight: 400; font-size: 30px; margin-top: 4px; letter-spacing: -.01em; }
.fc__src, .fc__places { margin-top: 10px; font-size: 13px; color: var(--dim); }
.fc__src span, .fc__places span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 2px; }
.fc__story { margin-top: 16px; display: grid; gap: 10px; font-size: 15px; line-height: 1.55; color: #e6d5bd; }
.fc__places { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

.mx { margin-top: 28px; border-radius: 26px; border: 1px solid var(--line); background: rgba(18, 10, 6, .7); padding: 20px 0 8px; }
.mx__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0 22px 14px; font-size: 13px; color: var(--muted); }
.mx__legend li { display: inline-flex; align-items: center; gap: 8px; }
.mx__scroll { overflow-x: auto; }
.mx__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.mx__table thead th { padding: 10px 12px 14px; text-align: center; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.mx__table thead th span { display: block; font: italic 400 22px var(--f-serif); color: var(--spice); }
.mx__table thead th small { display: block; color: var(--dim); font-weight: 600; }
.mx__table thead th:first-child { text-align: left; padding-left: 22px; vertical-align: bottom; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.mx__table tbody th { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 22px; font-weight: 700; text-align: left; white-space: nowrap; }
.mx__table tbody tr { border-bottom: 1px solid rgba(243, 200, 150, .05); transition: background-color .25s; }
.mx__table tbody tr:hover { background: color-mix(in srgb, var(--c) 9%, transparent); }
.mx__table td { text-align: center; padding: 9px 12px; width: 22%; }
.mx__sig { width: 18px; height: 18px; fill: var(--c); flex: none; }
.mx__h { display: none; color: var(--dim); font-style: italic; }
.m { display: inline-block; width: 13px; height: 13px; vertical-align: middle; border-radius: 50%; }
.m--a { background: var(--sand); box-shadow: 0 0 10px rgba(227, 176, 114, .5); }
.m--v { border: 2px solid var(--sand); background: linear-gradient(90deg, var(--sand) 50%, transparent 50%); }
.m--x { border-radius: 2px; width: 11px; height: 11px; transform: rotate(45deg); border: 2px solid var(--spice); box-shadow: 0 0 10px rgba(239, 125, 47, .6); }
.m--d { border-radius: 0; background: transparent; position: relative; }
.m--d::before, .m--d::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 3px; margin-left: -1.5px; background: #ff5a40; border-radius: 2px; }
.m--d::before { transform: rotate(45deg); }
.m--d::after { transform: rotate(-45deg); }
.m--none { width: 4px; height: 4px; background: rgba(243, 200, 150, .15); }
.mx__d .m--a { display: none; }
:is(html[data-seen="0"] .mx__d:is([data-l="1"], [data-l="2"], [data-l="3"]), html[data-seen="1"] .mx__d:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .mx__d[data-l="3"]) .m--a { display: inline-block; }
:is(html[data-seen="0"] .mx__d:is([data-l="1"], [data-l="2"], [data-l="3"]), html[data-seen="1"] .mx__d:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .mx__d[data-l="3"]) .m--d { display: none; }
:is(html[data-seen="0"] .mx__n:is([data-l="2"], [data-l="3"]), html[data-seen="1"] .mx__n:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .mx__n[data-l="3"]) { display: none; }
:is(html[data-seen="0"] .mx__h:is([data-l="2"], [data-l="3"]), html[data-seen="1"] .mx__h:is([data-l="2"], [data-l="3"]), html[data-seen="2"] .mx__h[data-l="3"]) { display: inline; }
:is(html[data-seen="0"] td:is([data-l="2"], [data-l="3"]), html[data-seen="1"] td:is([data-l="2"], [data-l="3"]), html[data-seen="2"] td[data-l="3"]) .m { filter: blur(2px); opacity: .35; }

/* ---------- Test ---------- */
.dn-section--quiz::before {
  content: ""; position: absolute; inset: 10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(239, 125, 47, .09), transparent 70%);
}
.qz { max-width: 820px; border-radius: 30px; border: 1px solid var(--line-2); background: rgba(20, 12, 7, .82); padding: clamp(22px, 4vw, 44px); overflow: hidden; position: relative; }
.qz__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.qz__bar span { display: block; height: 100%; width: calc(var(--qp, 0) * 100%); background: var(--brand); transition: width .6s var(--ease-out); }
.qz__q { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.qz__q legend { padding: 0; font-family: var(--f-serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin-bottom: 18px; }
.qz__n { display: block; font: 800 11px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: 10px; }
.qz__opts { display: grid; gap: 8px; }
.qz__opt { position: relative; display: block; cursor: pointer; }
.qz__opt input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.qz__opt span {
  display: block; padding: 14px 18px 14px 46px; border-radius: 16px; border: 1px solid var(--line-2); font-weight: 600; line-height: 1.4;
  transition: border-color .25s, background-color .25s, transform .35s var(--ease-out);
}
.qz__opt span::before { content: ""; position: absolute; left: 18px; top: 50%; width: 12px; height: 12px; margin-top: -6px; transform: rotate(45deg); border: 2px solid var(--dim); transition: all .25s; }
.qz__opt:hover span { border-color: var(--sand); transform: translateX(4px); }
.qz__opt input:checked + span { border-color: var(--spice); background: rgba(239, 125, 47, .12); }
.qz__opt input:checked + span::before { background: var(--spice); border-color: var(--spice); box-shadow: 0 0 12px var(--spice); }
.qz__opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.qz.is-step .qz__q { display: none; }
.qz.is-step .qz__q.is-cur { display: block; animation: rise .6s var(--ease-out) both; }
.qz.is-step .qz__form > .dn-btn { display: none; }
.qz.is-step.is-last .qz__form > .dn-btn { display: inline-flex; }
.qz__result { --c: var(--sand); text-align: center; animation: rise .9s var(--ease-out) both; outline: none; }
.qz__res-sig { width: 96px; height: 96px; margin: 6px auto 16px; fill: var(--c); filter: drop-shadow(0 0 30px var(--c)); animation: spinIn 1.2s var(--ease-out) both; }
@keyframes spinIn { from { transform: rotate(-120deg) scale(.4); opacity: 0; } }
.qz__res-k { font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.qz__res-name { font-family: var(--f-serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); color: var(--c); filter: brightness(1.25); margin-top: 6px; }
.qz__res-line { font-family: var(--f-serif); font-style: italic; color: var(--muted); margin-top: 4px; font-size: 18px; }
.qz__res-text { margin: 18px auto 0; max-width: 34em; color: #e6d5bd; }
.qz__res-app {
  display: flex; align-items: center; gap: 16px; margin: 26px auto 0; max-width: 520px; padding: 16px; border-radius: 20px; text-align: left;
  border: 1px solid var(--line-2); background: rgba(239, 125, 47, .06);
}
.qz__res-app img { width: 60px; height: 60px; border-radius: 15px; flex: none; }
.qz__res-app p { font-size: 13px; color: var(--muted); }
.qz__res-app strong { display: block; font-size: 17px; color: var(--text); }
.qz__res-app .stores { margin-top: 10px; }
.qz__res-app .store { --h: 40px; }
.qz__res-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- Uygulamalar ---------- */
.dn-section--apps { background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(239, 125, 47, .07), transparent 70%); border-block: 1px solid var(--line); }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.ac {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, #150c07), #120a06 60%);
  transition: border-color .3s, transform .5s var(--ease-out), opacity 1s var(--ease-out);
}
.ac:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-4px); }
.ac::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); pointer-events: none; }
.ac__head { display: flex; align-items: center; gap: 16px; }
.ac__icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--c) 70%, transparent); transition: transform .6s var(--ease-spring); }
.ac:hover .ac__icon { transform: rotate(-6deg) scale(1.06); }
.ac__theme { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.ac__name { font-family: var(--f-serif); font-weight: 400; font-size: 30px; letter-spacing: -.01em; margin-top: 4px; }
.ac__tag { margin-top: 18px; font-size: 18px; font-weight: 700; }
.ac__sub { margin-top: 4px; font-size: 14px; color: var(--dim); }
.ac .stores { margin-top: 20px; }
.ac .store { --h: 46px; }
.ac__more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 800; color: var(--c); filter: brightness(1.3); width: fit-content; }
.ac__more:hover span { display: inline-block; transform: translateX(4px); }

/* ---------- Dünyalar ---------- */
.wl { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.wl__map { position: relative; aspect-ratio: 1; container-type: inline-size; border-radius: 50%; background: radial-gradient(circle, rgba(239, 125, 47, .07), transparent 65%); }
.wl__sun {
  position: absolute; left: 50%; top: 50%; width: 12cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #fff4dc, #ffc46e 35%, #ef7d2f 65%, rgba(239, 125, 47, 0) 72%);
  box-shadow: 0 0 80px 20px rgba(239, 125, 47, .25); animation: breathe 6s ease-in-out infinite;
}
.ob { position: absolute; inset: 0; pointer-events: none; }
.ob::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 100cqw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px dashed rgba(243, 200, 150, .13);
}
.ob__arm { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: orbit var(--t) linear infinite; transform: rotate(var(--a)); }
@keyframes orbit { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) + 360deg)); } }
.pl {
  position: absolute; left: calc(var(--r) * 50cqw); top: 0; pointer-events: auto; display: grid; justify-items: center; gap: 4px;
  animation: counter var(--t) linear infinite; transform: translate(-50%, -50%) rotate(calc(var(--a) * -1));
}
@keyframes counter { from { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); } to { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1 - 360deg)); } }
.wl__map:hover :is(.ob__arm, .pl) { animation-play-state: paused; }
.pl__ball, .wd__ball {
  display: block; width: calc(var(--s) / 560 * 100cqw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, color-mix(in srgb, var(--c1) 70%, #fff) 0%, var(--c1) 30%, var(--c2) 78%, #000 110%);
  box-shadow: 0 0 24px -4px var(--c1); transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.pl__ball--arrakis { background: repeating-linear-gradient(-20deg, transparent 0 6%, rgba(120, 50, 10, .25) 6% 9%), radial-gradient(circle at 32% 30%, #ffe1ae 0%, #f2b66d 30%, #a2531f 78%, #000 110%); }
.pl__ball--caladan { background: radial-gradient(circle at 60% 60%, rgba(70, 140, 80, .7) 0 12%, transparent 13%), radial-gradient(circle at 32% 30%, #c6f0ea 0%, #7fc6c0 30%, #1f4f63 78%, #000 110%); }
.pl__ball--giedi { background: repeating-radial-gradient(circle at 70% 70%, transparent 0 8%, rgba(0, 0, 0, .25) 8% 10%), radial-gradient(circle at 32% 30%, #fff 0%, #d9d9d9 25%, #1b1b1b 78%, #000 110%); box-shadow: 0 0 24px -4px rgba(255, 255, 255, .4); }
.pl__label { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .3s; }
.pl:hover .pl__ball, .pl.is-on .pl__ball { transform: scale(1.25); box-shadow: 0 0 0 2px #0c0704, 0 0 0 4px var(--c1), 0 0 30px var(--c1); }
.pl.is-on .pl__label { color: var(--text); }
.wl__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.wl__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--muted); transition: all .3s; }
.wl__tabs button i { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--c1), var(--c2)); }
.wl__tabs button:hover { color: var(--text); }
.wl__tabs button[aria-selected="true"] { color: var(--text); border-color: var(--c1); background: color-mix(in srgb, var(--c1) 14%, transparent); }
.wd { position: relative; padding: 28px; border-radius: 26px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.wd:not([hidden]) { animation: rise .7s var(--ease-out) both; }
.wd__ball { --s: 260; position: absolute; right: -70px; top: -70px; width: 220px; opacity: .55; }
.wd__alias { position: relative; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.wd__name { position: relative; font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); margin-top: 6px; }
.wd__desc { position: relative; margin-top: 14px; color: #e6d5bd; }
.wd__meta { margin: 20px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.wd__meta dt { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.wd__meta dd { margin: 4px 0 0; font-weight: 700; }
.wd__films { display: flex; flex-wrap: wrap; gap: 6px; }
.wd__films li { padding: 3px 10px; border-radius: 999px; font-size: 13px; background: rgba(239, 125, 47, .14); color: #ffcf9c; }
.wd__films li.is-empty { background: transparent; color: var(--dim); padding: 0; font-weight: 600; }

/* ---------- Sözlük ---------- */
.gl__search { display: flex; align-items: center; gap: 10px; max-width: 420px; height: 52px; padding: 0 18px; margin-bottom: 24px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); transition: border-color .3s; }
.gl__search:focus-within { border-color: var(--sand); }
.gl__search svg { width: 20px; height: 20px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; flex: none; }
.gl__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text); font: inherit; outline: none; }
.gl__list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.gl__item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.gl__item[hidden] { display: none; }
.gl__item dt { font-family: var(--f-serif); font-size: 22px; color: var(--sand); }
.gl__item dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.gl__none { color: var(--dim); }

/* ---------- Not ---------- */
.dn-note { padding-bottom: 90px; }
.dn-note__box { max-width: 900px; padding: 26px 28px; border-radius: 22px; border: 1px dashed var(--line-2); }
.dn-note__box h2 { font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: 10px; }
.dn-note__box p { color: var(--dim); font-size: 14px; line-height: 1.6; }
.dn-note__small { margin-top: 8px; }

/* ---------- Yüzen spoiler düğmesi ---------- */
.dn-float { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; transform: translateY(140%); transition: transform .6s var(--ease-out); }
.dn-float.is-shown { transform: none; }
.dn-float__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  border: 1px solid var(--line-2); background: rgba(22, 13, 7, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--muted);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .8);
}
.dn-float__btn b { color: var(--sand); }
.dn-float__btn svg { width: 18px; height: 18px; fill: none; stroke: var(--sand); stroke-width: 2; }
.dn-float__menu { position: absolute; left: 0; bottom: calc(100% + 10px); width: 240px; padding: 16px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(22, 13, 7, .96); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); }
.dn-float__menu p { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 10px; }

/* ---------- Karakter paneli ---------- */
.cp {
  --c: var(--sand); width: min(540px, calc(100vw - 32px)); max-height: min(86vh, 760px); padding: 0; border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--text);
  background: linear-gradient(170deg, color-mix(in srgb, var(--c) 16%, #170d07), #120a06 55%);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
}
.cp[open] { animation: rise .5s var(--ease-out); }
.cp::backdrop { background: rgba(6, 3, 2, .7); backdrop-filter: blur(6px); }
.cp__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); border: 1px solid var(--line-2); z-index: 3; }
.cp__x:hover { color: var(--text); }
.cp__body { padding: 30px; }
.cp__sig { width: 54px; height: 54px; fill: var(--c); filter: drop-shadow(0 0 16px var(--c)); }
.cp__house { margin-top: 14px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.cp__name { font-family: var(--f-serif); font-weight: 400; font-size: 36px; margin-top: 4px; letter-spacing: -.01em; }
.cp__role { color: var(--c); filter: brightness(1.3); font-weight: 700; margin-top: 4px; }
.cp__bio { margin-top: 14px; color: #e6d5bd; }
.cp__facts { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cp__go { display: inline-flex; margin-top: 20px; font-weight: 800; color: var(--c); filter: brightness(1.3); font-size: 14px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .fc-grid { grid-template-columns: 1fr; }
  .fc__num { font-size: 130px; }
}
@media (max-width: 900px) {
  .pw, .wl { grid-template-columns: 1fr; }
  .pw-map { max-width: 520px; margin-inline: auto; }
  .wl__map { max-width: 520px; width: 100%; margin-inline: auto; }
  .dn-hero__panels { grid-template-columns: 1fr; }
  .gl__list { grid-template-columns: 1fr; }
  .tree-hint { display: block; }
}
@media (max-width: 560px) {
  .dn-hero { padding-top: 110px; min-height: auto; }
  .dn-moon--big { width: 84px; top: 88px; right: 5%; opacity: .85; }
  .dn-moon--small { width: 30px; top: 74px; right: 34%; }
  .dn-count__cell { min-width: 0; flex: 1; }
  .dn-count__cell span { letter-spacing: .04em; }
  .dn-seg button { padding: 8px 12px; font-size: 13px; }
  .pl__label { font-size: 10px; }
  .qz__opt span { padding: 13px 14px 13px 40px; }
  .qz__opt span::before { left: 14px; }
  .qz__res-app { flex-direction: column; text-align: center; }
  .qz__res-app .stores { justify-content: center; }
  .cp__body { padding: 26px 22px; }
  .mx__table { min-width: 0; font-size: 14px; }
  .mx__table tbody th { white-space: normal; padding: 9px 6px 9px 16px; gap: 8px; line-height: 1.25; }
  .mx__table thead th { padding: 8px 4px 12px; font-size: 12px; }
  .mx__table thead th:first-child { padding-left: 16px; }
  .mx__table td { padding: 9px 4px; width: 17%; }
  .mx__sig { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dune *, .dune *::before, .dune *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .tree-wrap .tn { opacity: 1; }
  .dn-wormsign { display: none; }
}
