@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fredoka:wght@600;700&display=swap');

:root {
  --ink: #24213a;
  --muted: #6d6982;
  --paper: #fffdf8;
  --cream: #f6f1e7;
  --purple: #7258e8;
  --purple-deep: #45339c;
  --coral: #ff6b6b;
  --yellow: #ffc947;
  --mint: #48c9a6;
  --blue: #5c9df5;
  --dark: #17152c;
  --line: #ded8ce;
  --shadow: 0 18px 50px rgba(51, 42, 88, .13);
  --radius: 24px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 10% 10%, rgba(255,201,71,.16), transparent 25%), radial-gradient(circle at 92% 38%, rgba(114,88,232,.12), transparent 28%), var(--cream); }
button, select { font: inherit; }
button { color: inherit; }
button:focus-visible, select:focus-visible { outline: 4px solid rgba(92,157,245,.45); outline-offset: 3px; }

.topbar { min-height: 84px; padding: 12px clamp(16px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: rgba(255,253,248,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 30; }
.brand { border: 0; background: none; display: flex; align-items: center; gap: 12px; padding: 0; cursor: pointer; text-align: left; }
.brand-mark { width: 48px; height: 48px; border-radius: 15px 15px 15px 5px; display: grid; place-items: center; background: var(--dark); color: var(--yellow); font-size: 2rem; transform: rotate(-3deg); box-shadow: 5px 5px 0 var(--yellow); }
.brand strong { display: block; font-family: "Fredoka", sans-serif; font-size: 1.25rem; }
.brand small { color: var(--muted); display: block; font-weight: 600; margin-top: 1px; }
.nav-tabs { justify-self: center; display: flex; gap: 5px; padding: 5px; background: #ece7dd; border-radius: 16px; }
.nav-tab { border: 0; background: transparent; padding: 10px 14px; border-radius: 12px; font-weight: 700; cursor: pointer; color: #716c82; transition: .2s ease; }
.nav-tab span { margin-right: 5px; }
.nav-tab:hover { color: var(--ink); transform: translateY(-1px); }
.nav-tab.active { background: white; color: var(--purple-deep); box-shadow: 0 4px 14px rgba(60,48,100,.11); }
.player-progress { display: flex; align-items: center; gap: 11px; }
.level-badge { background: var(--purple); color: white; padding: 7px 9px; border-radius: 9px; font-family: "Fredoka"; transform: rotate(2deg); }
.xp-wrap { min-width: 100px; font-size: .8rem; }
.xp-track { width: 100%; height: 7px; background: #e2ddeb; border-radius: 20px; overflow: hidden; margin-top: 4px; }
.xp-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), #a879f7); transition: width .5s ease; }
.streak { background: #fff0d1; padding: 8px 10px; border-radius: 12px; }
.profile-button { border: 1px solid #d8d1e6; background: white; border-radius: 12px; padding: 7px 10px; display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: .78rem; }
.profile-button span { color: var(--purple); font-size: 1.1rem; }.profile-button b { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

main { width: min(1500px, 100%); margin: 0 auto; padding: clamp(20px, 4vw, 54px); }
.view { display: none; animation: enter .35s ease both; }
.view.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.play-layout { display: grid; grid-template-columns: minmax(520px, 820px) minmax(300px, 380px); justify-content: center; gap: clamp(28px, 4vw, 58px); }
.game-column { min-width: 0; }
.game-ribbon { display: flex; align-items: end; justify-content: space-between; margin: 0 0 18px; }
.eyebrow { display: block; font-size: .76rem; letter-spacing: .14em; font-weight: 800; color: var(--purple); margin-bottom: 5px; }
.eyebrow.coral { color: var(--coral); }.eyebrow.mint { color: #11866c; }.eyebrow.yellow { color: #a06600; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Fredoka", sans-serif; }
h1 { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.04; margin-bottom: 0; letter-spacing: -.035em; }
.game-ribbon h1 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.turn-pill { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--line); padding: 9px 13px; border-radius: 99px; white-space: nowrap; }
.turn-pill span { width: 10px; height: 10px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 4px rgba(72,201,166,.18); }

.board-shell { background: var(--dark); padding: clamp(10px, 2vw, 18px); border-radius: 28px 28px 28px 10px; box-shadow: var(--shadow), 10px 10px 0 rgba(114,88,232,.2); }
.board { width: min(100%, 760px); aspect-ratio: 1; display: grid; grid-template-columns: repeat(8, 1fr); border-radius: 15px; overflow: hidden; position: relative; touch-action: manipulation; user-select: none; }
.square { min-width: 0; aspect-ratio: 1; border: 0; padding: 0; position: relative; display: grid; place-items: center; cursor: pointer; font-size: clamp(2.1rem, 6.2vw, 5.15rem); line-height: 1; transition: filter .15s ease; }
.square.light { background: #eee9dc; }.square.dark { background: #8c78d2; }
.square:hover { filter: brightness(1.06); }
.piece { display: block; filter: drop-shadow(0 4px 2px rgba(20,16,40,.22)); transform: translateY(-1px); }
.piece.white { color: #fffdf7; text-shadow: -1.5px -1.5px 0 #3d3653, 1.5px -1.5px 0 #3d3653, -1.5px 1.5px 0 #3d3653, 1.5px 1.5px 0 #3d3653; }
.piece.black { color: #29233c; text-shadow: 0 1px 0 rgba(255,255,255,.25); }
.square.just-moved .piece { animation: piecePop .35s cubic-bezier(.2,.8,.2,1.3); }
@keyframes piecePop { 0% { transform: scale(.65); opacity: .35; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.square.selected::after { content: ""; position: absolute; inset: 5px; border: 5px solid var(--yellow); border-radius: 14px; }
.square.legal::before { content: ""; width: 24%; height: 24%; background: rgba(23,21,44,.36); border-radius: 50%; position: absolute; z-index: 2; }
.square.legal.capture::before { width: 78%; height: 78%; background: transparent; border: 6px solid rgba(255,107,107,.72); }
.square.last { box-shadow: inset 0 0 0 999px rgba(255,201,71,.28); }
.square.hint { animation: hintPulse .9s ease infinite alternate; }
@keyframes hintPulse { to { box-shadow: inset 0 0 0 6px var(--yellow), inset 0 0 0 999px rgba(255,201,71,.24); } }
.coord { position: absolute; font: 700 .68rem/1 "DM Sans"; opacity: .66; pointer-events: none; }
.coord.rank { top: 5px; left: 5px; }.coord.file { right: 5px; bottom: 4px; }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.action { border: 1px solid #cdc5da; background: rgba(255,255,255,.72); padding: 11px 15px; border-radius: 12px; font-weight: 800; cursor: pointer; transition: .18s ease; }
.action:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(52,43,91,.12); }
.action:disabled { opacity: .42; cursor: not-allowed; }
.action.primary { background: var(--purple); color: white; border-color: var(--purple); box-shadow: 0 6px 0 var(--purple-deep); }
.action.primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--purple-deep); }
.difficulty-label { margin-left: auto; font-size: .78rem; font-weight: 800; color: var(--muted); display: flex; align-items: center; gap: 8px; }
select { border: 1px solid #cdc5da; background: white; border-radius: 10px; padding: 9px; color: var(--ink); font-weight: 700; }

.coach-panel { background: rgba(255,253,248,.88); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); align-self: start; position: sticky; top: 110px; }
.coach-head { display: flex; gap: 13px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.coach-head h2 { margin: 0; font-size: 1.35rem; }.coach-head .eyebrow { margin: 0; }
.coach-avatar { width: 54px; height: 54px; background: var(--yellow); color: var(--dark); border-radius: 50% 50% 18px 50%; display: grid; place-items: center; font-size: 2rem; position: relative; }
.coach-avatar span { position: absolute; width: 13px; height: 13px; border: 3px solid white; background: var(--mint); border-radius: 50%; right: -1px; bottom: 1px; }
.coach-message { display: flex; gap: 12px; padding: 18px 0; }
.coach-message .message-icon { font-size: 1.4rem; }.coach-message p { margin: 5px 0 0; color: var(--muted); line-height: 1.48; }
.mission-card { background: #eeeafd; padding: 16px; border-radius: 16px 16px 16px 5px; }
.mission-top, .section-label { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .1em; font-weight: 800; color: var(--purple-deep); }
.mission-card h3 { margin: 8px 0; font-size: 1rem; }.mission-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .86rem; }
.mission-card li span { display: inline-grid; place-items: center; width: 20px; color: var(--purple); }.mission-card li.done { color: #267661; text-decoration: line-through; }.mission-card li.done span { color: #16836a; }
.move-log-wrap { padding-top: 18px; }.section-label button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .72rem; }
.move-log { margin-top: 9px; max-height: 120px; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; font-size: .83rem; }
.move-log span { padding: 5px 7px; background: #f2eee7; border-radius: 7px; }.move-log .move-number { color: var(--muted); margin-right: 5px; }.empty-log { color: var(--muted); grid-column: 1 / -1; }
.tip-card { margin-top: 18px; display: flex; gap: 10px; padding: 13px; border: 1px dashed #d2a73b; background: #fff8de; border-radius: 13px; }.tip-card p { margin: 0; font-size: .8rem; line-height: 1.4; }

.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }.section-intro p { color: var(--muted); font-size: 1.08rem; margin: 12px 0 0; }.section-intro.compact h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.lesson-meter { background: var(--dark); color: white; padding: 18px 25px; border-radius: 20px 20px 6px 20px; text-align: center; }.lesson-meter b { font: 700 1.7rem "Fredoka"; display: block; color: var(--yellow); }.lesson-meter span { font-size: .78rem; }
.learn-grid { display: grid; grid-template-columns: minmax(240px, 300px) minmax(400px, 1fr) minmax(250px, 330px); gap: 24px; align-items: start; }
.lesson-list { display: grid; gap: 9px; }.lesson-button { width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,.72); border-radius: 15px; padding: 13px; display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; text-align: left; cursor: pointer; transition: .2s ease; }.lesson-button:hover { transform: translateX(4px); }.lesson-button.active { border-color: var(--purple); background: #eeebff; box-shadow: 5px 5px 0 rgba(114,88,232,.18); }.lesson-button .mini-piece { font-size: 1.8rem; }.lesson-button strong { display: block; }.lesson-button small { color: var(--muted); }.lesson-button .check { color: #16836a; }
.lesson-stage { background: var(--dark); color: white; border-radius: 30px 30px 30px 10px; padding: clamp(24px, 4vw, 46px); min-height: 610px; position: relative; overflow: hidden; }.lesson-stage .eyebrow { color: #a99aff; }.lesson-stage h2 { font-size: 2.5rem; margin: 7px 0 10px; }.lesson-lead { color: #d3cfe5; font-size: 1.05rem; line-height: 1.6; max-width: 600px; }.lesson-visual { height: 205px; display: grid; place-items: center; position: relative; }.giant-piece { font-size: 8rem; color: white; filter: drop-shadow(0 15px 8px rgba(0,0,0,.28)); animation: hoverPiece 3s ease-in-out infinite; z-index: 2; }@keyframes hoverPiece{50%{transform:translateY(-10px) rotate(2deg)}}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }.orbit-one { width: 180px; height: 90px; transform: rotate(-13deg); }.orbit-two { width: 110px; height: 190px; transform: rotate(48deg); }.lesson-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }.lesson-rule { background: rgba(255,255,255,.09); padding: 13px; border-radius: 12px; display: flex; gap: 9px; align-items: flex-start; }.lesson-rule span { color: var(--yellow); }.lesson-rule p { margin: 0; color: #e0ddec; font-size: .88rem; line-height: 1.4; }.complete-lesson { margin-top: 10px; }.complete-lesson.done { background: var(--mint); border-color: var(--mint); box-shadow: 0 6px 0 #20745f; }
.principles-card { background: var(--yellow); padding: 24px; border-radius: 8px 25px 25px 25px; transform: rotate(1deg); box-shadow: var(--shadow); }.principles-card h2 { margin: 5px 0 18px; }.principles-card ol { padding-left: 25px; margin: 0; display: grid; gap: 16px; }.principles-card li { padding-left: 4px; }.principles-card b,.principles-card span { display: block; }.principles-card span { font-size: .82rem; line-height: 1.38; margin-top: 2px; }

.opening-layout { display: grid; grid-template-columns: minmax(210px, 280px) minmax(460px, 660px) minmax(260px, 340px); gap: 24px; align-items: start; }.opening-menu { display: grid; gap: 9px; }.opening-choice { border: 1px solid var(--line); background: rgba(255,255,255,.72); border-radius: 15px; padding: 14px; text-align: left; cursor: pointer; }.opening-choice:hover { border-color: var(--purple); }.opening-choice.active { color: white; background: var(--purple); border-color: var(--purple); }.opening-choice strong,.opening-choice small { display: block; }.opening-choice small { opacity: .72; margin-top: 3px; }
.strategy-tabs { display: flex; gap: 8px; margin: -14px 0 20px; }.strategy-tabs button { border: 1px solid var(--line); background: white; padding: 10px 16px; border-radius: 12px; font-weight: 800; cursor: pointer; }.strategy-tabs button.active { background: var(--mint); color: #103e34; border-color: #2aaa89; box-shadow: 0 4px 0 #25866e; }
.opening-board-card,.challenge-board-card { background: var(--dark); border-radius: 28px 28px 10px 28px; padding: 18px; box-shadow: var(--shadow); }.opening-heading,.challenge-prompt { color: white; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }.opening-heading span,.challenge-prompt span { color: #a99aff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }.opening-heading h2,.challenge-prompt h2 { margin: 3px 0 0; }.move-counter,.timer { border: 1px solid rgba(255,255,255,.22); padding: 8px 11px; border-radius: 10px; white-space: nowrap; }.opening-controls { display: flex; gap: 9px; margin-top: 16px; }.opening-controls .primary { flex: 1; }.icon-only { width: 46px; }
.opening-notes { background: white; border: 1px solid var(--line); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }.opening-notes h2 { margin: 7px 0; }.opening-notes > p { color: var(--muted); line-height: 1.6; }.plan-box,.watch-box { padding: 15px; border-radius: 14px; margin-top: 16px; }.plan-box { background: #e9f8f3; }.plan-box span { color: #16735e; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }.plan-box p,.watch-box p { margin: 6px 0 0; font-size: .9rem; line-height: 1.45; }.watch-box { display: flex; gap: 10px; background: #fff6d7; }

.challenge-score { background: var(--coral); color: white; padding: 13px 20px; border-radius: 16px 16px 4px 16px; text-align: center; }.challenge-score span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }.challenge-score b { font: 700 1.8rem "Fredoka"; }.mode-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 14px; }.mode-tabs button { white-space: nowrap; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 11px 15px; font-weight: 800; cursor: pointer; }.mode-tabs button.active { color: white; background: var(--dark); border-color: var(--dark); }.challenge-layout { display: grid; grid-template-columns: minmax(500px, 720px) minmax(280px, 380px); justify-content: center; gap: 26px; }.challenge-side { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; }.puzzle-list { display: grid; gap: 8px; }.puzzle-choice { border: 1px solid var(--line); background: white; padding: 12px; border-radius: 11px; display: flex; justify-content: space-between; cursor: pointer; text-align: left; }.puzzle-choice.active { border-color: var(--purple); background: #eeebff; }.challenge-feedback { display: flex; gap: 11px; background: #eeeafd; padding: 15px; border-radius: 14px; margin: 20px 0; }.challenge-feedback > span { font-size: 1.4rem; }.challenge-feedback p { color: var(--muted); margin: 4px 0 0; line-height: 1.45; font-size: .88rem; }.wide { width: 100%; }.value-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.value-options button { border: 1px solid var(--line); background: white; border-radius: 13px; padding: 18px; font-weight: 800; cursor: pointer; }.value-options button:hover { border-color: var(--purple); }.mini-stat { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }.mini-stat b { font-family: "Fredoka"; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--dark); color: white; padding: 12px 18px; border-radius: 12px; z-index: 60; opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: var(--shadow); }.toast.show { opacity: 1; transform: translate(-50%, 0); }.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 80; }.confetti i { position: absolute; top: -20px; width: 10px; height: 18px; animation: fall 1.6s ease-in forwards; }.confetti .yay-word { width: auto; height: auto; padding: 7px 12px; border-radius: 999px; color: var(--dark); font: 700 clamp(1rem, 3vw, 1.65rem) "Fredoka", sans-serif; box-shadow: 0 7px 0 rgba(23,21,44,.18); white-space: nowrap; }@keyframes fall { to { transform: translate(var(--drift), 110vh) rotate(720deg); } }

.profile-modal[hidden] { display: none; }.profile-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }.profile-backdrop { position: absolute; inset: 0; background: rgba(23,21,44,.72); backdrop-filter: blur(5px); }.profile-dialog { position: relative; width: min(440px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: var(--paper); padding: 30px; border-radius: 28px 28px 10px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.32); }.profile-dialog h2 { font-size: 2rem; margin: 5px 0 8px; }.profile-copy { color: var(--muted); line-height: 1.5; }.profile-close { position: absolute; top: 13px; right: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eeeafd; font-size: 1.6rem; cursor: pointer; }.profile-status { display: flex; gap: 10px; align-items: center; background: #eeeafd; padding: 12px; border-radius: 13px; margin: 16px 0; }.profile-status span { color: var(--coral); }.profile-status.online span { color: var(--mint); }.profile-status p { margin: 0; font-size: .88rem; }.profile-form { display: grid; gap: 13px; }.profile-form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 800; color: var(--muted); }.profile-form input { width: 100%; border: 1px solid #cfc7dd; background: white; border-radius: 11px; padding: 12px; font: 600 1rem "DM Sans"; color: var(--ink); }.register-panel { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }.register-panel summary { cursor: pointer; color: var(--purple-deep); font-weight: 800; margin-bottom: 14px; }.signout-button { margin-top: 14px; color: #a22e39; }

.quest-piece-card { display: flex; align-items: center; gap: 14px; background: #eeeafd; padding: 14px; border-radius: 15px; margin-bottom: 12px; }.quest-piece-card .quest-icon { font-size: 2.7rem; }.quest-piece-card strong,.quest-piece-card small { display: block; }.quest-piece-card small { color: var(--muted); margin-top: 2px; }.difficulty-tag { display: inline-block; background: #fff0d1; color: #835d05; font-size: .72rem; font-weight: 800; padding: 5px 8px; border-radius: 8px; margin-bottom: 10px; }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; }.nav-tabs { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: center; }.play-layout { grid-template-columns: minmax(480px, 680px) minmax(280px, 330px); }.learn-grid { grid-template-columns: 220px 1fr; }.principles-card { grid-column: 1 / -1; transform: none; }.opening-layout { grid-template-columns: 190px minmax(440px, 1fr); }.opening-notes { grid-column: 1 / -1; }.challenge-layout { grid-template-columns: minmax(470px, 650px) minmax(260px, 330px); }
}

@media (max-width: 820px) {
  .topbar { position: static; grid-template-columns: 1fr auto; gap: 13px; padding: 12px 16px; }.brand small,.xp-wrap { display: none; }.nav-tabs { justify-content: start; overflow-x: auto; }.nav-tab { flex: 1; min-width: max-content; }.play-layout,.learn-grid,.opening-layout,.challenge-layout { grid-template-columns: 1fr; }.coach-panel { position: static; }.lesson-list,.opening-menu { display: flex; overflow-x: auto; padding-bottom: 8px; }.lesson-button { min-width: 220px; }.opening-choice { min-width: 180px; }.principles-card,.opening-notes { grid-column: auto; }.game-ribbon { align-items: start; }.section-intro { align-items: start; }.lesson-stage { min-height: auto; }.difficulty-label { width: 100%; margin-left: 0; }.difficulty-label select { margin-left: auto; }
}

@media (max-width: 560px) {
  main { padding: 20px 12px 38px; }.topbar { grid-template-columns: 1fr auto; }.brand-mark { width: 42px; height: 42px; }.brand strong { font-size: 1.05rem; }.streak { display: none; }.nav-tabs { margin: 0 -6px; }.nav-tab { font-size: .8rem; padding: 9px 10px; }.nav-tab span { display: block; margin: 0; }.game-ribbon { display: block; }.turn-pill { width: max-content; margin-top: 12px; }.board-shell,.opening-board-card,.challenge-board-card { padding: 8px; border-radius: 17px; }.square { font-size: clamp(2rem, 11vw, 3.6rem); }.coord { font-size: .55rem; }.game-actions .action { flex: 1 1 40%; font-size: .82rem; }.section-intro { display: block; }.lesson-meter,.challenge-score { margin-top: 18px; display: inline-block; }.lesson-stage { padding: 25px 20px; }.lesson-rules { grid-template-columns: 1fr; }.giant-piece { font-size: 6.5rem; }.opening-heading,.challenge-prompt { padding: 5px; }.opening-heading h2,.challenge-prompt h2 { font-size: 1rem; }.opening-controls .action { padding: 9px; font-size: .8rem; }.coach-panel,.challenge-side,.opening-notes { padding: 18px; }
}

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