@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/nr-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: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/nr-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: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/nr-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: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/nr-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; }
/* I Ching Falı — kâğıt ve mürekkep */
:root {
  --paper: #f3eee4;
  --paper-2: #ebe4d6;
  --ink: #1e1c19;
  --ink-2: #4a453e;
  --muted: #776f63;
  --rule: #d8cfbf;
  --red: #b3362b;
  --red-soft: rgba(179, 54, 43, .1);
  --coin: #a8834a;
  --coin-dark: #6f5328;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cjk: "Noto Serif TC", "Songti TC", "SimSun", "PMingLiU", serif;
  --w: 44rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161512;
    --paper-2: #1f1d19;
    --ink: #ece5d8;
    --ink-2: #c4bcae;
    --muted: #9a9183;
    --rule: #34302a;
    --red: #e0705c;
    --red-soft: rgba(224, 112, 92, .12);
    --coin: #c29d5d;
    --coin-dark: #7e6232;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--serif);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* kâğıt dokusu */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.28 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }
.cjk { font-family: var(--cjk); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* üst bar */
.top {
  max-width: 64rem; margin: 0 auto; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.brand svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 1.5rem; font: 500 .95rem/1 var(--sans); }
.nav a { text-decoration: none; color: var(--ink-2); padding: .4rem 0; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--ink); }
@media (max-width: 34rem) { .nav { gap: 1rem; font-size: .9rem; } .brand span { display: none; } }

main { padding: 0 1.5rem; }
.wrap { max-width: var(--w); margin: 0 auto; }
.wide { max-width: 64rem; margin: 0 auto; }

h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 3.5rem 0 1rem; }
h3 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

/* düğmeler */
.btn {
  appearance: none; border: 0; cursor: pointer;
  font: 500 1rem/1 var(--sans);
  background: var(--ink); color: var(--paper);
  padding: 1rem 1.6rem; border-radius: 999px;
  transition: transform .15s ease, opacity .2s;
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .4; cursor: default; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.linkbtn { appearance: none; background: none; border: 0; padding: 0; color: var(--ink-2); font: 500 .95rem var(--sans); cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .2em; }
.linkbtn:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- KEHANET ---------- */
.oracle { text-align: center; padding: 3rem 0 2rem; min-height: calc(100svh - 5rem); display: flex; flex-direction: column; justify-content: center; }
.oracle h1 { margin-bottom: 1rem; }
.oracle .lead { max-width: 32rem; margin: 0 auto 2.5rem; }
.ask { max-width: 30rem; margin: 0 auto; width: 100%; }
.ask label { display: block; font: 500 .95rem var(--sans); color: var(--ink-2); margin-bottom: .6rem; }
.ask textarea {
  width: 100%; resize: none; border: 0; border-bottom: 1px solid var(--rule);
  background: transparent; color: var(--ink);
  font: 400 1.35rem/1.4 var(--serif); text-align: center;
  padding: .5rem 0 .8rem; transition: border-color .3s;
}
.ask textarea:focus { outline: none; border-color: var(--ink); }
.ask textarea::placeholder { color: var(--muted); opacity: .7; font-style: italic; }
.ask .hint { font: .85rem/1.5 var(--sans); color: var(--muted); margin: .8rem 0 2rem; }

.stage { display: none; }
.stage.on { display: block; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.question-echo { font-style: italic; color: var(--ink-2); font-size: 1.15rem; max-width: 30rem; margin: 0 auto 2rem; }

/* paralar */
.coins { display: flex; justify-content: center; gap: clamp(1rem, 4vw, 2rem); perspective: 900px; height: 120px; align-items: center; margin-bottom: 1rem; }
.coin { width: clamp(68px, 18vw, 88px); aspect-ratio: 1; position: relative; transform-style: preserve-3d; }
.coin .face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 50%; }
.coin .back { transform: rotateY(180deg); }
.coin svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(40, 28, 10, .22)); }
.coin.toss { animation: toss 1.1s cubic-bezier(.3, .1, .3, 1) both; }
@keyframes toss {
  0% { transform: translateY(0) rotateY(0) rotateX(0); }
  45% { transform: translateY(-70px) rotateY(calc(var(--spin) * .5)) rotateX(25deg); }
  80% { transform: translateY(4px) rotateY(calc(var(--spin) * .92)) rotateX(-6deg); }
  100% { transform: translateY(0) rotateY(var(--spin)) rotateX(0); }
}
.coins + .tally { font: 500 .95rem var(--sans); color: var(--muted); height: 1.5rem; margin-bottom: 1.5rem; }

