.journey-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.rewards-nav,.reward-entry{position:relative}.reward-dot{position:absolute;right:13px;top:8px;width:9px;height:9px;border-radius:50%;background:#f1b458;box-shadow:0 0 0 3px #112b2b,0 0 13px #ffd18199}.reward-dot[hidden]{display:none}.reward-ready .reward-dot{animation:reward-twinkle 3.5s ease-in-out infinite}.reward-ready{color:#ffe4ac!important}
.journey-rewards{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:8px clamp(16px,3vw,40px) 14px;background:#0a2027}.reward-entry{display:flex;align-items:center;text-align:left;gap:12px;min-height:70px;border:1px solid #d9bf7840;border-radius:12px;padding:12px 25px 12px 14px;background:linear-gradient(120deg,#d4ac6612,#142c32);color:#e4ddc6}.reward-entry strong{display:block;font:17px/1.3 Georgia,serif}.reward-entry small{display:block;font:12px/1.4 Arial,sans-serif;color:#b9cec2;margin-top:4px}.reward-symbol{font-size:28px;color:#edcd8a}.reward-entry.reward-ready{border-color:#e6c57a88}
.rewards-dialog{width:min(680px,calc(100% - 24px));max-height:88svh;overflow-y:auto}.daily-reward-card,.pass-benefit,.pass-preview{padding:20px;border:1px solid #d7c28a44;border-radius:14px;margin:16px 0;background:linear-gradient(130deg,#d4ac6612,#0c242b)}.daily-reward-card h3,.pass-benefit h3,.pass-preview h3{font:25px/1.2 Georgia,serif;margin:10px 0}.daily-reward-card p,.pass-benefit p,.pass-preview p{line-height:1.6}.daily-reward-card .primary{width:100%;margin-top:8px}.reward-note{font:12px/1.6 Arial,sans-serif;color:#b8cabe}.pass-benefit>button,.reward-actions button{min-height:44px;padding:10px 14px;border:1px solid #d3bb8155;border-radius:10px;margin:5px 8px 5px 0}.pass-benefit>button:not(:disabled){color:#ffe2a1;background:#c7a25518}.pass-benefit progress{width:100%;height:10px;accent-color:#dfbd76}.battle-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-left:24px;font-size:12px;line-height:1.5}.battle-rewards .earned{color:#a8e1bb}.pass-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pass-preview-grid h4{font:22px/1.25 Georgia,serif;margin:10px 0}.pass-preview-grid article[hidden],.pass-preview[hidden]{display:none}.reward-actions{display:flex;gap:8px;flex-wrap:wrap}.rewards-dialog [hidden]{display:none!important}
@keyframes reward-twinkle{0%,70%,100%{opacity:1;transform:scale(1)}82%{opacity:.65;transform:scale(.8)}90%{opacity:1;transform:scale(1.2)}}
.reduced-motion .reward-dot{animation:none}@media(prefers-reduced-motion:reduce){.reward-dot{animation:none!important}}@media(max-width:430px){.journey-rewards{gap:8px}.reward-entry{gap:8px;padding:12px 20px 12px 10px}.reward-entry strong{font-size:15px}.reward-entry small{font-size:11px}.reward-symbol{font-size:22px}.pass-preview-grid{grid-template-columns:1fr}.reward-dot{right:9px}.journey-nav button{font-size:11px}}
/* Named game mode beside Adventure; no navigation arrow or automatic run start. */
.journey-competitive{display:flex;align-items:center;gap:13px;min-height:76px;width:100%;padding:14px 16px;text-align:left;border:1px solid #dfc487a8;border-radius:13px;background:linear-gradient(115deg,#31514d,#142e37);color:#fff0cc;box-shadow:0 4px 16px #001a2466}
.journey-competitive svg{width:29px;height:29px;flex:none;fill:none;stroke:#f2d28a;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.journey-competitive strong{display:block;font:700 17px/1.3 Arial,sans-serif}.journey-competitive small{display:block;margin-top:5px;color:#d5e1d5;font:12px/1.4 Arial,sans-serif}
.journey-competitive:hover{background:#31554f;border-color:#f6d696}.journey-competitive:active{background:#0f2932}.journey-competitive:focus-visible,.stardust-wallet:focus-visible,.shop-item:focus-visible{outline:3px solid #fff0bb;outline-offset:3px}
/* Let long chapter copy and enlarged text grow instead of clipping the action. */
body:not(.journal-open) .chapter-menu>.world{display:flex;flex-direction:column;height:auto;min-height:clamp(540px,calc(100svh - 220px),920px);max-height:none}
body:not(.journal-open) .world-caption{position:relative;left:auto;right:auto;bottom:auto;margin:auto 7% 40px;padding-top:100px;width:86%;max-width:570px}
@media(max-width:760px){body:not(.journal-open) .chapter-menu>.world{min-height:480px}body:not(.journal-open) .world-caption{margin:0 25px 25px;padding-top:88px;width:calc(100% - 50px);max-width:none}.journey-resources{flex-wrap:wrap}.journey-resources>span{max-width:none}}
/* The earned-currency route stays visible beside the paid catalogue. */
.stardust-wallet{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:16px;text-align:left;border:1px solid #e3c57888;border-radius:13px;background:linear-gradient(110deg,#d1af5a24,#123736);color:#f7e7bb}
.stardust-wallet-copy>span{font:12px/1.4 Arial,sans-serif}.stardust-wallet-copy>strong{display:block;font:700 27px/1.3 Arial,sans-serif;margin:4px 0}.stardust-wallet small{display:block;font:12px/1.4 Arial,sans-serif;margin-top:5px;color:#d0dfcc}
.stardust-wallet-action{font:700 14px/1.4 Arial,sans-serif;text-align:right}.stardust-wallet-action small{font-weight:400}
.supply-tabs button small{display:block;margin-top:4px;font:10px/1.4 Arial,sans-serif;color:#c5d5c7}.supply-tabs #supplyEarned{border:1px solid #e2c87c66;color:#ffe5a2}
.stardust-title{font:25px/1.2 Georgia,serif;margin:22px 0 8px}.stardust-intro{font:13px/1.6 Arial,sans-serif;color:#c5d9ca}
.shop-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px 12px;padding:16px}.shop-item .stardust-price{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #d6bf7f30;padding-top:9px;margin-top:4px}
.shop-item .stardust-price b{font:700 17px/1.4 Arial,sans-serif;white-space:normal;color:#ffe1a0}.shop-item .stardust-price small{font:12px/1.4 Arial,sans-serif!important;text-align:right;margin:0;color:#c7d5c7}
.shop-item.stardust-affordable{border-color:#b9d3a95c;background:#a3ce9f10}.shop-item.stardust-affordable .stardust-price small{color:#cfedb9}.shop-item:disabled{opacity:1;background:#08222a;border-style:dashed}.shop-item:disabled .shop-item-icon{color:#9baead}
@media(max-width:430px){.stardust-wallet{padding:13px;gap:10px}.stardust-wallet-copy>strong{font-size:23px}.stardust-wallet-action{font-size:12px}.shop-item{padding:13px;gap:8px}.shop-item .stardust-price{align-items:flex-start;flex-direction:column;gap:4px}.shop-item .stardust-price small{text-align:left}.journey-competitive{gap:10px;padding:12px;min-height:76px}.journey-competitive strong{font-size:16px}.journey-competitive small{font-size:11px}}
.chapter-menu .journey-shortcut{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-width:0;min-height:176px;padding:16px;text-align:left;border:1px solid #d9bc7540;border-radius:12px;background:linear-gradient(135deg,#1c3537,#10282e);color:#eee5c9}
.chapter-menu .journey-shortcut>svg,.chapter-menu .journey-shortcut>.reward-symbol,.chapter-menu .journey-shortcut>.path-symbol,.chapter-menu .journey-shortcut>.reward-emblem{display:block;width:32px;height:32px;flex:0 0 32px;object-fit:contain;font-size:28px;line-height:32px;color:#e9ce8e}
.chapter-menu .journey-shortcut>span:not(.reward-symbol):not(.path-symbol){display:flex;flex-direction:column;gap:6px;min-width:0;width:100%}
.chapter-menu .journey-shortcut strong{display:block;min-height:2.6em;margin:0;font:600 16px/1.3 Arial,sans-serif;overflow-wrap:normal}
.chapter-menu .journey-shortcut small{display:block;margin:0;font:12px/1.5 Arial,sans-serif;color:#bed0c8;overflow-wrap:normal}

.chapter-menu .journey-rewards{gap:10px;padding:8px var(--home-gutter) 5px}.chapter-menu .journey-paths{padding-top:5px}
@media(max-width:340px){.chapter-menu .journey-rewards{grid-template-columns:1fr}}

/* Keep the sticky Rewards title inside its panel, with room for long translations. */
#rewardsDialog > .dialog-head{padding-inline:20px;gap:12px}
#rewardsDialog > .dialog-head > div{min-width:0;flex:1}
#rewardsDialog > .dialog-head :is(.eyebrow,h2){overflow-wrap:anywhere}
#rewardsDialog > .dialog-head .close-dialog{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0}
