@font-face{font-family:'Michroma';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/michroma-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/jetbrains-mono-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Michroma';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/michroma-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* NexVive — black, chrome & light. */
:root {
  --bg: #050505; --s1: #0a0a0a; --s2: #0f0f0f; --s3: #161616;
  --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .15); --line3: rgba(255, 255, 255, .3);
  --tx: #f2f2f2; --tx2: #a6a6a6; --tx3: #6a6a6a;
  --disp: 'Michroma', 'Eurostile', 'Arial Black', sans-serif; --body: 'Manrope', 'Segoe UI', Roboto, Arial, sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .75, .1, 1); --rail: 264px; --gut: clamp(16px, 3.4vw, 48px);
  --chrome: linear-gradient(180deg, #ffffff 0%, #dcdcdc 40%, #8c8c8c 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body { background: var(--bg); color: var(--tx); font-family: var(--body); font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; font-feature-settings: 'tnum' 1; }
body.playing { overflow: hidden; }
body.playing .main, body.playing .rail, body.playing .mtop, body.playing .tabs, body.playing .bgfx { visibility: hidden; }
body.playing .main * { animation-play-state: paused !important; }
::selection { background: rgba(255, 255, 255, .22); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.bgfx { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(900px 600px at 85% -10%, rgba(255, 255, 255, .07), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(255, 255, 255, .04), transparent 60%); }
.bgfx i { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 70%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 70%); }

/* type */
.kick { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tx3); display: flex; align-items: center; gap: 10px; }
.kick::before { content: ''; width: 18px; height: 1px; background: var(--line3); }
.h1, .h2, .h3, .hx { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.08; }
.h1 { font-size: clamp(28px, 4.4vw, 60px); }
.h2 { font-size: clamp(22px, 2.8vw, 38px); }
.h3 { font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .06em; }
.hx { font-size: clamp(28px, 4.3vw, 74px); line-height: 1.04; }
.nw { white-space: nowrap; }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--tx2); font-size: clamp(15px, 1.2vw, 17.5px); max-width: 640px; }
.note { color: var(--tx3); font-size: 13px; }
.mono { font-family: var(--mono); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 22px; border: 1px solid var(--line3); border-radius: 2px; font-family: var(--disp); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; overflow: hidden; transition: border-color .3s, background .3s, box-shadow .3s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); transition: left .7s var(--ease); }
.btn:hover { border-color: #fff; }
.btn:hover::after { left: 130%; }
.btn.pri { border-color: rgba(255, 255, 255, .85); background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 30px rgba(255, 255, 255, .06); }
.btn.pri:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 40px rgba(255, 255, 255, .14); }
.btn.big { height: 58px; padding: 0 30px; font-size: 11.5px; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 9.5px; }
.btn.danger:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.link { color: var(--tx3); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; margin-top: 14px; }
.link:hover { color: var(--tx); }

/* rail (desktop) */
.rail { position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail); z-index: 40; display: flex; flex-direction: column; padding: 26px 18px 20px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 10, 10, .92), rgba(5, 5, 5, .96)); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { display: block; font-family: var(--disp); font-weight: 400; font-size: 14px; letter-spacing: .3em; }
.brand small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx3); margin-top: 2px; }
.rnav { margin-top: 38px; display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.rnav a { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 2px; color: var(--tx2); font-size: 13.5px; font-weight: 500; letter-spacing: .02em; transition: color .25s, background .25s; }
.rnav a svg { width: 18px; height: 18px; opacity: .75; }
.rnav a:hover { color: var(--tx); background: rgba(255, 255, 255, .03); }
.rnav a.on { color: #fff; background: linear-gradient(90deg, rgba(255, 255, 255, .08), transparent); }
.rnav a.on::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .7); }
.rnav a.on svg { opacity: 1; }
.rnav hr { border: 0; height: 1px; background: var(--line); margin: 14px 12px; }
.rfoot { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.rinstall, .sinstall { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line2); border-radius: 2px; font-size: 12.5px; color: var(--tx2); transition: border-color .3s, color .3s; }
.rinstall svg, .sinstall svg { width: 16px; height: 16px; }
.rinstall:hover { border-color: #fff; color: #fff; }
.lang { display: flex; border: 1px solid var(--line2); border-radius: 2px; overflow: hidden; align-self: flex-start; }
.lang button { padding: 6px 11px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--tx3); transition: color .2s, background .2s; }
.lang button.on { color: #fff; background: rgba(255, 255, 255, .1); }
.mtop, .tabs { display: none; }

/* main */
.main { position: relative; z-index: 1; margin-left: var(--rail); min-height: 100vh; }
.page, .hero, .sec { padding-left: var(--gut); padding-right: var(--gut); max-width: 1440px; }
.page { padding-top: clamp(40px, 6vw, 80px); }
.phead { margin-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 18px; }
.rv { opacity: 0; }
.rv.in { opacity: 1; animation: rvIn .85s var(--ease) var(--d, 0ms) backwards; }
@keyframes rvIn { from { opacity: 0; transform: translateY(18px); } }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 60px); align-items: center; min-height: min(100vh, 860px); padding-top: 60px; padding-bottom: 60px; }
.hero-txt { display: grid; gap: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 18px; }
.facts div { padding: 18px 14px 0 0; }
.facts b { display: block; font-family: var(--disp); font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); }
.facts span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); }
.hero-vis { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; color: #e8e8e8; }
.scope { width: 100%; height: 100%; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .08)); }
.scope .spin { transform-origin: 210px 210px; animation: spin 80s linear infinite; }
.scope .spinr { transform-origin: 210px 210px; animation: spin 24s linear infinite reverse; }
.scope .ping { transform-origin: 210px 210px; animation: ping 2.8s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.readout { position: absolute; padding: 10px 14px; border: 1px solid var(--line2); background: rgba(8, 8, 8, .8); backdrop-filter: blur(6px); min-width: 150px; }
.readout span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx3); }
.readout b { font-family: var(--mono); font-weight: 500; font-size: 18px; }
.readout.r1 { top: 8%; right: -2%; } .readout.r2 { bottom: 14%; left: -4%; } .readout.r3 { bottom: 2%; right: 6%; }