/* heksagram çizimi */
.hex { display: flex; flex-direction: column-reverse; gap: 11%; width: 132px; aspect-ratio: 1 / .92; margin: 0 auto; }
.hex .ln { flex: 1; display: flex; justify-content: space-between; position: relative; }
.hex .ln i { display: block; height: 100%; background: var(--ink); width: 100%; border-radius: 1px; }
.hex { filter: url(#brush); }
.hex .ln.yin i { width: 43%; }
.hex .ln.ch i { background: var(--red); }
.hex .ln.ch::after {
  content: ""; position: absolute; right: -22px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border: 1.5px solid var(--red); border-radius: 50%;
}
.hex .ln.ch.yin::after { border-radius: 0; transform: rotate(45deg); }
.hex .ln.new i { animation: draw .7s cubic-bezier(.6, 0, .2, 1) both; }
.hex .ln.new.yin i:first-child { transform-origin: left; }
.hex .ln.new.yin i:last-child { transform-origin: right; animation-delay: .12s; }
@keyframes draw { from { transform: scaleX(0); opacity: .2; } }
.hex.lg { width: 168px; }
.hex.sm { width: 56px; gap: 14%; }
.hex.sm .ln.ch::after { display: none; }
.hex.xs { width: 30px; gap: 16%; }

.building { min-height: 170px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 2rem; }
.building .hex { width: 150px; height: 138px; }
.building .hex .ln { flex: 0 0 9.5%; }
.building .hex.empty .ln { visibility: hidden; }

.progress { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.progress span { width: 6px; height: 6px; border-radius: 50%; background: var(--rule); transition: background .3s, transform .3s; }
.progress span.done { background: var(--ink); }
.progress span.now { transform: scale(1.5); background: var(--ink-2); }

.cast-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* sonuç */
.result { text-align: left; padding-top: 1rem; }
.result-head { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; margin-bottom: 2rem; }
.result-head .num { font: 500 .95rem var(--sans); color: var(--muted); margin-bottom: .4rem; }
.result-head h2 { margin: 0 0 .4rem; font-size: clamp(2rem, 5vw, 2.8rem); }
.result-head .sub { color: var(--ink-2); }
.pair { display: flex; align-items: center; gap: 1.4rem; justify-content: center; padding: 2rem 0; margin: 1rem 0 2.5rem; border-block: 1px solid var(--rule); flex-wrap: wrap; }
.pair a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; min-width: 9rem; }
.pair a:hover .t { text-decoration: underline; text-underline-offset: .2em; }
.pair .arrow { color: var(--muted); font-family: var(--sans); }
.pair .t { font-size: 1.05rem; line-height: 1.3; }
.pair .t small { display: block; font: 500 .8rem var(--sans); color: var(--muted); margin-bottom: .2rem; }
.reveal > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.reveal > *:nth-child(2) { animation-delay: .08s; }
.reveal > *:nth-child(3) { animation-delay: .16s; }
.reveal > *:nth-child(4) { animation-delay: .24s; }
.reveal > *:nth-child(n+5) { animation-delay: .32s; }

.result-tools { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 3rem 0 1rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--paper); font: 500 .9rem var(--sans); padding: .7rem 1.2rem; border-radius: 999px; transition: .3s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- METİN BLOKLARI ---------- */
.block { margin: 2.2rem 0; }
.block h3 { margin: 0 0 .5rem; font-size: 1.05rem; font: 600 .95rem var(--sans); color: var(--muted); }
.block p { margin: 0 0 .8em; }
.judgment { font-size: 1.3rem; line-height: 1.5; }
.image { font-style: italic; color: var(--ink-2); }
.advice { border-left: 2px solid var(--red); padding: .2rem 0 .2rem 1.2rem; font-size: 1.2rem; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 40rem) { .twocol { grid-template-columns: 1fr; gap: 0; } }

.lines { list-style: none; padding: 0; margin: 0; }
.lines li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.lines li:last-child { border-bottom: 1px solid var(--rule); }
.lines .lbl { font: 500 .85rem/1.6 var(--sans); color: var(--muted); padding-top: .15rem; }
.lines li.hit { background: linear-gradient(90deg, var(--red-soft), transparent 70%); margin: 0 -1rem; padding-inline: 1rem; }
.lines li.hit .lbl { color: var(--red); }
.lines p { margin: 0; }

/* ---------- HEKSAGRAM SAYFASI ---------- */
.crumbs { font: 500 .85rem var(--sans); color: var(--muted); margin: 1.5rem 0 2.5rem; }
.crumbs a { color: inherit; }
.hero-hex { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.hero-hex .kicker { font: 500 .95rem var(--sans); color: var(--muted); margin-bottom: .8rem; }
.hero-hex h1 .cjk { font-size: .7em; color: var(--muted); margin-left: .2em; }
.hero-hex .pin { color: var(--ink-2); margin-top: .6rem; }
.hero-hex .hex { animation: none; }
.hero-hex .hex .ln i { animation: draw .7s cubic-bezier(.6, 0, .2, 1) both; }
.hero-hex .hex .ln:nth-child(2) i { animation-delay: .08s; }
.hero-hex .hex .ln:nth-child(3) i { animation-delay: .16s; }
.hero-hex .hex .ln:nth-child(4) i { animation-delay: .24s; }
.hero-hex .hex .ln:nth-child(5) i { animation-delay: .32s; }
.hero-hex .hex .ln:nth-child(6) i { animation-delay: .4s; }
@media (max-width: 34rem) { .hero-hex { grid-template-columns: 1fr; } .hero-hex .hex { margin: 0; width: 110px; order: -1; } }

.tri { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 2.5rem; }
.tri div { border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; }
.tri .s { font-size: 2.2rem; line-height: 1; font-family: var(--cjk); }
.tri small { display: block; font: 500 .8rem var(--sans); color: var(--muted); }
.keys { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.keys span { font: 500 .85rem var(--sans); color: var(--ink-2); border: 1px solid var(--rule); padding: .3rem .75rem; border-radius: 999px; }

.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 4rem 0 2rem; font: 500 .95rem var(--sans); }
.pager a { text-decoration: none; color: var(--ink-2); display: flex; flex-direction: column; gap: .2rem; }
.pager a:hover { color: var(--ink); }
.pager a span { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.pager .n { text-align: right; margin-left: auto; }

.cta { text-align: center; padding: 3rem 1.5rem; border: 1px solid var(--rule); border-radius: 16px; margin: 3rem 0; background: var(--paper-2); }
.cta p { color: var(--ink-2); max-width: 26rem; margin: .6rem auto 1.4rem; }

/* ---------- 64 IZGARA ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin: 2rem 0 4rem; }
.grid a { background: var(--paper); padding: 1.3rem 1rem 1.1rem; text-decoration: none; display: flex; flex-direction: column; gap: .9rem; transition: background .2s; }
.grid a:hover { background: var(--paper-2); }
.grid a:hover .hex .ln i { transform: scaleX(1.06); }
.grid .hex .ln i { transition: transform .3s; }
.grid .meta { display: flex; justify-content: space-between; align-items: baseline; font: 500 .8rem var(--sans); color: var(--muted); }
.grid .nm { font-size: 1.05rem; line-height: 1.25; }
.grid .hex { margin: 0; }
.filter { display: flex; gap: .8rem; align-items: center; margin-top: 2rem; }
.filter input { flex: 1; max-width: 22rem; font: 400 1rem var(--sans); padding: .75rem 1rem; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink); }
.filter input:focus { outline: none; border-color: var(--ink-2); }

/* ---------- ANASAYFA BÖLÜMLERİ ---------- */
.intro { padding: 4rem 0 2rem; border-top: 1px solid var(--rule); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.5rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; }
.steps li::before { content: counter(s); font: 500 .9rem/2.2rem var(--sans); width: 2.2rem; height: 2.2rem; text-align: center; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink-2); }
.steps b { font-weight: 500; }
.valtable { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.valtable th, .valtable td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.valtable th { font: 600 .8rem var(--sans); color: var(--muted); }
.valtable .hex { width: 40px; }

details { border-top: 1px solid var(--rule); padding: 1.1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; font-size: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); color: var(--muted); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .8rem 0 0; color: var(--ink-2); }

.inview { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.inview.seen { opacity: 1; transform: none; }

footer { border-top: 1px solid var(--rule); margin-top: 5rem; padding: 2.5rem 1.5rem 3rem; font: .9rem/1.6 var(--sans); color: var(--muted); }
footer .wide { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .inview { opacity: 1; transform: none; }
}
@media print {
  .top, footer, .result-tools, .cta, .coins, .ask { display: none !important; }
  body::before { display: none; }
}

/* geçmiş okumalar */
.gecmis { max-width: 30rem; margin: 0 auto; text-align: left; }
.gecmis ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.gecmis li a { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--rule); text-decoration: none; font-size: 1rem; }
.gecmis li:last-child a { border-bottom: 1px solid var(--rule); }
.gecmis li a span { font: 500 .8rem/1.9 var(--sans); color: var(--muted); }
.gecmis li a em { font: 500 .85rem/1.9 var(--sans); font-style: normal; color: var(--ink-2); white-space: nowrap; }
.gecmis li a:hover { color: var(--ink); background: var(--paper-2); }
code { font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
@media (max-width: 34rem) {
  .lines li { grid-template-columns: 1fr; gap: .2rem; }
  .result-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .result-head .hex { margin: 0 0 0 0; width: 120px; }
}

/* çok dil, reklam ve küçük parçalar */
.langs { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); width: 100%; }
.langs span { color: var(--ink); }
.ad { margin: 3rem 0; text-align: center; min-height: 120px; }
.ad > span { display: block; font: 500 .75rem var(--sans); color: var(--muted); margin-bottom: .4rem; }
.sub-h { margin: 0 0 .6rem; font-size: 1.35rem; }
.pair.rel { justify-content: flex-start; border: 0; padding: 0; margin: 0 0 1rem; gap: 2rem; }
.hex.xs.one { aspect-ratio: auto; height: 8px; display: block; }
.hex.xs.one .ln { height: 8px; }
.tri-s { font-size: 1.6rem; font-family: var(--cjk); }
.gecmis-t { font: 500 .85rem var(--sans); margin: 3rem 0 .6rem; }
.cast-note { font: .85rem var(--sans); margin-top: 2rem; }

/* konu seçimi */
.topics { border: 0; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; font: 500 .9rem var(--sans); color: var(--ink-2); padding: .5rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); transition: background .2s, color .2s, box-shadow .2s; }
.topics label:hover span { box-shadow: inset 0 0 0 1px var(--ink-2); }
.topics input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.topics input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.daily-teaser { margin: 2rem 0 0; font: 500 .95rem var(--sans); }
.daily-teaser a { color: var(--ink-2); }

/* nefes ritüeli */
.breath { width: 180px; height: 180px; margin: 2rem auto 1.5rem; display: grid; place-items: center; }
.breath span { width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: radial-gradient(circle, var(--red-soft), transparent 70%); transform: scale(1); transition: transform 2.4s cubic-bezier(.45, 0, .55, 1), border-color 2.4s; }
.breath.in span { transform: scale(2.4); border-color: var(--red); }
.breath.out span { transform: scale(1); }
.breath-word { font-size: 1.6rem; min-height: 2.4rem; margin: 0; }
.breath-note { font: .9rem var(--sans); margin: 1rem auto 1.5rem; max-width: 26rem; }

/* paraları elde sallama */
.coins.shaking .coin { animation: jiggle .22s ease-in-out infinite alternate; }
.coins.shaking .coin:nth-child(2) { animation-duration: .19s; animation-delay: -.05s; }
.coins.shaking .coin:nth-child(3) { animation-duration: .25s; animation-delay: -.1s; }
@keyframes jiggle { from { translate: -5px 3px; rotate: -8deg; } to { translate: 5px -4px; rotate: 9deg; } }
#at { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sound { margin-top: 1rem; font-size: .85rem; }

/* kısa cevap */
.short { margin: 0 0 2.5rem; padding: 1.4rem 1.6rem; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--rule); }
.short span { display: block; font: 600 .85rem var(--sans); color: var(--red); margin-bottom: .4rem; }
.short p { margin: 0; font-size: 1.35rem; line-height: 1.45; }
.question-echo.left { text-align: left; margin: 0 0 1.5rem; }
.daily .result-head h2 a { text-decoration: none; }

/* izin çubuğu */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 20; max-width: 40rem; margin: 0 auto; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 10px 30px rgba(30, 20, 10, .12); font: .9rem/1.5 var(--sans); color: var(--ink-2); animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 18rem; }
.consent div { display: flex; gap: .5rem; }
.consent .btn { padding: .65rem 1.1rem; font-size: .9rem; }

