/* out-the-universe.css - fullscreen portfolio game page, body.otu-page scoped */
body.otu-page{margin:0;background:#07111b;color:#edf4fa;font-family:system-ui,sans-serif;overflow:hidden;height:100vh}
body.otu-page .otu-nav{position:fixed;top:0;left:0;right:0;height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#07111bf0;border-bottom:1px solid #3f78ff55;z-index:100}
body.otu-page .otu-brand{font-weight:700;letter-spacing:.08em;color:#f2b45f}
body.otu-page .otu-tabs{display:flex;gap:4px}
body.otu-page .otu-tabs button{background:none;border:1px solid #3f78ff33;color:#edf4fa;padding:6px 14px;font-size:12px;letter-spacing:.06em;cursor:pointer;font-family:inherit}
body.otu-page .otu-tabs button:hover{border-color:#3f78ff;background:#3f78ff11}
body.otu-page .otu-tabs button[aria-pressed="true"]{background:#3f78ff22;border-color:#3f78ff}
body.otu-page #langToggle{background:#f0529133;border:1px solid #f05291;color:#edf4fa;padding:6px 10px;cursor:pointer;font-family:inherit;font-size:12px}
body.otu-page main.otu-shell{position:fixed;top:80px;bottom:50px;left:0;right:0;overflow:hidden}
body.otu-page .otu-panel{position:absolute;inset:0;overflow-y:auto;padding:40px;box-sizing:border-box}
body.otu-page .otu-panel[hidden]{display:none}
body.otu-page .otu-panel:not([hidden]){display:block}
body.otu-page .otu-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.75;z-index:0}
body.otu-page .otu-hero-copy{position:relative;z-index:1;max-width:650px;margin:0;padding:12vh 0 6vh}
body.otu-page .otu-hero-copy h1{font-size:clamp(48px,8vw,100px);margin:0;line-height:1;color:#edf4fa;text-shadow:0 0 30px #07111bcc}
body.otu-page .otu-hero-copy p{font-size:18px;line-height:1.6;color:#edf4facc}
body.otu-page .otu-heading{margin:48px 0 32px;padding-bottom:16px;border-bottom:1px solid #3f78ff33}
body.otu-page .otu-heading .otu-kicker{display:block;font-size:11px;letter-spacing:.15em;color:#f2b45f;margin-bottom:8px}
body.otu-page .otu-heading h2{font-size:clamp(32px,5vw,64px);margin:0;font-weight:800;color:#edf4fa}
body.otu-page .otu-columns{display:grid;grid-template-columns:1fr 1fr;gap:40px}
body.otu-page .otu-article{border-top:1px solid #3f78ff22;padding:24px 0}
body.otu-page .otu-article h3{font-size:20px;margin:0 0 12px;color:#f2b45f}
body.otu-page .otu-article p{font-size:16px;line-height:1.8;margin:0 0 14px;color:#edf4fadd}
body.otu-page .otu-rule{border-top:1px dashed #f0529166;padding:16px 0;color:#edf4faaa;font-size:14px;line-height:1.7}
body.otu-page .otu-board{width:100%;max-width:480px;display:block;margin:0 auto}
body.otu-page .otu-tablist{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}
body.otu-page .otu-tablist button{background:none;border:1px solid #3f78ff44;color:#edf4fa;padding:8px 16px;cursor:pointer;font-size:12px;font-family:inherit}
body.otu-page .otu-tablist button[aria-pressed="true"]{background:#3f78ff22;border-color:#3f78ff}
body.otu-page .otu-card-stage{width:100%;height:300px;display:flex;align-items:center;justify-content:center;border:1px solid #3f78ff33;background:#07111b}
body.otu-page .otu-card-stage img{max-width:100%;max-height:100%;object-fit:contain}
body.otu-page .otu-card-picker{display:flex;gap:8px;overflow-x:auto;padding:12px 0}
body.otu-page .otu-card-picker button{flex:0 0 auto;background:none;border:1px solid #3f78ff33;padding:8px;cursor:pointer;color:#edf4fa;font-family:inherit}
body.otu-page .otu-card-picker button[aria-pressed="true"]{border-color:#f2b45f;background:#f2b45f11}
body.otu-page .otu-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
body.otu-page .otu-gallery img{width:100%;height:160px;object-fit:contain;background:#07111b;border:1px solid #3f78ff22}
body.otu-page dialog.otu-lightbox{border:1px solid #3f78ff;background:#07111bee;padding:0;max-width:90vw}
body.otu-page dialog.otu-lightbox img{max-height:85vh;max-width:85vw;display:block}
body.otu-page .otu-footer{position:fixed;bottom:0;left:0;right:0;height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#07111bf0;border-top:1px solid #3f78ff55;z-index:100}
body.otu-page .otu-footer button{background:none;border:1px solid #3f78ff33;color:#edf4fa;padding:8px 20px;cursor:pointer;font-family:inherit}
body.otu-page .otu-footer .counter{font-size:12px;color:#f2b45f;letter-spacing:.1em}
body.otu-page .otu-transition{position:fixed;top:80px;bottom:50px;left:0;right:0;pointer-events:none;z-index:90;opacity:0}
body.otu-page .otu-transition.is-switching{opacity:.4;animation:otu-scan 1.2s ease-out}
@keyframes otu-scan{0%{background:linear-gradient(180deg,transparent 0%,#f2b45f22 50%,transparent 100%);background-size:100% 8px;transform:translateY(-100%)}100%{transform:translateY(100%)}}
body.otu-page .otu-nav::after{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:repeating-linear-gradient(45deg,#f2b45f44 0 10px,transparent 10px 20px)}
body.otu-page .otu-shell::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:1;background-image:linear-gradient(#3f78ff08 1px,transparent 1px),linear-gradient(90deg,#3f78ff08 1px,transparent 1px);background-size:24px 24px}
@media(max-width:768px){
body.otu-page .otu-nav{height:96px;flex-wrap:wrap;padding:8px 12px}
body.otu-page main.otu-shell{top:120px}
body.otu-page .otu-heading h2{font-size:32px}
body.otu-page .otu-columns{grid-template-columns:1fr}
body.otu-page .otu-footer button{min-width:44px;min-height:44px}
body.otu-page .otu-panel{padding:20px}
}
@media(prefers-reduced-motion:reduce){body.otu-page *{animation:none!important;transition:none!important}}
body.otu-page *{box-sizing:border-box}
body.otu-page button{min-height:44px;min-width:44px;font:inherit}
body.otu-page a{color:inherit;text-decoration:none}
body.otu-page :focus-visible{outline:2px solid #f2b45f;outline-offset:4px}
body.otu-page .otu-brand{font-size:14px;line-height:1.5;flex-shrink:0}
body.otu-page .otu-brand small{display:block;font-size:12px;color:#b5c7d6;letter-spacing:.12em}
body.otu-page .otu-tabs button,body.otu-page #langToggle,body.otu-page .otu-tablist button{font-size:14px}
body.otu-page .otu-tabs button[aria-current="page"]{border-color:#f2b45f;color:#f2b45f;background:#f2b45f0d}
body.otu-page .otu-panel{padding:clamp(24px,5vw,80px);scrollbar-color:#49647b #07111b;overscroll-behavior:contain}
body.otu-page .otu-heading{margin:0 0 32px}
body.otu-page .otu-heading h2{font-size:clamp(30px,3.5vw,56px);max-width:24ch;line-height:1.15}
body.otu-page .otu-kicker{font:12px/1.6 ui-monospace,monospace;letter-spacing:.12em;color:#f2b45f}
body.otu-page .otu-caption{font-size:13px!important;line-height:1.7;color:#a7bbc9!important}
body.otu-page .otu-columns>*{min-width:0}
body.otu-page .otu-article h3{font-size:clamp(22px,2.5vw,32px);line-height:1.4;margin-top:8px}
body.otu-page .otu-article p,body.otu-page .otu-columns p{font-size:16px;line-height:1.85;max-width:75ch}
body.otu-page #launch{isolation:isolate}
body.otu-page #launch::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#07111bee 0%,#07111b99 40%,transparent 80%),linear-gradient(0deg,#07111b,transparent 55%);z-index:-1;pointer-events:none}
body.otu-page .otu-hero-image{z-index:-2;object-position:65% center}
body.otu-page .otu-hero-copy h1{font-size:clamp(48px,6.8vw,98px);max-width:8ch;line-height:1.12;letter-spacing:-.035em}
body.otu-page .otu-hero-summary{max-width:36ch}
body.otu-page .otu-primary{padding:12px 24px;background:#f2b45f;color:#07111b;border:0;font-weight:700;cursor:pointer}
body.otu-page .otu-hero-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
body.otu-page .otu-hero-actions a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
body.otu-page .otu-rules-link{background:none;border:0;border-bottom:1px solid #a8c4dc;color:#edf4fa;min-height:44px;cursor:pointer;font:inherit}
body.otu-page #launch>.otu-article{position:relative;max-width:700px;background:#07111bda;padding:24px;margin-top:30px}
body.otu-page .otu-board{max-height:440px;background:linear-gradient(#3f78ff0c 1px,transparent 1px) 0 0/20px 20px}
body.otu-page .otu-board rect{fill:#102337;stroke:#5f829f;stroke-width:1}
body.otu-page .otu-board .is-route{fill:#3f78ff66;stroke:#86adff}
body.otu-page .otu-board .is-collapsing{fill:#f0529125;stroke:#f05291;stroke-dasharray:3 4;animation:otu-collapse 4s ease-in-out infinite}
body.otu-page .otu-board text{fill:#f2b45f;font:700 24px monospace}
@keyframes otu-collapse{50%{opacity:.28}}
body.otu-page .otu-card-stage{height:clamp(330px,52vh,650px);background:#112231;border:0}
body.otu-page .otu-card-zoom{height:100%;width:100%;background:transparent;border:0;cursor:zoom-in;padding:20px}
body.otu-page .otu-card-stage img{height:100%;width:100%;display:block}
body.otu-page .otu-card-picker{flex-wrap:wrap;max-height:240px;overflow-y:auto}
body.otu-page .otu-card-picker button[aria-pressed="true"]{border-color:#f2b45f;background:#f2b45f22}
body.otu-page .otu-cosmos-image{width:100%;height:clamp(180px,30vh,350px);object-fit:cover;object-position:25% 35%;margin-bottom:24px;border-bottom:2px solid #f05291}
body.otu-page .otu-factions{padding:24px;border-left:1px solid #3f78ff;align-self:center}
body.otu-page .otu-factions h3{font-size:26px;color:#8fafff;margin:10px 0}
body.otu-page .otu-factions h3:last-of-type{color:#f59bc0}
body.otu-page .otu-versus{color:#f2b45f;font-size:30px!important;margin:8px 0}
body.otu-page .otu-gallery button{background:transparent;border:1px solid #486078;cursor:zoom-in;padding:12px}
body.otu-page .otu-sources{margin-top:32px;padding:20px 0;border-top:1px solid #49647b}
body.otu-page .otu-sources a{display:inline-block;color:#a5caff;padding:10px;margin:4px;border:1px solid #49647b}
body.otu-page .otu-related{display:flex;flex-wrap:wrap;gap:24px;margin:32px 0}
body.otu-page .otu-related a{padding:16px;border-bottom:1px solid #f2b45f;color:#f2b45f}
body.otu-page .otu-lightbox::backdrop{background:#02070de8}
body.otu-page .otu-lightbox button{position:sticky;top:0;display:block;margin-left:auto;background:#f2b45f;color:#07111b;border:0;padding:10px 20px}
body.otu-page .otu-lightbox img{object-fit:contain;width:auto;height:auto}
body.otu-page .otu-footer{gap:12px;font-size:13px}
body.otu-page .otu-footer button:disabled{opacity:.35;cursor:default}
body.otu-page .otu-transition.is-switching{animation:otu-scan .4s linear;background:repeating-linear-gradient(90deg,transparent 0 79px,#f2b45f22 80px 82px);opacity:.3}
body.otu-page .otu-skip{position:fixed;top:-100px;left:20px;z-index:200;background:#f2b45f;color:#07111b;padding:12px}
body.otu-page .otu-skip:focus{top:8px}
@media(max-width:900px){body.otu-page .otu-nav{height:120px;display:grid;grid-template-columns:1fr auto;padding:10px 16px;gap:6px}body.otu-page .otu-tabs{grid-row:2;grid-column:1 / -1;overflow-x:auto}body.otu-page .otu-tabs button{white-space:nowrap;flex:1;padding:6px 10px}body.otu-page main.otu-shell,body.otu-page .otu-transition{top:120px}body.otu-page .otu-columns{grid-template-columns:1fr}body.otu-page .otu-panel{padding:24px}body.otu-page .otu-hero-copy{padding-top:9vh}body.otu-page .otu-hero-copy h1{font-size:clamp(42px,10vw,72px)}body.otu-page .otu-footer{padding:0 10px}body.otu-page .otu-footer button{padding:8px 12px}}
