:root{--cocoa-950:#100a0d;--cocoa-900:#181013;--cocoa-850:#211619;--cocoa-800:#2b1d20;--cocoa-700:#493136;--cream:#fff3e7;--rose:#c85570;--rose-hi:#e2758d;--gold:#efc771;--gold-hi:#fff0ac;--muted:#c8adb2;--line:#5e4147}
html{background:#0d080a;min-height:100%}body{position:relative;background:radial-gradient(ellipse at 50% -10%,#3b2429 0,#160e12 43%,#0c080a 100%)!important}body:before{display:none!important}#app{position:relative;z-index:1;overflow:hidden;box-shadow:0 0 0 1px #f4ce7424,0 0 90px #000a!important}#effects{left:50%!important;right:auto!important;width:min(100%,540px)!important;transform:translateX(-50%);overflow:hidden!important}.journey-card{overflow:hidden}
.compact-header{background:linear-gradient(180deg,#2c1d20f5,#1b1215f5)!important;border-bottom:1px solid #7b555b66!important;box-shadow:0 12px 28px #08040566}.game-logo{position:relative;padding:.42rem .62rem .48rem;border:1px solid #c7965f9c;border-radius:11px 16px 11px 16px;background:linear-gradient(145deg,#3a252a,#211519);box-shadow:inset 0 0 0 2px #160e11,inset 0 1px #fff2,0 4px 11px #0007;filter:drop-shadow(0 2px 5px #0008)}.game-logo:before{content:'◆';position:absolute;left:-6px;top:50%;transform:translateY(-50%);font-size:.5rem;color:#f2cd78;text-shadow:0 0 7px #f2cd78}.game-logo span{color:#fff0df!important}.game-logo b{color:var(--gold)!important;letter-spacing:.2em!important}.header-coins{border-color:#bb8a4c77!important;background:linear-gradient(145deg,#3b2822,#241719)!important;box-shadow:inset 0 1px #ffe5a629,0 6px 14px #0004!important}.coin-price .coin-icon{width:.92em!important;height:.92em!important}.header-coins .coin-icon{width:1em!important;height:1em!important}
.quest{margin:.55rem .8rem .2rem!important;border:1px solid #755158!important;border-radius:14px!important;background:linear-gradient(135deg,#2d1d21,#211619)!important;box-shadow:inset 0 1px #fff1,0 5px 14px #0003!important;padding:.65rem .72rem!important}.quest b{font-family:Georgia,serif;font-size:.94rem}.quest .track{height:5px!important;background:#130c0e!important}.quest .track i{background:linear-gradient(90deg,#bd6276,var(--gold))!important;box-shadow:0 0 9px #efc77166}.quest-settling{color:var(--gold);animation:settleSpark .7s ease-in-out infinite alternate}.quest-help-mini{opacity:.72;transition:opacity .18s,transform .18s}.quest-help-mini:hover,.quest-help-mini:focus-visible{opacity:1;transform:scale(1.06)}
.page-content{padding-top:.55rem!important;padding-bottom:88px!important}.assist-drawer{margin-bottom:.55rem!important}.drawer-handle{background:linear-gradient(145deg,#2b1c20,#211619)!important;border-color:#67464d!important}.purchase-options{border:0!important;background:transparent!important;padding:.2rem .8rem .55rem!important}.purchase-options:before{content:'IMPROVE';font-size:.62rem;letter-spacing:.16em;color:#9f8187;margin-right:auto}
html[data-tutorial-phase="first"] .assist-drawer,html[data-tutorial-phase="first_box"] .assist-drawer,html[data-tutorial-phase="name_shop"] .assist-drawer,html[data-tutorial-phase="rhythm"] .assist-drawer,html[data-tutorial-phase="first_improve"] .assist-drawer{display:none!important}html[data-tutorial-phase="first"] .purchase-options,html[data-tutorial-phase="first_box"] .purchase-options,html[data-tutorial-phase="name_shop"] .purchase-options,html[data-tutorial-phase="rhythm"] .purchase-options{display:none!important}
.compact-station{margin:.55rem .8rem!important;border:1px solid #614249!important;border-radius:20px!important;background:linear-gradient(145deg,#302126,#24181c 65%,#201518)!important;box-shadow:inset 0 1px #fff1,0 10px 24px #0003!important;overflow:hidden;transition:border-color .2s,box-shadow .2s}.compact-station:focus-within{border-color:#8c636a}.production-main{gap:.72rem!important;padding:.76rem .78rem .62rem!important}.choc-plinth{width:67px!important;height:67px!important;filter:drop-shadow(0 8px 8px #0006)}.station-name{min-width:0}.station-name h3{font:1.04rem Georgia,serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.station-numbers{margin-top:.28rem!important;gap:.5rem!important}.station-numbers strong{color:#f6d788}.station-numbers span{font-size:.72rem!important;color:#bea2a8!important}.production-main>.button{min-width:82px!important;min-height:45px!important;border-radius:14px!important;background:linear-gradient(180deg,var(--rose-hi),#ad405b)!important;box-shadow:inset 0 1px #ffd2da55,0 5px 12px #11070a66!important;transition:transform .12s,filter .15s,box-shadow .15s!important}.production-main>.button:active{transform:translateY(2px) scale(.98)!important;box-shadow:inset 0 1px #ffd2da55,0 2px 5px #11070a66!important}.production-progress{margin:0 .78rem!important;height:5px!important;border-radius:10px!important;background:#160e11!important}.production-progress i{background:linear-gradient(90deg,#b94964,#efc777,#fff1b1)!important;box-shadow:0 0 9px #e5b66355}.compact-station-footer{padding:.58rem .78rem .7rem!important;border-top:0!important;align-items:center!important}.station-level{font-size:.78rem!important;color:#d3b9bd!important}.station-controls{position:relative}.station-controls .button{min-height:39px!important;border-radius:12px!important}.next-purchase{position:absolute;right:.15rem;top:calc(100% + 3px);font-size:.64rem;color:#cbaeb2;white-space:nowrap}.baker-hired{display:inline-flex!important;align-items:center;gap:.35rem;color:#d9bb7d!important}.baker-hired:before{content:'●';font-size:.55rem;color:#83b27d;box-shadow:0 0 8px #83b27d}
.journey-dim{background:#0d070aa8!important;backdrop-filter:blur(4px)!important}.journey-card{border-color:#a17175!important;background:linear-gradient(145deg,#52363a,#2c1d21 72%)!important;box-shadow:0 22px 65px #000b,inset 0 1px #fff3!important}.journey-card:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(120deg,transparent 30%,#fff2 48%,transparent 63%);transform:translateX(-130%);animation:cardSheen .8s .15s ease-out both}.gentle .journey-card{background:linear-gradient(145deg,#432d31,#2a1b1f)!important}.journey-continue{min-width:96px!important;min-height:40px!important}.journey-show{font-size:.7rem!important;text-decoration:none!important;opacity:.74}.journey-show:before{content:'↗ ';color:var(--gold)}
.bottom-bar.compact-nav{left:50%!important;right:auto!important;width:min(100%,540px)!important;transform:translateX(-50%);height:88px!important;padding:.15rem .7rem max(.35rem,env(safe-area-inset-bottom))!important;background:linear-gradient(#24181df4,#191015fc)!important;backdrop-filter:blur(16px);border-top:1px solid #654149!important;box-shadow:0 -8px 24px #0005!important;overflow:hidden}.compact-nav nav{height:51px;gap:.1rem}.compact-nav nav button{min-height:49px!important;padding:.18rem .1rem!important;font-size:.63rem!important;border-radius:10px!important;transition:color .18s,background .18s,transform .15s!important}.compact-nav nav button>span{font-size:.9rem!important}.compact-nav nav button:active{transform:scale(.96)}.compact-nav nav button.active{color:#f0c574!important;background:#50303952!important}.compact-nav nav button.active:after{display:none}.compact-nav .tab-lock{right:-11px!important;top:-6px!important;font-size:.62rem!important;filter:saturate(.7)}.compact-nav .more-button{width:100%!important;height:27px!important;min-height:27px!important;margin:1px 0 0!important;border:0!important;border-top:1px solid #68444f55!important;border-radius:0!important;background:transparent!important;padding:1px 0 0!important;color:#a98b95!important}.compact-nav .more-button svg{display:block;width:19px;height:19px}
.menu-drawer{background:linear-gradient(165deg,#4b3539,#352428 48%,#2a1c20)!important;border-left:1px solid #a7757866!important;box-shadow:-20px 0 70px #000a!important}.menu-grid{gap:.35rem!important}.menu-grid>button{min-height:58px!important;border-radius:13px!important;background:#2b1c2077!important;border:1px solid transparent!important;transition:background .16s,border-color .16s,transform .13s!important}.menu-grid>button:hover{background:#3a272c!important;border-color:#765159!important}.menu-grid>button:active{transform:scale(.985)}.menu-grid>button b{font-family:Georgia,serif}.menu-grid>button small{color:#c8adb2!important}
dialog{border:1px solid #8e6269!important;background:linear-gradient(155deg,#493237,#281a1e)!important;box-shadow:0 24px 80px #000c,inset 0 1px #fff2!important}button:focus-visible{outline:2px solid var(--gold-hi)!important;outline-offset:3px!important}.panel,.menu-panel,.tree-node{background-image:linear-gradient(145deg,#ffffff08,transparent 42%)!important}.button.gold{border:1px solid #ffe9a780!important;box-shadow:inset 0 1px #fff9cf,0 4px 11px #0005!important}.button.secondary{border-color:#765158!important;background:linear-gradient(180deg,#3a272c,#2b1c20)!important}.section-title h2,.section-title h3{font-family:Georgia,serif}.shelf,.panel,.compact-station{isolation:isolate}
@keyframes settleSpark{to{transform:scale(1.16);filter:drop-shadow(0 0 7px #efc771)}}@keyframes cardSheen{to{transform:translateX(130%)}}
@media(max-width:699px){body:before{display:none}#app{box-shadow:none!important}}
@media(max-width:430px){.page-content{padding-bottom:98px!important}.bottom-bar.compact-nav{height:86px!important}.compact-nav nav button{min-height:47px!important}.production-main{grid-template-columns:62px minmax(0,1fr) auto!important}.choc-plinth{width:61px!important;height:61px!important}.production-main>.button{min-width:76px!important;padding-inline:.75rem!important}.journey-card{bottom:calc(96px + env(safe-area-inset-bottom))!important}.game-logo{padding:.34rem .5rem .4rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.journey-card:before,.quest-settling{animation:none!important}}

/* Chocolate stock: plentiful craft output beside scarce coin profit. */
.compact-header{grid-template-columns:minmax(0,1fr) auto auto!important;gap:0!important}.header-inventory{position:relative;z-index:2;display:flex;align-items:center;gap:.14rem;min-height:34px;margin-right:-6px;padding:.2rem .38rem;border:1px solid #754e55;border-radius:11px 7px 7px 11px;background:linear-gradient(145deg,#352327,#24171b);box-shadow:inset 0 1px #fff1,0 5px 12px #0004;color:#f0dadd}.header-inventory img{width:22px;height:22px;object-fit:contain}.header-inventory b{font-size:.84rem;font-variant-numeric:tabular-nums}.header-inventory.stock-bump>img{animation:stockBump .28s ease}.header-coins{position:relative;z-index:1;min-height:34px!important;padding:.2rem .4rem .2rem .62rem!important}.header-coins .coin-icon{width:.82em!important;height:.82em!important}.flying-chocolate{position:fixed;z-index:40;left:0;top:0;width:24px;height:24px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 3px #19090988);will-change:transform,opacity}.earning-label.chocolates:before{content:"";display:inline-block;width:1.25em;height:1.25em;margin-right:.2em;vertical-align:-.28em;background:url('assets/truffle-transparent.png') center/contain no-repeat}.batch-readout{display:block!important;flex-basis:100%;margin-top:.12rem;color:#d9b9bf!important;font-size:.69rem!important;white-space:nowrap}.station-numbers{flex-wrap:wrap!important}@keyframes stockBump{50%{transform:scale(1.08)}}
@media(max-width:430px){.header-inventory{padding:.16rem .3rem;margin-right:-5px}.header-inventory img{width:19px;height:19px}.header-inventory b{font-size:.76rem}.header-coins{padding-left:.52rem!important}.header-coins .coin-icon{width:.76em!important;height:.76em!important}}
