/* Measured Playful Tabletop composition, reference 1586 × 992. */
.painted-piece,.painted-action,.painted-action-label,.faithful-inspector-more{display:none}
@media(min-width:951px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop'],body.desktop-play.faithful-target[data-desktop-view='tabletop'].has-round-event{display:grid;grid-template-rows:120px minmax(0,1fr);background:#bbb1a9 url(visuals/faithful/background.webp) center/cover no-repeat;color:#281c14}
 .faithful-target[data-desktop-view='tabletop'] header{height:120px;background:none;border:0;padding:10px 18px 10px 24px;gap:20px;align-items:flex-start;position:relative;z-index:7}.faithful-target[data-desktop-view='tabletop'] .brand{width:310px;flex-basis:310px;margin-top:5px}.faithful-target[data-desktop-view='tabletop'] .brand-logo{width:310px;height:80px;max-width:100%}.faithful-target[data-desktop-view='tabletop'] #desktop-top-players{flex:0 1 690px;max-width:calc(100% - 550px)}.faithful-target[data-desktop-view='tabletop'] #players{height:99px;gap:17px}.faithful-target[data-desktop-view='tabletop'] #players .player{border-radius:24px 24px 18px 18px;padding:11px 13px;max-width:224px;min-width:110px;border:1px solid #9d7a47;background:linear-gradient(145deg,#334552eb,#182734eb);box-shadow:inset 0 0 0 3px #ffffff0e,0 5px 12px #281a2860}.faithful-target[data-desktop-view='tabletop'] #players .player:nth-child(2){background:linear-gradient(145deg,#54452cea,#29241dea)}.faithful-target[data-desktop-view='tabletop'] #players .player:nth-child(3){background:linear-gradient(145deg,#554565ea,#2e253aea)}.faithful-target[data-desktop-view='tabletop'] #players .player strong{font-size:19px;font-weight:500;letter-spacing:.5px}.faithful-target[data-desktop-view='tabletop'] #players .company-symbol{width:44px;height:44px;border-radius:50%;border:1px solid var(--p);box-shadow:0 0 8px color-mix(in srgb,var(--p) 30%,transparent)}.faithful-target[data-desktop-view='tabletop'] #players .company-name{gap:10px}.faithful-target[data-desktop-view='tabletop'] #players .player>small:not(.player-income){font-size:16px;padding-left:49px;line-height:1.5;margin-top:-13px;display:block;color:#f5e8d1}.faithful-target[data-desktop-view='tabletop'] #players .player>small .game-icon{width:19px;height:19px}.faithful-target[data-desktop-view='tabletop'] #players .player-income{font-size:13px;text-align:center;color:#f5e8d1;margin-top:8px;padding-top:4px}.faithful-target[data-desktop-view='tabletop'] #players .seat-label{font-size:9px;top:2px;right:10px}
 .faithful-target[data-desktop-view='tabletop'] #round{position:absolute;right:38px;top:20px;width:94px;height:90px;background:radial-gradient(ellipse,#fff0d6,#e7cba4);border:2px solid #98774e;box-shadow:inset 0 0 0 4px #f8e6cc,inset 0 0 0 5px #b7966b,0 5px 9px #3c2a3550;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0;color:#241a14;font-size:15px}.faithful-target[data-desktop-view='tabletop'] #round strong{font-size:30px;font-weight:400;line-height:1.2}.faithful-target[data-desktop-view='tabletop'] #round small{font-size:14px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-toolbar{position:absolute;inset:0 0 auto;height:120px;background:none;border:0;padding:0;pointer-events:none;z-index:10;display:block}.faithful-target[data-desktop-view='tabletop'] .desktop-location{display:none}.faithful-target[data-desktop-view='tabletop'] #desktop-phase{position:absolute;right:45px;top:116px;color:#3c291b;font-size:12px}.faithful-target[data-desktop-view='tabletop'] #desktop-phase #phase{font-size:11px;background:#f7e5cddd;border:1px solid #b08b58;border-radius:8px;padding:3px 7px}.faithful-target[data-desktop-view='tabletop'] #desktop-menu{position:absolute;right:4px;top:47px;pointer-events:auto}.faithful-target[data-desktop-view='tabletop'] #desktop-menu>summary{width:32px;height:32px;padding:0;overflow:hidden;font-size:0;border-radius:50%;background:#352b30;border:1px solid #aa8655;box-shadow:0 2px 5px #0006}.faithful-target[data-desktop-view='tabletop'] #desktop-menu>summary:after{content:'⚙';font-size:23px;position:absolute;inset:0;display:grid;place-items:center;color:#efd5b5}.faithful-target[data-desktop-view='tabletop'] #desktop-menu>summary span{display:none}.faithful-target[data-desktop-view='tabletop'] .game-menu-content{top:45px}.faithful-target[data-desktop-view='tabletop'] #online-toolbar-open{position:absolute;right:2px;top:94px;pointer-events:auto;padding:3px 9px;font-size:11px;background:#f7e5cddd;color:#3c291b}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon:not([hidden]){position:absolute;right:150px;top:25px;width:350px;display:block;padding:0;border:0;background:none;z-index:8}.faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-next{display:none}.faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-current{background:linear-gradient(140deg,#fcebd1,#e5c399);min-height:76px;border-radius:3px;clip-path:polygon(0 4%,8% 8%,18% 0,35% 4%,65% 0,84% 7%,100% 2%,97% 24%,100% 90%,82% 97%,63% 94%,45% 100%,20% 94%,0 100%,3% 60%);border:1px solid #ab8654;box-shadow:inset 0 0 0 3px #8f663526,0 3px 6px #0006;padding:10px 12px;gap:9px;color:#281c14}.faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-ribbon-copy{display:block}.faithful-target[data-desktop-view='tabletop'] .event-ribbon-copy>small{display:none}.faithful-target[data-desktop-view='tabletop'] .event-ribbon-copy>strong{font-size:16px;font-weight:500;display:block}.faithful-target[data-desktop-view='tabletop'] .event-ribbon-effect{font-size:12px;line-height:1.4;display:block;color:#3a2b1f;margin-top:4px}.faithful-target[data-desktop-view='tabletop'] .event-ribbon-delta{font-size:12px}.faithful-target[data-desktop-view='tabletop'] .event-ribbon-card>img{width:45px;height:45px;opacity:.65;filter:sepia(1);border-radius:50%}
 .faithful-target[data-desktop-view='tabletop'] main{grid-row:2}.faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr) 210px;background:none}.faithful-target[data-desktop-view='tabletop'] .desktop-board{background:none;padding:0 0 0 90px}.faithful-target[data-desktop-view='tabletop'] #desktop-planets{overflow:auto;scrollbar-width:none}.faithful-target[data-desktop-view='tabletop'] .worlds{gap:0 7px;padding:0;align-content:space-evenly;min-height:100%;align-items:start}.faithful-target[data-desktop-view='tabletop'] .world .art{height:calc(var(--world-size)*.72);width:var(--world-size);max-width:100%;isolation:isolate}.faithful-target[data-desktop-view='tabletop'] .world:not(.hidden) .art:before{background-image:url(visuals/faithful/pucks.webp);background-size:500% 200%;background-position:var(--atlas-x) var(--atlas-y);width:100%;height:var(--world-size);inset:auto;left:0;top:calc(var(--world-size)*var(--puck-trim,-.25));filter:drop-shadow(0 9px 5px #39292270);pointer-events:none;z-index:0}.faithful-target[data-desktop-view='tabletop'] .world .art:after{display:none}.faithful-target[data-desktop-view='tabletop'] .world.selected:not(.hidden) .art:before{filter:drop-shadow(0 0 3px #afffff) drop-shadow(0 0 7px #20c7d8) drop-shadow(0 7px 5px #39292270)}.faithful-target[data-desktop-view='tabletop'] .world.selected:after{display:none}.faithful-target[data-desktop-view='tabletop'] .world .caption{margin:-14px auto 0;padding:0;min-height:55px;max-width:none;z-index:4}.faithful-target[data-desktop-view='tabletop'] .world .caption>strong{width:210px;max-width:95%;height:47px;box-sizing:border-box;display:grid;place-items:center;padding:0 18px 5px;margin:auto;background:url(visuals/faithful/world-plaque.svg) center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;font-size:20px;color:#26190f;font-weight:500;position:relative;z-index:1}.faithful-target[data-desktop-view='tabletop'] .world-meta{margin:-13px auto 0;padding:3px 10px;height:28px;min-height:0;border:1px solid #b88c55;box-shadow:inset 0 0 0 2px #fff1,0 3px 3px #3d281d80;border-radius:8px;position:relative;z-index:2;gap:6px;background:linear-gradient(#393236,#231e26)}.faithful-target[data-desktop-view='tabletop'] .world-meta .mini-piece .sw-symbol{width:21px;height:21px}.faithful-target[data-desktop-view='tabletop'] .mini-piece.occupied:after{display:none}.faithful-target[data-desktop-view='tabletop'] .mini-piece.vacant{display:none}.faithful-target[data-desktop-view='tabletop'] .mini-vehicles:has(.vacant){display:none}.faithful-target[data-desktop-view='tabletop'] .caption>.trait-face{right:1%;top:5px;width:21px;height:21px;border-radius:5px;opacity:.85}.faithful-target[data-desktop-view='tabletop'] .caption>.trait-face img{height:16px}
 .faithful-target[data-desktop-view='tabletop'] .world .colony-sites{display:block;inset:0;z-index:3}.faithful-target[data-desktop-view='tabletop'] .world .colony-site{position:absolute;width:calc(var(--world-size)*.24);height:calc(var(--world-size)*.27);max-width:none;display:block;filter:drop-shadow(0 4px 2px #33201b99)}.faithful-target[data-desktop-view='tabletop'] .world .colony-site:nth-child(1){left:27%;top:7%}.faithful-target[data-desktop-view='tabletop'] .world .colony-site:nth-child(2){left:64%;top:45%}.faithful-target[data-desktop-view='tabletop'] .world .colony-site .colony-art,.faithful-target[data-desktop-view='tabletop'] .world .colony-site>strong{display:none}.faithful-target[data-desktop-view='tabletop'] .world .colony-site .installation-badge{right:-6px;top:auto;bottom:0}.faithful-target[data-desktop-view='tabletop'] .world .rover-markers{display:flex;left:45%;right:5%;top:44%;gap:5px}.faithful-target[data-desktop-view='tabletop'] .world .rover-marker{width:60px;height:48px;display:block;filter:drop-shadow(0 4px 2px #39291f88)}.faithful-target[data-desktop-view='tabletop'] .world .rover-marker>.sw-symbol,.faithful-target[data-desktop-view='tabletop'] .world .rover-marker>small{display:none}.faithful-target[data-desktop-view='tabletop'] .world .painted-rover,.faithful-target[data-desktop-view='tabletop'] .world .painted-drone{width:100%;height:100%}.faithful-target[data-desktop-view='tabletop'] .rover-marker.damaged .painted-piece{filter:grayscale(.9);opacity:.7}.faithful-target[data-desktop-view='tabletop'] .rover-marker.damaged:after{content:'×';position:absolute;right:0;top:0;background:#c83f45;color:#fff;border-radius:50%;width:18px;height:18px;line-height:18px;font-size:18px}
 .faithful-target[data-desktop-view='tabletop'] .painted-piece{display:block;width:100%;height:100%;background:url(visuals/faithful/pieces.webp) var(--piece-x) var(--piece-y)/400% 200% no-repeat}.faithful-target[data-desktop-view='tabletop'] .painted-piece.owner-3{filter:hue-rotate(155deg)}.faithful-target[data-desktop-view='tabletop'] .painted-colony.owner-2[style*='100%']{filter:hue-rotate(85deg)}.faithful-target[data-desktop-view='tabletop'] .painted-colony.owner-4[style*='100%']{filter:hue-rotate(280deg)}
 .faithful-target[data-desktop-view='tabletop'] #desktop-inspector{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-self:start;height:auto;max-height:calc(100% - 12px);margin:12px 22px 0 0;padding:18px 18px 16px;background:url(visuals/faithful/inspector-frame.svg) center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:0 7px 15px #3a25274d;box-sizing:border-box;scrollbar-width:thin}.faithful-target[data-desktop-view='tabletop'] .inspector-tabs{position:static;order:3;margin:8px 0 0;padding:0;background:none;gap:5px}.faithful-target[data-desktop-view='tabletop'] .inspector-tabs button{font-size:11px;border-radius:7px;min-height:30px;padding:4px;background:#ead0ad;border-color:#be9c6f}.faithful-target[data-desktop-view='tabletop'] #selected{display:flex;flex-direction:column}.faithful-target[data-desktop-view='tabletop'] #selected h2{font-size:26px;line-height:1.1;margin:0 0 9px;font-weight:500;order:-3;color:#24190f}.faithful-target[data-desktop-view='tabletop'] #selected .worldportrait{height:132px;border-radius:4px;border-color:#ba9063;margin:0 0 6px;order:-2}.faithful-target[data-desktop-view='tabletop'] #selected>p{display:none}.faithful-target[data-desktop-view='tabletop'] #selected[data-revealed=false]>p{display:block}.faithful-target[data-desktop-view='tabletop'] .inspector-disclosure:has(.world-lore){order:-1;padding:0;margin:0;border:0;background:none}.faithful-target[data-desktop-view='tabletop'] .inspector-disclosure:has(.world-lore)>summary{display:none}.faithful-target[data-desktop-view='tabletop'] #selected .world-lore{font-size:14px;line-height:1.35;margin:4px 0 12px;color:#332519}.faithful-target[data-desktop-view='tabletop'] #selected>.inspector-disclosure:not(:has(.world-lore)){display:none}.faithful-target[data-desktop-view='tabletop'] #selected.faithful-details-open>.inspector-disclosure{display:block}.faithful-target[data-desktop-view='tabletop'] .inspector-overview{border:0;margin:0;padding:0;display:block}.faithful-production,.faithful-colonies{border-top:1px solid #b49167;padding:12px 0;color:#302117}.faithful-production>span,.faithful-colonies>span{display:block;font-size:15px;margin-bottom:7px}.faithful-production strong{display:flex;align-items:center;gap:6px;font-size:23px;font-weight:400}.faithful-production strong>.sw-symbol{width:28px;height:28px}.faithful-production>small{font-size:11px;color:#73533b}.faithful-colonies>div{display:flex;justify-content:space-around;gap:8px}.faithful-owner{width:90px;display:flex;flex-direction:column;text-align:center}.faithful-owner>.painted-piece{height:77px;flex:none}.faithful-owner>small{font-size:13px;color:#302117}.faithful-owner img{display:none}.faithful-target[data-desktop-view='tabletop'] .faithful-inspector-more{display:block;font-size:11px;padding:4px 7px;min-height:27px;border-radius:6px;background:#eddbc4;margin-top:3px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-dock{grid-column:1/-1;grid-row:2;display:block;width:min(1020px,calc(100% - 390px));margin-left:220px;padding:0 15px 24px;background:linear-gradient(170deg,#ead6b58c,#d0b59a80);border:2px solid #c0aa8b;border-bottom:0;border-radius:140px 140px 20px 20px;box-shadow:inset 0 3px #ffedc9,0 9px 0 #907768,0 15px 20px #3d292650;align-self:end;min-height:178px;box-sizing:border-box;z-index:5}.faithful-target[data-desktop-view='tabletop'] #desktop-hud{display:none}.faithful-target[data-desktop-view='tabletop'] #actionbar{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;padding:0;transform:translateY(-7px)}.faithful-target[data-desktop-view='tabletop'] #actionbar button{position:relative;min-height:170px;display:flex;flex-direction:column;justify-content:flex-start;gap:0;color:#21170f;border:0;background:none;padding:0;box-shadow:none;overflow:visible;line-height:1.2;border-radius:0}.faithful-target[data-desktop-view='tabletop'] #actionbar .action-emblem{display:none}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{display:block;flex:none;width:150px;height:150px;max-width:100%;background:url(visuals/faithful/medallions.webp) var(--medallion-x) 50%/500% auto no-repeat;filter:drop-shadow(0 5px 3px #3a251e80);transition:transform .2s}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{display:block;text-align:center;position:relative;z-index:2;font-size:20px;font-weight:500;padding:7px 5px 25px;width:150px;max-width:100%;margin-top:-34px;background:url(visuals/faithful/world-plaque.svg) center/100% 100% no-repeat;color:#21170f}.faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost{font-size:17px;line-height:1.1;margin-top:-28px;position:relative;z-index:3;background:none;border:0;box-shadow:none;padding:0 5px;color:#2d2117;display:flex;align-items:center;gap:2px;justify-content:center;min-height:25px}.faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost .sw-symbol{width:23px;height:23px}.faithful-target[data-desktop-view='tabletop'] #actionbar .action-event-note{font-size:10px;position:relative;margin-top:3px;color:#4a301a}.faithful-target[data-desktop-view='tabletop'] #actionbar button:hover:not(:disabled){transform:none;filter:brightness(1.06)}.faithful-target[data-desktop-view='tabletop'] #actionbar button:hover:not(:disabled) .painted-action{transform:translateY(-5px)}.faithful-target[data-desktop-view='tabletop'] #toast{bottom:215px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-board-status #production{padding:10px 16px;margin:0 24px 10px 0;background:#f3dec3f0;border:1px solid #b79569}.faithful-target[data-desktop-view='tabletop'] #desktop-drawer{right:302px;top:12px;bottom:220px}.faithful-target[data-desktop-view='tabletop'] .unknown-orbit{width:91%;height:87%;margin-top:3%;background:radial-gradient(ellipse at 40% 30%,#c8c1b9,#9a9091 65%,#6f6264);border:3px solid #c6a575;box-shadow:0 5px 0 #8b6740,0 10px 10px #34242860;transform:none}.faithful-target[data-desktop-view='tabletop'] .world.hidden .caption{margin-top:-6px}
}
@media(min-width:951px) and (max-width:1350px){.faithful-target[data-desktop-view='tabletop'] .brand{width:240px;flex-basis:240px}.faithful-target[data-desktop-view='tabletop'] .brand-logo{width:240px}.faithful-target[data-desktop-view='tabletop'] #desktop-top-players{max-width:calc(100% - 400px)}.faithful-target[data-desktop-view='tabletop'] #players{gap:7px}.faithful-target[data-desktop-view='tabletop'] #players .player{padding:10px 7px}.faithful-target[data-desktop-view='tabletop'] #players .company-symbol{width:30px;height:30px}.faithful-target[data-desktop-view='tabletop'] #players .player strong{font-size:15px}.faithful-target[data-desktop-view='tabletop'] #players .player>small:not(.player-income){padding-left:35px;font-size:12px;margin-top:-5px}.faithful-target[data-desktop-view='tabletop'] #players .player-income{font-size:10px}.faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon:not([hidden]){right:150px;top:88px;width:300px}.faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-current{min-height:52px;padding:6px 8px}.faithful-target[data-desktop-view='tabletop'] .event-ribbon-effect{font-size:10px}.faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-columns:minmax(0,1fr) 255px;grid-template-rows:minmax(0,1fr) 190px}.faithful-target[data-desktop-view='tabletop'] .desktop-board{padding-left:35px}.faithful-target[data-desktop-view='tabletop'] #desktop-dock{margin-left:130px;width:calc(100% - 260px);padding-inline:8px}.faithful-target[data-desktop-view='tabletop'] #actionbar{gap:5px}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{width:130px;height:130px}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{width:135px;font-size:18px}.faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost{font-size:14px}.faithful-target[data-desktop-view='tabletop'] .world .caption>strong{width:180px;font-size:18px}.faithful-target[data-desktop-view='tabletop'] #desktop-drawer{right:280px;width:calc(100% - 305px)}}
@media(min-width:951px) and (max-height:750px){.faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-rows:minmax(0,1fr) 165px}.faithful-target[data-desktop-view='tabletop'] #desktop-dock{min-height:140px}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{width:110px;height:110px}.faithful-target[data-desktop-view='tabletop'] #actionbar button{min-height:145px}.faithful-target[data-desktop-view='tabletop'] #selected .worldportrait{height:105px}}
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] .world:not(.hidden) .art:before{inset:0;width:100%;height:100%;background-size:var(--puck-size);background-position:var(--puck-x) var(--puck-y)}
 .faithful-target[data-desktop-view='tabletop'] .faithful-owner>.painted-piece{height:80px;width:90px;flex:none}
 .faithful-target[data-desktop-view='tabletop'] .faithful-owner{height:auto;min-height:100px;flex:none}
 .faithful-target[data-desktop-view='tabletop'] #selected .world-lore{font-size:13px;line-height:1.3;margin:3px 0 8px}
 .faithful-target[data-desktop-view='tabletop'] .faithful-production,.faithful-target[data-desktop-view='tabletop'] .faithful-colonies{padding:9px 0}
 .faithful-target[data-desktop-view='tabletop'] .faithful-production>small{display:none}
 .faithful-target[data-desktop-view='tabletop'] #selected .faithful-inspector-more{position:absolute;right:23px;top:17px;font-size:0;width:20px;height:20px;min-height:0;padding:0;border-radius:50%;z-index:4}
 .faithful-target[data-desktop-view='tabletop'] #selected .faithful-inspector-more:after{content:'i';font-size:13px;font-style:italic}
 .faithful-target[data-desktop-view='tabletop'] #desktop-inspector{position:relative}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{width:170px;height:70px;box-sizing:border-box;padding:10px 2px 25px;margin-top:-33px;font-size:21px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost{margin-top:-32px;font-size:17px;min-height:25px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar{padding-top:1px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-dock{min-height:175px;padding-bottom:18px;background:linear-gradient(175deg,#efe1c899,#c2b3a48c);border-radius:110px 110px 12px 12px}
}
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] .world .caption{margin-top:-42px}
 .faithful-target[data-desktop-view='tabletop'] .painted-colony.owner-4:not(.is-developed){filter:none}
 .faithful-target[data-desktop-view='tabletop'] .painted-colony.is-developed.owner-4{filter:hue-rotate(280deg)}
 .faithful-target[data-desktop-view='tabletop'] .painted-rover.owner-1,.faithful-target[data-desktop-view='tabletop'] .painted-drone.owner-1{filter:hue-rotate(210deg)}
 .faithful-target[data-desktop-view='tabletop'] .painted-rover.owner-2,.faithful-target[data-desktop-view='tabletop'] .painted-drone.owner-2{filter:hue-rotate(85deg)}
 .faithful-target[data-desktop-view='tabletop'] .painted-rover.owner-4,.faithful-target[data-desktop-view='tabletop'] .painted-drone.owner-4{filter:hue-rotate(280deg)}
 .faithful-target[data-desktop-view='tabletop'] .preview-planet{width:165px;height:120px;background-image:url(visuals/faithful/pucks.webp);background-size:var(--puck-size);background-position:var(--puck-x) var(--puck-y)}
 .faithful-target[data-desktop-view='tabletop'] .preview-scene{height:130px}
 .faithful-target[data-desktop-view='tabletop'] .preview-scene>.painted-piece{position:absolute;width:65px;height:70px;left:calc(50% + 20px);bottom:2px;filter:drop-shadow(0 5px 3px #66423280)}
}
@media(min-width:951px){.faithful-target[data-desktop-view='tabletop'] #desktop-inspector{background-image:url(visuals/faithful/frame.webp);padding:24px 20px 22px;box-shadow:none}.faithful-target[data-desktop-view='tabletop'] #selected .worldportrait{height:125px}.faithful-target[data-desktop-view='tabletop'] .faithful-colonies{padding-bottom:5px}.faithful-target[data-desktop-view='tabletop'] .faithful-colonies .faithful-owner>.painted-piece{height:73px}.faithful-target[data-desktop-view='tabletop'] .faithful-owner{min-height:93px}}
.faithful-tab-icon{display:none}
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] .inspector-tabs{position:absolute;top:27px;right:273px;display:flex;flex-direction:column;gap:7px;width:27px;z-index:8;margin:0;padding:0;background:none}
 .faithful-target[data-desktop-view='tabletop'] .inspector-tabs button{flex:none;width:27px;height:27px;min-height:27px;padding:2px;border-radius:50%;background:#f0dcc0;border:1px solid #a88150;box-shadow:0 3px 5px #4b303744}
 .faithful-target[data-desktop-view='tabletop'] .faithful-tab-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .faithful-target[data-desktop-view='tabletop'] .faithful-tab-icon{display:block}.faithful-target[data-desktop-view='tabletop'] .faithful-tab-icon .sw-symbol{width:20px;height:20px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-inspector{padding:22px 20px 20px}
 .faithful-target[data-desktop-view='tabletop'] .faithful-production{padding:7px 0}.faithful-target[data-desktop-view='tabletop'] .faithful-production>span{font-size:14px;margin-bottom:4px}.faithful-target[data-desktop-view='tabletop'] .faithful-production strong{font-size:20px}.faithful-target[data-desktop-view='tabletop'] .faithful-production strong>.sw-symbol{width:24px;height:24px}
 .faithful-target[data-desktop-view='tabletop'] .faithful-colonies{padding:9px 0 4px}.faithful-target[data-desktop-view='tabletop'] .faithful-colonies>span{font-size:14px;margin-bottom:2px}.faithful-target[data-desktop-view='tabletop'] .faithful-colonies .faithful-owner>.painted-piece{height:63px}.faithful-target[data-desktop-view='tabletop'] .faithful-owner{min-height:81px}
}
@media(min-width:951px) and (max-width:1350px){.faithful-target[data-desktop-view='tabletop'] .inspector-tabs{right:250px}}
@media(min-width:1351px){.faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-columns:minmax(0,1fr) 270px}.faithful-target[data-desktop-view='tabletop'] .desktop-board{padding-left:120px}.faithful-target[data-desktop-view='tabletop'] #desktop-dock{margin-left:255px}.faithful-target[data-desktop-view='tabletop'] .inspector-tabs{right:263px}}
@media(min-width:951px){.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)){gap:8px}.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player{padding:10px 7px}.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .company-symbol{width:28px;height:28px}.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player strong{font-size:15px}.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player>small:not(.player-income){padding-left:32px;font-size:12px;margin-top:-3px}.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player-income{font-size:9px}}

