:root { color-scheme: light; font-family: "Trebuchet MS","Arial Rounded MT Bold",Arial,sans-serif; color: #2d4b46; background: #f6f0df; font-synthesis: none; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: radial-gradient(circle at 88% 2%,rgba(255,251,229,.96) 0 12%,transparent 37%),radial-gradient(circle at 7% 42%,rgba(230,215,178,.34) 0 8%,transparent 29%),#f6f0df; }
button { font: inherit; }
button:focus-visible { outline: 4px solid #efb64c; outline-offset: 3px; }
.app { width: min(1120px,calc(100% - 32px)); min-height: 100vh; margin: 0 auto; padding: 22px 0 48px; }
.topbar { min-height: 66px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { padding: 0; display: inline-flex; align-items: center; gap: 12px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.brand-mark { width: 70px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: #3f9475; box-shadow: 0 6px 0 #2e6d56; transform: rotate(-2deg); }
.brand-mark .race-car { width: 64px; height: auto; filter: drop-shadow(0 2px 0 rgba(0,0,0,.1)); }
.brand strong,.brand small { display: block; }
.brand strong { font-size: 18px; }
.brand small { margin-top: 2px; color: #6e7b75; font-size: 12px; }
.top-actions { display: flex; gap: 10px; }
.sound-button,.quiet-button,.hint-button,.next-level-button { min-height: 44px; padding: 0 16px; border: 1px solid #ded3bb; border-radius: 14px; color: #53655f; background: rgba(255,255,255,.76); font-weight: 800; cursor: pointer; transition: transform .16s ease,background .16s ease,box-shadow .16s ease; }
.sound-button { display: flex; align-items: center; gap: 8px; }
.sound-button:hover,.quiet-button:hover,.hint-button:hover,.next-level-button:hover { background: #fff; transform: translateY(-1px); }
.sound-button:active,.quiet-button:active,.hint-button:active,.next-level-button:active { transform: translateY(1px); }
.eyebrow { margin: 0 0 8px; color: #79877f; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.primary-button { min-height: 54px; padding: 0 24px; border: 0; border-radius: 17px; color: #fff; background: #438f70; box-shadow: 0 6px 0 #2f7258; font-weight: 900; cursor: pointer; transition: transform .14s ease,box-shadow .14s ease; }
.primary-button span { margin-left: 8px; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #2f7258; }
.primary-button:active { transform: translateY(4px); box-shadow: 0 2px 0 #2f7258; }

.hero { min-height: 470px; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border: 1px solid #ded3bc; border-radius: 34px; background: #fffaf0; box-shadow: 0 22px 65px rgba(75,67,45,.12); }
.hero-copy { padding: 58px 24px 54px 58px; position: relative; z-index: 2; }
.hero h1 { max-width: 650px; margin: 0; color: #2f4d46; font-family: Georgia,serif; font-size: clamp(45px,4.8vw,61px); line-height: .99; letter-spacing: -.045em; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 24px 0 30px; color: #65766f; font-size: 18px; line-height: 1.55; }
.hero-scene { min-width: 0; position: relative; overflow: hidden; background: linear-gradient(#bfe3df 0 59%,#83bb7f 59% 100%); }
.hero-sun { width: 61px; height: 61px; position: absolute; top: 36px; right: 40px; display: grid; place-items: center; border-radius: 50%; color: #c18427; background: #ffd66b; font-size: 24px; box-shadow: 0 0 0 13px rgba(255,214,107,.2); }
.hero-cloud { width: 104px; height: 30px; position: absolute; top: 68px; left: 32px; border-radius: 30px; background: rgba(255,255,255,.72); }
.hero-cloud::before,.hero-cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.hero-cloud::before { width: 45px; height: 45px; left: 18px; }
.hero-cloud::after { width: 33px; height: 33px; right: 15px; }
.hero-hills i { width: 310px; height: 190px; position: absolute; bottom: 59px; border-radius: 50% 50% 0 0; background: #6ca66d; }
.hero-hills i:first-child { left: -120px; }
.hero-hills i:last-child { right: -150px; background: #5e9862; }
.hero-road { height: 118px; position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; background: #5f6966; transform: skewY(-3deg); transform-origin: left bottom; }
.hero-road::before,.hero-road::after { content: ""; height: 7px; position: absolute; right: 0; left: 0; background: #f8e4aa; }
.hero-road::before { top: 10px; }
.hero-road::after { bottom: 10px; }
.hero-road span { height: 8px; position: absolute; top: 54px; right: 0; left: 0; background: repeating-linear-gradient(90deg,#fff 0 48px,transparent 48px 78px); }
.hero-car { width: 210px; position: absolute; z-index: 6; left: 50%; bottom: 47px; transform: translateX(-52%); filter: drop-shadow(0 12px 5px rgba(45,51,47,.22)); }
.hero-car .race-car { width: 100%; height: auto; }
.hero-sign { width: 140px; padding: 12px; position: absolute; z-index: 5; top: 121px; left: 23px; border: 6px solid #fff3d3; border-radius: 19px; color: #3e5e55; background: #fffaf0; box-shadow: 0 8px 0 rgba(55,75,61,.14); text-align: center; transform: rotate(-3deg); }
.hero-sign small,.hero-sign strong,.hero-sign b { display: block; }
.hero-sign small { color: #8a806b; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.hero-sign strong { font-family: Georgia,serif; font-size: 27px; }
.hero-sign b { color: #df735d; }
.finish-flag { width: 10px; height: 150px; position: absolute; z-index: 4; right: 30px; bottom: 54px; background: #3b5b53; }
.finish-flag i { width: 68px; height: 49px; position: absolute; top: 0; right: 0; background: conic-gradient(#fff 25%,#304943 0 50%,#fff 0 75%,#304943 0) 0 0/24px 24px; }

.how { padding: 58px 8px 38px; }
.how > .eyebrow { text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.how-grid article { padding: 18px; text-align: center; }
.how-grid article > span { width: 66px; height: 66px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 21px; background: #fffaf0; box-shadow: 0 7px 20px rgba(76,73,56,.09); font-size: 29px; }
.how-grid strong { display: block; font-size: 17px; }
.how-grid p { margin: 7px 0 0; color: #71807a; font-size: 14px; line-height: 1.45; }
.levels { padding: 42px; border: 1px solid #dfd6c2; border-radius: 32px; background: rgba(255,251,241,.75); }
.section-heading { margin-bottom: 26px; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.section-heading h2 { margin: 0; color: #2f4d46; font-family: Georgia,serif; font-size: 39px; }
.section-heading > p { max-width: 430px; margin: 0; color: #71807a; line-height: 1.45; }
.level-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.level-card { min-width: 0; min-height: 340px; padding: 17px; position: relative; display: flex; flex-direction: column; overflow: hidden; border: 2px solid #e3dbc8; border-radius: 25px; color: inherit; background: #fffdf7; text-align: left; cursor: pointer; transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.level-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 15px 32px rgba(67,70,50,.12); }
.level-card:active { transform: translateY(-1px); }
.level-number { width: 38px; height: 38px; position: absolute; z-index: 3; top: 14px; left: 14px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); box-shadow: 0 3px 0 color-mix(in srgb,var(--accent) 65%,#253b35); font-weight: 900; }
.level-preview { min-height: 150px; margin-bottom: 17px; padding: 18px; display: grid; place-items: center; overflow: hidden; border-radius: 19px; background: color-mix(in srgb,var(--accent) 14%,#fff8e7); }
.preview-track { width: 100%; height: 70px; position: relative; display: flex; align-items: center; justify-content: space-between; border-radius: 17px; background: #68716e; }
.preview-track > i { height: 5px; position: absolute; right: 10px; left: 10px; background: repeating-linear-gradient(90deg,#fff 0 18px,transparent 18px 28px); }
.preview-track > b { width: 105px; position: relative; z-index: 2; margin-left: 9px; }
.preview-track .race-car { width: 100%; height: auto; }
.preview-track > em { position: relative; z-index: 2; margin-right: 10px; font-size: 30px; font-style: normal; }
.preview-example { margin-top: 7px; color: var(--accent); font-family: Georgia,serif; font-size: 23px; font-weight: 900; }
.level-copy { min-height: 105px; }
.level-copy small,.level-copy strong,.level-copy em { display: block; }
.level-copy small { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.level-copy strong { margin-top: 6px; color: #354f49; font-family: Georgia,serif; font-size: 23px; }
.level-copy em { margin-top: 8px; color: #75827d; font-size: 13px; font-style: normal; line-height: 1.4; }
.level-status { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #7a8580; font-size: 12px; font-weight: 800; }
.level-status > b { color: var(--accent); font-size: 24px; }
.mini-stars { color: #efb64c; font-size: 17px; letter-spacing: 1px; }
.adult-note { margin: 22px 0 0; padding: 20px 26px; display: flex; align-items: center; gap: 15px; border: 1px solid #ddd5bd; border-radius: 22px; background: rgba(255,253,246,.74); }
.adult-note > span { font-size: 27px; }
.adult-note p { margin: 0; color: #6b7c75; font-size: 13px; line-height: 1.45; }
.adult-note strong { margin-right: 8px; color: #3d5b53; }

.game-shell { padding: 34px 40px 40px; border: 1px solid #ded3bc; border-radius: 30px; background: #fffaf0; box-shadow: 0 18px 55px rgba(75,67,45,.1); }
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.game-head h1 { margin: 0; color: #2e4a43; font-family: Georgia,serif; font-size: clamp(28px,3.4vw,43px); line-height: 1.06; }
.round-count { min-width: 80px; display: flex; align-items: baseline; justify-content: flex-end; color: #728079; }
.round-count strong { color: var(--level-accent); font-size: 34px; }
.round-count span { font-weight: 800; }
.progress-track { margin: 24px 0 28px; display: grid; grid-template-columns: repeat(10,1fr); gap: 7px; }
.progress-track i { height: 7px; border-radius: 10px; background: #e6dfcd; }
.progress-track i.done { background: #69a386; }
.progress-track i.current { background: var(--level-accent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--level-accent) 20%,transparent); }
.race-game { overflow: hidden; border: 6px solid #fff; border-radius: 28px; background: #d9ece5; box-shadow: inset 0 0 0 1px #b7d6ca,0 8px 20px rgba(66,87,76,.1); }
.race-scene { height: 290px; position: relative; overflow: hidden; background: linear-gradient(#bfe4e0 0 58%,#85bd80 58% 100%); }
.race-sky .sun { width: 49px; height: 49px; position: absolute; top: 25px; right: 43px; display: grid; place-items: center; border-radius: 50%; color: #c18427; background: #ffd66b; }
.cloud { width: 89px; height: 27px; position: absolute; border-radius: 28px; background: rgba(255,255,255,.72); }
.cloud::before,.cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.cloud::before { width: 38px; height: 38px; left: 15px; }
.cloud::after { width: 29px; height: 29px; right: 12px; }
.cloud.one { top: 39px; left: 48px; }
.cloud.two { top: 90px; right: 180px; transform: scale(.7); }
.race-hills i { width: 330px; height: 145px; position: absolute; bottom: 64px; border-radius: 50% 50% 0 0; background: #6ea96d; }
.race-hills i:nth-child(1) { left: -110px; }
.race-hills i:nth-child(2) { left: 35%; background: #66a068; }
.race-hills i:nth-child(3) { right: -150px; background: #5d9762; }
.race-status { position: absolute; z-index: 7; top: 18px; left: 50%; padding: 8px 14px; display: flex; align-items: center; gap: 8px; border: 3px solid rgba(255,255,255,.86); border-radius: 15px; color: #3d5e55; background: rgba(255,250,240,.9); transform: translateX(-50%); white-space: nowrap; }
.race-status strong { color: var(--level-accent); font-size: 20px; }
.race-status span { font-size: 11px; font-weight: 800; }
.race-road { height: 112px; position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; background: #616a67; box-shadow: inset 0 9px 0 #f4e0a5,inset 0 -9px 0 #f4e0a5; }
.race-road::before { content: ""; height: 7px; position: absolute; top: 53px; right: 0; left: 0; background: repeating-linear-gradient(90deg,#fff 0 50px,transparent 50px 82px); }
.road-markers { position: absolute; inset: 8px 12px auto; display: flex; justify-content: space-between; }
.road-markers i { width: 10px; height: 10px; border: 2px solid #fff6d5; border-radius: 50%; background: #89918e; }
.road-markers i.passed { background: #efb84d; }
.car-runner { width: 128px; position: absolute; z-index: 4; bottom: 12px; transition: left .45s ease,transform .45s ease; }
.car-runner > span { display: block; }
.car-runner.accelerating > span { animation: engineBounce .38s ease; }
.car-runner .race-car { width: 100%; height: auto; filter: drop-shadow(0 7px 3px rgba(31,39,35,.24)); }
.track-flag { width: 7px; height: 105px; position: absolute; z-index: 3; right: 12px; bottom: 9px; background: #344e47; }
.track-flag i { width: 48px; height: 40px; position: absolute; top: 0; right: 0; background: conic-gradient(#fff 25%,#304943 0 50%,#fff 0 75%,#304943 0) 0 0/20px 20px; }
.challenge-panel { min-height: 330px; padding: 25px 32px 50px; background: #fff9e9; }
.equation-board { width: fit-content; min-width: 380px; margin: 0 auto 19px; padding: 15px 26px; border: 4px solid #eee0c2; border-radius: 22px; background: #fffdf7; box-shadow: 0 6px 0 rgba(71,77,58,.12); text-align: center; }
.equation-board > small { color: #8b8370; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.equation-board > div { display: flex; align-items: center; justify-content: center; gap: 16px; }
.equation-board strong { min-width: 62px; color: #35564e; font-family: Georgia,serif; font-size: 48px; }
.equation-board i { color: #877a61; font-size: 29px; font-style: normal; font-weight: 900; }
.equation-board b { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--level-accent); font-family: Georgia,serif; font-size: 37px; }
.challenge-tip { margin: 0 0 16px; color: #718078; text-align: center; font-size: 12px; font-weight: 800; }
.counting-hint { max-width: 780px; margin: 0 auto 17px; padding: 11px; border: 2px solid #ead491; border-radius: 16px; background: #fff7d9; text-align: center; }
.counting-hint > small { display: block; color: #766744; font-weight: 800; }
.counting-hint > div { margin-top: 8px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
.counting-hint span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #4b645c; background: #fff; font-weight: 900; }
.counting-hint span.start { color: #fff; background: #71847d; }
.counting-hint span.finish { color: #fff; background: var(--level-accent); }
.counting-hint i { color: #9b8a5f; font-style: normal; }
.answer-signs { max-width: 740px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.answer-sign { min-width: 0; min-height: 105px; padding: 11px; position: relative; border: 5px solid #fff; border-radius: 50% 50% 18px 18px; color: #39574f; background: #efc45c; box-shadow: 0 6px 0 #c89534; cursor: pointer; transition: transform .14s ease,border-color .14s ease,background .14s ease; }
.answer-sign::after { content: ""; width: 8px; height: 37px; position: absolute; right: 50%; bottom: -37px; background: #596963; transform: translateX(50%); }
.answer-sign:hover { transform: translateY(-4px); border-color: var(--level-accent); }
.answer-sign:active { transform: translateY(1px); box-shadow: 0 2px 0 #c89534; }
.answer-sign small { width: 23px; height: 23px; position: absolute; top: 7px; left: 8px; display: grid; place-items: center; border-radius: 8px; color: #7a601f; background: rgba(255,255,255,.67); font-size: 10px; }
.answer-sign strong { font-family: Georgia,serif; font-size: 40px; }
.answer-sign > span { display: none; }
.answer-sign.wrong { border-color: #df8977; background: #f1a487; animation: nudge .25s ease; }
.answer-sign.correct { border-color: #55a97d; background: #75c195; }
.answer-sign:disabled { cursor: default; }
.game-tools { margin-top: 18px; display: flex; justify-content: center; }
.hint-button:disabled { opacity: .5; cursor: default; }
.feedback-card { min-height: 88px; margin-top: 22px; padding: 15px 16px 15px 19px; display: flex; align-items: center; gap: 14px; border: 1px solid #d6e4d2; border-radius: 20px; background: #eef5ec; }
.feedback-icon { width: 49px; height: 49px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; background: #fff; font-size: 24px; }
.feedback-card p { margin: 0; }
.feedback-card strong,.feedback-card small { display: block; }
.feedback-card small { margin-top: 4px; color: #6b7b74; line-height: 1.35; }
.feedback-card.correct { border-color: #b7dbc5; background: #e3f3e9; }
.feedback-card.wrong { border-color: #edc9bb; background: #fff0e9; }
.feedback-card.hint { border-color: #ead491; background: #fff7d9; }
.feedback-card .compact { min-height: 48px; margin-left: auto; }

.result-wrap { min-height: 650px; padding: 28px; display: grid; place-items: center; overflow: hidden; border: 1px solid #ded3bc; border-radius: 31px; background: linear-gradient(#bfe3df 0 58%,#7eb77c 58% 100%); box-shadow: 0 18px 55px rgba(75,67,45,.1); }
.result-card { width: min(650px,100%); padding: 44px; border: 7px solid #fff4d6; border-radius: 30px; background: #fffaf0; box-shadow: 0 15px 0 rgba(61,82,66,.14); text-align: center; }
.result-finish { height: 105px; margin-bottom: 14px; display: flex; align-items: end; justify-content: center; gap: 5px; }
.result-finish > span { width: 190px; }
.result-finish .race-car { width: 100%; height: auto; }
.result-finish > b { font-size: 52px; }
.result-card h1 { margin: 0; color: #2e4b44; font-family: Georgia,serif; font-size: 48px; line-height: 1.05; }
.result-card > p:not(.eyebrow) { max-width: 500px; margin: 16px auto; color: #6c7b75; line-height: 1.5; }
.result-stars { margin: 22px 0; color: #efb64c; font-size: 49px; letter-spacing: 5px; }
.result-stats { margin: 22px 0 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.result-stats span { padding: 13px 7px; border-radius: 16px; background: #f4ecd8; }
.result-stats strong,.result-stats small { display: block; }
.result-stats strong { color: #3e695b; font-size: 27px; }
.result-stats small { margin-top: 2px; color: #817a68; font-size: 11px; }
.result-actions { display: flex; justify-content: center; gap: 10px; }
.next-level-button { min-height: 54px; }

@keyframes nudge { 0%,100% { transform: translateX(0); } 35% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }
@keyframes engineBounce { 0%,100% { transform: translateY(0); } 35% { transform: translateY(-5px) rotate(-1deg); } 70% { transform: translateY(2px) rotate(1deg); } }

@media (max-width: 1000px) {
  .level-grid { grid-template-columns: 1fr; }
  .level-card { min-height: 230px; display: grid; grid-template-columns: 205px 1fr; grid-template-rows: 1fr auto; column-gap: 20px; }
  .level-preview { grid-row: 1 / 3; margin: 0; }
  .level-copy { min-height: 0; align-self: center; }
  .level-status { align-self: end; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 47px 44px; }
  .hero-scene { min-height: 390px; }
}

@media (max-width: 700px) {
  .app { width: min(1120px,calc(100% - 20px)); padding-top: 12px; }
  .topbar { margin-bottom: 14px; }
  .brand small,.sound-button span:last-child,.quiet-button { display: none; }
  .sound-button { width: 46px; padding: 0; justify-content: center; }
  .hero { border-radius: 25px; }
  .hero-copy { padding: 36px 26px 31px; }
  .hero h1 { font-size: 41px; }
  .hero-copy > p:not(.eyebrow) { margin: 19px 0 25px; font-size: 16px; }
  .hero-scene { min-height: 350px; }
  .hero-car { width: 180px; bottom: 44px; }
  .hero-sign { top: 93px; left: 10px; transform: rotate(-3deg) scale(.88); transform-origin: top left; }
  .finish-flag { right: 16px; }
  .how { padding: 42px 0 26px; }
  .how-grid { grid-template-columns: 1fr; gap: 7px; }
  .how-grid article { display: grid; grid-template-columns: 66px 1fr; column-gap: 14px; text-align: left; }
  .how-grid article > span { grid-row: 1 / 3; margin: 0; }
  .levels { padding: 28px 16px; border-radius: 24px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 32px; }
  .section-heading > p { margin-top: 12px; }
  .level-card { min-height: 322px; display: flex; }
  .level-preview { min-height: 128px; margin-bottom: 16px; }
  .level-copy { min-height: 103px; }
  .adult-note { align-items: flex-start; }
  .game-shell { padding: 24px 12px 28px; border-radius: 24px; }
  .game-head { align-items: flex-start; }
  .game-head h1 { font-size: 29px; }
  .round-count { min-width: 57px; }
  .round-count strong { font-size: 27px; }
  .progress-track { margin: 18px 0 22px; gap: 4px; }
  .race-game { border-width: 4px; }
  .race-scene { height: 245px; }
  .race-status { top: 11px; }
  .race-road { height: 98px; }
  .car-runner { width: 100px; bottom: 10px; }
  .track-flag { height: 92px; }
  .challenge-panel { min-height: 400px; padding: 22px 9px 32px; }
  .equation-board { min-width: 0; width: min(370px,100%); padding: 12px 9px; }
  .equation-board > div { gap: 8px; }
  .equation-board strong { min-width: 46px; font-size: 40px; }
  .equation-board i { font-size: 24px; }
  .equation-board b { width: 51px; height: 51px; }
  .answer-signs { grid-template-columns: repeat(2,1fr); gap: 43px 8px; padding: 0 8px; }
  .answer-sign { min-height: 88px; }
  .answer-sign::after { height: 26px; bottom: -26px; }
  .counting-hint > div { gap: 3px; }
  .counting-hint span { width: 32px; height: 32px; }
  .feedback-card { align-items: flex-start; }
  .feedback-card.correct { flex-wrap: wrap; }
  .feedback-card.correct p { flex: 1; }
  .feedback-card .compact { width: 100%; margin: 11px 0 0; }
  .result-wrap { min-height: 590px; padding: 13px; border-radius: 24px; }
  .result-card { padding: 30px 15px; }
  .result-card h1 { font-size: 40px; }
  .result-stars { font-size: 40px; }
  .result-stats small { font-size: 10px; }
  .result-actions { flex-direction: column; }
  .result-actions button { width: 100%; }
  .quiet-button.large { display: inline-block; }
}

@media (max-width: 420px) {
  .app { width: min(1120px,calc(100% - 16px)); }
  .brand-mark { width: 61px; }
  .game-shell { padding-left: 9px; padding-right: 9px; }
  .race-status span { display: none; }
  .race-status { left: 12px; transform: none; }
  .cloud.two { display: none; }
  .equation-board strong { min-width: 40px; font-size: 37px; }
  .counting-hint { padding: 9px 5px; }
  .counting-hint span { width: 29px; height: 29px; font-size: 12px; }
}

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