:root{color-scheme:dark;--navy:#091725;--deep:#07111e;--panel:#10273c;--ink:#192d41;--muted:#8faabb;--line:#2b4760;--cyan:#59c9ff;--blue:#139eef;--gold:#ffd480;--silver:#e0e9ef;--white:#f4f8fb;--accent:var(--cyan);font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,"Segoe UI",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--deep);color:#edf7ff;min-width:320px}button,a{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button:not(:disabled):hover{filter:brightness(1.12)}[hidden]{display:none!important}a{color:inherit}button{touch-action:manipulation}.topbar{height:52px;padding:0 22px;background:linear-gradient(#ecf2f6,#b9ccd8);border-bottom:3px solid #406783;color:var(--ink);display:flex;align-items:center;gap:18px;position:relative;z-index:5;box-shadow:0 2px 15px #0005}.brand{text-decoration:none;letter-spacing:.08em;font-size:16px;font-weight:800;display:flex;align-items:center;gap:8px}.brand img{width:26px;height:26px;transform:scale(1.85)}.brand span{font-weight:400}.fan-label{font-size:12px;color:#527084}.topbar nav{margin-left:auto;display:flex;gap:5px}.topbar nav button{font-size:14px;padding:6px 12px;border-left:1px solid #90a9ba}.game-shell{height:calc(100svh - 52px);min-height:660px;display:grid;grid-template-columns:minmax(330px,30%) minmax(350px,1fr) minmax(280px,25%);overflow:hidden}.click-column,.production-column,.shop-column{min-width:0;position:relative}.click-column{background:radial-gradient(ellipse at 50% 43%,#215377 0,#102e4a 36%,#071526 85%);border-right:7px solid #607a8b;box-shadow:inset -1px 0 #c1d8e6,inset 0 0 90px #0008;overflow:hidden}.click-column::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 1px 0 #fff2}.click-content{position:relative;z-index:1;padding:26px 24px 56px;min-height:100%;display:flex;flex-direction:column;align-items:center}.speaker{display:flex;align-items:center;gap:11px;width:100%}.tibo-face{width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#e5d4b7 url('./tibo-profile-reference.png') 6.78% 22.91%/468.75% 472.95% no-repeat;border:1px solid #cfedff90;box-shadow:0 0 0 3px #0d2235}.tibo-face.android{background-image:url('./tibo-android.png');background-size:cover;background-position:center}.tibo-face.cyborg{background-image:url('./tibo-cyborg.png');background-size:cover;background-position:center}.tibo-face.robot{background-image:url('./tibo-robot.png');background-size:cover;background-position:center}.speaker-name{display:grid;gap:4px}.speaker-name b{font-size:17px}.speaker-name>span{font-size:12px;color:#a0b9cb}.verified{color:#8cddff;font-size:13px}.text-button{margin-left:auto;color:#9cd4f5;font-size:12px}.speech{width:100%;min-height:136px;border-bottom:1px solid #6ca1bc38;padding:15px 0 12px}.speech p{font-size:15px;line-height:1.75;min-height:55px;margin:0;white-space:pre-line}.reactions{display:flex;align-items:center;gap:6px;margin-top:8px}.reactions button{font-size:22px;color:#8db1c8;line-height:1;padding:4px 9px}.reactions button.active{color:#f790b9}.reactions span{font-size:12px;color:#749bb5;margin-left:auto}.wallet{text-align:center;margin-top:22px;position:relative;z-index:2;width:100%}.eyebrow{font-size:12px;letter-spacing:.12em;color:#8caabf}.balance{font-size:clamp(34px,3.15vw,61px);font-weight:750;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.25;text-shadow:0 2px 15px #0008;overflow-wrap:anywhere}.rate{font-size:14px;color:#a5c9dc;margin-top:6px}.rate b{font-size:18px;color:#ecf8ff;margin-left:5px;font-variant-numeric:tabular-nums}.click-arena{width:100%;aspect-ratio:1;margin:12px 0 0;max-width:490px;position:relative;display:grid;place-items:center;isolation:isolate}.halo{position:absolute;inset:3%;border-radius:50%;background:radial-gradient(circle,#68cfff32,transparent 70%);box-shadow:0 0 80px #48b8ff12;animation:breathe 6s ease-in-out infinite}.orbit-guide{position:absolute;inset:5%;border:1px solid #8bdfff20;border-radius:50%;box-shadow:0 0 0 15px #75c9ff06}.big-logo{width:75%;height:75%;position:relative;filter:drop-shadow(0 0 13px #62c5ff88);padding:0;user-select:none;will-change:transform}.big-logo img{width:100%;height:100%;transform:scale(1.94);filter:invert(1);pointer-events:none}.big-logo:hover{filter:drop-shadow(0 0 24px #86d6ffb0)!important}.big-logo:focus-visible{border-radius:50%}#cursorRing{position:absolute;inset:0;pointer-events:none;animation:orbit 180s linear infinite}.orbit-cursor{position:absolute;left:50%;top:50%;color:var(--accent);width:22px;height:27px;filter:drop-shadow(0 2px 2px #000a);transform:rotate(var(--angle)) translateY(calc(-1 * var(--radius)));transform-origin:0 0}.orbit-cursor svg{width:100%;height:100%;fill:currentColor;stroke:#052135;stroke-width:1.2}.click-hint{font-size:13px;color:#7a9db8;z-index:2}.click-hint b{color:var(--accent);margin-left:9px}.floating-number{position:absolute;font-weight:800;font-size:26px;color:var(--accent);text-shadow:0 2px 8px #0008;pointer-events:none;animation:float-up 1s ease-out forwards;white-space:nowrap}.floating-number small{font-size:16px;color:#ff99bf;margin-left:6px}.buffs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px 0 0;min-height:0}.buff{padding:7px 10px;border:1px solid #ffd48075;background:#594a2640;color:#ffe1a1;border-radius:5px;font-size:12px}.buff progress{display:block;width:100%;height:3px;margin-top:5px;accent-color:#ffc768}.left-footer{position:absolute;bottom:0;left:0;right:0;z-index:3;display:flex;justify-content:space-between;padding:13px 16px;color:#7995a9;font-size:12px;background:linear-gradient(transparent,#07111eda)}#rain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.milk{position:absolute;bottom:0;left:0;right:0;height:var(--milk-height,0);background:linear-gradient(transparent,#66bef333);z-index:-1;transition:height 2s}.production-column{display:flex;flex-direction:column;background:linear-gradient(110deg,#183449,#0b1d2f);border-right:7px solid #607a8b;box-shadow:inset -1px 0 #d4e5ef}.production-head{background:linear-gradient(125deg,#18324cfa,#102439fa);padding:10px 18px 0;border-bottom:1px solid #557a92;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px}.ascend-button{font-size:12px;border:1px solid #597487;padding:7px 10px;border-radius:5px;color:#9bbed2;display:flex;gap:8px;align-items:center}.ascend-button b{color:#f8d291}.center-tabs{display:flex;gap:25px}.center-tabs button{padding:9px 0 13px;font-size:14px;color:#819db2;border-bottom:3px solid transparent}.center-tabs button.selected{color:#e6f7ff;border-color:var(--cyan)}.center-content{flex:1;overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#42617a #102333}.facility-row{border-bottom:5px solid #48647a;position:relative;background:linear-gradient(0deg,#0b243cf5,#153750e8);box-shadow:inset 0 1px 0 #a5cce055;overflow:hidden;min-height:156px}.facility-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#091a2b7d;font-size:13px}.facility-title strong{font-weight:550;display:inline-flex;align-items:center;gap:8px}.facility-title strong span{color:#86afc9;font-size:12px}.facility-level{color:#b3d6ee;font-size:12px;white-space:nowrap}.facility-scene{display:flex;align-items:flex-end;flex-wrap:wrap;height:100px;overflow:hidden;padding:8px 12px 15px;background:repeating-linear-gradient(0deg,transparent 0 22px,#71b4db10 22px 23px);position:relative;gap:0}.facility-scene:after{position:absolute;bottom:0;left:0;right:0;height:12px;content:"";background:linear-gradient(#6f93a7,#273d51);border-top:1px solid #c0dae7}.facility-unit{width:67px;height:67px;margin-right:-10px;filter:drop-shadow(0 4px 3px #0008);transition:transform .2s}.facility-unit:nth-child(2n){transform:translateY(-3px)}.facility-unit.tibo-face{width:44px;height:44px;margin-right:5px;margin-bottom:5px}.facility-unit svg{width:40px;height:50px;fill:var(--cyan);stroke:#071e34}.facility-scene .unit-overflow{position:absolute;right:10px;bottom:20px;color:#b1d6f0;background:#10293e;padding:3px 8px;border:1px solid #46657e;border-radius:5px;font-size:12px}.facility-rate{position:absolute;bottom:10px;right:16px;font-size:12px;z-index:2;color:#d7efff;background:#0b1c2bd0;padding:3px 5px}.asset-icon{background-image:url('./facility-atlas.png');background-size:400% 500%;background-position:calc(var(--col)*100%/3) calc(var(--row)*100%/4);border-radius:7px}.production-footer{height:39px;display:flex;gap:6px;align-items:center;flex-shrink:0;padding:0 15px;color:#86a9c1;font-size:12px;background:#08192bec;border-top:1px solid #2b4d68}.footer-right{margin-left:auto;font-size:10px;letter-spacing:.08em}.shop-column{background:linear-gradient(110deg,#20364a,#0b1d2f);display:flex;flex-direction:column}.shop-heading{padding:20px 20px 18px;border-bottom:4px solid #6b879b;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#153048,#0b1f33);box-shadow:inset 0 -1px #b7d0df}.shop-heading h2{margin:0;font-size:25px;letter-spacing:.08em;font-weight:500}.shop-heading>span{font-size:10px;color:#718fa5;letter-spacing:.12em}.upgrade-section{min-height:123px;padding:12px 14px;background:#081b2bd0;border-bottom:1px solid #648198}.section-label{display:flex;justify-content:space-between;color:#93acc1;font-size:12px;margin-bottom:10px}.upgrade-grid{display:flex;flex-wrap:wrap;gap:5px;max-height:150px;overflow:auto}.upgrade{width:48px;height:48px;border:1px solid #6ea1c0;background:linear-gradient(145deg,#335775,#112b42);border-radius:4px;position:relative;padding:5px}.upgrade.affordable{border-color:#9ce2ff;box-shadow:inset 0 0 9px #5ecbff35}.upgrade img{width:100%;height:100%}.upgrade .asset-icon{width:100%;height:100%}.upgrade .upgrade-mark{font-size:24px;line-height:35px;color:#c7edff}.upgrade-tier{position:absolute;right:2px;bottom:1px;font-size:10px;color:#f9d98c;text-shadow:0 1px 3px #000}.upgrade-empty{font-size:12px;line-height:1.8;color:#617f94;margin:5px 0 12px}.purchase-controls{display:flex;justify-content:space-between;gap:6px;padding:9px 10px;background:linear-gradient(#dce8ef,#beced9);color:#4e6b7d;border-bottom:1px solid #7693a7}.mode-controls{display:flex;flex-direction:column;gap:2px}.purchase-controls button{padding:3px 7px;font-size:13px;line-height:1.1}.purchase-controls button.selected{font-weight:800;color:#0a405f;text-shadow:0 0 12px #fff}.bulk-controls{display:flex;align-items:center;gap:7px}.bulk-controls button{font-size:17px}.shop-rows{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#6c8497 #152f45}.shop-item{position:relative;display:flex;align-items:center;width:100%;height:92px;padding:8px 12px 8px 6px;gap:10px;border-bottom:4px solid #4b6578;background:linear-gradient(120deg,#e1eaf1,#b9ccd9);box-shadow:inset 0 1px 0 #fff9;text-align:left;color:#243f54;overflow:hidden}.shop-item.affordable{background:linear-gradient(110deg,#f2f8fc,#ccdeea)}.shop-item:active:not(:disabled){box-shadow:inset 0 3px 10px #35576b70}.shop-item.unaffordable{filter:saturate(.5);opacity:.76}.shop-item.locked{background:linear-gradient(110deg,#617a8c,#304b60);color:#bbd0dd;opacity:.7}.shop-item .item-icon{width:62px;height:62px;flex-shrink:0}.shop-item .tibo-face{margin:0 9px}.shop-item .cursor-icon{padding:5px 13px}.cursor-icon svg{width:100%;height:100%;fill:#1488c3;stroke:#d8f4ff;stroke-width:1.3}.item-copy{min-width:0;flex:1;position:relative;z-index:1}.item-copy b{display:block;font-size:clamp(16px,1.45vw,25px);font-weight:650;letter-spacing:-.04em;white-space:nowrap}.item-price{display:block;color:#895452;font-weight:650;font-size:14px;margin-top:5px;white-space:nowrap}.affordable .item-price{color:#137752}.item-price:before{content:"◈";font-size:12px;margin-right:5px}.item-owned{font-size:46px;font-weight:750;line-height:1;letter-spacing:-.07em;color:#21425845;min-width:28px;text-align:right}.mini-section{padding:20px;background:#0b1c2eed;border-bottom:1px solid #395970}.mini-section h3{margin:0 0 10px;font-size:17px}.mini-section p{font-size:14px;color:#9ebacc;line-height:1.7}.mini-section .subtle{font-size:12px;color:#7f9fb6}.action-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #76b8df;background:linear-gradient(#24597b,#164263);padding:8px 12px;border-radius:5px;color:#ddf4ff;font-size:14px;margin:5px 5px 5px 0}.action-button.gold{border-color:#caa66a;background:linear-gradient(#74603b,#4e422c);color:#ffe4aa}.action-button.danger{border-color:#9c6d78;background:#512d3b}.resource-row{display:flex;flex-wrap:wrap;gap:8px}.resource-pill{font-size:12px;padding:5px 8px;border:1px solid #41627b;border-radius:4px}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:8px;padding:16px;background:#081e31e8}.achievement{padding:12px 7px;min-height:88px;background:#122f45;border:1px solid #2b4f68;border-radius:5px;text-align:center;opacity:.4}.achievement.earned{opacity:1;border-color:#8d865e;background:linear-gradient(145deg,#3d4234,#1b3244)}.achievement .badge{font-size:25px;color:#ffdd89;display:block}.achievement span{font-size:12px;display:block;margin-top:5px}.golden-offer{position:fixed;z-index:15;width:92px;height:92px;border:1px solid #ffe6a2;border-radius:50%;background:radial-gradient(circle,#fff1bd,#b1853290 60%,transparent 70%);color:#fff1c8;box-shadow:0 0 35px #ffc75590,0 0 80px #ffe6a360;animation:gold-pulse 1.5s infinite;display:grid;place-items:center}.golden-offer img{width:92px;height:92px;transform:scale(1.5)}.golden-offer small{position:absolute;bottom:-23px;white-space:nowrap;font-size:12px;text-shadow:0 1px 5px #000}.golden-offer.wrath{filter:hue-rotate(310deg)}.golden-offer.storm{width:46px;height:46px}.golden-offer.storm img{width:46px;height:46px}.fever{--accent:#ffdc82}.fever .click-column{background:radial-gradient(ellipse at 50% 50%,#645a36,#223a4b 48%,#0d2134 90%)}.fever .halo{box-shadow:0 0 80px #ffdd6860;background:radial-gradient(circle,#fff7a440,transparent 70%)}.fever .big-logo{filter:drop-shadow(0 0 26px #ffdc86)!important}.fever .big-logo img{filter:invert(90%) sepia(60%) saturate(700%) hue-rotate(345deg)}#notificationArea{position:fixed;bottom:25px;left:calc(30% + 18px);width:min(360px,40vw);z-index:30;pointer-events:none;display:flex;flex-direction:column;gap:8px}#notifications{display:flex;flex-direction:column;gap:8px}#notifications:empty{display:none}.toast{padding:13px 17px;background:#112c42f2;color:#e2f4ff;border:1px solid #77a7c2;box-shadow:0 5px 20px #0005;border-radius:6px;font-size:14px;animation:toast-in .2s ease-out}.toast.gold{border-color:#dac08c}.toast small{display:block;color:#9abbce;font-size:12px;margin-top:4px}#tooltip{position:fixed;z-index:40;width:420px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:hidden;padding:16px 18px 0;background:linear-gradient(140deg,#10293cfb,#06121ffb);border:2px solid #8aa9ba;outline:1px solid #263f51;box-shadow:inset 0 0 0 1px #d1ecfc28,0 8px 28px #000a;border-radius:2px;pointer-events:none;font-size:13px;line-height:1.65;color:#d0dce6}#tooltip b{color:#f5f9ff;font-weight:750}#tooltip .price{color:#cfe5a2}dialog{background:#10283d;color:#e6f2fb;border:1px solid #6d94ae;border-radius:10px;padding:0;width:min(660px,calc(100% - 24px));max-height:85svh;box-shadow:0 25px 100px #0009}dialog::backdrop{background:#020a14b5;backdrop-filter:blur(4px)}dialog>header{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid #385b76;background:#193750;position:sticky;top:0;z-index:3}dialog h2{font-size:19px;margin:0}dialog header button{font-size:28px;color:#93b4cb}#modalBody{padding:20px 24px;line-height:1.7;font-size:14px}#modalBody p{color:#adc3d3}.stats-grid{display:grid;grid-template-columns:1fr auto;gap:9px 18px;font-size:14px}.stats-grid dt{color:#9eb9cb}.stats-grid dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid #335168}.settings-row input{accent-color:#4fb9ee;width:20px;height:20px}textarea{width:100%;height:110px;background:#07192b;color:#b7d4e7;border:1px solid #517c98;border-radius:5px;font:12px monospace;padding:10px;resize:vertical}.garden-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;max-width:300px;margin:12px 0}.plot{aspect-ratio:1;background:#214359;border:1px solid #5c7d86;border-radius:4px;font-size:13px;padding:3px}.plot.disabled{opacity:.2}.plot.mature{border-color:#b9d48e;background:#3a624f}.garden-seeds{display:flex;gap:5px;flex-wrap:wrap}.garden-seeds button{border:1px solid #4e7690;padding:4px 7px;border-radius:3px;font-size:12px}.garden-seeds button.selected{border-color:#a2d6f1;background:#305b78}.stock-row{display:grid;grid-template-columns:1fr auto auto auto;gap:8px;align-items:center;border-bottom:1px solid #36566d;padding:8px 0;font-size:12px}.stock-row button{font-size:12px;border:1px solid #527994;padding:3px 6px;border-radius:3px}.spell-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.spell-grid button{text-align:left;display:block;width:100%;font-size:12px}.spell-grid b{display:block;font-size:13px;margin-bottom:5px}.pantheon-slot select{max-width:100%;background:#173b55;color:#d8edff;border:1px solid #58829e;padding:7px;font-size:13px}.pantheon-slot{display:grid;grid-template-columns:60px 1fr;gap:10px;align-items:center;margin:8px 0;font-size:13px}.wrinklers{position:absolute;bottom:45px;left:12px;right:12px;display:flex;flex-wrap:wrap;gap:6px;z-index:4;pointer-events:none}.wrinkler{pointer-events:auto;width:38px;height:40px;border:1px solid #ba849a;border-radius:6px;background:#522e4bc9;color:#e7b9d2;font-size:21px}.ascend-art{height:180px;border:1px solid #8fa19d;border-radius:6px;background:url('./station.png') center/cover;display:grid;place-items:center;margin:10px 0 20px;font-size:40px;letter-spacing:.15em;color:#ffe1a0;text-shadow:0 0 25px #ffc766}.prestige-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prestige-upgrade{display:block;border:1px solid #5c7f97;background:#18364d;border-radius:5px;padding:12px;text-align:left;font-size:12px}.prestige-upgrade b{display:block;font-size:14px;margin-bottom:5px}.prestige-upgrade.owned{border-color:#8eaa75}.progress-bar{height:6px;background:#081a2c;border-radius:3px;overflow:hidden;margin:10px 0}.progress-bar i{display:block;height:100%;background:#68cafa}.disclaimer{font-size:12px!important;color:#799bb3!important}.notice{padding:11px 13px;background:#30516c50;border:1px solid #4a6e88;border-radius:5px;font-size:13px}.text-select{user-select:text}#clickParticles{position:absolute;inset:0;pointer-events:none;z-index:4}.gold-progress .big-logo img{filter:invert(85%) sepia(55%) saturate(590%) hue-rotate(345deg)}.gold-progress{--accent:#f7d28a}.game-shell ::-webkit-scrollbar{width:7px}.game-shell ::-webkit-scrollbar-thumb{background:#58798f}.game-shell ::-webkit-scrollbar-track{background:#132b40}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes cursor-tap{0%,80%,100%{translate:0 0}85%,93%{translate:0 5%}}@keyframes breathe{50%{opacity:.65;transform:scale(1.025)}}@keyframes float-up{to{transform:translateY(-90px);opacity:0}}@keyframes gold-pulse{50%{transform:scale(1.08);box-shadow:0 0 55px #ffc755a0}}@keyframes toast-in{from{transform:translateY(10px);opacity:0}}
@media(min-width:1700px){.click-content{padding-top:30px}.click-arena{margin-top:25px}.speech{min-height:125px}.balance{font-size:62px}.facility-row{min-height:175px}.facility-scene{height:120px}.facility-unit{width:82px;height:82px}.shop-item{height:100px}}@media(max-width:1180px){.game-shell{grid-template-columns:minmax(290px,32%) minmax(280px,1fr) minmax(260px,28%)}.click-content{padding:20px 15px 50px}.production-head{padding:10px 15px 0;gap:8px}.production-head .center-tabs{gap:18px}.speaker-name>span{font-size:11px}.speech p{font-size:14px}.shop-item{gap:5px;height:85px}.shop-item .item-icon{width:47px;height:47px}.item-owned{font-size:35px}.item-copy b{font-size:17px}.bulk-controls{gap:1px}.purchase-controls{padding:9px 5px}.shop-heading{padding:20px 14px}}@media(max-width:900px){.topbar{padding:0 13px}.fan-label{display:none}.game-shell{height:auto;min-height:calc(100svh - 52px);grid-template-columns:minmax(280px,1fr) minmax(265px,1fr);overflow:visible}.click-column{grid-column:1;grid-row:1;min-height:720px;border-right-width:4px}.shop-column{grid-column:2;grid-row:1;height:810px}.production-column{grid-column:1/-1;grid-row:2;min-height:450px;border-top:5px solid #607a8b;border-right:0}.center-content{max-height:680px;min-height:260px}.click-arena{max-width:360px}.click-content{min-height:720px}.shop-item{height:87px}.item-copy b{font-size:19px}#notificationArea{left:15px;width:calc(100vw - 30px);max-width:340px}}@media(max-width:570px){.game-shell{display:flex;flex-direction:column}.click-column{border-right:0;min-height:690px}.click-content{min-height:690px;padding:20px 25px 50px}.speech{min-height:112px}.wallet{margin-top:15px}.balance{font-size:43px}.click-arena{max-width:330px;margin-top:0}.shop-column{height:650px;order:2;border-top:5px solid #607a8b}.production-column{order:3}.topbar{gap:8px}.topbar nav button{padding:5px 9px}.brand{font-size:14px;gap:5px}.brand img{width:23px;height:23px}.item-copy b{font-size:23px}.shop-item .item-icon{width:61px;height:61px}.item-owned{font-size:45px}.shop-heading{padding:15px 20px}.center-content{max-height:none}.footer-right{font-size:10px}.prestige-grid{grid-template-columns:1fr}.spell-grid{grid-template-columns:1fr}#modalBody{padding:16px}.stock-row{gap:4px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}.floating-number{display:none}}body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{animation:none!important}
/* Shared finishing details for the token edition. */
.asset-icon,.cursor-icon,.tibo-face{display:inline-block}.upgrade-art{width:100%;height:100%;display:block}.upgrade .cursor-icon svg{width:30px;height:34px}.upgrade .tibo-face{width:34px;height:34px;background-size:468.75% 472.95%;background-position:6.78% 22.91%}.upgrade .tibo-face.android,.upgrade .tibo-face.cyborg,.upgrade .tibo-face.robot{background-size:cover;background-position:center}.reactions button.liked{color:#90d8ff}.reactions button[aria-pressed=true]{color:#90d8ff}.wrinkler img{width:30px;height:31px;object-fit:cover;border-radius:4px}.wrinkler.shiny{border-color:#ffe295;box-shadow:0 0 12px #ffd57688}.fortune-post{color:#bdf19d!important;cursor:pointer;text-shadow:0 0 15px #aee66455}.achievement.won{opacity:1;border-color:#8d865e;background:linear-gradient(145deg,#3d4234,#1b3244)}.achievement>span{font-size:24px;color:#ffdc83}.achievement>small{font-size:11px;line-height:1.4;display:block;margin-top:5px}.achievement-summary{padding:18px 20px;background:#0c253bec;font-size:13px;color:#accce0}.achievement-summary b{color:#e9f5ff;font-size:23px}.research-card{padding:18px 20px;margin:0;border:0;border-bottom:1px solid #4e718655;background:#0c253bf0;border-radius:0}.research-card h3{font-size:16px;margin:0 0 8px}.research-card p{font-size:13px;line-height:1.7;color:#a9c2d4;margin:0 0 10px}.plot small{display:block;font-size:10px}.stock-row>span small{display:block;color:#9dbcce}.sparkline{display:block;height:22px}.core-portrait{width:130px;height:130px;margin:0 auto}.core-portrait img{width:100%;height:100%;border-radius:50%;object-fit:cover}select{max-width:100%;background:#153650;color:#e8f5ff;border:1px solid #60899f;border-radius:4px;padding:7px}details{padding:9px 0;border-bottom:1px solid #44657970}summary{cursor:pointer}dialog a{color:#9edaff}.golden-offer img{filter:invert(95%) sepia(55%) saturate(620%) hue-rotate(340deg)}#importError{color:#ffb9b9!important}.click-column{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#385e7b transparent}.left-footer{position:sticky;bottom:0;margin-top:-39px;min-height:39px}.facility-scene{flex-wrap:nowrap}.facility-unit{flex-shrink:0}.item-copy{min-width:0}.item-copy b{line-height:1.2}.shop-item.locked .item-icon{filter:brightness(0) opacity(.6)}.gold-progress .facility-unit svg{fill:var(--gold)}@media(min-width:901px) and (max-height:820px){.click-content{padding-top:18px}.speech{min-height:104px;padding:10px 0}.speech p{font-size:14px;min-height:45px}.wallet{margin-top:12px}.click-arena{max-width:330px;margin-top:8px}.balance{font-size:42px}.buffs{margin-top:10px}}@media(prefers-reduced-motion:reduce){#rain{display:none}}body.reduce-motion #rain{display:none}

.logo-model{position:absolute;left:50%;top:80%;transform:translateX(-50%);display:block;padding:5px 14px;border:1px solid #7ad3ff70;border-radius:6px;background:#092139ed;color:#e8f8ff;box-shadow:0 3px 14px #020b1470;font-size:clamp(17px,1.6vw,25px);font-weight:750;letter-spacing:.04em;line-height:1.2;white-space:nowrap;pointer-events:none}.gold-progress .logo-model,.fever .logo-model{border-color:#f1d193a0;color:#ffdf9b;background:#252c2bed}.production-head .ascend-button{margin:0 0 9px auto;flex-shrink:0}.center-tabs{min-width:0}.shop-heading{justify-content:flex-start}@media(max-width:1180px){.production-head .center-tabs{gap:12px}.production-head .center-tabs button{font-size:13px}.production-head .ascend-button{padding:6px;font-size:11px;gap:4px}}@media(max-width:900px){.production-head .center-tabs{gap:25px}.production-head .center-tabs button{font-size:14px}.production-head .ascend-button{padding:7px 10px;font-size:12px}.logo-model{font-size:23px}}

.asset-icon.early-facility{background-size:contain;background-position:center bottom}
.asset-icon.equipment-pc{background-image:url('./equipment/desktop-d.webp')}
.asset-icon.equipment-server{background-image:url('./equipment/gpu-server-d.webp')}

/* All positions and pointer sizes scale with the same square as the logo. */
#cursorRing{z-index:2;overflow:visible;animation:none}
.orbit-cursor{color:color-mix(in srgb,var(--accent) 55%,white);width:7.2%;height:auto;aspect-ratio:24/28;transform:rotate(var(--angle));transform-origin:0 0;filter:drop-shadow(0 1px 1px #04111b)}
.orbit-pointer{position:absolute;left:-12.5%;top:-7.1429%;display:block;width:100%;height:100%;transform-origin:12.5% 7.1429%;transform:rotate(206.565deg)}
.orbit-pointer svg{display:block;stroke-width:1.35}
.orbit-cursor.previous-lap svg{fill:#132e42;stroke:currentColor;stroke-width:1.5}
.cursor-fleet-count{position:absolute;right:0;bottom:0;z-index:3;padding:2px 5px;border-radius:3px;background:#102738;color:#dcecf3;font:600 12px/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums;pointer-events:none}
#cursorRing.is-producing .orbit-pointer{animation:cursor-tap 2s ease-in-out infinite;animation-delay:var(--delay)}
@media(prefers-reduced-motion:reduce){#cursorRing.is-producing .orbit-pointer{animation:none}}

/* Compact Cookie Clicker-style inspection panels, using the station palette. */
.tip-header{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:14px}
.tip-heading{min-width:0}.tip-heading strong{display:block;font-size:18px;line-height:1.3;color:#f1f8ff}.tip-heading small{display:block;color:#90aabd;font-size:12px;margin-top:4px}
.tip-icon{width:48px;height:48px;display:block;flex:none}.tip-symbol{display:grid;place-items:center;font-size:38px;color:var(--accent)}
.tip-price{align-self:start;font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.can-afford{color:#7ef3b4}.cannot-afford{color:#ee9498}
.tip-description,.tip-effect{margin:0 0 12px;font-size:14px;color:#e5edf5}.tip-effect{font-weight:600}
.tip-production{border-top:1px solid #9cc7df25;padding:10px 0 0 17px;margin:0 0 12px}.tip-production li{padding:1px 0}.tip-share{color:#a0b8c9;font-size:12px}
.tip-voice{font-style:italic;color:#a3b3c2;text-align:right;font-size:13px;line-height:1.65;margin:12px 0 14px;padding:0;border:0}.tip-voice cite{display:block;font-style:normal;font-size:10px;color:#7792a7;margin-top:5px}
.tip-footer{margin:0 -18px;padding:8px 12px;border-top:1px solid #9cc7df25;color:#8198ab;text-align:center;font-size:12px;background:#010b1326}
.upgrade[data-purchasable="false"]{opacity:.45}.shop-item:focus-visible,.upgrade:focus-visible{outline:2px solid #c2eaff;outline-offset:-3px}
@media(max-width:480px){#tooltip{padding:12px 14px 0;font-size:12px}.tip-header{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;margin-bottom:10px}.tip-icon{width:38px;height:38px}.tip-heading strong{font-size:15px}.tip-price{font-size:12px}.tip-description,.tip-effect{font-size:13px}.tip-voice{font-size:12px;margin:10px 0}.tip-footer{margin:0 -14px}}

/* Individual photo-faced researchers populate the facility as Tibos are purchased. */
.research-team-row .tibo-scene{display:block;height:184px;padding:0;isolation:isolate}
.tibo-researcher{position:absolute;display:block;width:110px;height:112px;pointer-events:none;background-image:url('./tibo-research-sprites.png');background-repeat:no-repeat;background-size:440px 440px;background-position:calc(var(--look) * -110px) calc(var(--stage) * -110px);clip-path:inset(2px 1px 0);filter:drop-shadow(0 3px 2px #0006)}
.tibo-researcher[hidden]{display:none}.tibo-scene:after{z-index:5}.tibo-scene .unit-overflow{z-index:6;bottom:45px;background:#0b203cdd}.research-team-row .facility-rate{z-index:7}

/* Clicks shed tokens; the research team occupies the first production row. */
.floating-number.logo-particle{width:25px;height:25px;display:block;animation:token-rise .9s ease-out forwards}
.logo-particle img{width:100%;height:100%;transform:scale(1.8);filter:invert(80%) sepia(44%) saturate(1720%) hue-rotate(166deg);pointer-events:none}
.gold-progress .logo-particle img,.fever .logo-particle img{filter:invert(85%) sepia(90%) saturate(600%) hue-rotate(345deg)}
@keyframes token-rise{0%{opacity:1;transform:translateY(0) rotate(-12deg) scale(.7)}25%{opacity:1;transform:translateY(-15px) rotate(8deg) scale(1.1)}100%{opacity:0;transform:translateY(-80px) rotate(30deg) scale(.8)}}

/* Unknown shop items have their own clean outline, with no image-tile background. */
.shop-art{display:grid;place-items:center;flex:none;width:76px;height:68px}
.shop-art .item-icon{grid-area:1/1;margin:0}
.facility-silhouette svg{display:block;width:100%;height:100%;fill:currentColor}
.shop-art .locked-art{display:none;color:#102635;filter:none}
.shop-item.locked .revealed-art{display:none}
.shop-item.locked .locked-art{display:block;filter:none;opacity:.85}
.tip-icon.facility-silhouette{color:#6d91aa}

/* Research designs: blue precision instruments through gilded stellar hardware. */
.upgrade-grid{gap:6px;max-height:180px;padding:2px}
.upgrade,.upgrade-preview{--design:#75d6ff;--frame:#397e9e;--glow:#168dbe55;--ink:#091a2b;color:var(--design);background:radial-gradient(ellipse at 38% 20%,var(--glow),transparent 72%),linear-gradient(145deg,#173246,#06121f);border:2px solid var(--frame);border-radius:3px;box-shadow:inset 0 0 0 1px #010a12,inset 0 0 12px #0008;position:relative;isolation:isolate}
.upgrade{width:54px;height:54px;padding:5px;transition:border-color .15s,box-shadow .15s,filter .15s}
.upgrade::before,.upgrade-preview::before{content:'';position:absolute;inset:2px;pointer-events:none;border-top:1px solid var(--design);border-left:1px solid var(--design);opacity:.22;z-index:-1}
.upgrade::after{content:'';position:absolute;inset:3px;pointer-events:none;background:linear-gradient(125deg,#fff1 0%,transparent 42%,transparent 85%,var(--glow) 100%)}
.upgrade.affordable{border-color:var(--design);box-shadow:inset 0 0 0 1px #06121f,0 0 7px var(--glow),inset 0 0 15px var(--glow)}
.upgrade:hover,.upgrade:focus-visible{filter:brightness(1.25);box-shadow:0 0 12px var(--glow),inset 0 0 15px var(--glow)}
.upgrade[data-purchasable="false"]{opacity:.65}
.upgrade.grade-1,.upgrade-preview.grade-1{--design:#cee9f9;--frame:#7697b1;--glow:#8bbdde55}
.upgrade.grade-2,.upgrade-preview.grade-2{--design:#97aaff;--frame:#5d68af;--glow:#626af166}
.upgrade.grade-3,.upgrade-preview.grade-3{--design:#edb0ff;--frame:#9363b3;--glow:#b364df66}
.upgrade.grade-4,.upgrade-preview.grade-4{--design:#ffdc84;--frame:#b48c43;--glow:#e7b44866}
.upgrade.grade-5,.upgrade-preview.grade-5{--design:#fff0be;--frame:#e1c073;--glow:#fff1a666;background:radial-gradient(ellipse at 20% 0%,#e7d88a60,transparent 65%),linear-gradient(135deg,#284a5f,#332d48 48%,#291f12);box-shadow:inset 0 0 0 1px #182337,inset 0 0 0 3px #fff0be22,0 0 8px #ffe1a322}
.upgrade.design-1::before,.upgrade-preview.design-1::before{border-bottom:1px solid var(--design)}
.upgrade.design-2::before,.upgrade-preview.design-2::before{border-right:1px solid var(--design);border-bottom:1px solid var(--design)}
.upgrade-emblem{display:grid;place-items:center;position:relative;width:100%;height:100%;z-index:1;filter:drop-shadow(0 2px 2px #000b)}
.upgrade-emblem .upgrade-art{width:100%;height:100%;border-radius:3px}
.upgrade-emblem .tibo-face{width:100%;height:100%;border-radius:50%;border:1px solid var(--design);box-shadow:0 0 7px var(--glow)}
.research-glyph{width:100%;height:100%;display:block;filter:drop-shadow(0 0 3px var(--glow))}
.upgrade-badge{position:absolute;bottom:2px;left:2px;width:18px;height:18px;padding:1px;border:1px solid var(--frame);border-radius:50%;background:#081a2e;color:var(--design);z-index:2}
.upgrade-tier{z-index:3;right:3px;bottom:1px;font-size:10px;font-weight:700;color:var(--design)}
.equipment-stack,.cursor-upgrade,.click-upgrade,.golden-upgrade{display:block;position:relative;width:100%;height:100%}
.equipment-primary,.equipment-secondary{position:absolute;display:block;width:100%;height:100%;left:0;bottom:0;z-index:1}
.equipment-primary>.upgrade-art,.equipment-secondary>.upgrade-art{display:block;width:100%;height:100%}
.equipment-primary[data-equipment="1"]{width:85%;height:85%;left:5%;bottom:5%}
.equipment-primary[data-equipment="0"] svg,.cursor-upgrade>svg,.click-upgrade-pointer svg{fill:#58bced;stroke:#d9f4ff;stroke-width:.8;filter:drop-shadow(0 2px 1px #031021)}
.equipment-primary[data-equipment="0"] svg{height:100%;width:100%}
.equipment-badge{position:absolute;display:grid;place-items:center;right:-4%;top:-4%;width:36%;height:36%;padding:1px;border:1px solid #5aa7ce;border-radius:3px;background:#08273e;color:#b7e7ff;z-index:4;box-shadow:0 1px 2px #0009}
.equipment-badge .research-glyph{stroke-width:5;filter:none}
.efficiency-badge{width:41%;height:41%;right:auto;left:-4%;top:auto;bottom:-2%;background:#102e42}
.efficiency-badge .research-glyph{stroke-width:3.7}
.operator-tibo{display:block;position:absolute;left:-5%;bottom:-3%;width:47%;height:47%;z-index:3}
.operator-tibo>.tibo-face{display:block;width:100%;height:100%;border:1px solid #95cbea;background-color:#153d54;box-shadow:0 1px 3px #000}
.assigned-operator .equipment-primary,.research-workstation .equipment-primary,.rsi-workstation .equipment-primary{width:94%;height:94%;left:6%;bottom:6%}
.equipment-pair .equipment-primary{width:70%;height:78%;left:-8%;top:-7%;bottom:auto}
.equipment-pair .equipment-secondary{width:70%;height:78%;left:auto;right:-8%;bottom:-5%}
.equipment-pair .equipment-primary[data-equipment="1"]{width:56%;height:56%;top:0;left:-3%}
.equipment-connector{position:absolute;display:block;width:74%;height:3px;left:14%;top:49%;background:#90dbff;box-shadow:0 0 4px #75ceff;border:1px solid #163a52;transform:rotate(38deg);z-index:2}
.cursor-upgrade>svg{position:absolute;width:76%;height:96%;left:1%;top:0}
.click-upgrade-button{display:grid;place-items:center;position:absolute;width:83%;height:83%;left:-3%;top:1%;padding:4px;border:1px solid #80c9ef;border-radius:50%;background:radial-gradient(circle at 35% 25%,#287caf,#0c355a);box-shadow:0 0 5px #3999c788}
.click-upgrade-button img{display:block;width:100%;height:100%;filter:brightness(0) invert(1);opacity:.94}
.click-upgrade-pointer{position:absolute;display:block;width:47%;height:60%;right:-6%;bottom:-3%;transform:rotate(-15deg)}
.click-upgrade-pointer svg{width:100%;height:100%}
.click-tap{position:absolute;inset:-4%;width:100%;height:100%;stroke:#d4eeff;stroke-width:2;stroke-linecap:round;fill:none}
.golden-upgrade>img{position:absolute;inset:1%;width:98%;height:98%;filter:brightness(0) saturate(100%) invert(85%) sepia(49%) saturate(607%) hue-rotate(343deg) drop-shadow(0 0 5px #ffd85b)}
.gold-badge{color:#ffe3a3;border-color:#bd9146;background:#392e19}
.family-golden{--design:#ffe19b;--frame:#a67f39;--glow:#f3c15477}
.family-tech .research-glyph{stroke-width:3.5}
.upgrade-preview{padding:4px;width:48px;height:48px}
.upgrade-preview .upgrade-badge{width:16px;height:16px}
@media(max-width:1180px){.shop-art{width:66px}}
@media(max-width:480px){.upgrade-preview{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.floating-number.logo-particle{display:none}.upgrade{transition:none}}




/* Keep the visible knot centered in both its hit target and its light. */
.big-logo{display:block;line-height:0}
.big-logo>img{position:absolute;inset:0;display:block;object-fit:contain;transform:none}
.golden-offer{padding:0;line-height:0;transform-origin:center;isolation:isolate;overflow:visible}
.golden-offer>img,.golden-offer.storm>img{position:absolute;left:50%;top:50%;width:78%;height:78%;display:block;object-fit:contain;transform:translate(-50%,-50%);pointer-events:none}
.golden-offer small{left:50%;transform:translateX(-50%);line-height:1.25}

/* Timers have their own row above the cursor orbit, including when several effects stack. */
.buffs{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;width:100%;margin:6px 0 0;pointer-events:none}
.buffs:empty{display:none}
.buff-icon{--timer:#ffe6a4;position:relative;flex:none;width:52px;height:52px;padding:0;pointer-events:auto;border:2px solid #b68b43;border-radius:3px;background:radial-gradient(circle at 50% 35%,#365d71,#10273b 65%);box-shadow:0 2px 5px #000a,inset 0 0 0 1px #ffe4a6aa,0 0 13px #eeb64244;color:#fff1c2}
.buff-icon:focus-visible,.buff-icon:hover{outline:1px solid #fff0bc;outline-offset:2px}
.buff-dial{position:absolute;inset:2px;width:44px;height:44px;overflow:visible;transform:rotate(-90deg);fill:none;stroke-width:3}
.buff-track{stroke:#071a29;opacity:.9}
.buff-clock{stroke:var(--timer);stroke-linecap:round;transition:stroke-dashoffset .25s linear;filter:drop-shadow(0 0 2px #ffe49f90)}
.buff-art{position:absolute;left:50%;top:6px;transform:translateX(-50%);width:27px;height:27px;display:grid;place-items:center}
.buff-art>img{width:25px;height:25px;filter:invert(88%) sepia(83%) saturate(491%) hue-rotate(342deg);pointer-events:none}
.buff-pointer,.buff-pointer svg{display:block;width:23px;height:27px}
.buff-pointer svg{fill:#ffe5a2;stroke:#fff8dc;stroke-width:.8;filter:drop-shadow(0 0 3px #ffdb70)}
.buff-facility{width:27px;height:27px}
.buff-multiplier{position:absolute;left:0;right:0;bottom:6px;font-size:12px;line-height:1.1;text-align:center;text-shadow:0 1px 3px #000,0 0 4px #000;font-variant-numeric:tabular-nums}
.buff-icon.adverse{--timer:#be98ef;border-color:#8871a1;background:radial-gradient(circle,#503557,#182237)}
.buff-icon.adverse .buff-art{filter:hue-rotate(220deg)}
.buff-icon.ending .buff-clock{stroke:#ffc26d}
.buff-tip-logo img{width:100%;height:100%;filter:invert(85%) sepia(90%) saturate(600%) hue-rotate(345deg)}

/* Full-column gold, a moving corona, and a brief burst when the launch starts. */
.fever .click-column{background:radial-gradient(ellipse at 50% 60%,#bca652 0%,#8c7734 18%,#3d5a57 48%,#143448 82%);box-shadow:inset 0 0 55px #06111b77,inset -1px 0 #f7dda8}
/* The rain and its shade share the full panel; the scrollbar gutters belong to the content. */
.fever .click-column::after{
 z-index:0;
 background:linear-gradient(#081929ed,#0b203acc 57%,transparent) top / 100% 310px no-repeat;
 box-shadow:inset 0 0 65px #f4b94540;
}
.fever .speech,.fever .speaker,.fever .wallet{text-shadow:0 2px 5px #06121beb}
.fever .balance{color:#fff8d8;text-shadow:0 2px 8px #000a,0 0 22px #ffe79b88}
.fever .rate{color:#fff1bb}
.fever .rate b{color:#fff9e0}
.fever .halo{inset:-13%;background:radial-gradient(circle closest-side,#fff9c77d 0%,#ffe57d69 32%,#ffcf384b 51%,#ffc43e18 72%,transparent 89%);box-shadow:none;animation:launch-glow 3s ease-in-out infinite}
.fever-rays{position:absolute;inset:-30%;z-index:-1;border-radius:50%;pointer-events:none;opacity:0;background:repeating-conic-gradient(from 5deg,transparent 0deg 11deg,#fff6b666 14deg,#ffe18612 18deg,transparent 22deg 30deg);mask-image:radial-gradient(circle closest-side,transparent 11%,#000 34%,#000b 52%,transparent 71%);-webkit-mask-image:radial-gradient(circle closest-side,transparent 11%,#000 34%,#000b 52%,transparent 71%)}
.fever .fever-rays{opacity:.9;animation:launch-rays 45s linear infinite}
.fever .orbit-guide{border-color:#fff0b178;box-shadow:0 0 0 15px #ffdf880d,0 0 30px #ffdf8866}
.fever .big-logo,.fever .big-logo:hover{filter:drop-shadow(0 0 5px #fff8da) drop-shadow(0 0 20px #ffdc64) drop-shadow(0 0 44px #ffcc46aa)!important}
.fever .big-logo>img{filter:invert(93%) sepia(34%) saturate(1120%) hue-rotate(340deg) brightness(1.08)}
.fever .orbit-cursor{color:#fff1b8;filter:drop-shadow(0 1px 2px #423418) drop-shadow(0 0 4px #ffdf7955)}
.fever .click-hint{color:#f3dfa3;text-shadow:0 1px 4px #071523}
.fever-flare{position:absolute;inset:-65%;pointer-events:none;opacity:0;border-radius:50%;background:radial-gradient(circle,#fff8d9aa, #ffe9a53d 35%,transparent 65%)}
.fever .fever-flare{animation:launch-arrival 1.3s ease-out both}
.click-fever .fever-rays{animation-duration:24s}
@keyframes launch-rays{to{transform:rotate(360deg)}}
@keyframes launch-glow{0%,100%{opacity:.75;transform:scale(.97)}50%{opacity:1;transform:scale(1.04)}}
@keyframes launch-arrival{0%{opacity:0;transform:scale(.45)}18%{opacity:.85}100%{opacity:0;transform:scale(1.35)}}
body.reduce-motion .fever-rays,body.reduce-motion .halo{animation:none}
body.reduce-motion .fever-flare{display:none}
body.reduce-motion .buff-clock{transition:none}
@media(prefers-reduced-motion:reduce){.fever-flare{display:none}.buff-clock{transition:none}}

/* Each production strip reveals a larger setting as new equipment is acquired. */
.facility-row[data-facility="1"]{--scene-backdrop:url('./scenes/strips/workshop.png')}
.facility-row[data-facility="2"]{--scene-backdrop:url('./scenes/strips/office.png')}
.facility-row[data-facility="3"]{--scene-backdrop:url('./scenes/strips/server-room.png')}
.facility-row .facility-scene{background-color:#566f74;background-image:var(--scene-backdrop);background-repeat:repeat-x;background-position:center bottom;background-size:auto 100%}
.facility-row .facility-scene::after{height:4px;background:#415860;border-top:1px solid #a5b4a6}
.facility-row{border-bottom:3px solid #344c58;background:#172f40;box-shadow:none}
.facility-title{background:#163044}
.facility-title strong,.shop-heading h2,.center-tabs button{font-weight:650}
.balance,.rate,.facility-rate,.research-price-step,.item-price{font-variant-numeric:tabular-nums}

/* Let the shop's list shrink inside its grid cell and scroll independently. */
.shop-column{min-height:0;overflow:hidden}
.shop-heading,.upgrade-section,.purchase-controls{flex:0 0 auto}
.shop-rows{flex:1 1 0;overflow-y:scroll;overscroll-behavior-y:contain;scrollbar-gutter:stable;touch-action:pan-y}
@media(min-width:901px){.game-shell{grid-template-rows:minmax(0,1fr)}}
/* Isolated early equipment: its own alpha reveals the room behind each unit. */
.asset-icon.early-facility{border-radius:0;background-color:transparent;background-repeat:no-repeat}
.facility-unit.early-facility{margin-right:2px;filter:drop-shadow(0 3px 2px #0005)}
.asset-icon.cutout-silhouette{filter:brightness(0);opacity:.7}
/* A brief acknowledgement of each real model completion during recursive research. */
#modelName.model-update-a{animation:model-research-a .3s ease-out}
#modelName.model-update-b{animation:model-research-b .3s ease-out}
@keyframes model-research-a{from{color:#fff1b8;text-shadow:0 0 12px #ffdf72;box-shadow:0 0 18px #ffdf7277}}
@keyframes model-research-b{from{color:#fff1b8;text-shadow:0 0 12px #ffdf72;box-shadow:0 0 18px #ffdf7277}}
.reduce-motion #modelName{animation:none}
@media(prefers-reduced-motion:reduce){#modelName.model-update-a,#modelName.model-update-b{animation:none}}

/* A short arrival on the ordinary golden announcement. The hit area stays full size. */
.golden-offer.just-appeared>img{animation:offer-arrive 440ms ease-out both}
.offer-arrival{position:absolute;inset:0;z-index:-1;pointer-events:none}
.offer-arrival::before,.offer-arrival::after{content:"";position:absolute;border-radius:50%;opacity:0}
.offer-arrival::before{
 inset:-70px;
 background:radial-gradient(ellipse,#ffe7a3b3 0%,#ffb43050 33%,#ffad2a15 50%,transparent 69%);
 animation:offer-bloom 680ms ease-out both;
}
.offer-arrival::after{
 inset:-3px;border:2.5px solid #ffe9a7;box-shadow:0 0 4px #eab74970;
 animation:offer-ring 560ms ease-out 24ms both;
}
.arrival-ray,.arrival-star{position:absolute;display:block;opacity:0}
.arrival-ray{
 left:50%;top:calc(50% - 1.4px);height:2.8px;transform-origin:0 50%;
 background:linear-gradient(90deg,#f0a633,#ffefd0);
 clip-path:polygon(0 50%,90% 0,100% 45%,90% 100%);
 animation:offer-ray 475ms ease-out both;
}
.arrival-star{
 left:calc(50% + var(--x));top:calc(50% + var(--y));width:var(--size);height:var(--size);
 background:#fff2bc;clip-path:polygon(50% 0,61% 39%,100% 50%,60% 61%,50% 100%,39% 60%,0 50%,38% 40%);
 animation:offer-star 540ms ease-out both;
}
@keyframes offer-arrive{
 0%{opacity:0;transform:translate(-50%,-50%) scale(.68)}
 22%{opacity:1}
 48%{transform:translate(-50%,-50%) scale(1.14)}
 76%{transform:translate(-50%,-50%) scale(.984)}
 100%{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
@keyframes offer-bloom{
 0%{opacity:0;transform:scale(.7)}23%{opacity:1}100%{opacity:0;transform:scale(1.14)}
}
@keyframes offer-ring{
 0%{opacity:0;transform:scale(.81)}15%{opacity:.95}100%{opacity:0;transform:scale(1.95);border-width:1px}
}
@keyframes offer-ray{
 0%{opacity:0;transform:rotate(var(--angle)) translateX(39px) scaleX(.12)}
 30%{opacity:1;transform:rotate(var(--angle)) translateX(53px) scaleX(1)}
 100%{opacity:0;transform:rotate(var(--angle)) translateX(var(--radius)) scaleX(.3)}
}
@keyframes offer-star{
 0%{opacity:0;transform:translate(-50%,-50%) scale(.15)}
 27%{opacity:1;transform:translate(-50%,-50%) scale(1)}
 100%{opacity:0;transform:translate(-50%,-50%) scale(.35)}
}
body.reduce-motion .offer-arrival{display:none}
@media(prefers-reduced-motion:reduce){.offer-arrival{display:none}}

/* A soft gold tint follows the active portrait through each model stage. */
.fever .speaker .home-portrait {
 border-color:#ffe7a2;
 box-shadow:0 0 11px #f2c14f80;
}
.fever .speaker .home-portrait::before {
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;
 background:linear-gradient(130deg,#ffe5a53b,transparent 50%,#ecad452b);
 box-shadow:inset 0 0 0 1px #ffe5a899;
}
.fever .click-arena::after {
 content:"";position:absolute;inset:5%;z-index:0;pointer-events:none;border-radius:50%;
 border:2px solid #ffeb9b;box-shadow:0 0 7px #fff4bd,0 0 22px #ffc34f80,inset 0 0 13px #ffd36b66;
 opacity:0;animation:fever-wave 850ms ease-out both;
}
@keyframes fever-wave {
 0%{opacity:0;transform:scale(.6)}
 18%{opacity:.92}
 100%{opacity:0;transform:scale(1.4)}
}
body.reduce-motion .fever-flare,body.reduce-motion .click-arena::after { display:none; }
@media(prefers-reduced-motion:reduce){.fever .click-arena::after{display:none}}
.save-archives { margin: .8em 0; }
.save-archives > summary { width: fit-content; cursor: pointer; }
.save-archives[open] > summary { margin-bottom: .4em; }
@media (scripting: enabled) {
 html[data-localizing] body { visibility: hidden; }
}