/* Layout correction: content-sized cards, centered dock and bounded paper labels. */
@media(min-width:951px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop']{grid-template-rows:140px minmax(0,1fr)}
 .faithful-target[data-desktop-view='tabletop'] header{height:140px;padding-top:12px;gap:18px}
 .faithful-target[data-desktop-view='tabletop'] .brand{width:clamp(180px,19vw,310px);flex-basis:clamp(180px,19vw,310px)}
 .faithful-target[data-desktop-view='tabletop'] #desktop-top-players{flex:1;max-width:calc(100% - 510px);padding-right:0}
 .faithful-target[data-desktop-view='tabletop'] #players{height:auto;min-height:112px;gap:12px;align-items:stretch}
 .faithful-target[data-desktop-view='tabletop'] #players .player,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player{min-width:0;max-width:260px;padding:20px 12px 10px;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:25px 29px auto;column-gap:9px;border-radius:22px;overflow:visible}
 .faithful-target[data-desktop-view='tabletop'] #players .company-name{display:contents}
 .faithful-target[data-desktop-view='tabletop'] #players .company-symbol,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .company-symbol{grid-column:1;grid-row:1/3;width:44px;height:44px;align-self:center}
 .faithful-target[data-desktop-view='tabletop'] #players .player strong,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player strong{grid-column:2;font-size:20px;line-height:25px}
 .faithful-target[data-desktop-view='tabletop'] #players .player>small:not(.player-income),.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player>small:not(.player-income){grid-column:2;grid-row:2;padding:0;margin:0;font-size:15px;line-height:28px;white-space:nowrap}
 .faithful-target[data-desktop-view='tabletop'] #players .player-income,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player-income{grid-column:1/-1;grid-row:3;font-size:14px;line-height:22px;white-space:normal;margin-top:5px;padding-top:5px}
 .faithful-target[data-desktop-view='tabletop'] #players .seat-label{font-size:10px;line-height:14px;top:4px;color:#f3dfc3}
 .faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-rows:minmax(0,1fr) 230px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-dock{margin:0 auto;width:min(1100px,calc(100% - 80px));min-height:0;padding:5px 20px 14px;align-self:end;border-radius:100px 100px 22px 22px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar{gap:14px;transform:none;padding:0;align-items:start}
 .faithful-target[data-desktop-view='tabletop'] #actionbar button{min-height:0;align-items:center;gap:0;overflow:visible}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{width:140px;height:140px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .faithful-action-paper{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:82px;width:100%;max-width:195px;padding:10px 13px;margin-top:-9px;background:url(visuals/faithful/world-plaque.svg) center/100% 100% no-repeat;position:relative;z-index:2;gap:3px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{background:none;width:auto;max-width:100%;height:auto;min-height:0;margin:0;padding:0;font-size:20px;line-height:24px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost{margin:0;padding:0;min-height:24px;line-height:24px;font-size:16px;flex-wrap:wrap}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-event-note{margin:0;font-size:11px;line-height:14px}
 .faithful-target[data-desktop-view='tabletop'] .world,.faithful-target[data-desktop-view='tabletop'] .world:hover:not(:disabled),.faithful-target[data-desktop-view='tabletop'] .world.selected{background:transparent!important;box-shadow:none!important;border-color:transparent!important;transform:none;filter:none}
 .faithful-target[data-desktop-view='tabletop'] .world:hover:not(:disabled) .art{filter:drop-shadow(0 0 5px #f4dc9d)}
 .faithful-target[data-desktop-view='tabletop'] .world:focus-visible{outline:0}.faithful-target[data-desktop-view='tabletop'] .world:focus-visible .art{filter:drop-shadow(0 0 7px #45d9e0)}
 .faithful-target[data-desktop-view='tabletop'] .unknown-orbit{background:#bda98d;overflow:hidden;isolation:isolate;border-color:#a47b48}
 .faithful-target[data-desktop-view='tabletop'] .unknown-orbit:before{content:'';position:absolute;inset:-12%;background:url(visuals/faithful/pucks.webp) 1.3% 20%/495.75% 264.3% no-repeat;filter:blur(20px) saturate(.55);opacity:.75;z-index:-2}
 .faithful-target[data-desktop-view='tabletop'] .unknown-orbit:after{inset:0;border:0;background:linear-gradient(#f3e4c04d,#77707840);border-radius:50%;z-index:-1}
 .faithful-target[data-desktop-view='tabletop'] .unknown-orbit>.sw-symbol{opacity:.9;color:#fff6d9;filter:drop-shadow(0 2px 2px #312517)}
 .faithful-target[data-desktop-view='tabletop'] .unknown-orbit>span{color:#fff6df;text-shadow:0 1px 3px #38251c;font-size:10px}
 .faithful-target[data-desktop-view='tabletop'] #botstatus{align-self:center;width:fit-content;max-width:95%;display:flex;align-items:center;gap:18px;border-radius:18px;padding:7px 15px;margin:3px auto 0;background:#f8e9cfdf;border:1px solid #b58b5d;font-size:12px}
 .faithful-target[data-desktop-view='tabletop'] #botstatus>div{display:flex;gap:10px;align-items:center}.faithful-target[data-desktop-view='tabletop'] #botstatus button{font-size:12px;padding:4px 8px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-drawer{left:50%;right:auto;top:20px;bottom:auto;transform:translateX(-50%);width:min(850px,calc(100% - 70px));height:auto;max-height:calc(100% - 45px);padding:30px 35px;background:#f5e7ce url(visuals/faithful/frame.webp) center/100% 100% no-repeat;border:0;border-radius:18px;box-shadow:0 15px 50px #39252570;animation:none}
 .faithful-target[data-desktop-view='tabletop'] #desktop-drawer-content{padding-bottom:12px}.faithful-target[data-desktop-view='tabletop'] .drawer-heading{margin-bottom:16px}
 .faithful-target[data-desktop-view='tabletop'] dialog{background:#f8ebd4 url(visuals/faithful/frame.webp) center/100% 100% no-repeat;border:0;border-radius:20px;box-shadow:0 20px 65px #39252b80;padding:35px;width:min(730px,94vw);max-height:90dvh}
 .faithful-target[data-desktop-view='tabletop'] dialog .resource>div{background:#fff7e366;border:1px solid #c6a476;border-radius:13px}.faithful-target[data-desktop-view='tabletop'] dialog .notice{background:#d5bb8940;border-color:#a77945}.faithful-target[data-desktop-view='tabletop'] dialog #confirm{background:linear-gradient(#ce9d52,#a57737);border-color:#8d622b;color:#251a10}.faithful-target[data-desktop-view='tabletop'] dialog .close:focus{outline-color:#a77945}
}
@media(min-width:951px) and (max-width:1400px){
 .faithful-target[data-desktop-view='tabletop'] #desktop-top-players{max-width:calc(100% - 370px)}
 .faithful-target[data-desktop-view='tabletop'] #players .player,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player{padding-inline:7px;grid-template-columns:30px minmax(0,1fr);column-gap:5px}
 .faithful-target[data-desktop-view='tabletop'] #players .company-symbol,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .company-symbol{width:30px;height:30px}
 .faithful-target[data-desktop-view='tabletop'] #players .player strong{font-size:17px}.faithful-target[data-desktop-view='tabletop'] #players .player>small:not(.player-income){font-size:12px}.faithful-target[data-desktop-view='tabletop'] #players .player-income{font-size:12px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon:not([hidden]){top:145px;width:260px;right:35px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{width:115px;height:115px}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{font-size:17px}.faithful-target[data-desktop-view='tabletop'] #desktop-dock{width:calc(100% - 50px);padding-inline:12px}.faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-rows:minmax(0,1fr) 210px}
}
@media(min-width:951px) and (max-height:760px){.faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-rows:minmax(0,1fr) 175px}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{width:90px;height:90px}.faithful-target[data-desktop-view='tabletop'] #actionbar .faithful-action-paper{min-height:70px;padding:7px 10px}.faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{font-size:16px}}

@media(min-width:951px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop'].has-round-event{grid-template-rows:140px minmax(0,1fr)}
 .faithful-target[data-desktop-view='tabletop'] #desktop-top-players{flex:0 1 calc(100% - clamp(180px,19vw,310px) - 540px);max-width:none}
 .faithful-target[data-desktop-view='tabletop'] #players .player,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player{display:block;position:relative}
 .faithful-target[data-desktop-view='tabletop'] #players .player strong,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player strong{display:block;line-height:25px;padding-left:52px}
 .faithful-target[data-desktop-view='tabletop'] #players .company-name{display:flex;gap:0}
 .faithful-target[data-desktop-view='tabletop'] #players .company-symbol,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .company-symbol{position:absolute;left:12px;top:23px}
 .faithful-target[data-desktop-view='tabletop'] #players .player>small:not(.player-income),.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player>small:not(.player-income){display:block;padding-left:52px;font-size:14px}
 .faithful-target[data-desktop-view='tabletop'] #players .player-income{display:block}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .faithful-action-paper{background-image:url(visuals/faithful/action-paper.svg)}
 .faithful-target[data-desktop-view='tabletop'] #actionbar button{justify-content:flex-start!important}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .faithful-action-paper{height:82px;flex:none;justify-content:center}
 .faithful-target[data-desktop-view='tabletop'] #desktop-drawer:focus-within{outline:none}
}
@media(min-width:951px) and (max-width:1400px){
 .faithful-target[data-desktop-view='tabletop'] #desktop-top-players{flex-basis:calc(100% - clamp(180px,19vw,310px) - 160px)}
 .faithful-target[data-desktop-view='tabletop'] #players .company-symbol,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .company-symbol{left:7px;width:30px;height:30px}
 .faithful-target[data-desktop-view='tabletop'] #players .player strong,.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player strong{padding-left:35px;font-size:16px}
 .faithful-target[data-desktop-view='tabletop'] #players .player>small:not(.player-income),.faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player>small:not(.player-income){padding-left:35px;font-size:12px}
}
@media(min-width:1401px) and (max-width:1900px){
 .faithful-target[data-desktop-view='tabletop'] #desktop-top-players:has(.player:nth-child(4)){flex-basis:calc(100% - 330px - 150px)}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-event-ribbon:not([hidden]){top:145px;right:35px;width:260px}
}

@media(min-width:951px) and (max-width:1900px){
 .faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)){gap:8px}
 .faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player{padding-inline:7px}
 .faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .company-symbol{left:7px;width:28px;height:28px}
 .faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player strong{padding-left:34px;font-size:16px}
 .faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player>small:not(.player-income){padding-left:34px;font-size:12px}
 .faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player>small .game-icon{width:15px;height:15px}
 .faithful-target[data-desktop-view='tabletop'] #players:has(.player:nth-child(4)) .player-income{font-size:12px}
}
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] #actionbar #supply{padding:0;gap:0;min-height:0;border-radius:0;background:none;line-height:1.2}
 .faithful-target[data-desktop-view='tabletop'] #desktop-drawer{padding:35px 55px}
 .faithful-target[data-desktop-view='tabletop'] dialog{padding:40px 50px}
 .faithful-target[data-desktop-view='tabletop'] .unknown-orbit:before{filter:blur(12px) saturate(.65)}
}
@media(min-width:951px) and (max-width:1400px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop'],body.desktop-play.faithful-target[data-desktop-view='tabletop'].has-round-event{grid-template-rows:190px minmax(0,1fr)}
 .faithful-target[data-desktop-view='tabletop'] header{height:190px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon:not([hidden]){top:132px;left:30px;right:auto;width:min(600px,calc(100% - 180px))}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-current{min-height:48px;padding:7px 12px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-ribbon-copy>strong{font-size:14px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-ribbon-effect{font-size:11px;margin-top:0}
}
@media(min-width:1401px) and (max-width:1900px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)),body.desktop-play.faithful-target[data-desktop-view='tabletop'].has-round-event:has(.player:nth-child(4)){grid-template-rows:190px minmax(0,1fr)}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) header{height:190px}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-event-ribbon:not([hidden]){top:132px;left:30px;right:auto;width:600px}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-event-ribbon .event-current{min-height:48px;padding:7px 12px}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-event-ribbon .event-ribbon-copy>strong{font-size:14px}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-event-ribbon .event-ribbon-effect{font-size:11px;margin-top:0}
}
@media(min-width:951px){.faithful-target[data-desktop-view='tabletop'] .world .caption>strong{font-size:clamp(12px,calc(var(--world-size)*.05),20px);white-space:nowrap}}
@media(min-width:2000px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop'],body.desktop-play.faithful-target[data-desktop-view='tabletop'].has-round-event{grid-template-rows:155px minmax(0,1fr)}
 .faithful-target[data-desktop-view='tabletop'] header{height:155px}
 .faithful-target[data-desktop-view='tabletop'] #players{min-height:128px}
 .faithful-target[data-desktop-view='tabletop'] #players .player{max-width:300px}
 .faithful-target[data-desktop-view='tabletop'] #players .player strong{font-size:23px;line-height:29px}
 .faithful-target[data-desktop-view='tabletop'] #players .player>small:not(.player-income){font-size:17px;line-height:32px}
 .faithful-target[data-desktop-view='tabletop'] #players .player-income{font-size:16px;line-height:25px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-dock{width:1400px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-shell{grid-template-rows:minmax(0,1fr) 265px;grid-template-columns:minmax(0,1fr) 330px}
 .faithful-target[data-desktop-view='tabletop'] .inspector-tabs{right:323px}
 .faithful-target[data-desktop-view='tabletop'] #selected .worldportrait{height:170px}
 .faithful-target[data-desktop-view='tabletop'] #selected .world-lore{font-size:15px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{width:165px;height:165px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .faithful-action-paper{max-width:240px;height:90px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{font-size:23px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost{font-size:18px}
}
/* The frame stays outside the clipped, independently scrolling content. */
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] #desktop-inspector{overflow:hidden;min-height:0;padding:28px 22px 30px;max-height:calc(100% - 24px)}
 .faithful-target[data-desktop-view='tabletop'] #desktop-world-panel,.faithful-target[data-desktop-view='tabletop'] #desktop-research-panel{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#aa8455 #ead6b8;flex:0 1 auto;padding:0 6px 8px 0;scroll-padding-block:10px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-inspector #selected{overflow:visible;min-height:0}
 .faithful-target[data-desktop-view='tabletop'] #desktop-drawer{overflow:hidden;display:flex;flex-direction:column}
 .faithful-target[data-desktop-view='tabletop'] #desktop-drawer .drawer-heading{flex:none}
 .faithful-target[data-desktop-view='tabletop'] #desktop-drawer-content{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:8px}
 .faithful-target[data-desktop-view='tabletop'] dialog{overflow:hidden;display:flex;flex-direction:column}
 .faithful-target[data-desktop-view='tabletop'] dialog:not([open]){display:none}
 .faithful-target[data-desktop-view='tabletop'] #modalbody{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:8px}
}

@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] .inspector-tabs{position:static;display:flex;flex-direction:row;width:auto;gap:6px;margin:0 0 8px;flex:none}
 .faithful-target[data-desktop-view='tabletop'] .inspector-tabs button{width:auto;flex:1;min-height:34px;height:auto;border-radius:8px;display:flex;justify-content:center;align-items:center;gap:5px;font-size:12px}
 .faithful-target[data-desktop-view='tabletop'] .faithful-tab-label{position:static;width:auto;height:auto;clip-path:none;overflow:visible}
 .faithful-target[data-desktop-view='tabletop'] .faithful-world-actions{display:flex;gap:6px;margin:0 0 10px;flex:none}
 .faithful-target[data-desktop-view='tabletop'] .faithful-world-actions button{flex:1;padding:6px 5px;font-size:11px;line-height:1.3;background:#f8ecd8;border:1px solid #b28a56;border-radius:8px;min-height:38px}
 .faithful-target[data-desktop-view='tabletop'] #selected>.inspector-disclosure:not(:has(.world-lore)){display:block}
 .faithful-target[data-desktop-view='tabletop'] #selected .faithful-inspector-more{display:none}
 .faithful-target[data-desktop-view='tabletop'] .caption>.trait-face{right:auto;left:50%;transform:translateX(95px);top:6px;width:24px;height:24px}
 .faithful-target[data-desktop-view='tabletop'] .world .caption>strong{padding-inline:25px}
 .faithful-target[data-desktop-view='tabletop'] #round{right:45px;top:12px;width:90px;height:90px}
 .faithful-target[data-desktop-view='tabletop'] #online-toolbar-open{right:8px;top:146px;min-height:25px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-phase{right:44px;top:108px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon:not([hidden]){right:165px}
}

@media(min-width:951px){.faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face{position:static;transform:none;display:inline-flex;width:20px;height:20px;border-radius:4px;margin:0;flex:none}.faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face img{width:18px;height:18px}}
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] .inspector-tabs{order:-2}
 .faithful-target[data-desktop-view='tabletop'] .faithful-world-actions{order:-1}
 .faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face{overflow:hidden;position:relative;left:auto;right:auto;top:auto;bottom:auto}
 .faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face>*:not(img){display:none}
 .faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face>img{position:static;display:block;object-fit:cover;width:18px;height:18px}
}
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face{width:auto;min-width:20px;max-width:60px;gap:3px;align-items:center;overflow:visible}
 .faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face>b{display:inline-flex;position:static;gap:1px;align-items:center;font-size:10px;line-height:15px;padding:0;margin:0;color:#ffe4b1;background:none}
 .faithful-target[data-desktop-view='tabletop'] .world-meta>.trait-face>b .sw-symbol{width:12px;height:12px}
}
/* Context actions get readable wide panels; the world card remains a summary. */
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] header:before{content:'';position:absolute;right:4px;top:20px;width:515px;height:110px;background:url(visuals/faithful/header-wood.svg) center/100% 100% no-repeat;filter:drop-shadow(0 5px 4px #432c2260)}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon:not([hidden]){right:160px;top:25px;width:350px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-current{clip-path:none;background:#ecd3af url(visuals/faithful/action-paper.svg) center/100% 100% no-repeat;border:0;border-radius:3px;padding:12px 20px;min-height:85px;box-shadow:none}
 .faithful-target[data-desktop-view='tabletop'] #round{top:17px;right:45px;width:95px;height:95px}
 .faithful-target[data-desktop-view='tabletop'] #round .round-value{font-family:'Times New Roman',serif;font-variant-numeric:lining-nums tabular-nums;font-size:32px;line-height:38px;display:flex;gap:5px;justify-content:center;align-items:baseline}
 .faithful-target[data-desktop-view='tabletop'] #round .round-value span{font:inherit;line-height:inherit}
 .faithful-target[data-desktop-view='tabletop'] #desktop-phase{right:200px;top:117px;white-space:nowrap}
 .faithful-target[data-desktop-view='tabletop'] #phase{font-size:13px!important;line-height:22px!important;padding:2px 10px!important}
 .faithful-target[data-desktop-view='tabletop'] .phase-value{font-family:'Times New Roman',serif;font-variant-numeric:lining-nums tabular-nums;font-size:15px}
 .faithful-target[data-desktop-view='tabletop'] #online-toolbar-open{right:65px;top:117px;font-size:13px;min-height:28px;line-height:22px;padding:2px 10px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .faithful-action-paper{height:auto;min-height:95px;padding:12px 15px;justify-content:flex-start;gap:3px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-event-note{font-size:11px;line-height:16px;min-height:16px;flex:none;white-space:normal;text-align:center;justify-content:center;margin:0}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost{font-family:'Times New Roman',serif;font-variant-numeric:lining-nums tabular-nums}
 .faithful-target[data-desktop-view='tabletop'] #players .player-income{background:#15192355;border-top:1px solid #c6a56f77;margin-inline:-5px;border-radius:0 0 12px 12px;padding:5px 3px}
 .faithful-target[data-desktop-view='tabletop'] #players .player>small{font-family:'Times New Roman',serif;font-variant-numeric:lining-nums tabular-nums}
 .faithful-target[data-desktop-view='tabletop'] #desktop-inspector{max-height:calc(100% - 24px)}
 .faithful-target[data-desktop-view='tabletop'] .faithful-world-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}
 .faithful-target[data-desktop-view='tabletop'] .faithful-world-actions button:last-child{grid-column:1/-1;min-height:28px}
 .faithful-target[data-desktop-view='tabletop'] #selected>.inspector-disclosure:not(:has(.world-lore)){display:none!important}
 .faithful-target[data-desktop-view='tabletop'] #selected .worldportrait{height:95px;flex:none}
 .faithful-target[data-desktop-view='tabletop'] #selected .world-lore{font-size:12px;line-height:1.3}
 .faithful-target[data-desktop-view='tabletop'] .faithful-colonies .faithful-owner>.painted-piece{height:48px}
 .faithful-target[data-desktop-view='tabletop'] .faithful-owner{min-height:67px}
 .faithful-target[data-desktop-view='tabletop'] #faithful-context{position:absolute;z-index:35;top:20px;left:50%;transform:translateX(-50%);width:min(900px,calc(100% - 80px));max-height:calc(100% - 40px);display:flex;flex-direction:column;min-height:0;padding:35px 55px;background:#f6e8cf url(visuals/faithful/frame.webp) center/100% 100% no-repeat;border-radius:20px;box-shadow:0 20px 60px #35241e80}
 .faithful-context-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;flex:none;border-bottom:1px solid #b18a58;padding-bottom:12px;margin-bottom:14px}
 .faithful-context-heading h2{font-size:26px;margin:0;line-height:1.3}.faithful-context-heading button{width:32px;height:32px;padding:0;border-radius:50%;font-size:23px;flex:none}
 #faithful-context-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:8px}
 #faithful-context-body>.inspector-disclosure{border:0;margin:0;padding:0;background:none}#faithful-context-body>.inspector-disclosure>summary{display:none}
 #faithful-context-body .connection-panel,#faithful-context-body .installation-panel,#faithful-context-body #research{margin:0;padding:0;border:0;background:none}
 #faithful-context-body .connection-roles{display:grid;grid-template-columns:1fr 1fr;gap:16px}#faithful-context-body .access-role{padding:15px}
 #faithful-context-body p{font-size:15px;line-height:1.5}#faithful-context-body h3,#faithful-context-body .role-heading strong{font-size:20px;line-height:1.3}#faithful-context-body button{font-size:15px;min-height:40px}
 #faithful-context-body .trait-panel{display:flex;gap:20px;padding:12px;border:0;background:none}#faithful-context-body .trait-face{width:75px;height:75px;flex:none}
 #faithful-context-body .trait-panel strong{font-size:20px}#faithful-context-body .installation-panel>.row{display:flex;gap:15px}
}
@media(min-width:951px) and (max-width:1400px){
 .faithful-target[data-desktop-view='tabletop'] header:before{top:125px;left:24px;right:auto;width:calc(100% - 50px);height:60px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon:not([hidden]){top:130px;left:30px;right:auto;width:calc(100% - 280px)}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-current{min-height:48px;padding:6px 16px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-phase,.faithful-target[data-desktop-view='tabletop'] #online-toolbar-open{top:143px}
 #faithful-context-body .connection-roles{grid-template-columns:1fr}
}
@media(min-width:1401px) and (max-width:1900px){
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) header:before{top:125px;left:24px;right:auto;width:calc(100% - 50px);height:60px}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-event-ribbon:not([hidden]){top:130px;left:30px;right:auto;width:600px}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-event-ribbon .event-current{min-height:48px;padding:6px 16px}
 .faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #desktop-phase,.faithful-target[data-desktop-view='tabletop']:has(.player:nth-child(4)) #online-toolbar-open{top:143px}
}

@media(min-width:951px){.faithful-target[data-desktop-view='tabletop'] header:before{z-index:-1}.faithful-target[data-desktop-view='tabletop'] #round{z-index:1}}
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-current{background-color:transparent;padding:10px 18px;min-height:85px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-ribbon-copy>strong{font-size:14px;line-height:18px}
 .faithful-target[data-desktop-view='tabletop'] #desktop-event-ribbon .event-ribbon-effect{font-size:11px;line-height:14px;margin-top:3px}
}
/* Logo readability: dark mineral backing stays behind the brand at every crop. */
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] .brand{position:relative;isolation:isolate;padding:8px 12px;margin-left:-12px}
 .faithful-target[data-desktop-view='tabletop'] .brand:before{content:'';position:absolute;inset:-8px -20px -10px -30px;z-index:-1;background:radial-gradient(ellipse at 45% 45%,#211b34e8 15%,#30283dcc 55%,#30283d00 76%);pointer-events:none}
 .faithful-target[data-desktop-view='tabletop'] .brand-logo{filter:drop-shadow(0 2px 2px #130c22) drop-shadow(0 0 7px #181027)}
}
/* Physical integrated tiles; blank art carries live text, never baked costs. */
@media(min-width:951px){
 .faithful-target[data-desktop-view='tabletop'] #desktop-dock{position:relative;isolation:isolate;background:none;border:0;box-shadow:none;padding:4px 30px 20px;border-radius:0}
 .faithful-target[data-desktop-view='tabletop'] #desktop-dock:before{content:'';position:absolute;z-index:-1;inset:0 -20px -10px;background:url(visuals/faithful/stone-dock.webp) center 52.5%/100% 180% no-repeat;filter:drop-shadow(0 8px 5px #37252670);pointer-events:none}
 .faithful-target[data-desktop-view='tabletop'] #actionbar{gap:16px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar button,.faithful-target[data-desktop-view='tabletop'] #actionbar #supply{position:relative;width:100%;aspect-ratio:434.2/423;display:block;min-height:0;padding:0;background:none;box-shadow:none;border:0;transition:transform .18s,filter .18s}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action{display:block;position:absolute;inset:0;width:100%;height:100%;background:url(visuals/faithful/action-tiles.webp) var(--medallion-x) 47.176%/500% 171.158% no-repeat;filter:drop-shadow(0 5px 3px #39241d65)}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .faithful-action-paper{position:absolute;top:64%;left:10%;width:80%;max-width:none;min-height:0;height:31%;margin:0;padding:0;background:none;gap:0;display:flex;justify-content:center;align-items:center}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .painted-action-label{font-size:clamp(14px,1.15vw,20px);line-height:1.2;white-space:nowrap;font-weight:600}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-cost{font-size:clamp(12px,.95vw,16px);line-height:1.2;white-space:nowrap;padding:0;margin:0;gap:3px}
 .faithful-target[data-desktop-view='tabletop'] #actionbar .action-event-note{font-size:clamp(10px,.7vw,12px);line-height:1.15;min-height:0;white-space:nowrap;margin:0;padding:0}
 .faithful-target[data-desktop-view='tabletop'] #actionbar button:hover:not(:disabled){transform:translateY(-5px);filter:brightness(1.07)}
 .faithful-target[data-desktop-view='tabletop'] #actionbar button:active:not(:disabled){transform:translateY(1px)}
}

/* Illustrated frames: transparent exterior, reserved interior and contained scrolling. */
@media(min-width:951px){
.faithful-target[data-desktop-view='tabletop'] dialog{background-color:transparent;border-radius:0;box-shadow:none;filter:none;padding:52px 58px 68px;max-height:90dvh}
.faithful-target dialog #modalbody{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 10px 12px 0;scrollbar-width:thin}
.faithful-target[data-desktop-view='tabletop'] dialog .close{top:46px;right:54px;width:32px;height:32px;padding:0;z-index:2;background:#f7e8cc;border:1px solid #aa7c41;box-shadow:inset 0 1px 2px #fff9,0 2px 3px #68472040;color:#513c29;font-size:23px}
.faithful-target dialog .close:focus{outline:none}.faithful-target dialog .close:focus-visible{outline:2px solid #aa7c41;outline-offset:2px}
.faithful-target:is([data-desktop-view='tabletop'],[data-desktop-view='command']) #faithful-context{background-color:transparent;border-radius:0;box-shadow:none;filter:drop-shadow(0 15px 20px #35241e70);padding:48px 60px 64px}
#faithful-context-body .drone-panel{background:transparent;border-color:#b18a58;padding:18px 0 0;margin-top:18px}
#faithful-context-body .installation-overview{background:#fff7e350;border:1px solid #c6a476;border-radius:12px;padding:14px;margin-bottom:16px}
.installation-overview p{margin:6px 0}.installation-overview .sw-symbol{vertical-align:middle}
}

@media(min-width:951px){
/* Keep navigation clear of the raised parchment shoulders. */
.faithful-target:is([data-desktop-view='tabletop'],[data-desktop-view='command']) #desktop-inspector{padding-top:38px;padding-left:26px;padding-right:26px}
}

@media(min-width:951px){
/* Floral corners occupy the outer 9% vertically; reserve that zone at both ends. */
.faithful-target:is([data-desktop-view='tabletop'],[data-desktop-view='command']) #faithful-context{padding:clamp(76px,9dvh,120px) 76px clamp(92px,10dvh,130px)}
.faithful-target[data-desktop-view='tabletop'] dialog{padding:clamp(76px,9dvh,120px) 64px clamp(92px,10dvh,130px)}
.faithful-target[data-desktop-view='tabletop'] dialog .close{top:clamp(72px,8.5dvh,114px);right:64px}
#faithful-context-body{padding-bottom:8px}
}
/* Online seats include participant names: reserve space before board status. */
@media(min-width:951px){
 body.desktop-play.faithful-target.online-active[data-desktop-view='tabletop']{grid-template-rows:200px minmax(0,1fr)}
 .faithful-target.online-active[data-desktop-view='tabletop'] header{height:200px}
 .faithful-target.online-active[data-desktop-view='tabletop'] #players{height:auto;min-height:145px}
 .faithful-target.online-active[data-desktop-view='tabletop'] #players .player{min-height:145px;box-sizing:border-box}
 .faithful-target.online-active[data-desktop-view='tabletop'] #botstatus{margin:8px auto 10px;max-width:calc(100% - 24px);flex-wrap:wrap;gap:6px 14px}
 .faithful-target.online-active[data-desktop-view='tabletop'] #botstatus>div{min-width:0;flex:1;flex-wrap:wrap}
 /* CSS wood avoids SVG/filter rasterization differences in embedded browsers. */
 .faithful-target[data-desktop-view='tabletop'] header:before{background:repeating-linear-gradient(4deg,transparent 0 14px,#d7b18329 15px 16px,transparent 17px 22px),linear-gradient(#b19068,#6c4b33 20%,#886549 70%,#493323);border:2px solid #c49a62;box-sizing:border-box;clip-path:polygon(1% 0,98% 0,100% 10%,100% 90%,98% 100%,1% 100%,0 90%,0 10%);filter:none}
}

/* Supplemental actions occupy the existing decorative gutter; no board geometry changes. */
#desktop-workshop{display:none}
@media(min-width:951px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop'] #desktop-workshop{position:absolute;left:14px;top:25%;z-index:8;width:82px;padding:13px 7px;box-sizing:border-box;display:flex;flex-direction:column;gap:6px;background:linear-gradient(90deg,#d3ac72 0%,#f5e2bc 7%,#eed5af 50%,#f5e2bc 93%,#d3ac72 100%);border-radius:20px;box-shadow:inset 0 0 0 1px #aa7d42,inset 0 0 0 3px #ffedc9,inset 0 0 0 4px #ba9259,0 4px 10px #21152655}
 body.desktop-play.faithful-target[data-desktop-view='tabletop'] #desktop-workshop button{box-sizing:border-box;width:68px;height:54px;min-height:54px;margin:0;padding:4px;font:11px/1.2 Georgia,serif;border:1px solid #b28a56;border-radius:7px;background:#ead0ad;color:#493626;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px}
 #desktop-workshop button:disabled{opacity:.45}
 #desktop-workshop .workshop-icon{width:30px;height:30px;display:grid;place-items:center;font-size:24px}
 #desktop-workshop .workshop-icon:has(.sw-factory),#desktop-workshop .workshop-icon:has(.workshop-network){border-radius:50%;background:radial-gradient(circle at 35% 25%,#434653,#232b36);box-shadow:inset 0 0 0 1px #b58b48}
 #desktop-workshop .sw-symbol{width:25px;height:25px;--piece-light:#fff1b9;--piece-mid:#d6a84d;--piece-dark:#785022}
 #desktop-workshop .workshop-network{position:relative;width:24px;height:24px;font:12px Georgia;color:#e2bc68;background:linear-gradient(45deg,transparent 46%,#e2bc68 48% 52%,transparent 54%),linear-gradient(-45deg,transparent 46%,#e2bc68 48% 52%,transparent 54%)}
 #desktop-workshop .workshop-network>span{position:absolute;right:0;top:0}#desktop-workshop .workshop-network>b{position:absolute;left:0;bottom:0;font-weight:400}#desktop-workshop .workshop-network>i{position:absolute;right:0;bottom:0;font-style:normal}
 body.desktop-play.faithful-target[data-desktop-view='tabletop'] #desktop-inspector :is(.inspector-tabs,.faithful-world-actions,.faithful-inspector-more){display:none}
}
@media(min-width:951px) and (max-width:1350px){
 body.desktop-play.faithful-target[data-desktop-view='tabletop'] #desktop-workshop{left:8px;top:auto;bottom:4px;width:68px;padding:9px 6px;gap:3px}
 body.desktop-play.faithful-target[data-desktop-view='tabletop'] #desktop-workshop button{width:56px;height:39px;min-height:39px;font-size:10px;gap:1px}
 #desktop-workshop .workshop-icon{width:21px;height:21px;font-size:20px}#desktop-workshop .sw-symbol{width:20px;height:20px}#desktop-workshop .workshop-network{transform:scale(.75)}
}


/* Unavailable planet shortcuts remain focusable so the reason can be read. */
body.desktop-play :is(#desktop-workshop,#desktop-inspector) button[data-planet-hint] {
 position:relative;cursor:help;color:#745e48
}
body.desktop-play :is(#desktop-workshop,#desktop-inspector) button[data-planet-hint] > span {
 opacity:.52;filter:grayscale(1)
}
body.desktop-play :is(#desktop-workshop,#desktop-inspector) button[data-planet-hint]:is(:hover,:focus)::after {
 content:attr(data-planet-hint);position:absolute;top:50%;left:calc(100% + 8px);transform:translateY(-50%);
 z-index:10;width:max-content;max-width:230px;box-sizing:border-box;padding:9px 12px;border:1px solid #b99b68;
 border-radius:7px;background:#172635;color:#fff1d7;font:14px/1.35 system-ui;text-align:left;
 box-shadow:0 4px 14px #0007;pointer-events:none
}
body.desktop-play #desktop-inspector button[data-planet-hint]:is(:hover,:focus)::after {
 left:auto;right:calc(100% + 8px)
}
#phone-faithful .mobile-task-list button[data-planet-hint] > * {opacity:.56;filter:grayscale(1)}
#phone-faithful .mobile-planet-action-hint {margin:0;padding:4px 0}

/* Workshop hints live outside the rail, so hover/focus cannot create scrollbars. */
body.desktop-play #desktop-workshop button[data-planet-hint]:is(:hover,:focus)::after{content:none;display:none}
.planet-action-tooltip{position:fixed;z-index:10000;left:0;top:0;width:max-content;max-width:min(230px,calc(100vw - 20px));box-sizing:border-box;padding:9px 12px;border:1px solid #b99b68;border-radius:7px;background:#172635;color:#fff1d7;font:14px/1.35 system-ui,sans-serif;text-align:left;box-shadow:0 4px 14px #0007;pointer-events:none}

/* Approved workshop B artwork. Preserve every existing icon slot and rail
   measurement: decorative children are absolute, with no intrinsic layout size.
   Research uses spare horizontal space; its height never exceeds the slot. */
#desktop-workshop .workshop-icon{position:relative}
#desktop-workshop :is(.workshop-card-art,.workshop-medallion-art){position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
#desktop-workshop .workshop-card-art>img{position:absolute;inset:3% 0;display:block;width:100%;height:94%;max-width:100%;max-height:100%;object-fit:contain;border-radius:2px}
#desktop-workshop .workshop-medallion-art{border-radius:50%;background:radial-gradient(circle at 30% 20%,#334652,#0e2230);box-shadow:inset 0 0 0 1px #af8a43;color:#efcb7c}
#desktop-workshop .workshop-medallion-art>svg{display:block;width:80%;height:80%}
#desktop-workshop .workshop-research-art{position:absolute;top:0;left:50%;transform:translateX(-50%);width:160%;max-width:48px;height:100%;pointer-events:none}
#desktop-workshop .workshop-research-art>img{position:absolute;display:block;object-fit:contain;max-width:none;pointer-events:none}
#desktop-workshop .workshop-art-drone{width:56.25%;height:73.33%;top:0;right:0}
#desktop-workshop .workshop-art-rover{width:62.5%;height:83.33%;bottom:0;left:0}

/* Retain each original intrinsic footprint for the existing measured-fit logic.
   Only its paint is hidden; the approved artwork is an absolute overlay. */
#desktop-workshop .workshop-original-art{visibility:hidden}
