/* V3.83 — contained landscape setup, boss-only controls and battle blacksmith. */
#car-crash .cc-powers{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:auto;min-width:0}
#car-crash .cc-special-weapons{display:grid;grid-template-columns:minmax(100px,150px) 48px;gap:3px;max-width:205px;flex-shrink:0}
#car-crash .cc-special-weapons>[data-special-target]{grid-column:1/-1;font-size:10px;line-height:1.1;color:#becdd0;text-align:left;letter-spacing:.02em;padding-left:3px}
#car-crash .cc-special-weapons [data-special-select]{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:4px;min-width:0;min-height:44px;padding:5px 7px;background:#263e48}
#car-crash .cc-special-weapons [data-special-select] small{font-size:11px;overflow-wrap:anywhere}
#car-crash .cc-special-weapons [data-special-count]{grid-column:auto;font-size:11px}
#car-crash .cc-special-weapons [data-special-fire]{display:block;min-width:44px;min-height:44px;padding:6px;max-width:none;font-size:12px;background:#895231}
#car-crash .cc-special-weapons [data-special-select]:disabled{opacity:1;color:#c6d4d3;cursor:default}
#car-crash .cc-special-weapons [data-special-icon] img{width:24px;height:24px;image-rendering:pixelated}
#car-crash .cc-powers>.cc-wrench{flex:0 1 190px;min-width:145px;max-width:190px;margin:0}
#car-crash .cc-powers>.cc-boost{min-height:44px}
#car-crash.cc-dashboard .cc-special-weapons,#car-crash.cc-dashboard .cc-wrench{display:none!important}
.sw-enemy-preview{display:grid;grid-template-columns:minmax(100px,45%) minmax(0,1fr);align-items:center;gap:12px;border:1px solid #9c7253;border-radius:14px;background:#302b2d;overflow:hidden;min-width:0}
.sw-enemy-landscape{position:relative;background:radial-gradient(ellipse at 50% 80%,var(--enemy-color),#243441 85%);min-height:130px;display:flex;align-items:center;justify-content:center}
.sw-enemy-landscape img{width:100%;height:130px;object-fit:contain;image-rendering:pixelated}
.sw-enemy-landscape>span{position:absolute;left:7px;top:7px;color:#ffdfab;font-size:9px;letter-spacing:.08em}
.sw-enemy-preview>div:last-child{padding:8px 12px 8px 0}.sw-enemy-preview h3{font-size:20px;line-height:1.1;margin:5px 0}.sw-enemy-preview p{margin:4px 0;font-size:12px;color:#ead0a5}.sw-enemy-preview small,.sw-enemy-preview span{font-size:10px;color:#c5bcae}
.sw-compact-setup .sw-setup-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.sw-compact-setup .sw-setup-team{grid-column:1}.sw-compact-setup .sw-enemy-preview{grid-column:2;grid-row:1/3}.sw-compact-setup .sw-battle-selection{grid-column:1/-1}
.sw-forge-open{position:absolute;left:10px;top:95px;z-index:8;display:flex;flex-direction:column;align-items:flex-start;padding:7px 10px;background:#273e3a;border:1px solid #adbd8a;border-radius:9px;color:#f2e3bd;min-height:44px;font-size:12px}.sw-forge-open small{font-size:9px;color:#cfdfc2}
.sw-forge-panel{position:absolute;z-index:35;top:6px;left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 24px));max-height:calc(100% - 12px);overflow:auto;background:#1c3036;border:2px solid #b49d69;border-radius:14px;box-shadow:0 10px 45px #0009;padding:12px;color:#f0e4c9;box-sizing:border-box}
.sw-forge-panel[hidden]{display:none}.sw-forge-panel header{display:flex;justify-content:space-between;gap:10px;align-items:center}.sw-forge-panel header small{display:block;font-size:10px;color:#bbcecb}.sw-forge-panel header button{min-height:44px;min-width:44px}.sw-forge-panel [data-forge-upgrades]{display:grid;gap:6px;margin-top:10px}.sw-forge-panel [data-sw-research]{text-align:left;display:grid;gap:3px;background:#2b4547;border:1px solid #5b7674;border-radius:8px;padding:8px;color:#f3e4bf;min-height:58px}.sw-forge-panel [data-sw-research] strong{display:flex;justify-content:space-between;font-size:13px}.sw-forge-panel [data-sw-research] span{font-size:11px;color:#cfdfd5}.sw-forge-panel [data-sw-research] small{font-size:10px;color:#bdc7b2}.sw-forge-panel [data-forge-job]{font-size:11px;margin:8px 0 0;min-height:26px}
.adventure-skip{min-height:44px;white-space:nowrap;font-size:12px;opacity:.55}
@media(orientation:landscape){
 .game-session #adventure.adventure-setup:not([hidden]):not(.sock-fullscreen){display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(175px,.8fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px 14px;overflow:hidden!important;padding:10px 14px!important;box-sizing:border-box}
 .game-session #adventure.adventure-setup>.section-top{grid-column:1/-1;margin:0!important;min-height:44px;display:flex;justify-content:space-between;align-items:center;padding-right:var(--gs-menu-clear,60px)!important}
 .game-session #adventure.adventure-setup>.section-top h2{font-size:24px;margin:0}.game-session #adventure.adventure-setup .eyebrow{font-size:9px;margin:0 0 2px}
 .game-session #adventure.adventure-setup>.adventure-trip-result{grid-column:1/-1;max-width:none;width:100%;margin:0;padding:5px 10px;box-sizing:border-box;min-height:0}
 .game-session #adventure.adventure-setup>.adventure-trip-result strong,.game-session #adventure.adventure-setup>.adventure-trip-result span{font-size:11px;margin:0}
 .game-session #adventure.adventure-setup>.adventure-carousel{grid-column:1;grid-row:3;min-height:0;max-width:none;width:100%;margin:0;overflow:auto}
 .game-session #adventure.adventure-setup .adventure-card{height:100%;box-sizing:border-box;display:grid;grid-template-columns:minmax(90px,30%) minmax(0,1fr);gap:0;min-height:0}
 .game-session #adventure.adventure-setup .adventure-cover{height:100%!important;min-height:0!important;border-radius:0}.game-session #adventure.adventure-setup .adventure-cover b{font-size:64px}.game-session #adventure.adventure-setup .adventure-cover>span{display:none}
 .game-session #adventure.adventure-setup .adventure-card-copy{padding:12px;align-self:center}.game-session #adventure.adventure-setup .adventure-card-copy h3{font-size:22px;line-height:1.1;margin:0 0 8px}.game-session #adventure.adventure-setup .adventure-card-copy p{font-size:12px;line-height:1.35;margin:0 0 7px}.game-session #adventure.adventure-setup .adventure-card-copy .micro{font-size:10px}
 .game-session #adventure.adventure-setup>.adventure-current{grid-column:2;grid-row:3;min-width:0;min-height:0;max-width:none;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin:0;padding:10px;border:1px solid #4f6962;border-radius:14px;background:#23332f;overflow:auto}
 .game-session #adventure.adventure-setup>.adventure-current img{width:clamp(44px,15vh,90px);height:clamp(44px,15vh,90px);object-fit:contain}.game-session #adventure.adventure-setup>.adventure-current strong{display:block;font-size:16px}.game-session #adventure.adventure-setup>.adventure-current .micro{display:block;font-size:10px}
 .game-session #adventure.adventure-setup>.adventure-start{grid-column:2;grid-row:4;max-width:none;margin:0;min-height:44px;padding:7px;align-items:center;justify-content:center}
 .game-session #adventure.adventure-setup>.adventure-help{grid-column:1;grid-row:4;margin:0;max-width:none;min-height:44px;position:relative}.game-session #adventure.adventure-setup>.adventure-help summary{padding:10px 0;min-height:44px;box-sizing:border-box;font-size:12px}
 .game-session #adventure.adventure-setup>.adventure-help[open]{position:absolute;inset:60px 12px 12px;z-index:20;overflow:auto;background:#1e2e36;border:1px solid #8ba38c;border-radius:12px;padding:12px;box-shadow:0 5px 25px #000a}
}
@media(orientation:landscape) and (max-height:450px){
 #car-crash .cc-powers{gap:5px}#car-crash .cc-special-weapons{grid-template-columns:minmax(100px,135px) 44px;max-width:185px}#car-crash .cc-powers>.cc-wrench{min-width:145px;max-width:160px}#car-crash .cc-controls>[data-choose]{display:none}
 .sw-forge-open{top:76px;padding:5px 7px;font-size:10px}.sw-forge-open small{max-width:140px}
 .game-session #adventure.adventure-setup .adventure-card-copy h3{font-size:18px}.game-session #adventure.adventure-setup .adventure-card-copy{padding:9px}.game-session #adventure.adventure-setup>.adventure-current{padding:6px;gap:6px}
 .sw-compact-setup .sw-enemy-landscape,.sw-compact-setup .sw-enemy-landscape img{height:100%;min-height:95px}.sw-compact-setup .sw-enemy-preview h3{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.sw-forge-panel *{transition:none!important}}

.game-session #car-crash:not(.cc-dashboard) .cc-special-weapons{position:static;left:auto;top:auto;max-width:205px}

.sw-compact-setup .sw-setup-grid{grid-template-rows:minmax(90px,1fr) minmax(90px,1fr) 60px;align-content:stretch;gap:7px;overflow:hidden}
.sw-compact-setup .sw-setup-fort{grid-column:1;grid-row:1}.sw-compact-setup .sw-setup-team{grid-column:1;grid-row:2;min-height:0;display:flex;flex-direction:column}
.sw-compact-setup .sw-enemy-preview{grid-row:1/3;min-height:0}.sw-compact-setup .sw-enemy-landscape{height:100%;min-height:0}.sw-compact-setup .sw-enemy-landscape img{height:100%;min-height:0;max-height:230px}
.sw-compact-setup .sw-battle-selection{grid-row:3;margin:0;gap:7px}.sw-compact-setup .sw-battle-choice{min-height:44px;padding:5px 10px;gap:2px}.sw-compact-setup .sw-battle-choice small{font-size:9px}.sw-compact-setup .sw-battle-choice strong{font-size:16px}.sw-compact-setup .sw-battle-choice span{font-size:10px}
.sw-compact-setup .sw-lineup{flex:1;min-height:0}.sw-compact-setup .sw-slot{min-height:0;padding:4px;gap:3px;justify-content:center}.sw-compact-setup .sw-slot img{height:clamp(28px,7vh,54px);width:clamp(28px,7vh,54px)}
.sw-compact-setup .sw-selected-fort{height:calc(100% - 22px);box-sizing:border-box;padding:5px;gap:6px}.sw-compact-setup .sw-selected-fort small{font-size:10px}.sw-compact-setup .sw-selected-fort strong{font-size:14px}.sw-compact-setup .sw-selected-fort p{font-size:11px}.sw-compact-setup .sw-selected-fort div>div{margin-top:4px}.sw-compact-setup .sw-selected-fort button{min-height:36px}
.sw-forge-panel{z-index:30}.sw-overlay{z-index:40!important}.sw-forge-open{left:auto;right:8px;top:76px}.sw-notice{right:10px}
/* Battle alerts stay readable above a detailed battlefield at every size. */
#stuff-wars #swNotice,#stuff-wars.sw-phone-open #swNotice{top:40px;left:16px;right:16px;width:fit-content;max-width:calc(100% - 32px);margin:0 auto;padding:10px 18px;box-sizing:border-box;border:1px solid #e7c579;border-radius:10px;background:#11232bf2;color:#fff1c9;font-size:clamp(22px,3vw,32px);font-weight:900;line-height:1.25;text-align:center;text-shadow:0 2px 2px #0009;box-shadow:0 3px 14px #0008;overflow-wrap:anywhere;z-index:6;pointer-events:none}
#stuff-wars #swNotice:empty{display:none}
@media(max-height:380px){#stuff-wars #swNotice{top:32px;padding:7px 14px}}
@media(orientation:landscape) and (max-height:380px){.sw-compact-setup .sw-setup-grid{grid-template-rows:minmax(80px,1fr) minmax(75px,1fr) 52px;gap:4px}.sw-compact-setup .sw-slot small{display:none}.sw-compact-setup .sw-selected-fort p{font-size:10px}.sw-compact-setup .sw-enemy-preview{grid-template-columns:1fr;position:relative}.sw-compact-setup .sw-enemy-preview>div:last-child{position:absolute;bottom:5px;left:8px;right:8px;padding:5px 7px;background:#172b32de;border-radius:7px}.sw-compact-setup .sw-enemy-preview>div:last-child>span{display:none}.sw-compact-setup .sw-enemy-preview h3{font-size:15px;margin:2px 0}.sw-compact-setup .sw-enemy-preview p{font-size:10px;margin:2px 0}}
/* Keep relocated repair inside the power row; older layouts positioned it alone. */
.game-session #car-crash:not(.cc-dashboard) .cc-powers>.cc-wrench{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;min-width:145px;max-width:175px;flex:0 1 175px}
.game-session #car-crash:not(.cc-dashboard) .cc-powers .cc-special-weapons button{min-width:44px;min-height:44px;padding:5px}
.game-session #car-crash:not(.cc-dashboard) .cc-powers .cc-special-weapons [data-special-select]{min-width:100px}
.game-session #car-crash:not(.cc-dashboard) .cc-powers>.cc-wrench button{min-width:44px;width:44px;height:44px;padding:5px}
@media(orientation:landscape) and (max-height:600px){}
@media(orientation:landscape) and (max-height:380px){
 .game-session #stuff-wars.sw-compact-setup{padding:4px 10px!important;gap:3px}
 .sw-compact-setup .sw-setup-grid{grid-template-rows:minmax(76px,1fr) minmax(65px,1fr) 46px;gap:4px}
 .sw-compact-setup .sw-selected-fort{padding:3px;height:calc(100% - 20px)}.sw-compact-setup .sw-selected-fort p{display:none}.sw-compact-setup .sw-selected-fort strong{font-size:12px}.sw-compact-setup .sw-selected-fort img{height:36px;width:42px}.sw-compact-setup .sw-selected-fort button{min-height:32px;font-size:10px;padding:3px 6px}.sw-compact-setup .sw-selected-fort div>div{margin-top:2px;gap:3px}
 .sw-compact-setup .sw-battle-choice{min-height:44px;padding:3px 8px}.sw-compact-setup .sw-battle-choice small{font-size:8px}.sw-compact-setup .sw-battle-choice strong{font-size:13px}.sw-compact-setup .sw-battle-choice span{font-size:9px}
}
@media(orientation:landscape) and (max-height:380px){
 .game-session #stuff-wars.sw-compact-setup .sw-slot{min-height:0;padding:3px;gap:1px;overflow:hidden}
 .game-session #stuff-wars.sw-compact-setup .sw-slot img{height:25px;width:25px}
 .game-session #stuff-wars.sw-compact-setup .sw-slot strong{font-size:10px}
 .game-session #stuff-wars.sw-compact-setup .sw-battle-choice{min-height:44px;padding:2px 8px;gap:0}
}

.adventure-sock-preview{height:100%;width:100%;object-fit:cover;image-rendering:pixelated}
@media(orientation:landscape) and (max-height:380px){
 .game-session #stuff-wars.sw-compact-setup .sw-slot{padding:2px;gap:0}
 .game-session #stuff-wars.sw-compact-setup .sw-slot .sw-role{font-size:9px;line-height:10px}
 .game-session #stuff-wars.sw-compact-setup .sw-slot img{width:20px;height:20px}
 .game-session #stuff-wars.sw-compact-setup .sw-slot strong{font-size:9px;line-height:10px}
}
.game-session #engineering .wk-header.menu-home-header{padding-right:var(--gs-menu-clear,64px)!important;height:44px!important;max-height:44px!important;min-height:44px!important;gap:8px}
@media(max-height:400px){#engineering .wk-layout{grid-template-rows:44px 40px minmax(0,1fr) 22px}}

/* Construction shares the power dock; placement confirmation floats only while placing. */
#stuff-wars .sw-build-controls:has(.sw-build-confirm[hidden]){display:none!important}
#stuff-wars .sw-build-controls{position:absolute;left:10px;top:auto;bottom:calc(var(--sw-dock-clear,100px) + 45px);z-index:12;max-width:calc(100% - 20px);background:#172c32ed;border:1px solid #78b9a4;border-radius:9px;padding:6px}
#stuff-wars .sw-powers{grid-template-columns:repeat(7,minmax(0,1fr))}
#stuff-wars .sw-powers [data-sw-build]{touch-action:none;cursor:grab;border-color:#78b9a4}
#stuff-wars .sw-powers [data-sw-build][aria-pressed=true]{outline:2px solid #d2ef9d;outline-offset:1px}
.sw-forge-panel [data-forge-builds]{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.sw-forge-panel h3{font-size:13px;margin:8px 0 2px;grid-column:1/-1}
.sw-forge-panel [data-sw-construct]{display:grid;gap:4px;text-align:left;padding:9px;color:#f3e4bf;background:#35463b;border:1px solid #99aa7b;border-radius:8px;min-height:76px}
.sw-forge-panel [data-sw-construct] span{font-size:11px;color:#cfdfd5}.sw-forge-panel [data-sw-construct] small{font-size:10px;color:#d7dfab}
.sw-forge-panel [data-sw-construct="medical"]{grid-column:1/-1;min-height:64px}
.sw-forge-panel{display:flex;flex-direction:column;overflow:hidden}
.sw-forge-panel>header{flex-shrink:0}
.sw-forge-workspace{position:relative;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}
.sw-forge-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:2px}
.sw-forge-countdown{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;text-align:center;background:#14282ef5;border-radius:8px;color:#eff4dc}
.sw-forge-countdown[hidden]{display:none}
.sw-forge-countdown-label{max-width:100%;font-size:16px;font-weight:700;color:#e3c476}
.sw-forge-countdown strong{font-size:clamp(64px,12vh,96px);line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.04em;text-shadow:0 3px 0 #0c1b20}
.sw-forge-countdown>span:last-child{font-size:13px;color:#c4d4cd}


/* Placement is reversible from the dock, Escape, or this floating toolbar. */
.game-session #stuff-wars.sw-phone-open .sw-build-controls{inset:auto auto calc(var(--sw-dock-clear) + 8px) 8px;width:max-content;max-width:calc(100% - 16px);height:auto;padding:6px;z-index:15}
.game-session #stuff-wars.sw-phone-open .sw-build-controls button{min-height:44px}

/* Compact Blacksmith: icons first, explanations on demand. */
.sw-forge-panel.sw-forge-icons{width:min(760px,calc(100% - 20px));padding:12px;overflow:visible}
.sw-forge-panel.sw-forge-icons>header{padding:0;margin:0;height:36px;min-height:36px;max-height:36px;border:0}
.sw-forge-icons .sw-forge-workspace{overflow:visible;gap:8px}
.sw-forge-icons .sw-forge-content{display:grid;grid-template-columns:minmax(100px,.85fr) minmax(0,3fr);gap:12px;overflow:visible;padding:0}
.sw-forge-icons [data-forge-builds],.sw-forge-icons [data-forge-upgrades]{display:block;margin:0}
.sw-forge-icons h3{font-size:12px;margin:8px 0 6px;color:#bdd0c6}
.sw-forge-icons .sw-forge-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.sw-forge-icons [data-forge-builds] .sw-forge-tile-grid{grid-template-columns:1fr}
.sw-forge-icons .sw-forge-tile{position:relative;min-width:0}
.sw-forge-icons .sw-forge-tile>.sw-forge-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;height:76px;min-height:0;padding:6px 4px;border:1px solid #65817b;border-radius:9px;background:#294247;color:#f3e4bf;text-align:center}
.sw-forge-icons [data-forge-builds] .sw-forge-action{height:63px;background:#30473f;border-color:#81956e}
.sw-forge-icons .sw-forge-action strong{display:block;font-size:11px;line-height:1.1;font-weight:700;white-space:nowrap}
.sw-forge-icons .sw-forge-action small{font-size:10px;line-height:1;color:#c2d0b6}
.sw-forge-icons .sw-forge-action:disabled{opacity:.48}
.sw-forge-icons .sw-forge-action:not(:disabled):hover{background:#3a5555;border-color:#d8c484}
.sw-forge-icons .sw-forge-icon{display:flex;align-items:center;justify-content:center;height:29px;width:40px}
.sw-forge-icons .sw-forge-icon svg{width:27px;height:27px;image-rendering:pixelated}
.sw-forge-icons .sw-forge-icon img{height:30px;width:40px;object-fit:contain;image-rendering:pixelated}
.sw-forge-icons .sw-forge-level{position:absolute;top:5px;left:5px;font-size:9px;color:#d6d6ac;font-weight:400}
.sw-forge-icons button.sw-forge-info{position:absolute;top:2px;right:2px;min-width:26px;min-height:26px;width:26px;height:26px;padding:0;border:0;border-radius:50%;font:italic 700 13px Georgia,serif;background:#182d33;color:#bcd6db;line-height:26px}
.sw-forge-icons button.sw-forge-info:hover{color:#fff1bc;background:#486367}
.sw-forge-icons button:focus-visible{outline:2px solid #e8d391;outline-offset:2px}
.sw-forge-icons [data-forge-job]{grid-column:1/-1;font-size:11px;min-height:0;margin:0}
.sw-forge-icons [data-forge-job]:empty{display:none}
.sw-forge-icons .sw-forge-countdown{position:static;order:-1;inset:auto;display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:7px 10px;margin-top:8px;border:1px solid #607974;border-radius:8px;text-align:left;background:#14282e}
.sw-forge-icons .sw-forge-countdown[hidden]{display:none}
.sw-forge-icons .sw-forge-countdown-label{font-size:12px;grid-column:1}
.sw-forge-icons .sw-forge-countdown strong{font-size:24px;grid-column:2;grid-row:1/3;text-shadow:none}
.sw-forge-icons .sw-forge-countdown>span:last-child{font-size:10px;grid-column:1;color:#b6cdc3}
.sw-forge-icons .sw-forge-detail{position:absolute;z-index:4;inset:55px 12px auto;max-height:calc(100% - 66px);overflow:auto;background:#162e37;border:1px solid #c7b777;border-radius:10px;padding:16px 42px 16px 18px;box-shadow:0 10px 35px #0009}
.sw-forge-icons .sw-forge-detail[hidden]{display:none}
.sw-forge-icons .sw-forge-detail h3{margin:0 0 8px;color:#f3df9f;font-size:15px}
.sw-forge-icons .sw-forge-detail p{margin:0 0 10px;color:#d4e0d7;font-size:13px;line-height:1.45}
.sw-forge-icons .sw-forge-detail small{font-size:11px;color:#b8c9bc}
.sw-forge-icons .sw-forge-info-close{position:absolute;top:4px;right:4px;min-height:32px;min-width:32px;padding:0;font-size:20px;background:transparent;border:0;color:#eee3c7}
@media(max-height:400px){.sw-forge-panel.sw-forge-icons>header{height:28px;min-height:28px;max-height:28px}}
@media(max-height:400px){.sw-forge-panel.sw-forge-icons{padding:7px 10px}.sw-forge-icons>header{min-height:28px}.sw-forge-icons>header strong{font-size:14px}.sw-forge-icons>header small{display:none}.sw-forge-icons>header button{min-height:28px;min-width:32px}.sw-forge-icons h3{margin:3px 0 4px;font-size:11px}.sw-forge-icons .sw-forge-tile-grid{gap:5px}.sw-forge-icons .sw-forge-tile>.sw-forge-action{height:59px;gap:2px;padding:3px}.sw-forge-icons [data-forge-builds] .sw-forge-action{height:43px;display:grid;grid-template-columns:34px 1fr;column-gap:4px;text-align:left;padding:3px 24px 3px 5px}.sw-forge-icons [data-forge-builds] .sw-forge-icon{grid-row:1/3;width:32px;height:30px}.sw-forge-icons [data-forge-builds] strong,.sw-forge-icons [data-forge-builds] small{justify-self:start}.sw-forge-icons .sw-forge-icon{height:22px}.sw-forge-icons .sw-forge-icon svg{height:22px;width:22px}.sw-forge-icons .sw-forge-action strong{font-size:10px}.sw-forge-icons .sw-forge-countdown{margin-top:4px;padding:4px 8px}.sw-forge-icons .sw-forge-countdown strong{font-size:20px}.sw-forge-icons .sw-forge-detail{inset:39px 10px auto;max-height:calc(100% - 48px);padding:12px 36px 12px 14px}}
@media(max-width:560px){.sw-forge-icons .sw-forge-content{grid-template-columns:92px minmax(0,1fr);gap:7px}.sw-forge-icons .sw-forge-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sw-forge-icons .sw-forge-action strong{font-size:10px}}


/* Four compact build choices, including the permanent repair mechanic. */
.sw-forge-icons .sw-forge-content{grid-template-columns:minmax(170px,1.4fr) minmax(0,3fr)}
.sw-forge-icons [data-forge-builds] .sw-forge-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-height:400px){.sw-forge-icons [data-forge-builds] .sw-forge-action{height:59px;display:flex;text-align:center;padding:3px}.sw-forge-icons [data-forge-builds] strong,.sw-forge-icons [data-forge-builds] small{justify-self:center}.sw-forge-icons [data-forge-builds] .sw-forge-icon{width:32px;height:22px}}
@media(max-width:560px){.sw-forge-icons .sw-forge-content{grid-template-columns:140px minmax(0,1fr)}}
