:root {
  --paper: #eef0eb;
  --paper-2: #dfe3dc;
  --ink: #18221f;
  --muted: #6c7069;
  --line: rgba(24, 34, 31, .16);
  --forest: #163f35;
  --coral: #b13b28;
  --blue: #70a9bc;
  --gold: #e3ad4f;
  --green: #6c936f;
  --cream: #f9faf6;
  --shadow: 0 24px 70px rgba(42, 35, 24, .12);
  --display: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: visible;
}
body.dark {
  --paper: #18211e;
  --paper-2: #202b27;
  --ink: #f4ecdc;
  --muted: #b8b8ad;
  --line: rgba(255,255,255,.15);
  --cream: #29352f;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
em { color: var(--coral); font-weight: 400; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 1000; background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: color-mix(in srgb, var(--paper) 82%, transparent); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-size: .9rem; letter-spacing: -.02em; }
.brand strong { font-family: var(--display); font-size: 1.12rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 18%; background: var(--coral); color: white; font: italic 700 1.4rem var(--display); transform: rotate(-8deg); }
.main-nav { display: flex; gap: 2rem; }
.main-nav a { position: relative; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -.45rem; width: 100%; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-button, .menu-button { border: 1px solid var(--line); color: var(--ink); background: color-mix(in srgb, var(--paper) 45%, transparent); cursor: pointer; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; }
.menu-button { display: none; padding: .55rem .85rem; border-radius: 999px; font-size: .78rem; }
.mobile-menu { position: fixed; z-index: 99; inset: 76px 1rem auto 1rem; padding: .8rem; background: var(--cream); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.mobile-menu a { display: block; padding: .8rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

.scroll-world { height: 600vh; background: #efe4d0; position: relative; }
.world-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 1400px; }
.world-sky { position: absolute; inset: 0; background: radial-gradient(circle at 70% 24%, rgba(255,255,255,.95), transparent 24%), linear-gradient(155deg, #f7eddc 0%, #eadcc6 56%, #d2c7ae 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .65; }
.orb-one { width: 33vw; aspect-ratio: 1; background: rgba(255, 189, 136, .35); left: -10vw; top: 15%; }
.orb-two { width: 26vw; aspect-ratio: 1; background: rgba(130, 181, 181, .3); right: 4vw; bottom: 5%; }
.grain { position: absolute; inset: 0; opacity: .17; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.world-camera { position: absolute; inset: 0; will-change: transform; transform-style: preserve-3d; }
.world-scene { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(280px, .82fr) 1.18fr; align-items: center; gap: 5vw; padding: 7rem clamp(1.25rem, 7vw, 8rem) 4rem; opacity: 0; visibility: hidden; transform-style: preserve-3d; }
.world-scene.active { opacity: 1; visibility: visible; }
.scene-copy { position: relative; z-index: 4; max-width: 580px; opacity: var(--copy-opacity, 1); transform: translate3d(0, var(--copy-y, 0), 0); will-change: opacity, transform; }
.eyebrow, .kicker { margin: 0 0 1.25rem; color: var(--coral); font-size: .8rem; line-height: 1.2; font-weight: 800; letter-spacing: .12em; }
.scene-copy h1, .scene-copy h2, .section-heading h2, .classroom-intro h2, .quiz-copy h2, .presentation-copy h2, .sources-heading h2 { margin: 0; font: 400 clamp(3.3rem, 7vw, 6rem)/.88 var(--display); letter-spacing: -.035em; }
.scene-copy h2 { font-size: clamp(3rem, 6.2vw, 6rem); }
.hero-lead, .scene-copy > p:not(.eyebrow) { max-width: 540px; margin: 1.65rem 0 2.2rem; color: #4f574f; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.primary-button { display: inline-flex; align-items: center; gap: 2rem; min-width: 205px; justify-content: space-between; padding: .95rem 1.15rem; border: 0; border-radius: .25rem; background: var(--coral); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 800; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,35,32,.2); }
.primary-button.light { background: #fbf0df; color: #18332d; }
.primary-button.dark { background: var(--ink); color: var(--paper); }
.scene-chip { display: inline-flex; padding: .58rem .85rem; border: 1px solid rgba(24,34,31,.18); border-radius: 999px; color: #4e5750; font-size: .78rem; font-weight: 700; }

.diorama { position: relative; justify-self: center; width: min(54vw, 730px); aspect-ratio: 1.18; transform: translate3d(var(--diorama-x, 0), var(--diorama-y, 0), 0) rotateX(57deg) rotateZ(-36deg) scale(var(--diorama-scale, 1)); transform-style: preserve-3d; filter: drop-shadow(0 55px 40px rgba(72,60,42,.2)); will-change: transform, opacity; opacity: var(--diorama-opacity, 1); }
.island-base { position: absolute; inset: 15% 9% 13%; border-radius: 16% 20% 14% 24%; background: #d8a87b; transform: translateZ(0); box-shadow: inset -30px -28px 0 rgba(89,60,41,.17), inset 20px 15px 0 rgba(255,255,255,.18); }
.island-base::after { content: ''; position: absolute; inset: 5%; border-radius: inherit; background: #759073; transform: translateZ(22px); box-shadow: inset -24px -18px 0 rgba(37,75,59,.18); }
.book, .open-book, .poem-stage, .tiny-house, .story-block, .arch, .type-tower, .pen-nib { transform-style: preserve-3d; }
.book { position: absolute; width: 31%; height: 18%; top: 42%; z-index: 2; border-radius: 7px; transform: translateZ(55px); }
.book::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #b64f3d; box-shadow: 0 10px 0 #8c3e31, inset 0 4px rgba(255,255,255,.2); }
.book i { position: absolute; inset: 22% 15%; border: 2px solid #efcc97; border-width: 2px 0; z-index: 3; }
.book-left { left: 17%; transform: translateZ(62px) rotateZ(14deg); }
.book-right { right: 15%; top: 47%; transform: translateZ(48px) rotateZ(-12deg); }
.book-right::before { background: #315e56; box-shadow: 0 10px 0 #20443d, inset 0 4px rgba(255,255,255,.2); }
.open-book { position: absolute; z-index: 4; top: 25%; left: 34%; width: 39%; height: 30%; transform: translateZ(100px) rotateZ(7deg); }
.open-book::before, .open-book::after { content: ''; position: absolute; width: 50%; height: 100%; background: #fff3d6; border-radius: 6px 14px 14px 6px; }
.open-book::after { right: 0; transform: scaleX(-1); }
.open-book i { position: absolute; z-index: 2; left: 49.3%; top: 4%; width: 2px; height: 90%; background: #d2b78e; }
.quill { position: absolute; z-index: 5; top: 13%; right: 25%; width: 5%; height: 42%; border-radius: 100% 0 100% 0; background: #f3b464; transform: translateZ(160px) rotateZ(25deg); box-shadow: inset -8px -4px rgba(126,70,42,.18); }
.quill::after { content: ''; position: absolute; width: 3px; height: 130%; background: #553b2c; left: 50%; top: 10%; }
.floating-letter { position: absolute; z-index: 7; font: 700 2.2rem var(--display); color: #2b5650; transform: translateZ(180px) rotateZ(36deg) rotateX(-57deg); animation: float 4s ease-in-out infinite; }
.l1 { left: 26%; top: 18%; } .l2 { right: 18%; top: 21%; animation-delay: -1.4s; } .l3 { right: 28%; bottom: 23%; animation-delay: -2.2s; }
@keyframes float { 50% { margin-top: -18px; } }

.diorama-poem .island-base::after { background: #78958b; }
.poem-stage { position: absolute; z-index: 4; left: 28%; top: 24%; width: 46%; height: 36%; padding: 8% 6%; background: #f8e9cf; border-radius: 8px; transform: translateZ(85px); box-shadow: 0 12px 0 #d8b995; }
.poem-stage span { display: block; border-bottom: 2px solid #bd7b62; color: #674437; font: italic 700 1.1rem var(--display); padding: 3% 0; }
.moon { position: absolute; z-index: 6; top: 11%; right: 15%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: #f4c96e; transform: translateZ(160px); box-shadow: 0 12px 28px rgba(58,47,31,.22); }
.reed { position: absolute; z-index: 5; width: 5px; height: 27%; background: #31584b; transform-origin: bottom; transform: translateZ(60px) rotateZ(8deg); }
.reed::after { content: ''; position: absolute; top: -8%; left: -5px; width: 14px; height: 30px; border-radius: 50%; background: #a87448; }
.r1 { left: 18%; bottom: 22%; } .r2 { left: 22%; bottom: 20%; height: 22%; } .r3 { right: 20%; bottom: 17%; height: 32%; }
.note { position: absolute; z-index: 7; font-size: 2rem; color: #b85142; transform: translateZ(190px) rotateZ(36deg) rotateX(-57deg); animation: float 3.5s ease-in-out infinite; }
.n1 { left: 20%; top: 20%; } .n2 { left: 50%; top: 12%; animation-delay: -1s; } .n3 { right: 22%; top: 42%; animation-delay: -2s; }

.diorama-meaning .island-base::after { background: #7091a0; }
.tiny-house { position: absolute; z-index: 4; left: 36%; top: 27%; width: 31%; height: 30%; background: #f2d5aa; transform: translateZ(65px); box-shadow: 0 13px 0 #bd8468, inset -24px 0 rgba(131,75,55,.12); }
.tiny-house::before { content: ''; position: absolute; width: 113%; height: 55%; left: -6%; top: -36%; background: #a54d42; clip-path: polygon(50% 0,100% 100%,0 100%); }
.tiny-house i { position: absolute; bottom: 0; left: 18%; width: 22%; height: 48%; background: #603f34; }
.tiny-house b { position: absolute; top: 22%; right: 17%; width: 20%; aspect-ratio: 1; background: #f6c765; border: 4px solid #715044; box-shadow: 0 8px 18px rgba(58,47,31,.24); }
.path { position: absolute; z-index: 3; left: 46%; top: 55%; width: 15%; height: 34%; background: #dcc6a3; transform: translateZ(25px) rotateZ(-4deg); clip-path: polygon(28% 0,72% 0,100% 100%,0 100%); }
.lamp { position: absolute; z-index: 7; left: 25%; top: 38%; width: 8px; height: 25%; background: #2e443e; transform: translateZ(80px); }
.lamp::before { content: ''; position: absolute; top: -16px; left: -12px; width: 30px; height: 22px; border-radius: 50% 50% 10% 10%; background: #f3bd5e; box-shadow: 0 10px 24px rgba(28,34,31,.22); }
.tree { position: absolute; z-index: 5; width: 8%; height: 28%; background: #594536; transform: translateZ(50px); }
.tree i { position: absolute; width: 300%; aspect-ratio: 1; left: -100%; top: -80%; border-radius: 50%; background: #325e4a; box-shadow: -18px 16px #3c7058, 20px 12px #2c5342; }
.t1 { right: 18%; top: 37%; } .t2 { left: 18%; top: 26%; transform: translateZ(40px) scale(.8); }
.question { position: absolute; z-index: 8; color: #fff2d4; font: 700 2.4rem var(--display); transform: translateZ(190px) rotateZ(36deg) rotateX(-57deg); animation: float 4s ease-in-out infinite; }
.q1 { left: 33%; top: 11%; } .q2 { right: 19%; top: 20%; animation-delay: -1.6s; }

.diorama-structure .island-base::after { background: #b99c61; }
.story-block { position: absolute; z-index: 4; display: grid; place-items: center; width: 20%; height: 19%; border-radius: 4px; color: #fff5df; font: 700 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; background: #b75843; transform: translateZ(45px); box-shadow: 0 10px 0 #843a2d; }
.b1 { left: 20%; top: 28%; } .b2 { left: 43%; top: 22%; background: #315e56; box-shadow: 0 10px 0 #23433d; transform: translateZ(80px); }
.b3 { right: 17%; top: 39%; background: #507e8b; box-shadow: 0 10px 0 #385b65; transform: translateZ(62px); }
.b4 { left: 34%; bottom: 19%; background: #cd9144; box-shadow: 0 10px 0 #95682f; transform: translateZ(50px); }
.arch { position: absolute; z-index: 5; right: 24%; top: 16%; width: 18%; height: 34%; border: 18px solid #f0dfbd; border-bottom: 0; border-radius: 50% 50% 0 0; transform: translateZ(115px); }
.arrow { position: absolute; z-index: 8; color: #633d31; font-size: 2.5rem; transform: translateZ(150px) rotateZ(36deg) rotateX(-57deg); }
.a1 { left: 38%; top: 44%; } .a2 { left: 57%; top: 51%; }

.diorama-language .island-base::after { background: #40695a; }
.type-tower { position: absolute; z-index: 5; display: flex; align-items: end; justify-content: center; width: 18%; height: 34%; padding-bottom: 8%; color: #f8ead1; background: #c35b45; box-shadow: 0 13px 0 #8e3e31; font: 700 .8rem var(--sans); transform: translateZ(62px); }
.tt1 { left: 20%; top: 31%; height: 40%; } .tt2 { left: 42%; top: 23%; background: #d7a94e; box-shadow: 0 13px 0 #9e7933; transform: translateZ(105px); }
.tt3 { right: 18%; top: 38%; height: 28%; background: #6fa0aa; box-shadow: 0 13px 0 #4c737b; transform: translateZ(70px); }
.speech { position: absolute; z-index: 8; color: #fff2db; font: 700 6rem/.7 var(--display); transform: translateZ(190px) rotateZ(36deg) rotateX(-57deg); }
.s1 { left: 27%; top: 13%; } .s2 { right: 21%; top: 18%; }
.pen-nib { position: absolute; z-index: 7; right: 31%; bottom: 17%; width: 13%; height: 27%; background: #e7c78c; clip-path: polygon(50% 0,100% 75%,50% 100%,0 75%); transform: translateZ(110px) rotateZ(8deg); }
.pen-nib::after { content: ''; position: absolute; left: 45%; top: 32%; width: 10%; height: 50%; background: #5a4637; }

.scene-four { background: linear-gradient(135deg, rgba(22,63,53,.92), rgba(28,74,62,.92)); color: #fff7e9; }
.scene-four .scene-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.world-progress { position: absolute; z-index: 10; left: clamp(1rem,4vw,4rem); bottom: 2rem; display: flex; align-items: center; gap: 1rem; color: #3e4d47; font-size: .63rem; letter-spacing: .15em; font-weight: 800; }
.progress-track { width: 100px; height: 2px; background: rgba(24,34,31,.2); }
.progress-track i { display: block; width: 100%; height: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.progress-count b { font-size: .9rem; }
.scroll-hint { position: absolute; z-index: 10; right: clamp(1rem,4vw,4rem); bottom: 1.5rem; display: flex; align-items: center; gap: .75rem; color: #4d5a54; font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
.scroll-hint i { position: relative; width: 24px; height: 37px; border: 1px solid currentColor; border-radius: 15px; }
.scroll-hint i::after { content: ''; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: currentColor; border-radius: 2px; }
@keyframes wheel { 0% { transform: translate(-50%,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%,12px); opacity: 0; } }

.section { padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.section-heading .kicker { grid-column: 1 / -1; margin-bottom: -1rem; }
.section-heading h2, .classroom-intro h2, .quiz-copy h2, .presentation-copy h2, .sources-heading h2 { font-size: clamp(2.8rem, 5.2vw, 5.8rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 490px; }
.section-heading.compact { grid-template-columns: 1fr .65fr; }
.section-route { background: var(--paper); }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.route-card { position: relative; min-height: 490px; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); background: color-mix(in srgb, var(--cream) 55%, transparent); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.route-card::before { content: ''; position: absolute; inset: auto -20% -22% auto; width: 170px; aspect-ratio: 1; border-radius: 50%; background: var(--card-color); opacity: .16; transition: transform .4s; }
.route-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.route-card:hover::before { transform: scale(1.4); }
.route-card[data-color="coral"] { --card-color: var(--coral); } .route-card[data-color="blue"] { --card-color: var(--blue); } .route-card[data-color="gold"] { --card-color: var(--gold); } .route-card[data-color="green"] { --card-color: var(--green); }
.route-number { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 2.7rem; border-radius: 50%; background: var(--card-color); color: #fff; font: 700 1rem var(--display); }
.route-type { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.route-card h3 { margin: .35rem 0 .7rem; font: 400 2rem/1 var(--display); }
.route-card > p:not(.route-type) { color: var(--muted); font-size: .9rem; }
.route-card ul { margin: 1rem 0 2rem; padding: 0; list-style: none; font-size: .82rem; }
.route-card li { padding: .42rem 0; border-bottom: 1px solid var(--line); }
.route-card li::before { content: '·'; color: var(--card-color); margin-right: .5rem; font-weight: 900; }
.text-button { margin-top: auto; display: flex; justify-content: space-between; width: 100%; padding: .85rem 0 0; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: none; font-size: .76rem; font-weight: 800; cursor: pointer; }
.text-button span { transition: transform .2s; }.text-button:hover span { transform: translateX(5px); }
.route-detail-link { display:inline-block; margin-top:.7rem; color:var(--ink); font-size:.7rem; font-weight:800; text-underline-offset:4px; }

.section-classroom { background: var(--forest); color: #f6eddd; }
.classroom-intro { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4rem; }
.progress-card { display: flex; align-items: center; gap: 1rem; max-width: 340px; padding: 0; border: 0; background: transparent; }
.progress-card p { margin: .2rem 0 0; color: #d4ddd7; font-size: .8rem; }
.progress-ring { --percent: 0; flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--coral) calc(var(--percent) * 1%), rgba(255,255,255,.1) 0); position: relative; }
.progress-ring::after { content: ''; position: absolute; inset: 6px; background: var(--forest); border-radius: 50%; }
.progress-ring span { position: relative; z-index: 1; font-size: .7rem; font-weight: 800; }
.lesson-shell { min-height: 670px; display: grid; grid-template-columns: 250px 1fr; border: 1px solid rgba(255,255,255,.15); background: #f5ecdc; color: #1c2924; box-shadow: 0 35px 80px rgba(0,0,0,.18); }
.lesson-sidebar { padding: 1.25rem; border-right: 1px solid rgba(24,34,31,.14); background: #ece0cc; }
.sidebar-title { margin: 0 0 1rem; padding: .8rem; color: #74766e; font-size: .64rem; font-weight: 800; letter-spacing: .15em; }
.lesson-tab { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .9rem .75rem; border: 0; border-bottom: 1px solid rgba(24,34,31,.1); text-align: left; color: #35423d; background: transparent; font-size: .82rem; cursor: pointer; transition: background .2s, color .2s; }
.lesson-tab span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(24,34,31,.16); border-radius: 50%; font-size: .7rem; }
.lesson-tab.active { background: #1d4a3f; color: #fff; }
.lesson-tab.active span { border-color: rgba(255,255,255,.3); background: var(--coral); }
.lesson-content { padding: clamp(1.5rem, 4vw, 4rem); outline: none; }
.lesson-head { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(24,34,31,.14); }
.lesson-meta { color: #b75b47; font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.lesson-head h3 { margin: .5rem 0 .8rem; font: 400 clamp(2.6rem, 4.3vw, 4.5rem)/.95 var(--display); letter-spacing: -.04em; }
.lesson-head p { max-width: 650px; color: #68706c; }
.complete-button { align-self: start; flex: 0 0 auto; padding: .65rem .85rem; border: 1px solid rgba(24,34,31,.2); border-radius: 999px; background: transparent; color: #24332d; font-size: .8rem; font-weight: 800; cursor: pointer; }
.complete-button.done { background: #1d4a3f; color: #fff; border-color: #1d4a3f; }
.lesson-blocks { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.25rem; margin-top: 1.5rem; }
.lesson-block { padding: 1.35rem; border: 1px solid rgba(24,34,31,.14); background: #fff9ec; }
.lesson-block.wide { grid-column: 1 / -1; }
.lesson-block h4 { margin: 0 0 .7rem; font: 700 1.2rem var(--display); }
.lesson-block p, .lesson-block li { color: #5e6863; font-size: .88rem; }
.lesson-block ul { padding-left: 1.15rem; }
.example { margin-top: 1rem; padding: 1rem; border: 1px solid color-mix(in srgb,var(--coral) 35%,transparent); background: #f4e8d4; font: italic 1rem/1.55 var(--display); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.compare-table th, .compare-table td { padding: .75rem; text-align: left; border-bottom: 1px solid rgba(24,34,31,.12); }
.compare-table th { color: #1d4a3f; }
.quick-check { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .9rem; }
.quick-check button { padding: .55rem .75rem; border: 1px solid rgba(24,34,31,.18); background: #fffaf0; cursor: pointer; }
.quick-check button.correct { background: #dcebdc; border-color: #6c936f; }.quick-check button.wrong { background: #f5d7cf; border-color: #c86953; }

.section-library { background: var(--paper-2); }
.library-tabs { display: flex; gap: .7rem; margin-bottom: 2rem; }
.library-tab { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; cursor: pointer; }
.library-tab.active { background: var(--ink); color: var(--paper); }
.author-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.author-card { min-height: 330px; position: relative; display: flex; flex-direction: column; justify-content: end; padding: 1.5rem; color: #fff9ec; overflow: hidden; background: var(--author-color); }
.author-card::before { content: attr(data-initials); position: absolute; right: -1rem; top: -2rem; color: rgba(255,255,255,.12); font: 700 9rem var(--display); }
.author-era { position: absolute; top: 1.25rem; left: 1.25rem; padding: .4rem .55rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .62rem; letter-spacing: .08em; }
.author-card h3 { position: relative; margin: 0; font: 400 2rem/1 var(--display); }
.author-card p { position: relative; margin: .65rem 0 .9rem; color: rgba(255,255,255,.72); font-size: .82rem; }
.author-work { position: relative; display: flex; justify-content: space-between; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .75rem; }
.term-search { position: relative; display: block; max-width: 600px; margin: 0 auto 2rem; }
.term-search input { width: 100%; padding: 1rem 3rem 1rem 1rem; border: 1px solid var(--line); background: var(--cream); color: var(--ink); outline: none; }
.term-search input:focus { border-color: var(--coral); }
.term-search > span:last-child { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; }
.term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.term-card { padding: 1.2rem; border: 1px solid var(--line); background: color-mix(in srgb, var(--cream) 68%, transparent); }
.term-card b { display: block; margin-bottom: .45rem; font: 700 1.2rem var(--display); color: var(--coral); }
.term-card p { margin: 0; color: var(--muted); font-size: .82rem; }

.section-quiz { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 850px; align-items: center; gap: 7vw; background: #dfb451; color: #222d28; }
.quiz-visual { position: relative; width: min(37vw, 500px); aspect-ratio: 1; justify-self: center; }
.quiz-center { position: absolute; inset: 28%; display: grid; place-items: center; border-radius: 50%; background: #1c493e; color: #fff3dc; font: 700 8rem var(--display); box-shadow: 0 30px 60px rgba(23,34,30,.2); }
.quiz-orbit { position: absolute; inset: 5%; border: 1px dashed rgba(34,45,40,.35); border-radius: 50%; animation: orbit 22s linear infinite; }
.quiz-orbit span { position: absolute; display: grid; place-items: center; width: 70px; aspect-ratio: 1; border-radius: 50%; background: #f5e5c0; font: 700 1.4rem var(--display); box-shadow: 0 10px 25px rgba(23,34,30,.14); animation: reverseOrbit 22s linear infinite; }
.quiz-orbit span:nth-child(1) { left: 42%; top: -8%; }.quiz-orbit span:nth-child(2) { right: -8%; top: 43%; }.quiz-orbit span:nth-child(3) { left: 42%; bottom: -8%; }.quiz-orbit span:nth-child(4) { left: -8%; top: 43%; }
@keyframes orbit { to { transform: rotate(360deg); } } @keyframes reverseOrbit { to { transform: rotate(-360deg); } }
.quiz-copy > p:not(.kicker) { max-width: 590px; }
.quiz-box { max-width: 680px; min-height: 250px; margin-top: 2rem; padding: 1.5rem; background: #f7e8c8; box-shadow: 0 20px 50px rgba(23,34,30,.12); }
.quiz-stats { display: flex; gap: 1.6rem; margin-bottom: 2rem; }
.quiz-stats span { color: #68706a; font-size: .8rem; }.quiz-stats b { display: block; color: #24322c; font: 700 1.6rem var(--display); }
.quiz-question-head { display: flex; justify-content: space-between; color: #8a7654; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.quiz-progress { height: 4px; margin: .8rem 0 1.4rem; background: #ddcda9; }.quiz-progress i { display: block; height: 100%; background: var(--coral); }
.quiz-question { margin: 0 0 1rem; font: 700 1.5rem/1.2 var(--display); }
.quiz-options { display: grid; gap: .6rem; }
.quiz-option { padding: .75rem; border: 1px solid #d6c5a4; text-align: left; background: #fff6e1; cursor: pointer; }
.quiz-option:hover { border-color: #7b8d81; }.quiz-option.correct { background: #dcead9; border-color: #648565; }.quiz-option.wrong { background: #f3d3c9; border-color: #b45c4a; }
.quiz-explanation { margin: 1rem 0; padding: .8rem; border: 1px solid color-mix(in srgb,var(--coral) 35%,transparent); background: rgba(255,255,255,.38); font-size: .82rem; }
.quiz-next { float: right; padding: .65rem 1rem; border: 0; background: #1d4a3f; color: white; cursor: pointer; }
.score-circle { display: grid; place-items: center; width: 100px; height: 100px; margin-bottom: 1rem; border-radius: 50%; background: #1d4a3f; color: white; font: 700 2rem var(--display); }

.section-presentation { background: var(--paper); }
.presentation-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5vw; padding: clamp(2rem, 5vw, 5rem); background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); }
.presentation-copy p:last-child { color: var(--muted); }
.presentation-steps { margin: 0; padding: 0; list-style: none; }
.presentation-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.presentation-steps li > span { color: var(--coral); font: 700 1.1rem var(--display); }
.presentation-steps strong { font: 700 1.2rem var(--display); }
.presentation-steps p { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }

.section-sources { background: #192c27; color: #f6eddd; }
.section-sources { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6vw; }
.source-list a { display: grid; grid-template-columns: 50px 1fr 30px; gap: 1rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,.15); text-decoration: none; transition: transform .2s; }
.source-list a:hover { transform: translateX(.7rem); }
.source-list a > span { color: var(--coral); font: 700 1rem var(--display); }
.source-list strong, .source-list small { display: block; }.source-list small { margin-top: .25rem; color: rgba(255,255,255,.55); }
.source-note { grid-column: 2; max-width: 700px; color: rgba(255,255,255,.7); font-size: .8rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.5rem clamp(1.25rem,7vw,8rem); background: #101c18; color: rgba(255,255,255,.68); font-size: .78rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }.footer-brand p { margin: 0; }.site-footer a { color: #fff; text-decoration: none; }

.search-dialog { width: min(720px, calc(100% - 2rem)); max-height: 75vh; padding: 0; border: 1px solid var(--line); background: var(--cream); color: var(--ink); box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.search-dialog::backdrop { background: rgba(12,22,18,.58); backdrop-filter: blur(4px); }
.search-head { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
.search-head input { width: 100%; padding: 1.15rem; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 1.05rem; }
.search-head button { margin: .75rem; padding: .3rem .55rem; border: 1px solid var(--line); border-radius: .35rem; color: var(--muted); background: transparent; cursor: pointer; }
.search-results { max-height: 55vh; overflow: auto; padding: .8rem; }
.search-result { display: block; width: 100%; padding: .9rem; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); background: transparent; cursor: pointer; }
.search-result:hover { background: var(--paper-2); }.search-result b { display: block; font-family: var(--display); }.search-result span { color: var(--muted); font-size: .75rem; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 1.5rem; transform: translate(-50%, 30px); padding: .75rem 1rem; border-radius: 999px; background: #101c18; color: #fff; font-size: .78rem; opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s, transform .7s; }.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { display: none; }.menu-button { display: block; }
  .world-scene { grid-template-columns: .9fr 1.1fr; gap: 1vw; padding-left: 4vw; padding-right: 3vw; }
  .diorama { width: 59vw; right: -4vw; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }.route-card { min-height: 430px; }
  .author-grid, .term-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 1rem; }.brand > span:last-child { display: none; }.mobile-menu { top: 66px; }
  .scroll-world { height: 540vh; }.world-sticky { min-height: 100svh; }
  .world-scene { display: block; padding: 7rem 1.25rem 6rem; }
  .scene-copy { max-width: 95%; }.scene-copy h1, .scene-copy h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-lead, .scene-copy > p:not(.eyebrow) { max-width: 90%; font-size: .95rem; }
  .diorama { position: absolute; width: 95vw; right: -28vw; bottom: 2vh; opacity: .48; }
  .world-progress { bottom: 1.1rem; }.scroll-hint { display: none; }
  .section { padding: 5.5rem 1.15rem; }.section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: 1rem; }.section-heading .kicker { margin-bottom: 0; }
  .route-grid { grid-template-columns: 1fr; }.route-card { min-height: 420px; }
  .classroom-intro { display: block; }.progress-card { margin-top: 2rem; }
  .lesson-shell { display: block; }.lesson-sidebar { display: flex; gap: .5rem; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(24,34,31,.14); }.sidebar-title { display: none; }.lesson-tab { flex: 0 0 auto; width: auto; border: 1px solid rgba(24,34,31,.12); }.lesson-head { display: block; }.complete-button { margin-top: 1rem; }.lesson-blocks { grid-template-columns: 1fr; }.lesson-block.wide { grid-column: auto; }
  .author-grid, .term-grid { grid-template-columns: 1fr; }
  .section-quiz { grid-template-columns: 1fr; min-height: auto; }.quiz-visual { width: 68vw; }.quiz-center { font-size: 5rem; }.quiz-orbit span { width: 50px; }.quiz-stats { gap: 1rem; }
  .presentation-card { grid-template-columns: 1fr; }.section-sources { grid-template-columns: 1fr; }.source-note { grid-column: 1; }
  .site-footer { align-items: flex-start; flex-direction: column; }.site-footer > p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-world { height: 100vh; }.world-scene:not(.scene-intro) { display: none; }.scene-intro { opacity: 1 !important; visibility: visible !important; }.scroll-hint, .world-progress { display: none; }
}

/* Yenilenen hikâye haritası sahnesi */
.scene-three .diorama { width: min(46vw, 620px); }
.diorama-storymap .island-base { inset: 12% 8% 12%; }
.diorama-storymap .island-base::after { background: linear-gradient(145deg, #d6b66f, #b88f55); box-shadow: inset -24px -18px 0 rgba(87, 59, 28, .13); }
.map-book { position: absolute; z-index: 4; left: 28%; top: 22%; width: 45%; height: 39%; transform: translateZ(72px) rotateZ(2deg); filter: drop-shadow(0 16px 8px rgba(76, 48, 25, .18)); }
.map-book::before, .map-book::after { content: ''; position: absolute; width: 50%; height: 100%; border-radius: 8px 18px 14px 7px; background: #fff2d4; }
.map-book::after { right: 0; transform: scaleX(-1); }
.map-book i { position: absolute; z-index: 2; left: 49.6%; top: 4%; width: 2px; height: 91%; background: #d0af7f; }
.map-book b { position: absolute; z-index: 3; left: 12%; top: 23%; width: 75%; height: 52%; border: 2px dashed #c7856c; border-width: 2px 0; opacity: .68; }
.map-line { position: absolute; z-index: 6; left: 19%; top: 60%; width: 64%; height: 4px; background: #294e46; transform: translateZ(58px); }
.map-line span { position: absolute; top: 50%; width: 15px; height: 15px; border: 4px solid #fff1d6; border-radius: 50%; background: #d25f49; transform: translate(-50%, -50%); }
.map-line span:nth-child(1) { left: 0; }.map-line span:nth-child(2) { left: 33%; }.map-line span:nth-child(3) { left: 66%; }.map-line span:nth-child(4) { left: 100%; }
.map-card { position: absolute; z-index: 7; display: grid; place-items: center; width: 16%; height: 12%; border-radius: 7px; color: #fff4df; background: #315f56; transform: translateZ(82px); box-shadow: 0 8px 0 rgba(46, 48, 33, .2); }
.map-card small { font-size: .7rem; opacity: .78; }.map-card strong { font-size: .8rem; letter-spacing: .04em; text-transform: none; }
.mc1 { left: 13%; top: 48%; }.mc2 { left: 35%; top: 63%; background: #bd5c48; }.mc3 { right: 25%; top: 50%; background: #4f8290; }.mc4 { right: 8%; top: 64%; background: #d19d4b; }
.map-lens { position: absolute; z-index: 9; right: 19%; top: 16%; width: 16%; aspect-ratio: 1; border: 9px solid #315149; border-radius: 50%; transform: translateZ(145px); box-shadow: inset 0 0 0 5px rgba(255, 246, 222, .5); }
.map-lens::after { content: ''; position: absolute; width: 55%; height: 9px; right: -43%; bottom: -25%; border-radius: 8px; background: #315149; transform: rotate(42deg); transform-origin: left; }

/* Portreli yazar kartları */
.author-card { text-decoration: none; padding: 0; isolation: isolate; }
.author-card::before { z-index: 1; }
.author-card::after { content: ''; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--author-color) 92%, #101c18) 92%); }
.author-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.12) contrast(1.06); mix-blend-mode: luminosity; opacity: .86; transition: transform .6s, filter .6s; }
.author-card:hover > img { transform: scale(1.055); filter: grayscale(.2) sepia(.08) contrast(1.03); }
.author-overlay { position: relative; z-index: 4; padding: 5rem 1.5rem 1.5rem; }
.author-card .author-era { z-index: 5; }
.author-card h3, .author-card p, .author-card .author-work { position: relative; }

/* Sınav merkezi */
.section-exams { background: #e7eae5; color: #24312c; }
.section-exams .section-heading > p:last-child { color: #65583e; }
.exam-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.exam-card { min-height: 300px; display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid rgba(35, 48, 43, .18); background: #f3f5f0; transition: transform .3s, box-shadow .3s; }
.exam-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(23, 34, 30, .14); }
.exam-card.general { grid-column: span 2; color: #fff7e8; background: #183f35; }
.exam-card-index { display: flex; justify-content: space-between; color: #8f7041; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.exam-card.general .exam-card-index { color: #e8af58; }
.exam-card h3 { margin: 2.4rem 0 .6rem; font: 400 2rem/1 var(--display); }
.exam-card p { margin: 0 0 1.5rem; color: #69716b; font-size: .85rem; }
.exam-card.general p { color: rgba(255,255,255,.6); }
.exam-card button { margin-top: auto; width: 100%; display: flex; justify-content: space-between; padding: .8rem 0; border: 0; border-top: 1px solid currentColor; color: inherit; background: none; font-size: .76rem; font-weight: 800; cursor: pointer; }
.exam-workspace { margin-top: 2rem; padding: clamp(1.2rem, 4vw, 3rem); background: #f4f6f2; box-shadow: 0 25px 60px rgba(23, 34, 30, .12); }
.exam-workspace[hidden] { display: none; }
.exam-topbar { display: flex; justify-content: space-between; gap: 2rem; align-items: start; margin-bottom: 1.4rem; }
.exam-topbar h3 { margin: 0; font: 400 clamp(2rem, 4vw, 3.7rem)/1 var(--display); }
.exam-close { border: 1px solid rgba(35,48,43,.2); border-radius: 999px; padding: .55rem .75rem; background: transparent; cursor: pointer; }
.exam-meter { height: 5px; margin-bottom: 1.8rem; background: #dccba7; }.exam-meter i { display: block; height: 100%; background: var(--coral); }
.exam-question-label { color: #9a633f; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.exam-question h4 { margin: .65rem 0 1.25rem; max-width: 780px; font: 700 clamp(1.35rem, 2.6vw, 2rem)/1.25 var(--display); }
.exam-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.exam-option { min-height: 58px; padding: .8rem; border: 1px solid #c8cec8; text-align: left; background: #fbfcf9; cursor: pointer; }
.exam-option.selected { border-color: #1d4a3f; background: #dfe9df; }
.frq-answer { width: 100%; min-height: 170px; padding: 1rem; resize: vertical; border: 1px solid #c8cec8; color: #26332d; background: #fbfcf9; outline: none; }
.frq-answer:focus { border-color: #1d4a3f; outline: 3px solid rgba(29,74,63,.2); outline-offset: 2px; }
.exam-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.exam-nav button { padding: .7rem 1rem; border: 1px solid #293b34; background: transparent; cursor: pointer; }
.exam-nav .next { background: #1d4a3f; color: #fff; }
.question-dots { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: center; }
.question-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d1c09c; }.question-dots i.done { background: #1d4a3f; }.question-dots i.current { outline: 2px solid var(--coral); outline-offset: 2px; }
.result-hero { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid #d6c39c; }
.result-score { display: grid; place-items: center; width: 130px; aspect-ratio: 1; border-radius: 50%; color: #fff; background: #1d4a3f; font: 700 2.1rem var(--display); }
.result-hero h3 { margin: 0 0 .4rem; font: 400 2.8rem/1 var(--display); }.result-hero p { margin: 0; color: #68716b; }
.result-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; margin-top: 1rem; }
.result-panel { padding: 1.2rem; border: 1px solid #c8cec8; background: #f8faf6; }.result-panel h4 { margin-top: 0; font: 700 1.3rem var(--display); }
.topic-bar { margin: .75rem 0; }.topic-bar div { display: flex; justify-content: space-between; font-size: .75rem; }.topic-bar i { display: block; height: 6px; margin-top: .3rem; background: linear-gradient(90deg, #1d4a3f var(--score), #e1d3b4 var(--score)); }
.mistake-list { display: grid; gap: .65rem; }
.mistake-item { padding: .8rem; border: 1px solid color-mix(in srgb,var(--coral) 30%,transparent); background: #f1f3ef; }
.mistake-item b, .mistake-item span { display: block; }.mistake-item span { color: #6e746f; font-size: .78rem; }.mistake-item a { display: inline-block; margin-top: .5rem; color: #1d4a3f; font-size: .75rem; font-weight: 800; }
.evaluation-pending { margin-top: 1rem; padding: 1rem; border: 1px dashed #b69c70; color: #5f665f; font-size: .82rem; }

/* Soru havuzu */
.section-pool { display: grid; grid-template-columns: minmax(16rem, .56fr) minmax(38rem, 1.44fr); gap: clamp(3rem, 7vw, 9rem); align-items: center; background: var(--paper); }
.pool-intro h2 { margin: 0; font: 400 clamp(2.8rem, 5vw, 5.6rem)/.9 var(--display); letter-spacing: -.035em; }
.pool-intro > p:not(.kicker) { max-width: 570px; color: var(--muted); }
.source-pill { display: inline-block; margin-top: 1rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 800; }
.pool-builder { display: flex; min-height: 32rem; flex-direction: column; padding: clamp(2rem, 4vw, 4rem); border: 1px solid var(--line); background: var(--cream); box-shadow: var(--shadow); }
.pool-builder > label { display: block; margin-bottom: .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.pool-builder select { width: 100%; padding: .9rem; border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.scenario-summary { margin: 1.35rem 0; padding: 1.35rem; border: 1px solid color-mix(in srgb,var(--coral) 30%,transparent); background: var(--paper-2); font-size: .86rem; }
.scenario-summary strong { display: block; margin-bottom: .35rem; }.scenario-summary ul { margin: .3rem 0; padding-left: 1.2rem; }
.pool-options { display: flex; gap: 1.25rem; flex-wrap: wrap; margin: 1.35rem 0 2rem; color: var(--muted); font-size: .82rem; }
.pool-builder > .primary-button { align-self: flex-start; margin-top: auto; }
.pool-note { color: var(--muted); font-size: .8rem; }

@media (max-width: 900px) {
  .exam-cards { grid-template-columns: 1fr 1fr; }.exam-card.general { grid-column: span 2; }
  .section-pool { grid-template-columns: 1fr; }.result-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .scene-three .diorama { width: 88vw; }
  .exam-cards { grid-template-columns: 1fr; }.exam-card.general { grid-column: auto; }
  .exam-options { grid-template-columns: 1fr; }.exam-topbar { display: block; }.exam-close { margin-top: 1rem; }
  .result-hero { grid-template-columns: 1fr; }.result-score { width: 100px; }
}

/* Sınav bileşenleri: etkileşim ve sonuç raporu */
.exam-card { color: var(--ink); text-align: left; cursor: pointer; font-family: inherit; }
.exam-card > span { color: color-mix(in srgb, var(--exam-color) 75%, #493b20); font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.exam-card > b { margin-top: auto; padding-top: .8rem; border-top: 1px solid currentColor; font-size: .76rem; }
.exam-card.featured { grid-column: span 2; color: #fff7e8; background: #183f35; }
.exam-card.featured > span { color: #f4c96b; }
.exam-card.featured p { color: rgba(255,255,255,.66); }
.lesson-deep-link { display:flex; align-items:center; justify-content:space-between; gap:2rem; background:#183f35; color:#fff8e8; }
.lesson-deep-link span { color:#f4c96b; font-size:.66rem; font-weight:800; letter-spacing:.12em; }
.lesson-deep-link h4 { margin:.45rem 0; font-size:1.5rem; }.lesson-deep-link p { margin:0; color:rgba(255,255,255,.65); }
.lesson-deep-link a { flex:0 0 auto; padding:.75rem 1rem; border:1px solid rgba(255,255,255,.4); text-decoration:none; font-size:.76rem; font-weight:800; }
.exam-topline { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; font-size:.78rem; }
.exam-topline > span { font-weight:800; }.exam-topline > b { color:var(--coral); }
.exam-progress { height:5px; margin-bottom:2rem; background:#dccba7; }.exam-progress i { display:block; height:100%; background:var(--coral); }
.exam-question-wrap { max-width:900px; margin:0 auto; }.exam-topic { color:#9a633f; font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.exam-question-wrap h3 { margin:.7rem 0 1.5rem; font:700 clamp(1.4rem,2.6vw,2.1rem)/1.25 var(--display); }
.exam-option { display:flex; align-items:center; gap:.7rem; font-family:inherit; }.exam-option b { color:#a25e47; }
.frq-label { display:block; margin-bottom:.5rem; font-size:.8rem; font-weight:800; }.frq-hint { color:#74766d; font-size:.8rem; }
.exam-dots { display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem; margin-top:1.6rem; }.exam-dots button { width:30px; height:30px; border:1px solid #d1c09c; border-radius:50%; background:transparent; color:var(--ink); cursor:pointer; font-size:.68rem; }.exam-dots button.answered { background:#dfe9df; border-color:#739080; }.exam-dots button.current { outline:2px solid var(--coral); outline-offset:2px; }
.secondary-button { padding:.75rem 1rem; border:1px solid var(--ink); background:transparent; color:var(--ink); cursor:pointer; font-family:inherit; }.secondary-button:disabled { opacity:.35; cursor:not-allowed; }
.result-score { background:conic-gradient(var(--coral) calc(var(--score) * 1%), #294a40 0); border:8px solid #1d4a3f; font-family:var(--sans); }.result-score strong,.result-score span { display:block; text-align:center; }.result-score strong { font:700 2rem var(--display); }.result-score span { font-size:.68rem; text-transform:uppercase; letter-spacing:.1em; }
.topic-overview,.mistake-overview,.written-review { margin-top:1.5rem; padding:1.25rem; border:1px solid #c8cec8; background:#f8faf6; }.topic-overview h3,.mistake-overview h3,.written-review h3 { margin-top:0; font:700 1.45rem var(--display); }
.topic-stat { display:grid; grid-template-columns:minmax(150px,1fr) minmax(120px,2fr) 42px; gap:.8rem; align-items:center; margin:.75rem 0; font-size:.78rem; }.topic-stat i { height:7px; background:#dfd2b5; }.topic-stat i b { display:block; height:100%; }
.mistake-card { padding:1rem 0; border-top:1px solid #ddccb0; }.mistake-card:first-of-type { border-top:0; }.mistake-card > span { color:var(--coral); font-size:.68rem; font-weight:800; letter-spacing:.08em; }.mistake-card h4 { margin:.45rem 0; font:700 1.05rem/1.35 var(--display); }.mistake-card p { color:#626b65; font-size:.8rem; }
.material-link { padding:0; border:0; border-bottom:1px solid currentColor; color:#1d4a3f; background:transparent; cursor:pointer; font-weight:800; font-family:inherit; font-size:.76rem; }
.perfect-note,.review-unavailable { padding:1rem; border:1px solid #9eae9a; background:#e3eddf; }.review-loading { color:#636c66; }.review-loading span { display:inline-block; width:10px; height:10px; margin-right:.5rem; border-radius:50%; background:var(--coral); }
.written-cards { display:grid; gap:.8rem; }.written-cards article { padding:1rem; background:#f1f3ef; }.written-cards article > span { float:right; color:var(--coral); font-weight:800; }.written-cards h4 { margin:.2rem 0 .7rem; font:700 1rem/1.35 var(--display); }.written-cards p,.written-cards li,.priority-box li { color:#626b65; font-size:.8rem; line-height:1.55; }.written-cards ul { padding-left:1.2rem; }.priority-box { margin-top:1rem; padding:1rem; border:1px solid color-mix(in srgb,var(--coral) 30%,transparent); background:#f1f3ef; }
.result-actions { display:flex; justify-content:flex-end; gap:.7rem; margin-top:1.5rem; }
.scenario-summary { display:flex; flex-wrap:wrap; gap:.65rem; }.scenario-summary span { flex:1 1 140px; display:flex; align-items:center; gap:.6rem; }.scenario-summary b { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; color:white; background:var(--coral); }
@media (max-width:600px) { .exam-card.featured { grid-column:auto; }.exam-topline { align-items:flex-start; flex-wrap:wrap; }.topic-stat { grid-template-columns:1fr 40px; }.topic-stat i { grid-column:1 / -1; grid-row:2; }.result-actions { flex-direction:column; }.result-actions button { width:100%; }.exam-dots button { width:27px; height:27px; } }
@media (max-width:600px) { .lesson-deep-link { display:block; }.lesson-deep-link a { display:inline-block; margin-top:1rem; } }
@media (prefers-reduced-motion:reduce) { .exam-progress i,.author-card>img { transition:none; }.review-loading span { animation:none; } }
