@charset "UTF-8";
/* =========================================================
   ANOMALİ — mithatmb.com v2
   ========================================================= */

@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/jetbrainsmono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/jetbrainsmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/jetbrainsmono-symbols.woff2') format('woff2');
  unicode-range: U+2190-2193, U+2197, U+23F5, U+2500, U+2502, U+250C, U+2510, U+2514, U+2518, U+251C, U+2524, U+2550-2551, U+2580, U+2584, U+2588, U+2591-2593, U+25A0-25A1, U+25AE-25AF, U+25B2, U+25B6, U+25BC, U+25C0, U+25C6-25C7, U+25CB, U+25CF, U+2713, U+2715;
}

:root {
  --ink: #e9e4da;
  --dim: rgba(233, 228, 218, .42);
  --faint: rgba(233, 228, 218, .14);
  --amber: #ffb86b;
  --amber-rgb: 255, 184, 107;
  --blood: #ff3b5c;
  --f-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #000; color: var(--ink); }
body {
  font: 400 12px/1.5 var(--f-mono);
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  user-select: none; -webkit-user-select: none;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 1px dashed var(--dim); outline-offset: 6px; }
[hidden] { display: none !important; }
.dim { color: var(--dim); }

/* ---------- uydurma alfabe ---------- */
.gl { display: inline-block; width: .55em; height: .95em; vertical-align: -.14em; overflow: visible; stroke: currentColor; fill: none; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.gc { display: inline-block; }
.gc.is-flip { color: var(--amber); }
.gsp { display: inline-block; width: .3em; }
.gl-letter { animation: lt .5s ease-out; }
@keyframes lt { from { color: var(--amber); text-shadow: 0 0 14px var(--amber); } }
.is-out { opacity: 0; transition: opacity .55s ease; }

/* ---------- sahne ---------- */
canvas.stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.halo { position: fixed; inset: 0; z-index: 3; pointer-events: none; transition: opacity .8s; }
.hg { position: absolute; left: 0; top: 0; width: 12px; height: 20px; margin: -10px 0 0 -6px; color: rgba(255, 214, 172, .8); will-change: transform, opacity; }
.hg svg { display: block; width: 100%; height: 100%; overflow: visible; stroke: currentColor; fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(255, 160, 100, .65)); }

.core-btn { position: fixed; left: 50%; top: 50%; width: 1px; height: 1px; opacity: 0; z-index: 4; }
.core-btn:focus-visible { opacity: 1; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; outline: 1px dashed var(--dim); }

/* ---------- köşeler ---------- */
.corner { position: fixed; z-index: 40; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; color: var(--dim); transition: opacity 1.2s, color .3s; }
.tl { top: 24px; left: 28px; }
.tr { top: 20px; right: 24px; }
.bl { bottom: 24px; left: 28px; }
.br { bottom: 24px; right: 28px; }
.brand { color: var(--ink); letter-spacing: .4em; }
.sig { width: 18px; height: 18px; fill: none; stroke: var(--amber); stroke-width: 1.3; filter: drop-shadow(0 0 6px rgba(var(--amber-rgb), .6)); }
.ritual-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; transition: transform .4s var(--ease), filter .4s; }
.ritual-btn:hover, .plain-btn:hover, .sound-btn:hover { color: var(--ink); }
.ritual-btn:hover svg { transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(var(--amber-rgb), .8)); }
.ritual-btn .rb-txt { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.ritual-btn:hover .rb-txt, .ritual-btn:focus-visible .rb-txt, .ritual-btn.is-call .rb-txt { opacity: 1; transform: none; }
.ritual-btn.is-call { color: var(--amber); }
.ritual-btn.is-call svg { animation: call 2.4s ease-in-out infinite; }
@keyframes call { 50% { filter: drop-shadow(0 0 12px rgba(var(--amber-rgb), .95)); transform: scale(1.1); } }
.sound-btn .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
body.is-muted .sound-btn .dot { background: transparent; box-shadow: none; border: 1px solid var(--dim); }
body.is-gate .corner, body.is-gate .voice, body.is-gate .hint { opacity: 0; pointer-events: none; }
body.in-ritual .bl, body.in-ritual .tr, body.in-ritual .hint { opacity: 0; pointer-events: none; }

/* ---------- ses (varlığın konuşması) ---------- */
.voice {
  position: fixed; left: 50%; bottom: 11vh; z-index: 20; margin: 0; transform: translateX(-50%);
  width: min(92vw, 940px); min-height: 1.3em; text-align: center; pointer-events: none;
  font: italic 400 clamp(22px, 2.9vw, 38px)/1.25 var(--f-serif); color: var(--ink);
  text-shadow: 0 0 24px rgba(255, 160, 110, .28);
  transition: opacity .6s;
}
.voice .gl { width: .5em; height: .82em; stroke-width: 1.05; }
.hint {
  position: fixed; left: 50%; bottom: calc(11vh - 40px); z-index: 20; margin: 0; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .36em; color: var(--dim); opacity: 0; transition: opacity 1.2s; pointer-events: none; white-space: nowrap;
}
.hint.is-on { opacity: 1; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }

/* ---------- mühürler ---------- */
.seals { position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: 0; transition: opacity .7s; }
.seals.is-on { opacity: 1; }
.seals.is-on .seal { pointer-events: auto; }
.seal {
  position: absolute; left: 0; top: 0; width: var(--s, 60px); height: var(--s, 60px);
  margin: calc(var(--s, 60px) / -2) 0 0 calc(var(--s, 60px) / -2);
  border-radius: 50%; text-decoration: none; color: var(--ink); will-change: transform;
}
.seal-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(233, 228, 218, .1); transition: inset .4s var(--ease), border-color .4s; }
.seal-icon { position: absolute; left: 50%; top: 50%; width: 32%; height: 32%; transform: translate(-50%, -50%) scale(.6); opacity: 0; color: var(--c); transition: opacity .35s, transform .45s var(--ease); }
.seal-icon svg { width: 100%; height: 100%; display: block; }
.seal-label { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); text-align: center; white-space: nowrap; pointer-events: none; }
.seal-name { display: block; font: italic 500 18px/1.2 var(--f-serif); color: rgba(255, 222, 186, .82); text-shadow: 0 0 12px rgba(255, 150, 90, .3); }
.seal-name .gl { width: .5em; height: .8em; }
.seal-handle { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .16em; color: var(--dim); opacity: 0; transition: opacity .35s; }
.seal.is-on .seal-ring { inset: -14px; border-color: var(--c); }
.seal.is-on .seal-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 0 10px var(--c)); }
.seal.is-on .seal-handle { opacity: 1; }
.seal.is-on .seal-name { color: #fff; }
.seal { transition: opacity .4s; }
.seals.is-on .seal.is-behind { opacity: .12; pointer-events: none; }
.seal:focus-visible { outline: none; }
.seal:focus-visible .seal-ring { border-style: dashed; border-color: var(--ink); }

/* ---------- basılı tutma ---------- */
.hold { position: fixed; left: 0; top: 0; z-index: 25; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.hold.is-on { opacity: 1; }
.hold svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.hold-bg { fill: none; stroke: rgba(233, 228, 218, .14); stroke-width: 1; }
.hold-arc { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; filter: drop-shadow(0 0 6px var(--amber)); }

/* ---------- imleç ---------- */
.cur { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cur, body.has-cur button, body.has-cur a, body.has-cur canvas { cursor: none; }
  body.has-cur .cur { display: block; }
}
.cur { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur.is-live { opacity: 1; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cur-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--ink); }
.cur-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 1px solid rgba(233, 228, 218, .45); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s; }
.cur.is-near .cur-ring { border-color: rgba(var(--amber-rgb), .8); }
.cur.is-link .cur-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-color: var(--ink); }

