:root{color:#3e372e;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#e9ddc8;font-family:Trebuchet MS,Verdana,sans-serif;font-size:16px;line-height:1.45}*{box-sizing:border-box}body{min-width:300px;margin:0}button,select,input{font:inherit}button{border:3px solid var(--stroke,#655c4c);background:var(--card,#c4b798);color:var(--ink,#35372f);cursor:pointer;border-radius:3px;padding:9px 12px;font-weight:700;transition:filter .1s}button:hover:not(:disabled){filter:brightness(1.08)}button:active:not(:disabled){filter:brightness(.96)}button:disabled{opacity:.45;cursor:default}:focus-visible{outline-offset:2px;outline:3px solid #ecb642}h1,h2,h3,p{margin:0 0 12px}h1{letter-spacing:1px;font-size:38px;line-height:1.1}h2{font-size:25px;line-height:1.2}h3{font-size:18px}small,.small-note{font-size:12px}input[type=checkbox]{width:21px;height:21px;accent-color:var(--stroke)}.game-layout{--bg:#e9ddc8;--surface:#efe5d3;--panel:#d7c6a6;--card:#c5b18c;--stroke:#75654b;--ink:#403729;--strong:#a88c5c;background:var(--bg);width:100%;height:100dvh;color:var(--ink);grid-template-columns:260px minmax(0,1fr) 300px;display:grid;overflow:hidden}.theme-inventory{--bg:#b9d0c1;--surface:#b2cabe;--panel:#85aa90;--card:#527f65;--stroke:#557e68;--ink:#f9fff9;--strong:#426c58}.theme-inventory .screen-heading h1,.theme-inventory .item-detail>p,.theme-inventory .list-footer,.theme-inventory .empty-list{color:#284b39}.theme-build{--bg:#ded0b6;--surface:#e7ddc8;--panel:#c2ac83;--card:#b69a6e;--stroke:#766044;--ink:#423626;--strong:#9b7c50}.theme-upgrades,.theme-glossary{--bg:#c2d9e3;--surface:#d8e8ec;--panel:#91b5c6;--card:#6d99b2;--stroke:#4d7389;--ink:#183b50;--strong:#547f9d}.theme-settings{--bg:#d5d7d7;--surface:#e6e8e6;--panel:#bec3c2;--card:#a5aead;--stroke:#697674;--ink:#313d3a;--strong:#909e9a}.theme-slotcha{--bg:#f0d6d2;--surface:#f7e5df;--panel:#deb0a8;--card:#d19b93;--stroke:#98675f;--ink:#563b37;--strong:#cb958b}.left-sidebar,.right-sidebar{background:var(--panel);min-height:0;padding:18px 13px;overflow-y:auto}.left-sidebar{border-right:4px solid var(--stroke)}.right-sidebar{border-left:4px solid var(--stroke);color:color-mix(in srgb, var(--stroke) 70%, #151b14);padding-top:24px}nav{flex-direction:column;gap:9px;margin-bottom:26px;display:flex}nav button{text-align:left;align-items:center;gap:12px;padding:9px 12px;font-size:22px;display:flex}nav button span{text-align:center;width:25px;font-size:26px}nav button[aria-current]{outline-offset:-3px;background:var(--strong);outline:3px solid #e8b240}main{min-width:0;min-height:0;padding:12px;position:relative;overflow:auto}main:focus,main:focus-visible{outline:none}.stat-line{justify-content:space-between;align-items:baseline;gap:12px;padding:3px 0;font-size:24px;display:flex}.stat-line strong{font-variant-numeric:tabular-nums;font-size:27px}.stat-line.minor{padding:3px 0;font-size:20px}.stat-line.minor strong{font-size:23px}.save-caption{opacity:.8;margin-top:27px;font-size:12px}.exact-values{overflow-wrap:anywhere;margin-top:8px;font-size:12px}.exact-values summary{cursor:pointer}.exact-values p{margin:6px 0}.action-feedback{border:2px solid var(--stroke);background:var(--surface);color:#26362d;overflow-wrap:anywhere;margin-top:12px;padding:10px;font-size:15px}.action-feedback p{margin:0 0 8px}.action-feedback button{padding:4px 8px;font-size:14px}.play-screen{flex-direction:column;justify-content:flex-start;align-items:center;min-height:100%;padding:14px 0 18px;display:flex}.overall-result{text-align:center;flex:0 0 110px;grid-template-rows:68px 30px;align-items:center;width:100%;height:110px;margin-bottom:12px;line-height:1;display:grid}.overall-result strong{font-size:clamp(40px,4.2vw,60px)}.overall-result>span{font-size:23px}.wheel-figure{text-align:center;width:100%;margin:0}.wheel-figure figcaption{color:color-mix(in srgb, var(--wheel-color) 55%, #352b24);margin-bottom:7px;font-size:22px;font-weight:700}.wheel-figure svg{width:100%;display:block;overflow:visible}.main-wheel{max-width:470px}.support-row{flex-wrap:wrap;justify-content:center;gap:28px;width:100%;margin-top:12px;display:flex}.support-wheel{width:180px}.support-wheel figcaption{font-size:17px}.wheel-rim{fill:var(--surface);stroke:color-mix(in srgb, var(--wheel-color) 65%, #443a2d);stroke-width:4px}.wheel-slot{fill:var(--slot-color);stroke:color-mix(in srgb, var(--slot-color) 60%, #443a2d);stroke-width:2.5px}.wheel-slot.empty-position{fill:var(--bg);stroke:var(--bg)}.wheel-hub{fill:var(--surface);stroke:color-mix(in srgb, var(--wheel-color) 65%, #443a2d);stroke-width:3px;pointer-events:none}.slot-label{fill:var(--slot-ink,#382e23);pointer-events:none;font-size:26px;font-weight:700}.hub-label{fill:#43382b;pointer-events:none;font-size:11px;font-weight:700}.wheel-pointer{fill:color-mix(in srgb, var(--wheel-color) 60%, #352a20);stroke:var(--surface);stroke-width:3px}.wheel-result{pointer-events:none;animation:4s forwards result-fade}@keyframes result-fade{0%,70%{opacity:1}to{opacity:0}}.breakdown{overflow-wrap:anywhere;color:color-mix(in srgb, var(--stroke) 70%, #151b14);font-size:13px}.breakdown h2{font-size:20px}.expression{font-variant-numeric:tabular-nums;margin:12px 0;line-height:2}.term{font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;border:0;border-radius:0;padding:0;background:0 0!important}.term:hover:not(:disabled){filter:none;text-decoration:underline}.term:active:not(:disabled){filter:none}.legend{text-shadow:0 0 1px #28282835;flex-direction:column;gap:5px;font-weight:700;display:flex}.legend span{background:color-mix(in srgb, var(--surface) 80%, white);border-radius:2px;padding:3px 5px}.trace-detail{border:2px solid var(--stroke);background:var(--surface);color:color-mix(in srgb, var(--stroke) 75%, black);padding:10px}.trace-detail ul{padding-left:18px;font-size:12px}.screen{flex-direction:column;height:100%;min-height:100%;display:flex}.screen-heading{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px 28px;min-height:62px;display:flex}.screen-heading h1{margin:0 0 7px}.screen-heading>p{margin-bottom:7px;font-size:14px}.category-tabs{align-self:stretch;gap:12px;display:flex}.category-tabs button{background:var(--surface);min-width:145px;color:var(--stroke);border-bottom:0;margin-top:4px;font-size:27px}.category-tabs button[aria-selected=true]{background:var(--panel);color:var(--ink)}.split-screen{flex:1;grid-template-columns:minmax(280px,.95fr) minmax(330px,1fr);gap:12px;min-height:0;display:grid}.inventory-browser,.item-detail,.wheel-workbench{border:3px solid var(--stroke);background:var(--panel);min-width:0;min-height:0}.inventory-browser{flex-direction:column;display:flex;overflow:hidden}.list-tools{background:var(--panel);border-bottom:3px solid var(--stroke);flex-shrink:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px;display:grid}.list-tools button{overflow-wrap:anywhere;padding:7px 4px;font-size:15px}.color-filters{grid-column:1/-1;align-items:center;gap:8px;display:flex}.color-filters button{border-width:2px;min-width:35px;height:29px;padding:0 7px}.color-filters .color-chip{width:31px;min-width:31px}.color-filters .chosen{outline-offset:0;outline:3px solid #e8b240}.item-list{scrollbar-color:var(--stroke) var(--panel);flex:1;min-height:0;padding:8px;overflow-y:auto}.item-row{text-align:left;border:4px solid var(--stroke);z-index:0;border-radius:0;align-items:stretch;gap:10px;width:100%;min-height:99px;margin-bottom:8px;padding:5px;display:flex;position:relative}.item-row.selected{outline-offset:-1px;z-index:2;outline:4px solid #e7aa31}.item-thumbnail{aspect-ratio:1;background:var(--panel);border:3px solid var(--stroke);flex-shrink:0;align-self:center;align-items:center;width:80px;height:80px;display:flex;position:relative}.item-thumbnail>span{font-size:12px;position:absolute;bottom:1px;left:3px}.item-icon{width:100%;max-width:230px;height:auto;display:block}.item-icon path,.item-icon circle{fill:color-mix(in srgb, currentColor 65%, var(--surface));stroke:color-mix(in srgb, currentColor 55%, #334b40);stroke-width:4px;stroke-linejoin:round}.item-summary{flex-direction:column;flex:1;justify-content:center;gap:2px;min-width:0;display:flex}.item-summary strong{overflow-wrap:anywhere;font-size:23px;line-height:1.1}.item-meta{font-family:Trebuchet MS,sans-serif;font-size:14px}.item-summary small{font-size:11px;font-weight:400}.item-traits{flex-wrap:wrap;gap:5px;display:flex}.attribute{color:#4e594e;background:#dde1d9;border:1px solid #9aa999;border-radius:2px;padding:0 4px;font-size:11px;font-weight:400;display:inline-block}.item-value{color:#fff;flex-direction:column;justify-content:center;align-items:flex-end;gap:5px;min-width:78px;padding:2px;display:flex}.item-value b{color:#fff;font-size:20px}.item-value small{color:#fff;white-space:nowrap;font-size:14px}.list-footer{border-top:2px solid var(--stroke);flex-shrink:0;padding:4px 10px;font-size:11px}.empty-list{padding:14px 4px}.item-detail{padding:10px;overflow-y:auto}.detail-heading{background:var(--card);border:3px solid var(--stroke);margin-bottom:12px;padding:12px}.detail-heading h2{letter-spacing:.5px;font-size:clamp(25px,2.4vw,37px);font-weight:500}.detail-stats{justify-content:space-between;gap:12px;font-family:Trebuchet MS,sans-serif;font-size:14px;display:flex}.detail-stats>span:last-child{text-align:right}.placement{margin:0}.upgrade-display{background:var(--panel);grid-template-columns:minmax(70px,.75fr) minmax(140px,1.25fr);align-items:center;gap:12px;margin:16px 0;padding:10px 0;display:grid}.upgrade-controls{flex-direction:column;gap:8px;min-width:0;display:flex}.big-upgrade{padding:13px 8px;font-size:clamp(23px,2.3vw,34px);font-weight:500;line-height:1.1}.big-upgrade>span{margin-top:8px;font-size:24px;display:block}.upgrade-controls>button:not(.big-upgrade){font-size:16px}.level-progress{border:3px solid var(--stroke);background:#606963;height:28px;position:relative;overflow:hidden}.level-progress>span{background:#40c552;min-width:2px;height:100%;display:block}.level-progress>b{text-align:center;color:#fff;text-shadow:0 1px 2px #25332a;font-size:12px;line-height:22px;position:absolute;inset:0}.uncapped-progress{border:2px solid var(--stroke);text-align:center;padding:5px;font-size:12px}.attribute-list{gap:6px;margin-bottom:12px;display:flex}.build-columns{grid-template-columns:minmax(250px,.75fr) minmax(330px,1.1fr)}.compact-browser .item-row{min-height:87px;padding:8px}.compact-browser .item-summary strong{font-size:21px}.compact-browser .item-value{background:0 0;min-width:65px;padding:3px}.wheel-workbench{flex-direction:column;align-items:center;padding:12px;display:flex;overflow:auto}.build-actions{gap:9px;width:100%;display:flex}.build-actions button{flex:1;padding:9px 3px;font-size:18px}.capacity-readout{text-align:center;margin:12px 0;font-size:14px}.editor-wheel{flex:none;max-width:440px}.editor-wheel .empty-position{stroke:color-mix(in srgb, var(--stroke) 35%, var(--surface));stroke-dasharray:4 5;stroke-width:1px}.editor-wheel .empty-label{fill:var(--stroke);opacity:.6}.wheel-position{cursor:pointer}.wheel-position:focus-visible{outline:none}.wheel-position:focus-visible .wheel-slot{stroke:#e8b12d;stroke-width:5px}.wheel-position[aria-disabled=true]{cursor:default}.wheel-slot.chosen-position{stroke:#e8b12d;stroke-width:6px;stroke-dasharray:none}.selection-help{text-align:center;min-height:36px;margin:4px 0;font-size:12px}.support-order{flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;margin-bottom:12px;font-size:12px;display:flex}.support-order button{padding:5px;font-size:12px}.wheel-cycle{justify-content:space-between;align-items:center;gap:9px;width:100%;margin-top:auto;display:flex}.wheel-cycle button{white-space:nowrap;padding:8px;font-size:16px}.wheel-cycle>span{white-space:nowrap;flex-shrink:0}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:16px;padding:3px;display:grid;overflow:auto}.shop-card{border:3px solid var(--stroke);background:var(--panel);flex-direction:column;min-height:255px;padding:16px;display:flex}.shop-card header{align-items:center;gap:14px;display:flex}.shop-card .item-icon{width:90px;margin-bottom:14px}.shop-card .big-upgrade{width:100%}.encyclopedia-entry>.item-icon{width:220px;margin:30px auto}.glossary-screen .item-row{align-items:center;font-size:20px}.glossary-screen .item-row .item-icon{width:65px}.schematic{border:3px solid var(--stroke);background:var(--card);text-align:center;padding:18px;font-size:23px}.settings-screen{gap:16px;height:auto}.settings-screen>article{flex:none;width:100%;min-height:0;overflow:visible}.settings-card{padding:24px}.settings-card h2{margin-top:15px}.checkbox{align-items:center;gap:10px;margin:18px 0;display:flex}.attention{border:3px solid var(--stroke);background:var(--surface);color:color-mix(in srgb, var(--stroke) 70%, black);margin-bottom:12px;padding:15px}.attention button{margin-top:10px;display:block}.loading-message{padding:30px}.busy-notice{background:var(--surface);color:var(--stroke);margin:0;padding:5px;font-size:12px;position:sticky;bottom:0}.recovery-card{max-width:700px}@media (height>=1050px) and (width>=1300px){.main-wheel{max-width:540px}.support-wheel{width:210px}}@media (width<=1250px){.game-layout{grid-template-columns:210px minmax(0,1fr) 250px}nav button{gap:6px;padding:7px;font-size:18px}.stat-line{gap:5px;font-size:16px}.stat-line strong{font-size:22px}.stat-line.minor{font-size:12px}.stat-line.minor strong{font-size:15px}.split-screen{grid-template-columns:minmax(230px,1fr) minmax(280px,1.05fr)}.item-thumbnail{width:54px}.item-summary strong{font-size:19px}.item-row{gap:6px}.item-value{min-width:62px;padding:2px}.item-value b{font-size:12px}}@media (width<=1000px) and (width>=721px){.split-screen{grid-template-columns:1fr;overflow:auto}.inventory-browser{min-height:280px;max-height:420px}.item-detail{min-height:370px;overflow:visible}.wheel-workbench{min-height:640px}.screen{height:auto}.category-tabs button{min-width:95px}}@media (width<=720px){.game-layout{grid-template-columns:minmax(0,1fr);height:auto;min-height:100dvh;overflow:visible}.left-sidebar{display:contents}nav{background:var(--panel);border-bottom:3px solid var(--stroke);flex-flow:wrap;grid-row:1;gap:5px;margin:0;padding:8px}nav button{gap:4px;padding:6px 8px;font-size:14px}nav button span{width:15px;font-size:17px}.right-sidebar{border:0;border-bottom:3px solid var(--stroke);flex-wrap:wrap;grid-row:2;gap:6px 15px;padding:10px 12px;display:flex;overflow:visible}.stat-line,.stat-line.minor{gap:4px;padding:0;font-size:12px}.stat-line strong,.stat-line.minor strong{font-size:15px}.save-caption{width:100%;margin:0;font-size:11px}main{grid-row:3;min-height:520px;padding:10px;overflow:visible}.breakdown{border-top:3px solid var(--stroke);background:var(--panel);grid-row:4;padding:18px}.play-screen{min-height:580px}.overall-result{margin:7px 0 20px}.main-wheel{max-width:370px}.support-row{gap:12px;margin-top:20px}.support-wheel{width:min(44%,170px)}.support-wheel figcaption{font-size:15px}.screen{height:auto}.screen-heading{gap:10px}.screen-heading h1{font-size:33px}.category-tabs button{min-width:90px;font-size:23px}.category-tabs{gap:7px}.split-screen,.build-columns{grid-template-columns:minmax(0,1fr);gap:12px}.inventory-browser{height:380px;min-height:260px}.item-detail{min-height:380px;overflow:visible}.detail-heading h2{font-size:29px}.item-thumbnail{width:64px}.item-row{min-height:100px}.item-summary strong{font-size:21px}.upgrade-display{grid-template-columns:minmax(65px,.6fr) minmax(145px,1fr);gap:9px}.big-upgrade{font-size:24px}.big-upgrade>span{font-size:21px}.wheel-workbench{min-height:560px;overflow:visible}.editor-wheel{flex:0}.busy-notice{position:static}}@media (prefers-reduced-motion:reduce){button{transition:none}.wheel-result{animation:none}}.collection-column{flex-direction:column;gap:8px;min-height:0;display:flex}.collection-column>.inventory-browser{flex:1}.slot-row{grid-template-columns:80px minmax(0,1fr) auto;gap:3px 10px;display:grid}.slot-row .item-thumbnail{grid-row:1/3}.slot-row .item-bottom{grid-column:2/-1}.item-bottom{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.item-bottom>small{overflow-wrap:anywhere;font-size:12px;font-weight:400;line-height:1.25}.item-bottom .item-traits{justify-content:flex-end;margin-left:auto}.wheel-row{grid-template-columns:80px minmax(0,1fr);gap:5px 10px;display:grid}.wheel-row .item-thumbnail{grid-row:1/3}.wheel-row .item-bottom{grid-column:2/-1}.wheel-row-stats{justify-content:space-between;gap:10px;margin-top:6px;font-size:16px;display:flex}.compact-browser .slot-row{grid-template-columns:minmax(0,1fr) auto}.mods-area{min-height:36px}.capacity-readout{justify-content:space-around;gap:18px;width:100%;display:flex}.build-level,.editor-wheel figcaption{margin:6px 0;font-size:30px;font-weight:700;line-height:1.15}.wheel-effects{text-align:center;margin:6px 0 16px}.add-support{margin-bottom:12px}.individual-banner{justify-content:space-between;align-items:center;gap:10px;padding:6px 3px 14px;display:flex}.individual-banner strong{font-size:21px}.buy-mode{min-width:110px;margin-left:auto}.shop-card p{flex:1;margin:12px 0 20px}.purchase-button{width:100%}.purchase-button .purchase-label{margin:0 0 6px;font-size:26px}.purchase-button .purchase-cost{overflow-wrap:anywhere;margin:0;font-size:30px}.purchase-button small{margin-top:7px;font-size:13px;display:block}.encyclopedia-entry>section{color:#183b50;margin:20px 8px}.encyclopedia-entry h3{margin-bottom:6px;font-size:24px}.stat-line>span{text-align:right}.stat-line strong{overflow-wrap:anywhere;min-width:0}.stat-line strong.scientific-value{overflow-wrap:normal;flex-shrink:0}@media (width<=1400px) and (width>=1001px){.slot-row{grid-template-columns:64px minmax(0,1fr)}.slot-row .item-thumbnail{grid-row:1/4;width:64px;height:64px}.slot-row .item-value{grid-column:2;align-items:flex-start}.slot-row .item-value b{font-size:18px}.slot-row .item-value small{font-size:13px}.wheel-row{grid-template-columns:64px minmax(0,1fr)}.wheel-row .item-thumbnail{width:64px;height:64px}.compact-browser .slot-row{grid-template-columns:minmax(0,1fr) auto}.compact-browser .slot-row .item-value{grid-column:2;align-items:flex-end}.compact-browser .item-bottom{grid-column:1/-1}}@media (width<=1250px) and (width>=721px){.stat-line{font-size:20px}.stat-line.minor{font-size:17px}.item-thumbnail{width:64px;height:64px}}@media (width<=1000px){.collection-column{min-height:360px}.shop-grid{grid-template-columns:minmax(0,1fr);overflow:visible}.shop-card{min-height:230px}}@media (width<=720px){.slot-row{grid-template-columns:64px minmax(0,1fr) auto;gap:4px 6px}.item-thumbnail{width:64px;height:64px}.item-value b{font-size:17px}.item-value small{font-size:13px}.item-summary strong{font-size:19px}.item-bottom{flex-wrap:wrap;gap:4px}.item-bottom>small{font-size:11px}.wheel-row{grid-template-columns:64px minmax(0,1fr)}.overall-result{flex-basis:100px;grid-template-rows:60px 30px;height:100px}.overall-result strong{font-size:44px}.stat-line{justify-content:flex-start}.build-level,.editor-wheel figcaption{font-size:28px}}.theme-inventory{--stroke:#2f513f;--control:#456f57}.theme-inventory button{background:var(--control)}.theme-inventory .item-row{background:var(--card)}nav button{position:relative}nav button:after{content:"";background:var(--tab-tint);width:6px;position:absolute;top:0;bottom:0;right:0}nav button[aria-current]:after{opacity:0}.nav-play{--tab-tint:#d6bd92}.nav-upgrades,.nav-glossary{--tab-tint:#70a9c9}.nav-inventory{--tab-tint:#74aa82}.nav-build{--tab-tint:#b08a53}.nav-settings{--tab-tint:#a6afab}.shop-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.shop-controls button,.individual-banner button{background:var(--surface)}.shop-controls .buy-mode{margin-left:0}.shop-screen .screen-heading{align-items:stretch}.shop-screen .screen-heading h1,.shop-controls{align-self:center}.category-tabs button{border-bottom:3px solid var(--stroke);z-index:0;margin-bottom:-3px;position:relative}.category-tabs button[aria-selected=true]{z-index:2;border-bottom-color:var(--panel)}.upgrade-panel{border:3px solid var(--stroke);background:var(--panel);z-index:1;flex:1;min-height:0;padding:12px;position:relative;overflow:auto}.shop-screen .shop-grid{overflow:visible}.shop-card h2{margin-bottom:4px;font-size:30px}.upgrade-level{font-size:13px;display:block}.individual-banner>span{font-size:17px}.game-layout:not(.theme-play) main,.screen,.item-detail,.wheel-workbench,.upgrade-panel,.shop-grid{scrollbar-width:none}.game-layout:not(.theme-play) main::-webkit-scrollbar{display:none}.screen::-webkit-scrollbar{display:none}.item-detail::-webkit-scrollbar{display:none}.wheel-workbench::-webkit-scrollbar{display:none}.upgrade-panel::-webkit-scrollbar{display:none}.shop-grid::-webkit-scrollbar{display:none}@media (width<=1000px){.upgrade-panel{flex:none;overflow:visible}}@media (width<=720px){.solo-play>.main-wheel{max-width:100%}.shop-controls{justify-content:flex-end;width:100%;padding-bottom:8px}}.support-capacity{text-align:center;margin:8px 0;font-size:12px}.shop-tabs-row{flex-shrink:0;display:flex}.collection-panel{border:3px solid var(--stroke);background:var(--panel);z-index:1;flex-direction:column;flex:1;min-height:0;padding:12px;display:flex;position:relative}.collection-panel>.split-screen{flex:1}.left-sidebar{scrollbar-width:none}.left-sidebar::-webkit-scrollbar{display:none}.new-badge{border:2px solid var(--surface);z-index:4;pointer-events:none;background:#ce443e;border-radius:50%;width:13px;height:13px;position:absolute;top:-4px;right:-4px}.category-tabs button,.item-row{position:relative}.theme-inventory .category-tabs button{background:var(--surface);color:var(--stroke)}.theme-inventory .category-tabs button[aria-selected=true]{background:var(--panel);color:var(--ink)}.item-row .new-badge{top:3px;right:3px}.right-sidebar{flex-direction:column;display:flex}.automatic-toggle{align-self:flex-end;min-width:130px;margin-top:auto}.nav-slotcha{--tab-tint:#d49c94}@media (width<=1000px){.collection-panel{flex:none}}@media (width<=720px){.right-sidebar{flex-direction:row}.automatic-toggle{margin-left:auto}.collection-panel{padding:8px}}.number-display{align-items:center;gap:16px;margin:18px 0;display:flex}.number-display button{min-width:140px}@media (width>=1001px){.glossary-screen .split-screen{grid-template-columns:minmax(175px,.5fr) minmax(300px,1.5fr)}.glossary-screen .item-row{gap:6px;font-size:18px}.glossary-screen .item-row .item-icon{flex-shrink:0;width:40px}}@media (width>=721px) and (width<=1100px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.cloud-panel{border-top:2px solid var(--stroke);margin-top:1.25rem;padding-top:.75rem;font-size:.85rem}.cloud-panel h2{margin:0 0 .5rem;font-size:1.1rem}.cloud-panel p{overflow-wrap:anywhere;margin:.5rem 0}.cloud-actions{flex-wrap:wrap;gap:.35rem;margin:.5rem 0;display:flex}.cloud-panel button,.cloud-sign-in{padding:.4rem .5rem;font-size:.85rem}.cloud-sign-in{color:inherit;display:inline-block}.account-settings{padding:clamp(12px,2vw,24px)}.account-overview{flex-wrap:wrap;align-items:center;gap:12px 24px;margin-bottom:1rem;display:flex}.account-actions{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.account-actions button{overflow-wrap:anywhere;max-width:100%}.player-profile{align-items:center;gap:1rem;min-width:0;display:flex}.player-profile img{border:3px solid var(--stroke);object-fit:cover;border-radius:12px}.player-profile h3,.player-profile p{margin:.25rem 0}.player-name-form{gap:.5rem;max-width:34rem;display:grid}.player-name-form input{width:100%;min-width:0;color:var(--ink);background:var(--surface);border:3px solid var(--stroke);font:inherit;padding:.65rem}.player-name-form input::placeholder{opacity:1;color:var(--stroke)}.player-name-form p{font-size:.85rem}.player-profile>div{min-width:0}.player-profile h3{overflow-wrap:anywhere}.player-profile img{flex:0 0 80px}.wheel-stage{width:100%;min-height:0;position:relative}.wheel-result{z-index:2;border:3px solid var(--stroke);background:var(--surface);color:#3c3429;text-align:center;overflow-wrap:anywhere;border-radius:4px;flex-direction:column;justify-content:center;width:260px;max-width:calc(100vw - 48px);min-height:82px;padding:10px 12px;line-height:1.25;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.wheel-result strong{font-size:24px;display:block}.wheel-result .result-critical{margin-top:3px;font-size:15px;display:block}.theme-play main{scrollbar-width:none}.theme-play main::-webkit-scrollbar{display:none}.play-screen{height:100%;min-height:0;container:play/inline-size}.play-wheels{grid-template-columns:minmax(0,1fr);align-content:start;justify-items:center;gap:22px;width:100%;min-height:0;display:grid}.play-wheels>.main-wheel{width:min(100%,96dvh - 201.6px);max-width:680px}.solo-play .play-wheels>.main-wheel{max-width:780px}.play-wheels .support-row{grid-template-rows:repeat(3,max-content);grid-auto-columns:minmax(0,260px);grid-auto-flow:column;place-content:start center;justify-items:center;gap:12px 16px;margin:0;display:grid}.play-wheels .support-wheel{width:min(220px,max(60px,32.258dvh - 99.9998px),100%)}@container play (width>=650px){.play-screen:not(.solo-play):not(.two-support-columns) .play-wheels{grid-template-columns:max-content max-content;justify-content:center;gap:32px}.play-screen:not(.solo-play):not(.two-support-columns) .play-wheels>.main-wheel{width:min(680px,96dvh - 201.6px,100cqw - 300px)}}@container play (width>=900px){.play-screen.two-support-columns .play-wheels{grid-template-columns:max-content max-content;justify-content:center;gap:32px}.two-support-columns .play-wheels>.main-wheel{width:min(620px,96dvh - 201.6px,100cqw - 568px)}}@container play (width<=559px){.two-support-columns .support-row{grid-auto-columns:minmax(0,1fr)}.two-support-columns .wheel-result{width:min(260px,50cqw - 16px)}}.theme-build main{flex-direction:column;display:flex;overflow:hidden}.build-screen{flex:1;height:100%;min-height:0;container:build/inline-size}.build-screen>.collection-panel{flex:1;min-height:0}.build-screen .build-columns{grid-template-columns:minmax(0,.75fr) minmax(0,1.1fr);min-height:0;overflow:visible}.build-screen .inventory-browser{height:auto;min-height:0;max-height:none}.build-screen .wheel-workbench{gap:0;min-height:0;padding:8px;overflow:visible;container:workbench/size}.wheel-workbench>:not(.editor-wheel){flex:none}.wheel-workbench .capacity-readout{margin:3px 0 0;font-size:13px;line-height:1.2}.wheel-workbench .editor-wheel{flex-direction:column;flex:1 1 0;align-items:center;width:100%;max-width:none;min-height:0;display:flex}.wheel-workbench .editor-wheel figcaption{flex:none;margin:2px 0 0;font-size:30px;line-height:1.1}.wheel-workbench .wheel-stage{flex:1 1 0;min-height:0}.wheel-workbench .wheel-stage svg{width:100%;height:100%}.wheel-workbench .build-level{margin:0;font-size:30px;line-height:1.1}.wheel-workbench .wheel-effects{margin:2px 0;font-size:14px;line-height:1.2}.wheel-workbench .support-capacity{margin:2px 0}.wheel-workbench .add-support{margin:2px 0;padding:5px 9px}.wheel-workbench .support-order{gap:5px;margin:2px 0}.wheel-workbench .wheel-cycle{margin:4px 0 0;padding-top:3px}.wheel-cycle>span{margin:0 auto}.wheel-cycle button:last-child{margin-left:0}.theme-build .busy-notice{z-index:3;pointer-events:none;position:absolute;inset:0 24px auto}@container workbench (height<=430px){.wheel-workbench .build-actions{gap:5px}.wheel-workbench .build-actions button{padding:4px 2px;font-size:14px}.wheel-workbench .editor-wheel figcaption,.wheel-workbench .build-level{font-size:23px}.wheel-workbench .wheel-effects{font-size:12px}.wheel-workbench .wheel-cycle button{padding:5px;font-size:13px}.wheel-workbench .support-order button{padding:3px}}@container build (width<=580px){.build-screen .build-columns{grid-template-rows:minmax(90px,.28fr) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.build-screen .compact-browser .item-row{min-height:65px}}@media (width<=720px){.theme-build main{padding-bottom:10px;display:block;overflow:visible}.build-screen{height:max(650px,100dvh - 20px)}.play-wheels .support-row{flex-direction:column;align-items:center}.play-screen{height:auto;min-height:100%}.play-wheels>.main-wheel{width:100%;max-width:370px}.play-wheels .support-wheel{width:min(220px,100%)}html:has(.theme-play){scrollbar-width:none}html:has(.theme-play)::-webkit-scrollbar{display:none}}.inventory-screen .upgrade-display{grid-template-columns:minmax(0,1fr);gap:10px}.inventory-screen .upgrade-display>.item-icon{justify-self:center;width:95px}.inventory-screen .upgrade-controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.inventory-upgrade-column{display:contents}.inventory-upgrade-column>.purchase-button{grid-row:1}.inventory-upgrade-column:first-child>*{grid-column:1}.inventory-upgrade-column:nth-child(2)>*{grid-column:2}.inventory-upgrade-column>.exact-values{grid-row:2}.inventory-upgrade-column>.purchase-button{overflow-wrap:anywhere;flex-direction:column;flex:1;align-items:center;gap:8px;padding:12px 8px;display:flex}.inventory-upgrade-column .purchase-label{margin:0;font-size:19px;font-weight:700}.inventory-upgrade-column .purchase-cost{margin:0;font-size:clamp(20px,2vw,28px)}.inventory-upgrade-column .purchase-button small{margin:0;font-size:13px}.inventory-upgrade-column .purchase-effect{flex-direction:column;gap:5px;margin:3px 0 0;font-size:17px;line-height:1.3;display:flex}.inventory-screen .level-progress{grid-column:1/-1}.item-thumbnail>.thumbnail-quality{inset:1px 3px auto auto}.item-thumbnail>.thumbnail-purity{bottom:1px;left:auto;right:3px}.item-attribute-filters{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.item-attribute-filters label{justify-content:space-between;align-items:center;gap:5px;min-width:0;font-size:13px;display:flex}.item-attribute-filters select{border:2px solid var(--stroke);background:var(--surface);min-width:0;max-width:65%;color:var(--stroke);padding:4px}.compact-browser .slot-row{grid-template-columns:64px minmax(0,1fr) auto;gap:3px 8px}.compact-browser .wheel-row{grid-template-columns:64px minmax(0,1fr)}.compact-browser .item-thumbnail{grid-row:1/3;width:64px;height:64px}.compact-browser .item-bottom{grid-column:2/-1}.compact-browser .item-value b{font-size:17px}.build-screen .compact-browser .list-tools{max-height:70%;overflow:auto}.inventory-detail{flex-direction:column;display:flex;overflow:hidden}.inventory-detail-body{scrollbar-width:none;flex:1;min-height:0;overflow:auto}.inventory-detail-body::-webkit-scrollbar{display:none}.inventory-equip{flex:none;justify-content:flex-end;padding-top:8px;display:flex}@media (width<=720px){.inventory-detail-body{overflow:visible}}.slotcha-layout{flex:1;grid-template-columns:minmax(0,1.65fr) minmax(200px,1fr);align-items:center;gap:24px;min-height:0;display:grid}.slotcha-machine{flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;min-height:0;display:flex}.slotcha-machine h2{margin:0;font-size:28px}.slotcha-wheel{flex:0 auto;width:min(100%,560px);min-height:0;max-height:calc(100dvh - 220px);display:block}.slotcha-sector{stroke:var(--stroke);stroke-width:2.5px;fill:var(--card)}.slotcha-wheel text{fill:#42332e;pointer-events:none;font-size:17px;font-weight:700}.slotcha-rim{fill:var(--surface);stroke:var(--stroke);stroke-width:3px}.slotcha-pointer{fill:var(--stroke);stroke:var(--surface);stroke-width:2px}.slotcha-purchase{width:min(100%,380px);padding:12px;font-size:24px}.slotcha-details{align-self:center;min-width:0}.slotcha-details dl{margin:0}.slotcha-details dl>div{border:3px solid #0000;padding:12px}.slotcha-details .current-parameter{border-color:var(--stroke);background:var(--surface)}.slotcha-details dt{font-size:20px}.slotcha-details dd{margin:0;font-size:30px;font-weight:700}.slotcha-status{min-height:3em;font-size:19px}.slotcha-testing{font-size:13px}.slotcha-countdown{place-content:center;min-height:300px;font-size:72px;display:grid}@media (width<=1000px){.slotcha-layout{grid-template-columns:minmax(0,1fr);gap:12px}.slotcha-details dl{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.slotcha-wheel{max-height:480px}.slotcha-machine{height:auto}}@media (height<=620px) and (width>=1001px){.slotcha-machine h2{font-size:22px}.slotcha-purchase{padding:7px;font-size:19px}.slotcha-details dl>div{padding:5px}.slotcha-layout{grid-template-rows:minmax(0,1fr)}.slotcha-details dt{font-size:16px}.slotcha-details dd{font-size:24px}.slotcha-details p{margin:7px 0}.slotcha-status{min-height:0;font-size:16px}}.list-tools{flex-direction:column;display:flex}.list-sort{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.list-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.item-rating-filter{justify-content:space-between;align-items:center;gap:4px;min-width:0;font-size:13px;display:flex}.item-rating-filter select{background:var(--surface);min-width:0;max-width:55%;color:var(--stroke);border:2px solid var(--stroke);padding:4px}.clear-notifications{margin-left:auto;padding:8px 10px;font-size:15px}.build-screen .build-columns{grid-template-columns:repeat(2,minmax(0,1fr))}@container build (width<=580px){.build-screen .build-columns{grid-template-columns:minmax(0,1fr)}}@media (width<=720px){.build-screen .build-columns{grid-template-columns:minmax(0,1fr)}.list-filters button,.item-rating-filter{font-size:12px}}.inventory-equip{gap:8px}.scrap-button{color:#fff6ef;background:#af7870;border-color:#794b43}.inventory-equip .scrap-button{order:-1;margin-right:auto}.nav-stats{--tab-tint:#aa8ac4}.theme-stats{--bg:#dfd1e6;--surface:#eadeef;--panel:#bda4cd;--card:#a78cba;--stroke:#614973;--ink:#382746;--strong:#9979b1}.stats-list{box-sizing:border-box;width:min(600px,100%);margin:10px auto;padding:0 12px}.stats-list>div{text-align:left;padding:3px 0;font-size:16px;line-height:1.4}.stats-list dt{font-weight:700;display:inline}.stats-list dd{margin:0 0 0 5px;display:inline}.quests{border-top:2px solid var(--stroke);margin-top:20px;padding-top:12px}.quests h2{margin:0 0 8px;font-size:20px}.quests p{font-size:16px;line-height:1.5}.welcome-backdrop{z-index:100;background:#211a1266;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.welcome-dialog{box-sizing:border-box;color:#3d3325;background:#eee1ca;border:4px solid #806d50;width:min(620px,100%);padding:46px 28px 24px;position:relative;box-shadow:0 6px #382a2544}.welcome-dialog p{margin:0;font-size:22px;line-height:1.5}.welcome-close{padding:1px 10px;font-size:24px;position:absolute;top:6px;right:8px}.guide-badge{z-index:5;pointer-events:none;background:#29ff59;border:2px solid #276e37;border-radius:50%;width:13px;height:13px;position:absolute;top:-4px;right:-4px;box-shadow:0 0 0 1px #eeffe9}button:has(>.guide-badge){position:relative}button:has(>.guide-badge)>.new-badge{right:14px}.item-row>.guide-badge{top:3px;right:3px}.item-row:has(>.guide-badge)>.new-badge{right:21px}.shop-card .upgrade-title{font:inherit;color:inherit;text-align:left;box-shadow:none;background:0 0;border:0;width:100%;padding:0}.shop-card .purchase-button:disabled{pointer-events:none}.quests h2{align-items:baseline;gap:10px;display:flex}.quest-new{box-shadow:none;color:#148a29;background:0 0;border:0;padding:0;font-size:16px;font-weight:700}.quest-new:hover:not(:disabled){color:#087219;background:0 0;text-decoration:underline}.play-screen{position:relative}.spin-results-toggle{z-index:3;padding:5px 8px;font-size:12px;position:absolute;bottom:0;left:0}.empty-wheel-outline{fill:none;stroke:var(--stroke);stroke-width:4px;opacity:.55}.wheel-result.permanent-result{animation:none}.upgrade-current{margin-top:7px;display:inline-block}.wheel-result .result-combo{color:#276e37;margin-top:3px;font-size:16px;display:block}.item-row.selected.last-selected{border-color:#d88657;outline-color:#d88657}.wheel-slot.chosen-position.last-selected-position{stroke:#d88657}.rename-dialog{box-sizing:border-box;border:3px solid var(--stroke);background:var(--panel);width:min(480px,100vw - 32px);color:var(--ink);padding:20px}.rename-dialog::backdrop{background:#211a1280}.rename-dialog h2{margin:0 0 16px}.rename-dialog label{margin-bottom:6px;display:block}.rename-dialog input{box-sizing:border-box;border:2px solid var(--stroke);background:var(--surface);width:100%;color:var(--ink);font:inherit;padding:10px}.rename-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}
