/* Owned-card strips show the card faces; the planet research deck marker shows the Research card back. */
.player-card-strip button.strip-market{overflow:hidden}
.player-card-strip .strip-card-scale{position:absolute;left:0;top:0;width:378px;height:528px;transform-origin:0 0;transform:scale(var(--strip-scale,.15));pointer-events:none}
.player-card-strip .strip-card-scale .sw-market-card{margin:0;box-shadow:none}
.player-card-strip button.strip-research{aspect-ratio:44/68;overflow:visible;border:0;background:none;box-shadow:none}
.player-card-strip button.strip-research .research-card-v2,.player-card-strip button.strip-research .printed-card{pointer-events:none;box-shadow:0 2px 8px #000a}
.player-card-strip button.strip-research>*{width:100%}
.player-card-strip .printed-card-quantity,.player-card-strip .r2-qty{font-size:10px;top:2px;right:2px;padding:0 3px}

/* The two owned collections are bounded hands, never wrapping navigation panels. */
html body :is(#market-owned-strip,#research-owned-strip){
 display:block;padding:0!important;margin:0;border:0!important;background:none!important;
 box-shadow:none!important;overflow:visible;direction:ltr;
}
html body :is(#market-owned-strip,#research-owned-strip)>button:not(.owned-hand-launcher){
 position:absolute;height:var(--hand-card-height);min-height:0;max-width:none;margin:0;
 transform-origin:50% 100%;transform:rotate(var(--hand-angle,0deg));
}
html body :is(#market-owned-strip,#research-owned-strip)[data-hand-layout=fan]>button:not(.owned-hand-launcher){pointer-events:none}
html body #market-owned-strip .strip-card-scale{padding:0;background:none}
html body :is(#market-owned-strip,#research-owned-strip)>.owned-hand-launcher{
 position:absolute;inset:0;z-index:50;width:100%;height:100%;aspect-ratio:auto;min-height:44px;
 padding:0;border:0;background:transparent!important;box-shadow:none!important;
 overflow:visible;transform:none;cursor:pointer;touch-action:manipulation;
}
html body :is(#market-owned-strip,#research-owned-strip)>.owned-hand-launcher:focus-visible{outline:2px solid #80d7dd;outline-offset:3px}
html body :is(#market-owned-strip,#research-owned-strip) .owned-hand-launcher>.owned-hand-count{
 position:absolute;inset:auto 4px 0 auto;width:auto;padding:2px 6px;border:1px solid #bda16a;
 border-radius:10px;background:#20222cf2;color:#f4ead6;font:600 11px/16px system-ui,sans-serif;
}
html body #research-owned-strip .owned-hand-launcher>.owned-hand-count{left:4px;right:auto}
@media(max-width:950px){html body :is(#market-owned-strip,#research-owned-strip){display:none}}
html body .planet-research-badge>.research-deck-mark{width:26px!important;height:40px!important;flex:0 0 26px!important;border:1px solid #d5ae66!important;border-radius:3px!important;background:#102b43 url("visuals/print-cards/research/back.webp") center/cover no-repeat!important;box-shadow:0 2px 5px #0009!important}
html body .planet-research-badge>.research-deck-mark::after{display:none!important}
html body .faithful-target[data-desktop-view='tabletop'] #worlds .planet-side-research>.research-deck-mark,html body .faithful-target[data-desktop-view='star-map'] #worlds .planet-side-research>.research-deck-mark{width:30px!important;height:46px!important;flex:0 0 30px!important}

/* Game menu icons */
html body .desktop-panel-buttons svg.menu-svg{flex:none;width:34px!important;height:34px!important;min-width:34px}