/* dil önerisi */
.langbar { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; padding: .6rem 3rem .6rem 1rem; background: var(--ink); color: var(--paper); font: 500 .9rem/1.4 var(--sans); position: relative; text-align: center; }
.langbar a { color: var(--paper); text-decoration-color: currentColor; font-weight: 600; }
.langbar button { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: .3rem .5rem; opacity: .7; }
.langbar button:hover { opacity: 1; }

/* mürekkep nefes ekranı */
#s-breathe { position: relative; }
#s-breathe.on { min-height: min(72svh, 620px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ink-canvas { position: absolute; left: 50%; top: 0; width: min(100vw, 760px); height: 100%; transform: translateX(-50%); z-index: 0; pointer-events: none; transition: opacity .7s ease; -webkit-mask-image: radial-gradient(closest-side at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 45%, #000 55%, transparent 100%); }
.ink-canvas.fade { opacity: 0; }
#s-breathe > :not(canvas) { position: relative; z-index: 1; }
#s-breathe.has-ink .breath { visibility: hidden; }
#s-breathe.has-ink .breath-word { text-shadow: 0 0 12px var(--paper), 0 0 24px var(--paper); }
#s-breathe.has-ink .breath-note, #s-breathe.has-ink .question-echo { text-shadow: 0 0 10px var(--paper); }
.credit { display: inline-block; margin-top: .6rem; color: var(--muted); }

