Spaces:
Running
Running
| /* style.css — minimal, mostly defaults. SZL palette: deep purple + gold. */ | |
| :root{ | |
| --purple-deep:#12091f; --purple-mid:#2d1b4e; --gold:#d4af37; --gold-light:#e8cc6a; | |
| --text-main:#e8e0f0; --text-muted:#a090c0; --text-dim:#7060a0; | |
| --font-head:'Cinzel',Georgia,serif; --font-mono:'JetBrains Mono','Fira Code',monospace; | |
| } | |
| *,*::before,*::after{box-sizing:border-box;margin:0;padding:0;} | |
| html,body{height:100%;} | |
| body{ | |
| background:var(--purple-deep);color:var(--text-main); | |
| font-family:'Inter',system-ui,-apple-system,sans-serif;line-height:1.6; | |
| -webkit-font-smoothing:antialiased;overflow-x:hidden; | |
| background-image:radial-gradient(circle at 50% -10%,rgba(61,40,120,0.5),transparent 55%), | |
| radial-gradient(circle at 90% 10%,rgba(212,175,55,0.07),transparent 45%); | |
| } | |
| .skip{position:absolute;left:-9999px;top:0.5rem;z-index:99;padding:.5rem 1rem;background:var(--gold);color:#150b22;font-weight:700;border-radius:4px;} | |
| .skip:focus{left:1rem;} | |
| /* Header / footer banding */ | |
| .roster-header,.roster-footer{text-align:center;font-family:var(--font-mono);letter-spacing:.18em; | |
| text-transform:uppercase;color:var(--gold-light);padding:1.1rem 1rem .6rem;font-size:clamp(.62rem,1.6vw,.86rem);} | |
| .roster-footer{color:var(--text-muted);padding:.7rem 1rem 1.4rem;font-size:clamp(.56rem,1.4vw,.74rem);} | |
| .roster-footer b{color:var(--gold);} | |
| .tagline{text-align:center;font-family:var(--font-head);color:var(--gold); | |
| font-size:clamp(1.1rem,3vw,1.8rem);padding:.4rem 1rem 0;} | |
| .tagline small{display:block;font-family:var(--font-mono);text-transform:none;letter-spacing:.04em; | |
| font-size:.62rem;color:var(--text-dim);margin-top:.4rem;} | |
| /* The 3D stage */ | |
| #stage{position:relative;width:100%;height:min(70vh,640px);min-height:420px;} | |
| #roster{display:block;width:100%;height:100%;} | |
| #roster[hidden]{display:none;} | |
| /* When the static grid is the visible child (no JS / no WebGL / org card), | |
| let the stage size to content instead of the fixed canvas height. */ | |
| #stage:has(#fallback:not([hidden])){height:auto;min-height:0;} | |
| #loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center; | |
| font-family:var(--font-mono);color:var(--text-dim);font-size:.8rem;letter-spacing:.1em;} | |
| /* Holographic hover panel */ | |
| .hover-panel{position:absolute;transform:translate(-50%,-100%);min-width:240px;max-width:300px; | |
| padding:.8rem .9rem;pointer-events:none;opacity:0;transition:opacity .18s ease-out;z-index:40; | |
| background:linear-gradient(180deg,rgba(18,9,31,.92),rgba(18,9,31,.78)); | |
| border:1px solid var(--hc,#d4af37);border-radius:10px; | |
| box-shadow:0 0 24px -4px var(--hc,#d4af37),inset 0 0 18px -8px var(--hc,#d4af37); | |
| backdrop-filter:blur(6px);} | |
| .hover-panel.hp-visible{opacity:1;} | |
| .hover-panel::after{content:'';position:absolute;left:50%;bottom:-7px;transform:translateX(-50%); | |
| width:0;height:0;border:7px solid transparent;border-top-color:var(--hc,#d4af37);} | |
| .hp-name{font-family:var(--font-mono);font-weight:700;font-size:1.05rem;letter-spacing:.08em;} | |
| .hp-role{font-size:.62rem;color:var(--text-muted);margin:.1rem 0 .5rem;} | |
| .hp-head{font-family:var(--font-mono);font-size:.6rem;letter-spacing:.22em;color:var(--text-dim); | |
| border-top:1px solid rgba(255,255,255,.12);padding-top:.4rem;margin-bottom:.4rem;} | |
| .hp-list{list-style:none;display:flex;flex-direction:column;gap:.4rem;} | |
| .hp-line{display:flex;align-items:center;gap:.5rem;font-family:var(--font-mono);font-size:.72rem; | |
| color:var(--text-main);min-height:22px;opacity:.25;} | |
| .hp-line.hp-shown{opacity:1;} | |
| .hp-line.hp-pulse{animation:hp-pulse 1.4s ease-in-out infinite;} | |
| @keyframes hp-pulse{0%,100%{filter:none;}50%{filter:drop-shadow(0 0 5px var(--hc));}} | |
| .sp-icon{display:inline-flex;width:22px;height:22px;flex:0 0 22px;} | |
| .sp-static *{animation:none ;} | |
| .hp-text{white-space:nowrap;overflow:hidden;} | |
| /* Accessible focus proxies (visually hidden but focusable) */ | |
| .a11y-heroes{position:absolute;width:1px;height:1px;overflow:hidden;} | |
| .a11y-heroes button{width:1px;height:1px;} | |
| .a11y-hero:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;z-index:200; | |
| padding:.4rem .7rem;background:var(--gold);color:#150b22;border:0;border-radius:4px; | |
| font-family:var(--font-mono);font-size:.7rem;} | |
| /* SVG fallback grid (WebGL unavailable) */ | |
| #fallback[hidden]{display:none;} | |
| #fallback{max-width:1100px;margin:1rem auto;padding:0 1rem;} | |
| .fb-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;} | |
| .fb-cell{display:flex;flex-direction:column;align-items:center;text-decoration:none; | |
| background:#0a0e14;border:1px solid rgba(212,175,55,.18);border-radius:14px;padding:.9rem; | |
| transition:transform .2s,border-color .2s;} | |
| .fb-cell:hover,.fb-cell:focus-visible{transform:translateY(-4px);border-color:var(--gold);} | |
| .fb-cell img{width:100%;aspect-ratio:1/1;border-radius:12px;} | |
| .fb-name{font-family:var(--font-head);color:var(--gold);margin-top:.5rem;} | |
| .fb-role{font-family:var(--font-mono);font-size:.6rem;color:var(--text-dim); | |
| text-transform:uppercase;letter-spacing:.06em;text-align:center;} | |
| @media(max-width:900px){.fb-grid{grid-template-columns:repeat(3,1fr);}} | |
| @media(max-width:560px){.fb-grid{grid-template-columns:repeat(2,1fr);}} | |
| @media(prefers-reduced-motion:reduce){ | |
| .hover-panel{transition:none;} | |
| .hp-line.hp-pulse{animation:none;} | |
| .sp-anim *{animation:none ;} | |
| } | |