/* 01 Variables */
:root {
  --color-bg: #f5f5f2;
  --color-white: #ffffff;
  --color-black: #111111;
  --color-text: #111111;
  --color-muted: #777777;
  --color-light: #d8d8d4;
  --color-border: rgba(17, 17, 17, 0.15);
  --color-red: #e1251b;
  --color-red-dark: #b51610;
  --page-x: clamp(48px, 4.4vw, 72px);
  --max-width: 1400px;
  --header-height: 58px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 02 Reset */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--color-red); outline-offset: 5px; }

/* 03 Typography */
.eyebrow { margin: 0 0 16px; color: var(--color-muted); font-size: 11px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { position: relative; z-index: 5; width: min(760px, 62vw); margin-top: clamp(54px, 7vh, 78px); }
.section-heading h2 { margin: 0; font-size: clamp(58px, 6.6vw, 106px); line-height: .87; letter-spacing: .035em; font-weight: 500; }
.section-heading > p:last-child { margin-top: 22px; color: var(--color-muted); font-size: 11px; line-height: 1.5; letter-spacing: .16em; }

/* 04 Navigation */
.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-x); background: rgba(245, 245, 242, .94); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(10px); transition: color .35s ease, background .35s ease, border-color .35s ease; }
.site-header.on-dark { color: var(--color-white); background: rgba(17, 17, 17, .94); border-color: rgba(255, 255, 255, .18); }
.brand { font-size: 12px; font-weight: 700; letter-spacing: .18em; }
nav { display: flex; gap: clamp(24px, 3.2vw, 52px); }
nav a { position: relative; font-size: 11px; letter-spacing: .12em; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 0; height: 1px; background: currentColor; transition: width .28s var(--ease); }
nav a:hover::after, nav a:focus-visible::after { width: 100%; }

