/* Blink Dynamics Lab: built on the Autoyos site tokens (navy, sky, Sora/Inter) from ../assets/css/style.css */
body.lab { background: var(--navy-950); color: var(--on-dark); min-height: 100vh; display: flex; flex-direction: column; background-image: radial-gradient(1100px 700px at 80% -10%, #1a2e74 0%, rgba(10,20,51,0) 60%); background-repeat: no-repeat; }
.lab h1, .lab h2, .lab h3 { color: var(--white); }
.lab a { color: var(--sky-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy-950) !important; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
.lab :focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.lab-top { display: flex; align-items: center; gap: 20px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--dark-line); position: sticky; top: 0; z-index: 20; background: rgba(10,20,51,.86); backdrop-filter: blur(10px); }
.lab-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark) !important; font-size: .92rem; white-space: nowrap; }
.lab-brand img { height: 34px; }
.lab-brand b { font-family: var(--display); color: var(--sky); font-weight: 600; }
.lab-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; font-size: .74rem; letter-spacing: .04em; color: var(--on-dark-muted); }
.lab-steps li { display: flex; align-items: center; gap: 6px; }
.lab-steps li::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: rgba(143,178,255,.2); }
.lab-steps li.done::before, .lab-steps li.on::before { background: var(--sky); }
.lab-steps li span { display: none; }
.lab-steps li.on span { display: inline; color: var(--white); font-weight: 600; }
.lab-mode { font-size: .72rem; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,158,140,.5); color: #ffc7bb; white-space: nowrap; }
main#view { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 40px) 64px; outline: none; }
.lab-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 18px clamp(16px, 4vw, 40px); border-top: 1px solid var(--dark-line); font-size: .78rem; color: var(--on-dark-muted); }
.fade { animation: labIn .5s cubic-bezier(.2,.7,.2,1); }
.fade:has(.q-screen) { animation-duration: .25s; }   /* question screens: half the wait (owner request) */
@keyframes labIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.lab p.lead { color: var(--on-dark); max-width: 60ch; }
.muted { color: var(--on-dark-muted); }
.small { font-size: .86rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lab .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-quiet { background: none; border: 0; color: var(--sky-soft); font: 600 .92rem var(--font); cursor: pointer; padding: 10px 6px; }
.panel { background: rgba(143,178,255,.06); border: 1px solid var(--dark-line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.notice { border-left: 3px solid var(--sky); background: rgba(143,178,255,.08); border-radius: 0 12px 12px 0; padding: 14px 18px; font-size: .92rem; }
.warn { border-left-color: var(--coral, #ff9e8c); background: rgba(255,158,140,.08); }

/* welcome */
.hero-lab { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero-lab { grid-template-columns: 1.05fr 1fr; min-height: 62vh; } }
.hero-lab h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 18px; }
.hero-lab h1 em { font-style: normal; color: var(--sky); }
.iris-wrap { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.iris-wrap canvas { width: 100%; height: 100%; display: block; }
.facts3 { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 800px) { .facts3 { grid-template-columns: repeat(3, 1fr); } }
.facts3 b { display: block; font-family: var(--display); color: var(--white); font-size: 1.06rem; margin-bottom: 4px; }
.facts3 span { font-size: .9rem; color: var(--on-dark-muted); }
.two { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 800px) { .two { grid-template-columns: 1fr 1fr; } }
.ticklist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.ticklist li { padding-left: 24px; position: relative; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.ticklist.no li::before { content: "–"; color: var(--on-dark-muted); }

/* forms */
.narrow { max-width: 760px; margin: 0 auto; }
.field-lab { display: grid; gap: 6px; margin: 18px 0; }
.field-lab label { font-weight: 600; font-size: .92rem; color: var(--white); }
.field-lab input[type=email], .lab textarea { background: rgba(255,255,255,.06); border: 1.5px solid rgba(143,178,255,.3); border-radius: 12px; padding: 13px 14px; color: var(--white); font: inherit; width: 100%; }
.field-lab input:focus, .lab textarea:focus { border-color: var(--sky); outline: none; }
.err { color: #ffb4a6; font-size: .86rem; min-height: 1.2em; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--dark-line); border-radius: 14px; margin-top: 10px; cursor: pointer; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sky); }
.check b { color: var(--white); display: block; margin-bottom: 2px; }
.check .tag { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
details.more { margin-top: 12px; font-size: .9rem; } details.more summary { cursor: pointer; color: var(--sky-soft); font-weight: 600; }

/* questionnaire */
.q-bar { height: 5px; border-radius: 5px; background: rgba(143,178,255,.16); overflow: hidden; margin-bottom: 22px; }
.q-bar i { display: block; height: 100%; background: var(--sky); transition: width .3s; }
.q-stem { color: var(--on-dark-muted); font-size: .95rem; margin: 0 0 14px; }
.q-item { padding: 16px 0; border-top: 1px solid var(--dark-line); }
.q-item:first-of-type { border-top: 0; }
.q-item h3 { font-size: 1.08rem; margin: 0 0 12px; font-family: var(--font); font-weight: 600; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { flex: 1 1 110px; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid rgba(143,178,255,.28); background: rgba(255,255,255,.03); color: var(--on-dark); font: 500 .92rem var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.opts button:hover { border-color: var(--sky); }
.opts button[aria-pressed=true] { background: var(--sky); border-color: var(--sky); color: var(--navy-950); font-weight: 600; }
.opts-label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin: 10px 0 6px; }
.lab-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }
.review dt { color: var(--on-dark-muted); font-size: .86rem; } .review dd { margin: 0 0 10px; color: var(--white); font-weight: 500; }
.review { display: grid; gap: 0 24px; } @media (min-width: 700px) { .review { grid-template-columns: 1fr 1fr; } }

/* camera + capture */
.cam-grid { display: grid; gap: 22px; } @media (min-width: 900px) { .cam-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.cam-stage { position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; background: #050a1c; border: 1px solid var(--dark-line); }
.cam-stage video, .cam-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.cam-stage .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--on-dark-muted); }
.cam-stage .frame { position: absolute; inset: 12% 22%; border: 1.5px dashed rgba(143,178,255,.4); border-radius: 50%; pointer-events: none; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.checks i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(143,178,255,.35); }
.checks li.ok i { background: var(--sky); border-color: var(--sky); }
.checks li.bad i { border-color: #ff9e8c; }
.checks b { color: var(--white); font-weight: 600; }
.ring { width: 150px; height: 150px; margin: 0 auto; display: block; }
.capture { display: grid; gap: 24px; justify-items: center; text-align: center; }
.read-card { max-width: 620px; min-height: 150px; display: grid; place-items: center; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--white); }
.lab-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; border: 1px solid var(--dark-line); }
.lab-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.lab-pill.off::before { background: #ff9e8c; }

/* results */
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 20px 0; } @media (min-width: 800px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: rgba(143,178,255,.07); border-radius: 16px; padding: 16px 18px; }
.kpi b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--white); line-height: 1.1; }
.kpi span { font-size: .8rem; color: var(--on-dark-muted); } .kpi small { display: block; font-size: .74rem; color: var(--on-dark-muted); margin-top: 4px; }
.res-sec { margin-top: 40px; } .res-sec > h2 { font-size: 1.4rem; margin: 0 0 6px; }
.chart { margin-top: 14px; } .chart svg { width: 100%; height: auto; display: block; }
.chart h3 { font-size: 1rem; margin: 0 0 2px; font-family: var(--font); font-weight: 600; } .chart p { font-size: .84rem; color: var(--on-dark-muted); margin: 0 0 8px; }
.grid2 { display: grid; gap: 14px; } @media (min-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } }
table.stats { width: 100%; border-collapse: collapse; font-size: .92rem; } table.stats td { padding: 9px 0; border-bottom: 1px solid var(--dark-line); } table.stats td:last-child { text-align: right; color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.sig { display: grid; gap: 20px; align-items: center; } @media (min-width: 800px) { .sig { grid-template-columns: 300px 1fr; } }
.sig canvas { width: 100%; max-width: 300px; border-radius: 18px; display: block; }
.srcs { font-size: .78rem; color: var(--on-dark-muted); }

.rating { display: flex; gap: 8px; } .rating button { width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid rgba(143,178,255,.3); background: none; color: var(--on-dark); font: 600 1rem var(--font); cursor: pointer; } .rating button[aria-pressed=true] { background: var(--sky); color: var(--navy-950); border-color: var(--sky); }
@media (max-width: 700px) { .lab-steps li::before { width: 12px; } .lab-brand span { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; } .q-bar i { transition: none; } }

/* Page titles: calmer than the marketing site's display size */
.lab main h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; }
.lab main .hero-lab h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.q-count { font-size: .8rem; color: var(--on-dark-muted); margin: -12px 0 18px; letter-spacing: .04em; }
.review .rv-h { grid-column: 1 / -1; color: var(--sky); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--dark-line); }
.review dt.rv-h:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.review dd.rv-h { display: none; }

/* Phones: brand + mode on the first row, the progress steps on a full-width second row */
@media (max-width: 760px) {
  .lab-top { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px; }
  .lab-brand { order: 1; min-width: 0; }
  .lab-brand span { overflow: hidden; text-overflow: ellipsis; }
  .lab-mode { order: 2; margin-left: auto; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; }
  .lab-steps { order: 3; flex: 1 0 100%; margin: 0; }
  .lab-steps li { flex: 1; } .lab-steps li::before { width: 100%; }
  .lab-steps li.on { flex: 2.4; } .lab-steps li.on::before { width: 14px; flex: none; }
  .lab-foot { flex-direction: column; }
}

/* ===== v2 (11 Nov 2026): recording during the questionnaire, report, blink games ===== */
main#view.wide { max-width: 1240px; }
.lab-rec { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; padding: 4px 6px 4px 10px; border-radius: 999px; border: 1px solid rgba(143,178,255,.4); color: var(--sky-soft); white-space: nowrap; }
.lab-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff8f7a; box-shadow: 0 0 0 3px rgba(255,143,122,.22); animation: recPulse 1.6s ease-in-out infinite; }
.lab-rec.warn i { background: #ffc98c; box-shadow: none; } .lab-rec.off i { background: #9eabcc; box-shadow: none; animation: none; }
.lab-rec button { background: none; border: 0; border-left: 1px solid rgba(143,178,255,.3); color: var(--on-dark-muted); font: 500 .72rem var(--font); padding: 2px 8px; cursor: pointer; }
.lab-rec button:hover { color: var(--white); }
@keyframes recPulse { 50% { opacity: .45; } }
.journey { list-style: none; padding: 0; margin: 40px 0 14px; display: grid; gap: 12px; counter-reset: j; }
@media (min-width: 800px) { .journey { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.journey li { counter-increment: j; border-top: 1px solid rgba(143,178,255,.3); padding-top: 12px; }
.journey li::before { content: "0" counter(j); display: block; font: 600 .72rem var(--font); letter-spacing: .14em; color: var(--sky); margin-bottom: 6px; }
.journey b { display: block; font-family: var(--display); color: var(--white); font-size: 1.05rem; } .journey span { font-size: .88rem; color: var(--on-dark-muted); }
.steps-ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; }

/* results: signature leads the report */
.res-hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .res-hero { grid-template-columns: minmax(280px, 400px) 1fr; } }
.res-sig canvas { width: 100%; max-width: 400px; aspect-ratio: 1; border-radius: 22px; display: block; margin: 0 auto; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(143,178,255,.18); }
.res-hero .kpis { margin: 16px 0; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 0; }

/* games hub */
.games { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .games { grid-template-columns: 1fr 1fr; } }
.game-card { display: grid; grid-template-columns: 150px 1fr; gap: 0; border: 1px solid var(--dark-line); border-radius: 20px; overflow: hidden; background: rgba(143,178,255,.05); transition: border-color .2s, transform .2s; }
.game-card:hover { border-color: rgba(143,178,255,.5); transform: translateY(-2px); }
.game-card.played { border-color: rgba(143,178,255,.4); }
.gc-art { width: 100%; height: 100%; min-height: 170px; display: block; }
.gc-body { padding: 18px 20px; } .gc-body h3 { margin: 0 0 6px; font-size: 1.15rem; } .gc-body p { margin: 0 0 10px; font-size: .92rem; }
.tag-x, .tag-done { font: 600 .66rem var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; vertical-align: 3px; margin-left: 6px; }
.tag-x { border: 1px solid rgba(255,199,140,.5); color: #ffd9b0; } .tag-done { background: rgba(143,178,255,.18); color: var(--sky-soft); }
@media (max-width: 520px) { .game-card { grid-template-columns: 1fr; } .gc-art { min-height: 120px; } }

/* game shell */
.game-shell { display: grid; gap: 14px; }
.game-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.game-status { font: 600 clamp(1.2rem, 2.4vw, 1.6rem) var(--display); color: var(--white); margin: 0; min-height: 1.3em; }
.game-sub { margin: 4px 0 0; color: var(--on-dark-muted); font-size: .92rem; min-height: 1.4em; max-width: 70ch; }
.game-cam { display: grid; justify-items: end; gap: 6px; flex: none; }
.game-cam video { width: 116px; height: 87px; object-fit: cover; border-radius: 14px; transform: scaleX(-1); border: 1px solid var(--dark-line); background: #050a1c; }
.sim-hint { font-size: .72rem; color: #ffc7bb; border: 1px dashed rgba(255,158,140,.5); padding: 6px 10px; border-radius: 10px; max-width: 260px; text-align: right; }
.game-canvas { width: 100%; height: clamp(260px, min(56vh, 62vw), 560px); display: block; border-radius: 20px; border: 1px solid var(--dark-line); }
.game-ruler svg.ruler { width: 100%; max-width: 720px; display: block; margin: 8px auto 0; height: auto; }
.game-ctrl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* Starsight: the whole screen is the sky, so screen regions match where the eyes look */
.game-shell.ss-full { position: fixed; inset: 0; z-index: 60; background: #0a1433; padding: 14px clamp(14px, 3vw, 28px); grid-template-rows: auto 1fr auto; }
.game-shell.ss-full .game-slot { position: absolute; inset: 0; z-index: -1; }
.game-shell.ss-full .ss-canvas { height: 100%; border-radius: 0; border: 0; }
.game-shell.ss-full .game-head, .game-shell.ss-full .game-ctrl { position: relative; pointer-events: auto; }
.game-shell.ss-full .game-ctrl { align-self: end; justify-content: center; }
/* Fading Ink */
.ink-wrap { position: relative; border: 1px solid var(--dark-line); border-radius: 20px; padding: clamp(22px, 4vw, 44px) clamp(20px, 5vw, 60px); background: radial-gradient(700px 400px at 50% 0%, rgba(29,51,120,.55), rgba(10,20,51,0)); overflow: hidden; }
.ink-text { max-width: 64ch; margin: 0 auto; font: 400 clamp(1.05rem, 1.7vw, 1.25rem)/1.75 var(--font); color: var(--white); transition: filter .35s ease, opacity .35s ease; }
.ink-text p { margin: 0 0 1.1em; }
.ink-mist { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(120% 80% at 50% 40%, rgba(201,216,255,.10), rgba(143,178,255,.18)); transition: opacity .35s ease; }
.ink-bar { height: 3px; border-radius: 3px; background: rgba(143,178,255,.15); margin: 18px auto 0; max-width: 64ch; overflow: hidden; } .ink-bar i { display: block; height: 100%; width: 0; background: var(--sky); }
/* game complete */
.game-done { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .game-done { grid-template-columns: minmax(280px, 440px) 1fr; } }
.gd-card canvas { width: 100%; max-width: 440px; aspect-ratio: 1; border-radius: 22px; display: block; margin: 0 auto; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(143,178,255,.18); }
@media (max-width: 760px) { .lab-rec { order: 2; font-size: .66rem; } .lab-rec span { max-width: 38vw; overflow: hidden; text-overflow: ellipsis; } .game-head { flex-direction: column-reverse; } .game-cam { justify-items: start; } .game-cam video { width: 88px; height: 66px; } }
@media (prefers-reduced-motion: reduce) { .lab-rec i { animation: none; } .ink-text, .ink-mist { transition: none; } .game-card { transition: none; } }
.lab-rec[hidden], .lab-mode[hidden] { display: none; }
.read-card { min-height: 9.5em; align-content: center; } @media (max-width: 760px) { .read-card { min-height: 11em; } }
/* Parking spot for the camera video between screens: in the page and rendered (so frames keep flowing), but invisible */
#cam-holder { position: fixed; left: 0; bottom: 0; width: 2px; height: 2px; overflow: hidden; opacity: .01; pointer-events: none; z-index: -1; }
#cam-holder video { width: 2px; height: 2px; }

/* ===== v3 (11 Nov 2026): BlinkOn-style report, larger type, contrast ===== */
.lab a.btn-light, .lab a.btn-light:hover { color: var(--navy-950); }
.lab a.btn-ghost { color: var(--white); }
.your-data p { font-size: 1rem; }
.pid-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: rgba(143,178,255,.08); border: 1px dashed rgba(143,178,255,.4); border-radius: 12px; padding: 10px 14px; font-family: ui-monospace, Menlo, monospace; font-size: 1.02rem; word-break: break-all; }
.pid-box b { color: var(--white); }
.report { font-size: 1.06rem; }
.report .small { font-size: .95rem; }
.rep-head { background: linear-gradient(135deg, #13245a, #0d1a46); border: 1px solid rgba(143,178,255,.25); border-radius: 24px; padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 18px; }
.rep-brand { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.rep-head h1 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 3rem) !important; }
.rep-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding-top: 16px; border-top: 1px solid rgba(143,178,255,.3); }
@media (min-width: 800px) { .rep-meta { grid-template-columns: repeat(4, 1fr); } }
.rep-meta dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.rep-meta dd { margin: 4px 0 0; font-weight: 600; color: var(--white); font-size: 1.05rem; }
.rep-summary { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 900px) { .rep-summary { grid-template-columns: 1fr 340px; } }
.rep-label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.sum-top { display: flex; gap: 20px; align-items: center; margin: 12px 0 6px; flex-wrap: wrap; }
.dial { width: 120px; height: 120px; flex: none; }
.sum-chips { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.sum-chips li { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: .98rem; color: var(--on-dark); }
.sum-text { font-size: 1.12rem; line-height: 1.65; color: var(--white); margin: 14px 0 8px; }
.sum-text b { color: var(--sky-soft); }
.sum-advice { color: var(--on-dark); margin: 0; }
.sig-card canvas { width: 100%; aspect-ratio: 1; border-radius: 18px; display: block; }
.sig-card p { font-size: .9rem; color: var(--on-dark-muted); margin: 10px 0 0; }
.band-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.band-pill.big { font-size: 1.05rem; padding: 7px 16px; }
.band-pill.good { background: rgba(69,211,155,.16); color: #7ff0c0; border: 1px solid rgba(69,211,155,.45); }
.band-pill.fair { background: rgba(246,181,78,.14); color: #ffd28a; border: 1px solid rgba(246,181,78,.45); }
.band-pill.low { background: rgba(255,127,110,.14); color: #ffb3a8; border: 1px solid rgba(255,127,110,.45); }
.band-pill.none { background: rgba(143,178,255,.1); color: var(--on-dark-muted); border: 1px solid var(--dark-line); }
.rep-sec { margin-top: 36px; }
.rep-sec > h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 4px; }
.rep-sub { color: var(--on-dark-muted); margin: 0 0 14px; }
.rep-metrics { display: grid; gap: 16px; }
@media (min-width: 820px) { .rep-metrics { grid-template-columns: 1fr 1fr; } }
.rep-metric { background: rgba(143,178,255,.06); border: 1px solid var(--dark-line); border-left: 5px solid var(--tone, rgba(143,178,255,.4)); border-radius: 20px; padding: 20px 22px; }
.rep-metric.good { --tone: #45d39b; } .rep-metric.fair { --tone: #f6b54e; } .rep-metric.low { --tone: #ff7f6e; }
.rep-metric header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rep-metric h3 { margin: 0; font-size: 1.15rem; font-family: var(--font); font-weight: 600; }
.rep-metric .kind { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.rep-metric-val { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; flex-wrap: wrap; }
.rep-metric-val b { font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 3.2rem); line-height: 1; color: var(--white); }
.rep-metric-val > span { color: var(--on-dark-muted); font-size: 1rem; }
.rep-metric-val .band-pill { margin-left: auto; font-size: .95rem; }
.rep-metric .bandbar { width: 100%; height: auto; display: block; margin: 6px 0 4px; }
.rep-metric p { margin: 6px 0 4px; font-size: 1.02rem; color: var(--white); }
.rep-metric small { color: var(--on-dark-muted); font-size: .86rem; }
.kap-row { display: grid; gap: 14px; } @media (min-width: 760px) { .kap-row { grid-template-columns: repeat(3, 1fr); } }
.kap b { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--white); margin: 6px 0; }
.kap p { margin: 10px 0 0; color: var(--on-dark); }
.learn .panel h3 { font-size: 1.15rem; } .learn .panel p { margin: 6px 0 0; color: var(--on-dark); }
.habits { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; } @media (min-width: 760px) { .habits { grid-template-columns: 1fr 1fr; } }
.habits li { display: flex; gap: 14px; align-items: flex-start; background: rgba(143,178,255,.06); border: 1px solid var(--dark-line); border-radius: 16px; padding: 14px 16px; }
.habits li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--navy-950); font-weight: 700; display: grid; place-items: center; }
.habits b { color: var(--white); } .habits p { margin: 4px 0 0; color: var(--on-dark-muted); font-size: .95rem; }
.rep-limit { margin-top: 18px; font-size: 1rem; }
.rep-details { margin-top: 36px; border: 1px solid var(--dark-line); border-radius: 20px; padding: 18px 22px; background: rgba(143,178,255,.04); }
.rep-details > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rep-details > summary::-webkit-details-marker { display: none; }
.rep-details > summary span { font: 600 1.3rem var(--display); color: var(--white); }
.rep-details > summary span::after { content: "  ▾"; color: var(--sky); font-size: 1rem; }
.rep-details[open] > summary span::after { content: "  ▴"; }
.rep-details > summary small { color: var(--on-dark-muted); font-size: .92rem; }
.rep-actions .row { margin-bottom: 10px; }
.chart p, .chart h3 { font-size: 1rem; }
.est-tag { display: inline-block; margin-left: 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #ffd28a; border: 1px solid rgba(246,181,78,.45); border-radius: 999px; padding: 2px 10px; vertical-align: 1px; }
.bo-cta { margin-top: 36px; display: grid; gap: 22px; align-items: center; padding: clamp(22px, 3.5vw, 34px); border-radius: 24px; border: 1px solid rgba(143,178,255,.4); background: radial-gradient(700px 360px at 85% 0%, rgba(143,178,255,.22), rgba(10,20,51,0) 70%), #12235a; }
@media (min-width: 900px) { .bo-cta { grid-template-columns: 1.1fr 1fr; } }
.bo-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 10px 0 8px; }
.bo-cta p { color: var(--on-dark); margin: 0 0 16px; }
.bo-logo-sm { height: 30px; width: auto; display: block; }
.bo-compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bo-compare th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); padding: 0 8px 8px 0; }
.bo-compare th:last-child, .bo-compare td:last-child { color: var(--sky-soft); }
.bo-compare td { padding: 9px 8px 9px 0; border-top: 1px solid var(--dark-line); color: var(--on-dark); }
.bo-compare td:first-child { color: var(--on-dark-muted); }
.bo-cta.compact { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 16px 20px; border-radius: 16px; }
.bo-cta.compact p { margin: 0; }
.report .chart svg { max-width: 860px; margin: 0 auto; }

/* Active challenges: HUD, hub groups, score */
.game-slot { position: relative; }
.hud { position: absolute; top: 12px; left: 16px; right: 16px; z-index: 2; display: flex; gap: 14px; justify-content: space-between; align-items: center; pointer-events: none; font: 600 .9rem var(--font); color: var(--sky-soft); }
.hud > span:first-child { font-family: var(--display); font-size: 1.6rem; color: var(--white); }
.games-group { font-size: 1.15rem; margin: 30px 0 0; color: var(--white); }
.game-card .best { color: var(--sky); font-weight: 600; }
.score-big { margin: 6px 0 4px; color: var(--on-dark-muted); } .score-big b { font-family: var(--display); font-size: 3rem; color: var(--white); margin-right: 6px; }
@media (max-width: 520px) { .hud > span:first-child { font-size: 1.25rem; } .hud { font-size: .78rem; } }
.lvl-banner { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); z-index: 3; padding: 10px 20px; border-radius: 999px; background: rgba(143,178,255,.92); color: var(--navy-950); font: 700 1rem var(--display); white-space: nowrap; pointer-events: none; animation: labIn .4s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 520px) { .lvl-banner { font-size: .8rem; white-space: normal; text-align: center; width: 86%; } }
.how-panel.has-demo { display: grid; gap: 18px; align-items: center; }
@media (min-width: 760px) { .how-panel.has-demo { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
.how-panel .demo-box { min-width: 0; max-width: 360px; }
.how-panel .demo { display: block; max-width: 100%; border-radius: 14px; border: 1px solid var(--dark-line); }

/* Blink check */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bc-eye { display: block; margin: 6px auto 0; }
.bc-dots { display: flex; gap: 16px; justify-content: center; margin: 6px 0 4px; }
.bc-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(143,178,255,.5); transition: background .25s, box-shadow .25s; }
.bc-dots i.on { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 16px rgba(143,178,255,.8); }
.bc-dots.passed i { background: #9be3c0; border-color: #9be3c0; }
.bc-grid { display: grid; gap: 22px; align-items: center; width: 100%; max-width: 860px; }
@media (min-width: 760px) { .bc-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.bc-cam { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--dark-line); background: #050a1c; aspect-ratio: 4 / 3; }
.bc-cam canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-nocam { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--on-dark-muted); font-size: .9rem; }
.bc-state { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(10,20,51,.75); color: var(--sky-soft); font: 600 .85rem var(--font); }
.bc-state.closed { background: var(--sky); color: var(--navy-950); }
.bc-state.off { color: #ffc7bb; }
.bc-side { display: grid; justify-items: center; gap: 8px; }

/* Smaller live camera views (owner request): camera setup and blink check */
.cam-stage { max-width: 520px; width: 100%; justify-self: center; }
.bc-cam { max-width: 400px; width: 100%; justify-self: center; }
@media (min-width: 900px) { .cam-grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); } }