/* sections */
.sec { padding-top: clamp(50px, 7vw, 100px); }
.sh { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: 34px; }
.sh > div { display: grid; gap: 16px; }
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.prof { position: relative; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #0d0d0d, #080808); border-radius: 2px; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; min-height: 220px; }
.prof svg { width: 46px; height: 46px; color: #ddd; margin-bottom: 6px; }
.prof h3 { font-family: var(--disp); font-weight: 400; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.prof p { color: var(--tx2); font-size: 13.5px; line-height: 1.5; flex: 1; }
.prof .pick { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); }
.prof .pick svg { width: 14px; height: 14px; margin: 0; }
.prof:hover { border-color: var(--line3); transform: translateY(-3px); }
.prof.on { border-color: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 0 40px rgba(255, 255, 255, .06); }
.prof.on .pick { color: #fff; }
.profiles.compact .prof { min-height: 0; padding: 16px; flex-direction: row; align-items: center; gap: 12px; }
.profiles.compact .prof svg { width: 30px; height: 30px; margin: 0; flex: none; }
.profiles.compact .prof p, .profiles.compact .prof .pick { display: none; }
.fams { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.fam { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 20px 22px; min-height: 250px; border-right: 1px solid var(--line); transition: background .4s; }
.fam:last-child { border-right: 0; }
.fam .fn { font-family: var(--mono); font-size: 11px; color: var(--tx3); }
.fam h3 { font-family: var(--disp); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.fam p { color: var(--tx2); font-size: 13.5px; flex: 1; }
.fam .fc { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.fam > svg { position: absolute; right: 18px; bottom: 20px; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.fam:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); }
.fam:hover > svg { transform: translateX(4px); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: linear-gradient(160deg, #0f0f0f, #070707 60%); min-height: 300px; transition: border-color .3s; }
.panel:hover { border-color: var(--line3); }
.panel p { color: var(--tx2); max-width: 480px; }
.xrow { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.xrow span { width: 64px; height: 64px; border: 1px solid var(--line); display: grid; place-items: center; background: #050505; }
.toolchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.toolchips span { font-family: var(--mono); font-size: 12px; padding: 8px 12px; border: 1px solid var(--line2); color: var(--tx2); }
.appcard { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); background: radial-gradient(600px 300px at 80% 50%, rgba(255, 255, 255, .06), transparent 70%), #080808; }
.appcard > div:first-child { display: grid; gap: 18px; justify-items: start; }
.device { justify-self: center; width: 180px; height: 330px; border: 1px solid var(--line3); border-radius: 30px; padding: 10px; background: #050505; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 255, 255, .05); }
.device .scr { height: 100%; border-radius: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .08), transparent 60%); }
.device svg { width: 54px; height: 54px; }
.device b { font-family: var(--disp); font-weight: 400; font-size: 11px; letter-spacing: .3em; }
.device i { width: 70%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); }
.device i:last-child { width: 45%; }
.founderstrip { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px clamp(20px, 3vw, 40px); border: 1px solid var(--line); transition: border-color .3s; }
.founderstrip:hover { border-color: var(--line3); }
.founderstrip .mono { font-family: var(--disp); font-size: 54px; width: 96px; height: 96px; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founderstrip p { font-size: clamp(16px, 1.6vw, 21px); margin: 8px 0; }
.founderstrip b { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .1em; color: var(--tx3); }
.founderstrip > svg { width: 22px; height: 22px; }

/* drills */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 2px; font-size: 13px; color: var(--tx2); transition: all .25s; }
.chip small { font-family: var(--mono); font-size: 10.5px; color: var(--tx3); }
.chip:hover { color: #fff; border-color: var(--line3); }
.chip.on { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .07); }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.dcard { position: relative; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #0d0d0d, #070707); border-radius: 2px; transition: border-color .3s, transform .4s var(--ease); overflow: hidden; }
.dcard::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .06), transparent); transform: skewX(-18deg); transition: left .9s var(--ease); pointer-events: none; }
.dcard:hover { border-color: var(--line3); transform: translateY(-3px); }
.dcard:hover::after { left: 130%; }
.dc-top { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); }
.dc-top .tag { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-top .dim { border: 1px solid var(--line2); padding: 1px 6px; }
.dic { width: 64px; height: 64px; color: #e6e6e6; margin: 10px 0 6px; }
.dic svg { width: 100%; height: 100%; }
.dcard h3 { font-family: var(--disp); font-weight: 400; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
.dcard p { color: var(--tx2); font-size: 13.5px; line-height: 1.5; flex: 1; }
.dc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.inp { display: flex; gap: 6px; color: var(--tx3); }
.inp i { width: 18px; height: 18px; }
.inp svg { width: 100%; height: 100%; }
.best { text-align: right; font-family: var(--mono); font-size: 13px; }
.best small { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); }
.corner { position: absolute; width: 12px; height: 12px; border-color: var(--line3); border-style: solid; pointer-events: none; transition: border-color .3s, width .4s var(--ease), height .4s var(--ease); }
.corner.tl { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.corner.br { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }
.dcard:hover .corner { border-color: #fff; width: 18px; height: 18px; }

/* drawer (dark side panel) */
.veil { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.veil.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); z-index: 70; background: linear-gradient(180deg, #101010, #070707); border-left: 1px solid var(--line2); padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; transform: translateX(102%); transition: transform .55s var(--ease); }
.drawer.on { transform: none; }
.drawer .x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line2); display: grid; place-items: center; }
.drawer .x svg { width: 16px; height: 16px; }
.drawer .dic.big { width: 84px; height: 84px; margin: 0 0 6px; }
.drawer .dd { color: var(--tx2); }
.tip { border-left: 1px solid #fff; padding: 4px 0 4px 14px; color: var(--tx2); font-size: 14px; }
.tip span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx3); }
.opt { display: grid; gap: 8px; }
.opt label, .ctrl label, .fld2 label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); display: flex; justify-content: space-between; }
.opt .fixed { font-family: var(--mono); font-size: 13px; color: var(--tx2); }
.seg { display: flex; border: 1px solid var(--line2); border-radius: 2px; overflow: hidden; flex-wrap: wrap; }
.seg button { flex: 1; padding: 12px 10px; font-size: 13px; color: var(--tx2); border-right: 1px solid var(--line); transition: background .25s, color .25s; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; }
.seg button:last-child { border-right: 0; }
.seg button small { font-family: var(--mono); font-size: 10.5px; color: var(--tx3); }
.seg button.on { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 -2px 0 #fff; }
.seg.sm button { padding: 9px 8px; font-size: 12.5px; }
.bestline { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--tx3); margin-top: auto; }
.bestline b { color: var(--tx); font-weight: 500; }

/* routines */
.rbox { margin-top: 18px; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line2); background: radial-gradient(700px 300px at 100% 0, rgba(255, 255, 255, .05), transparent 70%), #080808; display: grid; gap: 22px; }
.rb-head { display: flex; gap: 22px; align-items: center; }
.rb-head > svg { width: 72px; height: 72px; flex: none; color: #eee; }
.rb-head > div { display: grid; gap: 8px; }
.rb-head p { color: var(--tx2); }
.rlist { list-style: none; border-top: 1px solid var(--line); }
.rlist li { display: grid; grid-template-columns: 40px 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ri { font-family: var(--mono); font-size: 12px; color: var(--tx3); }
.ric { width: 40px; height: 40px; color: #ddd; }
.ric svg { width: 100%; height: 100%; }
.rn b { display: block; font-family: var(--disp); font-weight: 400; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.rn small { font-family: var(--mono); font-size: 11px; color: var(--tx3); }
.rbest { font-family: var(--mono); font-size: 13px; color: var(--tx2); }
.rbox .btn.big { justify-self: start; }

/* crosshair studio */
.studio { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border: 1px solid var(--line); }
.stage { position: relative; min-height: 480px; display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); }
.stage.s-dark { background: #070707; }
.stage.s-grey { background: #5f5f5f; }
.stage.s-range { background: radial-gradient(circle at 50% 120%, #2a2a2a, #050505 70%); }
.stage.s-range::before { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 130%, transparent 0 38px, rgba(255, 255, 255, .06) 38px 39px); }
.stage .scn { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(5, 5, 5, .7); }
.stage .big { width: 256px; height: 256px; position: relative; }
.stage .big svg { width: 100%; height: 100%; }
.stage .real { position: absolute; right: 18px; bottom: 18px; width: 72px; height: 72px; border: 1px solid var(--line2); display: grid; place-items: center; }
.ctrls { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ctrl { display: grid; gap: 8px; }
.ctrl label b, .fld2 label b { color: var(--tx); font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 1px; background: var(--line3); }
input[type=range]::-moz-range-track { height: 1px; background: var(--line3); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -8px; border: 1px solid #fff; background: #0a0a0a; transform: rotate(45deg); box-shadow: 0 0 12px rgba(255, 255, 255, .35); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 1px solid #fff; background: #0a0a0a; border-radius: 0; transform: rotate(45deg); }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--tx2); }
.sw { position: relative; width: 46px; height: 24px; border: 1px solid var(--line3); border-radius: 12px; transition: border-color .3s, background .3s; flex: none; }
.sw::after { content: ''; position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--tx3); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.sw.on { border-color: #fff; background: rgba(255, 255, 255, .08); }
.sw.on::after { transform: translateX(22px); background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.code { display: flex; gap: 8px; }
.code input, .fld input, .fld select, .pair input[type=number] { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 2px; background: #060606; font-family: var(--mono); font-size: 13.5px; letter-spacing: .04em; }
.code input:focus, .fld input:focus, .fld select:focus { outline: none; border-color: #fff; }
.sub { margin: 56px 0 18px; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.xcell { position: relative; aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); transition: background .3s; }
.xcell:hover { background: rgba(255, 255, 255, .04); color: var(--tx); }
.xcell .del { position: absolute; top: 6px; right: 9px; font-style: normal; font-size: 15px; opacity: .55; }
.note.pad { padding: 20px; grid-column: 1 / -1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* tools */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.tool { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #0d0d0d, #070707); }
.tool p { color: var(--tx2); font-size: 14px; }
.tool h3 { font-family: var(--disp); font-weight: 400; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.frow { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; align-items: end; }
.fld { display: grid; gap: 6px; }
.fld span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.fld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.out { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.out span { font-size: 13px; color: var(--tx3); }
.out b { font-family: var(--mono); font-weight: 500; font-size: 22px; }
.tool .btn { align-self: flex-start; }
.fpsbar { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.fpsbar span { padding: 10px 6px; text-align: center; border-right: 1px solid var(--line); }
.fpsbar span:last-child { border-right: 0; }
.fpsbar b { display: block; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.fpsbar small { font-family: var(--mono); font-size: 10px; color: var(--tx3); }
.fpsbar .on { background: rgba(255, 255, 255, .08); box-shadow: inset 0 -2px 0 #fff; }

/* stats */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); margin-bottom: 14px; }
.tile { padding: 22px 18px; border-right: 1px solid var(--line); }
.tile:last-child { border-right: 0; }
.tile b { display: block; font-family: var(--disp); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); }
.tile b small { font-size: .45em; margin-left: 4px; color: var(--tx3); }
.tile span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.empty { display: grid; justify-items: center; gap: 18px; padding: 70px 20px; border: 1px dashed var(--line2); text-align: center; color: var(--tx2); }
.empty > svg { width: 40px; height: 40px; color: var(--tx3); }
.chart { position: relative; border: 1px solid var(--line); padding: 22px 22px 26px; margin-bottom: 14px; background: #070707; }
.ch-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.legend { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--tx3); }
.legend i { width: 18px; border-top: 1px dashed var(--line3); }
.chart svg { width: 100%; height: 220px; }
.ch-dots { position: absolute; left: 22px; right: 22px; top: 62px; height: 220px; pointer-events: none; }
.ch-dots i { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border: 1px solid #fff; background: #070707; transform: rotate(45deg); pointer-events: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tbl { border: 1px solid var(--line); padding: 22px; overflow-x: auto; }
.tbl .h3 { margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); padding: 8px 6px; border-bottom: 1px solid var(--line2); }
td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
td.r, th.r { text-align: right; font-family: var(--mono); }
td.dim { color: var(--tx3); font-size: 12px; }
.gr { display: inline-block; min-width: 30px; text-align: center; border: 1px solid var(--line3); padding: 0 6px; font-family: var(--disp); font-size: 10.5px; }

/* settings */
.sets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grp { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); background: #080808; }
.grp.wide { grid-column: 1 / -1; }
.grp h3 { font-family: var(--disp); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.grp .btn { align-self: flex-start; }
.fld2 { display: grid; gap: 8px; }
.pair { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; }
.padst { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--tx2); }
.padst i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--tx3); }
.padst.ok i { background: #fff; border-color: #fff; box-shadow: 0 0 10px #fff; }
.rowb { display: flex; flex-wrap: wrap; gap: 10px; }
.rowb label.btn { cursor: pointer; }

/* founder */
.fhero { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; padding-bottom: 40px; }
.fmono { font-family: var(--disp); font-size: clamp(120px, 18vw, 260px); line-height: .9; width: clamp(170px, 24vw, 340px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.fhero > div:last-child { display: grid; gap: 16px; }
.fhero .h1 { font-size: clamp(40px, 7vw, 96px); }
.role { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--tx3); }
.fstory { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 50px 0; border-top: 1px solid var(--line); }
.prose { display: grid; gap: 20px; max-width: 760px; }
.prose p { font-size: clamp(16px, 1.3vw, 18.5px); color: #d4d4d4; line-height: 1.75; }
.fquote { position: relative; font-family: var(--disp); text-transform: uppercase; font-size: clamp(18px, 2.4vw, 32px); line-height: 1.35; letter-spacing: .02em; padding: 50px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fquote > span { display: block; font-size: 70px; line-height: .5; color: var(--tx3); margin-bottom: 10px; }
.fquote cite { display: block; margin-top: 22px; font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: .2em; color: var(--tx3); }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); margin-top: 40px; }
.val { padding: 24px 22px; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.val b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--tx3); }
.val h3 { font-family: var(--disp); font-weight: 400; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.val p { color: var(--tx2); font-size: 14px; }

/* legal */
.legal { display: grid; max-width: 920px; }
.legal section { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.legal .ln { font-family: var(--mono); font-size: 12px; color: var(--tx3); padding-top: 3px; }
.legal h3 { font-family: var(--disp); font-weight: 400; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.legal p { color: var(--tx2); margin-bottom: 8px; }
.legal > .note { padding: 20px 0 0 74px; border-top: 1px solid var(--line); }

/* footer */
.foot { margin-top: clamp(70px, 8vw, 120px); border-top: 1px solid var(--line); }
.foot-in { padding: 40px var(--gut) 50px; display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; max-width: 1440px; }
.fbrand { display: flex; align-items: center; gap: 14px; }
.fbrand svg { width: 40px; height: 40px; }
.fbrand b { display: block; font-family: var(--disp); font-weight: 400; letter-spacing: .3em; font-size: 14px; }
.fbrand span { font-size: 13px; color: var(--tx3); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; font-size: 13px; color: var(--tx2); }
.foot nav a:hover { color: #fff; }
.foot p { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; color: var(--tx3); letter-spacing: .06em; padding-top: 20px; border-top: 1px solid var(--line); }

/* play overlay */
.play { position: fixed; inset: 0; z-index: 100; background: #040404; display: none; user-select: none; -webkit-user-select: none; touch-action: none; }
.play.on { display: block; }
.play canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.play.k3 canvas { display: block; cursor: crosshair; }
.arena { position: absolute; inset: 0; display: none; overflow: hidden; cursor: crosshair; background: radial-gradient(circle at 50% 50%, #0d0d0d, #040404 70%); }
.arena.on, .play.k2 .arena { display: block; }
.arena::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.xh { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); pointer-events: none; z-index: 3; display: none; }
.play.k3 .xh { display: block; }
.hud { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 4; pointer-events: none; padding: 10px 8px 12px; background: rgba(5, 5, 5, .55); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.hud:empty { display: none; }
.hud div { min-width: 96px; text-align: center; padding: 0 10px; border-right: 1px solid var(--line); }
.hud div:last-of-type { border-right: 0; }
.hud b { display: block; font-family: var(--mono); font-weight: 500; font-size: 21px; line-height: 1.2; }
.hud span { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx3); }
.hud .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; transform-origin: left; box-shadow: 0 0 8px #fff; }
.rbadge { position: absolute; top: 22px; left: 22px; z-index: 4; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); pointer-events: none; }
.fpsb { position: absolute; right: 18px; bottom: 14px; z-index: 4; font-family: var(--mono); font-size: 11px; color: var(--tx3); pointer-events: none; }
.pausebtn { position: absolute; top: 16px; right: 16px; z-index: 6; width: 46px; height: 46px; border: 1px solid var(--line2); background: rgba(5, 5, 5, .6); display: grid; place-items: center; }
.pausebtn svg { width: 18px; height: 18px; }
.firebtn { display: none; position: absolute; right: 26px; bottom: 30px; z-index: 6; width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); font-family: var(--disp); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 0 30px rgba(255, 255, 255, .12); }
.play.touch.k3 .firebtn { display: block; }
.pts { position: absolute; left: 50%; top: calc(50% - 34px); transform: translateX(-50%); z-index: 4; font-family: var(--mono); font-size: 13px; color: #fff; pointer-events: none; animation: rise .7s var(--ease) forwards; }
@keyframes rise { to { transform: translate(-50%, -26px); opacity: 0; } }
.cover { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 20px; background: rgba(3, 3, 3, .72); backdrop-filter: blur(10px); overflow-y: auto; }
.cover.hide { display: none; }
.box { width: min(580px, 100%); text-align: center; display: grid; justify-items: center; gap: 16px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(18, 18, 18, .9), rgba(6, 6, 6, .92)); position: relative; }
.box.wide { width: min(680px, 100%); }
.box .kick { justify-content: center; }
.box .lead { margin: 0 auto; font-size: 15px; }
.box .sic { width: 70px; height: 70px; color: #eee; }
.box .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.box.count { border: 0; background: none; }
.box.count b { font-family: var(--disp); font-weight: 400; font-size: 140px; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; animation: cnt .6s var(--ease); }
@keyframes cnt { from { transform: scale(1.6); opacity: 0; } }
.grade { font-family: var(--disp); font-size: clamp(80px, 12vw, 130px); line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .15)); }
.badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border: 1px solid #fff; box-shadow: 0 0 16px rgba(255, 255, 255, .25); }
.rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); width: 100%; border: 1px solid var(--line); }
.rgrid div { padding: 14px 12px; border-right: 1px solid var(--line); text-align: left; }
.rgrid div:last-child { border-right: 0; }
.rgrid b { display: block; font-family: var(--mono); font-weight: 500; font-size: 19px; }
.rgrid span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.next { color: var(--tx2); font-size: 14px; }
.next b { color: #fff; font-family: var(--disp); font-weight: 400; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.next span { font-family: var(--mono); color: var(--tx3); }
.sum { width: 100%; }
.sum tr.tot td { border-top: 1px solid var(--line3); font-weight: 600; }

/* 2D drill elements */
.d2 { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.ring { border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); }
.ring.idle { border-style: dashed; }
.ring.live { border: 2px solid #fff; box-shadow: 0 0 60px rgba(255, 255, 255, .4), inset 0 0 50px rgba(255, 255, 255, .25); animation: live .18s ease-out; }
@keyframes live { from { transform: translate(-50%, -50%) scale(.8); } }
.ring.core { border: 2px solid #fff; box-shadow: 0 0 24px rgba(255, 255, 255, .3); }
.ring.app { border: 1.5px solid rgba(255, 255, 255, .8); }
.ripple { border-radius: 50%; border: 1px solid #fff; animation: rip .45s ease-out forwards; }
@keyframes rip { from { transform: translate(-50%, -50%) scale(.3); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.4); opacity: 0; } }
.pop { border-radius: 50%; border: 1.5px solid #fff; background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 70%); box-shadow: 0 0 22px rgba(255, 255, 255, .2); animation: pin .2s var(--ease); }
.pop i { position: absolute; inset: -2px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); }
.pop.gone { animation: gone .26s ease-out forwards; }
@keyframes pin { from { transform: translate(-50%, -50%) scale(.3); } }
@keyframes gone { to { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.trail { border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); transition: border-color .15s, box-shadow .15s; }
.trail i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; }
.trail.on { border-color: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, .45); }
.keycap { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 14px; font-family: var(--disp); font-size: 58px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .01)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 40px rgba(0, 0, 0, .5); }
.keycap.small { font-size: 20px; border-radius: 8px; opacity: .45; }
.keycap.ok { animation: kc .2s var(--ease); }
.keycap.bad { border-style: dashed; animation: shake .2s; }
@keyframes kc { from { transform: translate(-50%, -50%) scale(.86); } }
@keyframes shake { 25% { transform: translate(calc(-50% - 6px), -50%); } 75% { transform: translate(calc(-50% + 6px), -50%); } }
.keypad { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, 64px); gap: 8px; z-index: 2; }
.keypad button { height: 58px; border: 1px solid var(--line3); border-radius: 8px; font-family: var(--disp); font-size: 16px; background: rgba(255, 255, 255, .04); }
.keypad button:active { background: rgba(255, 255, 255, .16); }
.mgrid { position: absolute; left: 50%; top: 57%; transform: translate(-50%, -50%); display: grid; gap: 10px; z-index: 2; }
.mgrid.n3 { grid-template-columns: repeat(3, min(96px, 24vw, 17vh)); }
.mgrid.n4 { grid-template-columns: repeat(4, min(80px, 20vw, 13vh)); }
.mgrid button { aspect-ratio: 1; border: 1px solid var(--line2); border-radius: 4px; background: #0b0b0b; transition: background .12s, box-shadow .12s, border-color .12s; }
.mgrid button.lit { border-color: #fff; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px #fff, inset 0 0 30px rgba(255, 255, 255, .45), 0 0 30px rgba(255, 255, 255, .25); }
.mgrid.bad { animation: shake2 .3s; }
@keyframes shake2 { 25% { transform: translate(calc(-50% - 8px), -50%); } 75% { transform: translate(calc(-50% + 8px), -50%); } }
.fdot { border-radius: 50%; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .7); }
.fix::before, .fix::after { content: ''; position: absolute; background: #fff; }
.fix::before { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.fix::after { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }
.answers { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; z-index: 2; width: min(620px, 92%); }
.answers button { width: 56px; height: 56px; border: 1px solid var(--line3); font-family: var(--disp); font-size: 16px; background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.answers button:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.msg { position: absolute; left: 50%; top: 24%; transform: translate(-50%, -50%); font-family: var(--disp); font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .14em; text-transform: uppercase; text-align: center; pointer-events: none; z-index: 3; white-space: nowrap; }
.msg.dim { color: var(--tx2); }
.msg.mid { top: 50%; }
.msg.go { color: #fff; text-shadow: 0 0 20px rgba(255, 255, 255, .7); top: 50%; font-size: clamp(22px, 3vw, 36px); }
.msg.bad { color: var(--tx2); top: 50%; font-size: clamp(20px, 2.6vw, 30px); }
.msg.big { top: 50%; font-size: clamp(34px, 5vw, 64px); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.msg.judge { top: calc(50% + 110px); font-size: 15px; animation: kc .2s; }
.msg.judge.miss { color: var(--tx3); }
.pts2 { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 13px; pointer-events: none; animation: rise2 .7s var(--ease) forwards; z-index: 3; }
@keyframes rise2 { to { transform: translate(-50%, calc(-50% - 30px)); opacity: 0; } }

/* sheet + toast */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: linear-gradient(180deg, #121212, #080808); border-top: 1px solid var(--line2); padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; display: none; gap: 2px; }
.sheet.on { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.sheet-h { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx3); }
.sheet-h button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line2); }
.sheet-h svg { width: 14px; height: 14px; }
.sheet a { display: flex; align-items: center; gap: 14px; padding: 14px 10px; font-size: 15px; border-bottom: 1px solid var(--line); }
.sheet a svg, .sheet button svg { width: 18px; height: 18px; }
.sheet a.on { color: #fff; }
.sinstall { margin-top: 12px; justify-content: center; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 200; padding: 12px 18px; border: 1px solid var(--line3); background: rgba(10, 10, 10, .95); font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1200px) {
  .fams { grid-template-columns: repeat(3, 1fr); }
  .fam { border-bottom: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile:nth-child(3n) { border-right: 0; }
  .tile:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .vals { grid-template-columns: 1fr 1fr; }
  .val { border-bottom: 1px solid var(--line); }
}
@media (max-width: 1023px) {
  .rail { display: none; }
  .sheet { display: grid; }
  .main { margin-left: 0; padding-top: 58px; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mtop { display: flex; position: fixed; top: 0; left: 0; right: 0; height: 58px; z-index: 40; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(5, 5, 5, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .mtop .brand { padding: 0; gap: 10px; }
  .mtop .brand svg { width: 28px; height: 28px; }
  .mtop .brand b { font-size: 12.5px; }
  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(6, 6, 6, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabs a, .tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; font-size: 10px; letter-spacing: .04em; color: var(--tx3); position: relative; }
  .tabs svg { width: 20px; height: 20px; }
  .tabs .on { color: #fff; }
  .tabs .on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: #fff; box-shadow: 0 0 10px #fff; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .hero-vis { max-width: 340px; }
  .sh, .duo, .appcard, .two, .sets, .studio { grid-template-columns: minmax(0, 1fr); }
  .stage { border-right: 0; border-bottom: 1px solid var(--line); min-height: 360px; }
  .fstory { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(n+3) { padding-top: 14px; }
  .fams { grid-template-columns: 1fr; }
  .fam { min-height: 0; border-right: 0; }
  .profiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prof { min-height: 0; padding: 16px 14px; }
  .prof svg { width: 36px; height: 36px; }
  .prof p { font-size: 12.5px; }
  .profiles.compact { grid-template-columns: 1fr 1fr; }
  .readout { min-width: 0; padding: 8px 10px; }
  .readout b { font-size: 14px; }
  .readout.r1 { right: 0; } .readout.r2 { left: 0; }
  .dgrid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { border-bottom: 1px solid var(--line); }
  .tile:nth-child(3n) { border-right: 1px solid var(--line); }
  .tile:nth-child(2n) { border-right: 0; }
  .tools { grid-template-columns: 1fr; }
  .vals { grid-template-columns: 1fr; }
  .fhero { grid-template-columns: 1fr; }
  .founderstrip { grid-template-columns: auto 1fr; }
  .founderstrip > svg { display: none; }
  .founderstrip .mono { width: 64px; height: 64px; font-size: 34px; }
  .rlist li { grid-template-columns: 30px 36px 1fr auto; gap: 10px; }
  .ric { width: 32px; height: 32px; }
  .legal section { grid-template-columns: 1fr; gap: 6px; }
  .legal > .note { padding-left: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .hud { top: 10px; padding: 8px 4px 10px; max-width: calc(100% - 80px); left: 12px; transform: none; }
  .hud div { min-width: 0; padding: 0 8px; }
  .hud b { font-size: 15px; }
  .hud span { font-size: 8px; letter-spacing: .1em; }
  .rbadge { display: none; }
  .pausebtn { top: 10px; right: 10px; }
  .keycap { font-size: 44px; }
  .stage .big { width: 200px; height: 200px; }
  .seg button { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; }
}

/* loading screen */
.splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(700px 500px at 50% 45%, #141414, #050505 70%); color: #f2f2f2; transition: opacity .8s cubic-bezier(.2, .75, .1, 1), visibility 0s .8s; }
.splash::before { content: ''; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -300px 0 0 -260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06); animation: spRing 3.2s cubic-bezier(.2, .75, .1, 1) infinite; }
.splash.out { opacity: 0; visibility: hidden; }
.splash.out .sp-in { transform: scale(1.06); filter: blur(4px); }
.sp-in { display: grid; justify-items: center; gap: 22px; transition: transform .8s cubic-bezier(.2, .75, .1, 1), filter .8s; }
.sp-mark { width: 92px; height: 92px; filter: drop-shadow(0 0 24px rgba(255, 255, 255, .25)); }
.sp-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: spDraw 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }
.sp-mark .k2 { animation-delay: .35s; }
.sp-mark .k3 { animation-delay: .6s; }
.sp-mark .k4 { transform-origin: 24px 24px; transform: scale(0); animation: spDot .5s .95s cubic-bezier(.2, 1.6, .4, 1) forwards, spPulse 1.6s 1.5s ease-in-out infinite; }
.sp-word { font-family: 'Michroma', 'Eurostile', 'Arial Black', sans-serif; font-weight: 400; font-size: 18px; letter-spacing: .6em; padding-left: .6em; opacity: 0; animation: spWord 1.2s .5s cubic-bezier(.2, .75, .1, 1) forwards; background: linear-gradient(180deg, #fff, #9a9a9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp-bar { width: 220px; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.sp-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px #fff; }
.sp-meta { width: 220px; display: flex; justify-content: space-between; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .22em; color: #6a6a6a; }
.sp-meta span:last-child { color: #d8d8d8; font-variant-numeric: tabular-nums; }
@keyframes spDraw { to { stroke-dashoffset: 0; } }
@keyframes spDot { to { transform: scale(1); } }
@keyframes spPulse { 50% { opacity: .35; } }
@keyframes spWord { from { opacity: 0; letter-spacing: 1.1em; } to { opacity: 1; letter-spacing: .6em; } }
@keyframes spRing { 0% { transform: scale(.25); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sp-mark path { stroke-dashoffset: 0; } .sp-mark .k4 { transform: none; } .sp-word { opacity: 1; } .splash::before { display: none; } }

/* ===== premium motion layer ===== */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn.pri { border: 1px solid transparent; background: linear-gradient(180deg, #1d1d1d, #0b0b0b) padding-box, conic-gradient(from var(--ang), rgba(255, 255, 255, .28), #fff 8%, rgba(255, 255, 255, .28) 20%, rgba(255, 255, 255, .28) 50%, #fff 58%, rgba(255, 255, 255, .28) 70%) border-box; animation: spinb 5s linear infinite; }
@keyframes spinb { to { --ang: 360deg; } }

/* page enter */
#view.enter { animation: viewIn .75s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.kick::before { transition: width .9s var(--ease) .2s; }
.rv:not(.in) .kick::before { width: 0; }

/* hero */
.hx .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hx .ln > span { display: inline-block; transform: translateY(108%); animation: lnUp 1.1s var(--ease) .1s forwards; }
.hx .ln:nth-child(2) > span { animation-delay: .24s; }
html:not(.nv-ready) .hx .ln > span, html:not(.nv-ready) .hero-txt > :not(.hx), html:not(.nv-ready) .hero-vis { animation-play-state: paused !important; }
.hero-txt > :not(.hx) { animation: fadeUp .9s var(--ease) both; }
.hero-txt > .lead { animation-delay: .45s; } .hero-txt > .cta { animation-delay: .58s; } .hero-txt > .facts { animation-delay: .7s; }
.hero-vis { animation: scopeIn 1.4s var(--ease) .2s both; }
@keyframes lnUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scopeIn { from { opacity: 0; transform: scale(.86) rotate(-12deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hx .chrome { background: linear-gradient(100deg, #8c8c8c 15%, #ffffff 35%, #d6d6d6 48%, #8c8c8c 66%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 7s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.scope .orb { transform-origin: 210px 210px; animation: spin 9s linear infinite; }
.scope .orb2 { transform-origin: 210px 210px; animation: spin 14s linear infinite reverse; }
.readout { animation: floaty 6s ease-in-out infinite; }
.readout.r2 { animation-delay: -2s; } .readout.r3 { animation-delay: -4s; }
@keyframes floaty { 50% { translate: 0 -6px; } }

/* marquee */
.marq { margin-top: clamp(10px, 2vw, 30px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq > div { display: flex; align-items: center; gap: 28px; width: max-content; animation: marq 70s linear infinite; }
.marq:hover > div { animation-play-state: paused; }
.marq span { font-family: var(--disp); font-size: clamp(16px, 1.8vw, 24px); letter-spacing: .14em; text-transform: uppercase; color: var(--tx2); white-space: nowrap; }
.marq span:nth-of-type(2n) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .4); }
.marq i { font-style: normal; font-size: 9px; color: var(--tx3); }
@keyframes marq { to { transform: translateX(-50%); } }

/* tilt + spotlight */
.tilt { transition: transform .5s var(--ease), border-color .3s, box-shadow .3s; transform-style: preserve-3d; will-change: transform; }
.tilt.lit { transition: transform .12s linear, border-color .3s, box-shadow .3s; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06); }
.prof, .panel, .tool, .daily, .medal, .rank { position: relative; overflow: hidden; }
.tilt::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 45%); opacity: 0; transition: opacity .4s; z-index: 0; }
.tilt.lit::before { opacity: 1; }
.tilt > * { position: relative; z-index: 1; }
.tilt > .corner { position: absolute; }
.cglow { position: fixed; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(255, 255, 255, .055), transparent 62%); opacity: 0; transition: opacity .6s; }
.cglow.on { opacity: 1; }
body.playing .cglow { opacity: 0; }

/* daily challenge */
.daily { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line2); background: radial-gradient(500px 220px at 10% 50%, rgba(255, 255, 255, .07), transparent 70%), #080808; }
.dl-ic { position: relative; width: 110px; height: 110px; display: grid; place-items: center; border: 1px solid var(--line2); color: #eee; }
.dl-ic svg { width: 66px; height: 66px; }
.dl-ic i { position: absolute; inset: -1px; border: 1px solid #fff; clip-path: inset(0 0 92% 0); animation: scan 3s var(--ease) infinite; }
@keyframes scan { 0% { clip-path: inset(0 0 100% 0); } 50% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(100% 0 0 0); opacity: .3; } }
.dl-t { display: grid; gap: 10px; }
.dl-t p { color: var(--tx2); max-width: 520px; }
.dl-side { display: grid; gap: 10px; justify-items: end; text-align: right; }
.dl-rec span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx3); }
.dl-rec b { font-family: var(--mono); font-weight: 500; font-size: 28px; }

/* rank */
.rank { display: grid; grid-template-columns: 170px minmax(0, 1fr) 210px; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line2); background: radial-gradient(600px 260px at 15% 50%, rgba(255, 255, 255, .07), transparent 70%), #080808; margin-bottom: 14px; }
.rksvg { width: 100%; height: auto; filter: drop-shadow(0 0 26px rgba(255, 255, 255, .18)); }
.rksvg .rk-spin { transform-origin: 80px 80px; animation: spin 40s linear infinite; }
.rk-info { display: grid; gap: 10px; }
.rk-info .h2 { font-size: clamp(28px, 3.4vw, 46px); }
.rk-score { font-family: var(--mono); font-size: 30px; font-weight: 500; }
.rk-score small { font-size: 13px; color: var(--tx3); margin-left: 8px; }
.rk-bar { height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.rk-bar i { display: block; height: 100%; background: #fff; box-shadow: 0 0 10px #fff; transform-origin: left; animation: barIn 1.4s var(--ease) both; }
@keyframes barIn { from { transform: scaleX(0); } }
.rk-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 11px; color: var(--tx2); }
.rk-tiers { display: grid; gap: 4px; }
.rk-tiers div { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 6px 10px; border: 1px solid transparent; font-size: 12.5px; color: var(--tx3); }
.rk-tiers b { font-family: var(--disp); font-weight: 400; font-size: 10px; }
.rk-tiers small { font-family: var(--mono); font-size: 10px; }
.rk-tiers .past { color: var(--tx2); }
.rk-tiers .on { color: #fff; border-color: var(--line3); background: rgba(255, 255, 255, .06); }

/* medals */
.sh2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 56px 0 18px; flex-wrap: wrap; }
.medals { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.medal { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 22px 14px 18px; border: 1px solid var(--line); background: #070707; color: var(--tx3); }
.medal .mdl { width: 58px; height: 58px; }
.medal b { font-family: var(--disp); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.medal span { font-size: 12.5px; line-height: 1.45; }
.medal.on { color: var(--tx); border-color: var(--line2); background: radial-gradient(160px 120px at 50% 20%, rgba(255, 255, 255, .08), transparent 70%), #090909; }
.medal.on .mdl { filter: drop-shadow(0 0 14px rgba(255, 255, 255, .35)); animation: medalGlow 3.5s ease-in-out infinite; }
.medal.on span { color: var(--tx2); }
@keyframes medalGlow { 50% { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .15)); } }
.mtoast { position: fixed; left: 50%; top: 24px; z-index: 210; display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px; border: 1px solid rgba(255, 255, 255, .5); background: linear-gradient(180deg, rgba(24, 24, 24, .96), rgba(8, 8, 8, .96)); box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(255, 255, 255, .1); transform: translate(-50%, -140%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; pointer-events: none; max-width: calc(100% - 32px); }
.mtoast.on { transform: translate(-50%, 0); opacity: 1; }
.mtoast svg { width: 48px; height: 48px; flex: none; }
.mtoast small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--tx3); }
.mtoast b { font-family: var(--disp); font-weight: 400; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.mtoast.on svg { animation: medalPop .8s var(--ease); }
@keyframes medalPop { from { transform: scale(.3) rotate(-40deg); } }

/* sensitivity finder */
.tool.sens { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px; align-items: center; border-color: var(--line2); background: radial-gradient(500px 260px at 90% 50%, rgba(255, 255, 255, .07), transparent 70%), #080808; }
.sens-t { display: grid; gap: 14px; justify-items: start; }
.sens-t .kick svg { width: 16px; height: 16px; }
.sens-t .kick::before { display: none; }
.sens-v { display: flex; align-items: flex-end; justify-content: center; gap: 18px; height: 170px; }
.sens-v div { display: grid; justify-items: center; gap: 10px; width: 54px; height: 100%; align-content: end; }
.sens-v i { display: block; width: 100%; height: var(--h); border: 1px solid var(--line3); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02)); animation: grow 2.6s var(--ease) infinite alternate; transform-origin: bottom; }
.sens-v div:nth-child(2) i { animation-delay: .4s; border-color: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, .2); } .sens-v div:nth-child(3) i { animation-delay: .8s; }
.sens-v b { font-family: var(--disp); font-weight: 400; font-size: 13px; }
@keyframes grow { from { transform: scaleY(.55); } }
.sfbars { width: 100%; display: grid; gap: 10px; text-align: left; }
.sfbars div { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--tx2); }
.sfbars small { color: var(--tx3); }
.sfbars i { height: 10px; border: 1px solid var(--line); }
.sfbars em { display: block; height: 100%; background: rgba(255, 255, 255, .35); transform-origin: left; transform: scaleX(var(--w)); animation: barIn 1.1s var(--ease) both; }
.sfbars .on { color: #fff; }
.sfbars .on em { background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .5); }
.sfbars b { text-align: right; font-weight: 500; }

/* results */
.box { animation: boxIn .55s var(--ease) both; }
@keyframes boxIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.box.count { animation: none; }
.grade { animation: gradeIn 1s var(--ease) .1s both; position: relative; }
@keyframes gradeIn { from { opacity: 0; transform: scale(1.7); filter: blur(12px) drop-shadow(0 0 30px rgba(255, 255, 255, .15)); } }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.badges:empty { display: none; }
.badge { animation: fadeUp .6s var(--ease) .5s both; }
.rgrid > div { animation: fadeUp .6s var(--ease) both; }
.rgrid > div:nth-child(2) { animation-delay: .1s; } .rgrid > div:nth-child(3) { animation-delay: .2s; } .rgrid > div:nth-child(4) { animation-delay: .3s; }

/* new drill pieces */
.gng { border-radius: 50%; animation: live .16s ease-out; }
.gng.go { background: radial-gradient(circle, #fff 0 58%, rgba(255, 255, 255, .25) 60%, transparent 72%); box-shadow: 0 0 60px rgba(255, 255, 255, .45); }
.gng.no { border: 2px dashed rgba(255, 255, 255, .7); }
.ring.ear i { position: absolute; left: 50%; top: 50%; width: 40%; height: 40%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); transform: translate(-50%, -50%); animation: earPulse 2.4s ease-out infinite; }
.ring.ear i:nth-child(2) { animation-delay: .8s; } .ring.ear i:nth-child(3) { animation-delay: 1.6s; }
@keyframes earPulse { from { width: 20%; height: 20%; opacity: .9; } to { width: 100%; height: 100%; opacity: 0; } }
.mdot { border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); transition: background .2s, box-shadow .2s, opacity .3s; }
.mdot.mark { background: #fff; box-shadow: 0 0 22px rgba(255, 255, 255, .7); }
.mdot.hit { background: #fff; box-shadow: 0 0 22px rgba(255, 255, 255, .7); }
.mdot.wrong { border-style: dashed; opacity: .35; }

@media (max-width: 1023px) {
  .daily { grid-template-columns: auto minmax(0, 1fr); }
  .dl-side { grid-column: 1 / -1; justify-items: start; text-align: left; grid-template-columns: auto auto; align-items: center; gap: 12px 24px; }
  .rank { grid-template-columns: 130px minmax(0, 1fr); }
  .rk-tiers { grid-column: 1 / -1; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .rk-tiers div { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 8px 2px; gap: 2px; }
  .rk-tiers span { font-size: 10.5px; }
  .tool.sens { grid-template-columns: 1fr; }
  .sens-v { height: 120px; }
}
@media (max-width: 720px) {
  .daily { grid-template-columns: 1fr; }
  .dl-ic { width: 80px; height: 80px; }
  .dl-ic svg { width: 48px; height: 48px; }
  .dl-side { grid-template-columns: 1fr; }
  .rank { grid-template-columns: 1fr; justify-items: start; }
  .rk-em { width: 120px; }
  .rk-tiers small { display: none; }
  .medals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfbars div { grid-template-columns: 1fr 60px; }
  .sfbars i { grid-column: 1 / -1; grid-row: 2; }
  .marq span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx .ln > span { transform: none; }
  .marq > div, .btn.pri, .readout, .hx .chrome { animation: none; }
}

.ct { font-style: normal; font-variant-numeric: tabular-nums; }
.sfx { font-family: var(--mono); font-size: .52em; margin-left: 3px; color: var(--tx2); }
.ctrls .seg button { min-width: 0; padding-left: 4px; padding-right: 4px; }

/* ===== luxury layer ===== */
/* ambient light drifting behind everything */
.bgfx::before, .bgfx::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.bgfx::before { width: 75vw; height: 75vw; left: -18vw; top: -40vw; background: radial-gradient(circle, rgba(255, 255, 255, .055), transparent 62%); animation: drift1 38s ease-in-out infinite alternate; }
.bgfx::after { width: 60vw; height: 60vw; right: -20vw; bottom: -30vw; background: radial-gradient(circle, rgba(255, 255, 255, .04), transparent 62%); animation: drift2 46s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(22vw, 18vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-18vw, -22vh) scale(1.1); } }

/* glass bevel on every surface */
.dcard, .prof, .panel, .tool, .daily, .rank, .medal, .grp, .tbl, .chart, .rbox, .appcard, .founderstrip, .studio, .tiles, .fams, .box, .drawer { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.tilt.lit { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .07); }

/* page headers: hairline + outlined watermark */
.phead { position: relative; padding-bottom: clamp(22px, 3vw, 34px); background: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 45%, transparent 80%) left bottom / 100% 1px no-repeat; isolation: isolate; }
.phead::after { content: attr(data-w); position: absolute; right: 0; top: -.28em; z-index: -1; font-family: var(--disp); font-size: clamp(64px, 12vw, 200px); line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); white-space: nowrap; pointer-events: none; max-width: 100%; overflow: hidden; }
.phead .h1 { animation: maskUp 1.1s var(--ease) both; }
@keyframes maskUp { from { clip-path: inset(0 0 100% 0); transform: translateY(24px); } to { clip-path: inset(0 0 -20% 0); transform: none; } }

/* section titles reveal like a curtain */
.rv .sh .h2, .rv .sh2 .h3 { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path 1.1s var(--ease) .12s, transform 1.1s var(--ease) .12s; }
.rv.in .sh .h2, .rv.in .sh2 .h3, .sh2 .h3 { clip-path: inset(0 0 -20% 0); transform: none; }

/* footer: giant fading wordmark */
.foot { position: relative; overflow: hidden; }
.fwm { font-family: var(--disp); font-size: clamp(54px, 10.5vw, 210px); line-height: .9; letter-spacing: .12em; text-align: center; padding: 0 var(--gut) 10px; margin-top: -10px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; white-space: nowrap; }

/* brand + rail detail */
.brand svg { transition: transform .9s var(--ease); }
.brand:hover svg { transform: rotate(90deg); }
.rnav a { overflow: hidden; }
.rnav a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ease); pointer-events: none; }
.rnav a:hover::after { transform: translateX(100%); }
.rnav a.on svg { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); }

/* drill icons draw themselves on hover */
.dcard .dic svg :not([stroke-dasharray]), .prof > svg :not([stroke-dasharray]) { stroke-dasharray: 300; stroke-dashoffset: 0; }
.dcard:hover .dic svg :not([stroke-dasharray]), .prof:hover > svg :not([stroke-dasharray]) { animation: drawIn 1.1s var(--ease); }
@keyframes drawIn { from { stroke-dashoffset: 300; } }
.dic { transition: transform .6s var(--ease), filter .6s; }
.dcard:hover .dic { transform: translateZ(30px) scale(1.06); filter: drop-shadow(0 0 14px rgba(255, 255, 255, .35)); }

/* scroll progress */
.sprog { position: fixed; left: 0; right: 0; top: 0; height: 1px; z-index: 65; background: linear-gradient(90deg, rgba(255, 255, 255, .2), #fff); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 8px rgba(255, 255, 255, .7); pointer-events: none; }
body.playing .sprog { display: none; }

/* custom cursor (mouse only) */
.cur { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 0; height: 0; display: none; }
html.has-cur .cur { display: block; }
.cur::before { content: ''; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; transition: width .35s var(--ease), height .35s var(--ease), left .35s var(--ease), top .35s var(--ease), border-color .35s, background .35s, opacity .3s; }
.cur i { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .8); }
.cur.big::before { left: -27px; top: -27px; width: 54px; height: 54px; border-color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .04); }
.cur.down::before { left: -11px; top: -11px; width: 22px; height: 22px; }
.cur.hide, .cur.out { opacity: 0; }
html.has-cur body:not(.playing), html.has-cur body:not(.playing) a, html.has-cur body:not(.playing) button, html.has-cur body:not(.playing) label, html.has-cur body:not(.playing) input[type=range] { cursor: none; }
body.playing .cur { display: none !important; }

@media (max-width: 720px) { .phead::after { font-size: 64px; top: -.1em; } .fwm { letter-spacing: .06em; } }
@media (prefers-reduced-motion: reduce) { .bgfx::before, .bgfx::after { animation: none; } .phead .h1 { animation: none; } .rv .sh .h2, .rv .sh2 .h3 { clip-path: none; transform: none; } }

/* ===== app / install page ===== */
.ihero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding: clamp(24px, 3.5vw, 48px); border: 1px solid var(--line2); background: radial-gradient(700px 360px at 85% 50%, rgba(255, 255, 255, .08), transparent 70%), #080808; }
.ih-t { display: grid; gap: 16px; justify-items: start; }
.ih-t .h2 small { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--tx3); text-transform: none; }
.istat { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; }
.istat svg { width: 18px; height: 18px; padding: 3px; border: 1px solid #fff; border-radius: 50%; box-shadow: 0 0 12px rgba(255, 255, 255, .4); }
.ifacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--line); margin-top: 8px; }
.ifacts div { padding: 16px 10px 0 0; }
.ifacts b { display: block; font-family: var(--disp); font-weight: 400; font-size: clamp(16px, 1.6vw, 22px); }
.ifacts span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.ih-v { display: grid; place-items: center; }
.phone { width: min(230px, 60vw); aspect-ratio: 9 / 18.5; border: 1px solid var(--line3); border-radius: 26px; padding: 9px; background: linear-gradient(160deg, #1a1a1a, #060606); box-shadow: 0 40px 90px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 60px rgba(255, 255, 255, .05); animation: floaty 7s ease-in-out infinite; }
.ph-s { position: relative; height: 100%; border-radius: 19px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #1d1d1d, #050505 70%); display: flex; flex-direction: column; padding: 12px 14px; }
.ph-bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9px; color: var(--tx2); }
.ph-bar { position: relative; }
.ph-bar i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.ph-bar b { width: 22px; height: 7px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; }
.ph-grid { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; align-content: start; padding-top: 22px; }
.ph-grid > i { aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .05); animation: fadeUp .6s var(--ease) var(--d) both; }
.ph-app { grid-column: 4; grid-row: 3; display: grid; justify-items: center; gap: 4px; min-width: 0; width: 100%; animation: appDrop 1.2s var(--ease) .7s both; }
.ph-app svg { width: 100%; aspect-ratio: 1; padding: 7px; border-radius: 10px; color: #f2f2f2; background: radial-gradient(circle at 50% 35%, #2a2a2a, #070707); border: 1px solid rgba(255, 255, 255, .4); box-shadow: 0 0 18px rgba(255, 255, 255, .3); }
.ph-app span { font-size: 7.5px; color: var(--tx2); }
@keyframes appDrop { 0% { opacity: 0; transform: translateY(-40px) scale(1.4); } 60% { opacity: 1; transform: translateY(3px) scale(.95); } 100% { transform: none; } }
.ph-dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.ph-dock i { aspect-ratio: 1; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.ptabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); margin-bottom: 12px; }
.ptab { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; border-right: 1px solid var(--line); color: var(--tx2); font-size: 14px; transition: background .3s, color .3s; }
.ptab:last-child { border-right: 0; }
.ptab svg { width: 22px; height: 22px; flex: none; }
.ptab small { position: absolute; top: 6px; right: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); }
.ptab:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.ptab.on { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: inset 0 -2px 0 #fff; }
.ipanel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 50px); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); background: #080808; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); animation: fadeUp .6s var(--ease) both; }
.ipanel .h3 { margin-bottom: 8px; }
.isteps { list-style: none; display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.isteps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.isteps .in { font-family: var(--disp); font-size: 22px; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.isteps p { font-size: 15.5px; color: #d6d6d6; }
.gl { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.28em; margin: 0 2px; padding: 2px; border: 1px solid var(--line3); border-radius: 4px; color: #fff; }
.alt { margin-top: 18px; padding: 14px 16px; border-left: 1px solid #fff; background: rgba(255, 255, 255, .03); }
.alt b { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); margin-bottom: 4px; }
.alt p { color: var(--tx2); font-size: 14.5px; }
.ivis { display: grid; place-items: center; }
.mini { position: relative; width: min(260px, 100%); border: 1px solid var(--line3); background: #0b0b0b; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.mini.ios, .mini.and { aspect-ratio: 9 / 16; border-radius: 26px; }
.mini.pc { aspect-ratio: 16 / 11; border-radius: 8px; }
.m-url { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px; padding: 7px 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); font-family: var(--mono); font-size: 9.5px; color: var(--tx2); }
.m-url .gl { width: 16px; height: 16px; }
.m-body { display: grid; gap: 8px; padding: 12px; }
.m-body i { height: 34px; border-radius: 4px; background: rgba(255, 255, 255, .05); }
.m-top { height: 34px; }
.m-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: 10px 0 14px; background: rgba(255, 255, 255, .06); }
.m-bar span { width: 18px; height: 18px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.m-bar span.hl { background: none; width: auto; height: auto; }
.m-sheet { position: absolute; left: 8px; right: 8px; bottom: 56px; display: grid; gap: 6px; padding: 10px; border-radius: 14px; background: #191919; border: 1px solid var(--line2); animation: sheetUp 3.2s var(--ease) infinite; }
.m-sheet em, .m-menu em { display: block; height: 20px; border-radius: 4px; background: rgba(255, 255, 255, .05); }
.m-sheet div, .m-menu div { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 10px; color: #fff; }
.m-sheet .gl, .m-menu .gl { width: 16px; height: 16px; }
.m-menu { position: absolute; right: 10px; top: 44px; width: 70%; display: grid; gap: 6px; padding: 10px; border-radius: 8px; background: #191919; border: 1px solid var(--line2); animation: menuIn 3.2s var(--ease) infinite; transform-origin: top right; }
.m-pop { position: absolute; right: 12px; top: 46px; width: 62%; padding: 12px; border-radius: 8px; background: #191919; border: 1px solid var(--line2); font-size: 10px; animation: menuIn 3.2s var(--ease) infinite; transform-origin: top right; }
.m-pop b { display: block; font-weight: 500; margin-bottom: 10px; color: #fff; }
.m-pop div { display: flex; justify-content: flex-end; gap: 8px; }
.m-pop span { padding: 4px 8px; border-radius: 4px; color: var(--tx2); }
.hl { position: relative; outline: 1px solid #fff; outline-offset: 2px; box-shadow: 0 0 16px rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1) !important; animation: hlPulse 1.6s ease-in-out infinite; border-radius: 6px; }
.m-pop span.hl { color: #fff; }
@keyframes hlPulse { 50% { box-shadow: 0 0 4px rgba(255, 255, 255, .2); } }
@keyframes sheetUp { 0%, 12% { transform: translateY(120%); opacity: 0; } 30%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(120%); opacity: 0; } }
@keyframes menuIn { 0%, 12% { transform: scale(.6); opacity: 0; } 30%, 85% { transform: none; opacity: 1; } 100% { transform: scale(.6); opacity: 0; } }
.comp table th { white-space: nowrap; }
.comp table th svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 8px; }
.comp td:first-child { color: #e6e6e6; }
.comp td:not(:first-child) { color: var(--tx2); }
.comp .ok svg { width: 18px; height: 18px; padding: 3px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; color: #fff; }
.reqs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.reqs div { padding: 22px; border: 1px solid var(--line); background: #080808; display: grid; gap: 8px; align-content: start; }
.reqs b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--tx3); }
.reqs h3 { font-family: var(--disp); font-weight: 400; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.reqs p { color: var(--tx2); font-size: 14px; }
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 16px; color: #e8e8e8; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #fff; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { color: var(--tx2); padding: 0 40px 22px 0; animation: fadeUp .45s var(--ease); }
@media (max-width: 1023px) { .ihero, .ipanel { grid-template-columns: minmax(0, 1fr); } .ih-v { order: -1; } .phone { width: 170px; } .reqs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .ptabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ptab { border-bottom: 1px solid var(--line); } .ptab:nth-child(2) { border-right: 0; } .ifacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .comp table { font-size: 12.5px; } .comp th svg { display: none; } }
.tmnote { margin-top: 28px; font-size: 12px; max-width: 920px; }

/* ===== coach, programme, creator, calendar, card, tools ===== */
.drawer.wide { width: min(560px, 100%); }
.row2 { display: flex; flex-wrap: wrap; gap: 10px; }
.cu-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.cugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-bottom: 36px; }
.cucard { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line2); background: linear-gradient(180deg, #101010, #080808); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.cucard .dic { width: 52px; height: 52px; margin: 0; }
.cu-t h3 { font-family: var(--disp); font-weight: 400; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.cu-t p { color: var(--tx2); font-size: 13px; }
.cu-t small { font-family: var(--mono); font-size: 10.5px; color: var(--tx3); }
.cu-a { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.cu-a .best { margin-right: auto; text-align: left; }
.cu-a .btn svg { width: 14px; height: 14px; }
.cu-none { padding: 22px; border: 1px dashed var(--line2); margin-bottom: 36px; }
.cu-prev { height: 170px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, #121212, #060606 70%); }
.cu-prev svg { width: 100%; height: 100%; }
.cu-prev .cd { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); animation: none; transform-box: fill-box; transform-origin: center; }
.cu-prev .mv-slide { animation: cdSlide ease-in-out infinite alternate; }
.cu-prev .mv-bounce { animation: cdBounce linear infinite alternate; }
.cu-prev .mv-orbit { animation: cdOrbit linear infinite; }
.cu-prev .mv-jitter { animation: cdJit steps(6) infinite; }
@keyframes cdSlide { from { transform: translateX(-26px); } to { transform: translateX(26px); } }
@keyframes cdBounce { 0% { transform: translate(-24px, -14px); } 50% { transform: translate(18px, 12px); } 100% { transform: translate(26px, -10px); } }
@keyframes cdOrbit { from { transform: rotate(0) translateX(16px) rotate(0); } to { transform: rotate(360deg) translateX(16px) rotate(-360deg); } }
@keyframes cdJit { 0% { transform: translate(0, 0); } 20% { transform: translate(9px, -5px); } 40% { transform: translate(-6px, 7px); } 60% { transform: translate(12px, 4px); } 80% { transform: translate(-10px, -6px); } 100% { transform: translate(0, 0); } }

.coach { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 50px); align-items: center; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line2); background: radial-gradient(500px 340px at 20% 50%, rgba(255, 255, 255, .07), transparent 70%), #080808; margin-bottom: 14px; }
.radar { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.radar text { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; fill: var(--tx3); text-transform: uppercase; }
.radar text.weak { fill: #fff; }
.radar .rpoly { fill: rgba(255, 255, 255, .12); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .35)); transform-origin: 160px 150px; animation: radarIn 1.2s var(--ease) both; }
.radar circle { fill: #fff; }
@keyframes radarIn { from { transform: scale(0); opacity: 0; } }
.co-t { display: grid; gap: 14px; }
.co-t .btn.big { justify-self: start; }
.co-weak { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); }
.co-weak b { font-weight: 400; color: #fff; border: 1px solid var(--line3); padding: 5px 10px; }
.prog30 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 50px); align-items: center; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line2); background: radial-gradient(500px 340px at 85% 50%, rgba(255, 255, 255, .06), transparent 70%), #080808; margin-bottom: 14px; }
.pg-t { display: grid; gap: 14px; justify-items: start; }
.pg-t .h2 small { font-family: var(--mono); font-size: 14px; color: var(--tx3); }
.pg-items { list-style: none; width: 100%; border-top: 1px solid var(--line); }
.pg-items li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pg-items svg { width: 28px; height: 28px; color: #ddd; }
.pg-items small { font-family: var(--mono); font-size: 11px; color: var(--tx3); }
.pg-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pg-grid div { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--tx3); }
.pg-grid div b { font-weight: 400; }
.pg-grid div svg { position: absolute; right: 4px; bottom: 4px; width: 12px; height: 12px; }
.pg-grid .done { color: #fff; border-color: var(--line3); background: rgba(255, 255, 255, .08); }
.pg-grid .now { color: #fff; border-color: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .25), inset 0 0 12px rgba(255, 255, 255, .1); animation: hlPulse 2s ease-in-out infinite; }

.cal { border: 1px solid var(--line); padding: 22px; margin-bottom: 14px; background: #070707; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.cal-scroll { overflow-x: auto; padding-bottom: 6px; }
.cal-m, .cal-g { display: grid; grid-template-columns: repeat(53, 13px); gap: 3px; min-width: max-content; }
.cal-m { margin-bottom: 6px; font-family: var(--mono); font-size: 10px; color: var(--tx3); }
.cal-m span { white-space: nowrap; }
.cal-g { grid-template-rows: repeat(7, 13px); }
.cal-g i, .cal-l i { display: block; width: 13px; height: 13px; border-radius: 2px; background: rgba(255, 255, 255, .05); }
.cal .l1 { background: rgba(255, 255, 255, .2); } .cal .l2 { background: rgba(255, 255, 255, .42); } .cal .l3 { background: rgba(255, 255, 255, .7); } .cal .l4 { background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .6); }
.cal-l { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; font-family: var(--mono); font-size: 10px; color: var(--tx3); }
.cal-l span { margin: 0 4px; }
.pc-row { display: flex; justify-content: flex-end; margin: -10px 0 14px; }
.pc-cv { width: 100%; height: auto; border: 1px solid var(--line2); background: #050505; }

.dp-pad { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px dashed var(--line3); font-size: 13.5px; color: var(--tx2); transition: border-color .3s, background .3s; }
.dp-pad b { font-family: var(--mono); font-weight: 500; font-size: 22px; color: #fff; }
.dp-pad.on { border-style: solid; border-color: #fff; background: rgba(255, 255, 255, .05); box-shadow: 0 0 20px rgba(255, 255, 255, .12); }
.tool .rowb { display: flex; flex-wrap: wrap; gap: 8px; }
.tool .btn[disabled] { opacity: .35; pointer-events: none; }
.mo-strip { height: 110px; border: 1px solid var(--line); }
.mo-strip canvas { width: 100%; height: 100%; display: block; }
.tool .kick svg { width: 16px; height: 16px; }
.tool .kick::before { display: none; }

.hmap { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%; padding: 12px; border: 1px solid var(--line); text-align: left; animation: fadeUp .6s var(--ease) .35s both; }
.hmap svg { width: 130px; height: 130px; }
.hmap b { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); margin-bottom: 6px; }
.hmap p { color: var(--tx2); font-size: 14px; }
.hud .gh b { transition: color .3s; }
.hud .gh.ahead b { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, .6); }
.hud .gh.behind b { color: var(--tx3); }

.rmus { position: relative; }
.rmus .eq { display: none; margin-left: auto; gap: 2px; align-items: flex-end; height: 12px; }
.rmus.on { color: #fff; border-color: var(--line3); }
.rmus.on .eq { display: flex; }
.rmus .eq b { width: 2px; background: #fff; animation: eq .9s ease-in-out infinite alternate; }
.rmus .eq b:nth-child(2) { animation-delay: .3s; } .rmus .eq b:nth-child(3) { animation-delay: .6s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.rfoot { gap: 10px; }

@media (max-width: 1023px) { .coach, .prog30 { grid-template-columns: minmax(0, 1fr); } .pc-row { justify-content: flex-start; margin-top: 0; } }
@media (max-width: 720px) { .cugrid { grid-template-columns: minmax(0, 1fr); } .hmap { grid-template-columns: 100px minmax(0, 1fr); } .hmap svg { width: 100px; height: 100px; } .pg-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; } }
@media (max-width: 720px) { .btn { white-space: normal; text-align: center; max-width: 100%; height: auto; min-height: 46px; padding-top: 10px; padding-bottom: 10px; line-height: 1.35; } .btn.big { min-height: 54px; padding-left: 20px; padding-right: 20px; } }

/* full assessment */
.evbox { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 50px); align-items: center; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line2); background: radial-gradient(520px 360px at 85% 40%, rgba(255, 255, 255, .06), transparent 70%), #080808; margin-bottom: 14px; }
.evbox .h2 { margin: 6px 0 10px; }
.evbox .row2 { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ev-sum { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.grade.sm { font-size: 64px; }
.ev-sum b { display: block; font-family: var(--mono); font-size: 26px; color: var(--tx); }
.ev-sum span { display: block; font-family: var(--mono); font-size: 13px; color: var(--tx3); letter-spacing: .04em; }
.ev-sum span.up, .evbars small.up, .ev-total .up { color: var(--tx); }
.ev-sum span.down, .evbars small.down, .ev-total .down { color: #8a8a8a; }
.evbars, .ev-ph { display: grid; gap: 12px; min-width: 0; }
.evbars > div, .ev-ph > div { display: grid; grid-template-columns: 120px minmax(0, 1fr) 54px 40px; align-items: center; gap: 12px; }
.ev-ph > div { grid-template-columns: 120px minmax(0, 1fr); }
.evbars span, .ev-ph span { font-size: 14px; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evbars i, .ev-ph i { position: relative; display: block; height: 8px; background: rgba(255, 255, 255, .07); overflow: visible; }
.evbars em { position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 100%); background: linear-gradient(90deg, #8c8c8c, #fff); box-shadow: 0 0 12px rgba(255, 255, 255, .35); transform-origin: left; animation: evGrow 1.1s var(--ease) both; }
.evbars u { position: absolute; top: -5px; bottom: -5px; width: 1px; background: rgba(255, 255, 255, .45); }
.evbars b { font-family: var(--mono); font-size: 14px; text-align: right; color: var(--tx); font-weight: 500; }
.evbars small { font-family: var(--mono); font-size: 13px; color: var(--tx3); }
.evbars > div:nth-child(2) em { animation-delay: .05s; } .evbars > div:nth-child(3) em { animation-delay: .1s; } .evbars > div:nth-child(4) em { animation-delay: .15s; } .evbars > div:nth-child(5) em { animation-delay: .2s; } .evbars > div:nth-child(6) em { animation-delay: .25s; } .evbars > div:nth-child(7) em { animation-delay: .3s; } .evbars > div:nth-child(8) em { animation-delay: .35s; } .evbars > div:nth-child(9) em { animation-delay: .4s; }
@keyframes evGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ev-total { font-family: var(--mono); font-size: 14px; color: var(--tx3); margin: 4px 0 20px; }
.ev-total b { font-size: 22px; color: var(--tx); margin-right: 4px; }
.res.wide .evbars { text-align: left; margin: 0 auto 18px; max-width: 620px; width: 100%; }
.ev-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 620px; width: 100%; margin: 0 auto 14px; text-align: left; }
.ev-sw > div { border: 1px solid var(--line2); padding: 12px 14px; background: rgba(255, 255, 255, .02); }
.ev-sw b { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); margin-bottom: 6px; font-weight: 500; }
.ev-sw span { display: block; font-size: 15px; color: var(--tx); }
@media (max-width: 1023px) { .evbox { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .evbars > div { grid-template-columns: 112px minmax(0, 1fr) 44px 32px; gap: 8px; } .evbars span, .ev-ph span { font-size: 13px; } .ev-ph > div { grid-template-columns: 112px minmax(0, 1fr); } .ev-sw { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .evbars em { animation: none; } }