/* ---------- giriş kapısı ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000; transition: opacity 1.4s ease; padding: 24px; }
.gate.is-out { opacity: 0; pointer-events: none; }
.gate-inner { text-align: center; }
.gate-line { margin: 0 0 40px; min-height: 1.3em; font: italic 400 clamp(26px, 4.2vw, 46px)/1.2 var(--f-serif); color: var(--ink); }
.gate-line .gl { width: .5em; height: .82em; }
.gate-choices { display: flex; gap: 34px; justify-content: center; opacity: 0; animation: fadein 1.2s 1.6s forwards; }
.gate-choices button { font-size: 11px; letter-spacing: .34em; color: var(--dim); padding: 10px 4px; transition: color .3s, letter-spacing .4s var(--ease); }
.gate-choices button::before { content: '[ '; color: var(--faint); }
.gate-choices button::after { content: ' ]'; color: var(--faint); }
.gate-choices button:hover, .gate-choices button:focus-visible { color: var(--ink); letter-spacing: .42em; }
#enter-sound { color: var(--ink); }
.gate-note { margin: 30px 0 0; font-size: 9px; letter-spacing: .3em; color: var(--faint); opacity: 0; animation: fadein 1.2s 2.4s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* ---------- ritüel ---------- */
.ritual { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.rt-head { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 16px; align-items: baseline; z-index: 3; }
.rt-step { font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.rt-name { font: italic 500 22px/1 var(--f-serif); color: var(--amber); letter-spacing: .06em; text-shadow: 0 0 16px rgba(var(--amber-rgb), .5); }
.rt-name .gl { width: .5em; height: .8em; }
.rt-collected { position: absolute; top: 62px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.slot { width: 30px; height: 40px; display: grid; place-items: center; border: 1px dashed var(--faint); color: var(--amber); transition: border-color .4s, background .4s; }
.slot .gl { width: 16px; height: 27px; filter: drop-shadow(0 0 6px rgba(var(--amber-rgb), .8)); }
.slot.is-full { border-style: solid; border-color: rgba(var(--amber-rgb), .45); background: rgba(var(--amber-rgb), .06); animation: slotin .6s var(--ease); }
@keyframes slotin { from { transform: scale(1.5); background: rgba(var(--amber-rgb), .4); } }
.rt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; touch-action: none; z-index: 1; }
.orbs { position: absolute; inset: 0; z-index: 2; }
.orb {
  position: absolute; left: 0; top: 0; width: var(--s, 60px); height: var(--s, 60px); margin: calc(var(--s, 60px) / -2) 0 0 calc(var(--s, 60px) / -2);
  border-radius: 50%; pointer-events: none; border: 1px solid transparent; transition: border-color .3s, box-shadow .3s; will-change: transform;
}
.orbs.is-live .orb { pointer-events: auto; border-color: rgba(233, 228, 218, .12); }
.orbs.is-live .orb:hover { border-color: var(--c); }
.orb.is-hit { border-color: var(--c); box-shadow: 0 0 30px var(--c), inset 0 0 20px var(--c); }
.rt-hint { position: absolute; left: 50%; bottom: calc(11vh + 64px); transform: translateX(-50%); margin: 0; font-size: 10px; letter-spacing: .3em; color: var(--dim); opacity: 0; transition: opacity .6s; white-space: nowrap; z-index: 3; }
.rt-hint.is-on { opacity: 1; }
.rt-quit { position: absolute; left: 28px; bottom: 24px; font-size: 10px; letter-spacing: .3em; color: var(--faint); pointer-events: auto; z-index: 3; transition: color .3s; }
.rt-quit:hover { color: var(--ink); }
.ritual.is-final .rt-head, .ritual.is-final .rt-quit, .ritual.is-final .rt-hint { opacity: 0; transition: opacity 1s; }

/* ---------- uyanış paneli ---------- */
.final { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 45%, rgba(14, 8, 3, .86), rgba(0, 0, 0, .94) 72%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 1.2s; overflow-y: auto; }
.final.is-on { opacity: 1; }
.final-inner { width: min(600px, 100%); text-align: center; }
.final-k { font-size: 10px; letter-spacing: .34em; color: var(--amber); margin-bottom: 18px; }
.final-t { margin: 0 0 18px; font: italic 400 clamp(34px, 6vw, 60px)/1.05 var(--f-serif); color: #fff6e8; text-shadow: 0 0 40px rgba(var(--amber-rgb), .45); }
.final-msg { margin: 0 auto 14px; max-width: 460px; font: italic 400 20px/1.45 var(--f-serif); color: var(--ink); user-select: text; }
.final-stats { margin: 0 0 26px; font-size: 10px; letter-spacing: .28em; color: var(--dim); }
.final-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.final-links a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid var(--faint); text-decoration: none; font-size: 11px; letter-spacing: .12em; transition: border-color .3s, background .3s; }
.final-links a i { font-style: normal; color: var(--dim); }
.final-links a:hover { border-color: var(--c); background: rgba(255, 255, 255, .03); }
.fl-icon { width: 15px; height: 15px; color: var(--c); }
.fl-icon svg { width: 100%; height: 100%; display: block; }
.final-links a.is-sealed { opacity: .5; }
.final-codex { margin: 0 auto 24px; max-width: 520px; text-align: left; }
.final-codex summary { cursor: pointer; text-align: center; font-size: 10px; letter-spacing: .3em; color: var(--dim); list-style: none; }
.final-codex summary::-webkit-details-marker { display: none; }
.codex { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; margin-top: 16px; }
.cx { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; border: 1px solid var(--faint); }
.cx-g { color: var(--amber); }
.cx-g .gl { width: 14px; height: 24px; }
.cx-l { font: italic 500 15px/1 var(--f-serif); }
.final-actions { display: flex; gap: 26px; justify-content: center; }
.final-actions button { font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.final-actions button:hover { color: var(--ink); }
.final-actions button::before { content: '[ '; color: var(--faint); }
.final-actions button::after { content: ' ]'; color: var(--faint); }

/* ---------- düz liste ---------- */
.plain { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; }
.plain-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadein .3s forwards; opacity: 0; }
.plain-inner { position: relative; width: min(420px, 100%); text-align: center; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.plain-inner h2 { margin: 0 0 6px; font: italic 400 34px/1 var(--f-serif); }
.plain-sub { margin: 0 0 26px; font-size: 10px; letter-spacing: .2em; color: var(--dim); }
#plain-list, #nogl-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 6px; }
#plain-list a, #nogl-list a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--faint); text-decoration: none; text-align: left; transition: border-color .3s, background .3s; }
#plain-list a:hover, #plain-list a:focus-visible, #nogl-list a:hover { border-color: var(--c); background: rgba(255, 255, 255, .03); outline: none; }
.pl-icon { width: 18px; height: 18px; color: var(--c); }
.pl-icon svg { width: 100%; height: 100%; display: block; }
.pl-name { font: italic 500 19px/1 var(--f-serif); }
.pl-handle { font-size: 10px; letter-spacing: .1em; color: var(--dim); }
.plain-x { font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.plain-x:hover { color: var(--ink); }

.nogl { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; align-content: center; gap: 28px; padding: 24px; background: radial-gradient(ellipse at 50% 40%, #1a0a14, #000 70%); }
.nogl-t { margin: 0; font: italic 400 34px/1.2 var(--f-serif); text-align: center; }
#nogl-list { width: min(420px, 100%); }
.nojs { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; font: italic 26px/1.3 var(--f-serif); color: var(--ink); text-align: center; }

@media (max-width: 760px) {
  .tl { top: 18px; left: 18px; }
  .tr { top: 14px; right: 14px; }
  .bl { bottom: calc(18px + env(safe-area-inset-bottom)); left: 18px; }
  .br { bottom: calc(18px + env(safe-area-inset-bottom)); right: 18px; }
  .tl .dim { display: none; }
  .voice { bottom: 14vh; font-size: 23px; }
  .hint { bottom: calc(14vh - 36px); }
  .seal-name { font-size: 15px; }
  .rt-head { top: 16px; }
  .rt-collected { top: 52px; }
  .rt-quit { left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .rt-hint { bottom: calc(14vh + 56px); white-space: normal; width: 86vw; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}