/* paralar: masaya saçılma (üstten bakış) */
.coins.table3 { display: block; position: relative; width: 100%; max-width: 560px; height: clamp(220px, 34vw, 280px); margin: 0 auto 1rem; perspective: none; border-radius: 14px; background: radial-gradient(ellipse at 50% 40%, var(--paper-2), var(--paper)); box-shadow: inset 0 0 0 1px var(--rule), inset 0 18px 40px rgba(60, 40, 10, .08); }
.table3 .coin { position: absolute; left: 0; top: 0; width: clamp(60px, 15vw, 80px); aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.table3 .coin svg { filter: drop-shadow(0 3px 3px rgba(30, 18, 4, .35)); }
@media (prefers-color-scheme: dark) { .coins.table3 { box-shadow: inset 0 0 0 1px var(--rule), inset 0 18px 40px rgba(0, 0, 0, .35); } }

/* nefes: nefes alan heksagram (61. İçten Güven) */
.bhex { display: flex; flex-direction: column-reverse; width: 150px; gap: 12px; margin: 2rem auto 0; transition: gap 2.6s cubic-bezier(.45, 0, .55, 1), transform 2.6s cubic-bezier(.45, 0, .55, 1); }
.bhex.in { gap: 24px; transform: scale(1.1); }
.bhex .l { display: flex; justify-content: space-between; height: 12px; }
.bhex .l i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 1px; transition: width 2.6s cubic-bezier(.45, 0, .55, 1); }
.bhex .l.yin i { width: 42%; }
.bhex.in .l.yin i { width: 38%; }
.bhex { filter: url(#brush); }
.bdots { display: flex; gap: .5rem; justify-content: center; margin: 1.4rem 0 1.2rem; }
.bdots span { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); transition: background .4s; }
.bdots span.on { background: var(--red); }
