/* Zeka Pusulası: Brilliant'tan esinlenen sade, ferah görünüm (kum zemin, serif başlık, ince çizgi) */

/* Yazı tipleri sitede barındırılır (SIL OFL, fonts/ klasörü): dış servise istek gitmez. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/fraunces-latin-wght-normal.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: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/fraunces-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-display: swap; font-weight: 400 700; src: url(../fonts/fraunces-latin-wght-italic.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: 'Fraunces'; font-style: italic; font-display: swap; font-weight: 400 700; src: url(../fonts/fraunces-latin-ext-wght-italic.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/dm-sans-latin-wght-normal.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: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/dm-sans-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: italic; font-display: swap; font-weight: 400 700; src: url(../fonts/dm-sans-latin-wght-italic.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: 'DM Sans'; font-style: italic; font-display: swap; font-weight: 400 700; src: url(../fonts/dm-sans-latin-ext-wght-italic.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  color-scheme: light;
  --oat: #f3f1ed;
  --oat-2: #ebe7e1;
  --white: #ffffff;
  --line: #e6e1da;
  --line-2: #d9d3ca;
  --ink: #1c1b1a;
  --ink-2: #5e5a55;
  --ink-3: #8b8680;
  --green: #2bc25c;
  --green-d: #1f9c46;
  --green-soft: #e6f7ec;
  --red: #e5484d;
  --red-soft: #fdecec;
  --yellow: #ffd23f;
  --yellow-soft: #fff6d1;
  --game: #2bc25c;
  --radius: 24px;
  --shadow-soft: 0 0 30px rgba(0, 0, 0, .06);
  --shadow-card: 0 4px 10px rgba(0, 0, 0, .05);
  --font-d: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--oat); line-height: 1.55; min-height: 100vh; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #7aa7ff; outline-offset: 2px; border-radius: 8px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
em { font-style: italic; }

.display { font-family: var(--font-d); font-weight: 500; font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; }
.display-2 { font-family: var(--font-d); font-weight: 500; font-size: clamp(1.8rem, 3.8vw, 2.6rem); line-height: 1.12; letter-spacing: -0.015em; }
.display-3 { font-family: var(--font-d); font-weight: 500; font-size: 1.8rem; line-height: 1.15; }
.sub { color: var(--ink-2); max-width: 640px; margin: 16px auto 0; font-size: 1.05rem; }

/* ---------- 3B düğmeler ---------- */
.b3d { display: inline-flex; border: 0; padding: 0; background: none; border-radius: 56px; -webkit-tap-highlight-color: transparent; margin-top: 4px; }
.b3d > span {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 15px 30px; border-radius: 56px; font-weight: 600; font-size: 1rem; white-space: nowrap;
  transform: translateY(-4px); transition: transform .1s ease-out, box-shadow .1s ease-out;
}
.b3d:active > span { transform: none; box-shadow: none !important; }
.b3d-green > span { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-d); text-shadow: 0 0 3px rgba(0, 0, 0, .2); }
.b3d-green:hover > span { background: #3ccb6a; }
.b3d-white > span { background: var(--white); color: var(--ink-2); box-shadow: 0 4px 0 #dcdad8; }
.b3d-white:hover > span { color: var(--ink); box-shadow: 0 4px 0 #c6c3c0; }
.b3d.wide { min-width: min(320px, 100%); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 56px; padding: 12px 24px; font-weight: 600; font-size: 1rem;
  background: var(--white); color: var(--ink); box-shadow: 0 4px 0 #dcdad8, inset 0 0 0 1px var(--line);
  transition: transform .1s ease-out, box-shadow .1s ease-out;
}
.btn:active:not(:disabled) { transform: translateY(4px); box-shadow: inset 0 0 0 1px var(--line); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-d); }
.btn-primary:active:not(:disabled) { box-shadow: none; }
.btn-primary:disabled { background: #e4e1dc; color: #a29d97; box-shadow: 0 4px 0 #d3cfc9; }
.btn-ghost { color: var(--ink-2); }
.btn-big { padding: 15px 32px; font-size: 1.05rem; }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.linkish { border: 0; background: none; color: var(--ink-3); margin-top: 10px; text-decoration: underline; }

/* ---------- Hap menü ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 30; padding: 0 16px; }
.nav {
  max-width: 1176px; margin: 0 auto; height: 58px; padding: 0 8px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand .mascot { filter: none; }
.nav-title { font-family: var(--font-d); font-size: 1.25rem; font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 6px; }
.pill-stat, .pill-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: .92rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.pill-btn { color: var(--ink); }
.pill-btn:hover { border-color: var(--line-2); }
.pill-btn .avatar { font-size: 1.15rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: inline-grid; place-items: center; font-size: 1rem; }

/* ---------- Maskot ve konuşma ---------- */
.mascot { display: block; flex: none; }
.float .mascot, .guide .mascot { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
.guide { display: flex; align-items: flex-end; gap: 12px; }
.guide-row { margin: 20px 0; }
.bubble { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; padding: 14px 18px; font-size: 1.05rem; box-shadow: var(--shadow-card); max-width: 600px; }

/* ---------- Ana sayfa ---------- */
.home { overflow-x: clip; }
.wrap { max-width: 1176px; margin: 0 auto; padding: 0 20px; }
.reveal { animation: reveal .9s cubic-bezier(.22, 1, .36, 1) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 20px 40px; }
.honors { display: flex; gap: 18px; margin-bottom: 26px; color: #b9b4ad; }
.honor { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; }
.hero .lead { color: var(--ink-3); margin-top: 20px; font-size: 1.08rem; max-width: 520px; }
.cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.cta-row .b3d { min-width: 220px; }
.hero-note { margin-top: 18px; color: var(--ink-3); font-size: .92rem; }

.feature {
  max-width: 1176px; margin: 10px auto 70px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 32px; padding: 24px 56px 24px 24px;
  animation-delay: .2s;
}
.feature-visual { position: relative; aspect-ratio: 3 / 2; border-radius: 22px; box-shadow: var(--shadow-soft); display: grid; place-items: center; overflow: hidden; transition: background .6s; }
.feature-list { list-style: none; padding: 26px 0 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-list button { border: 0; background: none; padding: 0; text-align: left; font-size: 1.35rem; font-weight: 600; line-height: 1.3; color: var(--ink); transition: color .2s; }
.feature-list li:not(.open) button { color: var(--ink-3); }
.feature-list li:not(.open) button:hover { color: var(--ink-2); }
.feature-text { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s ease, opacity .3s ease; }
.feature-text > p { overflow: hidden; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.feature-list li.open .feature-text { grid-template-rows: 1fr; opacity: 1; }
.feature-list li.open .feature-text > p { padding-top: 10px; }

/* Özellik kartı içindeki küçük canlandırmalar */
.mock { background: var(--white); border-radius: 20px; padding: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, .1); animation: mockIn .6s cubic-bezier(.22, 1, .36, 1); transform: rotate(-2deg); max-width: 78%; }
@keyframes mockIn { from { opacity: 0; transform: translateY(16px) rotate(-4deg); } }
.mock p { font-size: .95rem; color: var(--ink); margin-bottom: 12px; }
.mock .mini { margin: 0 auto 14px; }
.mock-bar { height: 6px; background: var(--oat-2); border-radius: 99px; margin-bottom: 14px; overflow: hidden; }
.mock-bar span { display: block; height: 100%; background: var(--green); }
.mock-opts { display: flex; gap: 8px; justify-content: center; }
.mock-opts span { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; }
.mock-opts .right { border-color: var(--green); background: var(--green-soft); color: var(--green-d); }
.mock-daily { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 300px; }
.mock-daily .game-art { width: 100%; }
.mock-chip { font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; background: var(--oat); }
.mock-path { display: flex; flex-direction: column; gap: 10px; padding: 26px 40px; }
.mock-path span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; background: var(--oat-2); color: var(--ink-3); box-shadow: 0 4px 0 #d8d3cc; }
.mock-path .done { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #d9ad1c; }
.mock-path .now { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-d); outline: 5px solid var(--green-soft); }
.mock-stars { text-align: center; padding: 30px 40px; }
.stars-big { font-size: 3.4rem; color: #f5b301; letter-spacing: 6px; line-height: 1; text-shadow: 0 4px 0 #dba006; }
.mock-badges { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.mock-badges span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: var(--yellow-soft); border: 2px solid #f3d35e; }

.band { padding: 84px 0; }
.band-white { background: var(--white); box-shadow: 0 -2px 24px rgba(10, 31, 20, .036); }
.band-oat { background: var(--oat); }

.segmented {
  position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr);
  width: min(480px, 100%); height: 52px; margin: 34px auto 0; padding: 0;
  background: rgba(0, 0, 0, .05); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
}
.segmented::before {
  content: ''; position: absolute; top: 0; left: 0; height: 100%; width: calc(100% / var(--n));
  background: var(--white); border-radius: 999px; box-shadow: 0 0 6px rgba(0, 0, 0, .25);
  transform: translateX(calc(var(--i) * 100%)); transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.segmented button { position: relative; z-index: 1; border: 0; background: none; color: var(--ink-3); font-size: .95rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
.segmented button span { filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.segmented button.on { color: var(--ink); font-weight: 700; }
.segmented button.on span { filter: none; opacity: 1; }

.world-panel { margin-top: 30px; }
.world-desc { text-align: center; color: var(--ink-3); margin-bottom: 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gcard {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s;
  animation: reveal .6s cubic-bezier(.22, 1, .36, 1) backwards;
}
.gcard:nth-child(2) { animation-delay: .07s; } .gcard:nth-child(3) { animation-delay: .14s; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); }
.card-art { aspect-ratio: 16 / 10; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 10%, var(--oat)); border-bottom: 1px solid var(--line); }
.card-art .game-art { width: 78%; height: auto; transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.gcard:hover .game-art { transform: scale(1.06) rotate(-1deg); }
.gcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gcard h3 { font-size: 1.15rem; font-weight: 600; }
.gcard p { color: var(--ink-2); font-size: .95rem; line-height: 1.5; flex: 1; }
.gcard .ext { color: var(--ink-3); }
.gcard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.tags { color: var(--ink-3); font-size: .85rem; }
.go { font-size: .88rem; font-weight: 700; color: var(--c); white-space: nowrap; }
.new { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; letter-spacing: .03em; }
.bar { height: 8px; background: var(--oat-2); border-radius: 99px; overflow: hidden; margin: 12px 0 6px; }
.bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; transition: width .6s; }
.bar.thin { height: 5px; margin: 8px 0 0; }
.bar.thin span { background: var(--c); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.tile h3 { font-size: 1.25rem; font-weight: 600; }
.tile p { color: var(--ink-2); margin-top: 6px; font-size: .95rem; }
.tile small { color: var(--ink-3); font-weight: 600; }
.week { display: flex; gap: 6px; margin-top: 18px; }
.week span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; color: var(--ink-3); font-weight: 600; flex: 1; }
.week i { width: 100%; max-width: 30px; aspect-ratio: 1; border-radius: 50%; background: var(--oat-2); }
.week .lit i { background: #ff9f43; box-shadow: 0 3px 0 #e0801f; }
.week .today { color: var(--ink); }
.badge-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.bdg { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--oat); color: var(--ink-3); font-size: 1.2rem; }
.bdg.got { background: var(--yellow-soft); border: 2px solid #f3d35e; }

.closing { position: relative; background: #151413; color: #f6f3ee; overflow: hidden; }
.grid-band { position: absolute; inset: 0; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='52' viewBox='0 0 90 52'%3E%3Cpath d='M0 0L90 52M0 52L90 0' stroke='%23E0DBD5' fill='none'/%3E%3C/svg%3E"); background-size: 90px 52px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; padding: 96px 20px; }
.closing .mascot { margin: 0 auto; }

.footer { background: #000; color: #f6f3ee; padding: 64px 0 0; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-h { color: #77736d; margin-bottom: 4px; }
.foot-cols a { color: #fff; border-bottom: 2px solid transparent; }
.foot-cols a:hover { border-color: #5b8cff; }
.foot-note { color: #77736d; font-size: .9rem; max-width: 300px; }
.wordmark { font-family: var(--font-d); font-weight: 600; font-size: clamp(3.5rem, 15vw, 13rem); line-height: .9; letter-spacing: -0.03em; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1.5px #454545; margin-top: 70px; transform: translateY(18%); }

/* ---------- Modal ve bildirimler ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(28, 27, 26, .4); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.modal { background: var(--white); border-radius: 32px; padding: 30px 26px; width: min(440px, 100%); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); animation: pop .4s cubic-bezier(.22, 1.3, .36, 1); max-height: 92vh; overflow: auto; }
.modal .mascot { margin: 0 auto 6px; }
.modal h2 { margin: 6px 0; }
.modal .b3d { margin-top: 10px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.85) translateY(10px); opacity: 0; } }
.name-input { width: 100%; font: inherit; font-size: 1.1rem; font-weight: 600; padding: 14px 18px; border-radius: 16px; border: 2px solid var(--line); text-align: center; margin: 16px 0 8px; background: var(--oat); }
.name-input:focus { outline: none; border-color: var(--green); background: var(--white); }
.avatar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 16px; }
.avatar-opt { font-size: 1.6rem; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--line); background: var(--white); transition: transform .15s; }
.avatar-opt.on { border-color: var(--green); background: var(--green-soft); transform: scale(1.1); }
.toasts { position: fixed; z-index: 60; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); animation: up .35s cubic-bezier(.22, 1.3, .36, 1); transition: opacity .4s, transform .4s; }
.toast.out { opacity: 0; transform: translateY(10px); }
.toast-icon { font-size: 1.3rem; }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* ---------- Oyun sayfası ---------- */
.play-main { max-width: 760px; margin: 0 auto; padding: 34px 20px 64px; }
.game-hero { display: flex; gap: 22px; align-items: center; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.game-hero-art { width: 190px; flex: none; aspect-ratio: 16 / 10; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 10%, var(--oat)); }
.game-hero-art .game-art { width: 82%; }
.game-hero h1 { font-family: var(--font-d); font-weight: 500; font-size: 2.3rem; line-height: 1.1; }
.game-hero p { margin: 6px 0 12px; color: var(--ink-2); }
.skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill { font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--oat); color: var(--ink-2); border: 1px solid var(--line); }
.section-title { font-family: var(--font-d); font-weight: 500; font-size: 1.6rem; margin: 40px 0 18px; }

.level-path { list-style: none; padding: 8px 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.level-node { display: flex; align-items: center; gap: 16px; }
.level-node:nth-child(4n+2), .level-node:nth-child(4n) { margin-left: 12%; }
.level-node:nth-child(4n+3) { margin-left: 24%; }
.level-btn {
  width: 70px; height: 70px; flex: none; border-radius: 50%; border: 0;
  font-family: var(--font-d); font-size: 1.7rem; font-weight: 600; color: #fff;
  background: var(--green); box-shadow: 0 5px 0 var(--green-d); transition: transform .1s;
}
.level-btn:active:not(:disabled) { transform: translateY(5px); box-shadow: none; }
.level-node.done .level-btn { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 #d9ad1c; }
.level-node.locked .level-btn { background: var(--oat-2); color: var(--ink-3); box-shadow: 0 5px 0 #d8d3cc; font-size: 1.2rem; }
.level-node.current .level-btn { animation: pulse 1.6s ease-in-out infinite; outline: 6px solid var(--green-soft); }
.level-info { display: flex; flex-direction: column; line-height: 1.25; }
.level-info b { font-weight: 600; font-size: 1.05rem; }
.level-info small { color: var(--ink-3); }
.level-node.locked .level-info { opacity: .5; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }

.play-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 20px; }
.play-title { display: flex; flex-direction: column; text-align: center; line-height: 1.2; }
.play-title b { font-family: var(--font-d); font-weight: 500; font-size: 1.35rem; }
.play-title small { color: var(--ink-3); }
.stats { display: flex; gap: 6px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; font-size: .88rem; white-space: nowrap; color: var(--ink-2); }
.stat b { color: var(--ink); }
.board { display: flex; flex-direction: column; align-items: center; gap: 16px; min-height: 280px; }
.loading { text-align: center; color: var(--ink-3); padding: 40px 0; }
.loading .mascot { margin: 0 auto 8px; }
.tools { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.tool {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 78px; padding: 9px 12px;
  border-radius: 18px; border: 0; background: var(--white); font-weight: 600; font-size: .82rem; color: var(--ink-2);
  box-shadow: 0 4px 0 #dcdad8, inset 0 0 0 1px var(--line);
}
.tool span { font-size: 1.25rem; line-height: 1.1; }
.tool:active { transform: translateY(4px); box-shadow: inset 0 0 0 1px var(--line); }
.star-rule { text-align: center; color: var(--ink-3); font-size: .85rem; margin-top: 16px; }

.win h2 { font-family: var(--font-d); font-weight: 500; font-size: 2.2rem; }
.win-stars { display: flex; justify-content: center; align-items: flex-end; gap: 4px; font-size: 3.2rem; line-height: 1; margin: 8px 0 14px; }
.win-stars span { color: var(--oat-2); transform: scale(0); animation: starIn .5s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.win-stars span.on { color: #f5b301; text-shadow: 0 4px 0 #dba006; }
.win-stars span:nth-child(2) { font-size: 4rem; }
@keyframes starIn { to { transform: scale(1); } }
.win-facts { display: flex; justify-content: center; gap: 8px; font-weight: 600; }
.win-facts span { background: var(--oat); border: 1px solid var(--line); padding: 4px 14px; border-radius: 99px; }
.xp-gain { color: var(--green-d); }
.level-up { background: var(--yellow-soft); border-radius: 14px; padding: 10px; font-weight: 600; margin-top: 12px; }
.win-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

/* ---------- Sayı ızgarası ---------- */
.ng-wrap { width: min(100%, var(--gw, 440px)); container-type: inline-size; }
.size-3 { --gw: 300px; } .size-4 { --gw: 340px; } .size-5 { --gw: 400px; }
.size-6 { --gw: 440px; } .size-7 { --gw: 480px; } .size-9 { --gw: 520px; }
.ng { display: grid; grid-template-columns: repeat(var(--cols), 1fr); border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); }
.ng-cell {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 0;
  border: 0; border-right: 1px solid #e3ded6; border-bottom: 1px solid #e3ded6; background: var(--white);
  font-family: var(--font); font-weight: 500; font-size: calc(100cqi / var(--cols) * .5); color: var(--game);
  transition: background .12s;
}
.ng-cell.br { border-right: 2.5px solid var(--ink); }
.ng-cell.bb { border-bottom: 2.5px solid var(--ink); }
.ng-cell.given { color: var(--ink); font-weight: 600; }
.ng-cell.hinted { color: var(--green-d); background: var(--green-soft); }
.ng-cell.peer { background: #faf8f5; }
.ng-cell.same { background: color-mix(in srgb, var(--game) 14%, #fff); }
.ng-cell.sel { background: var(--yellow-soft); box-shadow: inset 0 0 0 2.5px var(--yellow); }
.ng-cell.bad { color: var(--red); background: var(--red-soft); }
.ng-cell.wrong { animation: wrongFlash 1.6s; }
@keyframes wrongFlash { 0%, 60% { background: #ffc9c9; } }
.ng-val { line-height: 1; animation: popIn .18s; }
@keyframes popIn { from { transform: scale(.4); } }
.ng-notes { position: absolute; inset: 3px; display: grid; grid-template-columns: repeat(var(--nc), 1fr); font-size: calc(100cqi / var(--cols) * .19); color: var(--ink-3); font-weight: 600; line-height: 1; }
.ng-notes span { display: grid; place-items: center; }
.cage-label { position: absolute; top: 3px; left: 5px; font-family: var(--font); font-size: calc(100cqi / var(--cols) * .2); font-weight: 700; color: var(--ink); line-height: 1; }
.ng.solved { animation: solvedGlow 1s; }
@keyframes solvedGlow { 50% { box-shadow: 0 0 0 10px var(--green-soft), var(--shadow-soft); } }

.kakuro .ng-block, .kk-clue { background: #2b2a28; }
.kakuro .kk-split, .kk-split { background: linear-gradient(to top right, transparent calc(50% - .8px), #77736d 50%, transparent calc(50% + .8px)), #2b2a28; }
.kk-across, .kk-down { position: absolute; color: #fff; font-family: var(--font); font-weight: 700; font-size: calc(100cqi / var(--cols) * .25); line-height: 1; }
.kk-across { top: 9%; right: 11%; }
.kk-down { bottom: 9%; left: 11%; }
.kk-legend { display: flex; gap: 18px; align-items: center; justify-content: center; }
.kk-legend .big { width: 96px; height: 96px; border-radius: 14px; container-type: inline-size; --cols: 1; }
.kk-legend .big span { font-size: 28px; }
.kk-legend p { margin: 4px 0; }

.pad { display: grid; grid-template-columns: repeat(var(--pad-cols), 1fr); gap: 8px; width: min(100%, 520px); }
.pad-btn {
  border: 0; border-radius: 16px; padding: 10px 0; background: var(--white);
  font-family: var(--font); font-weight: 600; font-size: 1.4rem; color: var(--ink);
  box-shadow: 0 4px 0 #dcdad8, inset 0 0 0 1px var(--line); transition: transform .08s;
}
.pad-btn:active { transform: translateY(4px); box-shadow: inset 0 0 0 1px var(--line); }
.pad-erase, .pad-note { font-size: .95rem; color: var(--ink-2); }
.pad-note.on { background: var(--yellow-soft); box-shadow: 0 4px 0 #e8c64a, inset 0 0 0 2px var(--yellow); color: var(--ink); }

/* ---------- Sihirli Sayı ---------- */
.magic { width: 100%; }
.round-dots { display: flex; gap: 8px; justify-content: center; }
.round-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--oat-2); transition: transform .2s; }
.round-dots span.done { background: var(--green); }
.round-dots span.now { background: var(--ink); transform: scale(1.3); }
.magic-target { text-align: center; }
.magic-target small { display: block; font-size: .75rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }
.magic-target b { display: inline-block; font-family: var(--font-d); font-weight: 500; font-size: 4.6rem; line-height: 1; color: var(--ink); }
.magic-pot { min-height: 66px; width: min(100%, 520px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 12px; background: var(--white); border: 1.5px dashed var(--line-2); border-radius: 20px; font-weight: 600; font-size: 1.2rem; }
.magic-pot .chip { background: var(--oat); padding: 2px 12px; border-radius: 99px; }
.magic-pot i { font-style: normal; color: var(--ink-3); }
.magic-pot b.over { color: var(--red); }
.magic-pot b.eq { color: var(--green-d); }
.pot-empty { color: var(--ink-3); font-size: .95rem; font-weight: 500; }
.magic-msg { min-height: 1.6em; text-align: center; }
.magic-msg.warn { color: #c2410c; }
.magic-msg.ok { color: var(--green-d); }
.magic-deck { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(100%, 560px); }
.fib-card {
  width: 68px; height: 90px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--white);
  font-family: var(--font-d); font-size: 1.6rem; font-weight: 600; color: var(--ink);
  box-shadow: 0 4px 0 #dcdad8; transition: transform .15s;
}
.fib-card:hover { transform: translateY(-3px); }
.fib-card.on { background: var(--game); border-color: var(--game); color: #fff; transform: translateY(-8px) rotate(-3deg); box-shadow: 0 4px 0 color-mix(in srgb, var(--game) 65%, #000); }
.fib-card.dim { opacity: .4; }
.fib-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.fib-row span { min-width: 50px; height: 62px; padding: 0 6px; display: grid; place-items: center; border-radius: 12px; background: var(--white); border: 1.5px solid var(--line-2); font-family: var(--font-d); font-size: 1.5rem; font-weight: 600; }
.fib-row span.q { border-style: dashed; background: var(--yellow-soft); }
.fib-eq { font-family: var(--font-d); font-size: 1.6rem; text-align: center; }
.fib-eq span { background: var(--white); border: 1.5px solid var(--line-2); padding: 0 .35em; border-radius: 8px; }

/* ---------- Ders ---------- */
.lesson { max-width: 680px; margin: 0 auto; }
.lesson-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.lesson-bar { flex: 1; height: 8px; background: var(--oat-2); border-radius: 99px; overflow: hidden; }
.lesson-bar span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.lesson-title { color: var(--ink-3); font-size: .9rem; white-space: nowrap; }
.lesson-body { display: flex; flex-direction: column; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.lesson-body.enter { animation: slideIn .4s cubic-bezier(.22, 1, .36, 1); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
.lesson-body .guide { align-items: flex-start; }
.lesson-body .bubble { border: 0; box-shadow: none; padding: 6px 0 0; font-size: 1.12rem; line-height: 1.6; background: none; }
.lesson-visual:empty { display: none; }
.lesson-visual { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.option { border: 2px solid var(--line); border-radius: 16px; background: var(--white); padding: 14px 10px; font-size: 1.1rem; font-weight: 600; box-shadow: 0 3px 0 var(--line); transition: border-color .15s; }
.option:hover:not(:disabled) { border-color: var(--line-2); }
.option.right { border-color: var(--green); background: var(--green-soft); color: var(--green-d); box-shadow: 0 3px 0 #a9e3bd; }
.option.wrong { border-color: var(--red); background: var(--red-soft); color: var(--red); opacity: .75; }
.feedback { min-height: 0; font-size: 1rem; }
.feedback.ok, .feedback.no { padding: 14px 18px; border-radius: 16px; animation: up .25s; }
.feedback.ok { background: var(--green-soft); color: #14532d; }
.feedback.no { background: #fff4e5; color: #9a3412; }
.lesson-actions { display: flex; justify-content: flex-end; }
.try-area { --gw: 320px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.op-cards { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.op-cards span { background: var(--oat); border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px; font-weight: 600; }

.mini { display: grid; width: max-content; grid-template-columns: repeat(var(--cols), 52px); border: 2.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--white); }
.mini-cell { position: relative; height: 52px; display: grid; place-items: center; font-size: 1.45rem; font-weight: 600; border-right: 1px solid #e3ded6; border-bottom: 1px solid #e3ded6; }
.mini-cell.br { border-right: 2.5px solid var(--ink); }
.mini-cell.bb { border-bottom: 2.5px solid var(--ink); }
.mini-cell.hl { background: #f4f1ec; }
.mini-cell.q { background: var(--yellow-soft); box-shadow: inset 0 0 0 2.5px var(--yellow); }
.mini-cell .cage-label { font-size: .72rem; }

.game-art { display: block; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; padding: 16px; gap: 16px; margin: 0 16px 56px; }
  .feature-list { padding: 4px 8px 12px; }
  .feature-list button { font-size: 1.15rem; }
  .trio { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .nav { padding: 0 6px 0 14px; height: 54px; }
  .brand { font-size: 1.1rem; }
  .hero { padding: 40px 20px 30px; }
  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .b3d { width: 100%; }
  .band { padding: 60px 0; }
  .mock { max-width: 88%; padding: 16px; }
  .mock .mini { grid-template-columns: repeat(var(--cols), 40px); }
  .mock .mini-cell { height: 40px; font-size: 1.1rem; }
  .game-hero { flex-direction: column; text-align: center; }
  .game-hero .skills { justify-content: center; }
  .game-hero-art { width: 100%; max-width: 260px; }
  .play-head { grid-template-columns: auto 1fr; }
  .stats { grid-column: 1 / -1; justify-content: center; }
  .level-node:nth-child(4n+2), .level-node:nth-child(4n) { margin-left: 8%; }
  .level-node:nth-child(4n+3) { margin-left: 16%; }
  .lesson-body { padding: 20px; }
  .fib-card { width: 56px; height: 76px; font-size: 1.35rem; }
  .mini { grid-template-columns: repeat(var(--cols), 44px); }
  .mini-cell { height: 44px; font-size: 1.25rem; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .win-stars span { transform: none; }
}

/* ---------- İç sayfa menüsü (sekmeli) ---------- */
.topnav {
  position: sticky; top: 0; z-index: 30; height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.tabs { display: flex; align-self: stretch; gap: 6px; }
.tab { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--ink-3); font-weight: 500; }
.tab:hover { color: var(--ink-2); }
.tab.on { color: var(--ink); }
.tab.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ink); }
.tab-ico { display: grid; }

/* ---------- Kurs düzeni: solda sabit kart, sağda yol ---------- */
.play-main.wide { max-width: 1176px; }
.course { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: 56px; align-items: start; }
.course-card { position: sticky; top: 96px; background: var(--white); border: 2px solid var(--line); border-radius: 28px; padding: 34px; }
.course-art { width: 150px; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, var(--oat)); margin-bottom: 26px; }
.course-art .game-art { width: 125%; max-width: none; }
.course-card h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.course-card > p { color: var(--ink-2); font-size: 1.08rem; margin: 12px 0 20px; }
.course-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 500; }
.course-card .bar { margin-top: 20px; }
.course-card .bar span { background: var(--game); }

.path { display: flex; flex-direction: column; gap: 30px; padding-bottom: 80px; }
.unit-head {
  position: sticky; top: 80px; z-index: 5; text-align: center; padding: 12px 16px;
  background: var(--white); border: 2px solid color-mix(in srgb, var(--game) 55%, #fff); border-radius: 20px;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--game) 55%, #fff);
}
.unit-head small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--game); }
.unit-head b { font-weight: 500; font-size: 1.1rem; }
.pnodes { list-style: none; margin: 0; padding: 34px 0 0; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.pnode { position: relative; display: flex; align-items: center; gap: 18px; transform: translateX(var(--x)); width: 320px; }
.pnode-label { display: flex; flex-direction: column; font-size: 1.05rem; line-height: 1.3; }
.pnode-label small { color: var(--ink-3); font-size: .85rem; }
.pnode.locked .pnode-label { color: var(--ink-3); }

/* 3B kaide diski */
.disc { --top: #ebe8e4; --ring: #dcd8d2; --side: #c3beb7; position: relative; flex: none; width: 104px; height: 74px; border: 0; padding: 0; background: none; -webkit-tap-highlight-color: transparent; }
.disc::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62px; border-radius: 50%; background: var(--side); }
.disc-top {
  position: absolute; left: 0; right: 0; top: 0; height: 62px; border-radius: 50%;
  background: var(--top); box-shadow: inset 0 0 0 9px var(--ring), inset 0 -4px 10px rgba(0, 0, 0, .05);
  display: grid; place-items: center; transition: transform .12s ease-out;
}
.disc:active .disc-top { transform: translateY(10px); }
.disc-face { font-size: 1.15rem; font-weight: 700; color: var(--ink-3); letter-spacing: 1px; }
.pnode.done .disc { --top: #ffe27a; --ring: #f5c935; --side: #d9a51b; }
.pnode.done .disc-face { color: #8a5a00; font-size: .9rem; }
.pnode.open .disc { --top: #fff; --ring: color-mix(in srgb, var(--game) 35%, #fff); --side: color-mix(in srgb, var(--game) 45%, #bbb); }
.pnode.open .disc-face { color: var(--game); }
.pnode.current .disc { --top: #fff; --ring: var(--game); --side: color-mix(in srgb, var(--game) 70%, #000); }
.pnode.current .disc-top { box-shadow: inset 0 0 0 7px color-mix(in srgb, var(--game) 30%, #fff), inset 0 0 0 14px var(--game), 0 0 0 6px color-mix(in srgb, var(--game) 18%, transparent); }
.pnode.current .disc-face { color: var(--game); font-size: 1.3rem; }
.pnode.current .disc::after { content: ''; position: absolute; inset: -10px -12px -6px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--game) 35%, transparent); animation: ripple 1.8s ease-out infinite; pointer-events: none; }
@keyframes ripple { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.15); } }
.disc-buddy { position: absolute; left: 22px; top: -54px; z-index: 2; pointer-events: none; }
.disc-buddy .mascot { animation: bob 2.4s ease-in-out infinite; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .12)); }
.pnode.current { margin-top: 30px; }

.pop {
  width: min(420px, 100%); transform: translateX(var(--x)); margin-top: -8px;
  background: var(--white); border: 2px solid var(--line); border-radius: 28px; padding: 26px 24px 22px; text-align: center;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--game) 18%, transparent); animation: popIn2 .35s cubic-bezier(.22, 1.3, .36, 1);
}
@keyframes popIn2 { from { opacity: 0; transform: translateX(var(--x)) translateY(-8px) scale(.96); } }
.pop b { display: block; font-size: 1.35rem; font-weight: 700; }
.pop p { color: var(--ink-2); margin: 6px 0 14px; }
.pop .b3d { width: 100%; }
.b3d-game > span { background: var(--game); color: #fff; box-shadow: 0 4px 0 color-mix(in srgb, var(--game) 65%, #000); }
.b3d-game:hover > span { filter: brightness(1.06); }
.b3d-off > span { background: var(--oat-2); color: var(--ink-3); box-shadow: 0 4px 0 #d3cfc9; }

@media (max-width: 900px) {
  .course { grid-template-columns: 1fr; gap: 30px; }
  .course-card { position: static; padding: 24px; display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: center; }
  .course-art { width: 96px; margin: 0; grid-row: span 2; }
  .course-card h1 { font-size: 1.6rem; }
  .course-card > p { margin: 4px 0 0; font-size: .98rem; }
  .course-stats, .course-card .bar, .course-card > small { grid-column: 1 / -1; }
  .course-stats { margin-top: 16px; }
  .unit-head { top: 72px; }
}
@media (max-width: 640px) {
  .topnav { padding: 0 10px; gap: 6px; }
  .tab { padding: 0 10px; }
  .tab-label { display: none; }
  .tab.on::after { left: 8px; right: 8px; }
  .pnode { width: 250px; gap: 12px; }
  .pnode-label { font-size: .95rem; }
  .disc { width: 88px; height: 64px; }
  .disc::before, .disc-top { height: 53px; }
  .disc-buddy { left: 15px; }
}
