/* Approved 2026-10-09 visual directions. Engine state and controls remain shared. */
body{--paper:#f2e8d5;--surface:#fff8e9;--ink:#49382e;--soft-ink:#756450;--copper:#b58b5d;--edge:#c8ac81;--accent:#268c91;--shadow:#69452635;--line:var(--edge);--muted:var(--soft-ink);--cream:var(--ink);--cyan:var(--accent);color:var(--ink);background:var(--paper);font-family:Georgia,'Times New Roman',serif}
body[data-desktop-view='star-map']{--paper:#17151e;--surface:#28232bee;--ink:#f1e3cc;--soft-ink:#baaa9f;--copper:#cc9d66;--edge:#816647;--accent:#68d0cc;--shadow:#0009;background:#17151e}
button,input,select,textarea{font-family:inherit;color:var(--ink);background:var(--surface);border-color:var(--edge)}
button{border-radius:12px;box-shadow:inset 0 1px #ffffff35,0 2px 3px var(--shadow);transition:transform .18s,box-shadow .18s,background .18s}
button:hover:not(:disabled){background:color-mix(in srgb,var(--surface) 88%,var(--copper));transform:translateY(-2px);box-shadow:0 5px 9px var(--shadow)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.48}button:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
h1,h2,h3,strong{color:inherit}.muted,p,.stat,.stat b,.world-yield{color:var(--soft-ink)}.eyebrow{color:var(--soft-ink);letter-spacing:2px}input[type=number],select{background:var(--surface);color:var(--ink);border-color:var(--edge)}
section,.connection-panel,.trait-panel,.installation-panel,.resource div,.access-role,.inspector-disclosure,.production-income,.slot,.score{background:var(--surface);color:var(--ink);border-color:var(--edge)}
.resource div{border:1px solid var(--edge);border-radius:16px;background:linear-gradient(145deg,var(--surface),var(--paper));box-shadow:inset 0 1px #fff5}.resource b,.resource small{color:var(--ink)}.resource b{font-size:32px}.notice{background:color-mix(in srgb,var(--surface) 85%,var(--accent));border-color:var(--accent);color:var(--ink)}.notice.error{color:#9a3030;background:#ffe2db}.primary{background:linear-gradient(#4eb7b5,#298e91);color:#fff9e8;border-color:#307e80;box-shadow:inset 0 1px #c2f8ee,0 3px 0 #226c71}
.access-choice{border-color:var(--edge);border-radius:18px}.access-choice legend{color:var(--ink)}.access-choice label{background:var(--surface);border-color:var(--edge);border-radius:14px}.access-choice label:has(input:checked){background:color-mix(in srgb,var(--surface) 88%,var(--accent));border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.access-choice small{color:var(--soft-ink)}
dialog{background:linear-gradient(140deg,var(--surface),var(--paper));color:var(--ink);border:2px solid var(--copper);border-radius:28px;padding:32px;width:min(680px,94vw);box-shadow:inset 0 0 0 5px color-mix(in srgb,var(--surface) 60%,var(--copper)),0 30px 90px #0006;scrollbar-width:thin}dialog::backdrop{background:#211c2980;backdrop-filter:blur(8px)}dialog h2{font-size:30px;font-weight:500;margin:8px 38px 18px 0}dialog .close{border:1px solid var(--edge);border-radius:50%;width:34px;height:34px;right:16px;top:15px;background:var(--surface)}dialog p{font-size:15px;line-height:1.6}dialog .resource{gap:20px}dialog .resource>div{text-align:center;padding:14px}dialog #confirm,dialog #cancel{min-width:135px;padding:12px 20px}.preview-scene{height:155px;position:relative;display:grid;place-items:center;margin:8px 0 14px;border-bottom:1px solid var(--edge);overflow:hidden}.preview-planet{width:175px;height:150px;background:url(visuals/planet-atlas-redesign.webp) var(--atlas-x) var(--atlas-y)/500% 200% no-repeat;filter:drop-shadow(0 8px 6px var(--shadow))}.preview-scene>.sw-symbol{position:absolute;width:65px;height:65px;left:calc(50% + 25px);bottom:10px;filter:drop-shadow(0 6px 3px var(--shadow))}.preview-scene .preview-orbit{font-size:60px;color:var(--copper)}
body[data-desktop-view='star-map'] dialog{background:linear-gradient(140deg,#332a34ee,#1d1b24f5);backdrop-filter:blur(20px);box-shadow:inset 0 0 0 5px #a67c4620,0 30px 90px #000a}.cost-breakdown{border-color:var(--edge)}
#toast{background:var(--surface);color:var(--ink);border-color:var(--accent)}.tradegrid input{max-width:none}.project,.slot .occupied{background:var(--paper);color:var(--ink)}.project p{color:var(--soft-ink)}
@media(min-width:951px){
 body.desktop-play{--line:var(--edge);--panel:var(--surface);--muted:var(--soft-ink);background:var(--paper);font-size:15px;grid-template-rows:83px 45px minmax(0,1fr)}
 .desktop-play header{height:83px;background:linear-gradient(180deg,var(--surface),var(--paper));border-color:var(--edge);padding:10px 24px;gap:20px}.desktop-play .brand{width:170px;flex-basis:170px}.desktop-play .brand-logo{width:170px;height:50px;filter:drop-shadow(0 2px 2px var(--shadow))}.desktop-play #round{color:var(--ink);font-size:13px}
 .desktop-play #players{height:60px;flex-direction:row;padding:0;border:0;gap:10px}.desktop-play #players .player{max-width:230px;border:1px solid var(--edge);border-radius:15px;padding:7px 10px;background:linear-gradient(150deg,var(--surface),var(--paper));box-shadow:inset 0 1px #fff8,0 3px 5px var(--shadow)}.desktop-play #players .player.active{border-color:var(--p);box-shadow:inset 0 0 0 1px var(--p),0 3px 8px var(--shadow)}.desktop-play #players .player strong{font-size:14px}.desktop-play #players .company-symbol{width:29px;height:29px;border-radius:50%}.desktop-play #players small{color:var(--soft-ink);font-size:11px}.desktop-play #players .seat-label{color:var(--soft-ink)}
 .desktop-play #desktop-toolbar{background:var(--paper);border-color:var(--edge);padding:4px 26px}.desktop-location{font-size:10px;letter-spacing:3px;color:var(--soft-ink)}.desktop-play #phase{color:var(--ink);border-color:var(--edge);font-size:12px}
 #desktop-menu{margin-left:auto;position:relative;z-index:40}#desktop-menu>summary{cursor:pointer;list-style:none;display:flex;gap:20px;align-items:center;padding:7px 16px;border:1px solid var(--edge);border-radius:12px;background:var(--surface);font-size:14px}#desktop-menu>summary::-webkit-details-marker{display:none}.game-menu-content{position:absolute;right:0;top:45px;width:285px;padding:22px;background:var(--surface);border:2px solid var(--copper);border-radius:24px;box-shadow:inset 0 0 0 4px #b8915c20,0 20px 45px var(--shadow);max-height:75dvh;overflow:auto}.game-menu-content h2{margin:0 0 18px;font-size:24px;font-weight:500}.desktop-panel-buttons{display:grid;gap:5px;margin:0}.desktop-panel-buttons button{padding:9px 12px;border:1px solid var(--edge);border-radius:10px;color:var(--ink);background:linear-gradient(120deg,var(--surface),var(--paper));font-size:14px;gap:12px}.desktop-panel-buttons .sw-symbol{width:24px;height:24px}.desktop-panel-buttons button[aria-expanded=true]{background:var(--paper);color:var(--ink)}.desktop-view-control{display:block;margin-top:18px;border-top:1px solid var(--edge);padding-top:14px}.desktop-view-control>span{color:var(--soft-ink);font-size:12px;display:block;margin-bottom:6px}.desktop-view-control select{width:100%;background:var(--paper);color:var(--ink);padding:9px;border-color:var(--edge)}
 .desktop-play #desktop-shell{grid-template-columns:minmax(0,1fr) 302px;grid-template-rows:minmax(0,1fr) 142px;background:url(visuals/tabletop-redesign.webp) center/cover}
 .desktop-play .desktop-board{background:transparent;padding:14px 30px 5px;perspective:1000px}.desktop-play #desktop-planets{overflow:auto;scrollbar-width:thin}.desktop-play .worlds{padding:6px 3px;gap:15px;align-content:space-around}.desktop-play .world{transition:transform .25s,filter .25s;transform-style:preserve-3d}.desktop-play .world:hover:not(:disabled){transform:translateY(-5px) rotateX(3deg);filter:none}.desktop-play .world.selected{outline:none}.desktop-play .world:not(.hidden) .art:before{background-image:url(visuals/planet-atlas-redesign.webp);filter:drop-shadow(0 14px 9px #6b49384a);transition:filter .25s}.desktop-play .world.selected:not(.hidden) .art:before{filter:drop-shadow(0 0 2px #62c5ca) drop-shadow(0 0 7px #40b5bc88) drop-shadow(0 12px 8px #634c3855)}
 .desktop-play .world .caption{color:var(--ink);margin:-4px auto 0}.desktop-play .world .caption>strong{font-size:19px;text-shadow:none;font-weight:500;letter-spacing:.3px}.desktop-play .world .caption>small{color:var(--soft-ink)}.desktop-play .world-meta{border:0;background:transparent;padding:3px 4px;gap:8px}.world-yield{color:var(--ink)}.mini-vehicles{border-color:var(--edge)}.desktop-play .caption>.trait-face{background:var(--surface);border:1px solid var(--edge);border-radius:8px;right:-2px;top:2px}.desktop-play .world.selected:after{background:var(--accent);box-shadow:none}.desktop-play .world .colony-site strong,.desktop-play .world .rover-marker small{background:var(--surface);color:var(--ink);border-radius:6px}.desktop-play .world .colony-sites{bottom:24%}.desktop-play .world .colony-art{width:clamp(32px,calc(var(--world-size)*.23),60px);height:clamp(32px,calc(var(--world-size)*.23),60px)}.desktop-play .world .rover-art,.desktop-play .world .drone-art{width:36px;height:36px}.desktop-play .world .linktag,.desktop-play .world .deposit-tag{color:var(--ink);background:var(--surface);border-color:var(--edge)}
 .unknown-orbit{background:radial-gradient(ellipse at 35% 25%,#ede6da,#b8aca0 65%,#8b7e76);border-color:var(--edge);box-shadow:inset 0 0 20px #fff8,0 10px 14px var(--shadow);color:var(--ink)}.unknown-orbit>span{color:var(--soft-ink)}
 #desktop-inspector{grid-column:2;margin:18px 20px 24px 0;padding:0 18px 18px;background:linear-gradient(150deg,var(--surface),var(--paper));border:2px solid var(--copper);border-radius:25px;box-shadow:inset 0 0 0 4px #b8915c18,0 10px 20px var(--shadow);scrollbar-color:var(--edge) transparent}.inspector-tabs{background:var(--surface);padding:14px 0 10px;gap:8px}.inspector-tabs button{color:var(--soft-ink);background:var(--paper);border-color:var(--edge);border-radius:10px;font-size:12px}.inspector-tabs button[aria-pressed=true]{background:color-mix(in srgb,var(--paper) 80%,var(--accent));border-color:var(--accent);color:var(--ink)}#desktop-inspector h2{font-size:27px;margin:6px 0 12px}#desktop-inspector .worldportrait{height:155px;border-color:var(--edge);border-radius:15px}#desktop-inspector p{color:var(--soft-ink);font-size:13px}#desktop-inspector h3{font-size:15px}.inspector-overview{border-color:var(--edge)}.overview-production>span:first-child,.overview-pieces>span:first-child,.overview-production small{color:var(--soft-ink)}.inspector-disclosure{border-color:var(--edge);background:var(--surface);border-radius:10px;padding:0 12px;margin:8px 0}.inspector-disclosure>summary{font-size:13px;color:var(--ink)}.inspector-disclosure>summary:after{color:var(--copper)}#desktop-research-panel details{border-color:var(--edge)}
 #desktop-dock{grid-column:1;padding:10px 26px 18px;gap:20px;grid-template-columns:195px minmax(0,1fr);background:linear-gradient(0deg,var(--paper),color-mix(in srgb,var(--paper) 85%,transparent));border-color:var(--edge);border-radius:45px 45px 0 0;box-shadow:0 -8px 22px var(--shadow)}#desktop-hud{background:var(--surface);border-color:var(--copper);border-radius:18px;padding:10px;box-shadow:inset 0 0 0 3px #b8915c15}#desktop-hud>strong{color:var(--ink);font-size:14px}.visual-resource{color:var(--ink)}.visual-resource b{font-size:19px}.income-heading>span,.income-pair b,.income-choice,.income-note,.income-breakdown>div{color:var(--ink)}.production-income{background:var(--paper);border-color:var(--edge);border-radius:9px}.income-breakdown{border-color:var(--edge)}
 .desktop-play #actionbar{gap:14px;align-items:center}.desktop-play #actionbar button,.desktop-play #actionbar button[data-action=settle],.desktop-play #actionbar button[data-action=develop],.desktop-play #actionbar #supply{min-height:108px;padding:6px 2px;color:var(--ink);border:0;background:transparent;box-shadow:none;border-radius:50%;font-size:15px;gap:6px}.desktop-play #actionbar .action-emblem{width:60px;height:60px;padding:11px;border-radius:50%;background:radial-gradient(circle at 35% 25%,var(--surface),var(--paper) 65%,var(--copper));border:2px solid var(--copper);box-shadow:inset 0 0 0 3px #fff3,0 5px 0 color-mix(in srgb,var(--copper) 75%,#49382e),0 9px 9px var(--shadow);filter:none;box-sizing:content-box}.desktop-play #actionbar button:hover:not(:disabled) .action-emblem{transform:translateY(-3px)}.desktop-play #actionbar .action-cost{color:var(--soft-ink);font-size:11px}.desktop-play #toast{bottom:150px}
 #desktop-drawer{right:330px;top:18px;bottom:160px;width:min(640px,calc(100% - 360px));background:linear-gradient(140deg,var(--surface),var(--paper));border:2px solid var(--copper);border-radius:26px;box-shadow:inset 0 0 0 4px #b8915c18,0 25px 65px #0005;padding:23px}.drawer-heading{border-color:var(--edge);padding-bottom:14px;margin-bottom:18px}.drawer-heading h2{font-size:27px;font-weight:500}.drawer-heading button{border:1px solid var(--edge);border-radius:50%;width:30px;height:30px;background:var(--surface)}
 #desktop-board-status #production,#desktop-board-status #end,#desktop-board-status .bot-status{background:var(--surface);border-color:var(--edge);color:var(--ink)}
 .desktop-play[data-desktop-view='star-map'] #desktop-shell{grid-template-columns:minmax(0,1fr) 302px;background:linear-gradient(#17151e15,#17151e20),url(visuals/cosmos-redesign.webp) center/cover}.desktop-play[data-desktop-view='star-map'] #desktop-top-players{visibility:visible}.desktop-play[data-desktop-view='star-map'] .desktop-board{grid-column:1;background:transparent;padding:14px 30px 5px}.desktop-play[data-desktop-view='star-map'] #desktop-inspector{grid-column:2}.desktop-play[data-desktop-view='star-map'] #desktop-dock{grid-column:1;grid-template-columns:195px minmax(0,1fr);padding:10px 26px 18px}.desktop-play[data-desktop-view='star-map'] #desktop-hud{display:block}.desktop-play[data-desktop-view='star-map'] #desktop-rail{display:none}.desktop-play[data-desktop-view='star-map'] #players{height:60px;flex-direction:row;padding:0;border:0;gap:10px}.desktop-play[data-desktop-view='star-map'] #players .player{min-height:0;border-color:var(--edge);padding:7px 10px}.desktop-play[data-desktop-view='star-map'] .world:not(.hidden) .art:before{background-image:url(visuals/planet-atlas-redesign.webp);filter:drop-shadow(0 0 15px #d5a97d25) drop-shadow(0 10px 10px #0009)}.desktop-play[data-desktop-view='star-map'] .world.selected:not(.hidden) .art:before{filter:drop-shadow(0 0 4px var(--accent)) drop-shadow(0 0 15px #65cfc655)}.desktop-play[data-desktop-view='star-map'] .world .colony-sites{display:flex}.desktop-play[data-desktop-view='star-map'] .world .rover-markers{display:flex}.desktop-play[data-desktop-view='star-map'] .world .world-meta{background:transparent;border:0}.desktop-play[data-desktop-view='star-map'] .unknown-orbit{background:radial-gradient(circle at 30% 25%,#706878,#38313e 60%,#17151e);border-color:var(--edge)}
 .desktop-play[data-desktop-view='command'] #desktop-shell{grid-template-columns:235px minmax(0,1fr) 302px}.desktop-play[data-desktop-view='command'] #desktop-rail{padding:24px 18px;background:linear-gradient(120deg,var(--surface),var(--paper));border-color:var(--edge);box-shadow:6px 0 16px var(--shadow)}.desktop-play[data-desktop-view='command'] .desktop-board{background:transparent;padding:24px 22px 12px}.desktop-play[data-desktop-view='command'] #desktop-inspector{grid-column:3}.desktop-play[data-desktop-view='command'] #desktop-dock{grid-column:2;padding:10px 24px 18px}#desktop-company:before{border-color:var(--copper);border-radius:50%;width:135px;height:135px;margin:0 auto 22px;box-shadow:0 5px 12px var(--shadow)}#desktop-company h2{font-size:27px;text-align:center}#desktop-company .resource div{background:var(--surface);border-color:var(--edge);border-radius:12px}#desktop-company .resource b{color:var(--ink);font-size:27px}#desktop-company .stat{border-color:var(--edge);color:var(--soft-ink);font-size:13px}#desktop-company p{color:var(--soft-ink)}
 .desktop-play[data-desktop-view='command'] .worlds{gap:16px;grid-template-rows:repeat(var(--rows),minmax(0,1fr));align-content:start}.desktop-play[data-desktop-view='command'] .world{display:grid;grid-template-columns:42% minmax(0,1fr);align-items:center;border:1px solid var(--copper);border-radius:20px;background:linear-gradient(135deg,var(--surface),var(--paper));padding:8px;box-shadow:inset 0 0 0 3px #b8915c12,0 5px 8px var(--shadow);min-height:130px}.desktop-play[data-desktop-view='command'] .world .art{width:100%;height:100%;max-height:145px;min-height:110px;background:var(--world-image) center/cover;border-radius:15px}.desktop-play[data-desktop-view='command'] .world .caption{padding:6px 8px;margin:0;min-height:0}.desktop-play[data-desktop-view='command'] .world .caption>strong{font-size:19px;padding:0}.desktop-play[data-desktop-view='command'] .world .world-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}.desktop-play[data-desktop-view='command'] .mini-piece .sw-symbol{width:22px;height:22px}.desktop-play[data-desktop-view='command'] .caption>.trait-face{position:relative;display:inline-flex;top:auto;right:auto;margin-top:6px}.desktop-play[data-desktop-view='command'] .world.hidden .art{background:none}.desktop-play[data-desktop-view='command'] .unknown-orbit{border-radius:15px;background:radial-gradient(ellipse,#e4e0d6,#b3a99b);border:1px solid var(--edge)}.desktop-play[data-desktop-view='command'] .world.selected{border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent),0 5px 8px var(--shadow)}
 #desktop-shell[data-phase='finished'] #end{background:linear-gradient(145deg,var(--surface),var(--paper));border-color:var(--copper);color:var(--ink)}.final-table,.final-table caption,.final-table thead th,.final-rank,#desktop-board-status .final-note{color:var(--ink)}.final-table thead th{background:var(--paper)}.final-table td,.final-table th{border-color:var(--edge)}.final-table .final-total{color:var(--ink)}#desktop-board-status .final-winner{color:var(--ink);background:var(--paper);border-color:var(--copper)}
}
@media(min-width:951px) and (max-width:1250px){.desktop-play #desktop-shell,.desktop-play[data-desktop-view='star-map'] #desktop-shell{grid-template-columns:minmax(0,1fr) 260px}.desktop-play[data-desktop-view='command'] #desktop-shell{grid-template-columns:185px minmax(0,1fr) 260px}.desktop-play .desktop-board,.desktop-play[data-desktop-view='star-map'] .desktop-board{padding-inline:12px}#desktop-inspector{margin-right:12px;padding-inline:12px}#desktop-drawer{right:280px;width:calc(100% - 305px)}#desktop-dock,.desktop-play[data-desktop-view='star-map'] #desktop-dock{grid-template-columns:155px minmax(0,1fr);gap:10px;padding-inline:12px}.desktop-play #actionbar{gap:6px}.desktop-play #actionbar .action-emblem{width:40px;height:40px;padding:10px}.desktop-play #actionbar button{font-size:12px}.desktop-play[data-desktop-view='command'] .world{grid-template-columns:37% minmax(0,1fr);padding:5px}.desktop-play[data-desktop-view='command'] .world .caption>strong{font-size:16px}.desktop-play[data-desktop-view='command'] .mini-piece .sw-symbol{width:17px;height:17px}.desktop-play[data-desktop-view='command'] .world .world-meta{gap:5px}}
@media(max-width:950px){header,#players,#mobile-hud,#mobile-nav,.phone-options-panel,#actionbar,.phone-choice-panel,main .right section,main .left section{background:var(--surface);color:var(--ink);border-color:var(--edge)}body{background:var(--paper)}.world{background:var(--surface);border-color:var(--edge);color:var(--ink)}.world .caption,.world small{color:var(--ink)}dialog{padding:22px;border-radius:23px}dialog h2{font-size:25px}.preview-scene{height:125px}.preview-planet{width:150px;height:125px}#mobile-nav button,.phone-toolbar button{background:var(--paper);color:var(--ink);border-color:var(--edge)}.player{background:var(--surface);color:var(--ink)}.player small{color:var(--soft-ink)}}
@media(prefers-reduced-motion:no-preference){dialog[open],#desktop-drawer:not([hidden]){animation:panel-arrive .24s ease-out}.world.selected .art{animation:world-arrive .32s ease-out}@keyframes panel-arrive{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@keyframes world-arrive{from{transform:translateY(4px)}to{transform:none}}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.desktop-play .world:hover:not(:disabled){transform:none}}
/* Shared menus, events and entry screens use the chosen material palette. */
#online-screen{background:linear-gradient(#efe3ccdd,#eee0c7ef),url(visuals/tabletop-redesign.webp) center/cover}.online-card{background:linear-gradient(140deg,var(--surface),var(--paper));color:var(--ink);border:2px solid var(--copper);border-radius:28px;box-shadow:inset 0 0 0 5px #b8915c15,0 20px 60px #0003}.online-seat,.my-games article{border-color:var(--edge)}.hub-tabs [aria-pressed=true]{background:var(--accent);color:#fff}.online-connection{color:var(--accent)}#online-error{color:#9b4632}.async-deadline{color:var(--ink)}body[data-desktop-view='star-map'] #online-screen{background:linear-gradient(#17151ecc,#17151ee8),url(visuals/cosmos-redesign.webp) center/cover}.event-ribbon{background:var(--paper);border-color:var(--edge)}.event-ribbon-card,.event-next{color:var(--ink);background:linear-gradient(110deg,var(--surface),var(--paper));border-color:var(--copper);border-radius:15px;box-shadow:inset 0 0 0 3px #b8915c15,0 3px 5px var(--shadow)}.event-ribbon-copy small,.event-next .event-ribbon-copy small,.event-ribbon-effect,.action-event-note{color:var(--soft-ink)}
@media(min-width:951px){
 body.desktop-play{grid-template-rows:96px 34px minmax(0,1fr)}.desktop-play header{height:96px}.desktop-play.has-round-event{grid-template-rows:96px 34px auto minmax(0,1fr)}.desktop-play #players{height:77px}.desktop-play #players .player{background:linear-gradient(140deg,#302f3c,#1c1d28);color:#f4e7cc;border-color:#947455;box-shadow:inset 0 0 0 3px #94745526,0 5px 9px #442e3550;border-radius:20px}.desktop-play #players small{color:#eadbc3}.desktop-play #players .seat-label{color:#eadbc3}.desktop-play #players .player-income{border-top:1px solid #9b805155;display:block;color:#d6c5a7;margin-top:3px;padding-top:3px;font-size:10px;white-space:nowrap}.desktop-play #players .player-income .sw-symbol{width:12px;height:12px}.desktop-play[data-desktop-view='star-map'] #players{height:77px}.desktop-play[data-desktop-view='star-map'] #players .player{padding:7px 10px}
 .desktop-play #desktop-toolbar{background:color-mix(in srgb,var(--paper) 80%,transparent);padding-block:0}.desktop-play .world .caption>strong{display:table;margin:0 auto;padding:4px 20px;border:1px solid var(--copper);border-radius:18px 18px 24px 24px;background:linear-gradient(var(--surface),var(--paper));box-shadow:0 3px 4px var(--shadow)}.desktop-play .world-meta{background:#2b2735;border:1px solid var(--copper);border-radius:10px;color:#f1e3cc;padding:4px 10px;position:relative;margin-top:-2px}.desktop-play .world-meta .world-yield{color:#f1e3cc}.desktop-play .world-meta .mini-piece.vacant{opacity:.36}
 .desktop-play[data-desktop-view='star-map'] .world .world-meta{background:#211e2b;border:1px solid var(--copper)}.desktop-play[data-desktop-view='command'] .world .caption>strong{display:block;text-align:left;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.desktop-play[data-desktop-view='command'] .world .world-meta{background:none;border:0;padding:0;color:var(--ink)}.desktop-play[data-desktop-view='command'] .world-meta .world-yield{color:var(--ink)}
 #desktop-inspector{align-self:start;max-height:calc(100% - 40px);height:auto;box-sizing:border-box}#desktop-inspector .inspector-overview{border-color:var(--edge)}.desktop-play #actionbar .action-emblem{background:radial-gradient(circle at 35% 25%,#4a4552,#262533 75%);border:3px solid var(--copper);box-shadow:inset 0 0 0 3px #c8a87766,0 5px 0 #8c643e,0 9px 9px var(--shadow);width:69px;height:69px;padding:13px}.desktop-play #actionbar .action-cost{border:1px solid var(--copper);background:var(--surface);padding:4px 10px;border-radius:14px;min-height:20px;box-shadow:0 3px 3px var(--shadow)}.desktop-play #actionbar button{gap:3px;min-height:125px}#desktop-dock{border-radius:55px 55px 0 0}
 .desktop-play .world.hidden .caption>strong{font-size:16px}.desktop-play .world .art::after{content:'';position:absolute;inset:6% 3% 5%;border-radius:50%;border:3px solid #be955d;box-shadow:0 5px 0 #8c643e,0 10px 10px #52382440;z-index:-1;background:#c5a06b35}.desktop-play[data-desktop-view='star-map'] .world .art::after,.desktop-play[data-desktop-view='command'] .world .art::after{display:none}
 .desktop-play[data-desktop-view='tabletop'] .world .art{height:calc(var(--world-size)*.78)}
}
@media(min-width:951px) and (max-width:1250px){.desktop-play #actionbar .action-emblem{width:40px;height:40px;padding:9px}.desktop-play #players .player-income{font-size:9px}.desktop-play .world .caption>strong{font-size:16px;padding-inline:12px}}
@media(min-width:951px){body.desktop-play.has-round-event{grid-template-rows:96px 34px auto minmax(0,1fr)}#online-toolbar-open{margin-left:auto;min-height:27px;padding:3px 16px;font-size:13px}#desktop-menu{margin-left:0}.desktop-play[data-desktop-view='tabletop'] #desktop-shell{grid-template-rows:minmax(0,1fr) 160px}.desktop-play[data-desktop-view='command'] #desktop-shell{grid-template-rows:minmax(0,1fr) 160px}.desktop-play[data-desktop-view='star-map'] #desktop-shell{grid-template-rows:minmax(0,1fr) 160px}}
body.phone-play[data-phone-view='star-map']{--paper:#17151e;--surface:#28232bee;--ink:#f1e3cc;--soft-ink:#baaa9f;--copper:#cc9d66;--edge:#816647;--accent:#68d0cc;--shadow:#0009}
body.phone-play{background:var(--paper)}.phone-play #phone-shell{background:linear-gradient(150deg,var(--surface),var(--paper))}.phone-play #phone-top,.phone-play #phone-hud,.phone-play #phone-tabs{background:var(--surface);border-color:var(--edge);color:var(--ink)}.phone-play #phone-view{color:var(--ink);background:var(--paper);border-color:var(--edge)}.phone-play .phone-phase,.phone-play .phone-hero-card>small,.phone-disclosure summary{color:var(--soft-ink)}.phone-play #phone-tabs button{color:var(--ink)}.phone-play #phone-tabs button[aria-pressed=true]{background:color-mix(in srgb,var(--surface) 75%,var(--accent));color:var(--ink);border-radius:12px}.phone-play .phone-hero-card,.phone-play #phone-company-summary,.phone-play #production,.phone-play #end,.phone-play #botstatus,.phone-play #selected,.phone-play #research,.phone-play #civilization,.phone-play #trade,.phone-play #desktop-save,.phone-play #history,.phone-play #productionboard,.phone-play #guide,.phone-play #roundevents{background:var(--surface);color:var(--ink);border-color:var(--edge);border-radius:18px}.phone-play #phone-world-actions{background:var(--accent);color:#fff}.phone-play .world{background:var(--surface);color:var(--ink);border-color:var(--edge)}.phone-play[data-phone-view=tabletop] #phone-planets{background:url(visuals/tabletop-redesign.webp) center/cover}.phone-play[data-phone-view=tabletop] .world:not(.hidden) .art:before{background-image:url(visuals/planet-atlas-redesign.webp)}.phone-play[data-phone-view=tabletop] .world.hidden .art{background:radial-gradient(#e1d7c6,#a59a8c)!important;color:var(--ink)}.phone-play[data-phone-view=star-map] #phone-planets{background:url(visuals/cosmos-redesign.webp) center/cover}.phone-play[data-phone-view=star-map] .world:not(.hidden) .art{background:none!important;box-shadow:none}.phone-play[data-phone-view=star-map] .world:not(.hidden) .art:before{content:'';position:absolute;inset:0;background:url(visuals/planet-atlas-redesign.webp) var(--atlas-x) var(--atlas-y)/500% 200%;filter:drop-shadow(0 5px 8px #0008)}.phone-play .world .colony-site strong,.phone-play .world .rover-marker small{background:var(--surface);color:var(--ink)}.phone-play #actionbar button{border-color:var(--copper);background:linear-gradient(var(--surface),var(--paper));color:var(--ink);border-radius:18px}.phone-play #actionbar .action-emblem{padding:5px;background:#302c39;border:2px solid var(--copper);border-radius:50%;box-sizing:content-box}.phone-play .phone-disclosure{border-color:var(--edge)}
/* Keep preview confirmation visible at normal desktop heights. */
dialog{max-height:90dvh;padding:26px}.preview-scene{height:105px;margin:4px 0 10px}.preview-planet{width:135px;height:105px}.preview-scene>.sw-symbol{width:54px;height:54px}dialog h2{margin-bottom:10px}dialog p{margin-block:9px}.access-choice{margin-block:10px;padding:10px}.access-choice label{padding:8px;margin:4px 0}dialog .resource{margin:12px 0}dialog .resource>div{padding:10px}.notice{margin-block:10px;padding:10px}
.research-card,.research-card.damage,.research-card.deposit,.round-event,.round-event.forecast,.trait-detail,.event-detail,.role-letter,.role-owner,.your-access,.installation-entry,.installation-panel,.effect-notice{background:linear-gradient(145deg,var(--surface),var(--paper));border-color:var(--edge);color:var(--ink)}.round-event small,.round-event.adverse small,.installation-entry span,.map-role-benefit,.tie-stats,.your-access strong{color:var(--soft-ink)}.installation-badge,.mini-installation{background:var(--surface);border-color:var(--edge);color:var(--ink)}.production-table th,.production-table td{background:var(--surface);color:var(--ink);border-color:var(--edge)}.production-total{background:var(--paper)!important;color:var(--ink)!important}#events p{border-color:var(--edge)}
@media(min-width:951px){.desktop-play .inspector-disclosure .access-role{background:var(--paper);color:var(--ink)}.desktop-play #desktop-board-status #production{border-radius:20px;box-shadow:0 4px 9px var(--shadow)}.desktop-play[data-desktop-view='command'] #desktop-company:before{background-image:var(--company-symbol);background-size:cover;background-position:center}.desktop-play #desktop-company .eyebrow{color:var(--soft-ink)}}
body.phone-play{--paper:#f2e8d5;--surface:#fff8e9;--ink:#49382e;--soft-ink:#756450;--copper:#b58b5d;--edge:#c8ac81;--accent:#268c91;--shadow:#69452635}
.phone-play[data-phone-view='star-map'] .world.hidden .art{background:radial-gradient(circle at 30% 25%,#706878,#38313e 60%,#17151e);color:var(--soft-ink);box-shadow:inset -12px -8px 20px #0008,0 0 10px #d6ab7622}
@media(min-width:951px){.desktop-play[data-desktop-view='command'] .worlds{align-items:stretch}.desktop-play[data-desktop-view='command'] .world .art{max-height:none}}

.component-dialog .event-flavour {
  border-inline-start: 2px solid currentColor;
  padding-inline-start: .65em;
  font-size: .875em;
  line-height: 1.45;
}
