:root{color-scheme:dark;--bg:#050d15;--panel:#071725;--line:#24556e;--text:#e9f5ff;--muted:#adc7db;--cyan:#76dcff;--gold:#efcd86;font-family:Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 0,#12334b,transparent 65%),#050d15;min-height:100vh}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{color:var(--text);background:linear-gradient(#123951,#081e30);border:1px solid #417b99;padding:.75rem 1.2rem;cursor:pointer;min-height:44px;border-radius:2px}button:hover{border-color:var(--cyan);background:#12364d}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:linear-gradient(110deg,#126399,#1281b2);box-shadow:inset 0 0 12px #66ddff44,0 0 20px #00baff22;border:1px solid #8be7ff;font-weight:700;text-transform:uppercase;letter-spacing:.1em}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f6d88c;outline-offset:4px}.shell{max-width:1480px;margin:auto;padding:22px}.topbar{display:flex;align-items:center;gap:30px;border:1px solid var(--line);border-top:2px solid #5e9bbc;background:#04101ce8;padding:6px 24px;min-height:91px;box-shadow:0 8px 35px #0007}.brand{width:190px;height:78px;object-fit:contain}.nav{display:flex;gap:5px;flex:1;flex-wrap:wrap}.nav button{background:transparent;border:0;text-transform:uppercase;font-size:.8rem;letter-spacing:.12em}.nav button[aria-current=page]{color:#8de4ff;box-shadow:0 2px #68d9ff}.language{display:grid;gap:4px;font-size:.7rem;color:var(--muted)}select,input:not([type=checkbox]){background:#041321;color:var(--text);border:1px solid #4d7890;padding:.65rem;width:100%;min-height:44px}input[type=checkbox]{width:19px;height:19px;accent-color:#51c9fc}.ribbon{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 4px;color:var(--muted);font-size:.72rem;letter-spacing:.06em}.badge{color:var(--gold);border:1px solid #866c3c;padding:5px 9px;white-space:nowrap;font-weight:700;font-size:.65rem;letter-spacing:.12em}.hero{position:relative;overflow:hidden;border:1px solid #3b7491;min-height:440px;display:flex;align-items:center;background:#0b1d29}.hero-art{position:absolute;right:0;top:0;width:78%;height:100%;object-fit:cover;object-position:center}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#061321 3%,#061321ed 24%,#0613219a 47%,transparent 77%),linear-gradient(0deg,#03111e88,transparent 50%);pointer-events:none}.hero-content{z-index:1;position:relative;padding:48px;max-width:600px}.eyebrow{color:var(--cyan);letter-spacing:.25em;font-size:.72rem;font-weight:600}.hero h1{font-weight:300;font-size:clamp(2.4rem,4.4vw,4.2rem);line-height:1.07;margin:18px 0}.hero p{max-width:380px;color:#ccdfed;line-height:1.7;font-size:.94rem}.hero .primary{margin-top:12px;min-width:205px;font-size:1.1rem;padding:1rem 2rem}.hero .secondary{margin:12px 0 0 10px;background:#02121ba8}.hero-index{position:absolute;right:25px;bottom:22px;z-index:2;color:#d2ecff;font-size:.68rem;letter-spacing:.2em}.section-title{font-size:.74rem;font-weight:600;letter-spacing:.2em;color:var(--muted);margin:24px 0 13px}.bottom-grid{display:grid;grid-template-columns:260px 1fr;gap:18px}.panel{border:1px solid var(--line);background:linear-gradient(145deg,#0b2130e8,#04111e);padding:22px}.status-panel h2{font-size:.75rem;letter-spacing:.15em;color:var(--cyan);margin:0 0 20px}.status-panel p{font-size:.8rem;color:var(--muted);line-height:1.6}.status-panel button{width:100%;text-align:left;margin-top:12px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.news-card{padding:0;overflow:hidden}.news-card img{width:100%;height:125px;object-fit:cover}.news-card div{padding:15px}.news-card h3{font-size:1.05rem;font-weight:500;margin:3px 0 10px}.news-card p{font-size:.78rem;color:var(--muted);line-height:1.5}.news-card button{font-size:.72rem;padding:8px 12px}.footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding:17px 3px;margin-top:22px;color:var(--muted);font-size:.67rem;letter-spacing:.06em}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:25px 0}.toolbar h1{font-weight:300;font-size:2.1rem;margin:0}.room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.room-card{display:grid;grid-template-columns:100px 1fr;gap:17px}.room-card img{width:100px;height:90px;object-fit:cover}.room-card h2{font-size:1.2rem;margin:0 0 8px}.room-card p{margin:6px 0;color:var(--muted);font-size:.84rem}.room-card button{margin-top:10px}.room-state{color:var(--cyan)!important}.notice{padding:24px;border:1px solid var(--line);background:#091f31;line-height:1.6}.notice h2{font-weight:400}.settings{max-width:680px}.settings label{display:block;margin:20px 0}.check{display:flex!important;align-items:center;gap:10px}.state-control{max-width:600px;display:grid;gap:10px;margin:24px 0}.state-view{min-height:230px}.state-view h2{font-size:2rem;font-weight:300}.state-view p{color:var(--muted)}progress{width:100%;accent-color:var(--cyan)}.toast{border:1px solid #5d8ea3;background:#102c3e;padding:12px 18px;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}.skip{position:absolute;left:10px;top:-100px;background:#fff;color:#000;padding:10px;z-index:100}.skip:focus{top:10px}dialog{background:#071825;color:var(--text);border:1px solid #64bcdf;max-width:min(690px,calc(100vw - 24px));width:690px;padding:28px;box-shadow:0 0 70px #000;max-height:90vh;overflow:auto}dialog::backdrop{background:#010811d9}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-header h2{font-weight:300;margin:0;font-size:1.8rem}.dialog-header button{padding:8px 13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.form-grid label{display:grid;gap:8px;font-size:.8rem;color:var(--muted)}.span2{grid-column:1/-1}.help{font-size:.8rem;line-height:1.6;color:var(--muted)}.actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:20px}.calculation{padding:14px;border-left:3px solid var(--cyan);color:var(--cyan);background:#102c3a}.error-text{color:#ffd6a1}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stats div{background:#0d293a;padding:14px}.stats dt{font-size:.72rem;color:var(--muted)}.stats dd{font-size:1.5rem;margin:8px 0 0}.scan{height:2px;width:100%;background:linear-gradient(90deg,transparent,#6fd7ff,transparent);animation:glow 4s ease-in-out infinite}@keyframes glow{50%{opacity:.25}}.paused .scan{animation-play-state:paused}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}@media(max-width:1050px){.shell{padding:14px}.topbar{gap:14px;padding:7px 14px}.brand{width:140px}.nav button{padding:10px;font-size:.72rem}.bottom-grid{grid-template-columns:1fr}.status-panel{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.status-panel h2,.status-panel p{margin:0}.status-panel button{width:auto;margin:0}.hero-content{padding:35px}.hero{min-height:400px}}@media(max-width:650px){.shell{padding:10px}.topbar{flex-wrap:wrap;gap:6px;padding:8px}.brand{height:57px;width:135px}.language{margin-left:auto}.nav{order:3;flex-basis:100%;justify-content:space-between}.nav button{padding:12px 8px;letter-spacing:.03em}.ribbon{font-size:.62rem;align-items:flex-start}.ribbon span:last-child{max-width:200px;text-align:right}.hero{min-height:470px;align-items:flex-end}.hero-art{width:100%;height:100%;object-position:60% center}.hero:after{background:linear-gradient(0deg,#061321 5%,#061321db 50%,#06132111)}.hero-content{padding:25px 22px 42px}.hero h1{font-size:2.7rem}.hero .secondary{margin-left:0}.hero-index{bottom:13px;font-size:.55rem}.news-grid,.room-grid{grid-template-columns:1fr}.news-card{display:grid;grid-template-columns:110px 1fr}.news-card img{height:100%;min-height:160px}.news-card div{padding:12px}.news-card h3{font-size:1rem}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}dialog{padding:20px}.room-card{grid-template-columns:70px 1fr}.room-card img{width:70px;height:70px}.stats{grid-template-columns:1fr}.hero .primary{min-width:0}.toolbar h1{font-size:1.7rem}}

/* UI-R02: shrink grid children and wrap valid unbroken room names, never mask overflow. */
.room-card > *, .room-grid > *, .dialog-header > * { min-width: 0; }
.room-card h2, dialog h3, .dialog-header h2 { overflow-wrap: anywhere; word-break: normal; }
dialog .actions > button { max-width: 100%; }

/* PARIDAD-VISUAL-01: fixed source composition; responsive content stays real DOM. */
.shell{max-width:1448px;padding:42px 24px 26px;position:relative;background:linear-gradient(120deg,#05121bd9,#0a2234b8);border:1px solid #4382a0;box-shadow:inset 0 0 0 5px #030a10,inset 0 0 0 7px #274d64,0 0 35px #000}
.topbar{min-height:109px;padding:8px 24px;background:linear-gradient(110deg,#07131ce8 24%,#123049b8 65%,#050f19);border:1px solid #4b809d;clip-path:polygon(20px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 20px)}
.brand{width:250px;height:74px;object-fit:contain;flex-shrink:0}.nav{justify-content:space-evenly;gap:6px}.nav button{font-size:1rem;letter-spacing:.04em;padding:12px 14px}.topbar>a{font-size:.65rem;color:var(--gold)}
.ribbon{padding:5px 4px;font-size:.65rem;min-height:26px}.badge{padding:2px 6px}.hero{min-height:480px;border-color:#60b6df;isolation:isolate;background:#061420 url('assets/paridad-visual-01/hero-left.webp') left top/50% 100% no-repeat;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 20px),calc(100% - 20px) 100%,24px 100%,0 calc(100% - 30px),0 12px)}
.hero-art{width:67%;object-position:left center;object-fit:cover}.hero:after{background:linear-gradient(90deg,#06111c22 0,#06111c33 29%,transparent 49%),linear-gradient(0deg,#06121d55,transparent 30%)}.hero-content{padding:85px 32px 40px;width:40%;max-width:560px}.hero-wordmark{display:block;width:100%;height:auto;object-fit:contain}.hero h1{font-size:1rem;font-weight:400;letter-spacing:.34em;margin:25px 0 6px;padding-left:55px;line-height:1.6}.hero p{font-size:.9rem;letter-spacing:.3em;padding-left:55px;line-height:1.8;margin:0 0 25px}.hero .primary{width:100%;min-width:0;margin-top:12px;font-size:2rem;letter-spacing:.03em;min-height:94px;border:4px double #99eaff;background:linear-gradient(#146491,#073454);box-shadow:inset 0 0 14px #72ddff,0 0 15px #50dfff;clip-path:polygon(24px 0,calc(100% - 24px) 0,100% 24px,100% calc(100% - 24px),calc(100% - 24px) 100%,24px 100%,0 calc(100% - 24px),0 24px)}.hero .primary:after{content:'›';padding-left:32px;color:#bdeeff}.hero-slogan{position:absolute;z-index:2;right:18px;top:30px;bottom:28px;width:92px;display:flex;flex-direction:column;justify-content:space-between}.hero-slogan p{font-size:.65rem;padding:0;letter-spacing:.18em;overflow-wrap:anywhere;color:#b8d9ed}
.bottom-grid{grid-template-columns:21% minmax(0,1fr);gap:18px;margin-top:0}.news-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.panel{border:1px solid #5798ba;box-shadow:inset 0 0 0 3px #06111d,0 0 12px #0008;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}.status-panel{padding:23px 16px}.status-panel h2{margin:0 0 8px}.status-panel button{border-width:1px 0 0;background:none;border-color:#315870;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;min-height:65px}.status-panel button:before{content:'◇';font-size:1.4rem;padding-right:15px;color:#a1cce8}.news-card{padding:0}.card-heading{margin:0;padding:12px 17px;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #417997}.news-card img{height:175px}.news-card div{padding:8px 16px 15px}.news-card h3{text-transform:uppercase;font-size:1.05rem;letter-spacing:.06em}.news-card p{font-size:.8rem;margin:6px 0}.news-card button{min-height:32px;padding:4px 12px}.footer{min-height:82px;align-items:center;margin-top:14px;padding:6px 24px;border:1px solid #5086a2;box-shadow:inset 0 0 0 4px #061019,inset 0 0 0 5px #28475a;clip-path:polygon(20px 0,calc(100% - 20px) 0,100% 20px,100% calc(100% - 20px),calc(100% - 20px) 100%,20px 100%,0 calc(100% - 20px),0 20px)}.footer-insignia{display:flex;align-items:center;flex-direction:column}.footer-insignia img{width:38px;height:48px;object-fit:contain}.footer-insignia span{font-size:.75rem}.footer>span:nth-child(2){letter-spacing:.25em;flex:1;padding-left:20px}
@media(max-width:1100px){.shell{padding:22px 14px}.brand{width:180px}.nav button{font-size:.8rem;padding:12px 7px}.hero-content{width:45%;padding:60px 24px 25px}.hero h1,.hero p{padding-left:12px;letter-spacing:.15em}.hero .primary{font-size:1.4rem}.bottom-grid{grid-template-columns:21% minmax(0,1fr)}.status-panel{display:block;padding:15px 10px}.status-panel button{width:100%;font-size:.65rem}.news-card img{height:145px}.hero-slogan{display:none}}
@media(max-width:700px){.shell{padding:10px}.topbar{flex-wrap:wrap;gap:8px;padding:12px}.brand{width:150px;height:60px}.nav{flex-basis:100%;order:3}.nav button{font-size:.65rem;padding:10px 4px}.hero{min-height:470px}.hero-art{width:100%;object-position:38% center}.hero:after{background:linear-gradient(0deg,#051320 0,#051320cc 40%,transparent)}.hero-content{width:100%;max-width:410px;padding:180px 22px 20px}.hero-wordmark{max-width:280px}.hero h1,.hero p{padding-left:0;font-size:.75rem;margin:8px 0;letter-spacing:.16em}.hero .primary{min-height:62px;width:90%}.bottom-grid{grid-template-columns:1fr;margin-top:12px}.status-panel{display:block}.status-panel button{width:100%;font-size:.8rem;min-height:44px}.news-grid{grid-template-columns:1fr}.news-card{display:block}.news-card img{height:185px}.footer{padding:14px;gap:12px}.footer>span:nth-child(2){padding:0}.hero-slogan{display:none}}

/* LANDING-V1 supersedes the three-card home. Same shell, authoritative modes and dialogs. */
body{background:#030c16 url('assets/landing-v1/space-background.webp') center top/cover fixed no-repeat}.shell{max-width:1672px;padding:20px 28px 18px;background:linear-gradient(#04101a44,#030b1477);border:0;box-shadow:none}.topbar{min-height:76px;background:linear-gradient(110deg,#04121ba8,#05182966);clip-path:none;border-width:0 0 1px;box-shadow:none;padding:0 12px;gap:18px}.brand{width:230px;height:65px}.ribbon{min-height:28px;padding:5px 10px}.nav button{font-size:.85rem}.landing-layout{display:grid;grid-template-columns:minmax(0,3.45fr) minmax(290px,1fr);gap:20px;align-items:start}.landing-layout>*{min-width:0}.landing-hero{position:relative;isolation:isolate;min-height:650px;aspect-ratio:1.53;display:flex;align-items:flex-end;margin:0;border:23px solid transparent;border-image:url('assets/landing-v1/hero_frame.webp') 52 fill / 23px / 0 stretch;background:#061320 url('assets/paridad-visual-01/hero-left.webp') left center/54% 100% no-repeat;overflow:hidden}.landing-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.landing-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020911b3,transparent 74%),linear-gradient(0deg,#020a14ee,transparent 72%);pointer-events:none}.landing-hero-copy{padding:28px 30px 72px;max-width:700px}.landing-hero-copy h1{font-size:clamp(2.4rem,3.5vw,3.7rem);font-weight:750;text-transform:uppercase;line-height:1.02;max-width:640px;margin:16px 0;letter-spacing:.01em;overflow-wrap:anywhere}.landing-hero-copy p{font-size:1.05rem;letter-spacing:.19em;line-height:1.6}.landing-play{width:335px;max-width:100%;min-height:92px;border:0!important;clip-path:none!important;background:transparent url('assets/landing-v1/primary_button.webp') center/100% 100% no-repeat!important;box-shadow:none!important;font-size:1.8rem!important;padding:18px 38px!important}.landing-play:after{content:'›';padding-left:30px}.landing-play:hover{filter:brightness(1.2)}.landing-play:disabled{filter:grayscale(.6);opacity:.6}.landing-player{display:grid;gap:12px}.landing-profile{padding:22px 20px;min-height:272px;background:#061421bf;border:17px solid transparent;border-image:url('assets/landing-v1/profile_panel.webp') 38 fill / 17px / 0 stretch}.landing-profile h2{font-size:1rem;text-transform:uppercase;letter-spacing:.08em;margin:0 0 20px}.landing-player-identity{display:flex;gap:14px;align-items:center;min-height:80px}.landing-avatar{font-size:3.4rem;line-height:1;color:#88cbe5}.landing-player-identity h3{font-size:1rem;margin:0 0 8px;overflow-wrap:anywhere}.landing-profile p{font-size:.75rem;color:#bad0e2;line-height:1.5;margin:7px 0}.landing-player-progress{border-bottom:1px solid #346786;padding:12px 0}.landing-player-status:before{content:'○';padding-right:9px;color:#acc5d2}.landing-rows{display:grid;gap:10px}.landing-action-row{display:flex;align-items:center;width:100%;min-height:76px;gap:14px;padding:14px 23px;text-align:left;background:transparent url('assets/landing-v1/action_row.webp') center/100% 100% no-repeat;border:0;border-radius:0}.landing-action-row:hover{background:transparent url('assets/landing-v1/action_row.webp') center/100% 100% no-repeat;filter:brightness(1.25)}.landing-action-row:disabled{opacity:.62;filter:none}.landing-row-icon{flex:0 0 30px;font-size:1.8rem;color:#bce6fc;text-align:center}.landing-row-copy{display:grid;gap:5px;min-width:0;flex:1}.landing-row-copy strong{font-size:.9rem;font-weight:650;overflow-wrap:anywhere}.landing-row-copy>span{font-size:.7rem;color:#bfd4e9;line-height:1.4;overflow-wrap:anywhere}.landing-row-arrow{font-size:1.5rem}.landing-community{padding:16px 20px;margin:0;font-style:italic;font-size:.8rem;line-height:1.8;color:#b8d0e7}.footer{margin-top:15px;min-height:60px;padding:12px 20px;border-width:1px 0 0;background:#04101b99;clip-path:none;box-shadow:none}.footer-insignia img{width:25px;height:32px}.footer>span:nth-child(2){font-size:.65rem;letter-spacing:.16em}.landing-hero button:focus-visible,.landing-action-row:focus-visible{outline:3px solid #f6d88c;outline-offset:3px}
@media(max-width:1200px){.shell{padding:14px}.topbar{gap:10px;padding:0 6px}.brand{width:170px}.nav button{padding:10px 7px;font-size:.72rem}.landing-layout{grid-template-columns:minmax(0,2.6fr) minmax(270px,1fr);gap:14px}.landing-hero{min-height:600px;aspect-ratio:auto}.landing-hero-copy{padding:24px 20px 55px}.landing-hero-copy h1{font-size:2.9rem}.landing-profile{padding:18px 14px}.landing-action-row{padding:14px 20px;gap:10px}}
@media(max-width:850px){.landing-layout{grid-template-columns:minmax(0,1fr)}.landing-hero{min-height:580px;aspect-ratio:1.4}.landing-player{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.landing-profile{min-height:300px}.landing-community{grid-column:1/-1;padding:10px 20px}.landing-hero-copy{max-width:630px}.landing-action-row{min-height:70px}}
@media(max-width:540px){body{background-attachment:scroll}.shell{padding:8px}.topbar{padding:8px;flex-wrap:wrap}.brand{width:145px;height:52px}.nav{flex-basis:100%;order:3}.nav button{font-size:.62rem;padding:9px 5px}.landing-hero{min-height:540px;border-width:17px;border-image-width:17px}.landing-hero-copy{padding:18px 12px 54px}.landing-hero-copy h1{font-size:2.45rem}.landing-hero-copy p{font-size:.83rem;letter-spacing:.1em}.landing-play{min-height:76px;font-size:1.5rem!important}.landing-player{grid-template-columns:minmax(0,1fr)}.landing-profile{min-height:245px}.landing-community{grid-column:auto}.landing-action-row{min-height:78px}.footer{gap:12px;padding:12px 8px}.footer>span:nth-child(2){flex-basis:65%;font-size:.6rem}.ribbon{font-size:.6rem}}
.landing-brand{display:flex;align-items:center;gap:12px;flex:0 0 auto;min-width:0}.landing-brand-icon{width:68px;height:68px;object-fit:contain}.landing-brand-wordmark{width:245px;height:auto;object-fit:contain;max-width:100%}@media(max-width:1200px){.landing-brand{gap:8px}.landing-brand-icon{width:52px;height:52px}.landing-brand-wordmark{width:175px}}@media(max-width:540px){.landing-brand-icon{width:46px;height:46px}.landing-brand-wordmark{width:155px}}
/* LANDING-R01: preserve session/update navigation inside profile, outside four action rows. */
.landing-session{margin-top:8px;padding:8px 14px;min-height:44px;width:100%;font-size:.8rem;text-align:left}

/* REFERENCE-R02: measured against the 1672 x 941 reference, live HTML throughout.
   Existing hero artwork is explicitly retained by the owner; its bytes stay unchanged.
   Only home receives the asymmetric reference rail and viewport-aware composition. */
.shell-home{padding-top:16px;padding-bottom:0}
.shell-home .topbar{min-height:60px;padding:0;gap:16px;background:transparent}
.shell-home .landing-brand-icon{width:60px;height:60px}
.shell-home .landing-brand-wordmark{width:300px}
.shell-home .nav{justify-content:space-evenly;gap:0;min-width:0}
.shell-home .nav button{font-size:.72rem;padding:12px 8px;letter-spacing:.06em;white-space:nowrap}
.shell-home .topbar>a{font-size:.65rem;max-width:105px}
.shell-home .language{flex:0 0 142px}
.shell-home .ribbon{min-height:22px;padding:2px 0}
.shell-home #main{margin-left:99px}
.shell-home .landing-layout{grid-template-columns:minmax(0,3.48fr) minmax(280px,1fr);gap:24px}
.shell-home .landing-hero{height:clamp(460px,calc(100svh - 184px),760px);min-height:0;aspect-ratio:auto;border-width:15px;border-image-width:15px}
.shell-home .landing-hero-copy{padding:24px 36px 80px;max-width:100%;width:100%}
.shell-home .landing-hero-copy .eyebrow{font-size:.82rem;letter-spacing:.24em;font-weight:500}
.shell-home .landing-hero-copy h1{font-size:clamp(2rem,3.35vw,3.5rem);font-weight:750;letter-spacing:-.02em;line-height:.97;margin:14px 0 16px;max-width:none;overflow-wrap:normal}
.landing-title-line{display:block}
.landing-title-accent{color:#29b5f0}
.shell-home .landing-hero-copy p{font-size:clamp(.85rem,1.15vw,1.2rem);letter-spacing:.2em;line-height:1.4;margin:0 0 23px}
.shell-home .landing-play{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;width:324px;max-width:100%;min-height:78px;padding:12px 40px!important;white-space:nowrap;font-size:2.2rem!important;letter-spacing:0;background:linear-gradient(120deg,#275da3,#103867)!important;border:1px solid #71d3f5!important;box-shadow:inset 0 0 0 4px #123456,inset 0 0 18px #3199eb66!important}
.shell-home .landing-play:after{padding:0;font-size:2rem;font-weight:300}

.shell-home .landing-profile{padding:18px;min-height:272px;border:1px solid #397491;border-radius:7px;background:linear-gradient(135deg,#081c2ae8,#030e19e8);box-shadow:inset 0 0 0 4px #061321}
.shell-home .landing-profile h2{margin:0 0 12px;padding-left:10px;border-left:2px solid #d9f6ff;font-size:1rem}
.shell-home .landing-player-identity{min-height:76px;gap:12px;border:1px solid #21465c;background:linear-gradient(110deg,#0b263c,#041321);padding:10px}
.shell-home .landing-avatar{font-size:2.7rem}
.shell-home .landing-player-identity h3{font-size:.96rem;margin:0 0 4px}
.shell-home .landing-player-progress{padding:8px 0}
.shell-home .landing-profile p{font-size:.7rem;margin:6px 0}
.shell-home .landing-session{min-height:44px;margin-top:5px;padding:8px 12px}
.shell-home .landing-player{gap:10px}
.shell-home .landing-rows{gap:8px}
.shell-home .landing-action-row{min-height:62px;padding:10px 24px;gap:18px;border:1px solid #35647e;border-radius:7px;background:linear-gradient(115deg,#071c2be8,#04111be8)}
.shell-home .landing-action-row:hover{background:linear-gradient(115deg,#12374de8,#08253ae8)}
.shell-home .landing-action-row:disabled{opacity:.7}
.shell-home .landing-row-copy{gap:4px}
.shell-home .landing-row-copy strong{font-size:.88rem}
.shell-home .landing-row-copy>span{font-size:.7rem}
.shell-home .landing-community{padding:20px 18px;font-size:.8rem;max-width:290px}
.shell-home .footer{min-height:64px;margin-top:18px;padding:8px 3px}
@media(min-width:851px) and (max-width:1250px){
 .shell-home{padding:10px 18px 0}
 .shell-home #main{margin-left:0}
 .shell-home .topbar{gap:10px}
 .shell-home .landing-brand-icon{width:48px;height:48px}
 .shell-home .landing-brand-wordmark{width:190px}
 .shell-home .language{flex-basis:140px}
 .shell-home .nav button{font-size:.65rem;padding:10px 5px}
 .shell-home .landing-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}
 .shell-home .landing-hero{height:clamp(500px,calc(100svh - 178px),760px)}
 .shell-home .landing-hero-copy{padding:24px 20px 62px}
 .shell-home .landing-play{width:280px;min-height:72px;font-size:1.9rem!important}
}
@media(max-width:850px){
 .shell-home{padding:10px 14px 0}
 .shell-home #main{margin-left:0}
 .shell-home .topbar{flex-wrap:wrap;gap:10px}
 .shell-home .landing-brand-icon{width:48px;height:48px}
 .shell-home .landing-brand-wordmark{width:210px}
 .shell-home .nav{flex-basis:100%;order:3;flex-wrap:wrap;justify-content:space-between}
 .shell-home .landing-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 .shell-home .landing-hero{height:auto;min-height:540px;aspect-ratio:1.4}
 .shell-home .landing-hero-copy{padding:24px 24px 70px}
 .shell-home .landing-hero-copy h1{font-size:clamp(1.65rem,6.5vw,3.2rem);line-height:1.04}
 .shell-home .landing-profile{min-height:272px}
 .shell-home .landing-player{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .shell-home .landing-action-row{padding:10px 14px;gap:10px}
 .shell-home .landing-community{grid-column:1/-1;max-width:none;padding:12px}
}
@media(max-width:540px){
 .shell-home{padding:8px}
 .shell-home .landing-brand-wordmark{width:190px}
 .shell-home .landing-brand-icon{width:44px;height:44px}
 .shell-home .language{flex-basis:150px}
 .shell-home .topbar>a{margin-left:auto}
 .shell-home .landing-hero{min-height:500px;border-width:12px;border-image-width:12px;aspect-ratio:auto}
 .shell-home .landing-hero-copy{padding:20px 12px 65px}
 .shell-home .landing-hero-copy p{font-size:.75rem;letter-spacing:.1em}
 .shell-home .landing-play{width:100%;min-height:70px;font-size:1.8rem!important;padding:12px 24px!important}

 .shell-home .landing-player{grid-template-columns:minmax(0,1fr)}
 .shell-home .landing-community{grid-column:auto}
 .shell-home .footer{padding:12px 4px}
}
@media(min-width:851px) and (max-height:820px){
 /* Keep the four real actions and session entry visible on short desktop windows. */
 .shell-home .landing-community{display:none}
 .shell-home .landing-hero-copy{padding-bottom:58px}
 .shell-home .landing-profile{min-height:0;padding:14px}
 .shell-home .landing-action-row{min-height:58px}
}

/* TYPOGRAPHY-R05: self-hosted Open Sans 1.10, Apache-2.0; see assets/fonts.
   A measured approximation of the supplied artwork, not an identified source font.
   Pin every home text/control to the same real faces across Windows and Linux. */
@font-face{font-family:'Halo UI Sans';src:url('assets/fonts/open-sans-regular-latin.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Halo UI Sans';src:url('assets/fonts/open-sans-semibold-latin.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Halo UI Sans';src:url('assets/fonts/open-sans-bold-latin.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Halo UI Sans';src:url('assets/fonts/open-sans-italic-latin.woff') format('woff');font-weight:400;font-style:italic;font-display:swap}
.shell-home{font-family:'Halo UI Sans','Segoe UI',Arial,sans-serif;font-weight:400}
.shell-home button,.shell-home input,.shell-home select,.shell-home .landing-hero-copy p{font-family:'Halo UI Sans','Segoe UI',Arial,sans-serif}
.shell-home .nav button{font-weight:400;letter-spacing:.035em;font-size:.75rem}
.shell-home .landing-hero-copy .eyebrow{font-weight:600;letter-spacing:.25em}
.shell-home .landing-hero-copy h1{font-size:clamp(2rem,3.23vw,3.375rem);font-weight:700;letter-spacing:-.015em;line-height:.99}
.shell-home .landing-hero-copy p{font-weight:400;font-size:clamp(.85rem,1.15vw,1.2rem);letter-spacing:.18em;line-height:1.4}
.landing-tagline-accent{color:#62cfff}
.shell-home .landing-play{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:16px;padding:12px 30px!important;text-align:center;font-weight:700;font-size:2.2rem!important;border-radius:2px;box-shadow:inset 0 0 0 3px #123456,inset 0 0 0 4px #4a9ccb88,inset 0 0 18px #3199eb66!important}
.shell-home .landing-play:after{font-family:Arial,sans-serif;font-size:2.25rem;font-weight:400;line-height:1}
.shell-home .landing-profile h2{font-weight:600;letter-spacing:.07em}
.shell-home .landing-player-identity h3{font-weight:600;line-height:1.35}
.shell-home .landing-profile p{font-size:.72rem;line-height:1.5}
.shell-home .landing-row-copy strong{font-size:.88rem;font-weight:600;line-height:1.35}
.shell-home .landing-row-copy>span{font-size:.72rem;line-height:1.4}
.shell-home .landing-community{font-size:.8rem;letter-spacing:.025em;line-height:1.6;font-weight:400}
@media(min-width:851px) and (max-width:1250px){
 .shell-home .nav button{font-size:.65rem;letter-spacing:.025em}
 .shell-home .landing-play{font-size:1.9rem!important}
}
@media(max-width:850px){
 .shell-home .landing-hero-copy h1{font-size:clamp(1.65rem,6.5vw,3.2rem);line-height:1.04}
}
@media(max-width:540px){
 .shell-home .nav button{font-size:.62rem;letter-spacing:.025em}
 .shell-home .landing-hero-copy p{font-size:.75rem;letter-spacing:.1em}
 .shell-home .landing-play{font-size:1.8rem!important;padding:12px 24px!important}
}
/* Two community web cards share one confirmed destination; absent while unset. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.landing-discord{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border:1px solid #397491;border-radius:5px;background:linear-gradient(115deg,#101d3ded,#04121ded);color:#dcefff;text-decoration:none}
.landing-discord:hover{border-color:#8ba3ff;background:linear-gradient(115deg,#1b3152,#082139)}
.landing-discord-mark{color:#899cff;font-size:1.8rem;line-height:1;flex:none}
.landing-discord-copy{display:grid;gap:3px;min-width:0}
.landing-discord-copy strong{font-size:.85rem;letter-spacing:.055em;font-weight:600;color:#a8bbff}
.landing-discord-copy>span{font-size:.7rem;line-height:1.35;overflow-wrap:anywhere}
.shell-home .topbar>.landing-discord{max-width:none;flex:0 0 180px;color:#dcefff;font-size:inherit}
.landing-discord-sidebar{min-height:62px;padding:10px 24px}
@media(min-width:851px) and (max-width:1450px){
 .shell-home .topbar:has(.landing-discord){flex-wrap:wrap}
 .shell-home .topbar:has(.landing-discord) .nav{order:3;flex-basis:100%;justify-content:space-evenly}
 .shell-home .topbar>.landing-discord{margin-left:auto}
}
@media(max-width:850px){
 .shell-home .topbar>.landing-discord{margin-left:auto;flex-basis:170px}
 .landing-discord-sidebar{grid-column:1/-1}
}
@media(max-width:540px){
 .shell-home .topbar>.landing-discord{flex:1 1 170px;margin-left:0;min-width:0}
 .landing-discord-sidebar{grid-column:auto}
}
