/* Production clay theme. Card rarity and control semantics remain. */
.game-shell{--app-frame-green:#315b45}
/* Character equipment keeps its compact U; neck by the head, belt between pets. */
.character-layout .sheet-heading>.frame-customize{position:static;inset:auto;transform:none;margin:0 8px 0 0;width:40px;height:40px;min-height:40px;flex:none}
.character-layout .sheet-heading>.character-back{position:static;inset:auto;transform:none;order:-1;display:grid;place-items:center;flex:none;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0 10px 0 0;border:2px solid #b69b6b;border-radius:11px;background:#f2e3c2;color:#344b3c;line-height:1}
.character-layout .sheet-heading>.character-back svg{display:block;width:24px;height:24px}
.character-layout .sheet-heading>.character-back:focus-visible{outline:3px solid #486339;outline-offset:2px}
.character-layout .character-stage .character-pet-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;pointer-events:auto}
.character-layout .character-stage .character-pet-slots>.equipment-slot{width:100%;min-width:0}
.item-detail-actions:has([data-item-equip="tool2"]){display:grid;grid-template-columns:1fr 1fr;gap:8px}
.item-detail-actions:has([data-item-equip="tool2"])>.item-detail-upgrade{grid-column:1/-1}
/* Combining is a separate guided screen, not a mode layered over the farmer. */
.character-layout.combination-screen .sheet-heading h1{flex:1;font-size:22px}
.character-layout.combination-screen .combination-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;padding:12px 14px 16px}
.combination-guide{color:#344b3c}
.combination-formula{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;background:#d7dfb9;border:1px solid #acb78e;border-radius:13px;font-size:15px;font-weight:900}
.combination-formula span{padding:8px;background:#f2e3c2;border-radius:9px;text-align:center}
.combination-guide p{font-size:13px;line-height:1.5;margin:10px 0}
.combination-guide .combination-rules{color:#57674d;font-size:12px}
.combination-guide .combination-warning{color:#785132;font-size:12px;font-weight:900;margin-bottom:4px}
.character-layout.combination-screen .inventory-section{display:flex;flex-direction:column;flex:1;min-height:270px;margin-top:10px}
.character-layout.combination-screen .inventory-toolbar h2{font-size:17px}
.character-layout.combination-screen .inventory-mode{font-size:12px;min-height:40px}
.character-layout.combination-screen .inventory-grid{flex:1;height:auto;min-height:140px;max-height:360px}
.character-layout.combination-screen .inventory-status{flex:none;display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:12px 0 0;font-size:13px}
.character-layout.combination-screen .inventory-status .purchase{width:100%;min-height:46px}
.combination-empty{font-size:13px;color:#57674d;margin:6px 0}
@media(max-height:650px){.character-layout.combination-screen .combination-body{padding:8px 12px}.combination-formula{padding:6px;font-size:13px}.combination-guide p{margin:7px 0}.character-layout.combination-screen .inventory-section{min-height:240px}}
/* Reserve the coin counter's actual width, including large balances. */
.game-shell .hud,.game-shell .hud.demo-hud{display:grid;grid-template-columns:45px minmax(0,1fr) max-content}
.game-shell .hud .island-counter{min-width:0;overflow-wrap:anywhere}
.game-shell .hud .island-counter strong{font-size:clamp(14px,4vw,18px)}
.game-shell .hud .coin-counter{min-width:0;padding-left:6px;padding-right:10px;gap:6px}
.game-shell .hud .coin-counter strong{font-size:20px;white-space:nowrap}
.game-shell>.shipment-streak{background:linear-gradient(#e7cd95,#d4b577);border:1px solid #b0915c;border-radius:14px;color:#344b3c;box-shadow:0 3px 0 #a88e6355,inset 0 2px 0 #f5e4bc66}
.game-shell>.shipment-streak .streak-income{color:#344b3c;border-left-color:#b0915c66}
.game-shell>.shipment-streak .gold-coin{background:#d9b46e;border-color:#b0915c;color:#efd49a;box-shadow:inset 0 0 0 2px #e8ce97,0 1px 0 #9a815644}
.crop-bubble{background:#eddbb4;border-color:#b69b70;border-radius:22px;box-shadow:0 3px 0 #9b835655,0 5px 10px #594e3422}
.crop-bubble:after{background:#eddbb4;border-color:#b69b70}
.crop-bubble button{background:#466a58;border-color:#d6bd8d;border-radius:15px;box-shadow:0 2px 0 #9b835655}
.crop-bubble button[aria-pressed=true]{background:#55775e;border:3px solid #e4bd6c;box-shadow:0 2px 0 #9b835655,inset 0 0 0 1px #f2deb3}

/* Shared matte clay surfaces: broad soft lips, warm undersides, no glossy rims. */
.game-shell{--clay-paper:#f1dfb9;--clay-face:#f7e9cb;--clay-edge:#b69b70;--clay-base:#9a8059;--clay-ink:#344b3c;--clay-sage:#98ae77;--clay-tray:#dce2c5;--clay-terracotta:#ba7853;color:var(--clay-ink)}
.game-shell .hud{background:var(--app-frame-green);border-bottom:3px solid var(--app-frame-green);border-radius:0 0 22px 22px;box-shadow:none}
.game-shell .hud #pause{background:linear-gradient(#f4e4c1,#e5cea0);border:2px solid #b69b70;border-radius:17px;box-shadow:0 3px 0 #997d55,inset 0 2px 0 #fff0d166}
.game-shell .hud #pause svg path:first-child{stroke:#416149}
.game-shell .hud .coin-counter{background:#35523f;border:2px solid #83986f;box-shadow:inset 0 2px 2px #203b2e40,0 2px 0 #2d483633;border-radius:24px}
.game-shell .hud .island-counter{text-shadow:0 1px 0 #28493255}
.game-shell .gold-coin{background:#dcba74;border-color:#b19359;color:#ebcc8b;box-shadow:inset 0 0 0 2px #eed6a2,0 2px 0 #9b805744;text-shadow:none}
.game-shell .bottom-hud{background:var(--app-frame-green);border-top:3px solid var(--app-frame-green);box-shadow:none;border-radius:22px 22px 0 0}
.native-app .game-shell .bottom-hud{background:var(--app-frame-green)}
.game-shell :is(.game-button,.round-button,.chest-side-tab,.daily-side-tab,.recruitment-side-tab,.leaderboard-side-tab){background:linear-gradient(#f6e7c6,#ead5ac);border:2px solid var(--clay-edge);border-radius:22px;color:var(--clay-ink);box-shadow:0 4px 0 #a98b60,inset 0 2px 0 #fff1d477;text-shadow:none}
/* Map-edge tabs attach to the frame rather than floating like action buttons.
   Active timers use recruitment-status, not chest-side-tab: theme both paths. */
.game-shell :is(.chest-side-tab,.recruitment-status){background:linear-gradient(var(--clay-face),var(--clay-paper));border:2px solid var(--clay-edge);color:var(--clay-ink);box-shadow:0 2px 3px #594b3529,inset 0 1px 0 #fff4dc88;text-shadow:none}
.game-shell .daily-side-tab.daily-complete{background:linear-gradient(var(--clay-face),var(--clay-paper))}
.game-shell .empowered-sprout{background:none}
.game-shell .boost-clay-art,.game-shell .boost-clay-art>:is(svg,img){display:block;width:100%;height:100%!important;object-fit:contain;filter:none}
.game-shell .boost-ad-badge>svg{filter:none}
.game-shell .chest-side-tab{border-right:0;border-radius:18px 0 0 18px}
.game-shell :is(.recruitment-side-tab,.recruitment-status){border-left:0;border-right:2px solid var(--clay-edge);border-radius:0 18px 18px 0;left:0;right:auto}
.game-shell :is(.game-button.primary-action,.purchase:not(:disabled)){background:linear-gradient(#a5bb85,#91aa70);border-color:#7d9662;color:#2f4936;box-shadow:0 4px 0 #6f8755,inset 0 2px 0 #cbd8ac77;text-shadow:none}
.game-shell :is(.game-button,.round-button,.purchase):active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #8b8059,inset 0 1px 2px #5d694022}
.game-shell :is(.notification,.chest-tab-count){background:#bd6653;border-color:#a45744;box-shadow:0 2px 0 #915b4544;color:#fff}
.game-shell :is(button,a):focus-visible{outline:3px solid #426a51;outline-offset:3px}

/* Panel shells keep their existing size/scrolling; only their material changes. */
.game-shell dialog:is(.sheet,.pause-dialog,.options-dialog,.character-screen,.gear-upgrade-dialog,.item-detail-dialog,.pet-detail-dialog,.character-name-dialog,.help-reward-dialog){background:var(--clay-paper);color:var(--clay-ink);border:2px solid var(--clay-edge);border-radius:28px;box-shadow:0 6px 0 #947a5266,0 14px 35px #243d3044,inset 0 2px 0 #fff0d188}
.game-shell dialog::backdrop{background:#294a3b8c;backdrop-filter:blur(3px)}
.game-shell dialog .sheet-heading{background:var(--clay-paper);border-bottom:2px solid #cbb48a;color:var(--clay-ink);box-shadow:none}
.game-shell dialog .sheet-heading h1{color:var(--clay-ink);text-shadow:none}
.game-shell #sheet[data-mode="upgrades"] .sheet-heading{background:var(--clay-paper);box-shadow:none}
.game-shell dialog .close-button{background:linear-gradient(#cc926c,#b87955);border:2px solid #a16e4f;border-radius:16px;box-shadow:0 3px 0 #8c6549,inset 0 2px 0 #e7b59088;color:#fff6e4;text-shadow:none}
.game-shell dialog .sheet-handle{background:#bea780;border-radius:8px}
.game-shell dialog :is(.upgrade,.order-row,.ship-order,.daily-goal,.attribute-card,.option-link,.option-toggle,.upgrade-material-empty){background:var(--clay-face);border-color:#d1bc95;border-radius:18px;box-shadow:0 2px 0 #b7a17a33,inset 0 1px 0 #fff3d977;color:var(--clay-ink)}
.game-shell dialog .upgrade.is-locked{background:#e4d6b7;color:#797c66}
.game-shell dialog :is(.purchase,.inventory-mode,.chest-type-tabs button,.character-kind button,.hairstyle-options button){border:2px solid #b69b70;border-radius:15px;background:linear-gradient(#f5e7c6,#e8d4aa);color:var(--clay-ink);box-shadow:0 3px 0 #b49a70,inset 0 2px 0 #fff1d166;text-shadow:none}
.game-shell dialog .purchase:not(:disabled){background:linear-gradient(#a5bb85,#91aa70);border-color:#7d9662;box-shadow:0 3px 0 #728957,inset 0 2px 0 #cedcb377}
.game-shell dialog .purchase:disabled{background:#d6d6b8;border-color:#b9bc97;color:#7a8268;box-shadow:0 2px 0 #b7b694;filter:none;opacity:.7}
.game-shell dialog :is(.chest-type-tabs button,.inventory-mode,.character-kind button,.hairstyle-options button)[aria-pressed=true]{background:#5b795b;border-color:#4d6a4e;color:#fff1d2;box-shadow:inset 0 2px 2px #36543b55,0 2px 0 #4a644b}
.game-shell dialog :is(.progress,.upgrade-xp-track){background:#d7d9b8;border-color:#9eaf80;border-radius:12px;box-shadow:inset 0 2px 3px #6b79522b}
.game-shell dialog .progress i{background:#8fa86e;border-radius:10px;box-shadow:inset 0 2px 0 #c5d5a755}
.game-shell dialog .upgrade-footer{background:#e9d6af;border-top-color:#ccb58c;box-shadow:0 -2px 4px #8e775412}
.game-shell dialog :is(.inventory-grid,.character-attributes,.upgrade-material-grid,.appearance-options){background:var(--clay-tray);border-color:#b0bd94;border-radius:20px;box-shadow:inset 0 2px 4px #7f90612b}
.game-shell dialog :is(.inventory-model,.inventory-material-xp){background:#fbefdb}
.game-shell dialog :is(.gear-inventory-card,.pet-inventory-card,.gear-detail-card){background:#fbefdb;/* Preserve rarity border color, thickness, corner level and checkmarks. */}
.game-shell dialog :is(.equipment-slot,.pet-slot){background-color:#f2e3c2;/* Do not override var(--rarity) frames. */}
.game-shell dialog :is(input,select,textarea){background:#fcf0d7;color:#344b3c;border-color:#b69b70;border-radius:12px;box-shadow:inset 0 2px 2px #947d5222}

/* Pause/options and reward/chest presentation share the same sculpted palette. */
#pause-dialog.pause-dialog .pause-hero{background:linear-gradient(#56745a,#42644e);border-bottom:2px solid #bca579;border-radius:26px 26px 0 0;box-shadow:inset 0 2px 0 #91a47833}
#pause-dialog.pause-dialog .pause-state{color:#f8e8c6}
#pause-dialog.pause-dialog .pause-tile{background:linear-gradient(#f7e9cc,#ead6b0);border-color:#c3aa80;border-radius:20px;color:#426048;box-shadow:0 3px 0 #baa078,inset 0 2px 0 #fff1d488}
.game-shell .options-dialog .option-switch{background:#c9cda9;border-color:#a6b18a;box-shadow:inset 0 2px 2px #75835e33}
.game-shell .options-dialog [aria-pressed=true] .option-switch{background:#92aa75}
.game-shell dialog :is(.treasure-stage,.pet-crate-stage,.chest-reward-stage,.help-reward-art){background:radial-gradient(ellipse,#e8d4a8,#d6c394);border-radius:24px;border-color:#c6ad7d;box-shadow:inset 0 2px 6px #a88d5a22}
.game-shell dialog :is(.daily-reward,.recruitment-card){background:#ecdbb6;border-color:#c6ad7e;border-radius:22px;box-shadow:0 3px 0 #bfa67b,inset 0 2px 0 #fff0d077}
.game-shell .chest-experience .treasure-room{background:radial-gradient(ellipse at 50% 30%,#f7e9c9,#e7d4ad 75%);color:#344b3c}
.game-shell .chest-experience .treasure-room .treasure-scene{background:radial-gradient(ellipse at 50% 60%,#e8c47a66,transparent 58%),linear-gradient(145deg,#80633c,#514631);border-color:#b39965;border-radius:24px}
.game-shell .chest-experience .treasure-rays{opacity:.25}
.game-shell .chest-experience .treasure-plinth{background:radial-gradient(ellipse,#92784e55,transparent 70%)}
.game-shell .chest-experience :is(.treasure-caption h2,.treasure-secondary){color:#344b3c}
.game-shell .chest-experience :is(.treasure-caption>p,.treasure-remaining,.treasure-saved){color:#5d6e51}
.game-shell .chest-experience .treasure-primary{background:linear-gradient(#e5c38c,#d5ae70)!important;border-color:#b19462!important;border-radius:18px!important;color:#3b513d!important;box-shadow:0 4px 0 #a48a5e,inset 0 2px 0 #f5dfb277}
.game-shell .chest-experience .treasure-bonuses span{background:#dce2c5;color:#344b3c;border-color:#b3bf98;border-radius:14px}
.game-shell .chest-experience .sheet-heading .close-button{background:linear-gradient(#cc926c,#b87955);border-color:#a16e4f;color:#fff6e4;box-shadow:0 3px 0 #8c6549,inset 0 2px 0 #e7b59088}
.game-shell .voyage-card{background:#f4e5c4;border-color:#ccb58c;border-radius:22px;box-shadow:0 2px 0 #b7a17a33}
.game-shell dialog :is(.stats-card,.leaderboard-you,.leaderboard-own-position){background:#e1e5c7;border-color:#b8c29b;border-radius:18px;box-shadow:inset 0 2px 3px #91a47122;color:#344b3c}
.game-shell dialog .leaderboard-list li{border-bottom-color:#ccb992;color:#344b3c}
.game-shell dialog .leaderboard-player.is-you,.game-shell dialog .daily-goal.is-complete{background:#dce7c5;border-color:#a0b581;border-radius:18px}
.game-shell dialog .leaderboard-portrait{background:radial-gradient(ellipse,#f4e7c5,#cad3ac);border-color:#adbb91;border-radius:18px}
/* Keep compact upgrade-stat rows compact; don't reintroduce tall cards. */
.game-shell .gear-upgrade-dialog .upgrade-stat-preview .attribute-card{background:transparent;border-radius:0;box-shadow:none}
@media(prefers-reduced-motion:reduce){.game-shell :is(.game-button,.purchase):active:not(:disabled){transform:none}}


/* Match the farm's design-pixel scale at every window/ad-slot size. */
.demo-shell{--demo-ui-scale:1;--demo-ui-width:600px}
.game-shell.demo-shell>.hud,.game-shell.demo-shell>.bottom-hud{zoom:var(--demo-ui-scale);width:var(--demo-ui-width);right:auto}
.game-shell.demo-shell>.chest-side-tab,.game-shell.demo-shell>.right-side-tabs{zoom:var(--demo-ui-scale)}
.demo-shell .hud.demo-hud{grid-template-columns:minmax(0,1fr) max-content;padding:12px 18px;gap:16px}
.demo-shell:not(.harbor-preview-shell) .hud.demo-hud #pause{display:none}
.demo-shell.harbor-preview-shell .hud.demo-hud{grid-template-columns:64px minmax(0,1fr) max-content}
.demo-shell.harbor-preview-shell .hud.demo-hud #pause{display:flex;grid-column:1;grid-row:1}
.demo-shell.harbor-preview-shell .hud.demo-hud .island-counter{grid-column:2}
.demo-shell.harbor-preview-shell .hud.demo-hud .coin-counter{grid-column:3}
.demo-shell .hud.demo-hud .island-counter{grid-column:1;grid-row:1}
.demo-shell .hud.demo-hud .coin-counter{grid-column:2;grid-row:1}
.demo-shell .hud #pause{width:64px;height:64px}
.demo-shell .hud #pause svg{width:40px;height:40px}
.demo-shell .hud .island-counter strong{font-size:26px;white-space:nowrap}
.demo-shell .hud .island-counter span{font-size:18px;margin-top:4px}
.demo-shell .hud .coin-counter{height:62px;padding:0 14px 0 8px;gap:9px}
.demo-shell .hud .coin-counter strong{font-size:30px}
.demo-shell .hud .gold-coin{width:44px;height:44px;line-height:37px;font-size:32px}
.game-shell.demo-shell>.bottom-hud{padding:10px 18px 0}
.game-shell.demo-shell>.bottom-hud .safe-bottom{height:12px}
.demo-shell dialog{zoom:var(--demo-ui-scale);max-width:var(--demo-ui-width);max-height:calc(88dvh / var(--demo-ui-scale))}
.demo-shell dialog.sheet{width:var(--demo-ui-width)}
.demo-shell #sheet[data-mode="upgrades"][open]{height:calc(33.333dvh / var(--demo-ui-scale));max-height:calc(33.333dvh / var(--demo-ui-scale))}
.demo-shell .sheet #sheet-body{max-height:calc(80dvh / var(--demo-ui-scale) - 88px)}
.demo-shell>.crop-bubble{zoom:var(--demo-ui-scale)}
.farm-tutorial.demo-tutorial{max-width:440px;font-size:22px;padding:14px 18px;border-radius:18px}
#pause-dialog .admin-demo-button{width:100%;min-height:44px;margin-top:16px;font-size:15px}
.admin-demo-status{font-size:12px;margin:8px 0 0}
.admin-demo-status:empty{display:none}
.game-shell .chest-collection-screen[open]{height:auto;max-height:88dvh}.chest-collection-screen>.sheet-heading,.chest-detail-screen>.sheet-heading{flex:none;gap:10px}.chest-collection-screen .sheet-heading h1,.chest-detail-screen .sheet-heading h1{flex:1}.chest-collection-body{overflow-y:auto;min-height:0;padding:16px}.chest-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-shell .chest-collection-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px 14px;min-width:0;border:2px solid #b69b70;border-radius:18px;background:#f8ebce;color:#344b3c;font:inherit;cursor:pointer;box-shadow:0 3px #ac936c}.chest-collection-card:disabled{opacity:.48;cursor:default;box-shadow:none}.chest-collection-card:focus-visible{outline:3px solid #637f50;outline-offset:2px}.chest-collection-art{display:grid;place-items:center;width:100%;height:100px;border-radius:12px;background:radial-gradient(ellipse,#d4bd7d77,transparent 72%)}.chest-collection-art img{width:104px;height:96px;object-fit:contain;filter:drop-shadow(0 5px 4px #624d3533)}.chest-collection-card strong{font-size:17px}.chest-collection-card small{font-size:11px;color:#697253}.chest-collection-count{position:absolute;top:9px;right:10px;z-index:1;min-width:26px;padding:3px 7px;background:#e3e8ca;border:1px solid #acb58c;border-radius:10px;font-size:15px;font-weight:900}.game-shell .chest-crafting-entry{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:16px;padding:12px 16px;min-height:46px;font-size:14px}.chest-crafting-entry>span{font-size:24px}.game-shell .mythic-workshop.mythic-chest-only .frontier-chest{flex-direction:column;background:transparent;border:0;text-align:center}.mythic-chest-only .frontier-chest>img{width:180px;height:160px;object-fit:contain}.mythic-chest-only .frontier-chest>div{width:100%}.mythic-chest-only [data-frontier-open]{width:100%}.mythic-workshop .sheet-heading>.round-button{order:-1;display:grid;place-items:center;flex:none;width:44px;height:44px;padding:8px;border:2px solid #b69b6b;border-radius:11px;background:#f2e3c2;color:#344b3c}@media(max-height:620px){.chest-collection-body{padding:12px}.chest-collection-grid{gap:9px}.chest-collection-art{height:66px}.chest-collection-art img{height:64px;width:76px}.chest-collection-card strong{font-size:15px}.game-shell .chest-collection-card{padding:9px 5px 10px}.chest-collection-card small{font-size:10px}.game-shell .chest-crafting-entry{margin-top:12px}}
.game-shell .character-screen.chest-collection-screen[open]{height:fit-content;max-height:88dvh}.game-shell .chest-crafting-entry{flex:none;flex-direction:row}.game-shell .chest-crafting-entry>span{display:inline;line-height:1}
.game-shell .mythic-chest-only .frontier-chest>img{width:100%;height:190px;padding:22px;box-sizing:border-box;border:1px solid #aa956d;border-radius:18px;background:radial-gradient(ellipse at 50% 45%,#b99c60,#66573b 80%)}
.game-shell .blueprint-inventory-card{position:relative;display:grid;grid-template-rows:minmax(0,1fr) 16px;padding:4px;overflow:hidden;color:#344b3c}.blueprint-model{position:relative;width:100%;height:100%;min-height:0;display:grid;place-items:center}.blueprint-paper{position:relative;display:grid;place-items:center;box-sizing:border-box;width:76%;height:79%;min-height:30px;padding:5px;background:#668d9c;border:2px solid #d7d7bd;border-radius:4px 9px 4px 4px;box-shadow:2px 3px 0 #314f5e55;background-image:linear-gradient(#e0e9e01c 1px,transparent 1px),linear-gradient(90deg,#e0e9e01c 1px,transparent 1px);background-size:9px 9px}.blueprint-paper>img,.blueprint-paper>svg{display:block;object-fit:contain;max-width:100%;max-height:100%;width:100%!important;height:100%!important}.blueprint-inventory-card .inventory-stack{position:absolute;right:1px;top:1px;padding:1px 4px;border-radius:6px;background:#f4e6c4;font-size:10px;font-weight:900}.blueprint-ready{position:absolute;left:1px;top:1px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#658451;color:#fff4d7;font-size:12px;font-weight:900}
.game-shell .treasure-room.opening .treasure-rays{animation:chest-shared-reveal 2s ease-out both}.game-shell .blueprint-prize{background:#658c9a!important}.game-shell .blueprint-prize>img{filter:drop-shadow(0 2px 2px #213e4d55)}@keyframes chest-shared-reveal{0%,75%{opacity:.15;transform:scale(.85) rotate(0deg)}90%{opacity:.4}100%{opacity:.9;transform:scale(1.3) rotate(12deg)}}@media(prefers-reduced-motion:reduce){.game-shell .treasure-room.opening .treasure-rays{animation:none;opacity:.35}}
.game-shell [data-static-frontier-crate]>svg{display:block;width:100%;height:100%;overflow:visible}
.game-shell .treasure-room.ready .treasure-controls:has([data-open-all]){grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;row-gap:9px}.game-shell .treasure-room.ready .treasure-controls:has([data-open-all])>[data-open]{grid-column:1;grid-row:1;min-width:0;min-height:52px!important;padding:9px 10px;font-size:16px!important;line-height:1.2}.game-shell .treasure-room.ready .treasure-controls>[data-open-all]{grid-column:2;grid-row:1;min-width:0;min-height:52px;padding:9px 10px;white-space:normal;line-height:1.2}.game-shell .treasure-room.ready .treasure-controls:has([data-open-all])>.treasure-remaining,.game-shell .treasure-room.ready .treasure-controls:has([data-open-all])>[role=alert]{grid-column:1/-1;text-align:center}.game-shell .treasure-room.ready .treasure-controls:has([data-open-all])>.treasure-remaining{grid-row:2}
.game-shell .character-layout .inventory-grid>.blueprint-inventory-card{display:block;padding:0;border:3px dashed var(--rarity);border-radius:10px;background:#fbefdb;box-shadow:0 2px 0 #173b3833}.game-shell .blueprint-prize{border:3px dashed var(--rarity);background:#fbefdb!important;box-shadow:0 2px 0 #173b3833}.game-shell .blueprint-prize>img{filter:none}
