:root{color-scheme:dark;--bg:#0b1423;--panel:#14243a;--raised:#1b304b;--line:#2b4662;--text:#edf5fd;--muted:#a8bfd2;--dim:#728ba4;--pink:#ff6eab;--cyan:#62dded;--gold:#ffc86d;--violet:#ba9cff;--green:#9ce3ba;--red:#ff887e;--font:'Avenir Next','Trebuchet MS','Gill Sans',sans-serif;--family:var(--pink);--radius:12px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px/1.45 var(--font);font-variant-numeric:tabular-nums}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:4px}h1,h2,h3,h4,p{margin:0}a{color:var(--cyan)}.sr-only{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.button{display:inline-flex;align-items:center;justify-content:center;padding:11px 19px;border:1px solid transparent;border-radius:7px;background:var(--pink);color:var(--bg);font-weight:750;font-size:12px;min-height:40px;box-shadow:0 4px 16px #ff6eab20}.button:hover:not(:disabled){background:#ff95c0;transform:translateY(-1px)}.button.secondary{background:var(--raised);border-color:var(--line);color:var(--text);box-shadow:none}.button.secondary:hover:not(:disabled){background:#244360}.text-button{padding:5px 0;background:none;border:0;color:var(--muted);font-size:11px}.text-button:hover{color:var(--cyan)}.icon-button{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:6px;padding:6px 11px;font-size:11px}.icon-button:hover{color:var(--text);border-color:var(--cyan)}.game-header{height:57px;display:flex;align-items:center;gap:20px;padding:0 22px;background:#0a1220;border-bottom:1px solid var(--line)}.brand{font:850 19px/1 var(--font);letter-spacing:-.07em;background:none;border:0;padding:0;width:205px;text-align:left}.brand span{color:var(--pink);margin-left:3px}.phase-nav{display:flex;align-items:center;justify-content:center;flex:1;gap:22px}.phase-nav span{font-size:11px;color:var(--dim)}.phase-nav .active{color:var(--text);position:relative;font-weight:700}.phase-nav .active:after{content:'';position:absolute;bottom:-19px;left:0;right:0;height:3px;border-radius:2px;background:var(--pink)}.phase-nav .complete{color:var(--green)}.header-controls{display:flex;gap:7px}.game-shell{display:grid;grid-template-columns:231px minmax(0,1fr);height:calc(100dvh - 57px);min-height:640px}.left-rail{display:flex;flex-direction:column;gap:11px;padding:14px;background:#0e1b2d;border-right:1px solid var(--line);overflow-y:auto;min-height:0}.contract-chip>span{color:var(--muted);font-size:10px}.contract-chip h2{font-size:21px;letter-spacing:-.035em;margin:3px 0}.contract-chip small{font-size:9px;color:var(--dim)}.turn-track{display:flex;gap:4px;margin-top:6px}.turn-track i{flex:1;height:3px;background:var(--line);border-radius:2px}.turn-track i.lit{background:var(--pink)}.wallet{display:flex;justify-content:space-between;align-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}.wallet>span{color:var(--muted);font-size:11px}.cash-total{font-size:20px;color:var(--gold);letter-spacing:-.04em}.equipment h3{font-size:11px;color:var(--muted);margin-bottom:6px;font-weight:500}.equipment-module{display:flex;align-items:center;gap:7px;padding:3px 0}.equipment-module strong{display:block;font-size:11px}.equipment-module span{display:block;font-size:9px;color:var(--muted)}.equipment-module>.item-art{width:38px;height:35px;flex-shrink:0;border-radius:5px;background-color:#07101c}.build-values{display:flex;justify-content:space-between;gap:5px;padding-top:6px;margin-top:4px;border-top:1px solid var(--line)}.build-values span{font-size:8px;color:var(--dim)}.build-values b{display:block;color:var(--text);font-size:13px}.lesson-card{padding:10px;background:#17352e;border:1px solid #35665b;border-radius:8px}.lesson-card>span{font-size:9px;color:var(--green)}.lesson-card h3{font-size:12px;margin:4px 0}.lesson-card ol{list-style:none;padding:0;margin:6px 0}.lesson-card li{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px;padding:1px 0}.lesson-card li:before{content:'○';color:var(--dim)}.lesson-card li.done{color:var(--green)}.lesson-card li.done:before{content:'●';color:var(--green)}.lesson-card p{font-size:9px;color:var(--muted)}#inspector-slot{flex:1;min-height:95px;overflow-y:auto}.card-inspector{padding:11px;background:var(--panel);border-top:2px solid var(--family);border-radius:7px;min-height:100%}.card-inspector .item-art{height:105px;margin:3px 0}.inspect-family{font-size:9px;color:var(--family)}.card-inspector h3{font-size:17px;letter-spacing:-.035em}.inspect-cost{color:var(--family);font-size:10px;margin:5px 0}.card-inspector p{font-size:10px;line-height:1.6;color:var(--muted)}.inspect-lead{padding-top:8px;margin-top:10px;border-top:1px solid var(--line)}.inspect-lead strong{font-size:10px;color:var(--family)}.inspect-lead p{font-size:9px;margin-top:4px}.inspector-impact{display:flex;align-items:center;gap:9px;padding:8px;margin-top:7px;background:#0c1b2d;border-radius:5px}.inspector-impact b{font-size:25px;color:var(--family)}.inspector-impact span{font-size:9px;color:var(--muted)}.empty-inspector{display:flex;flex-direction:column;gap:12px;border-top-color:var(--line)}.empty-inspector h3{font-size:14px}.discipline-key{display:grid;grid-template-columns:1fr 1fr;gap:7px}.discipline-key span{font-size:10px;color:var(--family)}.rail-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:auto;flex-shrink:0}.left-rail:has(.lesson-card) .card-inspector .item-art{height:55px}.left-rail:has(.lesson-card) .card-inspector p{font-size:9px}.left-rail:has(.lesson-card) .card-inspector h3{font-size:14px}
.battle-table{padding:12px 15px;display:grid;grid-template-rows:minmax(182px,1fr) 115px 172px 84px;gap:9px;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 50% 15%,#24304870,transparent 70%),var(--bg)}.combat-arena{position:relative;isolation:isolate;min-height:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#0b1626}.arena-backdrop{position:absolute;inset:0;z-index:-2;background-image:linear-gradient(0deg,#0c1729 0%,#101f3440 70%,#101f34a0),url('../assets/hunt.png');background-size:cover;background-position:center 48%;opacity:.75}.arena-backdrop.cantina{background-image:linear-gradient(0deg,#0c1729 0%,#101f3420 70%,#101f3490),url('../assets/cantina.png');background-position:center 40%}.hp-panel{position:absolute;top:12px;width:230px;z-index:3;padding:9px 11px;border:1px solid #3c526d;border-radius:8px;background:#0b1525ed;backdrop-filter:blur(8px)}.player-hp{left:12px}.enemy-hp{right:12px}.hp-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:6px}.hp-heading strong{font-size:13px}.hp-heading span{color:var(--muted);font-size:11px}.hp-heading b{font-size:16px;color:var(--text)}.health-track{height:7px;background:#26344a;border-radius:3px;position:relative;overflow:hidden}.health-track i{position:absolute;left:0;top:0;height:100%;background:var(--green);transition:width .25s ease}.enemy-hp .health-track i{background:var(--pink)}.health-track .health-ghost{background:#f3eed9;transition:width .7s ease}.enemy-hp .health-track .health-ghost{background:#f3eed9}.secondary-stats{display:flex;justify-content:space-between;margin-top:5px;font-size:10px;color:var(--muted)}.secondary-stats b{margin-left:3px}.barrier-stat b,.armour-stat b{color:var(--cyan)}.evasion-stat b{color:var(--gold)}.restraint-meter{color:var(--violet)}.capture-line{font-size:8px;color:var(--dim);margin-top:4px}.character{position:absolute;bottom:-29px;width:245px;height:clamp(195px,28vh,310px);z-index:1;transform-origin:center 65%}.character img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 0 16px #070d16)}.player-character{left:17%}.enemy-character{right:15%}.enemy-character img{object-position:center bottom}.rook-portrait{height:100%;width:100%;background:url('../assets/cantina.png') 53% 33%/420% auto no-repeat;mask-image:linear-gradient(0deg,transparent,black 20%);border-radius:45% 45% 0 0}.character-shield{position:absolute;inset:10% 2% 8%;border:2px solid transparent;border-radius:50%;pointer-events:none;transition:background .15s,border-color .15s}.barrier-active .character-shield{border-color:#62dded90;background:radial-gradient(ellipse,#62dded00 60%,#62dded35);box-shadow:0 0 25px #62dded35;z-index:2}.power-aura{filter:drop-shadow(0 0 25px var(--pink))}.enemy-character.captured:after{content:'SECURED';position:absolute;left:5%;right:5%;top:40%;border:2px solid var(--violet);color:var(--violet);text-align:center;font-weight:800;font-size:22px;padding:8px;transform:rotate(-9deg);background:#0b1423b0;z-index:5}.enemy-character.terminated{filter:grayscale(1);opacity:.45}.enemy-intent{position:absolute;top:14px;left:50%;transform:translateX(-50%);text-align:center;z-index:3;min-width:180px;max-width:240px}.enemy-intent>span{font-size:9px;color:var(--muted)}.enemy-intent strong{display:block;font-size:13px;margin:3px 0}.enemy-intent b{background:#522d31;border:1px solid #8c4b49;color:#ffbba8;border-radius:4px;padding:2px 6px;margin-left:5px}.enemy-intent small{font-size:8px;color:var(--dim)}.combat-callout{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);max-width:330px;width:38%;text-align:center;z-index:4;text-shadow:0 2px 10px #000}.combat-callout strong{display:block;font-size:17px;line-height:1.15;font-weight:800;letter-spacing:-.03em;color:var(--text)}.combat-callout span{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}.combat-callout.big{padding:16px 5px;background:radial-gradient(ellipse,#0b1423f0,transparent 70%);width:70%;max-width:630px}.combat-callout.big strong{font-size:clamp(24px,3.1vw,47px);letter-spacing:-.055em;color:var(--burst);text-shadow:0 0 35px var(--burst)}.combat-callout.big span{font-size:12px;color:var(--text)}.turn-result{position:absolute;inset:12px 14%;z-index:6;background:#0b1525ee;border:1px solid #5b647e;border-radius:11px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:17px;text-align:center;backdrop-filter:blur(10px)}.turn-result h2{font-size:22px;letter-spacing:-.04em}.result-metrics{display:flex;justify-content:center;gap:27px;margin:14px 0}.result-metrics span{font-size:9px;color:var(--muted)}.result-metrics b{display:block;font-size:25px;color:var(--pink)}.result-metrics span:nth-child(2) b{color:var(--cyan)}.result-metrics span:nth-child(3) b{color:var(--red)}.turn-result p{color:var(--muted);font-size:10px;margin-bottom:10px}.turn-result .button{min-height:33px;padding:8px 18px}
.program{min-width:0;display:grid;grid-template-rows:24px 59px 25px;gap:4px}.program-heading{display:flex;align-items:center;gap:12px}.program-heading>div:first-child{display:flex;align-items:baseline;gap:13px;flex:1}.program-heading h2{font-size:13px;font-weight:700;letter-spacing:-.02em}.program-heading>div>span{font-size:9px;color:var(--muted)}.energy-meter{display:flex;align-items:center;gap:6px;color:var(--cyan);font-size:10px}.energy-meter strong{font-size:19px}.energy-meter>span{font-size:8px;color:var(--dim)}.draw-pile{font-size:9px;font-weight:700;width:32px;height:24px;border:1px solid var(--line);background:var(--panel);border-radius:4px;text-align:center;display:flex;gap:5px;align-items:center;justify-content:center;box-shadow:2px 2px 0 var(--line)}.draw-pile small{font-size:8px;color:var(--muted)}.order-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.order-slot{border:1px solid #35516c;border-left:3px solid var(--family);background:var(--panel);border-radius:7px;display:flex;align-items:center;gap:7px;padding:6px 8px;min-width:0;position:relative;transition:background .15s}.order-slot>.item-art{width:43px;height:43px;flex-shrink:0;border-radius:4px}.order-name{flex:1;min-width:0}.order-name strong{display:block;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-name small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.order-actions{display:flex;align-items:center;gap:3px;max-width:95px;flex-wrap:wrap;justify-content:end}.lead-button{font-size:8px;border:1px solid var(--line);border-radius:4px;background:#122238;color:var(--muted);padding:3px 6px;min-width:63px}.is-lead{border-color:var(--family);background:color-mix(in srgb,var(--family) 12%,var(--panel))}.is-lead .lead-button{background:var(--family);color:var(--bg);border-color:var(--family);font-weight:700}.order-arrow{font-size:14px;line-height:1;border:0;background:#0b1a2d;border-radius:3px;color:var(--muted);width:17px;height:15px;display:grid;place-items:center;padding:0}.order-slot.empty{border:1px dashed var(--line);justify-content:center;flex-direction:column;gap:2px;padding:3px}.order-slot.empty span{font-size:10px;color:var(--muted)}.order-slot.empty small{font-size:8px;color:var(--dim)}.order-slot.running{box-shadow:0 0 20px color-mix(in srgb,var(--family) 25%,transparent);border-color:var(--family)}.lead-explainer{display:flex;align-items:center;gap:12px;color:var(--family);padding:3px 8px;border-radius:5px;background:#14243a;min-width:0;overflow:hidden}.lead-explainer span{font-size:10px;white-space:nowrap;font-weight:650}.lead-explainer small{color:var(--muted);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hand-rack{min-width:0;display:flex;flex-direction:column;gap:5px}.hand-label{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--muted)}.hand-label b{font-size:11px;color:var(--text);margin-left:3px}.hand-label>span:last-child{color:var(--dim)}.command-hand{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;align-items:start;min-width:0;flex:1}.hand-card{position:relative;min-width:0;transition:transform .18s;transform-origin:50% 85%;--shape:polygon(0 0,85% 0,100% 12%,100% 100%,12% 100%,0 90%)}.hand-card.systems{--shape:polygon(13% 0,87% 0,100% 15%,100% 85%,87% 100%,13% 100%,0 85%,0 15%)}.hand-card.drive{--shape:polygon(15% 0,100% 0,86% 100%,0 100%)}.hand-card.control{--shape:polygon(0 10%,10% 10%,10% 0,90% 0,90% 10%,100% 10%,100% 90%,90% 90%,90% 100%,10% 100%,10% 90%,0 90%)}.hand-card:hover:not(:has(button:disabled)){transform:translateY(-7px)}.hand-card.selected{transform:translateY(-7px);filter:drop-shadow(0 0 8px color-mix(in srgb,var(--family) 35%,transparent))}.card-select{width:100%;padding:1px;background:color-mix(in srgb,var(--family) 55%,var(--line));border:0;clip-path:var(--shape);text-align:center;display:block;box-shadow:none;min-width:0}.selected .card-select{background:var(--family);padding:2px}.card-select:hover:not(:disabled){background:var(--family)}.card-select:disabled{opacity:.45}.selected .card-select:disabled{opacity:.85}.card-surface{height:129px;clip-path:var(--shape);background:linear-gradient(155deg,color-mix(in srgb,var(--family) 10%,#132238),#0b1729 70%);position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:8px 6px 7px}.card-top{position:absolute;inset:7px 11px auto;display:flex;align-items:center;justify-content:space-between;z-index:1;color:var(--family)}.energy-cost{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:800;background:#0b1423;border:1px solid var(--family)}.family-symbol{font-size:13px}.card-surface>.item-art{width:100%;height:66px;margin-top:0;mix-blend-mode:screen;flex-shrink:0}.card-surface h3{font-size:11px;font-weight:750;letter-spacing:-.025em;line-height:1.1;margin-top:2px;min-height:23px;max-width:100%;display:flex;align-items:center;justify-content:center}.card-effect{font-size:10px;color:var(--family);margin-top:auto;white-space:nowrap}.family-name{font-size:8px;color:var(--muted);margin-top:2px}.drive .card-surface{padding-inline:13px}.control .card-surface{padding-inline:11px}.item-art{background-image:url('./assets/card-atlas.png');background-size:400% 300%;background-position:var(--art-x) var(--art-y);background-repeat:no-repeat}.attached-preview,.unselected-caption{display:block;font-size:8px;line-height:1.2;text-align:center;padding:5px 1px;color:var(--family);min-height:23px;overflow:hidden}.attached-preview{font-weight:700}.attached-preview b{color:var(--text);display:inline-block}.unselected-caption{color:var(--dim);font-size:7px}.undealt{opacity:0}.lesson-highlight:not(.selected) .card-select{background:var(--family)}
.commit-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,245px);align-items:center;gap:15px;padding:8px 13px;border:1px solid var(--line);border-radius:9px;background:var(--panel);min-width:0}.live-forecast{display:flex;align-items:center;justify-content:space-around;gap:12px}.live-forecast>div{display:flex;flex-direction:column;min-width:0}.live-forecast span{font-size:9px;color:var(--muted)}.live-forecast strong{font-size:23px;line-height:1.15;color:var(--text);letter-spacing:-.04em}.live-forecast small{font-size:8px;color:var(--muted)}.live-forecast strong.risk{color:var(--red)}.live-forecast>p{font-size:11px;max-width:470px;color:var(--muted);line-height:1.6}.commit-action{display:flex;align-items:center;gap:10px;justify-content:flex-end}.commit-hint{font-size:8px;color:var(--muted);line-height:1.35;max-width:135px;text-align:right}.commit-action .button{white-space:nowrap;padding:11px 15px}.resolution-progress{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.resolution-progress strong{font-size:12px}.resolution-progress small{font-size:10px;color:var(--muted)}.resolution-pulse{width:7px;height:7px;border-radius:50%;background:var(--pink);box-shadow:0 0 12px var(--pink)}.commit-bar>p{font-size:11px;color:var(--muted)}
.main-menu{min-height:100dvh;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;background:var(--bg)}.menu-background{position:absolute;inset:0;z-index:-3;background:url('../assets/key-art.png') right 65%/cover;opacity:.25}.main-menu:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1423 0%,#0b1423f0 25%,#0b142350 70%,#0b142330),linear-gradient(0deg,#0b1423,transparent 35%)}.menu-content{padding:65px 6vw;position:relative;z-index:3;width:53%;max-width:720px}.bureau-seal{font-size:10px;color:var(--cyan);letter-spacing:.07em;margin-bottom:25px}.menu-content h1{font-size:clamp(66px,7.9vw,120px);font-weight:850;letter-spacing:-.075em;line-height:.9}.menu-content h1 span{display:block;color:var(--pink)}.menu-tagline{font-size:23px;font-weight:650;line-height:1.3;letter-spacing:-.03em;margin:25px 0 14px;max-width:430px}.menu-copy{max-width:370px;font-size:12px;line-height:1.8;color:var(--muted)}.menu-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:27px}.menu-actions .button{font-size:12px;padding:13px 19px;min-height:43px}.menu-links{display:flex;gap:22px;margin-top:24px}.menu-links .text-button{font-size:10px}.menu-version{font-size:9px;display:block;margin-top:35px;color:var(--dim)}.menu-characters{position:absolute;right:-1%;width:61%;height:91%;bottom:0;z-index:1;pointer-events:none;mask-image:linear-gradient(0deg,transparent,black 18%)}.menu-characters img{position:absolute;bottom:-3%;height:100%;width:69%;object-fit:contain;object-position:bottom}.menu-isekai{left:0;z-index:2}.menu-vexa{right:-1%;height:94%!important;width:61%!important;z-index:1}.menu-bottom{position:absolute;left:6vw;right:3vw;bottom:18px;display:flex;justify-content:space-between;font-size:9px;color:var(--dim);z-index:3}
dialog{color:var(--text);padding:0;border:1px solid #45617c;background:var(--panel);border-radius:13px;max-width:calc(100vw - 36px);max-height:calc(100dvh - 36px);box-shadow:0 25px 110px #000a}dialog::backdrop{background:#030914cd;backdrop-filter:blur(6px)}.scene-dialog{width:1060px;height:590px;overflow:hidden;position:fixed;isolation:isolate;background:#101c2c}.scene-backdrop{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b142330,#0b1423f5 60%),url('../assets/cantina.png') center/cover;opacity:.8}.scene-portrait{position:absolute;left:0;bottom:-30px;width:52%;height:103%;pointer-events:none}.scene-character{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 0 25px #0009)}.scene-dialog.vexa .scene-character{object-position:15% bottom}.scene-dialog.eregon .scene-character{object-position:30% bottom}.scene-rook{position:absolute;inset:12% 0 4%;background:url('../assets/cantina.png') 53% 25%/390% auto no-repeat;mask-image:linear-gradient(90deg,black 60%,transparent),linear-gradient(0deg,transparent,black 20%);border-radius:30% 30% 0 0}.scene-dialogue{position:absolute;left:50%;right:5%;top:14%;bottom:9%;display:flex;flex-direction:column;justify-content:center}.scene-context{font-size:10px;color:var(--cyan);margin-bottom:27px}.speaker{border-left:3px solid var(--pink);padding-left:14px}.vexa .speaker{border-color:var(--green)}.speaker h2{font-size:31px;letter-spacing:-.05em}.speaker span{font-size:11px;color:var(--muted)}.dialogue-line{font-size:22px;line-height:1.5;letter-spacing:-.025em;min-height:150px;margin-top:24px;color:var(--text)}.dialogue-actions{display:flex;gap:24px;align-items:center;margin-top:22px}.dialogue-actions .text-button{font-size:10px}.scene-pagination{display:flex;gap:6px;margin-top:24px}.scene-pagination i{width:5px;height:5px;border-radius:50%;background:var(--line)}.scene-pagination i.active{background:var(--pink)}.info-dialog{width:780px;padding:24px 28px;overflow-y:auto}.info-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.info-heading h2{font-size:25px;letter-spacing:-.04em}.close-button{background:var(--raised);border:1px solid var(--line);border-radius:5px;padding:1px 8px;font-size:22px;color:var(--muted)}.info-body>p{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:14px}.info-body h3{font-size:15px;margin:18px 0 10px}.archive-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.archive-grid article{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-top:2px solid var(--family);padding:10px;border-radius:8px;background:#0f1d30}.archive-grid .item-art{width:90px;height:90px;flex-shrink:0}.archive-grid h3{font-size:14px;margin:4px 0}.archive-grid span{font-size:9px;color:var(--family)}.archive-grid p{font-size:10px;line-height:1.5;color:var(--muted)}.archive-grid small{font-size:8px;color:var(--dim)}.how-list{padding-left:20px;color:var(--muted);font-size:12px;line-height:1.8}.how-list li{padding-left:4px;margin-bottom:10px}.how-list b{color:var(--text)}.help-families{display:grid;grid-template-columns:1fr 1fr;gap:12px}.help-families article{padding:12px;border:1px solid var(--line);border-left:2px solid var(--family);border-radius:6px;background:#0e1b2c}.help-families h4{font-size:12px;color:var(--family);margin-bottom:7px}.help-families p{font-size:11px;color:var(--muted);line-height:1.6}.help-families small{display:block;margin-top:8px;font-size:9px;color:var(--dim)}.setting-label{display:block;color:var(--muted);font-size:12px;margin-bottom:10px}.info-body input[type=range]{width:100%;accent-color:var(--pink)}.setting-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.setting-buttons .button[aria-pressed=true]{border-color:var(--cyan);color:var(--cyan)}.support-effect{padding:18px;border:1px solid var(--violet);border-radius:8px;background:#22233e;color:var(--violet);font-size:14px}.trophy-grid{display:flex;gap:16px;flex-wrap:wrap}.trophy-grid article{width:175px;border:1px solid var(--violet);border-radius:9px;background:#102036;overflow:hidden;text-align:center;padding:12px}.trophy-grid img{width:120px;height:140px;object-fit:contain}.trophy-grid span{display:block;font-size:9px;color:var(--muted)}.trophy-grid h3{font-size:20px;margin:5px 0}.trophy-grid strong{font-size:10px;color:var(--violet)}
.choice-screen{position:relative;isolation:isolate;overflow-y:auto;padding:30px 35px 20px;min-height:0;background:radial-gradient(ellipse at 80% 20%,#20304980,transparent 70%),var(--bg)}.choice-scene-backdrop{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0b1423,#0b1423b0),url('../assets/cantina.png') center/cover;opacity:.6}.hunt-screen .choice-scene-backdrop{background-image:linear-gradient(0deg,#0b1423,#0b142380),url('../assets/hunt.png');opacity:.9}.choice-heading{position:relative;z-index:2;margin-bottom:25px;max-width:650px}.choice-heading>span{color:var(--cyan);font-size:10px}.choice-heading h1{font-size:35px;letter-spacing:-.05em;line-height:1.1;margin:9px 0}.choice-heading p{font-size:12px;line-height:1.7;color:var(--muted)}.weapon-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;position:relative;z-index:2;max-width:920px}.weapon-choice{border:1px solid var(--line);border-top:2px solid var(--pink);border-radius:10px;background:#102036ed;padding:17px;display:flex;flex-direction:column;min-height:360px}.weapon-choice>.item-art{height:135px;margin-bottom:15px}.weapon-choice h2{font-size:21px;letter-spacing:-.035em}.weapon-choice p{color:var(--muted);font-size:11px;line-height:1.6;margin:12px 0}.before-after{margin:auto 0 15px;padding-top:11px;border-top:1px solid var(--line)}.before-after span{font-size:10px;color:var(--muted);display:flex;justify-content:space-between}.before-after b{font-size:16px;color:var(--pink)}.before-after small{font-size:9px;color:var(--dim)}.choice-vexa{display:flex;justify-content:end;align-items:center;margin-top:15px;gap:10px;max-width:920px}.choice-vexa img{height:80px;width:90px;object-fit:cover;object-position:top}.choice-vexa p{font-size:11px;color:var(--muted);font-style:italic}.route-choices{max-width:900px;display:flex;flex-direction:column;gap:15px}.route-choice{display:flex;align-items:center;gap:20px;padding:17px 23px;background:#102036e8;border:1px solid var(--line);clip-path:polygon(0 0,98% 0,100% 20%,100% 100%,2% 100%,0 80%);min-height:125px}.route-choice>.item-art{width:110px;height:90px;flex-shrink:0}.route-choice>div:not(.item-art){flex:1}.route-choice h2{font-size:20px;letter-spacing:-.03em}.route-choice p{font-size:11px;line-height:1.6;color:var(--muted);margin:7px 0}.route-choice strong{font-size:10px;color:var(--gold)}.route-choice .button{white-space:nowrap}.hunt-brief{margin-top:24px;display:flex;gap:15px;align-items:center;padding:12px 17px;background:#0c1b2deb;border:1px solid var(--line);border-radius:7px;max-width:900px}.hunt-brief strong{color:var(--pink);font-size:16px}.hunt-brief span{font-size:10px;color:var(--muted)}.upgrade-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding-bottom:85px}.upgrade-card{padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:9px;display:grid;grid-template-columns:75px 1fr;gap:12px;align-items:center}.upgrade-card .item-art{height:85px;width:75px}.upgrade-card h2{font-size:17px;line-height:1.15;letter-spacing:-.03em}.upgrade-card p{font-size:10px;line-height:1.6;color:var(--muted);margin:7px 0}.upgrade-card>.button{grid-column:1/3;padding:8px;min-height:33px}.upgrade-comparison{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:6px}.upgrade-comparison span{font-size:9px;color:var(--muted)}.upgrade-comparison strong{font-size:12px;color:var(--cyan)}.upgrade-card.installed{border-color:#327165}.shop-footer{position:sticky;bottom:0;background:#102036f5;border:1px solid var(--line);border-radius:9px;padding:13px 16px;display:flex;justify-content:space-between;align-items:center;gap:20px;backdrop-filter:blur(10px);margin-top:-70px}.shop-footer strong{font-size:12px;display:block}.shop-footer span{font-size:10px;color:var(--muted)}.install-art{height:160px;max-width:240px;margin:0 auto}.installation-change{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid var(--cyan);border-radius:8px;background:#0c1b2d;margin:18px 0}.installation-change span{font-size:12px;color:var(--muted)}.installation-change strong{font-size:30px;color:var(--cyan)}
#fx-layer{position:fixed;inset:0;pointer-events:none;z-index:100}.projectile{position:fixed;width:58px;height:4px;background:white;border-radius:100%;box-shadow:0 0 5px 3px var(--beam-color),0 0 22px 7px var(--beam-color);transform-origin:center}.damage-float{position:fixed;display:flex;flex-direction:column;align-items:center;min-width:100px;max-width:230px;color:var(--float-color);text-shadow:0 2px 8px #000,0 0 18px color-mix(in srgb,var(--float-color) 55%,transparent);white-space:nowrap}.damage-float strong{font-size:42px;font-weight:850;letter-spacing:-.06em;line-height:1.1}.damage-float small{font-size:10px;font-weight:700;letter-spacing:.04em;margin-top:4px;white-space:normal;text-align:center}.damage-float:has(strong:first-child:last-child){font-size:30px}
@media(min-width:1600px) and (min-height:850px){.game-shell{grid-template-columns:265px 1fr}.left-rail{padding:18px;gap:14px}.battle-table{grid-template-rows:minmax(250px,1fr) 134px 213px 97px;padding:18px 24px;gap:12px}.program{grid-template-rows:29px 70px 27px;gap:4px}.order-name strong{font-size:13px}.order-slot>.item-art{width:55px;height:55px}.lead-button{font-size:10px;padding:4px 8px}.order-actions{max-width:120px}.order-arrow{width:21px;height:17px}.lead-explainer span{font-size:12px}.lead-explainer small{font-size:11px}.card-surface{height:166px;padding:10px}.card-surface>.item-art{height:93px}.card-surface h3{font-size:14px;min-height:29px}.card-effect{font-size:12px}.family-name{font-size:9px}.hand-label{font-size:11px}.attached-preview{font-size:10px;padding:6px 1px}.unselected-caption{font-size:9px}.character{height:300px;width:290px;bottom:-30px}.hp-panel{width:265px;padding:13px}.hp-heading strong{font-size:16px}.hp-heading b{font-size:21px}.health-track{height:9px}.secondary-stats{font-size:12px}.capture-line{font-size:10px}.enemy-intent{top:18px;max-width:280px}.enemy-intent strong{font-size:16px}.enemy-intent small{font-size:10px}.enemy-intent>span{font-size:11px}.combat-callout strong{font-size:23px}.combat-callout span{font-size:12px}.card-inspector .item-art{height:140px}.card-inspector p{font-size:12px}.card-inspector h3{font-size:21px}.equipment-module strong{font-size:13px}.equipment-module span{font-size:10px}.equipment-module>.item-art{height:42px;width:45px}.lesson-card li,.lesson-card p{font-size:11px}.lesson-card h3{font-size:14px}.live-forecast strong{font-size:29px}.live-forecast span{font-size:11px}.live-forecast small{font-size:10px}.commit-hint{font-size:10px}.commit-action .button{font-size:14px;padding:14px 22px}}
@media(max-width:1100px){.game-shell{grid-template-columns:200px 1fr}.left-rail{padding:10px;gap:9px}.game-header{padding:0 13px;gap:12px}.brand{width:178px;font-size:18px}.phase-nav{gap:13px}.phase-nav span{font-size:10px}.header-controls{gap:5px}.icon-button{font-size:10px;padding:6px 8px}.battle-table{padding:10px;gap:8px;grid-template-rows:minmax(185px,1fr) 112px 163px 88px}.hp-panel{width:195px;padding:8px}.hp-heading strong{font-size:11px}.hp-heading span{font-size:9px}.hp-heading b{font-size:14px}.enemy-intent{min-width:130px;max-width:160px}.enemy-intent strong{font-size:11px}.enemy-intent small{font-size:7px}.character{width:190px;height:220px}.player-character{left:12%}.enemy-character{right:11%}.combat-callout{max-width:230px}.combat-callout strong{font-size:16px}.combat-callout span{font-size:9px}.order-slot{padding:5px;gap:4px}.order-slot>.item-art{width:32px;height:36px}.order-name strong{font-size:10px}.order-name small{font-size:7px}.lead-button{font-size:7px;min-width:53px;padding:3px 4px}.order-actions{max-width:62px;gap:2px}.order-arrow{width:15px;height:13px}.program-heading h2{font-size:12px}.program-heading>div>span{font-size:8px}.lead-explainer{gap:8px}.lead-explainer span{font-size:9px}.lead-explainer small{font-size:8px}.card-surface{height:122px;padding:8px 4px}.card-surface>.item-art{height:60px}.card-surface h3{font-size:9px;min-height:22px}.card-effect{font-size:8px}.family-name{font-size:6px}.card-top{inset:5px 7px auto}.energy-cost{width:14px;height:14px;font-size:8px}.family-symbol{font-size:10px}.attached-preview{font-size:7px}.unselected-caption{font-size:6px}.command-hand{gap:5px}.live-forecast strong{font-size:20px}.live-forecast span{font-size:8px}.live-forecast small{font-size:7px}.commit-bar{padding:8px;gap:8px;grid-template-columns:1fr 180px}.commit-action{gap:8px}.commit-hint{font-size:7px}.commit-action .button{font-size:10px;padding:10px;min-height:38px}.choice-screen{padding:24px}.choice-heading h1{font-size:30px}.weapon-choices{gap:10px}.weapon-choice{padding:12px;min-height:340px}.weapon-choice h2{font-size:18px}.weapon-choice .item-art{height:110px}.weapon-choice p{font-size:10px}.route-choice{padding:14px;gap:12px}.route-choice>.item-art{width:75px;height:75px}.route-choice h2{font-size:17px}.upgrade-grid{gap:10px}.upgrade-card{padding:10px;grid-template-columns:55px 1fr;gap:9px}.upgrade-card .item-art{width:55px;height:70px}.upgrade-card h2{font-size:15px}.upgrade-card p{font-size:9px}.menu-content{padding-left:5vw}.menu-content h1{font-size:90px}.menu-tagline{font-size:21px}.menu-copy{max-width:320px}.menu-characters{width:62%}.menu-actions .button{font-size:11px;padding:11px 14px}.scene-dialogue{left:48%;right:4%}.dialogue-line{font-size:20px;min-height:140px}.scene-dialog{height:550px}.turn-result{inset:10px 10%;padding:12px}.turn-result h2{font-size:20px}.result-metrics{margin:9px 0;gap:20px}.result-metrics b{font-size:23px}}
@media(max-width:760px){.game-header{height:auto;min-height:80px;flex-wrap:wrap;padding:10px 12px;gap:10px}.brand{width:auto;margin-right:auto;font-size:20px}.phase-nav{order:3;flex-basis:100%;gap:20px}.phase-nav .active:after{bottom:-8px;height:2px}.phase-nav span{font-size:9px}.header-controls .icon-button{padding:5px 7px;font-size:9px}.game-shell{display:block;height:auto;min-height:0}.left-rail{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.contract-chip h2{font-size:17px}.turn-track{max-width:180px}.wallet{padding:7px 12px;align-self:start}.equipment{grid-column:1/3;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.equipment h3{display:none}.equipment-module{flex:1;min-width:130px}.equipment-module>.item-art{width:31px;height:30px}.equipment-module strong{font-size:10px}.equipment-module span{font-size:8px}.build-values{border:0;padding:0;margin:0;gap:10px}.build-values span{font-size:7px}.build-values b{font-size:11px}.lesson-card{grid-column:1/3;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:3px 12px}.lesson-card>span{grid-column:1/3}.lesson-card h3{font-size:12px}.lesson-card ol{margin:0;grid-row:2/4;grid-column:2}.lesson-card p{font-size:9px}#inspector-slot{display:none}.rail-bottom{grid-column:1/3;margin-top:0;justify-content:flex-start;gap:20px}.rail-bottom .text-button{font-size:9px;padding:0}.battle-table{height:auto;min-height:850px;grid-template-rows:235px auto auto auto;gap:12px;padding:10px}.hp-panel{top:9px;width:43%;padding:7px}.player-hp{left:8px}.enemy-hp{right:8px}.hp-heading{font-size:9px;gap:4px}.hp-heading strong{font-size:10px}.hp-heading span{font-size:8px}.hp-heading b{font-size:12px}.secondary-stats{font-size:8px}.capture-line{font-size:6px}.enemy-intent{top:auto;bottom:8px;min-width:180px;max-width:250px;background:#0b1423d9;border:1px solid var(--line);border-radius:5px;padding:5px}.enemy-intent strong{font-size:10px;margin:2px 0}.enemy-intent>span{font-size:8px}.enemy-intent small{display:none}.character{height:170px;width:170px;bottom:-5px}.player-character{left:2%}.enemy-character{right:2%}.combat-callout{top:52%;width:70%;max-width:270px;background:#0b1423a0;border-radius:6px;padding:7px}.combat-callout strong{font-size:14px}.combat-callout span{font-size:8px}.combat-callout.big{width:90%;top:50%;padding:13px}.combat-callout.big strong{font-size:27px}.combat-callout.big span{font-size:10px}.turn-result{inset:9px;justify-content:center}.turn-result h2{font-size:19px}.turn-result p{font-size:9px}.result-metrics{gap:18px}.result-metrics span{font-size:8px}.result-metrics b{font-size:23px}.program{grid-template-rows:auto auto auto;gap:7px}.program-heading>div:first-child{display:block}.program-heading h2{font-size:12px}.program-heading>div>span{font-size:8px}.energy-meter{margin-left:auto}.order-track{grid-template-columns:1fr;gap:5px}.order-slot{min-height:49px;padding:5px 7px}.order-slot.empty{min-height:33px;flex-direction:row;gap:10px}.order-name strong{font-size:11px}.order-name small{font-size:8px}.order-slot>.item-art{width:38px;height:37px}.order-actions{max-width:125px;flex-wrap:nowrap;align-items:center}.lead-button{font-size:8px;padding:4px 6px;min-width:68px}.order-arrow{width:20px;height:21px;font-size:18px}.lead-explainer{display:block;white-space:normal;min-height:43px;padding:6px 9px}.lead-explainer span{display:block;font-size:10px}.lead-explainer small{white-space:normal;font-size:9px}.hand-rack{gap:8px}.command-hand{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 7px;align-items:start}.hand-card .card-surface{height:133px}.card-surface>.item-art{height:68px}.card-surface h3{font-size:10px;min-height:24px}.card-effect{font-size:9px}.family-name{font-size:7px}.attached-preview{font-size:8px;min-height:25px}.unselected-caption{font-size:7px;min-height:24px}.card-top{inset:7px 10px auto}.energy-cost{width:16px;height:16px;font-size:9px}.family-symbol{font-size:12px}.hand-label{font-size:9px}.hand-label>span:last-child{font-size:8px}.commit-bar{display:flex;flex-direction:column;align-items:stretch;padding:12px;gap:13px}.live-forecast{justify-content:space-between;gap:8px}.live-forecast strong{font-size:24px}.live-forecast span{font-size:8px}.live-forecast small{font-size:8px}.commit-action{display:flex;gap:15px;justify-content:space-between}.commit-hint{font-size:9px;text-align:left;max-width:195px}.commit-action .button{padding:12px 15px;font-size:12px}.resolution-progress{font-size:11px}.commit-bar .button.secondary{align-self:flex-end}.main-menu{min-height:100dvh;display:block}.menu-content{padding:55px 25px 75px;width:100%;max-width:100%;position:relative}.bureau-seal{font-size:8px;margin-bottom:24px;max-width:230px;line-height:1.6}.menu-content h1{font-size:83px;line-height:.9;max-width:290px}.menu-tagline{font-size:20px;max-width:270px;margin:22px 0 13px}.menu-copy{font-size:11px;max-width:250px;line-height:1.75}.menu-actions{max-width:300px;gap:8px;margin-top:25px}.menu-actions .button{font-size:11px;padding:12px 16px}.menu-links{max-width:310px;gap:19px;margin-top:20px}.menu-links .text-button{font-size:9px}.menu-version{font-size:8px;margin-top:27px;max-width:230px}.menu-characters{right:-30%;height:76%;bottom:0;width:112%;opacity:.5;z-index:0}.main-menu:after{background:linear-gradient(90deg,#0b1423f0,#0b142390 60%,#0b142340),linear-gradient(0deg,#0b1423,transparent 70%)}.menu-background{opacity:.2}.menu-bottom{font-size:7px;left:25px;right:20px;bottom:13px;gap:20px}.scene-dialog{width:calc(100vw - 18px);max-width:calc(100vw - 18px);height:min(720px,94dvh);max-height:94dvh}.scene-portrait{left:-14%;top:0;bottom:auto;width:105%;height:61%;mask-image:linear-gradient(0deg,transparent,black 25%)}.scene-character{object-position:25% top}.scene-dialog.vexa .scene-character{object-position:30% top}.scene-dialogue{left:7%;right:7%;top:auto;bottom:5%;height:49%;justify-content:flex-end}.scene-context{font-size:8px;margin-bottom:13px}.speaker h2{font-size:25px}.speaker span{font-size:9px}.dialogue-line{font-size:17px;min-height:140px;line-height:1.5;margin-top:15px}.dialogue-actions{margin-top:13px;justify-content:space-between;gap:12px}.dialogue-actions .button{font-size:11px;padding:10px 15px}.scene-pagination{margin-top:15px}.scene-dialogue .speaker{padding-left:10px}.scene-backdrop{background:linear-gradient(0deg,#0b1423 20%,#0b142370),url('../assets/cantina.png') center/cover}.scene-rook{inset:0 9%;background-position:53% 30%;mask-image:linear-gradient(0deg,transparent,black 30%)}.info-dialog{padding:19px 17px;max-width:calc(100vw - 22px)}.info-heading h2{font-size:22px}.info-body>p,.how-list{font-size:11px}.archive-grid{grid-template-columns:1fr;gap:9px}.archive-grid .item-art{width:75px;height:75px}.archive-grid h3{font-size:13px}.help-families{grid-template-columns:1fr}.choice-screen{padding:22px 15px}.choice-heading{margin-bottom:20px}.choice-heading h1{font-size:29px}.choice-heading p{font-size:11px}.weapon-choices{grid-template-columns:1fr;gap:14px}.weapon-choice{min-height:0;display:grid;grid-template-columns:95px 1fr;gap:10px 12px;padding:15px}.weapon-choice>.item-art{height:100px;grid-row:1/4;margin:0}.weapon-choice h2{font-size:20px}.weapon-choice p{font-size:10px;margin:0}.before-after{margin:0;padding-top:6px}.weapon-choice>.button{grid-column:1/3;margin-top:4px}.choice-vexa img{height:70px;width:65px}.choice-vexa p{font-size:10px}.route-choice{display:grid;grid-template-columns:75px 1fr;gap:10px;padding:15px}.route-choice>.item-art{width:75px;height:85px}.route-choice h2{font-size:18px}.route-choice p{font-size:10px;margin:6px 0}.route-choice strong{font-size:9px}.route-choice>.button{grid-column:1/3}.hunt-brief{align-items:start;flex-direction:column;gap:4px;margin-top:17px}.upgrade-grid{grid-template-columns:1fr;padding-bottom:80px}.upgrade-card{grid-template-columns:75px 1fr;padding:13px;gap:12px}.upgrade-card .item-art{width:75px;height:85px}.upgrade-card h2{font-size:17px}.upgrade-card p{font-size:10px}.shop-footer{padding:12px;gap:10px;margin-top:-65px}.shop-footer .button{font-size:10px;padding:10px}.shop-footer span{font-size:8px}.shop-footer strong{font-size:11px}.damage-float strong{font-size:34px}.damage-float small{font-size:8px}.projectile{width:35px;height:3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
.energy-cost{width:25px;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:2px}
.energy-cost small{font-size:6px;font-weight:500}
.attached-preview{font-size:9px}
@media(min-width:761px){.scene-dialogue{left:53%;right:5%}.scene-portrait{width:49%}.menu-vexa{height:112%!important;right:-7%;width:66%!important}}
@media(max-width:760px){.energy-cost{width:23px}.attached-preview{font-size:8px}}
.hand-card.arsenal.selected{transform:translateY(-7px) rotate(-.8deg)}
.hand-card.systems.selected{transform:translateY(-8px) scale(1.025)}
.hand-card.drive.selected{transform:translate(2px,-8px) rotate(1.4deg)}
.hand-card.control.selected .card-select{box-shadow:inset 0 0 20px var(--family)}
.live-link{color:var(--family)!important;background:color-mix(in srgb,var(--family) 12%,var(--panel));border:1px solid color-mix(in srgb,var(--family) 35%,var(--line));border-radius:4px;padding:2px 6px;font-weight:650;font-size:9px!important}
.energy-meter .energy-forecast{color:var(--muted);font-size:8px;max-width:105px;line-height:1.2}
@media(min-width:761px){.menu-vexa{transform:translate(25px,-75px)}}
.install-art{mask-image:linear-gradient(0deg,transparent,black 15%,black 92%,transparent)}
/* 02.1 — two physical card tables, one persistent hunter. */
.profile-health{display:flex;align-items:center;gap:9px;padding:0;border:0;background:none;width:100%;text-align:left}.profile-health:disabled{opacity:1}.health-pfp{width:48px;height:58px;border:1px solid #557087;border-radius:8px;overflow:hidden;background:radial-gradient(ellipse at top,#3a5667,#15263b);flex-shrink:0}.health-pfp img{width:100%;height:160%;object-fit:cover;object-position:center top}.profile-health-body{flex:1;min-width:0}.hp-heading,.health-track,.secondary-stats{display:flex}.health-track{display:block}.hp-heading{gap:7px}.hp-panel{width:267px;padding:8px 9px}.hp-heading strong{font-size:12px}.hp-heading b{font-size:16px}.profile-inspect-label{display:block;color:var(--dim);font-size:8px;margin-top:4px}.profile-health:hover:not(:disabled) .profile-inspect-label{color:var(--cyan)}.capture-line{font-size:8px;margin-top:5px}.battle-table{grid-template-rows:minmax(215px,1fr) 108px 205px 104px}.program{grid-template-rows:24px 56px 24px}.command-hand{gap:8px;align-items:end;padding:4px 2px 1px}.hand-rack{padding:0 3px}.hand-card{--shape:polygon(0 3%,3% 0,92% 0,100% 5%,100% 97%,97% 100%,3% 100%,0 97%);filter:drop-shadow(1px 5px 2px #0008);transform:rotate(-.8deg)}.hand-card:nth-child(even){transform:rotate(.8deg)}.hand-card.systems{--shape:polygon(5% 0,95% 0,100% 4%,100% 96%,95% 100%,5% 100%,0 96%,0 4%)}.hand-card.drive{--shape:polygon(0 0,91% 0,100% 7%,100% 100%,9% 100%,0 93%)}.hand-card.control{--shape:polygon(7% 0,93% 0,100% 5%,100% 95%,93% 100%,7% 100%,0 95%,0 5%)}.card-select{padding:2px;background:color-mix(in srgb,var(--family) 65%,#697382);border-radius:7px}.card-select:disabled{opacity:.85}.card-surface{height:168px;border-radius:6px;padding:8px 6px 7px;background:linear-gradient(160deg,color-mix(in srgb,var(--family) 20%,#26334a),#132036 55%,#202b40);box-shadow:inset 0 0 0 1px #ffffff16}.card-top{inset:7px 8px auto}.card-surface>.item-art{height:78px;width:100%;border-bottom:1px solid color-mix(in srgb,var(--family) 30%,transparent);margin:0 0 4px;mix-blend-mode:normal;background-color:#0c1726;border-radius:4px}.card-surface h3{min-height:22px;font-size:11px}.card-effect{font-size:10px;margin-top:3px;line-height:1.3}.card-rules{font-size:7px;line-height:1.35;color:#bacddd;margin:4px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:19px}.family-name{font-size:7px;margin-top:auto}.drive .card-surface,.control .card-surface{padding-inline:6px}.unselected-caption{font-size:8px;min-height:20px}.attached-preview{font-size:9px;min-height:20px}.hand-card.spent{opacity:.28;filter:grayscale(.7)}.trade-marked{outline:2px solid var(--gold);outline-offset:3px;border-radius:8px;transform:translateY(-9px)!important}.hand-trade-controls{display:flex;gap:13px;justify-content:flex-end;grid-column:1/3}.hand-trade-controls .text-button{font-size:9px;color:var(--gold);padding:0}.commit-bar{grid-template-columns:minmax(0,1fr) 260px}.commit-action{display:grid;grid-template-columns:1fr auto;gap:5px 8px;align-items:center}.commit-hint{font-size:8px}.exchange-bar>div{display:flex;gap:8px;justify-content:flex-end}.battle-table:has(.card-spotlight) .combat-callout{opacity:.5}.combat-callout{top:auto;bottom:9px;left:50%;transform:translateX(-50%);width:53%;max-width:460px;background:#0b1423c0;border-radius:6px;padding:6px 9px}.combat-callout strong{font-size:13px}.combat-callout span{font-size:9px;margin-top:2px}.combat-callout.big{top:auto;bottom:7px;width:65%;padding:8px;background:#0b1423dc}.combat-callout.big strong{font-size:19px;text-shadow:0 0 18px var(--burst)}.combat-callout.big span{font-size:9px}.turn-result{inset:auto 12px 10px;min-height:72px;padding:9px 13px;display:grid;grid-template-columns:1fr auto;gap:3px 15px;text-align:left;align-items:center;border-radius:8px;background:#0b1525f5}.turn-result h2{font-size:15px;grid-column:1}.result-metrics{justify-content:flex-start;gap:15px;margin:0;grid-column:1;grid-row:2}.result-metrics span{font-size:8px;display:flex;align-items:baseline;gap:5px}.result-metrics b{font-size:15px;display:inline}.turn-result>.button{grid-column:2;grid-row:1/4;font-size:10px;min-height:35px;padding:9px 12px}.turn-result p{font-size:9px;margin:0;grid-column:1}.card-spotlight{position:fixed;filter:drop-shadow(0 8px 16px #000c) drop-shadow(0 0 25px #0b1423);z-index:4;pointer-events:none;perspective:800px}.card-spotlight .hand-card{width:100%;height:100%;transform:none!important;opacity:1!important}.card-spotlight .card-select{height:100%;padding:3px}.card-spotlight .card-surface{height:100%;padding:10px 9px}.card-spotlight .card-surface>.item-art{height:44%;margin-top:8px}.card-spotlight .card-surface h3{font-size:16px;min-height:28px}.card-spotlight .card-effect{font-size:16px;margin-top:5px}.card-spotlight .card-rules{font-size:10px;line-height:1.35;-webkit-line-clamp:3;min-height:40px}.card-spotlight .family-name{font-size:9px}.card-spotlight .card-top{inset:9px 11px auto}.card-spotlight .energy-cost{font-size:12px;width:30px;height:23px}.card-spotlight .family-symbol{font-size:19px}.lead-spotlight{filter:drop-shadow(0 0 30px #ba9cff60) drop-shadow(0 8px 16px #000c)}.spotlight-lead-label{position:absolute;top:-11px;left:15%;right:15%;background:var(--gold);color:var(--bg);font-size:10px;font-weight:800;text-align:center;padding:4px;border-radius:4px;box-shadow:0 0 20px #ffc86d70}.enemy-attack-card{height:100%;padding:17px 13px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:3px solid #ff997b;border-radius:11px;background:radial-gradient(ellipse at 50% 25%,#7f3f46,#281e32 65%);box-shadow:inset 0 0 0 4px #1c202f,inset 0 0 0 5px #ff997b60}.enemy-attack-card>span{font-size:9px;letter-spacing:.13em;color:#ffb8a2}.enemy-attack-sigil{font-size:45px;color:#ff997b;line-height:1.1;margin:9px}.enemy-attack-card h3{font-size:17px;line-height:1.1}.enemy-attack-card>strong{font-size:44px;line-height:1;display:flex;align-items:center;gap:8px;margin:10px 0;color:#ffb8a2}.enemy-attack-card strong small{font-size:9px}.enemy-attack-card p{font-size:9px;color:#ffc4b3}.character-sheet-head{display:flex;gap:22px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:20px}.character-sheet-head img{width:100px;height:125px;object-fit:cover;object-position:center top;background:#1c3046;border:1px solid var(--line);border-radius:10px}.character-sheet-head h3{font-size:26px}.character-sheet-head span{font-size:10px;color:var(--cyan)}.character-sheet-head strong{font-size:20px;color:var(--green)}.character-sheet-head p{color:var(--muted);font-size:11px}.ability-list{padding:0;list-style:none;display:grid;gap:10px;margin:12px 0 24px}.ability-list li{padding:10px 13px;border:1px solid var(--line);border-radius:6px;background:#0d1d30}.ability-list b{display:block;font-size:12px;color:var(--cyan)}.ability-list span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.effect-stats{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.effect-stats span{display:flex;align-items:center;gap:10px;padding:7px 12px;border:1px solid var(--line);border-radius:6px;font-size:11px;color:var(--muted)}.effect-stats b{color:var(--gold)}.contact-sheet{display:flex;gap:24px;align-items:center}.contact-sheet img,.contact-sheet .rook-pfp{width:150px;height:190px;object-fit:contain;flex-shrink:0}.contact-sheet p{margin:14px 0;font-size:12px;color:var(--muted)}
.poker-table{position:relative;isolation:isolate;display:grid;grid-template-rows:70px minmax(110px,.8fr) minmax(150px,1fr) minmax(180px,1.1fr) 76px;gap:10px;padding:16px 24px 14px;min-width:0;overflow:auto;background:#0c1d2b}.poker-backdrop{position:absolute;inset:0;z-index:-2;background:linear-gradient(0deg,#0b1c29f5 15%,#0e2832df 55%,#0b142380),url('../assets/cantina.png') center/cover}.poker-seat-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.poker-seat{display:flex;align-items:center;gap:11px;border:1px solid #466073;background:#0d1a2be8;padding:7px 12px 7px 7px;border-radius:10px;text-align:left;min-width:215px}.poker-seat>img,.poker-seat .rook-pfp{width:44px;height:49px;object-fit:cover;object-position:center top;border:1px solid #5c768a;border-radius:6px;background:#2c3b48}.poker-seat strong{display:block;font-size:13px}.poker-seat span{display:block;font-size:10px;color:var(--gold)}.poker-seat small{font-size:8px;color:var(--dim)}.rook-pfp{background:url('../assets/cantina.png') 53% 30%/600% auto no-repeat}.table-stakes{text-align:center}.table-stakes>span{font-size:8px;letter-spacing:.14em;color:#87b6bc}.table-stakes>strong{display:block;font-size:20px;letter-spacing:-.04em;margin:2px 0;color:#e6eef4}.table-stakes>small{font-size:9px;color:var(--muted)}.poker-row-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:10px;color:var(--muted)}.poker-row-label strong{color:var(--gold);font-weight:600;font-size:11px}.poker-opponent{max-width:660px;width:100%;margin:auto;align-self:center}.poker-opponent-hand{display:flex;justify-content:center;gap:9px}.poker-card{position:relative;flex-shrink:0;width:100%;aspect-ratio: .7;filter:drop-shadow(2px 5px 2px #0007);transition:transform .2s;transform-origin:50% 90%;perspective:700px}.poker-card-face{position:relative;width:100%;height:100%;padding:0;border:2px solid color-mix(in srgb,var(--family) 60%,#8f9a99);border-radius:9px;background:linear-gradient(145deg,#ede8d8,#c6d2cf 50%,#d9decf);box-shadow:inset 0 0 0 3px #dfe7d4,inset 0 0 0 4px #43596360;display:block;color:#182b3a;overflow:hidden}.poker-card-face:disabled{opacity:1}.poker-card:not(.on-felt):not(.face-down):hover:not(:has(button:disabled)){transform:translateY(-9px) rotate(-2deg)}.poker-card.selected{transform:translateY(-12px);filter:drop-shadow(0 0 6px color-mix(in srgb,var(--family) 45%,transparent))}.poker-card.selected .poker-card-face{border-color:var(--family);box-shadow:inset 0 0 0 3px #dfe7d4,inset 0 0 0 5px var(--family)}.rank-corner{position:absolute;left:7px;top:7px;font-size:clamp(16px,1.9vw,25px);font-weight:850;line-height:1;text-align:center;z-index:2;color:#223748}.rank-corner small{display:block;font-size:.55em;margin-top:3px;color:color-mix(in srgb,var(--family) 65%,#101d2b)}.rank-corner.inverted{left:auto;top:auto;right:7px;bottom:7px;transform:rotate(180deg)}.poker-illustration{position:absolute;inset:12% 14% 14%;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--family) 18%,#21313f),#0d1c2c);border:1px solid #596f7a;border-radius:45% 45% 3px 3px;overflow:hidden}.poker-illustration .item-art{width:100%;height:100%;opacity:.95}.poker-illustration>span{position:absolute;bottom:3%;left:0;right:0;color:var(--family);font-size:22px;text-shadow:0 1px 7px #000}.poker-suit-label{position:absolute;bottom:5%;left:12%;right:12%;color:#273f4e;font-size:clamp(7px,.75vw,10px);font-weight:700;letter-spacing:.04em;text-transform:uppercase}.poker-back{position:absolute;inset:3px;border:1px solid #88a6b6;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:repeating-linear-gradient(45deg,#27425544 0 2px,transparent 2px 9px),radial-gradient(ellipse,#314960,#112539);color:#a8c2ce}.poker-back>span{border:1px solid #7897aa;transform:rotate(-10deg);font-size:26px;font-weight:850;letter-spacing:-.1em;padding:4px 8px}.poker-back>small{font-size:5px;letter-spacing:.09em;margin-top:12px}.poker-opponent-hand .poker-card{width:68px;max-height:100%}.poker-felt{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 12px 8px;border:1px solid #748c7555;border-radius:65px;background:radial-gradient(ellipse at center,#173d435c,#13353b38 65%,#0e243333);box-shadow:inset 0 0 0 6px #233e3d33;min-height:0}.felt-brand{position:absolute;font-size:35px;letter-spacing:-.08em;font-weight:800;color:#93b4ae12;top:16px;left:50%;transform:translateX(-50%);white-space:nowrap;pointer-events:none}.poker-played-row{display:flex;justify-content:center;align-items:center;gap:11px;height:calc(100% - 41px);max-height:149px;position:relative}.poker-empty-slot{width:70px;height:100%;max-height:114px;border:1px dashed #62848b5c;border-radius:7px;display:grid;place-items:center;color:#86abad40;font-size:20px}.poker-played-row .poker-card{width:auto;height:100%;aspect-ratio:.7;opacity:0}.poker-played-row .poker-card .rank-corner{font-size:19px;left:5px;top:5px}.poker-played-row .rank-corner.inverted{left:auto;top:auto;right:5px;bottom:5px}.poker-played-row .poker-suit-label{font-size:7px}.poker-table-message{text-align:center;position:relative;margin-top:8px;min-height:36px}.poker-table-message strong{font-size:15px;display:block;color:var(--text)}.poker-table-message>span{font-size:10px;color:#a8c4cb;display:block;margin-top:2px}.poker-your-hand{min-height:0;align-self:end}.poker-hand{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;max-width:910px;margin:auto;padding-top:6px;align-items:end}.poker-hand .poker-card{max-height:188px;width:auto;max-width:100%;justify-self:center}.poker-hand .poker-card:nth-child(1){rotate:-3deg;translate:0 4px}.poker-hand .poker-card:nth-child(2){rotate:-2deg;translate:0 1px}.poker-hand .poker-card:nth-child(6){rotate:2deg;translate:0 1px}.poker-hand .poker-card:nth-child(7){rotate:3deg;translate:0 4px}.poker-selection-label{position:absolute;top:-9px;left:20%;right:20%;padding:3px;border-radius:3px;background:var(--family);color:#0b1423;font-size:8px;font-weight:800;text-align:center}.poker-card.spent{opacity:.25;filter:grayscale(.7)}.poker-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:1px solid #385963;border-radius:9px;background:#0d1b2be8;z-index:2}.poker-controls p{font-size:10px;color:var(--muted);margin-top:4px}.poker-controls>div>strong{font-size:12px}.poker-controls .button{font-size:11px;min-height:38px;padding:9px 13px;white-space:nowrap}.poker-controls>div:has(>.button){display:flex;gap:8px}.poker-hand-preview{text-align:center}.poker-hand-preview strong{display:block;font-size:17px!important;color:var(--gold)}.poker-hand-preview small{display:block;font-size:8px;color:var(--muted)}.poker-objective,.poker-keys{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.poker-objective>span{font-size:8px;letter-spacing:.08em;color:var(--cyan)}.poker-objective h3{font-size:18px;margin:4px 0}.poker-objective p,.poker-keys p{font-size:10px;color:var(--muted);line-height:1.6}.poker-keys{text-align:center}.pink-slip-key{font-size:45px;color:var(--pink);line-height:1.1}.poker-keys h3{font-size:21px;color:var(--pink)}.poker-keys p{margin:5px 0}.poker-keys b{color:var(--text);margin-left:10px}.poker-keys small{font-size:9px;color:var(--dim)}.poker-rank-guide{border-top:1px solid var(--line);padding-top:10px;color:var(--muted)}.poker-rank-guide summary{font-size:10px;cursor:pointer}.poker-rank-guide p{font-size:11px;line-height:1.9;margin:9px 0}.poker-rank-guide small{display:block;font-size:9px;line-height:1.6}.contract-offers>h3{font-size:11px;margin:0 0 9px;color:var(--muted)}.contract-offer{border:1px solid var(--line);border-radius:8px;padding:10px;margin-bottom:8px;background:#14243a}.contract-offer>span{font-size:8px;color:var(--dim)}.contract-offer h4{font-size:15px;margin:4px 0}.contract-offer p{font-size:9px;line-height:1.5;color:var(--muted)}.contract-offer small{display:block;font-size:9px;color:var(--gold);margin:7px 0}.contract-offer .button{font-size:9px;min-height:29px;padding:6px;width:100%}.contract-offer.unlocked{border-color:var(--gold);background:#2e2b30}.contract-offer.unlocked>span{color:var(--gold)}.poker-rail:has(.contract-offers) .poker-objective{padding:9px}.poker-rail:has(.contract-offers) .poker-objective p{font-size:9px}
@media(min-width:1600px) and (min-height:850px){.battle-table{grid-template-rows:minmax(245px,1fr) 124px 243px 107px}.program{grid-template-rows:27px 64px 25px}.card-surface{height:202px}.card-surface>.item-art{height:96px}.card-surface h3{font-size:14px;min-height:25px}.card-effect{font-size:12px}.card-rules{font-size:9px;min-height:25px}.family-name{font-size:9px}.poker-table{padding:18px 30px;gap:15px;grid-template-rows:78px minmax(130px,.8fr) minmax(190px,1fr) minmax(220px,1.1fr) 81px}.poker-opponent-hand .poker-card{width:80px}.poker-hand .poker-card{max-height:218px}.poker-hand{max-width:1080px}.poker-seat{min-width:250px}.table-stakes>strong{font-size:25px}.poker-controls .button{font-size:13px}.poker-table-message strong{font-size:18px}.poker-table-message>span{font-size:12px}}
@media(max-width:1100px) and (min-width:761px){.poker-table{padding:12px;gap:9px;grid-template-rows:65px minmax(100px,.8fr) minmax(145px,1fr) minmax(164px,1.1fr) 83px}.poker-seat{min-width:180px;gap:7px;padding:6px}.poker-seat strong{font-size:11px}.poker-seat span{font-size:9px}.poker-seat>img,.poker-seat .rook-pfp{width:35px;height:43px}.table-stakes>strong{font-size:17px}.table-stakes>small{font-size:8px}.poker-hand{gap:7px}.poker-controls .button{font-size:9px;padding:8px}.poker-secondary-controls{flex-direction:column;gap:4px!important}.poker-hand-preview small{max-width:130px}.poker-opponent-hand .poker-card{width:62px}.poker-hand .poker-card{max-height:170px}.poker-card-face{border-radius:6px}.rank-corner{font-size:19px;left:5px;top:5px}.rank-corner.inverted{left:auto;top:auto;right:5px;bottom:5px}.poker-suit-label{font-size:7px}.battle-table{grid-template-rows:minmax(220px,1fr) 108px 196px 110px}.hp-panel{width:223px}.health-pfp{width:35px;height:48px}.profile-health{gap:7px}.hp-heading strong{font-size:10px}.hp-heading b{font-size:14px}.profile-inspect-label{font-size:7px}.card-surface{height:158px}.card-surface>.item-art{height:70px}.card-surface h3{font-size:10px}.card-rules{font-size:6px;min-height:16px}.card-effect{font-size:9px}.commit-bar{grid-template-columns:1fr 215px}.hand-trade-controls{gap:9px}.hand-trade-controls .text-button{font-size:8px}.turn-result h2{font-size:14px}.result-metrics{gap:11px}.result-metrics b{font-size:14px}.result-metrics span{font-size:7px}.turn-result p{font-size:8px}}
@media(max-width:760px){.profile-health{gap:6px;align-items:flex-start}.hp-panel{width:46%;padding:6px;top:8px}.health-pfp{width:31px;height:43px;border-radius:5px}.hp-heading{display:block;margin-bottom:4px;line-height:1.2}.hp-heading strong{display:block;font-size:10px}.hp-heading span{font-size:8px;display:block;margin-top:2px}.hp-heading b{font-size:11px}.profile-inspect-label{font-size:6px;line-height:1.1}.health-track{height:5px}.secondary-stats{font-size:7px;gap:3px}.secondary-stats b{margin-left:1px}.capture-line{font-size:6px}.player-hp{left:6px}.enemy-hp{right:6px}.battle-table{grid-template-rows:270px auto auto auto;height:auto;overflow:visible}.character{height:181px;width:160px;bottom:9px}.enemy-intent{bottom:6px;padding:4px 8px;min-width:150px}.combat-callout,.combat-callout.big{top:auto;bottom:44px;max-width:94%;width:85%;padding:5px 8px}.combat-callout strong,.combat-callout.big strong{font-size:13px}.combat-callout span,.combat-callout.big span{font-size:8px}.turn-result{inset:auto 6px 6px;padding:8px;gap:3px 6px;min-height:76px}.turn-result h2{font-size:12px}.result-metrics{gap:7px;flex-wrap:wrap}.result-metrics span{font-size:6px;gap:3px}.result-metrics b{font-size:13px}.turn-result p{font-size:7px;line-height:1.3}.turn-result>.button{font-size:9px;padding:8px;max-width:100px;white-space:normal;min-height:35px}.hand-card .card-surface{height:166px}.card-surface>.item-art{height:78px}.card-rules{font-size:7px;-webkit-line-clamp:3;min-height:27px}.card-surface h3{font-size:11px}.card-effect{font-size:10px}.family-name{font-size:7px}.commit-action{display:grid;grid-template-columns:1fr auto;gap:8px}.hand-trade-controls{justify-content:space-between}.hand-trade-controls .text-button{font-size:9px}.commit-hint{max-width:190px}.card-spotlight .card-surface h3{font-size:13px;min-height:23px}.card-spotlight .card-effect{font-size:14px}.card-spotlight .card-rules{font-size:8px;min-height:32px}.card-spotlight .card-top{inset:8px 9px auto}.card-spotlight .family-name{font-size:7px}.card-spotlight .energy-cost{font-size:10px;width:25px;height:19px}.card-spotlight .family-symbol{font-size:16px}.enemy-attack-card{padding:12px 8px}.enemy-attack-card h3{font-size:14px}.enemy-attack-card>strong{font-size:37px}.enemy-attack-card>span{font-size:8px}.enemy-attack-sigil{font-size:32px;margin:8px}.enemy-attack-card p{font-size:7px}.poker-table{display:flex;flex-direction:column;padding:12px 10px;gap:16px;overflow:visible;min-height:780px}.at-poker .left-rail{display:grid}.at-poker .poker-objective{grid-column:1/3;padding:8px 10px}.at-poker .poker-objective>span{font-size:7px}.at-poker .poker-objective h3{font-size:15px;margin:1px 0}.at-poker .poker-objective p{font-size:9px;line-height:1.5}.at-poker .poker-keys{display:none}.poker-rank-guide{grid-column:1/3;padding-top:7px}.poker-rank-guide summary{font-size:9px}.poker-seat-row{gap:6px;flex-wrap:wrap}.poker-seat{flex:1;min-width:0;gap:7px;padding:6px}.poker-seat>img,.poker-seat .rook-pfp{width:36px;height:42px}.poker-seat strong{font-size:11px}.poker-seat span{font-size:8px}.poker-seat small{font-size:6px}.table-stakes{order:3;flex-basis:100%;margin-top:5px}.table-stakes>span{font-size:7px}.table-stakes>strong{font-size:19px}.table-stakes>small{font-size:9px}.poker-opponent-hand{gap:7px}.poker-opponent-hand .poker-card{width:52px}.poker-row-label{font-size:9px;gap:8px}.poker-row-label strong{font-size:10px}.poker-row-label>span:last-child{font-size:8px}.poker-felt{min-height:162px;padding:11px 8px;border-radius:35px}.poker-empty-slot{width:49px;height:77px}.poker-played-row{height:95px;gap:6px}.poker-played-row .poker-card{width:54px;height:78px;flex-shrink:0}.poker-played-row .poker-card .rank-corner,.poker-opponent-hand .rank-corner{font-size:13px;left:4px;top:4px}.poker-played-row .rank-corner.inverted,.poker-opponent-hand .rank-corner.inverted{left:auto;top:auto;right:4px;bottom:4px}.poker-played-row .poker-suit-label,.poker-opponent-hand .poker-suit-label{font-size:5px}.poker-card-face{border-width:1px;border-radius:5px;box-shadow:inset 0 0 0 2px #dfe7d4,inset 0 0 0 3px #43596360}.poker-illustration{inset:14% 16% 15%}.poker-illustration>span{font-size:16px}.poker-table-message{min-height:35px;margin-top:3px}.poker-table-message strong{font-size:13px}.poker-table-message>span{font-size:8px;max-width:290px}.poker-your-hand{align-self:stretch}.poker-hand{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 7px;padding-top:10px;max-width:460px;margin:0 auto}.poker-hand .poker-card{width:100%;max-height:none;max-width:90px}.poker-hand .poker-card:nth-child(n){rotate:0deg;translate:0 0}.poker-hand .rank-corner{font-size:21px;left:5px;top:5px}.poker-hand .rank-corner.inverted{left:auto;top:auto;right:5px;bottom:5px}.poker-suit-label{font-size:7px}.poker-selection-label{font-size:7px;top:-7px;padding:2px}.poker-hand .poker-card.selected{transform:translateY(-6px)}.poker-controls{display:flex;flex-wrap:wrap;padding:11px;gap:12px}.poker-controls .button{font-size:10px;padding:9px 11px;min-height:37px}.poker-controls>div:has(>.button){flex:1;justify-content:space-between}.poker-hand-preview{order:-1;flex-basis:100%;text-align:left}.poker-hand-preview strong{font-size:16px!important}.poker-controls>div>strong{font-size:11px}.poker-controls p{font-size:9px}.poker-controls>div:not(:has(>.button)):not(.poker-hand-preview){flex:1;min-width:165px}.poker-back>span{font-size:19px;padding:3px 6px}.poker-back>small{font-size:4px;letter-spacing:0}.contract-offers{grid-column:1/3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.contract-offers>h3{grid-column:1/4;margin-bottom:0}.contract-offer{padding:7px;margin:0}.contract-offer h4{font-size:11px;line-height:1.2}.contract-offer p{display:none}.contract-offer>span{font-size:6px}.contract-offer small{font-size:7px;line-height:1.6}.contract-offer .button{font-size:8px;padding:5px;min-height:29px}.character-sheet-head{gap:15px}.character-sheet-head img{width:75px;height:105px}.character-sheet-head h3{font-size:22px}.character-sheet-head strong{font-size:17px}.ability-list span{font-size:10px}.contact-sheet{gap:12px;align-items:flex-start}.contact-sheet img,.contact-sheet .rook-pfp{width:85px;height:135px}.contact-sheet p{font-size:10px}.contact-sheet h3{font-size:15px}}
@media(max-height:760px) and (min-width:761px){.game-shell{height:auto;min-height:calc(100dvh - 57px)}.battle-table{min-height:705px}.poker-table{min-height:690px}.left-rail{max-height:calc(100dvh - 57px);position:sticky;top:0}}
.showdown-complete .poker-played-row .poker-card{opacity:1}.showdown-complete .poker-hand .poker-card.selected{opacity:.3;filter:grayscale(.6)}
.poker-hand .poker-card{width:100%;height:auto;max-height:none;max-width:132px;aspect-ratio:.7}
@media(min-width:1600px) and (min-height:850px){.poker-hand .poker-card{max-width:153px}}
@media(max-width:1100px) and (min-width:761px){.poker-hand .poker-card{max-width:119px}}
@media(max-width:760px){.poker-hand .poker-card{max-width:90px}}
.seat-pfp{display:block;width:44px;height:49px;overflow:hidden;border:1px solid #5c768a;border-radius:6px;background:radial-gradient(ellipse at top,#3a5667,#15263b);flex-shrink:0}.seat-pfp img{width:100%;height:100%;object-fit:cover;object-position:center top;transform:scale(2.5);transform-origin:50% 4%}.health-pfp img{transform:scale(1.9);transform-origin:50% 3%}.poker-seat .seat-pfp{color:transparent}
@media(max-width:1100px) and (min-width:761px){.seat-pfp{width:35px;height:43px}}
@media(max-width:760px){.seat-pfp{width:36px;height:42px}.card-spotlight{min-width:139px;translate:-15px 0}}
.card-piles{display:flex;align-items:center;gap:6px}.discard-pile,.card-piles .draw-pile{width:40px;height:26px;border:1px solid #526374;border-radius:4px;background:linear-gradient(145deg,#334256,#17273c);box-shadow:2px 2px 0 #0a1523,3px 3px 0 #526374;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;line-height:1.2}.discard-pile span,.card-piles .draw-pile>span{font-size:6px;font-weight:700;letter-spacing:.03em;color:var(--muted)}.discard-pile small,.card-piles .draw-pile>small{font-size:9px;font-weight:700;color:var(--text)}.discard-pile{background:#0a1828;box-shadow:1px 2px 0 #263c51,2px 3px 0 #46617b}.contact-sheet .contact-rook-art{object-fit:cover;object-position:center top}
@media(max-width:760px){.card-piles{gap:5px}.discard-pile,.card-piles .draw-pile{width:30px;height:25px}.discard-pile span,.card-piles .draw-pile>span{font-size:5px}}
