:root {
  --ink: #172033;
  --muted: #69758b;
  --blue: #3978ff;
  --cyan: #23c8d5;
  --violet: #8156ed;
  --mint: #16ae91;
  --coral: #f27672;
  --paper: rgba(255, 255, 255, .82);
  --line: rgba(26, 45, 78, .1);
  --shadow: 0 30px 80px rgba(31, 55, 98, .12);
}

html,
body {
  min-height: 100%;
  overscroll-behavior-y: none;
}
body {
  min-height: 100dvh;
}

.web-app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(55, 188, 174, .15), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(62, 128, 180, .12), transparent 25%),
    linear-gradient(145deg, #f7fbfc 0%, #eef6f4 52%, #f8f7f1 100%);
}

.landing-shell, .overview-shell, .report-shell, .game-shell, .center-shell { position: relative; z-index: 1; width: min(1480px, calc(100% - 64px)); min-height: 100vh; margin: 0 auto; }
nav { height: 92px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand > span { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet)); box-shadow: 0 12px 24px rgba(58, 112, 231, .24); }
.brand b { font-size: 20px; letter-spacing: -.04em; }
.brand em { padding-left: 10px; border-left: 1px solid var(--line); color: #8a95a8; font-size: 9px; font-style: normal; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: #4b6eb9; font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.primary-button { min-height: 58px; padding: 0 28px; border: 0; border-radius: 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: white; background: linear-gradient(105deg, #123d5b, #0f8d82 62%, #246f94); box-shadow: 0 18px 36px rgba(33, 115, 116, .22); font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(42, 91, 180, .3); }
.primary-button:active:not(:disabled) { transform: translateY(0); }
.primary-button:disabled { opacity: .38; cursor: not-allowed; }
.primary-button.secondary { color: #385079; background: white; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(31, 55, 98, .08); }

/* Landing */
.hero { min-height: calc(100vh - 150px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: 50px 2vw 100px; }
.hero-copy h1 { margin: 24px 0; font-size: clamp(48px, 5.4vw, 86px); line-height: 1.03; letter-spacing: -.065em; }
.hero-copy h1 span { color: transparent; background: linear-gradient(90deg, #177fba, #566fea 48%, #9a54df); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.85; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 22px; }
.hero-actions small { display: flex; align-items: center; gap: 7px; color: #748197; }
.feature-strip { margin-top: 48px; display: flex; gap: 36px; }
.feature-strip span { display: grid; gap: 2px; color: var(--muted); font-size: 11px; }
.feature-strip b { color: var(--ink); font-size: 26px; letter-spacing: -.04em; }
.hero-stage { position: relative; height: min(680px, 70vh); min-height: 540px; border: 1px solid rgba(255,255,255,.9); border-radius: 54px; background: linear-gradient(145deg, rgba(255,255,255,.65), rgba(229,241,255,.45)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), var(--shadow); backdrop-filter: blur(24px); }
.hero-stage::before { position: absolute; inset: 10% 12%; border: 1px solid rgba(64, 105, 186, .1); border-radius: 50%; content: ""; transform: rotate(-12deg); }
.hero-stage::after { position: absolute; inset: 20% 7%; border: 1px dashed rgba(112, 76, 209, .13); border-radius: 50%; content: ""; transform: rotate(20deg); }
.brain-object { position: absolute; z-index: 3; left: 50%; top: 48%; width: 260px; height: 260px; transform: translate(-50%, -50%); border-radius: 42% 58% 54% 46% / 45% 43% 57% 55%; display: grid; place-items: center; color: #4770dc; background: linear-gradient(145deg, #fff, #e9f1ff 50%, #eee6ff); box-shadow: 0 42px 65px rgba(54, 75, 130, .2), inset 8px 8px 16px white; animation: brain-float 5s ease-in-out infinite; }
.brain-object i { position: absolute; inset: -24px; border: 1px solid rgba(68, 119, 230, .12); border-radius: inherit; animation: pulse-ring 2.8s ease-out infinite; }
.brain-object span { position: absolute; right: 12px; top: 18px; padding: 7px 10px; border-radius: 99px; color: #078e88; background: #dffffa; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.glass-orbit { position: absolute; z-index: 4; width: 72px; height: 72px; border: 1px solid white; border-radius: 24px; display: grid; place-items: center; color: white; box-shadow: 0 20px 36px rgba(47, 73, 125, .18); backdrop-filter: blur(10px); animation: orbit-float 4s ease-in-out infinite; }
.orbit-a { left: 12%; top: 18%; background: linear-gradient(145deg, #22d0c8, #3196db); }
.orbit-b { right: 11%; top: 25%; background: linear-gradient(145deg, #ff9b73, #ed607f); animation-delay: -.8s; }
.orbit-c { right: 18%; bottom: 18%; background: linear-gradient(145deg, #7e65ee, #b35ddb); animation-delay: -1.7s; }
.hero-meter { position: absolute; z-index: 4; left: 8%; bottom: 8%; width: 230px; padding: 18px; border: 1px solid white; border-radius: 22px; background: rgba(255,255,255,.78); box-shadow: 0 18px 35px rgba(40, 60, 105, .12); backdrop-filter: blur(16px); }
.hero-meter small { color: var(--muted); }.hero-meter strong { display: block; margin: 4px 0 12px; }.hero-meter > i { height: 6px; display: block; border-radius: 99px; background: #e6eaf3; overflow: hidden; }.hero-meter > i span { width: 76%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); }
.legal { padding: 18px 0 28px; color: #8994a6; text-align: center; font-size: 11px; }

/* Profile */
.center-shell { display: grid; place-items: center; padding: 52px 0; }
.profile-card { width: min(1180px, 100%); padding: 34px; border: 1px solid white; border-radius: 42px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(24px); }
.back-link { border: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); background: transparent; font-weight: 750; }
.profile-grid { padding: 50px 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.profile-grid h1 { margin: 14px 0 18px; font-size: clamp(38px, 4vw, 62px); letter-spacing: -.055em; }
.profile-grid > div > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.privacy-panel { margin-top: 32px; padding: 18px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(24, 173, 145, .14); border-radius: 20px; color: #168b7b; background: #effffc; }
.privacy-panel span { display: grid; gap: 2px; }.privacy-panel small { color: #67928e; }
.form-panel { padding: 30px; border-radius: 30px; background: white; box-shadow: 0 20px 50px rgba(40, 60, 105, .09); }
.form-panel label { margin-bottom: 18px; display: grid; gap: 8px; color: #44516a; font-size: 12px; font-weight: 850; }
.form-panel select { width: 100%; height: 54px; padding: 0 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #f9fbff; }
.form-panel .primary-button { width: 100%; margin-top: 12px; }

/* Overview */
.overview-shell { padding-bottom: 60px; }
.overview-shell > header { padding: 70px 0 36px; text-align: center; }
.overview-shell > header .eyebrow { justify-content: center; }
.overview-shell > header h1 { margin: 14px 0; font-size: clamp(42px, 5vw, 68px); letter-spacing: -.06em; }
.overview-shell > header > p:last-child { color: var(--muted); }
.task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.task-card { position: relative; min-height: 290px; padding: 24px; border: 1px solid white; border-radius: 30px; background: rgba(255,255,255,.72); box-shadow: 0 20px 50px rgba(40, 60, 105, .08); overflow: hidden; transition: transform .25s ease; }
.task-card:hover { transform: translateY(-6px); }
.task-card > span { position: absolute; right: 18px; top: 12px; color: rgba(31, 47, 74, .08); font-size: 68px; font-weight: 950; }
.task-card > i { width: 64px; height: 64px; margin-bottom: 58px; border-radius: 22px; display: grid; place-items: center; }
.task-card.violet > i { color: #7655d8; background: #eee7ff; }.task-card.mint > i { color: #128b78; background: #ddfbf5; }.task-card.blue > i { color: #2f70de; background: #e1edff; }.task-card.coral > i { color: #d85e68; background: #ffe7e7; }
.task-card small { color: var(--muted); font-weight: 750; }.task-card h3 { margin: 6px 0 22px; font-size: 27px; }.task-card > b { display: flex; align-items: center; gap: 6px; color: #778398; font-size: 12px; }
.overview-action { margin-top: 26px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid white; border-radius: 25px; background: rgba(255,255,255,.68); }
.overview-action > span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }.overview-action > span svg { color: #ef6a7d; }

/* Games */
.game-shell { width: min(1600px, calc(100% - 44px)); padding-bottom: 30px; }
.game-header { height: 86px; display: grid; grid-template-columns: 56px 1fr auto; gap: 22px; align-items: center; }
.round-button { width: 48px; height: 48px; border: 1px solid white; border-radius: 16px; display: grid; place-items: center; color: #44536d; background: rgba(255,255,255,.76); box-shadow: 0 10px 24px rgba(40,60,105,.1); }
.game-progress { width: min(600px, 100%); justify-self: center; }
.game-progress > div { margin-bottom: 8px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.game-progress > i { height: 7px; display: block; border-radius: 99px; background: rgba(69, 84, 117, .1); overflow: hidden; }
.game-progress > i span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #22b8b0, #3387b8, #8abf67); transition: width .35s ease; }
.timer { min-width: 105px; height: 46px; padding: 0 15px; border: 1px solid white; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #384860; background: rgba(255,255,255,.74); }
.timer svg { color: #4e75d5; }
.intro-backdrop, .dialog-backdrop { position: fixed; z-index: 50; inset: 0; padding: 22px; display: grid; place-items: center; background: rgba(18, 28, 49, .48); backdrop-filter: blur(14px); }
.intro-card, .dialog-card { width: min(560px, 100%); padding: 38px; border: 1px solid white; border-radius: 32px; background: rgba(255,255,255,.96); box-shadow: 0 40px 100px rgba(18,28,49,.28); }
.intro-number { float: right; color: rgba(40, 75, 145, .1); font-size: 80px; font-weight: 950; line-height: .8; }
.intro-card h2 { margin: 12px 0 10px; font-size: 38px; letter-spacing: -.05em; }.intro-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.intro-rules { margin: 22px 0; display: grid; gap: 9px; }.intro-rules span { display: flex; align-items: center; gap: 9px; color: #516078; font-size: 13px; }.intro-rules svg { color: var(--mint); }
.practice-panel { margin: 18px 0 12px; padding: 16px; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; display: grid; gap: 12px; background: linear-gradient(145deg, #fff, #eef8f5); box-shadow: inset 0 1px rgba(255,255,255,.9), 0 16px 34px rgba(36,62,90,.08); }
.practice-panel > span { color: #41516a; font-size: 12px; font-weight: 850; }
.practice-panel button { border: 1px solid rgba(26,78,93,.1); border-radius: 16px; color: #16384f; background: white; box-shadow: 0 8px 18px rgba(36,62,90,.08); font-weight: 900; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.practice-panel button:hover { transform: translateY(-2px); border-color: rgba(15,141,130,.3); }
.practice-panel button.done, .practice-panel button.picked { color: #087c71; background: #e6faf5; border-color: rgba(15,141,130,.35); }
.symbol-practice { justify-items: center; }.symbol-practice > img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(34,53,78,.16)); }.symbol-practice > div { display: grid; grid-template-columns: repeat(3, 54px); gap: 8px; }.symbol-practice button { height: 48px; font-size: 18px; }
.trail-practice { grid-template-columns: repeat(3, 1fr); align-items: center; }.trail-practice > span { grid-column: 1/-1; }.trail-practice button { height: 58px; display: grid; place-items: center; font-size: 18px; }.trail-practice i { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from -90deg, #119c79 0 42%, #edf3ef 42% 100%); }
.attention-practice { justify-items: center; }.attention-practice > img { width: 128px; height: 90px; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(34,53,78,.18)); }.attention-practice > div { display: grid; grid-template-columns: repeat(4, 48px); gap: 8px; }.attention-practice button { height: 46px; display: grid; place-items: center; }
.memory-practice > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.memory-practice button { min-height: 84px; display: grid; place-items: center; gap: 4px; }.memory-practice img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(71,55,38,.14)); }.memory-practice b { font-size: 11px; }
.practice-trigger { width: 100%; min-height: 54px; margin-bottom: 14px; border: 1px dashed rgba(59, 112, 215, .25); border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #4b6eb9; background: #f2f7ff; font-weight: 750; }
.practice-trigger.done { color: #168b7b; border-color: rgba(22,139,123,.25); background: #eefffb; }.intro-card .primary-button { width: 100%; }
.dialog-card h2 { margin-bottom: 8px; font-size: 28px; }.dialog-card p { margin-bottom: 24px; color: var(--muted); }.dialog-card .primary-button { width: 100%; }.dialog-card > button:last-child { width: 100%; margin-top: 12px; border: 0; color: #d45e6d; background: transparent; font-weight: 750; }
.feedback-pop { position: fixed; z-index: 80; left: 50%; top: 50%; min-width: 110px; height: 70px; padding: 0 22px; transform: translate(-50%,-50%); border-radius: 22px; display: flex; align-items: center; justify-content: center; gap: 8px; color: white; font-weight: 850; box-shadow: 0 25px 60px rgba(24,38,67,.25); animation: feedback-in .62s ease both; }
.feedback-pop.correct { background: linear-gradient(135deg, #13bda6, #268ee9); }.feedback-pop.wrong { background: linear-gradient(135deg, #ff8d6d, #e85e7e); }

/* Symbol */
.symbol-layout { min-height: calc(100vh - 118px); display: grid; grid-template-columns: .82fr 1.18fr; gap: 34px; padding: 20px 2% 46px; align-items: center; }
.target-zone { min-height: 620px; padding: 54px; border: 1px solid white; border-radius: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(225,247,241,.68)); box-shadow: var(--shadow); }
.target-zone h2 { margin: 12px 0 30px; font-size: clamp(28px, 3vw, 48px); }.target-zone > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.target-object { width: 210px; height: 210px; margin-bottom: 26px; border: 1px solid white; border-radius: 52px; display: grid; place-items: center; color: #0f8479; background: linear-gradient(145deg, #fff, #e9f8f2); box-shadow: 0 35px 60px rgba(25, 104, 93, .16), inset 6px 6px 15px white; animation: target-enter .5s cubic-bezier(.2,.8,.2,1) both; }
.target-object img { width: 158px; height: 158px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(34, 53, 78, .18)); }
.symbol-console { padding: 34px; border: 1px solid white; border-radius: 42px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.symbol-map { padding: 22px; border-radius: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; background: #edf7f1; }
.symbol-map > div { min-height: 92px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; display: grid; grid-template-columns: auto 1fr; place-items: center; gap: 6px; color: #0f8479; background: white; box-shadow: 0 8px 18px rgba(45,55,84,.06); }
.symbol-map b { color: var(--ink); font-size: 17px; }
.symbol-map img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(34, 53, 78, .15)); }
.keypad { width: min(520px, 100%); margin: 24px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.keypad button { height: 70px; border: 0; border-radius: 20px; color: white; background: linear-gradient(160deg, #0f8d82, #123d5b); box-shadow: 0 12px 22px rgba(15,92,92,.2), inset 0 1px rgba(255,255,255,.25); font-size: 24px; font-weight: 850; transition: transform .16s ease; }
.keypad button:hover { transform: translateY(-3px); }

/* Trail */
.trail-heading { height: 105px; padding: 8px 2%; display: flex; align-items: center; justify-content: space-between; }.trail-heading h2 { margin-top: 7px; font-size: clamp(27px, 3vw, 44px); }.trail-heading > span { padding: 12px 18px; border: 1px solid white; border-radius: 99px; color: #127c6b; background: rgba(237,255,250,.8); font-size: 12px; font-weight: 850; }
.trail-board { position: relative; height: calc(100vh - 220px); min-height: 620px; border: 1px solid white; border-radius: 38px; background: radial-gradient(circle at 50% 50%, rgba(245,255,252,.96), rgba(214,249,230,.85)); box-shadow: var(--shadow), inset 0 0 80px rgba(28,187,145,.08); overflow: hidden; }
.trail-board::before { position: absolute; inset: 0; background-image: radial-gradient(rgba(29,132,109,.09) 1px, transparent 1px); background-size: 28px 28px; content: ""; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.trail-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }.trail-lines polyline { fill: none; stroke: #138b72; stroke-width: .48; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 3px rgba(19,139,114,.2)); animation: line-draw .35s ease both; }
.trail-node { position: absolute; z-index: 2; width: clamp(44px, 4.1vw, 66px); height: clamp(44px, 4.1vw, 66px); transform: translate(-50%,-50%); border: 3px solid rgba(29,149,123,.55); border-radius: 50%; display: grid; place-items: center; color: #253246; background: linear-gradient(145deg,#fff,#edf1f0); box-shadow: 0 13px 24px rgba(25,79,67,.16), inset 3px 3px 7px white; font-size: clamp(14px, 1.5vw, 21px); font-weight: 900; transition: opacity .2s ease, transform .2s ease; }
.trail-node.shape { border-color: white; background: linear-gradient(145deg,#fff,#e5eae7); }
.trail-node.shape span { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(from -90deg, #119c79 0 var(--slice), #f5f5f2 var(--slice) 100%); box-shadow: inset -7px -7px 12px rgba(11,75,59,.12), inset 5px 5px 9px rgba(255,255,255,.7); }
.trail-node.current { animation: node-pulse 1.5s ease-in-out infinite; }.trail-node.done { opacity: .46; box-shadow: none; }.trail-node:hover { transform: translate(-50%,-50%) scale(1.08); }

/* Attention */
.attention-shell { width: 100%; max-width: none; padding: 0 22px 22px; background: linear-gradient(#d9e9ff, #edf5ff); }
.attention-shell .game-header { max-width: 1560px; margin: auto; }
.sky-stage { position: relative; height: calc(100vh - 108px); min-height: 650px; border: 1px solid rgba(255,255,255,.8); border-radius: 34px; background: linear-gradient(#cfe2ff, #eaf3ff); box-shadow: inset 0 -120px 120px rgba(255,255,255,.32); overflow: hidden; }
.attention-title { position: absolute; z-index: 10; left: 50%; top: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; }.attention-title > span { color: #6d7d96; font-size: 10px; font-weight: 850; letter-spacing: .12em; }.attention-title strong { font-size: 26px; }.attention-title strong.blue { color: #168fa4; }.attention-title strong.orange { color: #db6b19; }.attention-title small { margin-top: 5px; display: flex; gap: 5px; color: #ed5268; }
.cloud { position: absolute; width: 300px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.35); filter: blur(20px); }.cloud-a { left: 8%; top: 22%; }.cloud-b { right: 12%; bottom: 20%; }
.moving-plane { position: absolute; z-index: 5; width: clamp(72px, 7vw, 126px); height: clamp(72px, 7vw, 126px); object-fit: contain; will-change: transform; animation-timing-function: linear; animation-iteration-count: infinite; filter: drop-shadow(0 16px 12px rgba(43,79,132,.2)); }
.fly-right { left: -120px; top: var(--lane); animation-name: fly-right; }.fly-left { right: -120px; top: var(--lane); animation-name: fly-left; }.fly-up { left: var(--lane); bottom: -120px; animation-name: fly-up; }.fly-down { left: var(--lane); top: -120px; animation-name: fly-down; }
.direction-console { position: absolute; z-index: 12; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px; border: 1px solid rgba(255,255,255,.86); border-radius: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: rgba(55,99,147,.22); box-shadow: 0 22px 45px rgba(37,61,103,.18); backdrop-filter: blur(18px); }
.direction-console button { width: clamp(82px, 8vw, 118px); height: 76px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; display: grid; place-items: center; gap: 2px; color: white; background: rgba(32,122,157,.74); box-shadow: inset 0 1px rgba(255,255,255,.25); transition: transform .16s ease, background .16s ease; }.direction-console button:hover { transform: translateY(-4px); background: #287fa0; }.direction-console svg { width: 29px; height: 29px; }.direction-console span { font-size: 10px; font-weight: 750; }

/* Memory */
.memory-shell { width: 100%; max-width: none; padding: 0 22px 22px; background: linear-gradient(#fff1e8, #fff8f4); }
.memory-shell .game-header { max-width: 1560px; margin: auto; }
.money-shell { width: 100%; max-width: none; padding: 0 22px 22px; background: linear-gradient(145deg, #eef8f3, #fff7e8); }
.money-shell .game-header { max-width: 1560px; margin: auto; }
.study-stage, .change-stage { min-height: calc(100vh - 110px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; width: min(1260px, 92%); margin: auto; }
.study-stage > div h2, .change-summary h2 { margin: 13px 0 14px; font-size: clamp(40px, 5vw, 70px); letter-spacing: -.06em; }.study-stage > div > p:last-child { color: var(--muted); }
.receipt { position: relative; padding: 34px; border-radius: 12px 12px 28px 28px; background: linear-gradient(#fff,#f8f8f5); box-shadow: 0 28px 70px rgba(90,63,43,.15); }.receipt::after { position: absolute; right: 0; bottom: -15px; left: 0; height: 24px; background: linear-gradient(135deg, transparent 12px, #f8f8f5 0) 0 0/24px 24px repeat-x; content: ""; }
.receipt header { padding-bottom: 20px; border-bottom: 1px dashed #c9c6bd; display: flex; justify-content: space-between; }.receipt header span { color: var(--muted); font-size: 12px; }
.receipt > div { padding: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.receipt > div > span { min-height: 90px; padding: 14px; border-radius: 18px; display: flex; align-items: center; gap: 12px; background: #f3f5f7; }.receipt > div img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(71,55,38,.16)); }.receipt > div svg { width: 34px; height: 34px; }.receipt > div .amber, .receipt > div .orange { color:#b86b13;background:#fff3de}.receipt > div .coral,.receipt > div .pink{color:#cf5966;background:#ffeaed}.receipt > div .yellow{color:#9f7c13;background:#fff8d8}.receipt > div .violet{color:#356e69;background:#e9f8f2}.receipt > div .blue,.receipt > div .cyan{color:#16809c;background:#e3f8ff}
.receipt .primary-button { width: 100%; }
.market-stage { position: relative; min-height: calc(100vh - 108px); padding-top: 80px; }
.shopping-tab { position: absolute; z-index: 20; left: 50%; top: 0; width: min(450px, 80%); min-height: 68px; padding: 14px 22px; transform: translateX(-50%); border: 0; border-radius: 0 0 24px 24px; display: grid; grid-template-columns: 1fr auto; color: #3a3a42; background: linear-gradient(#fff,#f0efec); box-shadow: 0 12px 32px rgba(63,49,42,.12); }.shopping-tab::after { position:absolute;right:0;bottom:-9px;left:0;height:14px;background:linear-gradient(135deg,transparent 7px,#f0efec 0) 0 0/14px 14px repeat-x;content:""}.shopping-tab b { text-align: left; }.shopping-tab span { color: #d87531; font-size: 11px; }.shopping-tab div { grid-column: 1/-1; margin-top: 10px; color: var(--muted); font-size: 12px; }
.market-status { width: min(1500px, 95%); margin: 20px auto; display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: center; }.market-status > span { color: #e95666; }.market-status > i { height: 7px; border-radius: 99px; background: rgba(123,74,47,.1); overflow: hidden; }.market-status > i span { height: 100%; display:block;background:linear-gradient(90deg,#ef9251,#d76a25);transition:width .3s ease}
.conveyor { position: relative; height: 390px; margin: 28px -22px; border-top: 38px solid #85808a; border-bottom: 38px solid #85808a; background: #34373a; overflow: hidden; box-shadow: inset 0 18px 30px rgba(0,0,0,.2), inset 0 -18px 30px rgba(0,0,0,.2); }
.belt-lines { position: absolute; inset: -38px 0; opacity: .3; background: repeating-linear-gradient(90deg, transparent 0 42px, #b5b1bb 42px 62px); }
.belt-item { position: absolute; z-index: 3; left: -180px; width: 150px; height: 150px; border: 0; border-radius: 40px; display: grid; place-items: center; align-content: center; gap: 5px; color: #fff; background: transparent; animation: conveyor-move 12s linear infinite; }.belt-item img { width: 118px; height: 118px; object-fit: contain; filter: drop-shadow(0 16px 10px rgba(0,0,0,.28)); }.belt-item svg { width: 76px; height: 76px; filter: drop-shadow(0 12px 8px rgba(0,0,0,.24)); }.belt-item span { padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.25); font-size: 10px; opacity: 0; transition: opacity .2s ease; }.belt-item:hover span { opacity: 1; }.belt-item > i { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border: 4px solid white; border-radius: 50%; display: grid; place-items: center; color: white; background: #25b65e; box-shadow: 0 8px 18px rgba(0,0,0,.25); }.belt-item.selected::before { position:absolute;inset:4px;border-radius:50%;background:rgba(29,135,123,.22);content:"";z-index:-1}
.belt-item.amber,.belt-item.orange{color:#f6a337}.belt-item.coral,.belt-item.pink{color:#f47b89}.belt-item.yellow{color:#f3cf4d}.belt-item.violet{color:#9e77ee}.belt-item.blue,.belt-item.cyan{color:#49c6e2}
.memory-submit { width: min(1100px, 94%); margin: auto; display: flex; justify-content: space-between; align-items: center; }.memory-submit > span { color: var(--muted); font-size: 12px; }
.change-summary > div { margin: 28px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.change-summary > div span { padding: 16px; border: 1px solid white; border-radius: 18px; display: grid; gap: 5px; color: var(--muted); background: rgba(255,255,255,.65); }.change-summary > div b { color: var(--ink); font-size: 24px; }.change-summary > strong { color: #d76d25; font-size: 32px; }
.cash-desk { padding: 30px; border: 1px solid white; border-radius: 34px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); }
.cash-display { min-height: 140px; padding: 22px; border-radius: 24px; background: #34383b; color: white; }.cash-display > span { color:#c8cdd3;font-size:11px}.cash-display > b{display:block;margin:5px 0 14px;font-size:38px}.cash-display > div{display:flex;flex-wrap:wrap;gap:7px}.cash-display button{border:0;border-radius:8px;padding:6px 9px;background:#6aa654;color:white;font-size:11px}
.money-pad { margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.money-pad button { min-height: 76px; border: 1px solid rgba(75,108,74,.16); border-radius: 16px; display: grid; place-items: center; gap: 2px; color: #537840; background: linear-gradient(145deg,#f5ffe9,#dcefc5); box-shadow: 0 8px 16px rgba(65,88,58,.08); }.money-pad small{font-size:9px}.money-pad b{font-size:17px}.cash-desk .primary-button{width:100%}

.memory-study-board {
  display: grid;
  gap: 24px;
}
.memory-study-board > header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(80, 58, 42, .14);
  display: flex;
  justify-content: space-between;
  color: #704d38;
}
.memory-study-board > header span {
  color: #8a7468;
  font-size: 12px;
}
.memory-study-board > div {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 54px);
}
.memory-study-board > div img {
  width: clamp(104px, 11vw, 160px);
  height: clamp(104px, 11vw, 160px);
  object-fit: contain;
  filter: drop-shadow(0 20px 15px rgba(93, 64, 43, .16));
}
.memory-study-board .primary-button {
  justify-self: end;
  min-width: 210px;
}

.money-shell .change-summary > div span {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 66, 66, .14);
  border-radius: 0;
  background: transparent;
}
.money-shell .cash-desk {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.money-shell .cash-display {
  min-height: 112px;
  padding: 12px 0;
  border-radius: 0;
  color: #173349;
  background: transparent;
  border-bottom: 1px solid rgba(43, 66, 66, .14);
}
.money-shell .cash-display > span {
  color: #6c7c7f;
}
.money-shell .cash-display > div {
  min-height: 42px;
}
.money-shell .cash-display button {
  position: relative;
  width: 64px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.money-shell .cash-display button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.money-shell .cash-remove {
  position: absolute;
  right: -7px;
  top: -8px;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #e95656;
  box-shadow: 0 5px 12px rgba(180, 48, 48, .28);
  pointer-events: none;
}
.money-shell .cash-remove svg {
  width: 14px;
  height: 14px;
}
.money-shell .money-pad {
  margin: 12px 0 18px;
  gap: 8px;
}
.money-shell .money-pad button {
  min-height: 126px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform .16s ease, filter .16s ease;
}
.money-shell .money-pad button:hover {
  transform: translateY(-5px);
  filter: brightness(1.04);
}
.money-shell .money-pad button:active {
  transform: translateY(0) scale(.96);
}
.money-shell .money-pad img {
  width: 100%;
  height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 14px 10px rgba(36, 55, 61, .16));
}

/* Report */
.report-shell { padding-bottom: 40px; }.report-chip { padding: 9px 13px; border: 1px solid rgba(102,81,211,.15); border-radius: 99px; display:flex;align-items:center;gap:6px;color:#7354d0;background:#f2edff;font-size:11px;font-weight:800}
.report-hero { min-height: 250px; padding: 45px 5%; border: 1px solid white; border-radius: 34px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(120deg,rgba(255,255,255,.82),rgba(235,246,255,.75)); box-shadow: var(--shadow); }.report-hero h1{margin:10px 0;font-size:clamp(42px,5vw,70px);letter-spacing:-.06em}.report-hero > div > p:last-child{color:var(--muted)}
.score-orb { width: 180px; height: 180px; border-radius: 50%; display: grid; place-items: center; align-content: center; color: white; background: conic-gradient(from 20deg,#19c4bc,#3479ee,#8e57df,#19c4bc); box-shadow:0 28px 55px rgba(61,89,176,.28)}.score-orb small{font-size:10px}.score-orb strong{font-size:72px;line-height:.95;letter-spacing:-.08em}.score-orb span{font-size:10px}
.metric-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }.metric-grid article{padding:22px;border:1px solid white;border-radius:25px;background:rgba(255,255,255,.75);box-shadow:0 14px 36px rgba(40,60,105,.07)}.metric-grid article>div{display:flex;align-items:center;gap:12px}.metric-grid article>div>svg{width:40px;height:40px;color:#3f76dc}.metric-grid article>div span{display:grid}.metric-grid small{color:var(--muted)}.metric-grid b{font-size:30px}.metric-grid article>i{height:7px;margin:17px 0;display:block;border-radius:99px;background:#e7ebf2;overflow:hidden}.metric-grid article>i span{height:100%;display:block;background:linear-gradient(90deg,var(--cyan),var(--blue),var(--violet))}.metric-grid p{color:var(--muted);font-size:11px;line-height:1.65}
.insight-panel { margin-top: 20px; padding: 30px; border: 1px solid rgba(69,111,213,.14); border-radius: 28px; background:rgba(255,255,255,.78);box-shadow:0 18px 45px rgba(40,60,105,.07)}.insight-panel>div:first-child{display:flex;gap:14px;align-items:flex-start}.insight-panel>div:first-child>svg{width:36px;height:36px;color:#7658dc}.insight-panel small{color:#7558cf;font-weight:800}.insight-panel h2{margin-top:5px;font-size:26px}.insight-panel>p{margin:20px 0;color:var(--muted);line-height:1.8}.insight-panel>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:12px}.insight-panel>div:last-child span{padding:15px;border-radius:15px;display:flex;align-items:center;gap:8px;background:#f5f7fb;color:#52627b;font-size:12px}.insight-panel>div:last-child svg{color:#5a79d4}
.report-actions{margin-top:20px;display:flex;justify-content:flex-end;gap:12px}

@keyframes brain-float { 50% { transform: translate(-50%, -53%) rotate(2deg); } }
@keyframes orbit-float { 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes pulse-ring { 0%{transform:scale(.9);opacity:.7}100%{transform:scale(1.18);opacity:0} }
@keyframes feedback-in { 0%{opacity:0;transform:translate(-50%,-44%) scale(.8)}35%{opacity:1;transform:translate(-50%,-50%) scale(1.04)}100%{opacity:0;transform:translate(-50%,-55%) scale(1)} }
@keyframes target-enter { from{opacity:0;transform:translateY(-40px) scale(.72) rotate(-7deg)}to{opacity:1;transform:none} }
@keyframes line-draw { from{opacity:.3}to{opacity:1} }
@keyframes node-pulse { 50% { box-shadow: 0 0 0 12px rgba(30,189,153,.14),0 15px 28px rgba(25,79,67,.18); } }
@keyframes fly-right { from{transform:translateX(0) rotate(var(--angle))}to{transform:translateX(calc(100vw + 240px)) rotate(var(--angle))} }
@keyframes fly-left { from{transform:translateX(0) rotate(var(--angle))}to{transform:translateX(calc(-100vw - 240px)) rotate(var(--angle))} }
@keyframes fly-up { from{transform:translateY(0) rotate(var(--angle))}to{transform:translateY(calc(-100vh - 240px)) rotate(var(--angle))} }
@keyframes fly-down { from{transform:translateY(0) rotate(var(--angle))}to{transform:translateY(calc(100vh + 240px)) rotate(var(--angle))} }
@keyframes conveyor-move { from{transform:translateX(0)}to{transform:translateX(calc(100vw + 360px))} }

@media (max-width: 1050px) {
  .landing-shell,.overview-shell,.report-shell,.center-shell{width:min(94%,820px)}
  .hero{grid-template-columns:1fr;padding-top:30px}.hero-stage{height:520px;min-height:0}.hero-copy{text-align:center}.hero-copy .eyebrow,.hero-actions{justify-content:center}.hero-copy>p:not(.eyebrow){margin:auto}.feature-strip{justify-content:center}
  .profile-grid{grid-template-columns:1fr;gap:35px}.task-grid{grid-template-columns:1fr 1fr}.symbol-layout{grid-template-columns:1fr}.target-zone{min-height:380px}.symbol-console{margin-bottom:30px}
  .study-stage,.change-stage{grid-template-columns:1fr;gap:30px;padding:40px 0}.metric-grid{grid-template-columns:1fr 1fr}
}

@media (max-width: 680px) {
  .landing-shell,.overview-shell,.report-shell,.center-shell{width:calc(100% - 28px)}nav{height:74px}.brand em,nav>span{display:none}
  .hero{display:flex;flex-direction:column;padding:40px 0 70px;gap:45px}.hero-copy h1{font-size:44px}.hero-copy>p:not(.eyebrow){font-size:15px}.hero-actions{flex-direction:column}.feature-strip{gap:18px}.feature-strip b{font-size:22px}.hero-stage{width:100%;height:420px}.brain-object{width:190px;height:190px}.brain-object svg{width:86px}.glass-orbit{width:56px;height:56px;border-radius:18px}.hero-meter{width:190px}
  .profile-card{padding:20px}.profile-grid{padding:36px 4%}.form-panel{padding:20px}.overview-shell>header{padding-top:40px}.task-grid{grid-template-columns:1fr}.task-card{min-height:220px}.task-card>i{margin-bottom:28px}.overview-action{align-items:stretch;flex-direction:column;gap:16px}.overview-action .primary-button{width:100%}
  .game-shell{width:100%;padding:0 10px 16px}.game-header{height:76px;grid-template-columns:45px 1fr auto;gap:8px}.round-button{width:42px;height:42px}.timer{min-width:78px;padding:0 9px;font-size:11px}.timer svg{display:none}
  .symbol-layout{padding:8px 0 25px;gap:12px}.target-zone{min-height:310px;padding:28px;border-radius:28px}.target-zone h2{font-size:25px}.target-object{width:145px;height:145px;border-radius:38px}.target-object svg{width:65px}.target-object img{width:108px;height:108px}.symbol-console{padding:14px;border-radius:28px}.symbol-map{padding:10px;gap:5px}.symbol-map>div{min-height:66px;grid-template-columns:1fr}.symbol-map svg{width:22px}.symbol-map img{width:36px;height:36px}.symbol-map b{font-size:12px}.keypad{gap:6px}.keypad button{height:54px;border-radius:15px;font-size:19px}
  .trail-heading{height:120px;align-items:flex-start;flex-direction:column;justify-content:center;gap:10px}.trail-heading h2{font-size:25px}.trail-board{height:calc(100vh - 215px);min-height:580px;border-radius:24px}.trail-node{width:42px;height:42px;border-width:2px}
  .attention-shell,.memory-shell,.money-shell{padding:0 10px 10px}.sky-stage{height:calc(100vh - 90px);min-height:620px;border-radius:24px}.attention-title{top:16px}.direction-console{bottom:14px;width:calc(100% - 20px);gap:5px;padding:7px;border-radius:20px}.direction-console button{width:auto;height:64px;border-radius:15px}.direction-console span{display:none}
  .study-stage,.change-stage{width:96%;min-height:calc(100vh - 85px)}.study-stage>div h2,.change-summary h2{font-size:39px}.receipt{padding:22px}.receipt>div{grid-template-columns:1fr 1fr;gap:8px}.receipt>div>span{min-height:72px;padding:9px;gap:7px}.receipt>div svg{width:26px}.receipt>div img{width:38px;height:38px}.market-stage{padding-top:70px}.shopping-tab{min-height:58px}.market-status{grid-template-columns:auto auto;}.market-status>i{grid-column:1/-1}.conveyor{height:360px;margin-left:-10px;margin-right:-10px}.belt-item{width:118px;height:118px}.belt-item svg{width:62px;height:62px}.belt-item img{width:92px;height:92px}.memory-submit{align-items:stretch;flex-direction:column;gap:10px}.memory-submit .primary-button{width:100%}.change-summary>div{grid-template-columns:1fr}.cash-desk{padding:18px}
  .report-hero{padding:28px;align-items:flex-start;flex-direction:column;gap:25px}.score-orb{width:145px;height:145px;align-self:center}.score-orb strong{font-size:58px}.metric-grid{grid-template-columns:1fr}.insight-panel>div:last-child{grid-template-columns:1fr}.report-actions{flex-direction:column}.report-actions .primary-button{width:100%}
  .intro-card,.dialog-card{padding:26px}.intro-card h2{font-size:31px}
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}

@media print {
  .web-app{background:white}.report-shell{width:100%}.report-actions,nav{display:none}.report-hero,.metric-grid article,.insight-panel{box-shadow:none}
}

/* Assessment themes and compact H5 surfaces */
.screen-symbol { background: #f5f0e7; }
.screen-trail { background: #d9f7e8; }
.screen-attention { background: #dceaff; }
.screen-memory { background: #ffe5d3; }
.screen-symbol .game-header { color: #263a58; }
.screen-trail .game-header { color: #176c5a; }
.screen-attention .game-header { color: #235c9c; }
.screen-memory .game-header { color: #9a542d; }
.screen-symbol .game-progress > i span { background: #d57949; }
.screen-trail .game-progress > i span { background: #16a879; }
.screen-attention .game-progress > i span { background: #458de4; }
.screen-memory .game-progress > i span { background: #e6793b; }
.screen-symbol .timer svg { color: #d57949; }
.screen-trail .timer svg { color: #15936e; }
.screen-attention .timer svg { color: #4b86d3; }
.screen-memory .timer svg { color: #dd783b; }

.symbol-shell, .trail-shell, .attention-shell, .memory-shell, .money-shell {
  min-height: 100dvh;
}
.symbol-shell { background: #f5f0e7; }
.symbol-layout { min-height: calc(100dvh - 118px); }
.symbol-layout .target-zone { background: rgba(255,255,255,.3); }
.symbol-map { background: rgba(255,255,255,.56); }
.symbol-map > div { background: rgba(255,255,255,.82); }
.keypad { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.keypad button { background: #253f64; border-radius: 18px; }
.keypad button:last-child { grid-column: 2; }
.target-object { animation: target-float 2.7s ease-in-out infinite, target-enter .5s cubic-bezier(.2,.8,.2,1) both; }
.target-object img { animation: target-image-float 2.7s ease-in-out infinite; }

.trail-shell { background: #d9f7e8; }
.trail-board { background: #d8f7e7; box-shadow: inset 0 0 80px rgba(22,168,121,.12); }
.trail-heading > span { color: #137e66; background: rgba(255,255,255,.64); }

.attention-shell { background: #dceaff; }
.attention-shell .sky-stage { border-color: rgba(255,255,255,.75); background: #cfe1fb; }
.direction-console { width: 210px; height: 210px; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; }
.direction-console button { width: auto; height: auto; border-radius: 22px; background: #559bb6; box-shadow: 0 12px 20px rgba(44,93,133,.16); }
.direction-console button.direction-up { grid-column: 2; grid-row: 1; }
.direction-console button.direction-left { grid-column: 1; grid-row: 2; }
.direction-console button.direction-right { grid-column: 3; grid-row: 2; }
.direction-console button.direction-down { grid-column: 2; grid-row: 3; }
.direction-console button:hover { background: #3f879f; }

.memory-shell { background: #ffe5d3; }
.memory-shell .market-stage { min-height: calc(100dvh - 108px); }
.shopping-list-preview { display: flex; gap: 8px; overflow: hidden; }
.shopping-list-preview span { display: grid; justify-items: center; gap: 2px; min-width: 46px; }
.shopping-list-preview img { width: 38px; height: 38px; object-fit: contain; }
.shopping-list-preview b { max-width: 46px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.conveyor { height: 330px; }
.belt-item { top: 50%; margin-top: -75px; }
.belt-item img { width: 122px; height: 122px; }
.memory-submit { color: #8d5e48; }
.memory-submit > b { color: #d26f32; font-size: 20px; }
.timeout-card { text-align: center; }
.timeout-card > svg { margin: 0 auto 12px; color: #d7793d; }

@keyframes target-float { 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes target-image-float { 50% { transform: translateY(-7px) rotate(2deg) scale(1.02); } }

@media (max-width: 680px) {
  html, body, #root { min-height: 100%; }
  .landing-shell, .center-shell, .overview-shell { height: 100dvh; min-height: 100dvh; overflow: hidden; }
  .landing-shell nav { height: 62px; }
  .landing-shell .hero { min-height: calc(100dvh - 92px); padding: 10px 0 18px; gap: 14px; display: grid; grid-template-rows: auto minmax(130px, 1fr); }
  .hero-copy h1 { margin: 12px 0; font-size: 36px; line-height: 1.04; }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.55; }
  .hero-actions { margin-top: 18px; gap: 10px; }
  .hero-actions .primary-button { min-height: 50px; }
  .hero-actions small { font-size: 10px; }
  .feature-strip { margin-top: 18px; gap: 24px; }
  .feature-strip b { font-size: 19px; }
  .hero-stage { height: 100%; min-height: 130px; border-radius: 28px 28px 0 0; overflow: hidden; }
  .brain-object { width: 126px; height: 126px; top: 68%; }
  .brain-object svg { width: 66px; }
  .glass-orbit { width: 42px; height: 42px; border-radius: 13px; }
  .hero-meter { display: none; }
  .landing-shell > .legal { display: none; }

  .center-shell { padding: 8px 0; display: block; }
  .profile-card { height: calc(100dvh - 16px); padding: 14px; border-radius: 24px; overflow: hidden; }
  .profile-grid { height: calc(100% - 34px); padding: 12px 2%; gap: 8px; grid-template-rows: auto 1fr; }
  .profile-grid h1 { margin: 6px 0; font-size: 28px; }
  .profile-grid > div > p:not(.eyebrow), .privacy-panel { display: none; }
  .form-panel { padding: 14px; border-radius: 20px; }
  .form-panel label { margin-bottom: 9px; gap: 4px; }
  .form-panel select { height: 46px; }
  .form-panel .primary-button { min-height: 50px; margin-top: 4px; }

  .overview-shell { width: calc(100% - 20px); padding-bottom: 8px; }
  .overview-shell nav { height: 54px; }
  .overview-shell > header { padding: 8px 0 10px; }
  .overview-shell > header h1 { margin: 5px 0; font-size: 29px; }
  .overview-shell > header > p:last-child { font-size: 11px; }
  .task-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .task-card { min-height: 148px; padding: 12px; border-radius: 19px; }
  .task-card > span { right: 9px; top: 5px; font-size: 38px; }
  .task-card > i { width: 42px; height: 42px; margin-bottom: 12px; border-radius: 13px; }
  .task-card small { font-size: 9px; }
  .task-card h3 { margin: 2px 0 8px; font-size: 18px; }
  .task-card > b { font-size: 10px; }
  .overview-action { margin-top: 8px; padding: 8px; border-radius: 16px; }
  .overview-action > span { display: none; }
  .overview-action .primary-button { min-height: 48px; }
  .web-app.screen-symbol, .web-app.screen-trail, .web-app.screen-attention, .web-app.screen-memory { height: 100dvh; min-height: 100dvh; overflow: hidden; }
  .game-shell { height: 100dvh; min-height: 0; overflow: hidden; }
  .game-header { flex: none; }

  .symbol-layout { height: calc(100dvh - 76px); min-height: 0; padding: 0 8px 12px; grid-template-rows: 39% 61%; gap: 0; align-items: stretch; }
  .symbol-layout .target-zone { min-height: 0; padding: 6px 8px 4px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .target-zone .eyebrow { font-size: 9px; }
  .target-zone h2 { margin: 2px 0 4px; font-size: 20px; }
  .target-zone > span { font-size: 10px; }
  .target-object { width: 112px; height: 112px; margin: 4px 0 5px; border-radius: 30px; box-shadow: 0 14px 24px rgba(106,77,48,.12); }
  .target-object img { width: 86px; height: 86px; }
  .symbol-console { min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; display: grid; grid-template-rows: 45% 55%; }
  .symbol-map { padding: 4px 2px; border-radius: 18px; gap: 2px; background: rgba(255,255,255,.46); }
  .symbol-map > div { min-height: 0; border: 0; border-radius: 10px; grid-template-columns: 1fr; gap: 0; background: rgba(255,255,255,.62); box-shadow: none; }
  .symbol-map b { font-size: 11px; line-height: 1; }
  .symbol-map img { width: 32px; height: 32px; }
  .keypad { width: 214px; margin: 8px auto 0; gap: 6px; align-content: center; }
  .keypad button { height: 43px; border-radius: 13px; font-size: 18px; box-shadow: 0 7px 12px rgba(24,50,83,.18); }

  .trail-heading { height: 74px; padding: 0 8px; }
  .trail-heading .eyebrow { font-size: 9px; }
  .trail-heading h2 { margin-top: 2px; font-size: 18px; }
  .trail-heading > span { padding: 7px 10px; font-size: 10px; }
  .trail-board { height: calc(100dvh - 150px); min-height: 0; border: 0; border-radius: 20px; }
  .trail-node { width: 37px; height: 37px; }

  .attention-shell, .memory-shell, .money-shell { padding: 0 8px 8px; }
  .sky-stage { height: calc(100dvh - 84px); min-height: 0; border: 0; border-radius: 20px; }
  .attention-title { top: 12px; }
  .attention-title strong { font-size: 24px; }
  .direction-console { width: 178px; height: 178px; gap: 7px; bottom: 14px; }
  .direction-console button { border-radius: 18px; }
  .direction-console span { display: none; }

  .market-stage { height: calc(100dvh - 84px); min-height: 0; padding-top: 60px; }
  .shopping-tab { width: min(360px, 88%); min-height: 54px; padding: 11px 16px; border-radius: 0 0 18px 18px; }
  .market-status { width: 94%; margin: 8px auto 12px; }
  .conveyor { height: 245px; margin: 12px -8px; border-top-width: 30px; border-bottom-width: 30px; }
  .belt-item { width: 100px; height: 100px; margin-top: -50px; }
  .belt-item img { width: 84px; height: 84px; }
  .belt-item span { display: none; }
  .belt-item > i { width: 27px; height: 27px; border-width: 3px; }
  .memory-submit { width: 94%; min-height: 32px; font-size: 11px; }
  .memory-submit .primary-button { display: none; }

  .intro-backdrop, .dialog-backdrop { padding: 8px; }
  .intro-card, .dialog-card { max-height: calc(100dvh - 16px); overflow-y: auto; padding: 20px; border-radius: 24px; }
  .intro-card h2 { font-size: 27px; }
  .intro-rules { margin: 12px 0; gap: 5px; }
  .intro-rules span { font-size: 11px; }
  .practice-panel { margin: 10px 0; padding: 10px; border-radius: 17px; }
  .practice-trigger { min-height: 42px; font-size: 11px; }
}

/* 2026-07-24 compact app revision */
.screen-home {
  background: #f3f7fb;
}
.screen-home .landing-shell {
  height: 100dvh;
  min-height: 720px;
}
.screen-home nav {
  height: 76px;
}
.home-duration {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #52637b;
  font-weight: 800;
}
.brand > span {
  border-radius: 13px;
  background: #3778e8;
  box-shadow: 0 10px 24px rgba(55,120,232,.2);
}
.home-start {
  min-height: calc(100dvh - 128px);
  padding: 4vh 5vw 6vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(60px, 9vw, 150px);
  align-content: center;
}
.home-start > header {
  grid-row: 1 / 4;
  align-self: center;
}
.home-copy {
  position: relative;
  padding-top: clamp(150px, 16vw, 210px);
}
.home-visual {
  position: absolute;
  top: -42px;
  left: -38px;
  width: clamp(205px, 20vw, 285px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 22px 30px rgba(44, 91, 157, .16));
  animation: visual-float 5s ease-in-out infinite;
}
.home-start h1 {
  margin: 16px 0;
  color: #16243a;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}
.home-start h1 span {
  color: #3778e8;
}
.home-start > header > p:last-child {
  max-width: 480px;
  color: #68768b;
  font-size: 16px;
  line-height: 1.7;
}
.home-fields {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(29,51,82,.12);
}
.home-fields label {
  min-height: 72px;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(29,51,82,.12);
}
.home-fields label > span {
  color: #34455f;
  font-size: 13px;
  font-weight: 850;
}
.home-fields select {
  width: 100%;
  height: 52px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #17253a;
  background: transparent;
  font-size: 16px;
  font-weight: 750;
}
.home-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.home-actions small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7b8798;
  font-size: 11px;
}
.screen-home .legal {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  padding: 0;
}

.game-header {
  height: 68px;
  padding: 0 6px;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.game-progress {
  display: none;
}
.round-button {
  justify-self: start;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.66);
  box-shadow: none;
}
.timer {
  justify-self: end;
  min-width: 88px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.symbol-layout .target-zone,
.symbol-console {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.symbol-layout .target-zone {
  min-height: 0;
  padding: 0;
}
.target-object {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.symbol-map {
  background: transparent;
}
.symbol-map > div {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.symbol-map b {
  font-size: 20px;
}
.symbol-map img {
  width: 70px;
  height: 70px;
}
.keypad {
  width: 246px;
  grid-template-columns: repeat(3, 64px);
  justify-content: center;
  gap: 12px;
}
.keypad button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(32,53,81,.08);
  border-radius: 50%;
  color: #1f3048;
  background: #fff;
  box-shadow: 0 10px 18px rgba(35,53,81,.13);
  font-size: 23px;
}
.keypad button:hover {
  background: #fff;
  transform: translateY(-2px);
}

.trail-board,
.attention-shell .sky-stage {
  border: 0;
  box-shadow: none;
}
.trail-board {
  height: calc(100dvh - 68px);
  min-height: 0;
  border-radius: 0;
}
.trail-node {
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
}
.trail-node.current {
  animation: none;
}
.trail-node.shape span,
.trail-practice i {
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: circle(50%);
}

.moving-plane {
  animation-fill-mode: both;
}
.direction-console {
  width: 226px;
  height: 148px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 9px;
}
.direction-console button {
  border: 1px solid rgba(43,91,135,.1);
  border-radius: 16px;
  color: #28526d;
  background: #fff;
  box-shadow: 0 8px 16px rgba(44,93,133,.12);
}
.direction-console button.direction-up {
  grid-column: 2;
  grid-row: 1;
}
.direction-console button.direction-left {
  grid-column: 1;
  grid-row: 2;
}
.direction-console button.direction-down {
  grid-column: 2;
  grid-row: 2;
}
.direction-console button.direction-right {
  grid-column: 3;
  grid-row: 2;
}
.direction-console button:hover {
  color: #28526d;
  background: #fff;
}

.belt-item {
  animation-duration: 28s;
}

.feedback-pop {
  width: 92px;
  min-width: 0;
  height: 92px;
  padding: 0;
  border: 6px solid currentColor;
  border-radius: 50%;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 12px 30px rgba(20,45,65,.18);
}
.feedback-pop svg {
  width: 56px;
  height: 56px;
  filter: none;
}
.feedback-pop.correct {
  color: #20a66b;
}
.feedback-pop.wrong {
  color: #e44d57;
}

.tutorial-card {
  padding: 26px;
}
.tutorial-head {
  text-align: left;
}
.tutorial-head > span {
  color: #5b6e8a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.tutorial-head h2 {
  margin: 5px 0 4px;
}
.tutorial-head p {
  color: #6d798c;
  font-size: 13px;
  line-height: 1.55;
}
.coach-hint {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #34445d;
}
.coach-hint span {
  display: grid;
  gap: 2px;
  font-size: 12px;
}
.coach-hint b {
  color: #2674d9;
  font-size: 13px;
}
.coach-hint > svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #2674d9;
  animation: coach-point 1.15s ease-in-out infinite;
}
.practice-panel {
  border: 0;
  background: #f5f8fc;
  box-shadow: none;
}
.practice-panel button {
  border-radius: 50%;
}
.symbol-practice .practice-key-row {
  display: grid;
  grid-template-columns: repeat(3, 54px);
  gap: 10px;
}
.practice-directions {
  width: 164px;
  height: 108px;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
}
.practice-directions button {
  width: auto;
  height: auto;
  border-radius: 12px;
}
.practice-directions .direction-up { grid-column: 2; grid-row: 1; }
.practice-directions .direction-left { grid-column: 1; grid-row: 2; }
.practice-directions .direction-down { grid-column: 2; grid-row: 2; }
.practice-directions .direction-right { grid-column: 3; grid-row: 2; }
.practice-trigger {
  border: 0;
  background: transparent;
}

@keyframes coach-point {
  50% { transform: translateY(7px); }
}

@keyframes conveyor-move {
  0% { transform: translateX(0); }
  42.8% { transform: translateX(calc(100vw + 360px)); }
  42.81%, 100% { transform: translateX(calc(100vw + 360px)); }
}

@media (max-width: 680px) {
  .screen-home .landing-shell {
    width: calc(100% - 32px);
    min-height: 100dvh;
  }
  .screen-home nav {
    height: 62px;
  }
  .home-duration {
    display: flex !important;
    font-size: 11px;
  }
  .home-start {
    min-height: calc(100dvh - 96px);
    padding: 8px 2px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
  .home-copy {
    padding-top: 122px;
  }
  .home-visual {
    top: -20px;
    left: 50%;
    width: 158px;
    transform: translateX(-50%);
    animation: visual-float-mobile 5s ease-in-out infinite;
  }
  .home-start h1 {
    margin: 8px 0;
    font-size: 34px;
    line-height: 1.08;
  }
  .home-start > header > p:last-child {
    font-size: 13px;
  }
  .home-fields {
    margin-top: 24px;
  }
  .home-fields label {
    min-height: 58px;
    grid-template-columns: 82px 1fr;
  }
  .home-fields select {
    height: 48px;
    font-size: 14px;
  }
  .home-actions {
    margin-top: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .home-actions .primary-button {
    width: 100%;
    min-height: 52px;
  }
  .home-actions small {
    justify-content: center;
  }
  .screen-home .legal {
    display: block;
    bottom: 8px;
    font-size: 9px;
  }

  .game-header {
    height: 58px;
    padding: 0 4px;
    grid-template-columns: 1fr 1fr;
  }
  .timer {
    min-width: 72px;
    font-size: 12px;
  }
  .timer svg {
    display: block;
  }
  .symbol-layout {
    height: calc(100dvh - 58px);
    grid-template-rows: 31% 69%;
  }
  .symbol-map {
    padding: 5px;
  }
  .symbol-map b {
    font-size: 16px;
  }
  .symbol-map img {
    width: 48px;
    height: 48px;
  }
  .keypad {
    width: 210px;
    grid-template-columns: repeat(3, 54px);
    gap: 8px 18px;
  }
  .keypad button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 20px;
  }
  .trail-board {
    height: calc(100dvh - 58px);
    border-radius: 0;
  }
  .direction-console {
    width: 196px;
    height: 128px;
    bottom: 12px;
  }
  .direction-console button {
    border-radius: 14px;
  }
  .sky-stage {
    height: calc(100dvh - 58px);
    min-height: 0;
  }
  .market-stage {
    height: calc(100dvh - 58px);
  }
  .tutorial-card {
    max-height: calc(100dvh - 12px);
    padding: 18px;
  }
  .tutorial-head h2 {
    font-size: 25px;
  }
  .tutorial-head p {
    font-size: 11px;
  }
  .coach-hint span {
    font-size: 11px;
  }
  .practice-panel {
    margin: 8px 0;
  }
}

/* In-context guided demos */
.coach-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
}
.coach-shade {
  position: fixed;
  z-index: 100;
  background: rgba(8, 15, 28, .72);
  pointer-events: auto;
}
.coach-shade-top {
  top: 0;
  right: 0;
  left: 0;
}
.coach-shade-left {
  left: 0;
}
.coach-shade-right {
  right: 0;
}
.coach-shade-bottom {
  right: 0;
  bottom: 0;
  left: 0;
}
.coach-spotlight {
  position: fixed;
  z-index: 101;
  border: 3px solid #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 5px rgba(66, 141, 255, .85), 0 0 28px rgba(66, 141, 255, .7);
  pointer-events: none;
  animation: coach-spotlight 1.2s ease-in-out infinite;
}
.coach-hit-target {
  position: fixed;
  z-index: 103;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.demo-ready-layer {
  position: fixed;
  z-index: 120;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background: rgba(9, 17, 30, .78);
}
.demo-ready-layer > svg {
  width: 68px;
  height: 68px;
  margin-bottom: 16px;
  color: #62d79e;
}
.demo-ready-layer > p {
  color: #b9c8dd;
  font-size: 12px;
  font-weight: 800;
}
.demo-ready-layer h2 {
  margin: 6px 0 24px;
  font-size: 30px;
}
.demo-ready-layer .primary-button {
  min-width: 230px;
}
.coach-bubble {
  position: fixed;
  z-index: 102;
  min-height: 86px;
  padding: 16px 18px;
  border-radius: 16px;
  display: grid;
  gap: 5px;
  color: #263750;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
  pointer-events: none;
}
.coach-bubble::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  content: "";
}
.coach-bubble.below::after {
  top: -8px;
}
.coach-bubble.above::after {
  bottom: -8px;
}
.coach-bubble b {
  position: relative;
  z-index: 1;
  color: #2877df;
  font-size: 12px;
}
.coach-bubble span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}
.feedback-pop {
  z-index: 110;
}
.coach-plane {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 42%;
  width: clamp(104px, 10vw, 150px);
  height: clamp(104px, 10vw, 150px);
  transform: translate(-50%, -50%) rotate(var(--angle));
  object-fit: contain;
  filter: drop-shadow(0 16px 12px rgba(43,79,132,.2));
}
.market-stage .conveyor {
  margin-top: clamp(110px, 16vh, 160px);
}
.market-list-shade {
  position: absolute;
  z-index: 15;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(18, 23, 30, .66);
  cursor: default;
}
.market-stage.list-open .belt-item {
  animation-play-state: paused;
}
.market-stage.list-open .conveyor {
  pointer-events: none;
}
.shopping-list-preview {
  justify-content: center;
  overflow: visible;
}
.shopping-list-preview span {
  position: relative;
  min-width: 66px;
}
.shopping-list-preview img {
  width: 58px;
  height: 58px;
}
.shopping-list-preview b {
  max-width: 66px;
  font-size: 11px;
}
.shopping-list-preview span.selected {
  opacity: .58;
}
.shopping-list-preview span > i {
  position: absolute;
  right: 2px;
  top: 0;
  width: 23px;
  height: 23px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #22a66e;
  box-shadow: 0 5px 12px rgba(25, 104, 76, .24);
}
.shopping-list-preview span > i svg {
  width: 14px;
  height: 14px;
}
.memory-demo-belt {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8%;
}
.demo-belt-item {
  position: relative;
  z-index: 3;
  width: 132px;
  height: 132px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
}
.demo-belt-item img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 16px 10px rgba(0,0,0,.28));
}

/* Full-screen task completion */
.completion-screen {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.completion-art {
  width: clamp(230px, 28vw, 330px);
  height: clamp(230px, 28vw, 330px);
  margin: -54px 0 -22px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 24px 34px rgba(28, 48, 75, .18));
  animation: visual-float 4.8s ease-in-out infinite;
}
.completion-screen > p {
  color: #68768b;
  font-size: 13px;
  font-weight: 800;
}
.completion-screen h1 {
  margin: 8px 0 30px;
  color: #17243a;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: 0;
}
.completion-screen .primary-button {
  min-width: 220px;
}
.screen-complete {
  background: #f4f6f8;
}
.completion-symbol {
  background: #f5f0e7;
}
.completion-trail {
  background: #d9f7e8;
}
.completion-attention {
  background: #dceaff;
}
.completion-memory {
  background: #ffe5d3;
}
.completion-money {
  background: #eef8f3;
}

/* Dense report layout */
.report-shell {
  width: min(1180px, calc(100% - 40px));
  padding-bottom: 24px;
}
.report-hero {
  min-height: 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 116px;
  gap: 24px;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(40,60,105,.07);
}
.report-complete-art {
  width: 150px;
  height: 150px;
  margin: -28px 0;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 16px 24px rgba(35, 82, 145, .14));
}
.report-hero h1 {
  margin: 6px 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0;
}
.score-orb {
  width: 116px;
  height: 116px;
  box-shadow: 0 15px 30px rgba(61,89,176,.22);
}
.score-orb strong {
  font-size: 48px;
  letter-spacing: 0;
}
.report-facts {
  min-height: 74px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(34,53,78,.1);
}
.report-facts > span {
  display: grid;
  place-items: center;
  gap: 3px;
}
.report-facts > span + span {
  border-left: 1px solid rgba(34,53,78,.1);
}
.report-facts small,
.metric-data small {
  color: #748197;
  font-size: 10px;
}
.report-facts b {
  color: #21334c;
  font-size: 22px;
}
.metric-grid {
  margin-top: 12px;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.metric-grid article {
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(40,60,105,.05);
}
.metric-grid article > div > svg {
  width: 32px;
  height: 32px;
}
.metric-grid article > i {
  margin: 11px 0;
}
.metric-data {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px !important;
}
.metric-data > span {
  display: grid;
  gap: 2px;
}
.metric-data b {
  font-size: 13px;
}
.metric-grid article > p {
  margin-top: 10px;
}
.insight-panel {
  margin-top: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(40,60,105,.05);
}
.report-insight-art {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(35, 82, 145, .12));
}
.insight-panel h2 {
  font-size: 21px;
}
.insight-panel > p {
  margin: 12px 0;
  line-height: 1.65;
}
.insight-panel > p strong {
  padding: 0 3px;
  color: #405fba;
}
.insight-panel > div:last-child span {
  padding: 4px 0;
  background: transparent;
}

@keyframes coach-spotlight {
  50% {
    box-shadow: 0 0 0 8px rgba(66, 141, 255, .55), 0 0 34px rgba(66, 141, 255, .85);
  }
}

@keyframes visual-float {
  50% {
    transform: translateY(-7px);
  }
}

@keyframes visual-float-mobile {
  50% {
    transform: translate(-50%, -6px);
  }
}

@media (max-width: 680px) {
  .coach-bubble {
    min-height: 80px;
    padding: 14px 16px;
  }
  .coach-bubble span {
    font-size: 13px;
  }
  .coach-spotlight {
    border-radius: 15px;
  }
  .market-stage .conveyor {
    margin-top: clamp(128px, 18vh, 158px);
  }
  .shopping-tab.open {
    width: 94%;
    min-height: 122px;
  }
  .shopping-list-preview img {
    width: 54px;
    height: 54px;
  }
  .memory-demo-belt {
    padding: 0 3%;
  }
  .demo-belt-item {
    width: 94px;
    height: 94px;
  }
  .demo-belt-item img {
    width: 82px;
    height: 82px;
  }
  .coach-plane {
    top: 38%;
    width: 112px;
    height: 112px;
  }
  .memory-shell .study-stage {
    width: 100%;
    height: calc(100dvh - 58px);
    min-height: 0;
    padding: 14px 6px 18px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    overflow: hidden;
  }
  .memory-study-copy .eyebrow {
    display: none;
  }
  .memory-study-copy h2 {
    margin: 0 0 6px !important;
    font-size: 28px !important;
    letter-spacing: 0 !important;
  }
  .memory-study-copy > p:last-child {
    font-size: 11px;
    line-height: 1.5;
  }
  .memory-study-board {
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
  }
  .memory-study-board > header {
    padding-bottom: 6px;
    font-size: 12px;
  }
  .memory-study-board > div {
    min-height: 0;
    align-content: center;
    gap: 8px 18px;
  }
  .memory-study-board > div img {
    width: clamp(82px, 25vw, 104px);
    height: clamp(82px, 25vw, 104px);
  }
  .memory-study-board .primary-button {
    width: 100%;
    min-height: 46px;
  }
  .money-shell .change-stage {
    width: 100%;
    height: calc(100dvh - 58px);
    min-height: 0;
    padding: 6px 4px 10px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    overflow: hidden;
  }
  .money-shell .change-summary .eyebrow {
    display: none;
  }
  .money-shell .change-summary h2 {
    margin: 0 0 6px;
    font-size: 23px;
    letter-spacing: 0;
  }
  .money-shell .change-summary > div {
    margin: 0 0 6px;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .money-shell .change-summary > div span {
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 9px;
  }
  .money-shell .change-summary > div b {
    font-size: 16px;
  }
  .money-shell .change-summary > strong {
    font-size: 21px;
  }
  .money-shell .cash-desk {
    min-height: 0;
    padding: 9px;
    border-radius: 14px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  .money-shell .cash-display {
    min-height: 68px;
    padding: 9px 12px;
    border-radius: 11px;
  }
  .money-shell .cash-display > b {
    margin: 2px 0 4px;
    font-size: 25px;
  }
  .money-shell .money-pad {
    margin: 7px 0;
    gap: 5px;
  }
  .money-shell .money-pad button {
    min-height: 72px;
  }
  .money-shell .money-pad img {
    height: 72px;
  }
  .money-shell .cash-desk .primary-button {
    min-height: 42px;
  }
  .report-shell {
    width: calc(100% - 20px);
  }
  .report-shell nav {
    height: 58px;
  }
  .report-hero {
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px 88px;
    align-items: center;
    gap: 7px;
  }
  .report-complete-art {
    width: 78px;
    height: 78px;
    margin: -10px -5px;
  }
  .report-hero h1 {
    font-size: 27px;
  }
  .report-hero > div > p:last-child {
    font-size: 10px;
    line-height: 1.45;
  }
  .score-orb {
    width: 88px;
    height: 88px;
  }
  .score-orb strong {
    font-size: 36px;
  }
  .report-facts {
    min-height: 62px;
  }
  .report-facts b {
    font-size: 18px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-grid article {
    min-width: 0;
    padding: 12px;
  }
  .metric-grid b {
    font-size: 23px;
  }
  .metric-data b {
    font-size: 11px;
  }
  .metric-grid article > p {
    font-size: 9px;
  }
  .insight-panel {
    padding: 15px;
  }
  .insight-panel h2 {
    font-size: 18px;
  }
  .insight-panel > p {
    font-size: 11px;
  }
  .insight-panel > div:last-child {
    grid-template-columns: 1fr 1fr;
  }
  .insight-panel > div:last-child span {
    font-size: 10px;
  }
  .report-insight-art {
    width: 42px;
    height: 42px;
  }
  .completion-art {
    width: 240px;
    height: 240px;
    margin: -42px 0 -26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-visual,
  .completion-art {
    animation: none;
  }
}
