/* Alien Space Casino — presentation-only redesign, no gameplay constants. */
:root{--bg:#050A0D;--panel:#111B22;--border:#20564e;--text:#EAF8F2;--muted:#8CAEB0;--mint:#00E68A;--cyan:#00D8C8;--gold:#FFD166;--red:#FF5263;--violet:#A855F7;--radius:12px}body{background:#050A0D;font-family:'Arial Narrow','Aptos Narrow','Roboto Condensed',system-ui,sans-serif}.ambient{display:none}.space-background{position:fixed;inset:0;pointer-events:none;z-index:-1;overflow:hidden;background:#030B11}.space-layer{position:absolute;inset:-2%;background-position:center;background-repeat:no-repeat;background-size:cover}.layer-stars{background-image:url(images/space/starfield.svg);animation:star-drift 90s ease-in-out infinite alternate}.layer-planets{background-image:url(images/space/planets.svg);animation:planet-drift 65s ease-in-out infinite alternate}.layer-cockpit{inset:0;background-image:url(images/space/cockpit.svg);opacity:.86}.space-background:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#020C1370,transparent 30%,transparent 70%,#020C1350)}.topbar{max-width:1920px;height:87px;padding:13px 24px;border:0;align-items:flex-start;position:relative;z-index:2}.brand{position:relative;text-transform:uppercase;letter-spacing:-1.8px;font-size:28px;line-height:1.05;gap:12px;transform:skew(-5deg);text-shadow:0 3px 0 #001D20,0 0 17px #00E68A44}.brand>span:last-child{color:#BFFFE1}.brand small{letter-spacing:2px;font-size:8px;color:#CBDBD3;line-height:2.2;text-shadow:none}.brand-icon{background:linear-gradient(135deg,#0A4639,#081A21);border:1px solid #00D8C8;width:43px;height:48px;box-shadow:inset 0 0 12px #00E68A33,0 0 20px #00E68A22;clip-path:polygon(14% 0,100% 0,100% 85%,85% 100%,0 100%,0 15%);border-radius:0;color:#56FFB8}.topbar nav{padding-top:2px;gap:8px}.topbar nav .quiet{background:linear-gradient(150deg,#163133dd,#06141be6);border:1px solid #357D70;border-radius:5px;font-weight:650;color:#99E4CD;box-shadow:inset 0 0 12px #00E68A0A}.topbar #settings-btn,.topbar #sound-btn{font-size:24px;width:45px;height:43px;line-height:1;padding:5px}.topbar #menu-btn,.topbar #help-btn{height:43px;font-size:12px}main{padding:7px 20px 30px;max-width:1920px;min-height:calc(100vh - 137px)}footer{max-width:1920px;padding:15px 24px;background:#020A0D99;border:0;color:#688B88;font-size:8px;letter-spacing:1.6px}button{border-radius:5px;letter-spacing:.1px;font-weight:600;background:linear-gradient(150deg,#18333A,#091B22);border:1px solid #42777A;box-shadow:inset 0 1px 0 #D8FFEE17,0 3px 9px #0005;color:#D4F2E9}button:hover:not(:disabled){background:linear-gradient(150deg,#205449,#0A2928);border-color:#38EAB4;box-shadow:inset 0 0 15px #00E68A18,0 0 14px #00E68A25}.primary{background:linear-gradient(155deg,#22F4A6,#008C62 55%,#02372F);color:#EDFFF5;border:1px solid #88FFD2;box-shadow:inset 0 0 18px #00FFB155,0 0 15px #00E68A44,0 4px 7px #0008;text-shadow:0 2px 3px #002E23}.primary:hover:not(:disabled){background:linear-gradient(155deg,#59FFBC,#00AA73 60%,#064C3A)}button:disabled{opacity:.36}.quiet{box-shadow:none;background:transparent;border-color:transparent}.outline{background:linear-gradient(150deg,#153039ea,#06161eea)}.ui-icon{display:inline-block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;vertical-align:middle;flex-shrink:0}.primary .ui-icon{fill:#9CFFD7;stroke:#9CFFD7}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.cyan{color:var(--cyan)}
.casino-layout{display:grid;grid-template-columns:clamp(210px,18vw,285px) minmax(0,1fr) clamp(280px,26vw,395px);gap:17px;align-items:start}.console-panel{position:relative;border:1px solid #438376;border-radius:4px;background:linear-gradient(145deg,#10272CEB,#061116F5 45%,#09191EF5);box-shadow:inset 0 0 0 3px #041216,inset 0 0 0 4px #1C4B43,0 10px 30px #0008;padding:17px}.console-panel:before,.console-panel:after{content:'';position:absolute;pointer-events:none;width:30px;height:5px;background:#3FECAF66;box-shadow:0 0 8px #00E68A55}.console-panel:before{left:12px;top:-2px}.console-panel:after{right:12px;bottom:-2px}.hud{display:block;position:sticky;top:15px;margin:0;padding:22px 19px 16px}.hud>div{padding:0;border:0;display:block}.hud .sector-label{display:flex;gap:13px;align-items:center}.sector-label>.ui-icon{width:34px;height:34px;color:#A0BABF;filter:drop-shadow(0 0 4px #9CE0DD55)}.hud .sector-label strong{display:block;font-size:22px;line-height:1.2;font-weight:750;color:#F6F6EE}.hud .sector-label span{font-size:12px;color:#A8BDC0}.hud .sector-progress{display:flex;gap:5px;align-items:center;margin:20px 0 8px;position:relative}.sector-progress:before{content:'';position:absolute;left:0;right:0;top:50%;height:2px;background:#42635C}.sector-progress i{display:block;height:9px;width:9px;flex:1;max-width:12px;border:1px solid #67877B;background:#08161C;border-radius:100%;z-index:1}.sector-progress i.reached{background:#00E68A;border-color:#9BFFCE;box-shadow:0 0 8px #00E68A55}.sector-progress i.current{outline:1px solid #82FFCE;outline-offset:3px}.stage-label{font-size:10px;color:#8BAAA3;margin:10px 0 20px;letter-spacing:1px}.hud .target-stat{padding:13px 13px 15px;background:#030D13;border:1px solid #3B6466;border-radius:5px;margin-bottom:13px;box-shadow:0 3px 12px #0004}.hud small{font-size:12px;letter-spacing:0;color:#B6D0CB}.hud .target-stat strong{display:flex;align-items:center;gap:10px;font-size:clamp(28px,2.5vw,39px);line-height:1.1;font-weight:800;margin-top:8px;color:#F5F7ED;font-stretch:condensed;letter-spacing:-1px}.poker-chip{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:repeating-conic-gradient(#F1F2DA 0deg 30deg,#D34C52 30deg 60deg);border:2px solid #F5EEDD;box-shadow:0 2px 6px #000;position:relative}.poker-chip:after{content:'';position:absolute;inset:5px;border:1px solid #F2F0DA;border-radius:50%;background:#13262A}.hud .points-stat{padding:0 12px 14px;border-bottom:1px solid #31524B}.hud .points-stat strong{display:block;font-size:clamp(30px,3vw,43px);font-weight:800;letter-spacing:-1px;line-height:1.2;margin-top:6px;color:#39FFAF;text-shadow:0 0 19px #00E68A88}.hud progress{height:4px;margin-top:12px;background:#213C37;border-radius:0}.hud progress::-webkit-progress-value{background:#00E68A;box-shadow:0 0 10px #00E68A}.resource-list{margin:16px 2px 19px}.resource-list>div{display:flex;justify-content:space-between;align-items:center;margin:9px 0}.resource-list dt{display:flex;gap:10px;align-items:center;font-size:14px;color:#B9CCCA}.resource-list dt .ui-icon{width:20px;height:20px;color:#75D1E9}.resource-list dd{margin:0;font-size:21px;line-height:1;font-weight:800;color:#FFE791}.coin-icon{font-size:23px;color:#FFD166;line-height:1}.hud .console-actions{display:flex;flex-direction:column;gap:9px;margin-top:8px}.console-actions button{display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;padding:13px 12px;text-align:left;font-size:14px}.console-actions button small{display:block;color:inherit;opacity:.65;font-size:9px;line-height:1.2;margin-top:2px}.console-actions .primary{padding:15px 12px;font-size:15px}.hud .ship-status{font-size:7px;letter-spacing:1.1px;color:#779790;text-align:center;padding-top:20px}.ship-status i{display:inline-block;background:#00E68A;width:4px;height:4px;border-radius:50%;margin-right:5px;box-shadow:0 0 8px #00E68A}
.center-console{min-width:0}.inventory{margin:0 0 10px}.section-kicker{font-size:8px;letter-spacing:1.7px;color:#91B6AB;margin:0 0 10px;padding:0 3px}.section-kicker span{font-size:8px;letter-spacing:.5px}.joker-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:stretch}.joker-tile{position:relative;background:linear-gradient(130deg,#172B35,#07101E 65%,#151431);border:2px solid #6AD6BD;border-radius:9px;overflow:visible;box-shadow:inset 0 0 0 2px #020D17,0 0 9px #00E68A22,0 7px 10px #0008;transition:transform .2s,border-color .2s;min-width:0;z-index:1}.joker-tile:hover,.joker-tile:focus-within{z-index:5;transform:translateY(-5px)}.joker-art{position:relative;min-height:0;height:auto;aspect-ratio:1.1;background:radial-gradient(ellipse at 50% 70%,#3A8B9238,transparent 65%);display:grid;place-items:center;overflow:visible;color:#8CE4D9}.joker-art:before{content:'';position:absolute;inset:6px;background:radial-gradient(circle at 17% 25%,#FFF7B7 0 1px,transparent 2px),radial-gradient(circle at 82% 40%,#99F9E0 0 1px,transparent 2px),radial-gradient(circle at 65% 13%,#FFF 0 .7px,transparent 2px);pointer-events:none;opacity:.7}.alien-portrait{display:block;position:relative;width:100%;height:auto;aspect-ratio:400/350;animation:alien-float 4.6s ease-in-out infinite;transform-origin:50% 85%;filter:drop-shadow(0 6px 5px #0006)}.alien-portrait img{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.alien-blink{opacity:0;animation:alien-blink-on 6.8s linear infinite}.alien-open{animation:alien-blink-off 6.8s linear infinite}.joker-tile:nth-child(2n) .alien-portrait{animation-delay:-1.5s}.joker-tile:nth-child(3n) .alien-portrait{animation-delay:-2.8s}.joker-tile:nth-child(2n) .alien-blink,.joker-tile:nth-child(2n) .alien-open{animation-delay:-3s}.alien-code{position:absolute;bottom:2px;left:7px;right:7px;text-align:center;font-size:6px;letter-spacing:.7px;color:#B2DFCF;text-transform:uppercase;opacity:.65}.joker-info{padding:10px 7px 9px;border-top:1px solid #2A797A77;background:linear-gradient(180deg,#0B1729EE,#08131DEE);border-radius:0 0 7px 7px;text-align:center}.joker-info h3{font-size:clamp(11px,1.1vw,16px);color:#FFEDA9;margin:0 0 5px;letter-spacing:-.3px;line-height:1.15;overflow-wrap:anywhere}.joker-info p{display:block;font-size:clamp(8px,.74vw,11px);line-height:1.5;margin:0;color:#DAE1E2}.scale{font-size:8px;color:#FFE79F}.joker-tools{border-top:1px solid #387C7144;display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:wrap;min-height:20px}.joker-tools button{padding:3px 5px;font-size:8px;box-shadow:none}.joker-tile.rarity-1,.offer.rarity-1{border-color:#60DCCC}.joker-tile.rarity-2,.offer.rarity-2{border-color:#BF83FF;box-shadow:inset 0 0 0 2px #100C24,0 0 12px #A855F733,0 7px 10px #0008}.joker-tile.rarity-3,.offer.rarity-3{border-color:#FFE28A;box-shadow:0 0 17px #FFD16633,inset 0 0 0 2px #35263C}.rarity-3 .joker-art:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,#FFF7 45%,transparent 60%);opacity:.16;animation:holo-shift 7s linear infinite;pointer-events:none}.alien-tooltip{position:absolute;left:50%;top:calc(100% + 7px);transform:translateX(-50%);width:240px;padding:15px;pointer-events:none;opacity:0;visibility:hidden;background:#071820F5;border:1px solid #63AD9D;box-shadow:0 8px 25px #000A;border-radius:5px;font-size:11px;text-align:left;transition:opacity .15s;z-index:20}.alien-tooltip p{font-size:11px;line-height:1.6;color:#AECAC2;margin:7px 0}.alien-tooltip strong{font-size:12px;color:#FFE6AD}.alien-tooltip small{font-size:10px;color:#73D1B6}.joker-tile:hover .alien-tooltip,.joker-tile:focus-within .alien-tooltip{opacity:1;visibility:visible}.joker-empty{min-height:clamp(170px,17vw,245px);border:1px dashed #37BDA477;background:linear-gradient(140deg,#06302677,#071321AA);border-radius:8px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;box-shadow:inset 0 0 25px #00E68A09}.joker-empty span{font-size:9px;color:#63A496}.joker-empty small{font-size:7px;color:#426E65}.holo-silhouette{position:relative;width:45px;height:55px;border:1px solid #3CD8BA55;border-radius:45% 45% 40% 40%;background:repeating-linear-gradient(transparent 0 3px,#00E68A0B 3px 5px);box-shadow:0 0 20px #00E68A12}.holo-silhouette:before,.holo-silhouette:after{content:'';position:absolute;width:9px;height:13px;border-radius:50%;border:1px solid #56E5C855;top:17px}.holo-silhouette:before{left:9px}.holo-silhouette:after{right:9px}.effect-burst{position:absolute;top:8px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#FFF1A7;background:#07241DEB;border:1px solid #A1FFCF;padding:4px 7px;font-size:11px;font-weight:800;box-shadow:0 0 18px #00E68A66;z-index:4;animation:bonus-burst 1.2s ease both}.joker-tile.activated{animation:alien-activate 1s ease}.activated .alien-portrait{animation:alien-bounce .7s ease}.purchase-flight{position:fixed;left:0;top:0;width:150px;height:130px;pointer-events:none;z-index:50;filter:drop-shadow(0 0 20px #00E68A)}
.table{padding:9px 9px 7px;background:radial-gradient(ellipse at 50% 36%,#007A5D14,transparent 70%);border:0;box-shadow:none;position:relative;min-width:0;overflow:visible}.table-heading{display:flex;justify-content:space-between;font-size:7px;letter-spacing:1.1px;color:#80B3A6;padding:3px 7px 12px}.table-heading span:last-child{letter-spacing:.3px;color:#A6BCB3}.played-area{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:165px;border-bottom:0;margin:0;padding:10px 7px 3px}.played-area:after{content:'';position:absolute;bottom:-13px;left:6%;right:6%;height:1px;background:linear-gradient(90deg,transparent,#43FFB8,transparent);box-shadow:0 0 10px #00E68A;z-index:-1}.played-area .card{width:clamp(69px,7.1vw,116px);height:clamp(103px,10.4vw,165px);box-shadow:0 7px 16px #0009;animation:space-card-slide .4s ease both}.played-area .card:nth-child(1){transform:rotate(-5deg);animation-delay:.02s}.played-area .card:nth-child(2){transform:rotate(-2deg);animation-delay:.05s}.played-area .card:nth-child(4){transform:rotate(2deg);animation-delay:.08s}.played-area .card:nth-child(5){transform:rotate(5deg);animation-delay:.1s}.table-watermark{color:#43C9B45C;text-align:center;font-family:inherit;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.table-watermark>.ui-icon{width:65px;height:65px;stroke-width:.7}.table-watermark strong{font-size:15px;font-weight:500;color:#C8F2DB9A;letter-spacing:1px}.table-watermark small{font-size:10px;color:#7DA99C;letter-spacing:.5px}.combination-label{text-align:center;font-size:24px;line-height:1.2;font-weight:800;color:#F4F4B1;text-shadow:0 0 14px #00E68A77;margin:10px 0 16px;letter-spacing:-.5px}.score-panel{display:block;padding:12px 12px 8px;background:linear-gradient(110deg,#061C21E6,#051317F5);border:1px solid #367F73;box-shadow:inset 0 0 0 3px #081019,0 5px 10px #0006;border-radius:6px;margin-bottom:17px}.score-panel .section-kicker{margin-bottom:9px;font-size:7px;letter-spacing:1px}.score-panel .section-kicker .quiet{font-size:7px;padding:0}.score-equation{display:flex;align-items:center;justify-content:space-between;gap:5px}.calc-group{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #245954;border-radius:5px;padding:8px 7px;flex:1;min-width:0;box-shadow:inset 0 0 12px #00E68A08}.calc-group>div{text-align:center;flex:1;min-width:0}.score-equation small{display:block;font-size:8px;white-space:nowrap;color:#A2BDBC;line-height:1.4;letter-spacing:0}.score-equation strong{display:block;font-size:21px;line-height:1.4;font-weight:750;color:#C3E8F3;font-variant-numeric:tabular-nums}.score-equation .cyan{color:#80F9FA}.score-equation .mint{color:#4AFFA7}.calc-group>span{font-size:13px;color:#A5D3CE}.calc-sign{font-size:16px;color:#CBDBD5}.calc-factor{padding:5px;text-align:center}.calc-factor strong{color:#C99DFF;font-size:19px}.score-result{padding:0 5px;border:0;background:transparent;min-width:95px;text-align:center}.score-result small{font-size:6px;letter-spacing:1px;color:#C7D0A1}.score-result strong{font-size:clamp(27px,3vw,46px);font-weight:850;line-height:1.2;letter-spacing:-1.5px;color:#FFF48D;text-shadow:0 0 15px #E6FF4699,0 3px 2px #4D5823}.score-details{margin:5px 0 0;font-size:9px;color:#89ACA1}.score-details summary{padding:4px 0}.score-details ol{max-height:180px;overflow:auto;margin:8px 0;line-height:1.8;padding-left:18px}.empty-trace{font-size:9px;color:#739D92;margin:6px 0 0;text-align:center}.hand-label{display:flex;align-items:center;justify-content:space-between;padding:0 5px;margin-bottom:1px}.hand-label h2{font-size:13px;letter-spacing:0;margin:0;color:#B8D5C7}.hand-label h2 span{font-size:8px;font-weight:400;color:#89AA9E}.hand-label .quiet{font-size:8px;padding:3px}.hand{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;min-height:170px;padding:18px 30px 15px 0;margin:0 12px;position:relative;isolation:isolate}.hand .card{width:calc(100% + 30px);height:clamp(110px,10.5vw,162px);min-width:0;flex:unset;margin:0;transform:rotate(var(--fan,0deg)) translateY(var(--drop,0px));transform-origin:50% 115%;animation:none;transition:transform .2s,box-shadow .2s,border-color .2s}.hand .card:nth-child(1){--fan:-8deg;--drop:12px}.hand .card:nth-child(2){--fan:-5deg;--drop:5px}.hand .card:nth-child(3){--fan:-3deg;--drop:0px}.hand .card:nth-child(4){--fan:-1deg;--drop:-2px}.hand .card:nth-child(5){--fan:1deg;--drop:-2px}.hand .card:nth-child(6){--fan:3deg;--drop:0px}.hand .card:nth-child(7){--fan:5deg;--drop:5px}.hand .card:nth-child(n+8){--fan:8deg;--drop:12px}.hand .card:hover:not(:disabled){transform:translateY(-18px) rotate(0);z-index:2;box-shadow:0 0 15px #00E68A55,0 8px 16px #0009}.hand .card.selected,.hand .card.selected:hover{transform:translateY(-25px) rotate(0);z-index:3;box-shadow:0 0 0 2px #00E68A,0 0 20px #00E68A55,0 12px 18px #0009;border-color:#AEFFDC}.hand-caption{text-align:center;color:#90A99C;font-size:8px;letter-spacing:.3px;margin:9px 0 0}.hand-caption strong{color:#7CFFD1}.round-payout{font-size:9px;color:#FFE37B}.card{border:1px solid #FFF9D5;border-radius:6px;background:linear-gradient(130deg,#FFFCF0,#E6DAC0);color:#152A29;box-shadow:0 5px 8px #0008;position:relative;touch-action:manipulation;overflow:hidden}.card.red{color:#C23442}.card:hover:not(:disabled){background:linear-gradient(130deg,#FFFFF1,#ECE4CF)}.card:after{content:'';position:absolute;inset:4px;border:1px solid #26443B14;border-radius:3px;pointer-events:none}.card-corner{top:7px;left:7px;font:700 23px/1 'Times New Roman',serif;z-index:2}.card-corner small{font-size:20px;margin-top:3px}.card-bottom{font:700 21px/1 'Times New Roman',serif;right:7px;bottom:7px;z-index:2}.card-bottom small{font-size:19px;margin-top:3px}.card-center{font:58px Georgia,serif;display:grid;place-items:center;position:absolute;inset:0}.court-art{position:absolute;inset:10% 17%;width:66%;height:80%;object-fit:contain;pointer-events:none}.facedown{background:repeating-linear-gradient(45deg,#0B4645 0,#0B4645 1px,#102938 1px,#102938 6px);color:#68D8B4;border-color:#68D8B4}.facedown .card-center{font-size:40px}.mod-badge{bottom:3px;left:5px;font-size:7px;padding:1px 5px;background:#0B2A25;color:#E6FFE5;border:1px solid #91D9B6;z-index:3}.mod-gold{background:linear-gradient(130deg,#FFF6BB,#D9AA51)}.mod-steel{background:linear-gradient(125deg,#E7E4DB,#89ABB4)}.mod-glass{background:linear-gradient(125deg,#DFFFF7,#8DC9C5)}.mod-wild{background:linear-gradient(130deg,#FFEED3,#C3AAE9,#9AE4D7)}
.right-console{min-width:0;display:block}.right-console>summary{display:none}.right-panels{display:flex;flex-direction:column;gap:19px}.shop{animation:none;margin:0;padding:15px 12px 12px;min-width:0}.market-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.market-header h2{font-size:30px;color:#69FFC0;letter-spacing:-.7px;text-shadow:0 0 18px #00E68A55;margin:0;white-space:nowrap}.market-header h2 .ui-icon{height:28px;width:28px;margin-right:6px}.market-header>button{padding:6px 7px;font-size:9px;border-color:#62E9B7;box-shadow:inset 0 0 15px #00E68A20;min-width:92px;text-align:center}.market-header>button strong{display:block;color:#F5E396;font-size:14px}.market-hint{font-size:8px;color:#8CAAA2;line-height:1.5;margin:0 0 9px}.market-status{font-size:7px;letter-spacing:1px;color:#6DC7A9}.market-docking{text-align:center;padding:1px 0 10px}.market-docking .alien-portrait{max-width:190px;margin:0 auto -12px}.market-docking>strong{display:block;color:#EFEBB7;font-size:13px}.market-docking>p{font-size:10px;color:#8BAAA1;line-height:1.7;margin:8px 0 0}.offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.offer{background:linear-gradient(130deg,#122A2F,#07111C);border:1px solid #6C9494;border-radius:6px;display:flex;flex-direction:column;min-width:0;overflow:hidden;box-shadow:0 3px 8px #0007}.offer[hidden]{display:none!important}.offer .joker-art{min-height:0;height:auto;aspect-ratio:1.1;display:grid;place-items:center}.offer .alien-portrait{width:115%;margin-left:-7.5%}.offer .item-art{height:110px;min-height:0;background:radial-gradient(circle,#00D8C822,transparent 70%);display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;color:#95DAD2}.item-art .ui-icon{width:45px;height:45px;stroke-width:1}.item-art>span{font-size:6px;letter-spacing:.7px}.offer-body{padding:6px 5px 5px;display:flex;flex-direction:column;text-align:center;flex:1}.offer-body>small{font-size:6px;color:#9CE9CD;letter-spacing:.4px}.offer-body h3{font-size:10px;letter-spacing:-.2px;line-height:1.3;color:#FFF1B5;margin:3px 0 4px;overflow-wrap:anywhere}.offer-body p{font-size:8px;line-height:1.5;color:#ADC8C2;margin:0 0 6px;flex:1;max-height:60px;overflow:auto}.offer-body>button{font-size:10px;width:100%;padding:4px 1px;border:0;background:transparent;box-shadow:none;color:#FFE583}.offer-body .compare-button{font-size:7px;color:#7FAEA4;padding:4px 0 1px}.buy-button{font-weight:800}.offer-body button:hover:not(:disabled){background:#00E68A17;box-shadow:none}.sold{opacity:.38}.market-tabs{display:flex;gap:4px;margin-top:12px}.market-tabs>button{flex:1;font-size:8px;padding:7px 2px;white-space:nowrap;min-width:0;letter-spacing:-.2px}.market-tabs>button.active{background:linear-gradient(140deg,#00C284,#004F3E);border-color:#86FAD1;box-shadow:inset 0 0 10px #00FFAE44;color:#F4FFF7}.workshop-link{width:100%;font-size:9px;padding:7px;margin-top:7px;border-color:#3B645D}.poker-overview{padding:16px 17px 14px}.poker-overview h2{font-size:18px;letter-spacing:0;margin:0 0 12px;display:flex;align-items:center;justify-content:space-between}.poker-overview .quiet{padding:0;color:#70BCA4;font-size:14px}.poker-row{display:flex;justify-content:space-between;gap:8px;padding:7px 5px;border-bottom:1px solid #173C3F66;font-size:12px;line-height:1.2;color:#C3D4D2}.poker-row b{color:#A9CED3;font-size:12px;font-weight:650;white-space:nowrap}.poker-row i{color:#D5AC71;font-size:10px;font-style:normal;padding:0 3px}.poker-row b::first-letter{color:#BCD7D6}.poker-row.active{background:linear-gradient(90deg,#00E68A22,transparent);color:#8EFFC4;border-left:2px solid #00E68A;padding-left:3px}.royal-row{color:#FFEFA9}.poker-overview>small{display:block;font-size:7px;color:#5C8B82;letter-spacing:.4px;text-align:center;padding-top:12px}.boss-banner{font-size:9px;line-height:1.5;display:block;padding:9px 12px;background:#1A1727E8;border:1px solid #B888C1;border-radius:5px;margin-bottom:12px;color:#BDA8D3}.boss-banner>span{display:block;color:#EAC3FF;margin-bottom:3px;font-size:9px;letter-spacing:.4px}
.space-hero{padding:55px 30px 20px;min-height:680px;display:grid;grid-template-columns:1.1fr 1.2fr;column-gap:20px;align-items:center}.hero-window{padding:30px 0}.hero .eyebrow{font-size:10px;letter-spacing:2px;color:#8EF6C1}.hero h1{font-size:clamp(45px,5.3vw,83px);font-weight:850;line-height:1.02;letter-spacing:-2.7px;text-shadow:0 3px 7px #0007}.hero h1 em{color:#67FFC0;text-shadow:0 0 35px #00E68A33}.hero-copy{font-size:17px;color:#A9C6BA;line-height:1.9}.hero-crew{display:flex;position:relative;align-items:flex-end;justify-content:center;gap:0;isolation:isolate;margin-bottom:50px}.hero-crew:before{content:'';position:absolute;inset:0 -5%;background:radial-gradient(ellipse at 50% 80%,#00E68A2E,transparent 65%);z-index:-1}.hero-alien{width:40%;flex-shrink:0;position:relative;text-align:center;filter:drop-shadow(0 16px 10px #0006)}.hero-alien:first-child{transform:rotate(-9deg) translate(10px,18px);z-index:0}.hero-alien:nth-child(2){width:48%;z-index:2;transform:translateY(-10px)}.hero-alien:nth-child(3){transform:rotate(9deg) translate(-10px,20px);z-index:1}.hero-alien>strong{font-size:13px;color:#FFEBA9;letter-spacing:.5px;display:block;text-shadow:0 3px 3px #000}.crew-caption{position:absolute;bottom:-55px;color:#7FA89C;font-size:7px;letter-spacing:2px;white-space:nowrap}.hero-bottom{grid-column:1/-1;padding:50px 0 0;align-self:end;position:static;color:#7EA394;font-size:8px;letter-spacing:1.6px}.menu-actions{gap:12px}.menu-actions button{font-size:14px;min-width:185px;gap:15px;padding:15px 20px}.menu-actions .primary .ui-icon{width:18px;height:18px}.menu-links{margin-top:18px;gap:0}.menu-links .quiet{color:#87B7A4;font-size:11px}.end-screen{padding:20px 10px;text-align:center;animation:fade-in .5s}.end-symbol{font-size:70px;margin:5px 0 20px;color:#FFE28F;text-shadow:0 0 25px #FFCF6D44}.end-screen h1{font-size:34px;letter-spacing:-1px}.end-screen p{font-size:12px;line-height:1.8;color:#9BBBAA}.end-screen .eyebrow{font-size:8px;letter-spacing:1.2px}.end-stats{margin:25px 0;gap:25px}.end-stats strong{font-size:25px;color:#FFE59C}.end-stats small{font-size:7px;letter-spacing:1px}.end-screen .score-panel{max-width:none;text-align:left}.end-screen details{font-size:11px}.end-screen .score-equation{flex-wrap:wrap}.end-screen .score-result{flex-basis:100%;margin-top:10px}.end-screen .large{font-size:12px;padding:14px 18px}.end-screen.won .end-symbol{animation:victory-orbit 3s ease-in-out infinite}.end-screen.lost{animation:defeat-fade .8s ease both}dialog{background:linear-gradient(145deg,#123038,#06131D 60%);border:1px solid #62B9A2;border-radius:8px;box-shadow:inset 0 0 0 4px #051519,0 20px 100px #000C;color:#D5EAE2}dialog::backdrop{background:#01080BDC;backdrop-filter:blur(7px)}dialog h2{color:#ADFFD3;font-weight:750}dialog p{color:#A7C4BB}dialog .collection{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.collection .joker-info{padding:14px}.collection .joker-info h3{font-size:17px}.collection .joker-info p{font-size:11px;display:block}.collection .joker-art{aspect-ratio:1.15}.collection .alien-tooltip{display:none}.collection .joker-art:after{border-radius:5px}.workshop-controls{background:#0A1D25;top:-40px}.deck-grid{gap:13px}.deck-grid .card{height:auto;aspect-ratio:.7}.deck-grid .card-corner{font-size:18px}.deck-grid .card-center{font-size:35px}.deck-grid .card-bottom{font-size:18px}.deck-grid .card small{font-size:15px}.settings input{accent-color:#00E68A}#toast{background:#0B302BEF;color:#DFFFF0;border:1px solid #62E0B0;box-shadow:0 0 20px #00E68A33;max-width:90vw;border-radius:5px}input:not([type=checkbox],[type=range]),select{background:#071923;border-color:#3F746F;border-radius:4px}.score-pop{animation:result-flash .8s ease}.hand-table>div{border-color:#28534D}.hand-table span{color:#53FFC1}
@keyframes star-drift{to{transform:translate3d(-1%,1%,0) scale(1.02)}}@keyframes planet-drift{to{transform:translate3d(1.4%,1%,0)}}@keyframes alien-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-4px) rotate(1deg)}}@keyframes alien-blink-off{0%,45%,48%,100%{opacity:1}46%,47%{opacity:0}}@keyframes alien-blink-on{0%,45%,48%,100%{opacity:0}46%,47%{opacity:1}}@keyframes holo-shift{0%,80%{transform:translateX(-100%);opacity:0}87%{opacity:.2}100%{transform:translateX(100%);opacity:0}}@keyframes bonus-burst{0%{opacity:0;transform:translate(-50%,8px) scale(.7)}25%{opacity:1;transform:translate(-50%,-5px) scale(1.1)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-30px) scale(1)}}@keyframes alien-activate{30%{box-shadow:0 0 30px #00E68ACC;border-color:#FFFFBB;transform:translateY(-7px)}100%{transform:translateY(0)}}@keyframes alien-bounce{30%{transform:translateY(-12px) rotate(-8deg) scale(1.1)}65%{transform:translateY(-4px) rotate(5deg)}}@keyframes space-card-slide{from{opacity:0;translate:0 40px;rotate:8deg}to{opacity:1;translate:0 0;rotate:0deg}}@keyframes result-flash{35%{filter:brightness(1.7);text-shadow:0 0 35px #FFE57A}}@keyframes victory-orbit{50%{transform:translateY(-6px);filter:brightness(1.2)}}@keyframes defeat-fade{from{opacity:0;filter:saturate(.2)}to{opacity:1;filter:saturate(.75)}}
@media(min-width:1700px){.casino-layout{gap:24px}.hud{padding:26px 24px}.played-area{min-height:190px}.inventory{margin-bottom:16px}.hand .card{height:177px}.hand{min-height:195px}.score-equation strong{font-size:26px}.score-equation small{font-size:10px}.score-result strong{font-size:50px}.market-header h2{font-size:34px}.offer-body h3{font-size:13px}.offer-body p{font-size:9px}.offer-body>button{font-size:13px}.poker-row{font-size:14px;padding:9px 5px}.poker-row b{font-size:14px}}
@media(max-width:1270px) and (min-width:1101px){.casino-layout{grid-template-columns:205px minmax(0,1fr) 285px;gap:12px}main{padding:7px 12px 25px}.hud{padding:20px 15px}.console-actions button{font-size:12px;padding:12px 10px}.console-actions .primary{font-size:13px}.market-header h2{font-size:25px}.market-header h2 .ui-icon{width:24px;height:24px}.market-header>button{min-width:85px;font-size:8px}.joker-info h3{font-size:11px}.joker-info p{font-size:8px}.joker-row{gap:7px}.joker-empty{min-height:174px}.score-panel{padding:10px 7px}.calc-group{gap:4px;padding:7px 4px}.score-equation{gap:3px}.score-equation small{font-size:6px}.score-equation strong{font-size:18px}.calc-sign{font-size:12px}.score-result{min-width:75px;padding:0 1px}.score-result strong{font-size:28px}.card-corner{font-size:19px}.card-corner small{font-size:17px}.card-bottom{font-size:19px}.card-bottom small{font-size:17px}}
@media(max-width:1100px){.casino-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}.right-console{grid-column:1/-1}.right-console>summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:#091E22ED;border:1px solid #3B8372;color:#83EDC1;font-size:12px;font-weight:650;margin-bottom:10px}.right-panels{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}.right-console:not([open])>.right-panels{display:none}.hud{top:15px;padding:20px 16px}.topbar{height:80px;padding:13px 18px}.brand{font-size:24px}.brand-icon{width:38px;height:43px}.joker-empty{min-height:180px}.joker-info h3{font-size:12px}.joker-info p{font-size:9px}.played-area .card{width:85px;height:125px}.hand .card{height:133px}.hand{min-height:155px}.hand-caption{font-size:7px}.score-equation strong{font-size:22px}.score-equation small{font-size:7px}.score-result{min-width:85px}.score-result strong{font-size:32px}.market-header h2{font-size:30px}.offer-body h3{font-size:12px}.offer-body p{font-size:9px}.offer-body>button{font-size:11px}.market-header>button{font-size:10px}.market-tabs>button{font-size:10px}.poker-row{font-size:13px;padding:9px 5px}.poker-row b{font-size:13px}.hero{padding:35px 20px 15px;min-height:660px}.hero h1{font-size:55px}.hero-copy{font-size:15px}.hero .eyebrow{font-size:8px}.hero-crew{margin-bottom:10px}.hero-alien>strong{font-size:11px}.menu-actions{flex-direction:column;max-width:310px}.menu-actions button{padding:13px 18px}.menu-links{max-width:330px}.hero-bottom{padding-top:40px;font-size:7px}.crew-caption{font-size:6px;letter-spacing:1px}.layer-cockpit{background-size:auto 100%;opacity:.66}.console-actions .primary{font-size:14px}.console-actions button{font-size:12px}.brand{max-width:400px}.brand-logo{max-width:400px}}
@media(max-width:800px){.casino-layout{grid-template-columns:180px minmax(0,1fr);gap:12px}main{padding:6px 12px 25px}.hud{padding:18px 13px}.hud .sector-label{gap:8px}.hud .sector-label strong{font-size:20px}.sector-label>.ui-icon{width:25px;height:25px}.hud .target-stat strong{font-size:29px}.hud .points-stat strong{font-size:33px}.hud .target-stat{padding:10px}.console-actions button{padding:11px 8px;font-size:11px;gap:7px}.console-actions .primary{font-size:12px}.console-actions .ui-icon{width:19px;height:19px}.hud .ship-status{font-size:6px;letter-spacing:.4px}.joker-row{gap:6px}.joker-info{padding:7px 4px}.joker-info h3{font-size:10px}.joker-info p{font-size:8px}.joker-code{font-size:5px}.joker-tools button{font-size:7px;padding:3px 4px}.joker-empty{min-height:155px}.joker-empty span{font-size:7px}.joker-empty small{font-size:6px}.section-kicker,.section-kicker span{font-size:6px;letter-spacing:.6px}.table{padding:5px}.table-heading{font-size:6px;padding-bottom:7px;letter-spacing:.6px}.played-area{gap:7px;min-height:120px;padding:7px 0}.played-area .card{width:63px;height:94px}.combination-label{font-size:20px;margin:8px 0 12px}.score-panel{padding:9px 7px}.score-equation{gap:3px}.calc-group{padding:6px 3px;gap:3px}.score-equation small{font-size:6px}.score-equation strong{font-size:17px}.calc-group>span,.calc-sign{font-size:10px}.calc-factor{padding:3px}.calc-factor strong{font-size:16px}.score-result{min-width:67px;padding:0 2px}.score-result strong{font-size:25px}.score-result small{font-size:5px}.score-details{font-size:8px}.score-panel .section-kicker{font-size:6px;letter-spacing:.7px}.score-panel .section-kicker .quiet{font-size:6px}.empty-trace{font-size:7px}.hand{min-height:130px;margin:0 5px;padding-right:22px}.hand .card{width:calc(100% + 22px);height:105px}.card-corner,.card-bottom{font-size:17px}.card-corner small,.card-bottom small{font-size:14px}.card-center{font-size:40px}.card-corner{top:5px;left:5px}.card-bottom{bottom:5px;right:5px}.hand-label h2{font-size:11px}.hand-label h2 span{font-size:7px}.hand-label .quiet{font-size:7px}.hand-caption{font-size:6px}.alien-tooltip{width:190px;font-size:9px}.alien-tooltip p{font-size:9px}.right-panels{gap:12px}.topbar nav #help-btn{display:none}.topbar #menu-btn{font-size:11px}.hero{min-height:680px;grid-template-columns:1fr 1fr;gap:0;padding:25px 15px 15px}.hero h1{font-size:45px;letter-spacing:-1.5px}.hero-copy{font-size:13px}.hero-crew{margin-bottom:70px}.hero-alien>strong{font-size:9px}.crew-caption{white-space:normal;width:100%;text-align:center;bottom:-50px}.end-screen{padding:15px 0}.end-screen h1{font-size:28px}.end-screen .eyebrow{font-size:6px}.end-stats{gap:15px}.end-stats strong{font-size:22px}.end-stats small{font-size:6px}.end-screen .score-equation{justify-content:center}.end-symbol{font-size:50px}.poker-overview{padding:15px}.poker-row{font-size:12px;padding:8px 4px}.poker-row b{font-size:12px}.brand{max-width:320px}.brand-logo{max-width:320px}}
@media(max-width:650px){.topbar{height:70px;padding:10px 12px}.brand{font-size:21px;letter-spacing:-1px;gap:8px}.brand-icon{height:37px;width:33px}.brand small{font-size:6px;letter-spacing:1.6px}.topbar nav{gap:5px}.topbar #settings-btn,.topbar #sound-btn{height:35px;width:35px;font-size:21px}.topbar #menu-btn{height:35px;font-size:10px;padding:6px 8px}main{padding:5px 10px 20px;min-height:calc(100vh - 110px)}.casino-layout{display:flex;flex-direction:column;gap:13px}.hud{position:static;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:14px 12px}.hud .sector-label{grid-column:1/3;gap:9px}.hud .sector-label strong{font-size:18px}.hud .sector-label span{font-size:10px}.hud .sector-progress{grid-column:3;align-self:center;margin:0;gap:3px;flex-wrap:wrap}.sector-progress i{max-width:7px;min-width:4px;height:7px}.sector-progress i.current{outline-offset:2px}.stage-label{grid-column:1/-1;margin:0;font-size:8px;letter-spacing:.6px}.hud .target-stat{grid-column:1;margin:0;padding:8px 8px;display:flex;flex-direction:column;justify-content:center}.hud .target-stat small,.hud .points-stat small{font-size:9px}.hud .target-stat strong{font-size:26px;gap:6px;margin-top:6px;letter-spacing:-.5px}.poker-chip{flex-basis:19px;width:19px;height:19px;border-width:1px}.poker-chip:after{inset:4px}.hud .points-stat{grid-column:2;padding:5px 6px;border:0;display:flex;flex-direction:column;justify-content:center}.hud .points-stat strong{font-size:29px;margin-top:6px}.hud progress{height:3px;margin-top:7px}.resource-list{grid-column:3;margin:0;align-self:center}.resource-list>div{margin:6px 0;gap:3px}.resource-list dt{gap:4px;font-size:9px;white-space:nowrap}.resource-list dd{font-size:14px}.resource-list dt .ui-icon{width:13px;height:13px}.coin-icon{font-size:15px}.hud .console-actions{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1.2fr .85fr .65fr;gap:5px;margin:3px 0 0}.console-actions button,.console-actions .primary{padding:10px 5px;font-size:9px;gap:5px;justify-content:center}.console-actions button .ui-icon{width:14px;height:14px}.console-actions button small{font-size:7px}.console-actions [data-do=deck]{font-size:8px}.console-actions [data-do=menu] .ui-icon{display:none}.hud .ship-status{display:none}.center-console{width:100%}.right-console{width:100%}.right-panels{grid-template-columns:1fr}.right-console>summary{font-size:11px;margin-bottom:10px;padding:12px}.joker-row{gap:7px}.inventory{margin-bottom:8px}.section-kicker,.section-kicker span{font-size:7px}.joker-empty{min-height:121px;gap:4px}.holo-silhouette{width:31px;height:39px}.holo-silhouette:before,.holo-silhouette:after{width:6px;height:8px;top:13px}.holo-silhouette:before{left:6px}.holo-silhouette:after{right:6px}.joker-empty span{font-size:6px}.joker-empty small{font-size:5px}.joker-info{padding:6px 3px}.joker-info h3{font-size:9px;margin-bottom:4px;letter-spacing:-.3px}.joker-info p{display:none}.alien-code{font-size:5px;left:2px;right:2px}.joker-tools{min-height:18px}.joker-tools button{font-size:7px;padding:2px 3px}.scale{font-size:6px}.table{padding:3px 2px}.table-heading{font-size:6px;padding:2px 5px 6px}.played-area{gap:8px;min-height:123px;padding:7px 3px}.played-area .card{width:65px;height:96px}.table-watermark{gap:5px}.table-watermark .ui-icon{width:43px;height:43px}.table-watermark strong{font-size:13px}.table-watermark small{font-size:8px}.combination-label{font-size:19px;margin:7px 0 12px}.score-panel{margin-bottom:15px;padding:10px 8px 6px}.score-equation{gap:3px}.score-equation small{font-size:6px}.score-equation strong{font-size:17px}.score-result strong{font-size:28px}.calc-factor{padding:1px}.calc-factor strong{font-size:15px}.score-result{min-width:72px}.score-panel .section-kicker{font-size:6px}.score-details{font-size:8px}.hand{min-height:143px;padding-top:18px;padding-right:23px;margin:0 7px}.hand .card{height:112px;width:calc(100% + 23px)}.hand .card:nth-child(1){--fan:-7deg;--drop:9px}.hand .card:nth-child(n+8){--fan:7deg;--drop:9px}.hand-label h2{font-size:11px}.hand-label .quiet{font-size:7px}.hand .card.selected,.hand .card.selected:hover{transform:translateY(-17px) rotate(0)}.hand-caption{font-size:7px;margin-top:6px}.card-corner,.card-bottom{font-size:18px}.card-corner small,.card-bottom small{font-size:15px}.card-center{font-size:38px}.mod-badge{font-size:5px;padding:0 3px;bottom:2px;left:3px}.right-panels .offer .joker-art{max-height:145px}.offer-body h3{font-size:13px}.offer-body p{font-size:10px;max-height:none}.offer-body>button{font-size:12px;padding:7px 1px}.offer-body .compare-button{font-size:9px}.offer-body>small{font-size:8px}.market-tabs>button{font-size:10px;padding:8px 3px}.workshop-link{font-size:11px;padding:9px}.market-hint{font-size:10px}.shop{padding:16px}.market-header{margin-bottom:10px}.market-header h2{font-size:31px}.market-header>button{font-size:10px;min-width:110px}.market-header>button strong{font-size:15px}.market-docking .alien-portrait{max-width:150px}.market-docking>p{font-size:11px}.poker-row{font-size:13px;padding:8px 5px}.poker-row b{font-size:13px}.poker-overview{padding:18px}.market-status{font-size:8px}.space-hero{display:flex;flex-direction:column;padding:25px 10px 10px;min-height:0;gap:0}.hero-window{padding:10px 7px 0;width:100%}.hero h1{font-size:clamp(42px,12vw,62px);letter-spacing:-2px;margin-bottom:18px}.hero .eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:18px}.hero-copy{font-size:13px;line-height:1.8;margin-bottom:22px}.menu-actions{max-width:none;flex-direction:row;gap:8px}.menu-actions button{min-width:0;padding:13px 12px;font-size:11px;flex:1;gap:5px}.menu-actions .ui-icon{width:16px;height:16px}.menu-links{max-width:none;flex-wrap:wrap;margin-top:12px}.menu-links .quiet{font-size:10px;padding:7px}.menu-links button:first-child{padding-left:0}.hero-crew{margin:36px 0 43px;width:90%;max-width:430px}.hero-alien>strong{font-size:11px}.crew-caption{font-size:6px;bottom:-33px;letter-spacing:.8px}.hero-bottom{position:static;padding:5px 0 10px;gap:8px;font-size:6px;letter-spacing:.6px}.layer-cockpit{background-size:auto 100%;opacity:.4}.layer-planets{background-position:65% 0;background-size:auto 100%}footer{font-size:6px;padding:13px 12px;letter-spacing:1px}footer span{font-size:7px}.end-screen{padding:15px 0}.end-screen h1{font-size:30px}.end-screen .eyebrow{font-size:7px}.end-screen p{font-size:11px}.end-stats{margin:25px 0}.end-stats strong{font-size:24px}dialog{padding:30px 20px;max-width:95vw}.collection .joker-info h3{font-size:14px}.collection .joker-info p{font-size:10px}.collection .joker-info{padding:10px}.alien-tooltip{display:none}dialog .collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.collection .alien-code{font-size:7px}.collection .joker-art{aspect-ratio:1.15}.deck-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.deck-grid .card-corner{font-size:15px}.deck-grid .card-bottom{font-size:15px}.deck-grid .card small{font-size:12px}.deck-grid .card-center{font-size:31px}.workshop-controls{top:-30px}.effect-burst{font-size:8px;padding:3px 4px}.round-payout{font-size:7px}.brand{max-width:260px}.brand-logo{max-width:260px}}
@media(max-width:370px){.topbar #menu-btn{display:none}.hud{padding:12px 10px;gap:6px}.hud .target-stat strong{font-size:22px}.hud .points-stat strong{font-size:25px}.resource-list dt{font-size:8px}.resource-list dd{font-size:13px}.resource-list dt .ui-icon{display:none}.console-actions .ui-icon{display:none}.console-actions button,.console-actions .primary{font-size:8px;padding:10px 4px}.console-actions [data-do=deck]{font-size:7px}.joker-row{gap:5px}.joker-info h3{font-size:8px}.joker-empty{min-height:100px}.joker-empty span{font-size:5px}.joker-empty small{display:none}.section-kicker,.section-kicker span{font-size:6px}.score-panel{padding:9px 6px}.score-equation{gap:2px}.calc-group{gap:2px;padding:6px 2px}.score-equation small{font-size:5px}.score-equation strong{font-size:15px}.calc-group>span,.calc-sign{font-size:9px}.calc-factor strong{font-size:13px}.score-result{min-width:57px;padding:0 1px}.score-result strong{font-size:23px;letter-spacing:-1px}.score-result small{font-size:4px}.score-panel .section-kicker{font-size:5px}.score-panel .section-kicker .quiet{font-size:5px}.played-area .card{width:49px;height:77px}.played-area{min-height:104px;gap:6px}.card-corner,.card-bottom{font-size:16px}.card-corner small,.card-bottom small{font-size:13px}.card-center{font-size:31px}.hand{margin:0 5px;min-height:130px;padding-right:20px}.hand .card{width:calc(100% + 20px);height:99px}.combination-label{font-size:17px}.table-heading{font-size:5px}.table-heading span:last-child{font-size:5px}.table-watermark strong{font-size:12px}.table-watermark small{font-size:7px}.hand-caption{font-size:6px}.menu-actions button{font-size:10px}.hero h1{font-size:42px}.hero-copy{font-size:12px}.hero-crew{width:92%;margin-top:28px}.hero-alien>strong{font-size:10px}.crew-caption{font-size:5px}.hero-bottom{font-size:5px}.market-header h2{font-size:27px}.market-header>button{min-width:100px;font-size:9px}.offer-body h3{font-size:11px}.offer-body p{font-size:9px}.offer-body>button{font-size:11px}.market-tabs>button{font-size:8px}.poker-row{font-size:12px}.poker-row b{font-size:12px}.shop{padding:14px 12px}.end-screen h1{font-size:27px}}
.reduced-motion .alien-blink{display:none!important}.reduced-motion .alien-open{opacity:1!important}.reduced-motion .space-layer,.reduced-motion .alien-portrait,.reduced-motion .joker-tile,.reduced-motion .effect-burst{animation:none!important}.reduced-motion .effect-burst{opacity:1;transform:translateX(-50%)}@media(prefers-reduced-motion:reduce){.alien-blink{display:none!important}.alien-open{opacity:1!important}.space-layer,.alien-portrait,.joker-tile,.effect-burst{animation:none!important}.effect-burst{opacity:1;transform:translateX(-50%)}}
/* Explicit tracks prevent absolute SVG layers from collapsing in grid min-content sizing. */
.joker-art{display:block;position:relative}.joker-art .alien-portrait{position:absolute;inset:0;width:100%;height:100%;margin:0;aspect-ratio:auto}.hud .sector-label,.hud .sector-progress{flex-direction:row}.joker-tile:nth-child(n+4) .alien-tooltip{left:auto;right:0;transform:none}.joker-tile:nth-child(-n+2) .alien-tooltip{left:0;transform:none}
.alien-info-hit{position:absolute;inset:0;width:100%;height:100%;padding:0;background:transparent;border:0;box-shadow:none;z-index:2;cursor:pointer}.alien-info-hit:hover:not(:disabled){background:transparent;box-shadow:none;border:0}.alien-info-hit>span{position:absolute;right:5px;top:4px;color:#BCF8DAAA;font-size:12px;text-shadow:0 2px 4px #000}.alien-detail{text-align:center}.alien-detail-art{max-width:220px;margin:0 auto 5px}.alien-detail .eyebrow{margin-bottom:15px}.alien-detail h2{margin-bottom:12px}.alien-detail .ability-description{border:1px solid #438F79;border-radius:5px;background:#00E68A0D;color:#D7FCEB;padding:18px;font-size:16px}.alien-detail-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0}.alien-detail-controls button{min-height:44px;font-size:12px}.alien-detail .quiet{margin-top:12px}.collection .alien-info-hit>span{font-size:17px;top:8px;right:8px}@media(max-width:650px){.joker-row .joker-tools{display:none}.joker-row .alien-info-hit>span{font-size:11px;top:3px;right:3px}.joker-row .joker-info{min-height:32px}.alien-detail-art{max-width:190px}.alien-detail .ability-description{font-size:15px}.alien-detail-controls{gap:7px}.alien-detail-controls button{font-size:11px;padding:10px 12px}}
@media(max-width:650px){body.in-game{padding-bottom:76px}.hud .console-actions{position:fixed;left:0;right:0;bottom:0;width:100%;z-index:25;display:grid;grid-template-columns:1.3fr 1.3fr 1fr .65fr;gap:6px;padding:10px 10px max(10px,env(safe-area-inset-bottom));margin:0;background:linear-gradient(180deg,#0D2929F5,#031018FA);border-top:1px solid #58CFA3;box-shadow:0 -5px 22px #000A}.hud .console-actions:has([data-do=next]),.hud .console-actions:has([data-do=new-dialog]){grid-template-columns:1.3fr 1fr .8fr}.console-actions button,.console-actions .primary{min-height:44px;font-size:10px}.console-actions [data-do=deck]{font-size:9px}.in-game footer{padding-bottom:18px}}

/* Graphic variant selection does not alter original card frames or animations. */
.graphics-settings{margin:0 0 16px;padding:0 16px 10px;border:1px solid #3D7468;border-radius:5px}.graphics-settings legend{padding:0 8px;font-weight:700;color:#B6F5D2}.graphics-settings .setting{border-bottom:0;padding-bottom:8px}.graphics-settings #graphics-status{font-size:11px;line-height:1.7;margin:0;color:#8CBBA8}.graphics-settings select{font-size:12px;max-width:62%;min-height:42px}@media(max-width:520px){.graphics-settings{padding:0 10px 8px}.graphics-settings .setting{font-size:11px;gap:8px}.graphics-settings select{font-size:10px;max-width:65%}.graphics-settings #graphics-status{font-size:10px}}

/* Central audio dialog; uses the existing casino dialog and palette. */
#audio-settings{max-width:100%}.audio-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0 12px}.audio-channel{min-width:0;margin:0;padding:12px 18px 6px;border:1px solid #3a897c;border-radius:8px;background:linear-gradient(145deg,#102c32,#091523)}.audio-channel:nth-child(2){border-color:#7e65a1;background:linear-gradient(145deg,#1d2038,#091523)}.audio-channel legend{padding:0 8px;color:var(--mint);font-weight:700;font-size:15px}.audio-channel:nth-child(2) legend{color:#d1b8ff}.audio-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;font-size:14px}.audio-channel input[role=switch]{appearance:none;-webkit-appearance:none;width:50px;height:28px;flex:0 0 50px;margin:0;border:1px solid #607b80;border-radius:20px;background:#122027;cursor:pointer;position:relative}.audio-channel input[role=switch]:before{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#a2b5b9;transition:transform .15s,background .15s}.audio-channel input[role=switch]:checked{background:#175640;border-color:#56e4b0}.audio-channel input[role=switch]:checked:before{transform:translateX(22px);background:#a0ffcf}.audio-volume-label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;font-size:13px}.audio-volume-label output{font-variant-numeric:tabular-nums;font-size:16px;font-weight:700;color:#d4fff3;min-width:5ch;text-align:right}.audio-channel input[type=range]{display:block;width:100%;min-height:44px;accent-color:var(--mint);cursor:pointer;margin:0}.audio-channel:nth-child(2) input[type=range]{accent-color:#bf91fa}.audio-channel p{font-size:11px;line-height:1.6;margin:8px 0 12px;overflow-wrap:anywhere}#music-status{color:#a4ebd2;min-height:2.8em}.audio-persistence{font-size:11px!important}#audio-done{min-height:44px;margin-top:8px}#sound-btn[data-state=active]{color:#a2ffdc}#sound-btn[data-state=muted]{color:#9cafb8}@media(max-width:600px){.audio-settings-grid{grid-template-columns:minmax(0,1fr);gap:15px;margin-top:18px}.audio-channel{padding:9px 14px 4px}.audio-channel legend{font-size:14px}#audio-heading{font-size:25px}dialog:has(#audio-settings){padding:35px 18px 22px;max-width:calc(100vw - 24px);max-height:88dvh}#music-status{min-height:0}}

/* Header stays flexible; the official source logo can replace the name span. */
.topbar{height:auto;min-height:88px;align-items:center;justify-content:flex-end;gap:15px 24px;flex-wrap:wrap}.brand{display:block;transform:none;text-shadow:none;letter-spacing:0;min-width:0;max-width:min(560px,100%);flex:0 1 480px}.brand-logo{display:block;width:100%;max-width:480px;height:auto;object-fit:contain}.topbar nav{flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}.topbar nav button{min-width:44px;min-height:44px;margin:0}@media(max-width:700px){.topbar{padding:12px;height:auto;min-height:0;gap:8px}.brand{flex:1 1 100%;width:100%;max-width:100%;font-size:20px}.brand-logo{width:min(100%,240px);max-width:100%;margin:0 auto}.topbar nav{width:100%;margin:0;justify-content:flex-end;gap:6px}.topbar nav #help-btn{display:block}.topbar nav .quiet{font-size:12px;padding:7px 10px}}
