.development-auth-ui{position:absolute;inset:0;z-index:2;pointer-events:none}.development-auth-ui .dev-auth-overlay{position:absolute;inset:0;display:grid;overflow:auto;grid-template-columns:minmax(0,460px);align-content:safe center;justify-content:start;gap:clamp(20px,3.6vh,36px);padding:clamp(24px,5vh,64px) clamp(16px,7vw,120px);color:var(--ui-text);font-family:var(--font-ui, monospace);pointer-events:auto}.development-auth-ui .dev-auth-brand{display:grid;gap:10px}.development-auth-ui .dev-auth-mark svg{display:block;width:40px;height:40px;fill:var(--ui-accent-strong);filter:drop-shadow(0 0 14px var(--ui-glow))}.development-auth-ui .dev-auth-brand h1{margin:0;color:var(--ui-heading);font-size:clamp(2rem,4.4vw,3.3rem);font-weight:700;line-height:1.02;letter-spacing:.24em;text-shadow:0 0 28px var(--ui-glow)}.development-auth-ui .dev-auth-tagline{margin:0;color:var(--ui-text-muted);font-size:.92rem;line-height:1.5}.development-auth-ui .dev-auth-panel{--ss-chamfer: 24px;--hud-button-height: 46px;--hud-button-font-size: 13px;--hud-input-height: 46px;--hud-input-font-size: 14px;padding:clamp(24px,4vw,34px)}.development-auth-ui .dev-auth-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;padding:6px 28px 6px 12px;background:linear-gradient(90deg,color-mix(in srgb,var(--ui-rail) 60%,transparent),color-mix(in srgb,var(--ui-rail) 14%,transparent));border-top:1px solid color-mix(in srgb,var(--ui-rail-hi) 70%,transparent);clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%);color:var(--ui-label);font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}.development-auth-ui .dev-auth-eyebrow:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--ui-text-faint)}.development-auth-ui .dev-auth-panel:has([data-state=unauthenticated]) .dev-auth-eyebrow:before{background:var(--ui-success);box-shadow:0 0 8px var(--ui-success)}.development-auth-ui .dev-auth-panel:has([data-state=connecting],[data-state=submitting]) .dev-auth-eyebrow:before{background:var(--ui-warning)}.development-auth-ui .dev-auth-panel:has([data-state=error]) .dev-auth-eyebrow:before{background:var(--ui-danger)}.development-auth-ui .dev-auth-panel h2{margin:0;color:var(--ui-heading);font-size:1.5rem;font-weight:700}.development-auth-ui .dev-auth-introduction{margin:8px 0 20px;color:var(--ui-text-muted);font-size:.86rem;line-height:1.55}.development-auth-ui .dev-auth-form,.development-auth-ui .dev-auth-field{display:flex;flex-direction:column}.development-auth-ui .dev-auth-form{gap:16px}.development-auth-ui .dev-auth-field{gap:7px;color:var(--ui-label);font-size:.76rem;font-weight:600;letter-spacing:.06em}.development-auth-ui .dev-auth-field input{caret-color:var(--ui-accent)}.development-auth-ui .dev-auth-field input:read-only{color:var(--ui-text-muted)}.development-auth-ui .dev-auth-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:4px}.development-auth-ui .dev-auth-button:disabled{cursor:wait}.development-auth-ui .dev-auth-status{display:flex;min-height:2.8em;align-items:flex-start;gap:10px;margin:2px 0 0;color:var(--ui-text-muted);font-size:.8rem;line-height:1.4}.development-auth-ui .dev-auth-status:before{content:"";flex:none;width:9px;height:9px;margin-top:.32em;border-radius:50%;background:var(--ui-text-faint)}.development-auth-ui .dev-auth-status[data-state=unauthenticated]:before{background:var(--ui-success);box-shadow:0 0 8px var(--ui-success)}.development-auth-ui .dev-auth-status[data-state=connecting]:before,.development-auth-ui .dev-auth-status[data-state=submitting]:before{background:var(--ui-warning)}.development-auth-ui .dev-auth-status--error{color:color-mix(in srgb,var(--ui-danger) 50%,white)}.development-auth-ui .dev-auth-status--error:before{background:var(--ui-danger)}@media(min-width:420px){.development-auth-ui .dev-auth-actions{grid-template-columns:1fr 1fr}}@media(max-width:720px){.development-auth-ui .dev-auth-overlay{justify-content:center}}@media(max-height:800px){.development-auth-ui .dev-auth-overlay{gap:16px;padding-block:20px}.development-auth-ui .dev-auth-brand{gap:6px}.development-auth-ui .dev-auth-mark svg{width:30px;height:30px}.development-auth-ui .dev-auth-brand h1{font-size:clamp(1.8rem,3.2vw,2.5rem)}.development-auth-ui .dev-auth-introduction{margin-bottom:14px}.development-auth-ui .dev-auth-form{gap:12px}}@media(max-height:640px){.development-auth-ui .dev-auth-overlay{align-content:start}.development-auth-ui .dev-auth-mark{display:none}}.pregame{position:fixed;inset:0;z-index:1000;overflow:hidden;background-color:var(--ui-bg);color:var(--ui-text);font-family:var(--font-ui, monospace)}.pregame[hidden]{display:none}.pregame__backdrop{position:absolute;inset:0;background-image:radial-gradient(ellipse 60% 52% at 82% 12%,rgb(var(--ui-accent-rgb) / .14),transparent 72%),linear-gradient(90deg,rgb(var(--ui-pad-rgb) / .92),rgb(var(--ui-pad-rgb) / .55) 42%,rgb(var(--ui-pad-rgb) / .1)),url(/assets/ui/pregame/pregame-background.webp);background-position:center,center,70% center;background-size:cover,cover,cover;pointer-events:none}.pregame[data-app-phase=mode-selection] .pregame__backdrop,.pregame[data-app-phase=faction-selection] .pregame__backdrop,.pregame[data-app-phase=identity] .pregame__backdrop,.pregame[data-app-phase=starting-ship-selection] .pregame__backdrop,.pregame[data-app-phase=ship-naming] .pregame__backdrop{opacity:.6}.pregame__screens{position:absolute;inset:0;z-index:1}.pregame__screens:empty{display:none}.pregame-screens{--faction-color: var(--ui-accent);position:absolute;inset:0;display:grid;grid-template-rows:auto auto minmax(0,1fr)}.pregame-screens>.pregame-main{grid-row:3}.pregame-prep{grid-row:2;justify-self:end;display:inline-flex;align-items:center;gap:10px;margin:6px clamp(12px,2vw,28px) 0;padding:0 clamp(14px,2vw,26px);color:var(--ui-text-muted);font-size:.74rem;font-variant-numeric:tabular-nums;letter-spacing:.04em}.pregame-prep .pg-progress{width:96px;height:4px}.pregame-prep[data-state=ready]{color:var(--ui-text)}.pregame-bar{--ss-chamfer: 14px;--ss-rail-width: 3px;position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:56px;margin:12px clamp(12px,2vw,28px) 0;padding:0 clamp(14px,2vw,26px)}.pregame-bar__brand{display:inline-flex;align-items:center;gap:12px;color:var(--ui-heading);font-size:.82rem;font-weight:700;letter-spacing:.24em;white-space:nowrap}.pregame-bar__brand svg{width:20px;height:20px;fill:var(--ui-accent-strong);filter:drop-shadow(0 0 6px var(--ui-glow))}.pregame-steps{display:flex;min-width:0;justify-content:center;gap:clamp(8px,2.2vw,32px);margin:0;padding:0;list-style:none}.pregame-steps li{display:inline-flex;align-items:baseline;gap:8px;padding:8px 4px 6px;border-bottom:2px solid transparent;color:var(--ui-text-faint);font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.pregame-steps__index{font-variant-numeric:tabular-nums}.pregame-steps li.is-done{color:var(--ui-tab-fg)}.pregame-steps li.is-current{border-bottom-color:var(--ui-accent);color:var(--ui-tab-active-fg);box-shadow:0 8px 12px -10px var(--ui-glow)}.pregame-steps li.is-current .pregame-steps__index{color:var(--ui-accent)}.pregame-bar__account{display:inline-flex;align-items:center;gap:14px;grid-column:3;color:var(--ui-text-muted);font-size:.8rem}.pregame-bar__pilot{max-width:18ch;overflow:hidden;padding-right:14px;border-right:1px solid var(--ui-line-strong);text-overflow:ellipsis;white-space:nowrap}.pregame-main{display:flex;min-height:0;flex-direction:column;overflow:hidden}.pg-step{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}.pg-form{display:contents}.pg-scroll{min-height:0;flex:1 1 0;overflow:hidden auto;padding:clamp(14px,2.6vh,30px) clamp(16px,4vw,56px) 18px;scrollbar-color:var(--ui-rail) transparent;scrollbar-width:thin}.pg-content{display:flex;width:min(clamp(1240px,62vw,1700px),100%);flex-direction:column;gap:clamp(14px,2.2vh,24px);margin:0 auto}.pg-heading{max-width:900px}.pg-heading__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:8px}.pg-eyebrow{display:block;color:var(--ui-accent);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.pg-heading>.pg-eyebrow{margin-bottom:6px}.pg-heading h1,.pg-loading h1,.pregame-status h1{margin:0;color:var(--ui-heading);font-size:clamp(1.7rem,3vw,2.6rem);font-weight:700;letter-spacing:.01em;line-height:1.15}.pg-heading h1:focus,.pg-loading h1:focus,.pregame-status h1:focus{outline:none}.pg-heading p{margin:10px 0 0;color:var(--ui-text);font-size:.92rem;line-height:1.6}.pg-heading abbr{color:var(--ui-sc);text-decoration:underline dotted;cursor:help}.pg-explainer{margin-top:12px;color:var(--ui-text-muted);font-size:.84rem}.pg-explainer summary{width:fit-content;color:var(--ui-accent);cursor:pointer}.pg-explainer summary:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}.pg-explainer p{margin:6px 0 0;color:var(--ui-text-muted)}.pg-faction-chip{display:inline-flex;align-items:center;gap:10px;padding:3px 14px 3px 4px;border:1px solid var(--ui-line-strong);background:rgb(var(--ui-pad-rgb) / .8);clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);color:var(--ui-heading);font-size:.74rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.pg-faction-chip .pg-crest{width:30px;height:30px}.pg-actions{--ss-chamfer: 14px;--ss-rail-width: 3px;--hud-button-height: 44px;--hud-button-padding: 0 24px;--hud-button-font-size: 13px;display:flex;min-height:64px;flex:none;align-items:center;justify-content:flex-end;gap:12px;margin:0 clamp(12px,2vw,28px) clamp(10px,1.6vh,18px);padding:10px clamp(14px,2vw,22px)}.pg-actions .hud-button{min-width:128px}.pg-actions__note{display:flex;min-width:0;flex:1 1 280px;align-items:center;gap:12px;margin:0;color:var(--ui-text-muted);font-size:.8rem;line-height:1.5}.pg-note-icon{width:22px;height:22px;flex:none;fill:none;stroke:var(--ui-label);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.pg-arrow{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}.pg-choice{--ss-chamfer: 18px;--ss-rail-width: 3px;display:flex;min-width:0;flex-direction:column;padding:6px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:filter .14s ease,opacity .14s ease}.pg-choice:before{transition:background .14s ease}.pg-choice:hover:not(:disabled):before,.pg-choice:focus-visible:before,.pg-choice.is-selected:before{background:var(--ui-accent)}.pg-choice:focus-visible{outline:2px solid var(--ui-focus);outline-offset:4px}.pg-choice.is-selected{filter:drop-shadow(0 0 16px var(--ui-glow))}.pg-choice.is-selected:after{border-image:linear-gradient(180deg,var(--ui-accent-strong),var(--ui-accent) 40%,color-mix(in srgb,var(--ui-accent) 55%,var(--ui-rail-lo))) 1}.pg-modes:has(.is-selected) .pg-choice:not(.is-selected):not(:disabled):not(:hover):not(:focus-visible),.pg-factions:has(.is-selected) .pg-choice:not(.is-selected):not(:hover):not(:focus-visible),.pg-ships:has(.is-selected) .pg-choice:not(.is-selected):not(:hover):not(:focus-visible){opacity:.8}.pg-choice.is-locked{cursor:not-allowed;filter:saturate(.4);opacity:.6}.pg-selected-badge{position:absolute;top:16px;right:16px;z-index:2;display:none;align-items:center;gap:6px;padding:5px 12px 5px 9px;border:1px solid var(--ui-primary-edge);border-radius:999px;background:var(--ui-primary-bg);color:var(--ui-primary-fg);font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.pg-selected-badge svg,.pg-checkbox svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.is-selected>.pg-selected-badge{display:inline-flex}.pg-selected-badge--corner{top:5px;right:5px;width:54px;height:40px;justify-content:center;padding:0;border:0;border-radius:0;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,20px 100%,0 calc(100% - 20px))}.is-selected>.pg-selected-badge--corner{display:inline-flex}.pg-selected-badge--corner svg{width:20px;height:20px;margin-left:8px}.pg-checkbox{position:absolute;top:10px;right:10px;z-index:2;display:grid;width:26px;height:26px;place-items:center;border:2px solid var(--ui-edge);border-radius:3px;background:rgb(var(--ui-pad-rgb) / .82);color:transparent}.pg-choice:hover:not(:disabled) .pg-checkbox{border-color:var(--ui-accent)}.is-selected .pg-checkbox{border-color:var(--ui-accent);background:var(--ui-accent);color:var(--ui-primary-fg)}.pg-crest{display:block;flex:none}.pg-crest img{display:block;width:100%;height:100%;object-fit:contain}.pg-crest b{display:grid;width:100%;height:100%;place-items:center;border:1px solid var(--faction-emblem-color);border-radius:50%;color:var(--faction-emblem-color);font-weight:800}.pg-chip{display:inline-flex;flex:none;align-items:center;gap:7px;padding:4px 10px;border:1px solid var(--ui-line-strong);background:rgb(var(--ui-pad-rgb) / .85);clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);color:var(--ui-text);font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.pg-chip svg{width:14px;height:14px;fill:none;stroke:var(--ui-accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.pg-factions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:clamp(14px,2vw,26px)}.pg-faction{--card-color: var(--ui-accent);--ss-chamfer: 20px}.pg-faction__art{position:relative;display:block;height:clamp(110px,21vh,260px);flex:none;background-image:linear-gradient(to top,rgb(var(--ui-fill-rgb) / .92),rgb(var(--ui-fill-rgb) / 0) 42%),var(--faction-art);background-position:center,center 30%;background-size:cover,cover;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%,0 12px)}.pg-faction .pg-crest{position:absolute;bottom:12px;left:16px;width:clamp(56px,6vw,78px);height:clamp(56px,6vw,78px);filter:drop-shadow(0 2px 8px rgb(0 0 0 / .7))}.pg-faction__body{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;padding:12px 18px 4px}.pg-faction__name{color:var(--ui-heading);font-size:clamp(1.25rem,2vw,1.6rem);font-weight:700;line-height:1.15}.pg-faction__identity{color:color-mix(in srgb,var(--card-color) 62%,white);font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.pg-faction__summary{color:var(--ui-text);font-size:.9rem;line-height:1.5}.pg-faction__lore{color:var(--ui-text-muted);font-size:.8rem;line-height:1.55}.pg-faction__meta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 0;margin:auto 18px 10px;padding-top:12px;border-top:1px solid var(--ui-line);color:var(--ui-text);font-size:.84rem}.pg-faction__meta>span{min-width:0}.pg-faction__meta>span:nth-child(2){padding-left:22px;border-left:1px solid var(--ui-line)}.pg-faction__meta>span:nth-child(n+3){grid-column:1 / -1}.pg-faction__meta small,.pg-ship__stats small,.pg-ship__package small{display:block;color:var(--ui-label);font-size:.62rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.pg-ships{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(14px,2vw,26px)}.pg-ships:has(>:only-child){grid-template-columns:minmax(0,600px);justify-content:center}.pg-ship{--ss-chamfer: 18px}.pg-ship__cameo{position:relative;display:block;aspect-ratio:16 / 8;overflow:hidden;background:rgb(var(--ui-pad-rgb));clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%,0 12px)}.pg-ship__cameo img,.pg-naming__stage img{display:block;width:100%;height:100%;object-fit:cover}.pg-ship>:not(.pg-ship__cameo){margin-inline:12px}.pg-ship__strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px}.pg-ship>.pg-ship__strip{margin-top:10px}.pg-ship__class{color:var(--ui-heading);font-size:.86rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.pg-ship__name{margin-top:4px;color:var(--ui-heading);font-size:1.15rem}.pg-ship__role{margin-top:2px;color:var(--ui-accent);font-size:.82rem;font-weight:600}.pg-ship__description{display:-webkit-box;margin-top:6px;overflow:hidden;color:var(--ui-text-muted);font-size:.8rem;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.pg-ship__stats,.pg-ship__package{display:grid;margin-top:10px;padding-top:10px;border-top:1px solid var(--ui-line);font-size:.84rem;font-variant-numeric:tabular-nums}.pg-ship__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}.pg-ship>.pg-ship__stats{margin-top:auto}.pg-ship__stats>span,.pg-ship__package>span{display:flex;align-items:baseline;justify-content:space-between;gap:10px;white-space:nowrap}.pg-ship__stats small,.pg-ship__package small{display:inline}.pg-ship__package{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 14px;margin-bottom:10px}.pg-ship__package>span{display:block}.pg-ship__package small{display:block;margin-bottom:2px}.pg-sc,.pg-facts .pg-sc dd{color:var(--ui-sc)}.pg-field{display:flex;max-width:860px;flex-direction:column;gap:8px}.pg-field__row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.pg-dice{--hud-dice-size: 54px;margin-left:-8px}.pg-naming__form .pg-field__row{flex-wrap:nowrap}.pg-label{color:var(--ui-label);font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.pg-input{--hud-input-height: 54px;--hud-input-padding: 10px 16px;--hud-input-font-size: 1.3rem;--hud-input-weight: 600;--hud-input-color: var(--ui-heading);max-width:620px;flex:1 1 300px;letter-spacing:.02em;caret-color:var(--ui-accent)}.pg-input--ship{max-width:none;min-width:0;flex:1 1 auto;letter-spacing:.08em;text-transform:uppercase}.pg-input--ship::placeholder{letter-spacing:.04em;text-transform:none}.pg-valid{display:inline-flex;align-items:center;gap:8px;color:var(--ui-success);font-size:.86rem;font-weight:600}.pg-valid svg{width:22px;height:22px;padding:3px;border:1.5px solid currentColor;border-radius:50%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.pg-hint{margin:0;color:var(--ui-text-muted);font-size:.8rem;line-height:1.5}.pg-hint strong{color:var(--ui-heading)}.pg-error{margin:0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--ui-danger) 60%,transparent);border-radius:2px;background:color-mix(in srgb,var(--ui-danger) 16%,rgb(var(--ui-pad-rgb)));color:color-mix(in srgb,var(--ui-danger) 50%,white);font-size:.86rem;line-height:1.45}.pg-notice{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border:1px solid var(--ui-warning);border-radius:2px;background:color-mix(in srgb,var(--ui-warning) 14%,rgb(var(--ui-pad-rgb)));color:color-mix(in srgb,var(--ui-warning) 45%,white);font-size:.82rem;font-weight:500;letter-spacing:0;line-height:1.45;text-transform:none}.pg-notice svg{width:16px;height:16px;flex:none;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.6}.pg-faction .pg-notice{margin-top:4px}.pg-portraits{padding:6px}.pg-portraits__body{padding:16px 14px 14px}@media(min-width:721px){.pg-portraits .cameo-picker{grid-template-columns:minmax(0,1fr) clamp(130px,14vw,230px);gap:22px}}.pg-portraits .cameo-picker__preview{padding-left:22px;border-left:1px solid var(--ui-line)}.pg-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0;padding:14px 16px}.pg-facts dt{color:var(--ui-label);font-size:.66rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.pg-facts dd{margin:2px 0 0;color:var(--ui-text);font-size:.88rem}.pg-facts--table{grid-template-columns:minmax(0,1fr);gap:0;padding:8px 20px}.pg-facts--table>div{display:grid;grid-template-columns:minmax(110px,36%) minmax(0,1fr);align-items:baseline;gap:14px;padding:8px 0;border-bottom:1px solid var(--ui-line);font-variant-numeric:tabular-nums}.pg-facts--table>div:last-child{border-bottom:0}.pg-facts--table dd{margin:0}.pg-equipment summary{width:fit-content;color:var(--ui-accent);cursor:pointer}.pg-equipment summary:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}.pg-equipment ul{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;padding:0;list-style:none;color:var(--ui-text-muted);font-size:.82rem}.pg-naming{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(18px,3vw,40px);align-items:start}.pg-naming__ship{display:flex;flex-direction:column;margin:0;padding:10px}.pg-naming__stage{display:block;aspect-ratio:16 / 9;overflow:hidden;background:rgb(var(--ui-pad-rgb));clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%,0 12px)}.pg-naming__ship figcaption{display:flex;flex-direction:column;gap:4px;padding:14px 8px 8px}.pg-naming__ship figcaption strong{color:var(--ui-heading);font-size:1.35rem}.pg-naming__ship figcaption>span:last-child{color:var(--ui-text-muted);font-size:.86rem}.pg-naming__form{display:flex;min-width:0;flex-direction:column;gap:16px}.pg-naming__form .pg-field{max-width:none}.pg-modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:clamp(14px,2vw,26px)}.pg-mode{min-height:clamp(240px,36vh,380px);gap:10px;padding:24px 26px 22px}.pg-mode__mark{display:grid;width:46px;height:46px;place-items:center;border:1px solid var(--ui-edge);border-radius:50%;background:rgb(var(--ui-pad-rgb))}.pg-mode--captain .pg-mode__mark{border-color:var(--ui-accent)}.pg-mode__mark svg{width:24px;height:24px;fill:none;stroke:var(--ui-heading);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.pg-mode__title{color:var(--ui-heading);font-size:clamp(1.5rem,2.6vw,2rem);letter-spacing:.06em;line-height:1.1;text-transform:uppercase}.pg-mode__tagline{padding-bottom:12px;border-bottom:1px solid var(--ui-line-strong);color:var(--ui-label);font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.pg-mode__points{display:grid;gap:8px;margin:4px 0 0;padding:0;list-style:none;color:var(--ui-text);font-size:.92rem}.pg-mode__points li{position:relative;padding-left:20px}.pg-mode__points li:before{content:"";position:absolute;top:.5em;left:2px;width:7px;height:7px;border:1px solid var(--ui-accent);transform:rotate(45deg)}.pg-mode__footnote{margin-top:auto;padding-top:12px;border-top:1px solid var(--ui-line);color:var(--ui-text-muted);font-size:.76rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.pg-mode__footnote--free{color:var(--ui-accent-strong)}.pg-invitation{--invitation-color: var(--ui-accent);display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--invitation-color) 55%,transparent);border-left-width:3px;border-radius:2px;background:color-mix(in srgb,var(--invitation-color) 12%,rgb(var(--ui-fill-rgb) / .94));color:var(--ui-text);pointer-events:auto}.pg-invitation--closed{--invitation-color: var(--ui-sc)}.pg-invitation--checking{--invitation-color: var(--ui-text-faint)}.pg-invitation__mark{display:grid;flex:none;width:34px;height:34px;place-items:center;border:1px solid var(--invitation-color);border-radius:50%}.pg-invitation__mark svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.pg-invitation__body{display:flex;min-width:0;flex:1 1 220px;flex-direction:column;gap:4px}.pg-invitation__title{color:color-mix(in srgb,var(--invitation-color) 55%,white);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.pg-invitation__text{color:var(--ui-heading);font-size:.92rem;line-height:1.5;overflow-wrap:anywhere}.pg-invitation__detail{color:var(--ui-text-muted);font-size:.8rem;line-height:1.45}.pg-invitation__dismiss{flex:none;align-self:center;margin-left:auto}.pg-invitation--compact{max-width:920px;padding:10px 14px}.pregame-invitation-slot:empty{display:none}.pregame-status{display:flex;flex-direction:column;align-items:center;gap:16px;margin:auto;text-align:center}.pg-loading{--ss-chamfer: 22px;display:flex;width:min(560px,calc(100% - 32px));flex-direction:column;align-items:center;gap:16px;margin:auto;padding:36px 40px 40px;text-align:center}.pg-progress{position:relative;width:min(420px,80%);height:6px;overflow:hidden;border:1px solid var(--ui-line-strong);background:rgb(var(--ui-pad-rgb))}.pg-progress>span{position:absolute;inset:0 auto 0 0;width:3%;background:linear-gradient(90deg,var(--ui-rail),var(--ui-accent));box-shadow:0 0 8px var(--ui-glow);transition:width .2s ease}.pg-progress.is-indeterminate>span{width:30%;animation:pg-sweep 1.4s ease-in-out infinite}.pg-loading__status{margin:0;color:var(--ui-text-muted);font-size:.88rem;font-variant-numeric:tabular-nums}.pg-spinner{width:28px;height:28px;border:2px solid var(--ui-line-strong);border-top-color:var(--ui-accent);border-radius:50%;animation:pg-spin .9s linear infinite}.pg-spinner--inline{width:14px;height:14px}@keyframes pg-spin{to{transform:rotate(360deg)}}@keyframes pg-sweep{0%{transform:translate(-100%)}to{transform:translate(340%)}}@media(max-width:900px){.pg-naming{grid-template-columns:1fr}}@media(max-width:960px){.pregame-bar{display:flex;flex-wrap:wrap;gap:6px 14px;padding-block:8px}.pregame-bar__account{margin-left:auto}.pregame-steps{order:3;flex-basis:100%;justify-content:space-between}}@media(max-width:720px){.pg-facts{grid-template-columns:1fr}.pg-actions{flex-wrap:wrap}.pg-actions .hud-button{flex:1 1 140px}}@media(max-height:800px){.pg-ship__cameo{aspect-ratio:16 / 4}.pg-ship>.pg-ship__strip{margin-top:6px}.pg-ship__stats,.pg-ship__package{margin-top:6px;padding-top:6px}.pg-explainer{margin-top:6px}.pg-scroll{padding-bottom:10px}.pg-heading h1{font-size:clamp(1.6rem,2.6vw,2.1rem)}.pg-content{gap:12px}.pg-portraits__body{padding-block:12px}.pg-portraits .cameo-picker{gap:16px}.pg-ship__description{-webkit-line-clamp:2}.pg-faction__lore{display:none}.pg-heading p{margin-top:6px}.pg-mode{padding-block:18px 16px}}@media(prefers-reduced-motion:reduce){.pg-spinner,.pg-progress.is-indeterminate>span{animation-duration:3s}.pg-choice,.pg-progress>span{transition:none}}.game-host[data-covered]{visibility:hidden}
