.experimental-setup{display:block;padding:12px;border:1px solid #b98a42;border-radius:12px;background:#f8edcf;color:#49341f}.experimental-setup small{display:block;margin:5px 0 0 24px}.experimental-dock{position:fixed;right:12px;bottom:12px;z-index:50;max-width:calc(100vw - 24px);background:#203847;color:#fff3cf;border:1px solid #d2ac65;border-radius:12px;padding:8px 14px;box-shadow:0 3px 15px #0005}.generator-actions fieldset{margin:10px 0}.generator-actions button,.generator-payments button{margin:5px;white-space:normal}.generator-rules{font-size:.92em;line-height:1.55}.generator-choice{max-width:650px}.generator-inventory{max-width:850px}.generator-payments{display:flex;flex-wrap:wrap;gap:8px}body:has(#experimental-dock) .actionbar{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:600px){.experimental-dock{bottom:65px;font-size:12px;max-width:210px;padding:7px 10px}.generator-payments{flex-direction:column}.generator-payments button{width:100%;margin:0}}
/* Four main actions after removal of Pass; preserve equal tap targets in all layouts. */
#actionbar,.mini-app .actionbar{grid-template-columns:repeat(4,minmax(0,1fr))}
body.desktop-play #actionbar,body.desktop-play.faithful-target #actionbar,#phone-faithful .actionbar{grid-template-columns:repeat(4,minmax(0,1fr))!important}



.generator-owned-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.generator-owned-finding{min-width:0}.generator-status{font-size:14px;line-height:1.5}.generator-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.generator-mode-option{display:flex!important;flex-direction:column;align-items:center;gap:7px;text-align:center!important;padding:8px 4px!important;border:1px solid #aa8753!important;border-radius:9px;background:#b99c5d12!important;color:inherit!important;min-width:0}.generator-mode-option strong{display:flex;align-items:center;gap:3px;font-size:13px}.generator-mode-option strong .game-icon,.generator-mode-option strong img.equipment-icon{width:20px!important;height:20px!important}.generator-mode-option small{font-size:11px}.generator-socket{display:grid;place-items:center;width:36px;height:36px;border:2px solid #9a7949;border-radius:50%;background:radial-gradient(circle,#3729192e,#7952230d);box-shadow:inset 0 2px 4px #0003}.generator-token,.generator-mini-token{display:block;width:26px;height:26px;border-radius:50%;background:var(--token-color);border:2px solid #fff9;box-shadow:inset 0 2px 3px #fff7,inset 0 -3px 4px #0005,0 2px 3px #0005}.generator-mode-option.is-selected{border-color:#e7b85b!important}.generator-mode-option[data-generator-mode]:hover .generator-socket{outline:2px solid #d0a75d;outline-offset:3px}.generator-mode-option:focus-visible{outline:3px solid #49cad7;outline-offset:2px}.generator-mini-link{display:flex!important;align-items:center;gap:7px;width:100%;padding:5px!important;margin:6px 0;text-align:left!important;font-size:12px!important;line-height:1.3}.generator-mini-link>img{width:36px!important;height:30px!important;object-fit:cover;border-radius:4px}.generator-mini-link small{display:block;font-size:10px}.generator-mini-token{width:14px;height:14px;flex-shrink:0}.generator-card .research-card-copy{padding:10px}.generator-card-links{width:100%}.generator-inventory{max-width:760px}.generator-install-options button{margin:6px}.generator-owned-finding>small{display:block;margin-top:8px}.generator-owned-grid .sw-research-card{max-width:310px}
@media(max-width:600px){.generator-owned-grid{grid-template-columns:minmax(0,1fr)}.generator-mini-link{min-height:44px}.generator-inventory .generator-owners{display:flex;flex-wrap:wrap}}
.generator-mode-option strong{font-size:12px}.generator-mode-option strong .sw-symbol{width:20px!important;height:20px!important;flex-shrink:0}
/* Planet inspector: a finding is one full-width row, not a 66px company-name cell. */
.faithful-target #selected .world-presence .generator-card-links{grid-column:1 / -1;min-width:0;width:100%;margin:2px 0 3px;box-sizing:border-box}
.faithful-target #selected .world-presence .generator-mini-link{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:44px;margin:0;padding:5px 7px!important;border:1px solid var(--edge,#b49167);border-radius:6px;background:#9b783410;box-shadow:none;color:inherit;text-align:left!important;line-height:1.3}
.faithful-target #selected .world-presence .generator-mini-link>img{width:26px!important;height:34px!important;min-width:0;object-fit:cover;border:1px solid #ae8953;border-radius:3px;box-shadow:1px 1px 2px #0003}
.faithful-target #selected .world-presence .generator-mini-link>span:not(.generator-mini-token){display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:12px/1.3 Georgia,serif}
.faithful-target #selected .world-presence .generator-mini-link small{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:10px/1.4 system-ui,sans-serif;opacity:.8;margin-top:2px}
.faithful-target #selected .world-presence .generator-mini-link:hover{background:#b08d4c24;border-color:#a47c3e}
.faithful-target #selected .world-presence .generator-mini-link:focus-visible{outline:2px solid #299ba8;outline-offset:2px}

.generator-preview-token{display:block;width:25px;height:25px;border:2px dashed var(--token-color);border-radius:50%;background:transparent;box-shadow:inset 0 0 0 3px #fff2}.generator-mode-option.is-draft{border-style:dashed!important}.generator-draft-notice,.generator-prerequisites{padding:8px 10px;border-left:3px solid #c6a05c;background:#b0905012;font-size:13px;line-height:1.5}

.generator-inventory h2 img{width:24px!important;height:24px!important;vertical-align:middle;object-fit:contain}

/* The mobile Findings footer replaces the floating shortcut: keep Supply unobstructed. */
@media(max-width:950px){body.phone-play #experimental-dock{display:none}.mobile-experimental-label{padding:8px 10px;border:1px solid #b99c5d;border-radius:6px;font-weight:700;text-align:center}}

/* Four actions retain the former five-slot tile size on tablet. */
@media(min-width:951px) and (max-width:1400px){
 body.desktop-play.faithful-target[data-desktop-view=tabletop] #desktop-dock{width:min(694px,calc(80% - 120px))}
 body.desktop-play.faithful-target[data-desktop-view=tabletop] #actionbar{grid-template-columns:repeat(4,minmax(0,136px))!important}
}

/* Setup is also rendered outside the in-game window hosts. */
html body.faithful-target[data-board-background=cosmic] .experimental-setup,
html body.faithful-target[data-board-background=cosmic] .installation-rules{background:#192b3c!important;color:#f6ebd6!important;border-color:#b9955a}
html body.faithful-target[data-board-background=cosmic] .experimental-setup :is(small,strong),
html body.faithful-target[data-board-background=cosmic] .installation-rules :is(p,strong){color:#f6ebd6!important}

.generator-mode-option strong{flex-wrap:wrap;justify-content:center}.generator-mode-option strong>span{white-space:nowrap}.generator-conversion-reward{display:inline-flex;align-items:center;gap:3px}
