:root { color-scheme: light; font-family: "Trebuchet MS","Segoe UI",sans-serif; color: #294f52; background: #edf4eb; font-synthesis: none; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: radial-gradient(circle at 8% 3%,rgba(255,255,255,.96),transparent 18%),radial-gradient(circle at 94% 12%,rgba(222,239,220,.84),transparent 23%),#edf4eb; }
button { font: inherit; }
button:focus-visible { outline: 4px solid rgba(241,184,68,.52); outline-offset: 3px; }
.app { width: min(1120px, calc(100% - 32px)); min-height: 100vh; margin: 0 auto; padding: 18px 0 44px; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.brand,.sound-button,.quiet-button,.hint-button,.next-level-button { border: 0; cursor: pointer; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0; color: #294f52; text-align: left; background: transparent; }
.brand-mark { display: grid; width: 59px; height: 50px; place-items: center; overflow: hidden; }
.brand-mark .compact-tag { transform: scale(.58) rotate(-5deg); }
.brand strong,.brand small { display: block; }
.brand strong { font-size: 18px; line-height: 1.05; }
.brand small { margin-top: 3px; color: #68817b; font-size: 12px; font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.sound-button,.quiet-button,.hint-button,.next-level-button { min-height: 46px; padding: 0 17px; border: 2px solid #ccded5; border-radius: 16px; color: #385f5d; font-weight: 800; background: rgba(255,255,255,.86); box-shadow: 0 6px 14px rgba(43,82,75,.06); }
.sound-button { display: flex; align-items: center; gap: 8px; }
.quiet-button:hover,.sound-button:hover,.hint-button:hover:not(:disabled),.next-level-button:hover { border-color: #91b8ac; transform: translateY(-1px); }
.quiet-button.large { min-height: 54px; }

.eyebrow { margin: 0 0 10px; color: #43847a; font-size: 13px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
h1,h2,p { margin-top: 0; }
h1,h2 { color: #294f52; line-height: 1.07; letter-spacing: -.035em; }
.primary-button { min-height: 56px; padding: 0 24px; border: 0; border-radius: 18px; color: #fff; font: 900 17px/1 "Trebuchet MS","Segoe UI",sans-serif; cursor: pointer; background: #df735d; box-shadow: 0 10px 0 #b85743,0 16px 24px rgba(168,73,51,.2); transition: transform .15s,box-shadow .15s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 0 #b85743,0 19px 26px rgba(168,73,51,.2); }
.primary-button:active { transform: translateY(7px); box-shadow: 0 3px 0 #b85743; }
.primary-button span { margin-left: 8px; }
.primary-button.compact { min-height: 47px; padding: 0 18px; font-size: 15px; box-shadow: 0 7px 0 #b85743; }

.price-tag { position: relative; display: grid; width: 120px; height: 91px; place-items: center; padding: 10px 9px 8px 19px; border: 5px solid #294f52; border-radius: 13px 23px 23px 13px; color: #fff; text-align: center; background: #df735d; box-shadow: 0 7px 0 #294f52; clip-path: polygon(0 50%,18% 0,100% 0,100% 100%,18% 100%); }
.price-tag > i { position: absolute; top: 35px; left: 13px; width: 13px; height: 13px; border: 3px solid #294f52; border-radius: 50%; background: #fff5d3; }
.price-tag strong,.price-tag small { display: block; }
.price-tag strong { font-size: 27px; line-height: 1; }
.price-tag small { font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.compact-tag { width: 88px; height: 66px; border-width: 4px; }
.compact-tag > i { top: 25px; left: 9px; width: 10px; height: 10px; border-width: 2px; }
.compact-tag strong { font-size: 19px; }
.compact-tag small { font-size: 7px; }

.hero { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; min-height: 448px; overflow: hidden; border: 1px solid rgba(255,255,255,.78); border-radius: 36px; background: #fbf3dd; box-shadow: 0 22px 52px rgba(39,83,73,.13); }
.hero-copy { position: relative; z-index: 8; align-self: center; padding: 48px 16px 48px 52px; }
.hero h1 { max-width: 590px; margin-bottom: 19px; font-size: clamp(36px,4.25vw,59px); }
.hero-copy > p:not(.eyebrow) { max-width: 555px; margin-bottom: 27px; color: #5c746d; font-size: 17px; line-height: 1.55; }
.hero-scene { position: relative; min-height: 448px; overflow: hidden; background: linear-gradient(180deg,#d5ebe1 0,#f0eed9 69%,#d2a66b 70%,#a57449 100%); clip-path: ellipse(88% 84% at 100% 50%); }
.hero-awning,.shop-awning { position: absolute; z-index: 8; top: 0; right: 0; left: 0; display: flex; height: 54px; }
.hero-awning i,.shop-awning i { flex: 1; border: 3px solid #8f5b3d; border-top: 0; border-radius: 0 0 22px 22px; background: #fff3d1; }
.hero-awning i:nth-child(odd),.shop-awning i:nth-child(odd) { background: #df735d; }
.hero-product { position: absolute; z-index: 5; top: 22%; left: 9%; display: grid; width: 175px; min-height: 190px; place-items: center; padding: 14px; border: 5px solid #294f52; border-radius: 25px; background: #fff9df; box-shadow: 0 11px 0 #294f52; transform: rotate(-3deg); }
.hero-product > span { font-size: 88px; }
.hero-product small { color: #7d8174; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.hero-product strong { font-size: 22px; }
.hero-tag { position: absolute; z-index: 7; top: 16%; right: 7%; transform: rotate(8deg); }
.hero-receipt { position: absolute; z-index: 6; right: 8%; bottom: 10%; width: 151px; min-height: 118px; padding: 18px 15px; border: 4px solid #294f52; border-radius: 8px 8px 2px 2px; color: #294f52; text-align: center; background: #fff; box-shadow: 0 8px 0 rgba(41,79,82,.3); transform: rotate(2deg); }
.hero-receipt::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 14px; content: ""; background: linear-gradient(135deg,#fff 7px,transparent 0) 0 0/14px 14px repeat-x; }
.hero-receipt small,.hero-receipt strong { display: block; }
.hero-receipt small { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.hero-receipt strong { margin: 4px 0 8px; color: #3f9475; font-size: 27px; }
.hero-receipt i { display: block; height: 3px; margin-top: 5px; background: #d9e3de; }
.hero-cart { position: absolute; z-index: 5; bottom: 8%; left: 7%; font-size: 51px; }
.hero-counter { position: absolute; right: 0; bottom: 0; left: 0; height: 55px; background: repeating-linear-gradient(90deg,#b87f4e 0 64px,#95603d 65px 71px); }

.how,.levels { padding: 48px 14px 0; }
.how > .eyebrow { text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.how-grid article { display: grid; grid-template-columns: 52px 1fr; gap: 3px 14px; padding: 19px; border: 1px solid #d8e6df; border-radius: 23px; background: rgba(255,255,255,.72); }
.how-grid article > span { grid-row: 1/3; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 17px; color: #fff; font-size: 24px; font-weight: 900; background: #df735d; }
.how-grid article:nth-child(2) > span { background: #438f83; }
.how-grid article:nth-child(3) > span { background: #657bc0; }
.how-grid strong { align-self: end; font-size: 17px; }
.how-grid p { margin: 2px 0 0; color: #69817b; font-size: 13px; line-height: 1.4; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(29px,4vw,42px); }
.section-heading > p { max-width: 425px; margin: 0; color: #688079; line-height: 1.45; }
.level-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.level-card { position: relative; display: flex; min-width: 0; min-height: 330px; overflow: hidden; flex-direction: column; padding: 0; border: 2px solid rgba(255,255,255,.9); border-radius: 27px; color: #294f52; text-align: left; cursor: pointer; background: #fff; box-shadow: 0 12px 25px rgba(43,84,77,.09); transition: transform .18s,box-shadow .18s; }
.level-card:hover { transform: translateY(-5px); box-shadow: 0 19px 35px rgba(43,84,77,.15); }
.level-number { position: absolute; z-index: 9; top: 13px; left: 13px; display: grid; width: 38px; height: 38px; place-items: center; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; font-weight: 900; background: var(--accent); }
.level-preview { position: relative; display: block; height: 145px; overflow: hidden; background: linear-gradient(180deg,#d6eae1 0,#eee9d3 72%,#b98250 73%); }
.preview-awning { position: absolute; z-index: 6; top: 0; right: 0; left: 0; display: flex; height: 24px; }
.preview-awning i { flex: 1; border-radius: 0 0 10px 10px; background: #fff3d1; }
.preview-awning i:nth-child(odd) { background: var(--accent); }
.preview-product { position: absolute; left: 22%; bottom: 15px; font-size: 69px; filter: drop-shadow(0 7px 3px rgba(48,67,56,.18)); }
.preview-tag { position: absolute; z-index: 5; top: 35px; right: 10px; padding: 7px 9px; border: 3px solid #294f52; border-radius: 9px; color: #fff; font-size: 13px; font-weight: 900; background: var(--accent); transform: rotate(5deg); }
.preview-price { position: absolute; z-index: 5; right: 13px; bottom: 12px; padding: 6px 9px; border: 3px solid #294f52; border-radius: 9px; color: #294f52; background: #fff; }
.level-copy { display: flex; flex: 1; flex-direction: column; padding: 19px 19px 10px; }
.level-copy small { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.level-copy strong { margin: 5px 0 7px; font-size: 22px; }
.level-copy em { color: #6b817c; font-size: 14px; font-style: normal; line-height: 1.42; }
.level-status { display: flex; min-height: 52px; align-items: center; justify-content: space-between; margin: 0 18px; border-top: 1px solid #e2ece7; color: #69817b; font-size: 13px; font-weight: 800; }
.level-status b { color: var(--accent); font-size: 24px; }
.mini-stars { color: #ecb63f; letter-spacing: 2px; }
.adult-note { display: flex; align-items: center; gap: 18px; margin: 34px 14px 0; padding: 20px 24px; border: 1px solid #d4e3d3; border-radius: 22px; background: rgba(233,244,226,.88); }
.adult-note > span { font-size: 34px; }
.adult-note p { margin: 0; color: #60776f; line-height: 1.5; }
.adult-note strong { display: block; color: #3d6b60; }

.game-shell { padding: 28px; border: 1px solid rgba(255,255,255,.9); border-radius: 34px; background: rgba(250,253,248,.84); box-shadow: 0 20px 48px rgba(39,83,73,.12); }
.game-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.game-head h1 { margin: 0; font-size: clamp(26px,3.7vw,43px); }
.round-count { display: flex; align-items: baseline; gap: 5px; color: #78918b; }
.round-count strong { color: var(--level-accent); font-size: 35px; }
.round-count span { font-weight: 900; }
.progress-track { display: grid; grid-template-columns: repeat(10,1fr); gap: 7px; margin: 20px 0; }
.progress-track i { height: 8px; border-radius: 999px; background: #dbe8e2; }
.progress-track i.done { background: var(--level-accent); }
.progress-track i.current { background: #efc35e; box-shadow: 0 0 0 3px rgba(239,195,94,.24); }
.sale-game { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(380px,.98fr); gap: 20px; }

.product-display { position: relative; min-height: 475px; overflow: hidden; border: 5px solid #fafbf2; border-radius: 29px; background: linear-gradient(180deg,#d6ebe2 0,#f0edd8 77%,#b67c4b 78%,#95613e 100%); box-shadow: inset 0 0 42px rgba(38,86,76,.08),0 9px 21px rgba(33,83,91,.12); }
.product-card { position: absolute; z-index: 4; top: 82px; left: 11%; display: grid; width: 43%; min-height: 228px; place-items: center; padding: 16px; border: 6px solid #294f52; border-radius: 28px; text-align: center; background: #fff9df; box-shadow: 0 12px 0 #294f52; }
.product-card::before { position: absolute; top: 11px; left: 11px; width: 16px; height: 16px; border: 4px solid #294f52; border-radius: 50%; content: ""; background: var(--product); }
.product-card > span { font-size: 93px; filter: drop-shadow(0 8px 4px rgba(51,69,56,.15)); }
.product-card small { color: #7b8173; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-card strong { font-size: 20px; }
.sale-tag { position: absolute; z-index: 7; top: 74px; right: 7%; transform: rotate(7deg); }
.old-price { position: absolute; z-index: 6; top: 196px; right: 8%; width: 34%; padding: 12px 9px; border: 4px solid #294f52; border-radius: 14px; text-align: center; background: #fff; box-shadow: 0 6px 0 #294f52; transform: rotate(-2deg); }
.old-price small,.old-price strong { display: block; }
.old-price small { color: #7c857e; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.old-price strong { font-size: 26px; }
.question-ticket { position: absolute; z-index: 5; right: 7%; bottom: 75px; left: 7%; display: flex; min-height: 86px; align-items: center; justify-content: center; gap: 9px; padding: 12px; border: 4px dashed #294f52; border-radius: 18px; background: #fff; }
.question-ticket small { max-width: 210px; color: #5f7770; font-size: 12px; font-weight: 900; text-align: right; }
.question-ticket strong { color: var(--level-accent); font-size: 43px; }
.question-ticket span { font-size: 22px; font-weight: 900; }
.cart-progress { position: absolute; z-index: 7; bottom: 13px; left: 15px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 2px solid rgba(255,255,255,.75); border-radius: 13px; color: #fff; background: rgba(56,77,64,.62); }
.cart-progress strong { color: #ffe07a; font-size: 19px; }
.cart-progress small { font-size: 9px; font-weight: 900; }
.display-counter { position: absolute; right: 0; bottom: 0; left: 0; height: 57px; border-top: 5px solid #754a32; background: repeating-linear-gradient(90deg,#b87f4e 0 64px,#95603d 65px 71px); }

.checkout-panel { display: flex; min-width: 0; min-height: 475px; flex-direction: column; padding: 22px; border: 2px solid #d8e8e2; border-radius: 29px; background: #fffdf5; }
.checkout-heading { margin-bottom: 10px; text-align: center; }
.checkout-heading small,.checkout-heading strong { display: block; }
.checkout-heading small { color: #718780; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.checkout-heading strong { margin-top: 3px; font-size: 22px; }
.checkout-heading i { margin-left: 7px; padding: 3px 6px; border-radius: 7px; color: #fff; font-size: 13px; font-style: normal; background: var(--level-accent); }
.percent-guide,.calculation-hint { min-height: 121px; margin-bottom: 10px; padding: 11px; border: 2px solid #d8e4db; border-radius: 17px; background: #f2f7ee; }
.percent-guide { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; text-align: center; }
.percent-guide > span { padding: 8px 3px; border-radius: 10px; color: #71827c; font-size: 9px; background: #fff; }
.percent-guide b { display: block; color: var(--level-accent); font-size: 16px; }
.percent-guide p { grid-column: 1/-1; margin: 0; color: #70817b; font-size: 9px; line-height: 1.3; }
.calculation-hint { border-color: #e5d397; background: #fff8dd; text-align: center; }
.calculation-hint > small { color: #85806d; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.calculation-hint > div { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 7px 0; }
.calculation-hint span,.calculation-hint strong { display: grid; min-height: 35px; place-items: center; padding: 0 9px; border: 2px solid #b9cec5; border-radius: 9px; font-size: 11px; background: #fff; }
.calculation-hint i { color: var(--level-accent); font-style: normal; font-weight: 900; }
.calculation-hint strong { color: #fff; background: var(--level-accent); }
.calculation-hint p { margin: 0; color: #747d74; font-size: 9px; line-height: 1.35; }
.price-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: auto; }
.price-option { position: relative; min-height: 132px; overflow: hidden; border: 3px solid #d1d8c7; border-radius: 16px 23px 16px 23px; color: #294f52; cursor: pointer; background: #eef6e9; box-shadow: 0 6px 0 #b9d0c1; transition: transform .14s,border-color .14s; }
.price-option:hover:not(:disabled) { z-index: 2; border-color: var(--level-accent); transform: translateY(-3px); }
.price-option:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 2px 0 #b9d0c1; }
.price-option > small { position: absolute; top: 8px; left: 10px; color: #78928b; font-weight: 900; }
.price-option > strong { position: relative; z-index: 3; display: block; margin-bottom: 6px; font-size: 27px; }
.price-option > b { position: relative; z-index: 3; padding: 4px 7px; border-radius: 7px; color: #fff; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; background: #60887e; }
.price-option > span { position: absolute; inset: 0; opacity: .25; }
.price-option > span i { position: absolute; right: 12px; width: 43px; height: 3px; background: #66877e; }
.price-option > span i:first-child { top: 23px; }
.price-option > span i:nth-child(2) { top: 34px; }
.price-option > span i:last-child { top: 45px; }
.price-option.wrong { border-color: #e49382; background: #ffebe6; box-shadow: 0 6px 0 #dda99c; animation: shake .25s ease-in-out; }
.price-option.correct { border-color: #55a883; color: #fff; background: #58ad87; box-shadow: 0 6px 0 #368263; }
.price-option.correct > b { background: rgba(41,79,82,.35); }
.price-option:disabled { cursor: default; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.game-tools { display: flex; justify-content: flex-end; margin: 14px 0; }
.hint-button:disabled { cursor: default; opacity: .48; }
.feedback-card { display: flex; min-height: 82px; align-items: center; gap: 14px; padding: 14px 18px; border: 2px solid #d5e5df; border-radius: 23px; background: #fff; }
.feedback-card.correct { border-color: #aedbc5; background: #eefaf2; }
.feedback-card.wrong { border-color: #edc3b8; background: #fff3ef; }
.feedback-card.hint { border-color: #ead89d; background: #fff9df; }
.feedback-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 16px; font-size: 25px; background: #e8f4f1; }
.feedback-card p { flex: 1; margin: 0; }
.feedback-card strong,.feedback-card small { display: block; }
.feedback-card strong { margin-bottom: 3px; }
.feedback-card small { color: #6a817b; line-height: 1.35; }

.result-wrap { display: grid; min-height: 680px; padding: 40px 18px; place-items: center; overflow: hidden; border-radius: 35px; background: linear-gradient(180deg,#d4e9df 0,#eeecd3 73%,#b67d4b 74%); box-shadow: 0 20px 46px rgba(31,77,83,.16); }
.result-card { width: min(660px,100%); padding: 32px 34px 35px; border: 4px solid rgba(255,255,255,.75); border-radius: 31px; text-align: center; background: #fffdf4; box-shadow: 0 21px 44px rgba(45,75,61,.2); }
.result-sale { position: relative; height: 175px; margin: -8px auto 7px; }
.result-sale > span { position: absolute; left: 15%; bottom: 17px; font-size: 82px; }
.result-sale > b { position: absolute; right: 25%; bottom: 12px; font-size: 66px; }
.result-sale > i { position: absolute; z-index: 4; top: 14px; left: 45%; font-style: normal; transform: rotate(7deg) scale(.82); }
.result-sale > em { position: absolute; z-index: 7; top: 7px; right: 16%; display: grid; width: 50px; height: 50px; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; font-size: 27px; font-style: normal; font-weight: 900; background: #4fa878; box-shadow: 0 0 0 3px #294f52; }
.result-card h1 { margin-bottom: 10px; font-size: clamp(35px,5vw,51px); }
.result-card > p:not(.eyebrow) { max-width: 490px; margin: 0 auto 10px; color: #647c76; line-height: 1.5; }
.result-stars { margin: 10px 0 18px; color: #efb83f; font-size: 42px; letter-spacing: 7px; }
.result-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 24px; }
.result-stats span { padding: 13px 8px; border-radius: 17px; background: #edf5ed; }
.result-stats strong,.result-stats small { display: block; }
.result-stats strong { color: #3f887a; font-size: 25px; }
.result-stats small { color: #6d837e; font-size: 11px; font-weight: 800; }
.result-actions { display: flex; justify-content: center; gap: 13px; }

@media (max-width: 1000px) {
  .hero-copy { padding-left: 38px; }
  .level-card { min-height: 344px; }
  .sale-game { grid-template-columns: minmax(0,.96fr) minmax(370px,1.04fr); }
  .game-shell { padding: 23px; }
  .product-card { left: 7%; width: 45%; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 42px; }
  .hero-scene { min-height: 345px; clip-path: ellipse(78% 93% at 50% 100%); }
  .hero-product { left: 23%; transform: scale(.82) rotate(-3deg); transform-origin: top left; }
  .hero-tag { right: 20%; }
  .hero-receipt { right: 19%; }
  .how-grid { grid-template-columns: 1fr; }
  .level-grid { grid-template-columns: 1fr; }
  .level-card { display: grid; min-height: 180px; grid-template-columns: 37% 1fr; }
  .level-preview { height: 100%; min-height: 180px; grid-row: 1/3; }
  .level-copy { padding: 23px 20px 5px; }
  .level-status { align-self: end; }
  .sale-game { grid-template-columns: 1fr; }
  .product-display { min-height: 465px; }
  .checkout-panel { min-height: 475px; }
  .product-card { left: 18%; width: 35%; }
  .sale-tag { right: 18%; }
  .old-price { right: 18%; width: 26%; }
}

@media (max-width: 700px) {
  .app { width: min(1120px,calc(100% - 20px)); padding-top: 10px; }
  .topbar { gap: 8px; margin-bottom: 12px; }
  .brand-mark { width: 48px; }
  .brand-mark .compact-tag { transform: scale(.49); }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .sound-button { width: 47px; padding: 0; justify-content: center; }
  .sound-button span:last-child { display: none; }
  .top-actions .quiet-button { padding: 0 12px; font-size: 13px; }
  .hero { border-radius: 26px; }
  .hero-copy { padding: 31px 23px 38px; }
  .hero h1 { font-size: clamp(34px,10vw,48px); }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-scene { min-height: 295px; }
  .hero-product { top: 22%; left: 13%; transform: scale(.7) rotate(-3deg); }
  .hero-tag { top: 15%; right: 8%; transform: scale(.78) rotate(8deg); }
  .hero-receipt { right: 8%; bottom: 7%; transform: scale(.75) rotate(2deg); transform-origin: bottom right; }
  .how,.levels { padding: 37px 2px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 10px; }
  .adult-note { margin-right: 2px; margin-left: 2px; padding: 17px; }
  .game-shell { padding: 16px; border-radius: 25px; }
  .game-head { align-items: center; }
  .game-head .eyebrow { font-size: 10px; }
  .game-head h1 { font-size: 25px; }
  .round-count strong { font-size: 29px; }
  .product-display { min-height: 440px; border-width: 3px; }
  .product-card { left: 10%; width: 40%; min-height: 205px; }
  .product-card > span { font-size: 78px; }
  .sale-tag { right: 9%; }
  .old-price { right: 10%; width: 31%; }
  .checkout-panel { min-height: 465px; padding: 17px; }
  .feedback-card.correct { flex-wrap: wrap; }
  .feedback-card.correct p { min-width: calc(100% - 70px); }
  .feedback-card.correct .primary-button { width: 100%; flex-basis: 100%; margin-top: 8px; }
  .result-wrap { min-height: 610px; padding: 25px 10px; border-radius: 27px; }
  .result-card { padding: 25px 16px 28px; }
  .result-actions { flex-direction: column; }
  .result-actions > * { width: 100%; }
}

@media (max-width: 520px) {
  .level-card { display: flex; min-height: 320px; }
  .level-preview { width: 100%; min-height: 135px; height: 135px; }
  .level-status { align-self: auto; width: calc(100% - 36px); }
  .product-display { min-height: 410px; }
  .product-card { top: 72px; left: 6%; width: 44%; min-height: 181px; border-width: 5px; }
  .product-card > span { font-size: 65px; }
  .sale-tag { top: 67px; right: 4%; transform: rotate(7deg) scale(.84); }
  .old-price { top: 182px; right: 6%; width: 35%; }
  .question-ticket { bottom: 65px; }
  .price-option { min-height: 121px; }
  .result-stats { gap: 5px; }
  .result-stats span { padding: 11px 4px; }
}

@media (max-width: 390px) {
  .app { width: calc(100% - 16px); }
  .top-actions .quiet-button { max-width: 90px; padding: 0 9px; font-size: 11px; }
  .primary-button { width: 100%; padding: 0 15px; }
  .hero-copy { padding-right: 18px; padding-left: 18px; }
  .hero h1 { font-size: 34px; }
  .hero-scene { min-height: 260px; }
  .hero-product { left: 4%; transform: scale(.62) rotate(-3deg); }
  .hero-tag { right: 0; transform: scale(.68) rotate(8deg); }
  .hero-receipt { right: 2%; transform: scale(.65) rotate(2deg); }
  .how-grid article { padding: 15px; }
  .game-shell { padding: 12px; }
  .game-head h1 { font-size: 21px; }
  .round-count strong { font-size: 25px; }
  .progress-track { gap: 4px; margin: 14px 0; }
  .product-display { min-height: 380px; }
  .product-card { top: 64px; width: 42%; min-height: 160px; padding: 9px; }
  .product-card > span { font-size: 55px; }
  .product-card strong { font-size: 14px; }
  .sale-tag { top: 56px; right: -3%; transform: scale(.7) rotate(7deg); }
  .old-price { top: 157px; right: 5%; width: 39%; padding: 9px 5px; }
  .old-price strong { font-size: 21px; }
  .question-ticket { right: 4%; bottom: 61px; left: 4%; min-height: 74px; }
  .question-ticket small { font-size: 10px; }
  .checkout-panel { min-height: 445px; padding: 12px; }
  .price-option { min-height: 112px; }
  .price-option > strong { font-size: 23px; }
  .feedback-card { padding: 12px; }
  .feedback-icon { width: 42px; height: 42px; }
  .result-stars { font-size: 34px; }
}

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