/* Generated by node scripts/build-cards.mjs. Edit public/cards/cards.css. */
:root{color-scheme:light;--paper:#f6f3e9;--ink:#203f37;--green:#23634d;--muted:#778176;--line:#dcded0;--white:#fffef8;--orange:#bd643d;--gold:#d4ac60;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.6;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a,summary{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:4px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{min-height:48px}button,.playing-card{-webkit-user-select:none;user-select:none}[hidden]{display:none!important}.site-header{max-width:1200px;margin:auto;padding:25px 32px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:800;letter-spacing:2px;line-height:1.2}.brand-icon{font-size:40px;color:var(--green)}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:3px;margin-top:7px}.brand-dot{color:var(--orange)}.site-header nav{display:flex;gap:25px;align-items:center;font-size:13px}.site-header nav>a{display:grid;place-items:center;min-height:48px}.text-button{background:transparent;padding:10px 12px;font-size:13px}.home-screen{max-width:1140px;margin:auto;padding:0 28px 24px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;padding:26px 38px 38px;min-height:360px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:600;color:var(--muted)}.hero .eyebrow{display:flex;align-items:center;gap:8px}.hero .eyebrow>span{height:6px;width:6px;background:var(--orange);border-radius:50%}.hero h1{font-size:clamp(36px,4.5vw,56px);font-weight:650;line-height:1.3;letter-spacing:2px;margin:18px 0}.hero h1 em{font-style:normal;color:var(--green)}.hero-description{font-size:15px;line-height:1.85;color:#758074}.hero-note{display:flex;align-items:center;gap:9px;font-size:12px;color:#8a8e7f;margin-top:21px}.hero-note>span{color:var(--orange);font-size:19px}.hero-art{position:relative;height:320px;max-width:440px;width:100%;justify-self:end;isolation:isolate}.art-circle{position:absolute;inset:7px 12px;border-radius:50%;background:#e7ecdd;transform:rotate(-12deg)}.art-circle:after{content:"";position:absolute;inset:-10px 10px;border:1px solid #c5cfb8;border-radius:50%;transform:rotate(25deg)}.orbit-note{position:absolute;right:36px;top:0;z-index:2;transform:rotate(9deg);font-size:10px;letter-spacing:2px;color:#8c987f}.demo-card{background:var(--white);border:1px solid #d9dcc9;width:147px;height:208px;border-radius:12px;position:absolute;box-shadow:0 9px 20px #274f3a14;padding:10px 13px;color:#234435}.demo-one{top:45px;left:51px;transform:rotate(-17deg)}.demo-two{top:38px;left:183px;transform:rotate(13deg)}.demo-card>b{font:700 24px/1 Georgia,serif}.demo-card>b span{display:block;font-size:17px}.demo-pips{display:block;text-align:center;line-height:1.4;font-size:30px;margin-top:-20px}.red{color:#bd533f}.sum-tag{position:absolute;left:114px;bottom:0;background:#f9e6bd;border:1px solid #e5d2a8;border-radius:10px;padding:10px 24px;text-align:center;transform:rotate(-5deg);font-size:23px;box-shadow:0 5px 10px #674d2510}.sum-tag strong{color:#a65e35}.sum-tag span{display:block;font-size:10px;color:#9f8054;letter-spacing:2px}.art-spark{position:absolute;right:9px;bottom:39px;font-size:44px;color:#c29148}.setup-panel{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:27px 30px 0;box-shadow:0 5px 0 #e8e7dc}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.section-heading h2{font-size:23px;margin-top:5px;letter-spacing:.5px}.suit-line{letter-spacing:5px;color:#90a491;font-size:25px}.suit-line i{font-style:normal;color:#cb8973}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}.field-label{display:flex;align-items:center;gap:9px;margin-bottom:14px}.field-label h3{font-size:14px}.field-label>span:last-child:not(.step-number){font-size:10px;color:#8d9485;margin-left:auto}.step-number{display:grid;place-items:center;border:1px solid #d9dece;border-radius:50%;width:22px;height:22px;font:600 11px Georgia,serif;color:#768b71}.stage-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stage-option{border:1px solid var(--line);border-radius:11px;background:#fafaf2;min-height:125px;text-align:left;padding:15px 17px;position:relative}.stage-option small{display:block;color:#8a947f;font-size:10px;letter-spacing:1px}.stage-option strong{display:block;font:500 31px/1.4 Georgia,serif;margin-top:5px}.stage-option>span{font-size:11px;color:#81917a}.stage-option[aria-pressed=true]{background:#eaf0e2;border-color:#638770;box-shadow:inset 0 0 0 1px #638770}.stage-option[aria-pressed=true]:after{content:"✓";position:absolute;right:10px;top:8px;font-size:12px;color:var(--green)}.custom-settings{margin-top:9px}.custom-settings summary{font-size:11px;color:#7f8a74;cursor:pointer;min-height:40px;padding:10px 0;list-style:none;display:flex;justify-content:space-between}.custom-fields{display:flex;gap:16px;padding:3px 0 9px}.custom-fields label{font-size:12px;display:flex;align-items:center;gap:10px}.custom-fields select{border:1px solid var(--line);border-radius:7px;min-height:44px;background:#fffef8;padding:5px 13px;color:var(--ink)}.custom-settings p{font-size:11px;color:var(--muted);margin-bottom:12px}.mode-options{display:flex;flex-direction:column;gap:10px}.mode-option{display:flex;gap:12px;align-items:center;text-align:left;background:#fafaf2;border:1px solid var(--line);border-radius:11px;padding:14px;min-height:80px}.mode-option[aria-pressed=true]{background:#edf2e6;border-color:#829a7f}.mode-mark{font-size:27px;color:#6c8c70;width:30px;text-align:center}.mode-option strong{display:block;font-size:14px}.mode-option strong small{font-size:9px;color:#73916b;font-weight:400;margin-left:8px}.mode-option>span>span{display:block;font-size:11px;color:#89927f;margin-top:3px}.radio-dot{width:17px;height:17px;border:1px solid #b7c2aa;border-radius:50%;margin-left:auto;flex-shrink:0}.mode-option[aria-pressed=true] .radio-dot{border:5px solid var(--green);background:var(--white)}.start-row{border-top:1px solid #e6e7da;margin-top:19px;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.start-row strong{font-size:13px;font-weight:600}.start-row p{font-size:11px;color:#929785;margin-top:4px}.primary-button{background:var(--green);color:#fffef4;min-height:52px;border-radius:10px;padding:13px 26px;font-size:15px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:35px;box-shadow:0 3px 0 #194c3b;transition:background .15s,transform .15s}.primary-button:hover{background:#1b563f}.primary-button:active{transform:translateY(2px);box-shadow:none}.soft-button{background:#e8eddf;border:1px solid #d5dec9;border-radius:9px;padding:10px 18px;font-size:13px}.home-bottom{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:26px}.companion-note{display:flex;align-items:center;gap:14px}.companion-note img{border-radius:50%;border:3px solid #e4e8d9;object-fit:cover}.companion-note strong{display:block;font-size:12px;font-weight:600}.companion-note p>span{display:block;font-size:11px;color:#86917e;margin-top:4px}.record-button{display:flex;align-items:center;gap:13px;text-align:left;padding:8px 0 8px 22px;border-left:1px solid var(--line);background:transparent;font-size:12px;flex-shrink:0}.record-button>span:first-child{font-size:28px;color:#93a180}.record-button small{display:block;color:#959d88;font-size:10px;margin-top:4px}.record-button>span:last-child{color:#a2ac96}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9a9d8d;padding:16px 0 0;margin-top:23px}.play-screen{max-width:1000px;margin:auto;padding:10px 28px 32px}.play-heading{display:grid;grid-template-columns:100px 1fr 100px;align-items:center;text-align:center;margin:0 0 22px}.play-heading>button:first-child{justify-self:start}.play-heading>button:last-child{justify-self:end}.play-heading h1{font-size:26px;letter-spacing:1px;margin-top:4px;outline:0}.play-heading .eyebrow{font-size:10px}.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:#768471;padding:0 1px 10px}.timer{display:flex;gap:7px;align-items:center}.timer b{font-variant-numeric:tabular-nums;min-width:68px;font-weight:600;font-size:17px;color:var(--ink)}.progress-track{height:5px;border-radius:6px;background:#e1e4d5;overflow:hidden;margin-bottom:24px}.progress-track>span{display:block;height:100%;background:#8eaa72;transition:width .2s}.play-layout{display:grid;grid-template-columns:1.35fr 1fr;gap:30px;align-items:start}.card-table{background:#245840;border:1px solid #1a4c36;border-radius:20px;color:#eef0d9;box-shadow:0 5px 0 #d8dfcf;overflow:hidden;min-width:0;padding:19px 22px 0;position:relative}.card-table:before{content:"";position:absolute;inset:9px;border:1px solid #89a68033;border-radius:13px;pointer-events:none}.table-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#b9cbae;font-size:10px;position:relative}.table-top>span{display:flex;align-items:center;gap:7px}.table-top i{height:5px;width:5px;border-radius:50%;background:var(--gold)}.table-button{background:transparent;color:#d5dfc6;font-size:12px;padding:5px 6px}.table-cards{display:flex;align-items:center;justify-content:center;gap:22px;margin:26px 0 28px}.deck-area,.current-area{display:flex;flex-direction:column;gap:17px;align-items:center}.deck-area>span,.current-area>span{font-size:11px;color:#a9bea0}.playing-card,.card-back{width:150px;height:212px;border-radius:12px;position:relative;box-shadow:0 6px 0 #e3e3cf,0 11px 18px #12352438}.card-back{border:6px solid #fffbed;background:repeating-linear-gradient(45deg,#b8c7a8 0,#b8c7a8 1px,#e8ecda 1px,#e8ecda 7px);display:grid;place-items:center;transform:rotate(-5deg)}.card-back>div{border-radius:50%;height:91px;width:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e6ead6;border:1px solid #a1b390;color:#7b9272;font-size:34px}.card-back small{font-size:9px;letter-spacing:3px;line-height:1}.table-arrow{color:#9eb793;font-size:21px}.playing-card{background:#fffdf2;color:#223d34}.playing-card.red{color:#bd533f}.card-corner{position:absolute;top:11px;left:13px;display:flex;flex-direction:column;align-items:center;font:bold 27px/1 Georgia,serif}.card-corner span{font-size:20px;line-height:1.3}.card-corner.bottom{top:auto;left:auto;bottom:11px;right:13px;transform:rotate(180deg)}.card-pips{position:absolute;inset:32px 37px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(4,1fr);place-items:center;font:29px/1 Georgia,serif}.card-pips.one{display:flex;align-items:center;justify-content:center;font-size:57px}.card-pips .middle{grid-column:1/3}.card-pips.nine{grid-template-rows:repeat(5,1fr);font-size:25px;inset-top:25px}.running-sum{display:flex;align-items:center;justify-content:center;gap:15px;min-height:62px;border:1px solid #7e9a6a55;border-radius:10px;background:#163f2f66;color:#b1c6a5;margin:0 0 25px;font-size:20px}.running-sum>span:first-child{font-size:10px;letter-spacing:1px}.running-sum strong{font-size:29px;color:#f0e9cc;font-weight:500;font-variant-numeric:tabular-nums}.memory-note{min-height:62px;margin-bottom:25px;display:flex;align-items:center;justify-content:center;font-size:13px;color:#d3dfc6;text-align:center}.table-bottom{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #82a06d44;padding:16px 0 20px;font-size:10px;color:#95b08c}.table-bottom>span:first-child{letter-spacing:4px}.answer-panel{padding:6px 0}.answer-panel>.eyebrow{font-size:10px;letter-spacing:1px}.answer-panel h2{font-size:22px;font-weight:600;margin:6px 0 15px}.answer-panel input{width:100%;height:65px;border:1px solid #c8d3ba;background:#fffef7;border-radius:11px;text-align:center;color:var(--ink);font-size:34px;font-weight:600;caret-color:var(--green);outline-color:var(--green);box-shadow:inset 0 3px 6px #50674205}.answer-panel input::placeholder{color:#b5bea7;font-weight:400}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:13px 0}.keypad button{min-height:48px;border:1px solid #d9ddcb;background:#fffef7;border-radius:8px;font-size:23px;box-shadow:0 2px 0 #e3e6d8}.keypad button:active{background:#e2ebd5;transform:translateY(1px);box-shadow:none}.keypad .key-small{font-size:12px;color:#849174;background:#eceee2}.answer-panel .primary-button{width:100%;gap:8px}.feedback{min-height:45px;font-size:12px;margin-top:15px;line-height:1.7;color:#7b8b72}.feedback.error{color:#ab5936}.feedback.success{color:var(--green)}.hint-button{padding:4px 0;color:#9b8866;font-size:11px;min-height:44px}.input-note{font-size:10px;color:#9b9f8e}.flip-button{margin-top:32px;min-height:78px;font-size:19px}.result-screen{max-width:740px;margin:20px auto 50px;padding:0 28px}.result-header{text-align:center}.result-symbol{font-size:60px;color:#c39c4e;margin:12px 0 5px}.result-header h1{font-size:30px;letter-spacing:1px;outline:0}.result-header>p{font-size:13px;color:var(--muted);margin-top:10px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);background:var(--white);border:1px solid var(--line);border-radius:15px;margin:28px 0 16px;padding:24px 8px}.result-stats>div{text-align:center;border-right:1px solid var(--line)}.result-stats>div:last-child{border:0}.result-stats small{display:block;font-size:11px;color:var(--muted);margin-bottom:9px}.result-stats strong{font-size:29px;font-weight:600;font-variant-numeric:tabular-nums}.result-note{text-align:center;font-size:13px;color:#8e805a;min-height:24px}.result-actions{display:flex;justify-content:center;gap:16px;margin:25px 0 35px}.review-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.review-details summary{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;cursor:pointer;list-style:none}.review-details>p{font-size:11px;color:var(--muted);margin-top:8px}.review-list{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:7px 20px}.review-list li{display:flex;align-items:center;gap:9px;padding:9px 5px;border-bottom:1px solid #e7e8dd;font-size:12px}.review-list small{color:#899380;font-size:10px;min-width:27px}.review-list .review-mark{margin-left:auto;font-size:10px;color:#8e9c79}.review-list .missed .review-mark{color:#b06c40}.storage-note{text-align:center;font-size:10px;color:#969c8a;margin-top:18px}.storage-note.warning{color:#ab5936}dialog{max-width:520px;width:calc(100% - 36px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #dadfc9;border-radius:18px;padding:28px;background:var(--white);color:var(--ink);box-shadow:0 20px 80px #18352633}dialog::backdrop{background:#172b245c}dialog h2{font-size:25px;margin:11px 0 19px}dialog p{font-size:12px;line-height:1.85;color:#75836e;margin:15px 0}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.close-button{border-radius:50%;background:#edf0e2;font-size:23px;min-width:44px;min-height:44px}.rule-steps{padding-left:22px;font-size:13px;line-height:1.9;color:#72826a}.rule-steps li{margin:10px 0}.rule-steps strong{color:var(--ink)}.rule-example{padding:16px;border:1px solid #e0dfc6;background:#f4edd8;border-radius:10px;text-align:center;font-size:24px}.rule-example span{font-size:13px;color:#9a8f6d}.parent-note{background:#edf0e4;padding:13px;border-radius:9px}.rules-dialog>.primary-button{width:100%;margin-top:8px}.pause-dialog{text-align:center;max-width:390px;padding:34px}.pause-dialog .primary-button{width:100%;margin-top:15px}.pause-dialog .text-button{margin-top:10px}.records-list{display:flex;flex-direction:column;gap:10px;margin-top:20px}.record-item{border:1px solid var(--line);border-radius:9px;padding:12px 14px;font-size:12px;display:grid;grid-template-columns:1fr auto;gap:5px}.record-item>small{font-size:10px;color:var(--muted)}.record-item>span{color:#859274}.record-item>strong{grid-row:1/3;grid-column:2;align-self:center;font-variant-numeric:tabular-nums}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{text-align:center;padding:20px}.dealt{animation:deal .18s ease-out}@keyframes deal{from{transform:translate(-10px,-4px) rotate(-4deg);opacity:.7}to{transform:none;opacity:1}}
@media(max-width:1000px){.hero{padding-left:15px;padding-right:15px}.setup-panel{padding:23px 22px 0}.setup-grid{gap:25px}.stage-option{padding:14px 12px}.field-label>span:last-child:not(.step-number){display:none}.play-layout{gap:22px}.card-table{padding:14px 16px 0}.table-cards{gap:15px}.playing-card,.card-back{width:132px;height:190px}.card-pips{inset:30px 32px;font-size:26px}.running-sum{gap:12px}.companion-note p>span{max-width:420px}}
@media(max-width:760px){.site-header{padding:16px 22px 12px}.home-screen{padding:0 20px 20px}.hero{gap:0;padding:22px 6px 34px;min-height:300px}.hero h1{font-size:37px}.hero .eyebrow{font-size:9px;letter-spacing:1px}.hero-description{font-size:12px}.hero-note{font-size:10px}.hero-art{height:255px}.demo-card{width:110px;height:160px;padding:8px 10px}.demo-card>b{font-size:20px}.demo-card>b span{font-size:13px}.demo-pips{font-size:22px;margin-top:-14px}.demo-one{left:14px;top:45px}.demo-two{left:108px;top:38px}.sum-tag{left:65px;bottom:4px;font-size:18px;padding:8px 19px}.sum-tag span{font-size:8px}.orbit-note{right:10px;font-size:8px}.art-spark{font-size:30px;right:0;bottom:20px}.setup-grid{gap:22px}.mode-option{padding:12px 10px;gap:8px}.mode-option strong small{display:none}.mode-mark{width:20px;font-size:23px}.mode-option>span>span{font-size:10px}.stage-option{padding:12px 9px;min-height:118px}.stage-option strong{font-size:28px}.stage-option small{font-size:8px}.home-bottom{gap:15px}.companion-note{gap:9px}.companion-note img{width:45px;height:45px}.companion-note p>span{font-size:10px}.record-button{padding-left:15px;font-size:11px;gap:9px}.play-screen{padding:10px 22px 28px}.play-layout{grid-template-columns:1.05fr 1fr;gap:20px}.card-table{padding:10px 13px 0}.table-top>span{font-size:8px;gap:4px}.table-button{font-size:11px}.table-cards{gap:10px;margin:28px 0}.playing-card,.card-back{width:105px;height:158px}.card-corner{font-size:22px;top:8px;left:9px}.card-corner span{font-size:15px}.card-corner.bottom{bottom:8px;right:9px}.card-pips{inset:27px 25px;font-size:22px}.card-pips.nine{font-size:18px}.card-back>div{width:55px;height:77px;font-size:28px}.table-arrow{font-size:17px}.running-sum{gap:9px;font-size:17px}.running-sum strong{font-size:25px}.running-sum>span:first-child{font-size:9px}.table-bottom{font-size:8px}.answer-panel h2{font-size:19px}.answer-panel input{height:61px}.keypad button{min-height:48px}.answer-panel .primary-button{font-size:13px}}
@media(max-width:580px){.site-header{padding:12px 18px 10px}.brand{font-size:12px;gap:7px;letter-spacing:1.3px}.brand-icon{font-size:31px}.brand small{font-size:8px;letter-spacing:1.5px}.site-header nav{gap:5px;font-size:11px}.site-header nav .text-button{font-size:11px;padding:9px}.home-screen{padding:0 16px 20px}.hero{padding:20px 2px 28px;grid-template-columns:1.07fr .93fr;min-height:244px}.hero h1{font-size:clamp(27px,6.5vw,37px);letter-spacing:.5px;margin:14px 0}.hero-description{font-size:11px;line-height:1.9}.hero .eyebrow{font-size:8px;letter-spacing:.6px}.hero-note{font-size:9px;gap:5px;margin-top:14px}.hero-art{height:210px;margin-top:20px}.art-circle{inset:15px 0}.demo-card{width:80px;height:120px;padding:7px}.demo-card>b{font-size:17px}.demo-card>b span{font-size:12px}.demo-pips{font-size:17px;margin-top:-11px}.demo-one{top:38px;left:1px}.demo-two{top:36px;left:65px}.sum-tag{left:22px;bottom:2px;font-size:16px;padding:7px 15px}.sum-tag span{font-size:7px;letter-spacing:1px}.orbit-note{font-size:7px;right:0;letter-spacing:0;top:8px}.art-spark{font-size:24px;right:0;bottom:29px}.setup-panel{padding:19px 17px 0;border-radius:15px}.section-heading{margin-bottom:19px}.section-heading h2{font-size:20px}.section-heading .eyebrow{font-size:9px;letter-spacing:1px}.suit-line{font-size:19px;letter-spacing:2px}.setup-grid{grid-template-columns:1fr;gap:20px}.field-label{margin-bottom:11px}.field-label>span:last-child:not(.step-number){display:block;font-size:9px}.stage-option{min-height:108px;padding:12px 16px}.stage-option strong{font-size:29px}.stage-option small{font-size:9px}.stage-option>span{font-size:10px}.custom-settings summary{min-height:44px}.mode-option{min-height:76px;padding:12px 15px;gap:12px}.mode-option strong small{display:inline}.mode-option>span>span{font-size:11px}.mode-mark{width:27px}.start-row{margin-top:21px;padding:18px 0;gap:13px;flex-wrap:wrap}.start-row>div{width:100%}.start-row .primary-button{width:100%;justify-content:space-between}.start-row strong{font-size:12px}.start-row p{font-size:10px}.home-bottom{align-items:stretch;flex-direction:column;margin-top:23px;gap:18px}.companion-note{gap:12px}.companion-note p>span{font-size:10px}.record-button{border-left:0;border-top:1px solid var(--line);padding:14px 0 0;font-size:12px}.record-button>span:last-child{margin-left:auto}.record-button small{font-size:10px}footer{font-size:8px;margin-top:15px;gap:8px}.play-screen{padding:6px 16px 25px}.play-heading{grid-template-columns:70px 1fr 70px;margin-bottom:15px}.play-heading h1{font-size:21px}.play-heading .eyebrow{font-size:9px}.play-heading .text-button,.play-heading .soft-button{font-size:11px;padding:7px 10px}.game-toolbar{font-size:10px;gap:10px;padding-bottom:7px}.timer b{font-size:15px;min-width:61px}.progress-track{margin-bottom:16px}.play-layout{grid-template-columns:1fr;gap:19px}.card-table{padding:7px 16px 0;border-radius:14px}.table-top>span{font-size:10px}.table-cards{margin:8px 0 15px;gap:30px}.playing-card,.card-back{width:105px;height:146px}.card-corner{font-size:22px}.card-pips{inset:26px 26px;font-size:21px}.card-pips.one{font-size:47px}.card-pips.nine{font-size:17px}.deck-area,.current-area{gap:13px}.deck-area>span,.current-area>span{font-size:10px}.running-sum{min-height:49px;margin-bottom:16px;gap:18px}.running-sum strong{font-size:24px}.running-sum>span:first-child{font-size:10px}.table-bottom{display:none}.memory-note{min-height:45px;margin-bottom:12px;font-size:12px}.answer-panel{padding:0 1px}.answer-panel>.eyebrow{font-size:9px}.answer-panel h2{font-size:19px;margin:3px 0 10px}.answer-panel form{display:grid;grid-template-columns:1fr;gap:0}.answer-panel input{height:56px;font-size:29px}.keypad{gap:7px;margin:10px 0}.keypad button{min-height:47px;font-size:23px}.keypad .key-small{font-size:11px}.answer-panel .primary-button{min-height:51px;font-size:14px}.feedback{margin-top:12px;min-height:28px}.hint-button{min-height:44px}.flip-button{margin-top:17px!important;min-height:66px!important}.result-screen{padding:0 18px;margin-top:15px}.result-header h1{font-size:25px}.result-stats{padding:20px 5px}.result-stats strong{font-size:24px}.result-stats small{font-size:10px}.result-actions{gap:10px}.result-actions .primary-button{padding:12px 21px;font-size:14px}.review-list{grid-template-columns:1fr}.result-note{font-size:12px}.result-header>p{font-size:12px}dialog{padding:22px}dialog h2{font-size:23px}.pause-dialog{padding:28px}.rule-example{font-size:22px}.rule-example span{font-size:12px}}
.hero{overflow:hidden}.card-pips.nine{top:25px}
/* Larger reading sizes and dragon portraits keep the number easy to find. */
body{font-size:18px}
.hero-description{font-size:18px;color:#5d705d}
.hero-note{font-size:16px;color:#66775e}
.eyebrow,.hero .eyebrow,.section-heading .eyebrow{font-size:14px;letter-spacing:1px;color:#5e735b}
.site-header nav,.site-header nav .text-button{font-size:16px}
.section-heading h2{font-size:28px}
.field-label h3{font-size:20px}
.field-label>span:last-child:not(.step-number){font-size:14px;color:#61765b}
.step-number{width:28px;height:28px;font-size:16px;flex-shrink:0}
.stage-option{min-height:150px}
.stage-option small{font-size:14px;letter-spacing:0;color:#617558}
.stage-option strong{font-size:42px;font-weight:600}
.stage-option>span{font-size:17px;color:#5e7356}
.custom-settings summary{font-size:16px;color:#536c4e;min-height:48px;gap:8px}
.custom-fields{flex-wrap:wrap;gap:12px 20px}
.custom-fields label{font-size:16px}
.custom-fields select{font-size:18px;min-height:48px}
.custom-settings p{font-size:15px;color:#64765e}
.mode-option{min-height:104px;padding:14px;gap:12px}
.mode-option>span:nth-child(2){min-width:0}
.mode-option strong{font-size:20px}
.mode-option strong small{font-size:13px;color:#4f7448}
.mode-option>span>span{font-size:16px;color:#5b7155;line-height:1.6}
.mode-mark{flex-shrink:0}
.start-row strong{font-size:18px}
.start-row p{font-size:15px;color:#62755b}
.primary-button,.answer-panel .primary-button,.result-actions .primary-button{font-size:20px;min-height:58px}
.soft-button,.text-button,.play-heading .text-button,.play-heading .soft-button{font-size:17px}
.companion-note strong{font-size:18px}
.companion-note p>span{font-size:16px;color:#61755b}
.record-button{font-size:17px}
.record-button small{font-size:14px;color:#607456}
footer{font-size:13px;color:#68785f;flex-wrap:wrap}
.demo-card{overflow:hidden}
.demo-card>b{position:relative;z-index:1;font-size:34px}
.demo-card>b span{font-size:18px}
.demo-dragon{position:absolute;left:16px;right:16px;bottom:30px;width:calc(100% - 32px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}
.demo-dragon-name{position:absolute;bottom:7px;left:12px;right:12px;text-align:center;font-size:14px;font-weight:600}
.sum-tag{z-index:2}
.play-screen{max-width:1100px}
.play-heading{grid-template-columns:100px 1fr 100px}
.play-heading h1{font-size:30px}
.play-heading .eyebrow{font-size:15px}
.game-toolbar{font-size:17px;color:#526d4f;flex-wrap:wrap}
.timer b{font-size:24px;min-width:95px}
.play-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.table-top>span{font-size:15px;color:#d1e0c6}
.table-button{font-size:18px;color:#eef3dd;white-space:nowrap}
.table-cards{gap:20px;margin:20px 0 24px}
.playing-card{width:184px;height:266px;flex-shrink:0}
.card-back{width:140px;height:210px;flex-shrink:0}
.card-back>div{border:0;border-radius:14px;width:112px;height:auto;padding:0 0 12px;background:#f7f6e8;overflow:hidden}
.card-back img{display:block;width:112px;height:112px;object-fit:cover}
.card-back small{font-size:16px;color:#27563c;letter-spacing:2px;margin-top:12px;line-height:1.4}
.card-corner{font-family:inherit;font-size:58px;font-weight:800;top:9px;left:14px;line-height:1}
.card-corner span{font-size:21px;line-height:1.1}
.card-corner.bottom{font-size:26px;bottom:9px;right:12px;flex-direction:row;gap:5px;transform:none}
.card-corner.bottom span{font-size:16px}
.card-pips,.card-pips.nine{inset:15px 13px auto auto;width:55px;height:59px;font-size:16px;line-height:1}
.card-pips.nine{font-size:14px}
.card-pips.one{font-size:39px}
.card-dragon{position:absolute;left:15px;right:15px;top:89px;bottom:43px;width:calc(100% - 30px);height:calc(100% - 132px);object-fit:cover;border-radius:13px}
.card-dragon-name{position:absolute;bottom:9px;left:15px;font-size:17px;font-weight:700;line-height:28px;color:#284b39}
.deck-area>span,.current-area>span{font-size:17px;color:#d5e3cb}
.running-sum{gap:16px;min-height:72px;flex-wrap:wrap;padding:7px 12px}
.running-sum>span:first-child{font-size:17px;letter-spacing:0}
.running-sum strong{font-size:38px;font-weight:650}
.memory-note{font-size:19px;color:#e4eedb;min-height:72px;line-height:1.6}
.table-bottom{font-size:14px;color:#c2d7b6}
.answer-panel>.eyebrow{font-size:16px;letter-spacing:0}
.answer-panel h2{font-size:28px}
.answer-panel input{font-size:44px;height:74px}
.keypad button{font-size:34px;font-weight:600;min-height:58px}
.keypad .key-small{font-size:18px;color:#4c6a42;font-weight:500}
.feedback{font-size:18px;color:#4d6c43;min-height:55px}
.feedback.error{color:#a34523}
.hint-button{font-size:18px;color:#865c27;text-align:left}
.input-note{font-size:15px;color:#65765a}
.result-header>p,.result-note{font-size:18px;color:#5a6f50}
.result-stats small{font-size:17px;color:#59704e}
.result-stats strong{font-size:36px}
.review-details summary{font-size:20px}
.review-details>p,.review-list li{font-size:17px}
.review-list{grid-template-columns:1fr}
.review-list small,.review-list .review-mark{font-size:14px;color:#5f7555}
.storage-note{font-size:14px;color:#607454}
dialog{max-width:600px}
dialog h2{font-size:28px}
dialog p,.rule-steps{font-size:18px;color:#536c4a}
.rule-example{font-size:30px}
.rule-example span{font-size:18px;color:#786b40}
.record-item{font-size:17px}
.record-item>small{font-size:14px}
.record-item>span{color:#536d47}
@media(max-width:1000px){
  .setup-grid{grid-template-columns:1fr;gap:22px}.mode-options{display:grid;grid-template-columns:1fr 1fr}.mode-option strong small{display:none}
  .table-cards{gap:14px}.playing-card{width:166px;height:250px}.card-back{width:118px;height:188px}.card-back>div,.card-back img{width:98px}.card-back img{height:98px}
  .card-corner{font-size:54px}.card-pips,.card-pips.nine{width:46px}.card-dragon{top:85px;height:calc(100% - 128px)}
  .running-sum{gap:10px}.running-sum strong{font-size:34px}.running-sum>span:first-child{font-size:16px}
}
@media(max-width:800px){
  .play-layout{grid-template-columns:1fr}.table-cards{gap:38px}.playing-card{width:184px;height:266px}.card-back{width:140px;height:210px}.card-back>div,.card-back img{width:112px}.card-back img{height:112px}
  .card-corner{font-size:58px}.card-pips,.card-pips.nine{width:55px}.card-dragon{top:89px;height:calc(100% - 132px)}
  .running-sum{gap:18px}.running-sum strong{font-size:38px}.answer-panel{max-width:580px;width:100%;justify-self:center}
  .hero-art{height:285px}.demo-card{width:125px;height:190px}.demo-one{left:5px}.demo-two{left:112px}.demo-card>b{font-size:30px}
  .home-bottom{align-items:stretch;flex-direction:column}.record-button{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}
  .record-button>span:last-child{margin-left:auto}.field-label>span:last-child:not(.step-number){display:none}
}
@media(max-width:580px){
  .site-header{flex-wrap:wrap;gap:5px 10px}.site-header nav,.site-header nav .text-button{font-size:15px}
  .hero{grid-template-columns:1fr;padding:18px 2px 28px}.hero h1{font-size:38px}.hero-art{height:270px;max-width:330px;justify-self:center;margin-top:8px}
  .hero-description{font-size:18px}.hero-note{font-size:16px}.hero .eyebrow,.section-heading .eyebrow{font-size:14px}
  .demo-card{width:128px;height:192px}.demo-one{left:31px;top:25px}.demo-two{left:158px;top:23px}.sum-tag{left:106px;bottom:0;font-size:24px}.sum-tag span{font-size:12px}
  .demo-card>b{font-size:32px}.demo-card>b span{font-size:16px}.orbit-note{font-size:10px}.art-spark{right:5px;bottom:35px}
  .section-heading h2{font-size:25px}.suit-line{font-size:18px;letter-spacing:0}.stage-options{gap:8px}.stage-option{padding:12px 9px;min-height:139px}
  .stage-option small{font-size:13px}.stage-option strong{font-size:35px}.stage-option>span{font-size:16px}
  .mode-options{display:flex}.mode-option{padding:14px;min-height:100px}.mode-option strong small{display:inline;font-size:13px}
  .start-row strong{font-size:18px}.start-row p{font-size:15px}.companion-note p>span{font-size:16px}.record-button{font-size:17px}.record-button small{font-size:14px}
  .play-heading{grid-template-columns:70px 1fr 76px;gap:5px}.play-heading h1{font-size:24px;letter-spacing:0}.play-heading .eyebrow{font-size:14px;letter-spacing:0}
  .play-heading .text-button,.play-heading .soft-button{font-size:16px;padding:8px 6px}.game-toolbar{font-size:15px;gap:8px}.timer b{font-size:21px;min-width:85px}
  .table-top>span{font-size:14px}.table-button{font-size:17px}.table-cards{gap:16px;margin:12px 0 20px}.playing-card{width:156px;height:235px}.card-back{width:112px;height:177px}
  .card-back>div,.card-back img{width:88px}.card-back img{height:88px}.card-back small{font-size:14px;letter-spacing:1px}.table-arrow{font-size:18px}
  .card-corner{font-size:52px;left:12px}.card-corner span{font-size:18px}.card-pips,.card-pips.nine{width:45px;height:55px;right:11px;font-size:14px}.card-pips.nine{font-size:12px}.card-pips.one{font-size:35px}
  .card-dragon{left:12px;right:12px;top:82px;width:calc(100% - 24px);height:calc(100% - 123px)}.card-dragon-name{font-size:16px;left:12px}.card-corner.bottom{font-size:24px;right:10px}.card-corner.bottom span{font-size:14px}
  .deck-area>span,.current-area>span{font-size:16px}.running-sum{gap:12px;min-height:64px;margin-bottom:16px}.running-sum>span:first-child{font-size:16px}.running-sum strong{font-size:34px}
  .memory-note{font-size:18px;min-height:56px;margin-bottom:15px}.answer-panel>.eyebrow{font-size:16px}.answer-panel h2{font-size:27px;margin:4px 0 12px}
  .answer-panel input{height:68px;font-size:42px}.keypad button{font-size:32px;min-height:58px}.keypad .key-small{font-size:18px}.answer-panel .primary-button{font-size:20px;min-height:58px}
  .feedback{font-size:18px;min-height:48px}.hint-button{font-size:18px}.input-note{font-size:15px}.result-header h1{font-size:29px}.result-header>p,.result-note{font-size:18px}
  .result-stats small{font-size:15px}.result-stats strong{font-size:29px}.result-actions{flex-wrap:wrap}.result-actions .primary-button{font-size:20px}
  .review-list li{gap:7px;font-size:17px}.review-list small,.review-list .review-mark{font-size:13px}.record-item{grid-template-columns:1fr}.record-item>strong{grid-column:1;grid-row:auto}
}
@media(max-width:360px){
  .site-header nav{margin-left:auto}.play-screen{padding-left:12px;padding-right:12px}.card-table{padding-left:11px;padding-right:11px}.table-cards{gap:10px}.card-back{width:92px;height:153px}
  .card-back>div,.card-back img{width:74px}.card-back img{height:74px}.playing-card{width:146px;height:228px}.card-corner{font-size:50px}.card-pips,.card-pips.nine{width:42px}
  .table-top>span{font-size:13px}.table-top i{display:none}.table-button{font-size:16px}.running-sum{gap:9px;padding-left:8px;padding-right:8px}.running-sum strong{font-size:31px}.running-sum>span:first-child{font-size:15px}
  .play-heading h1{font-size:21px}.mode-option strong small{display:block;margin-left:0}.stage-option strong{font-size:31px}.stage-option small{font-size:12px}.field-label h3{font-size:19px}.section-heading h2{font-size:23px}
  .result-stats strong{font-size:26px}.result-stats small{font-size:14px}.result-stats{padding-left:2px;padding-right:2px}
}
/* A small dragon camp: earned stars and companions stay separate from scores. */
.deck-selection-note{font-size:15px;line-height:1.8;color:#55704e;margin-top:13px}
.sound-toggle{border:1px solid #cbd6be;background:#e9eedf;border-radius:9px;font-size:15px;font-weight:600;padding:9px 13px;white-space:nowrap;color:#446539}
.sound-toggle[aria-pressed=false]{background:#f2f1e7;color:#727965}
.reward-invitation{display:flex;align-items:center;gap:18px;margin:0 0 24px;padding:18px 22px;border:1px solid #d9d8b7;border-radius:15px;background:linear-gradient(110deg,#f5e7c5,#edf0df);box-shadow:0 3px 0 #e7e3ce}
.invitation-egg{width:56px;height:66px;flex-shrink:0;display:grid;place-items:center;color:#a77724;font-size:36px;background:#fff4d5;border:2px solid #ddc891;border-radius:50% 50% 44% 44%;transform:rotate(-8deg)}
.reward-invitation strong{font-size:19px}.reward-invitation p{font-size:15px;color:#6e7759;margin-top:3px}.reward-invitation .soft-button{margin-left:auto;flex-shrink:0;background:#fff9e7;border-color:#ddd0aa;color:#7d642f;font-size:16px}
.reward-invitation .soft-button span{font-size:14px;margin-left:7px}
.dragon-collection{margin-top:35px;padding:26px;background:#e9eddf;border:1px solid #d3ddc7;border-radius:20px;scroll-margin-top:20px;outline:0}
.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.collection-heading h2{font-size:28px;margin-top:6px}.collection-heading .eyebrow{font-size:13px}
.star-wallet{display:grid;grid-template-columns:auto auto;align-items:center;gap:0 8px;flex-shrink:0;color:#957029;border:1px solid #dfd2ac;background:#fff9df;padding:9px 19px;border-radius:13px}.star-wallet>span{font-size:29px;color:#c3973c}.star-wallet>strong{font-size:33px;font-weight:750;line-height:1.2}.star-wallet small{grid-column:1/3;text-align:center;font-size:13px}
.collection-journey{margin:20px 0 22px}.collection-journey p{font-size:16px;color:#58734d}.journey-meter{height:9px;margin-top:11px;background:#d3ddc6;border-radius:8px;overflow:hidden}.journey-meter span{display:block;height:100%;background:linear-gradient(90deg,#749f60,#c8ad58);border-radius:8px;transition:width .3s}
.dragon-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dragon-badge{min-width:0;min-height:176px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px 7px;gap:8px;border:1px solid #d1d9c2;border-radius:14px;background:#fafbf1;box-shadow:0 3px 0 #d6dfca;position:relative;transition:transform .2s,border-color .2s}
.dragon-badge img{width:82px;height:82px;border:3px solid #e3e5d5;border-radius:50%;object-fit:cover;background:#edf0e1}.dragon-badge strong{font-size:17px;line-height:1.5}.dragon-badge small{font-size:12px;line-height:1.5;color:#627753}.dragon-badge.unlocked:hover{transform:translateY(-3px);border-color:#81a16a}.dragon-badge[aria-pressed=true]{border:2px solid #668b51;background:#f6f8e5;box-shadow:0 3px 0 #aebf92}.dragon-badge[aria-pressed=true]:after{content:'✦';position:absolute;top:7px;right:8px;color:#b78e37;font-size:20px}.dragon-badge.locked{opacity:1;background:#e2e7d7;box-shadow:none;color:#6e7e60;cursor:default}.dragon-badge.locked img{background:transparent;object-fit:contain;border:0;filter:saturate(.65);opacity:.65}.dragon-badge.locked small{color:#6e7b61}
.collection-note{margin-top:22px;font-size:15px;line-height:1.8;color:#516b45}.collection-storage{font-size:13px;color:#68785d;margin-top:7px}
.play-companion{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0 0 18px;border:1px solid #d8dfc7;background:#e9efde;border-radius:13px}.play-companion img{width:48px;height:48px;border:2px solid #cbd6b9;border-radius:50%;object-fit:cover}.play-companion p{min-width:0;line-height:1.6}.play-companion strong{display:block;font-size:16px}.play-companion p>span{display:block;font-size:14px;color:#627951}.round-prize{margin-left:auto;color:#9a762d;font-size:15px;white-space:nowrap}
.result-screen{max-width:940px;margin-top:20px}.result-header h1{font-size:34px;margin-top:13px}.result-header>p{font-size:17px;margin-top:12px}.result-header .eyebrow{font-size:13px;letter-spacing:2px;color:#7d865f}
.reward-stage{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;position:relative;isolation:isolate;margin-top:27px;min-height:320px;border:1px solid #c5d3b5;border-radius:25px;background:radial-gradient(ellipse at 24% 34%,#fff6d7 0,#e6efcf 35%,transparent 65%),linear-gradient(125deg,#d7e6c9,#f9f5df);overflow:hidden;box-shadow:0 6px 0 #dbe3cd}
.reward-stage:before{content:'';position:absolute;inset:10px;border:1px solid #98b27b55;border-radius:18px;z-index:-1;pointer-events:none}.reward-stage.is-new{border-color:#c1ad72;background:radial-gradient(ellipse at 24% 34%,#fff9e5 0,#f6e6b3 35%,transparent 65%),linear-gradient(125deg,#e2e9c5,#fff4d7);box-shadow:0 6px 0 #e6dcc0}
.reward-sky{position:relative;min-height:320px;align-self:stretch;isolation:isolate}.reward-orbit{position:absolute;width:230px;height:230px;border:1px dashed #b3bf8c;border-radius:50%;left:50%;top:38px;transform:translateX(-50%) rotate(18deg)}.reward-orbit:after{content:'';position:absolute;inset:12px;border:1px solid #b9c69866;border-radius:50%}
.reward-ground{position:absolute;left:50%;bottom:30px;width:220px;height:40px;transform:translateX(-50%);border-radius:50%;background:#a6bb7c55;z-index:-1}.reward-ground:after{content:'';position:absolute;inset:7px 25px;background:#7b9c5d22;border-radius:50%}
.reward-sprite-space{position:absolute;left:50%;bottom:47px;width:192px;height:208px;transform:translateX(-50%) scale(1.18);transform-origin:bottom center}.reward-sprite{width:192px;height:208px;background-repeat:no-repeat;background-size:1536px 1872px;background-position:0 0;filter:drop-shadow(0 8px 5px #4a613a18)}
.is-new .reward-sprite{animation:dragon-wave .8s steps(4) 2}.sky-star{position:absolute;color:#b99b48}.sky-star-one{left:14%;top:37px;font-size:36px;transform:rotate(-12deg)}.sky-star-two{right:12%;top:90px;font-size:24px}.sky-star-three{left:17%;bottom:44px;font-size:22px}
.reward-copy{padding:30px 30px 30px 5px}.reward-badge{display:inline-block;border:1px solid #cfbb7f;border-radius:99px;background:#fff3ce;padding:6px 13px;font-size:14px;font-weight:650;color:#89621f;letter-spacing:1px}.reward-copy h2{font-size:29px;line-height:1.5;margin-top:13px;letter-spacing:.5px}.reward-copy>p:not(.reward-amount){font-size:17px;color:#63764f;line-height:1.8;margin-top:7px;max-width:360px}.earned-stars{display:flex;gap:9px;min-height:71px;align-items:center;margin-top:12px;color:#c99531;text-shadow:0 3px 0 #a87a251a}.earned-stars>span{font-size:55px;line-height:1.2;animation:star-arrival .5s ease-out both;animation-delay:var(--star-delay)}.reward-amount{font-size:26px;font-weight:750;color:#8b642a;letter-spacing:1px}
.reward-reasons{list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:10px;padding:0;margin:23px 0}.reward-reasons li{display:flex;align-items:center;gap:13px;border:1px solid #e2d8b7;border-radius:9px;background:#fff9e7;padding:9px 15px;font-size:15px;color:#73663d}.reward-reasons b{font-size:17px;color:#a07926}
.reward-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#e8eddf;border:1px solid #d7dfc9;border-radius:14px}.reward-next strong{font-size:18px}.reward-next p{font-size:16px;line-height:1.7;color:#637952;margin-top:5px}.reward-total{display:grid;grid-template-columns:auto auto;align-items:center;gap:0 6px;flex-shrink:0;text-align:center}.reward-total>span{font-size:24px;color:#b78c32}.reward-total b{font-size:31px;color:#8e6a26;line-height:1.1}.reward-total small{grid-column:1/3;font-size:12px;color:#7c7b56;white-space:nowrap;margin-top:6px}
.result-stats{margin:23px 0 15px;padding:20px 8px}.result-stats strong{font-size:31px}.result-stats small{font-size:16px}.result-note{font-size:16px;line-height:1.8}.result-actions{flex-wrap:wrap;margin:23px 0 28px;gap:12px}.result-actions .text-button{flex-basis:100%;color:#6f7c60}.result-actions .soft-button{min-height:58px}
@keyframes dragon-wave{from{background-position:0 -624px}to{background-position:-768px -624px}}
@keyframes star-arrival{from{transform:translateY(12px) scale(.6);opacity:0}to{transform:none;opacity:1}}
@media(max-width:1000px){.dragon-list{grid-template-columns:repeat(3,minmax(0,1fr))}.dragon-badge{min-height:180px}.dragon-badge img{width:86px;height:86px}.dragon-badge strong{font-size:19px}.dragon-badge small{font-size:14px}}
@media(max-width:800px){.reward-copy h2{font-size:25px}.reward-copy{padding-right:23px}.reward-orbit{width:210px;height:210px;top:51px}.reward-invitation{flex-wrap:wrap}.reward-invitation .soft-button{margin-left:74px}.play-companion{padding:10px 13px}}
@media(max-width:580px){
  .site-header nav{flex-wrap:wrap;justify-content:flex-end;gap:4px 12px}.sound-toggle{font-size:14px;min-height:44px;padding:8px 10px}.site-header{gap:8px 12px}
  .reward-invitation{padding:16px;gap:10px 13px;align-items:flex-start;margin-bottom:22px}.invitation-egg{width:43px;height:53px;font-size:29px}.reward-invitation>div:nth-child(2){flex:1;min-width:0}.reward-invitation strong{font-size:18px}.reward-invitation p{font-size:15px;line-height:1.7}.reward-invitation .soft-button{margin-left:56px;flex-shrink:1}
  .dragon-collection{padding:20px 16px;border-radius:16px;margin-top:29px}.collection-heading h2{font-size:26px}.collection-heading .eyebrow{font-size:12px;letter-spacing:.3px}.star-wallet{padding:8px 12px}.star-wallet strong{font-size:29px}.star-wallet small{font-size:12px}.dragon-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.dragon-badge{min-height:175px;padding:14px 7px}.dragon-badge img{width:78px;height:78px}.dragon-badge strong{font-size:18px}.dragon-badge small{font-size:13px}.collection-journey p{font-size:16px}.collection-note{font-size:15px}
  .play-companion{gap:10px;align-items:center}.play-companion img{width:44px;height:44px;flex-shrink:0}.play-companion strong{font-size:16px}.play-companion p>span{font-size:14px}.round-prize{display:none}
  .result-header h1{font-size:27px}.result-header>p{font-size:16px}.result-header .eyebrow{font-size:12px;letter-spacing:1px}.result-screen{padding:0 16px;margin-top:16px}
  .reward-stage{grid-template-columns:1fr;min-height:0;margin-top:21px;border-radius:20px}.reward-sky{min-height:237px}.reward-sprite-space{bottom:19px;transform:translateX(-50%) scale(1.02)}.reward-ground{bottom:7px;width:210px}.reward-orbit{width:192px;height:192px;top:21px}.sky-star-one{top:34px;left:17%}.sky-star-two{top:80px;right:16%}.sky-star-three{left:21%;bottom:29px}
  .reward-copy{text-align:center;padding:0 20px 25px}.reward-copy h2{font-size:25px;margin-top:12px}.reward-copy>p:not(.reward-amount){font-size:16px;max-width:none}.reward-badge{font-size:14px;padding:5px 12px}.earned-stars{justify-content:center;margin-top:8px;min-height:65px}.earned-stars>span{font-size:50px}.reward-amount{font-size:25px}
  .reward-reasons{gap:8px;margin:20px 0}.reward-reasons li{padding:8px 10px;gap:8px;font-size:14px}.reward-reasons b{font-size:16px}.reward-next{padding:16px 14px;gap:12px}.reward-next strong{font-size:17px}.reward-next p{font-size:15px}.reward-total b{font-size:28px}.reward-total small{font-size:11px}.result-stats strong{font-size:28px}.result-stats small{font-size:14px}.result-note{font-size:16px}.result-actions .primary-button{width:100%;font-size:19px}.result-actions .soft-button{width:100%;font-size:18px}.result-actions .text-button{font-size:17px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