/* 05 Section Base */
.section { position: relative; min-height: max(100vh, 760px); padding: clamp(104px, 13vh, 142px) var(--page-x) clamp(68px, 8vh, 92px); overflow: hidden; border-bottom: 1px solid var(--color-border); }
.section::after { content: ""; position: absolute; z-index: 0; top: var(--header-height); bottom: 0; left: 50%; width: min(var(--max-width), calc(100% - (var(--page-x) * 2))); transform: translateX(-50%); border-left: 1px solid rgba(17, 17, 17, .045); border-right: 1px solid rgba(17, 17, 17, .045); pointer-events: none; }
.section-index { position: absolute; z-index: 6; top: calc(var(--header-height) + 30px); left: var(--page-x); display: flex; align-items: center; gap: 14px; font-size: 12px; }
.section-index span { font-weight: 700; font-variant-numeric: tabular-nums; }
.section-index i { display: block; width: 56px; height: 1px; background: var(--color-border); }
.section-index small { color: var(--color-muted); font-size: 8px; letter-spacing: .2em; }
.focus-readout { position: absolute; z-index: 7; top: clamp(116px, 16vh, 166px); right: var(--page-x); display: grid; gap: 7px; min-width: 172px; }
.focus-readout small { font-size: 9px; letter-spacing: .26em; }
.focus-readout strong { display: flex; align-items: flex-start; font-size: clamp(48px, 4.5vw, 76px); line-height: .9; font-weight: 400; font-variant-numeric: tabular-nums; }
.focus-readout strong span { margin: 4px 0 0 5px; font-size: .3em; }
.focus-readout.danger strong { color: var(--color-red); }
.meter { width: 172px; height: 2px; background: var(--color-light); overflow: hidden; }
.meter i { display: block; width: var(--meter); height: 100%; background: currentColor; }
.danger .meter i { background: var(--color-red); }
.focus-line { position: absolute; z-index: 6; left: var(--page-x); top: 49%; bottom: 70px; width: 1px; background: var(--color-light); }
.focus-line i { position: absolute; left: 0; bottom: 0; width: 1px; height: var(--level); background: currentColor; }
.focus-line span { position: absolute; top: -22px; left: -2px; font-size: 8px; letter-spacing: .16em; writing-mode: vertical-rl; }
.danger.focus-readout + .focus-line i { background: var(--color-red); }
.edge-note { position: absolute; z-index: 5; left: var(--page-x); bottom: 30px; margin: 0; padding-left: 14px; border-left: 1px solid currentColor; font-size: 8px; line-height: 1.7; letter-spacing: .18em; }
.text-link { display: inline-flex; align-items: center; gap: 30px; padding: 12px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: 11px; letter-spacing: .15em; cursor: pointer; transition: opacity .25s ease; }
.text-link:hover { opacity: .58; }
.text-link .arrow { font-size: 22px; transition: transform .25s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* 06 Hero */
.hero { display: flex; align-items: center; min-height: max(100svh, 760px); }
.hero-copy { position: relative; z-index: 5; width: min(1000px, 74vw); }
.hero h1 { margin: 0; font-size: clamp(88px, 11.4vw, 180px); line-height: .73; letter-spacing: .015em; font-weight: 500; }
.hero h1 > span { display: block; width: max-content; }
.hero .muted-word { position: relative; margin-left: clamp(68px, 8vw, 150px); color: #6f6f6b; transform: translate(2px, 1px); }
.hero .muted-word::after { content: attr(data-echo); position: absolute; left: 2px; top: 1px; z-index: -1; color: transparent; -webkit-text-stroke: 1px rgba(17, 17, 17, .12); }
.zh-title { margin: 28px 0 30px; font-size: 17px; letter-spacing: .42em; }
.intro { margin: 0 0 30px; color: #51514e; font-size: 16px; line-height: 1.75; letter-spacing: .08em; }
.hero-readout { top: calc(var(--header-height) + 52px); }
.hero-system { position: absolute; z-index: 1; right: -18vw; bottom: -45vw; width: 80vw; aspect-ratio: 1; border: 1px solid rgba(17, 17, 17, .14); border-radius: 50%; }
.hero-system .axis { position: absolute; display: block; background: rgba(17, 17, 17, .08); }
.hero-system .axis-x { left: -30vw; top: 30%; width: 110vw; height: 1px; }
.hero-system .axis-y { top: -30vh; left: 32%; width: 1px; height: 110vh; }
.orbit-dot { position: absolute; left: 9%; top: 21%; width: 5px; height: 5px; border-radius: 50%; background: var(--color-red); }
.scroll-cue { position: absolute; z-index: 5; right: var(--page-x); bottom: 30px; display: flex; gap: 14px; align-items: center; font-size: 8px; letter-spacing: .2em; writing-mode: vertical-rl; }

/* 07 Focus */
.focus-section { background: var(--color-white); }
.focus-section .section-heading { width: 38%; }
.reading-panel { position: absolute; z-index: 3; right: var(--page-x); bottom: clamp(76px, 9vh, 104px); width: min(820px, 61vw); min-height: 50vh; display: grid; grid-template-columns: 90px 1fr; grid-template-rows: auto 1fr auto auto; column-gap: 34px; padding: clamp(32px, 4.3vw, 64px) 0 0; border-top: 1px solid var(--color-black); border-bottom: 1px solid var(--color-border); }
.reading-number { grid-row: 1 / -1; font-size: clamp(40px, 4vw, 64px); font-weight: 300; }
.reading-meta { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .17em; }
.reading-panel h3 { align-self: center; margin: clamp(34px, 5vh, 62px) 0; font-size: clamp(34px, 4.1vw, 64px); line-height: .96; letter-spacing: .015em; font-weight: 400; }
.reading-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.reading-grid p { margin: 0; color: #555551; font-size: 14px; line-height: 1.8; }
.reading-level { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--color-border); font-size: 9px; letter-spacing: .16em; }
.reading-level i { height: 1px; background: var(--color-black); }
.reading-level strong { font-size: 12px; }

/* 08 Distracted */
.distracted-section { background: #eeeeeb; }
.distracted-section .section-heading { transform: translateX(2.2vw); }
.distracted-section .section-heading h2 { letter-spacing: .06em; }
.interrupted-copy { position: absolute; z-index: 1; left: 18%; top: 51%; display: grid; gap: 8px; color: rgba(17, 17, 17, .25); font-size: clamp(28px, 4vw, 58px); line-height: .9; letter-spacing: .05em; }
.interrupted-copy span:last-of-type { margin-left: 15vw; }
.interrupted-copy i { position: absolute; left: 40%; top: -40px; width: 1px; height: 170px; background: var(--color-red); transform: rotate(10deg); }

/* 09 Notification */
.notification-field { position: absolute; z-index: 6; inset: 28% var(--page-x) 8%; }
.notification { position: absolute; width: min(340px, 30vw); min-height: 126px; padding: 20px 48px 18px 20px; background: rgba(255, 255, 255, .96); border: 1px solid var(--color-black); border-radius: 2px; transition: opacity .24s ease, transform .24s ease; }
.notification p { display: flex; justify-content: space-between; margin: 0 0 24px; font-size: 8px; letter-spacing: .16em; }
.notification p span { display: flex; align-items: center; gap: 8px; }
.notification p i { width: 5px; height: 5px; border-radius: 50%; background: var(--color-red); }
.notification time, .notification small { color: var(--color-muted); }
.notification strong { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: .035em; font-weight: 500; }
.notification small { font-size: 8px; letter-spacing: .18em; }
.notification button { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; font-size: 18px; cursor: pointer; transition: transform .2s ease, color .2s ease; }
.notification button:hover { color: var(--color-red); transform: rotate(12deg); }
.notification.is-closing { opacity: 0; transform: scale(.96); }
.note-message { right: 3%; top: 0; }
.note-mail { left: 3%; bottom: 5%; }
.note-social { right: 15%; bottom: -1%; }

/* 10 Overload */
.overload-section { min-height: max(108vh, 850px); background: var(--color-black); color: #f2f2ee; border-color: rgba(255, 255, 255, .16); }
.overload-section::after { border-color: rgba(255, 255, 255, .05); }
.overload-heading { width: 82%; margin-top: 44px; }
.overload-heading h2 { font-size: clamp(78px, 11.4vw, 178px); letter-spacing: .015em; }
.overload-section .section-index i { background: rgba(255, 255, 255, .28); }
.overload-section .section-index small, .overload-section .section-heading > p, .overload-section .eyebrow { color: #9c9c96; }
.overload-section .focus-line { background: rgba(255, 255, 255, .22); }
.overload-section .focus-line i { background: var(--color-red); }
.overload-data { position: absolute; z-index: 1; inset: 25% 6% 12%; color: rgba(255, 255, 255, .36); font-variant-numeric: tabular-nums; }
.overload-data span { position: absolute; font-weight: 300; }
.data-time { left: 0; top: 28%; font-size: clamp(34px, 5vw, 78px); }
.data-count { right: 5%; top: 5%; font-size: clamp(88px, 15vw, 240px); line-height: .8; color: rgba(225, 37, 27, .12); }
.data-live { left: 44%; bottom: 2%; color: var(--color-red); font-size: 12px; letter-spacing: .2em; }
.data-delta { right: 2%; bottom: 12%; font-size: clamp(40px, 6vw, 96px); }
.overload-data p { position: absolute; left: 22%; right: 4%; top: 41%; margin: 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); padding: 10px 0; font-size: 9px; letter-spacing: .3em; white-space: nowrap; overflow: hidden; }
.overload-field { position: absolute; z-index: 3; inset: 26% 4% 7%; }
.signal { position: absolute; z-index: 2; padding: 14px 18px; border: 1px solid #5b5b56; border-radius: 1px; background: #1e1e1d; color: #ecece7; font-size: 10px; letter-spacing: .14em; transition: opacity .22s ease, transform .22s ease, border-color .2s ease; }
button.signal { cursor: pointer; text-align: left; }
button.signal:hover { border-color: var(--color-red); }
.signal span { margin-left: 24px; color: #969690; }
.signal.warning { border-color: var(--color-red-dark); color: #ff5b52; }
.signal.is-closing { opacity: 0; transform: scale(.96); }
.signal-1 { left: 2%; top: 18%; transform: rotate(-1deg); }
.signal-2 { left: 27%; top: 3%; font-size: 13px; }
.signal-3 { right: 8%; top: 19%; transform: rotate(1deg); }
.signal-4 { left: 9%; top: 59%; font-size: 18px; }
.signal-5 { left: 43%; top: 47%; }
.signal-6 { right: 2%; top: 54%; font-size: 13px; transform: rotate(-2deg); }
.signal-7 { left: 31%; bottom: 2%; }
.signal-8 { right: 20%; bottom: 1%; }
.signal-9 { right: 34%; top: 1%; opacity: .65; }
.signal-10 { left: 2%; bottom: 2%; }
.escape-text { position: absolute; z-index: 5; left: 50%; top: 61%; margin: 0; transform: translate(-50%, -50%); font-size: clamp(34px, 5.2vw, 82px); font-weight: 400; letter-spacing: .14em; white-space: nowrap; transition: transform .18s ease-out; }
.light-note { border-color: #f2f2ee; }

/* 11 Focus Test */
.test-section { background: var(--color-bg); }
.test-heading { width: 54%; }
.test-brief { position: absolute; z-index: 5; top: clamp(180px, 24vh, 248px); right: var(--page-x); width: min(350px, 28vw); display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-top: 14px; border-top: 1px solid var(--color-black); }
.test-brief span { font-size: 11px; letter-spacing: .12em; }
.test-brief strong { font-size: 24px; font-weight: 400; }
.test-brief small { grid-column: 1 / -1; color: var(--color-muted); font-size: 12px; letter-spacing: .08em; }
.test-status { position: absolute; z-index: 5; top: 46%; right: var(--page-x); display: grid; justify-items: end; gap: 5px; }
.test-status span, .test-status small { color: var(--color-muted); font-size: 8px; letter-spacing: .2em; }
.test-status strong { font-size: clamp(48px, 5vw, 80px); line-height: .9; font-weight: 300; font-variant-numeric: tabular-nums; }
.test-area { position: relative; z-index: 6; min-height: 46vh; display: grid; place-items: center; margin-top: 1vh; }
.primary-button { padding: 16px 19px; border: 1px solid var(--color-black); border-radius: 0; background: transparent; font-size: 11px; letter-spacing: .15em; cursor: pointer; transition: color .2s ease, background .2s ease, opacity .2s ease; }
.primary-button:hover { color: var(--color-bg); background: var(--color-black); }
.character-grid { display: none; grid-template-columns: repeat(8, minmax(38px, 58px)); gap: clamp(7px, 1vw, 18px); font-family: "Courier New", monospace; }
.character-grid.is-active { display: grid; }
.character { width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: transparent; font-family: inherit; font-size: clamp(26px, 3vw, 46px); font-weight: 400; cursor: crosshair; transition: opacity .18s ease, color .18s ease; }
.character:hover { opacity: .35; }
.character:disabled { color: var(--color-text); cursor: default; }
.character.correct { color: var(--color-red); opacity: 1; }
.result-link { margin-top: 18px; }
.test-running .test-heading, .test-running .test-brief, .test-running .edge-note { opacity: .12; }

/* 12 Result */
.result-section { min-height: max(100svh, 780px); background: #fafaf7; }
.result-section .section-heading { width: 38%; }
.score-ring { position: absolute; z-index: 4; left: 56%; top: 47%; width: clamp(280px, 28vw, 430px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid var(--color-light); border-top: 8px solid var(--color-red); border-radius: 50%; display: grid; place-items: center; }
.score-ring div { display: grid; justify-items: center; }
.score-ring strong { font-size: clamp(92px, 11vw, 168px); font-weight: 300; line-height: .86; font-variant-numeric: tabular-nums; }
.score-ring span { margin-top: 14px; font-size: 12px; letter-spacing: .1em; }
.result-stats { position: absolute; z-index: 5; left: 50%; bottom: 112px; width: min(980px, 72vw); transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.result-stats div { display: flex; flex-direction: column-reverse; gap: 10px; padding: 18px 28px; border-right: 1px solid var(--color-border); }
.result-stats div:last-child { border: 0; }
.result-stats strong { font-size: 27px; font-weight: 400; font-variant-numeric: tabular-nums; }
.result-stats span { color: var(--color-muted); font-size: 8px; line-height: 1.5; letter-spacing: .18em; }
.result-question { position: absolute; z-index: 5; left: var(--page-x); bottom: 28px; display: grid; gap: 5px; }
.result-question strong { font-size: 9px; letter-spacing: .13em; font-weight: 500; }
.result-question span { color: var(--color-muted); font-size: 11px; }
.retry-link { position: absolute; z-index: 5; right: var(--page-x); bottom: 26px; }
.result-section .edge-note { left: auto; right: var(--page-x); bottom: 110px; }

/* 13 Interactions */
.motion-ready .section:not(.is-in-view) .section-heading,
.motion-ready .section:not(.is-in-view) .hero-copy,
.motion-ready .section:not(.is-in-view) .reading-panel,
.motion-ready .section:not(.is-in-view) .notification-field,
.motion-ready .section:not(.is-in-view) .test-area,
.motion-ready .section:not(.is-in-view) .score-ring { opacity: 0; transform: translateY(20px); }
.motion-ready .section .section-heading,
.motion-ready .section .hero-copy,
.motion-ready .section .reading-panel,
.motion-ready .section .notification-field,
.motion-ready .section .test-area,
.motion-ready .section .score-ring { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion-ready .section .score-ring { transform: translate(-50%, -50%); }
.motion-ready .section:not(.is-in-view) .score-ring { transform: translate(-50%, calc(-50% + 20px)); }

/* 14 Responsive */
@media (min-width: 1600px) { :root { --page-x: max(72px, calc((100vw - var(--max-width)) / 2)); } }
@media (max-width: 1100px) {
  :root { --page-x: 42px; }
  .section-heading { width: 65%; }
  .reading-panel { width: 66vw; }
  .notification { width: 32vw; }
  .result-stats { width: calc(100% - (var(--page-x) * 2)); }
}
@media (max-width: 900px) {
  :root { --page-x: 28px; --header-height: 56px; }
  nav { gap: 18px; }
  nav a { font-size: 9px; }
  .section { min-height: 900px; padding-top: 108px; }
  .section-index { top: 78px; }
  .section-heading, .focus-section .section-heading, .result-section .section-heading { width: 70%; }
  .focus-readout { top: 92px; }
  .hero-readout { display: none; }
  .hero { min-height: 820px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(82px, 18vw, 132px); }
  .reading-panel { left: 16%; right: auto; bottom: 86px; width: calc(84% - var(--page-x)); grid-template-columns: 70px 1fr; }
  .notification-field { inset: 36% var(--page-x) 8%; }
  .notification { width: min(360px, 55vw); }
  .note-message { right: 0; }
  .note-mail { left: 0; }
  .note-social { right: 2%; }
  .overload-heading h2 { font-size: clamp(78px, 14vw, 126px); }
  .overload-field { top: 32%; }
  .signal-3, .signal-6 { right: 0; }
  .test-brief { top: 220px; width: 32vw; }
  .test-status { top: 45%; }
  .result-section { min-height: 900px; }
  .score-ring { left: 58%; top: 48%; }
  .result-stats { bottom: 116px; }
}
@media (max-width: 620px) {
  :root { --page-x: 20px; }
  .brand { font-size: 10px; }
  .site-header nav a:first-child { display: none; }
  .section { min-height: 820px; }
  .section-index small { display: none; }
  .section-heading, .focus-section .section-heading, .result-section .section-heading { width: 100%; margin-top: 46px; }
  .section-heading h2 { font-size: clamp(44px, 14vw, 68px); }
  .focus-readout { position: relative; top: auto; right: auto; margin-top: 28px; }
  .focus-line { display: none; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(74px, 25vw, 104px); line-height: .78; }
  .hero .muted-word { margin-left: 12vw; }
  .hero-system { right: -64vw; bottom: -38vw; width: 150vw; }
  .intro { font-size: 14px; }
  .reading-panel { left: var(--page-x); bottom: 76px; width: calc(100% - (var(--page-x) * 2)); min-height: 500px; grid-template-columns: 48px 1fr; column-gap: 14px; padding-top: 28px; }
  .reading-panel h3 { font-size: 28px; }
  .reading-grid { grid-template-columns: 1fr; gap: 10px; }
  .reading-grid p { font-size: 11px; }
  .reading-level { gap: 10px; }
  .interrupted-copy { left: 10%; top: 43%; font-size: 24px; }
  .notification-field { inset: 42% 14px 7%; }
  .notification { width: calc(100vw - 60px); min-height: 112px; }
  .note-message { right: 0; top: 0; }
  .note-mail { left: 0; bottom: 26%; }
  .note-social { right: 0; bottom: 0; }
  .overload-section { min-height: 880px; }
  .overload-heading h2 { font-size: 18vw; }
  .overload-field { inset: 35% 10px 7%; }
  .signal { padding: 10px; font-size: 7px; }
  .signal-2, .signal-4, .signal-6 { font-size: 9px; }
  .signal-9 { display: none; }
  .escape-text { top: 56%; font-size: 18px; }
  .data-time { font-size: 26px; }
  .test-heading { width: 100%; }
  .test-brief { position: relative; top: auto; right: auto; width: 100%; margin-top: 30px; }
  .test-status { position: relative; top: auto; right: auto; justify-items: start; margin-top: 22px; }
  .test-area { min-height: 390px; margin-top: 0; }
  .character-grid { grid-template-columns: repeat(8, minmax(26px, 1fr)); width: 100%; gap: 1px; }
  .result-section { min-height: 920px; }
  .score-ring { left: 50%; top: 48%; width: 245px; }
  .result-stats { grid-template-columns: repeat(2, 1fr); bottom: 130px; }
  .result-stats div:nth-child(2) { border-right: 0; }
  .result-stats div { padding: 13px 12px; }
  .result-question { bottom: 56px; }
  .result-section .edge-note { display: none; }
  .retry-link { bottom: 16px; }
}
/* 15 Phase 3 Slide System */
html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
main { position: fixed; inset: 0; width: 100%; height: 100dvh; overflow: hidden; }
.section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  padding-top: clamp(94px, 12vh, 130px);
  padding-bottom: 94px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.section.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}
.section.is-exiting { z-index: 1; opacity: 0; transform: translateX(-20px); visibility: visible; }
.hero, .overload-section, .result-section { min-height: 0; }
.edge-note, .scroll-cue { bottom: 80px; }
.result-stats { bottom: 146px; }
.result-question, .retry-link { bottom: 76px; }
.result-section .edge-note { bottom: 146px; }

.slide-controls {
  position: fixed;
  z-index: 120;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  padding: 0 var(--page-x);
  background: rgba(245, 245, 242, .96);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  transition: color .35s ease, background .35s ease, border-color .35s ease, opacity .25s ease;
}
.slide-dark .slide-controls { color: var(--color-white); background: rgba(17, 17, 17, .96); border-color: rgba(255, 255, 255, .18); }
.slide-arrow { display: inline-flex; align-items: center; gap: 13px; padding: 10px 0; border: 0; background: transparent; font-size: 10px; letter-spacing: .14em; cursor: pointer; }
.slide-arrow:disabled { visibility: hidden; }
.slide-next { justify-self: end; }
.slide-pagination { display: flex; align-items: center; gap: 13px; }
.slide-pagination button { position: relative; width: 27px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--color-muted); font-size: 8px; cursor: pointer; }
.slide-pagination button::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 3px; height: 1px; background: currentColor; opacity: .2; }
.slide-pagination button[aria-selected="true"] { color: currentColor; }
.slide-pagination button[aria-selected="true"]::after { opacity: 1; background: var(--color-red); }
.slide-position { display: flex; align-items: baseline; gap: 6px; min-width: 62px; font-variant-numeric: tabular-nums; }
.slide-position strong { font-size: 19px; font-weight: 400; }
.slide-position span { color: var(--color-muted); font-size: 9px; }
.test-in-progress .slide-controls { opacity: .2; pointer-events: none; }

.dynamic-notification-layer { position: absolute; z-index: 40; inset: var(--header-height) 0 62px; pointer-events: none; }
.camera-tools {
  position: fixed;
  z-index: 130;
  top: calc(var(--header-height) + 16px);
  right: var(--page-x);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: rgba(245, 245, 242, .94);
  border: 1px solid var(--color-black);
}
.camera-tools[hidden] { display: none; }
.camera-tools button { padding: 7px 9px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font-size: 8px; letter-spacing: .14em; cursor: pointer; }
.camera-tools button[aria-pressed="true"] { color: var(--color-red); }
.camera-tools span { font-size: 8px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.camera-tools video { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.slide-dark .camera-tools { color: var(--color-white); background: rgba(17, 17, 17, .94); border-color: rgba(255, 255, 255, .55); }
.hand-position-marker { position: fixed; z-index: 118; left: 0; top: 0; width: 22px; height: 22px; border: 1px solid var(--color-red); border-radius: 50%; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); transition: opacity .15s ease; }
.hand-position-marker::before, .hand-position-marker::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--color-red); transform: translate(-50%, -50%); }
.hand-position-marker::before { width: 30px; height: 1px; }
.hand-position-marker::after { width: 1px; height: 30px; }
.hand-position-marker.is-visible { opacity: 1; }
.cursor-notification {
  position: absolute;
  width: clamp(220px, 18vw, 280px);
  min-height: 106px;
  padding: 18px 42px 16px 18px;
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-black);
  border-radius: 2px;
  pointer-events: auto;
  opacity: 0;
  transform: scale(.96);
  animation: notification-enter .24s var(--ease) forwards;
}
.cursor-notification header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--color-muted); font-size: 8px; letter-spacing: .14em; }
.cursor-notification header span { display: flex; align-items: center; gap: 7px; }
.cursor-notification header i { width: 5px; height: 5px; border-radius: 50%; background: var(--color-red); }
.cursor-notification strong { display: block; max-width: 210px; font-size: 13px; line-height: 1.35; letter-spacing: .03em; font-weight: 500; }
.cursor-notification button { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; font-size: 17px; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.cursor-notification button:hover { color: var(--color-red); transform: rotate(12deg); }
.cursor-notification.is-closing { opacity: 0; transform: scale(.96); transition: opacity .2s ease, transform .2s ease; }
@keyframes notification-enter { to { opacity: 1; transform: scale(1); } }

@media (max-height: 820px) and (min-width: 901px) {
  .section { padding-top: 92px; padding-bottom: 78px; }
  .section-index { top: 72px; }
  .section-heading { margin-top: 35px; }
  .section-heading h2 { font-size: clamp(52px, 6vw, 86px); }
  .focus-readout { top: 106px; }
  .hero h1 { font-size: clamp(80px, 10vw, 144px); }
  .hero .zh-title { margin: 18px 0 20px; }
  .hero .intro { margin-bottom: 20px; }
  .reading-panel { min-height: 47vh; bottom: 82px; padding-top: 28px; }
  .reading-panel h3 { margin: 24px 0; font-size: clamp(32px, 3.7vw, 52px); }
  .reading-level { margin-top: 18px; padding: 13px 0; }
  .notification-field { top: 27%; }
  .overload-heading { margin-top: 24px; }
  .overload-heading h2 { font-size: clamp(70px, 10vw, 138px); }
  .test-brief { top: 170px; }
  .test-area { min-height: 42vh; }
  .character-grid { gap: 6px 13px; }
  .score-ring { width: clamp(250px, 25vw, 350px); }
  .result-stats { bottom: 126px; }
  .result-section .edge-note { display: none; }
}

@media (max-width: 620px) {
  .section { height: 100dvh; min-height: 0; padding-bottom: 78px; }
  .slide-controls { height: 58px; grid-template-columns: auto 1fr auto; gap: 8px; padding: 0 14px; }
  .slide-arrow span { display: none; }
  .slide-pagination { justify-self: center; gap: 3px; }
  .slide-pagination button { width: 24px; }
  .slide-position { display: none; }
  .dynamic-notification-layer { bottom: 58px; }
  .camera-tools { top: calc(var(--header-height) + 8px); right: 12px; max-width: calc(100vw - 24px); }
  .camera-tools span { max-width: 110px; line-height: 1.35; }
  .cursor-notification { width: min(260px, calc(100vw - 36px)); }
  .edge-note, .scroll-cue { bottom: 70px; }
  .result-question { bottom: 62px; }
  .retry-link { bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .section { transform: none !important; }
}
