/* SHOT CALLER, in the remake.mmah.life look: black space, Outfit headings, Inter text, JetBrains Mono labels,
   one cyan to blue to magenta gradient, a floating dock, glass panels. Motion parts are styled at the end.
   The light look before this is in old files/ShotCallerLightLook_v1. */
:root {
  --bg: #000; --panel: #0a0c11; --panel2: #0e1118;
  --line: rgba(255, 255, 255, 0.09); --line2: rgba(255, 255, 255, 0.16);
  --txt: #f4f4f4; --dim: #c0c0c0; --mute: #8f8f8f;
  --cyan: #00f3ff; --blue: #5b8cff; --violet: #9a6bff; --mag: #d449ff; --green: #38f8a7;
  --grad: linear-gradient(92deg, var(--cyan) 0%, var(--blue) 48%, var(--mag) 100%);
  --head: 'Outfit', -apple-system, system-ui, sans-serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.75, 0, .15, 1);
  --pad: clamp(16px, 4.2vw, 72px);
  --ac: #00f3ff; --ac-rgb: 0, 243, 255;
  color-scheme: dark;
}
.ac-cyan { --ac: #00f3ff; --ac-rgb: 0, 243, 255; }
.ac-green { --ac: #38f8a7; --ac-rgb: 56, 248, 167; }
.ac-mag { --ac: #d449ff; --ac-rgb: 212, 73, 255; }
.ac-blue { --ac: #5b8cff; --ac-rgb: 91, 140, 255; }
.ac-violet { --ac: #9a6bff; --ac-rgb: 154, 107, 255; }
.ac-coral { --ac: #ff8a5c; --ac-rgb: 255, 138, 92; }

* { box-sizing: border-box; }
html { background: #000; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: transparent; color: var(--txt); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: auto; padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
p { margin: 0 0 .8em; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 800; letter-spacing: -.035em; line-height: .98; color: var(--txt); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 14px 16px; border-radius: 99px; font: 600 14px var(--head); }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }

/* body text over the star trails keeps a soft black edge so it stays readable */
.lede, .kicker, .fine, .sun-dir, .cue, .back, .top-where { text-shadow: 0 1px 12px rgba(0, 0, 0, .95), 0 0 3px rgba(0, 0, 0, .9); }
.cue, .back, .top-where { color: #b4b4b4 !important; } /* small letter-spaced grey has to hold up where a star trail crosses it */

/* ---------- top line and dock */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(env(safe-area-inset-top) + 16px) var(--pad) 6px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 800 13px/1 var(--head); letter-spacing: .38em; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); flex: none; }
.top-where { font: 500 11.5px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }

.dock {
  position: fixed; z-index: 30; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; width: min(calc(100vw - 20px), 760px); padding: 8px 8px 8px 14px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(14, 17, 24, .86), rgba(6, 7, 10, .9)); border: 1px solid var(--line2);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.dock .id { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; flex: 0 1 104px; padding-right: 10px; margin-right: 4px; border-right: 1px solid var(--line); }
.dock .brand.small { display: none; }
.where { font: 500 11.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s; }
.dock .id:has(.meter.is-live) .where { opacity: 0; } /* the % chip sits where the label is, so the label steps aside while you scroll */
.meter { position: relative; display: block; width: 100%; max-width: 110px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.meter i { position: absolute; inset: 0; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad); box-shadow: 0 0 10px rgba(0, 243, 255, .6); }
.meter-chip { position: absolute; bottom: 10px; left: calc(var(--p, 0) * 100%); transform: translate(-50%, 4px); padding: 4px 7px; border-radius: 99px; background: #05060a; border: 1px solid rgba(0, 243, 255, .45); font: 700 11.5px/1 var(--mono); color: var(--cyan); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.meter.is-live .meter-chip { opacity: 1; transform: translate(-50%, 0); }
.navi { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px 10px; text-decoration: none; color: var(--dim); font: 500 11.5px/1 var(--body); transition: color .25s; }
.navi[aria-current] { color: var(--cyan); }
.goo { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.goo circle, .goo rect { fill: var(--cyan); }
.sep { width: 1px; height: 30px; background: var(--line); margin: 0 6px; flex: none; }
.go { flex: none; display: inline-flex; align-items: center; min-height: 46px; text-decoration: none; font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #000; background: #fff; padding: 0 16px; border-radius: 99px; white-space: nowrap; transition: background .25s, box-shadow .25s; }
.go .go-more { display: none; }
.go[aria-current] { background: var(--grad); box-shadow: 0 0 22px rgba(91, 140, 255, .5); }

main { position: relative; max-width: 1640px; margin: 0 auto; padding: 8px var(--pad) 40px; outline: none; }
.loading { padding: 60px 0; font: 500 12px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }

/* ---------- type */
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ac); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; box-shadow: 0 0 12px currentColor; flex: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lede { max-width: 38ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--dim); }
.sec { margin: clamp(56px, 8vw, 110px) 0 0; }
.sec > h2, .h2 { font-size: clamp(34px, 5vw, 64px); margin: 0 0 22px; }
.fine { font-size: 13.5px; color: var(--mute); max-width: 68ch; } /* 68ch: wide iPad and desktop rows stay easy to read */
.warn { color: #ff8fa3; font-weight: 600; font-size: 14.5px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 99px; text-decoration: none; cursor: pointer; font: 600 15px/1 var(--head); letter-spacing: .02em; color: #000; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.btn.ghost { color: var(--txt); background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }
.btn:hover { box-shadow: 0 0 0 4px rgba(0, 243, 255, .16); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(0, 243, 255, .6); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.linkish { border: 0; background: none; padding: 8px 0; min-height: 40px; cursor: pointer; font: 500 11.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ac); text-decoration: underline; text-underline-offset: 5px; }

.panel { position: relative; border-radius: 24px; padding: clamp(18px, 2.4vw, 30px); margin: 0 0 16px; background: linear-gradient(180deg, rgba(14, 17, 24, .86), rgba(8, 9, 13, .82)); border: 1px solid var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.panel.grid { background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(180deg, rgba(14, 17, 24, .9), rgba(8, 9, 13, .86)); background-size: 32px 32px, 32px 32px, auto; }
.panel > h2, .panel-h { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 16px; }
.tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 99px; font: 500 11.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ac); box-shadow: inset 0 0 0 1px rgba(var(--ac-rgb), .45); }

/* ---------- home hero with the sign */
.hero { position: relative; display: grid; gap: 8px; padding-top: 4px; }
.sign-wrap { position: relative; margin: 0 -6px; }
.sign { display: block; width: 100%; height: auto; overflow: visible; }
.sign text { font: 800 236px/1 var(--head); letter-spacing: -5px; fill: none; mix-blend-mode: screen; }
.sign .halo text { stroke: var(--cyan); stroke-width: 5; opacity: .28; filter: url(#sign-soft); }
.sign .g text { stroke: var(--green); stroke-width: 2.4; opacity: .72; }
.sign .b text { stroke: var(--blue); stroke-width: 2.4; opacity: .85; }
.sign .c text { stroke: var(--cyan); stroke-width: 2; opacity: .95; }
.sign .g { transform: translate(-7px, -4px); }
.sign .b { transform: translate(7px, 5px); }
.sign.is-pulling .sl { animation: 1.6s cubic-bezier(.3, .7, .2, 1) both; }
.sign.is-pulling .g { animation-name: pull-g; }
.sign.is-pulling .b { animation-name: pull-b; }
.sign.is-pulling .c { animation-name: pull-c; }
.sign.is-pulling .halo { animation-name: pull-h; }
@keyframes pull-g { 0% { transform: translate(-46px, -14px); filter: blur(7px); opacity: .3; } 58% { transform: translate(3px, 1px); filter: blur(0); opacity: 1; } 78% { transform: translate(-10px, -5px); } 100% { transform: translate(-7px, -4px); filter: blur(0); opacity: 1; } }
@keyframes pull-b { 0% { transform: translate(46px, 16px); filter: blur(7px); opacity: .3; } 58% { transform: translate(-3px, -1px); filter: blur(0); opacity: 1; } 78% { transform: translate(10px, 6px); } 100% { transform: translate(7px, 5px); filter: blur(0); opacity: 1; } }
@keyframes pull-c { 0% { filter: blur(10px); opacity: .2; } 58% { filter: blur(0); opacity: 1; } 100% { filter: blur(0); opacity: 1; } }
@keyframes pull-h { 0% { opacity: 0; } 100% { opacity: 1; } }
.hero h1 { font-size: clamp(54px, 9.2vw, 150px); line-height: .9; letter-spacing: -.045em; color: rgba(255, 255, 255, .55); margin: 4px 0 18px; }
.hero .lede { margin-bottom: 26px; }
.livechip { margin-top: 24px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
.stat { padding: 16px 16px 14px; border-radius: 18px; background: linear-gradient(180deg, rgba(14, 17, 24, .8), rgba(8, 9, 13, .7)); border: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(34px, 4.6vw, 56px)/1 var(--head); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.stat::after { content: ""; display: block; height: 1px; margin-top: 12px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.stat:has(b.is-counted)::after { transform: none; }
.cue { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; min-height: 48px; text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--mute); transition: opacity .6s; }
.cue i { width: 1px; height: 46px; background: linear-gradient(var(--cyan), transparent); transform-origin: 50% 0; animation: cue-draw 1.2s cubic-bezier(.2, .8, .2, 1) .9s both; }
.cue.is-gone { opacity: 0; pointer-events: none; }
@keyframes cue-draw { from { transform: scaleY(0); } to { transform: none; } }

/* ---------- tiles (WX 12 PRESS: each tile is a key that presses into the page) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles .tile.is-wide:nth-child(odd) { grid-column: 1 / -1; } /* with 6 shoot tiles the Poses tile is 7th and would stand alone: it spans the row */
.tile {
  --depth: 7px; position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 176px; padding: 18px 16px 16px; border-radius: 22px; text-decoration: none;
  background: radial-gradient(120% 90% at 0% 0%, rgba(var(--ac-rgb), .16), transparent 55%), linear-gradient(180deg, #10131b, #07080c);
  border: 1px solid rgba(var(--ac-rgb), .28); -webkit-tap-highlight-color: transparent;
  box-shadow: 0 var(--depth) 0 rgba(var(--ac-rgb), .22), 0 calc(var(--depth) * 2.4) 24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .6s, box-shadow .6s; transition-timing-function: linear(0, .4 9%, .95 20%, 1.22 31%, 1.12 40%, .97 56%, 1.015 70%, .998 86%, 1);
}
.tile:hover, .tile:focus-visible { transform: translateY(-3px); box-shadow: 0 calc(var(--depth) + 3px) 0 rgba(var(--ac-rgb), .3), 0 calc(var(--depth) * 2.4 + 4px) 30px rgba(0, 0, 0, .7), 0 0 34px rgba(var(--ac-rgb), .18), inset 0 1px 0 rgba(255, 255, 255, .08); transition-duration: .25s; transition-timing-function: cubic-bezier(.3, .7, .2, 1); }
.tile.is-down { transform: translateY(calc(var(--depth) - 2px)); box-shadow: 0 2px 0 rgba(var(--ac-rgb), .3), 0 5px 10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04); transition-duration: .09s; transition-timing-function: cubic-bezier(.3, 0, .5, 1); }
.tile .ico { width: 30px; height: 30px; color: var(--ac); filter: drop-shadow(0 0 8px rgba(var(--ac-rgb), .6)); margin-bottom: 6px; }
.tile b { font: 800 22px/1 var(--head); letter-spacing: -.03em; }
.tile span { font-size: 13.5px; line-height: 1.4; color: var(--dim); }
.tile em { margin-top: auto; padding-top: 10px; font: 500 11.5px/1 var(--mono); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: var(--ac); }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 12px 16px; border-radius: 16px; text-decoration: none; font: 600 14.5px/1.25 var(--head); background: rgba(10, 12, 17, .8); border: 1px solid var(--line); transition: border-color .25s, background .25s; }
.quick a::after { content: "→"; color: var(--cyan); font-family: var(--body); }
.quick a:hover { border-color: rgba(0, 243, 255, .4); background: rgba(0, 243, 255, .05); }

/* ---------- WX 50 live light chip */
.onw { --onw-c: var(--green); }
.onw[data-state="golden"] { --onw-c: #ff9a6b; }
.onw[data-state="blue"] { --onw-c: var(--blue); }
.onw[data-state="night"] { --onw-c: var(--violet); }
.onw[data-state="high"] { --onw-c: var(--mag); }
.onw-chip { position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 54px; padding: 10px 20px 10px 18px; border: 0; border-radius: 28px; background: rgba(255, 255, 255, .05); color: var(--dim); font: 400 15.5px/1.35 var(--body); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--onw-c) 45%, transparent), 0 10px 26px rgba(0, 0, 0, .4); transition: background-color .25s, box-shadow .25s; }
.onw-chip:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--onw-c) 80%, transparent), 0 0 26px color-mix(in srgb, var(--onw-c) 20%, transparent); }
.onw-txt b { font-weight: 600; color: var(--txt); }
.onw-dot { position: relative; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--onw-c); box-shadow: 0 0 10px var(--onw-c); }
.onw-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--onw-c); opacity: 0; }
.onw.is-ready .onw-dot::after { animation: onw-pulse 1.3s .25s both; }
@keyframes onw-pulse { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
.onw-chev { flex: none; width: 9px; height: 9px; margin-left: 4px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: translateY(-2px) rotate(135deg); transition: transform .45s cubic-bezier(.2, .9, .2, 1); }
.onw.is-open .onw-chev { transform: translateY(2px) rotate(-45deg); }
.onw-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s cubic-bezier(.5, 0, .2, 1), visibility 0s linear .45s; }
.onw.is-open .onw-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s cubic-bezier(.2, .9, .2, 1), visibility 0s; }
.onw-in { min-height: 0; overflow: hidden; }
.onw-rows { list-style: none; margin: 14px 0 0; padding: 8px; border-radius: 18px; background: rgba(10, 12, 17, .8); box-shadow: inset 0 0 0 1px var(--line); }
.onw-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; column-gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; font-size: 15px; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
.onw.is-open .onw-r { opacity: 1; transform: none; transition: opacity .4s, transform .55s cubic-bezier(.2, .9, .2, 1); }
.onw.is-open .onw-r:nth-child(2) { transition-delay: .05s; } .onw.is-open .onw-r:nth-child(3) { transition-delay: .1s; } .onw.is-open .onw-r:nth-child(4) { transition-delay: .15s; }
.onw-r.is-now { background: rgba(0, 243, 255, .06); box-shadow: inset 0 0 0 1px rgba(0, 243, 255, .3); }
.onw-d { font-weight: 600; color: var(--txt); }
.onw-t { font: 500 13.5px var(--mono); color: var(--dim); white-space: nowrap; }
.onw-tr { position: relative; grid-column: 1 / -1; height: 6px; border-radius: 6px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255, 255, 255, .13) calc(25% - 1px) 25%), rgba(255, 255, 255, .05); }
.onw-sp { position: absolute; top: 0; bottom: 0; left: calc(var(--onw-a, 0) * 100%); width: calc(var(--onw-b, 0) * 100%); border-radius: 6px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s; }
.onw-sp.gold { background: linear-gradient(90deg, #ff9a6b, #ff6bb0); box-shadow: 0 0 10px rgba(255, 140, 120, .5); }
.onw-sp.blue { background: var(--blue); box-shadow: 0 0 10px rgba(91, 140, 255, .6); }
.onw-sp.day { background: rgba(255, 255, 255, .28); }
.onw.is-open .onw-sp { transform: none; transition: transform .7s cubic-bezier(.2, .9, .2, 1) .15s; }
.onw-now { position: absolute; left: calc(var(--onw-n, 0) * 100%); top: -6px; bottom: -6px; width: 2px; margin-left: -1px; border-radius: 1px; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .8); }

/* ---------- light page: sun path and WX 54 day picker */
.sunpath { width: 100%; height: auto; display: block; overflow: visible; margin: 8px 0 4px; }
.sunpath .band-gold { fill: rgba(255, 140, 110, .16); } .sunpath .band-blue { fill: rgba(91, 140, 255, .18); } .sunpath .ground { fill: rgba(255, 255, 255, .03); }
.sunpath .horizon { stroke: rgba(255, 255, 255, .3); stroke-dasharray: 3 4; }
.sunpath .curve { fill: none; stroke-width: 2.6; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(0, 243, 255, .5)); }
.sunpath .nowline { stroke: rgba(255, 255, 255, .5); }
.sunpath .nowdot { fill: #000; stroke: #fff; stroke-width: 3; }
.sunpath .ticks text { font: 500 12px var(--mono); fill: var(--mute); letter-spacing: .06em; }
.sun-line { font: 600 clamp(19px, 2vw, 24px)/1.3 var(--head); color: var(--txt); }
.sun-dir { font-size: 14.5px; color: var(--dim); }
.dp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dp-day { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0; min-width: 0; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; transition: transform .35s cubic-bezier(.2, .9, .2, 1), background .25s, border-color .25s, box-shadow .25s; }
.dp-day span { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.dp-day b { font: 800 22px/1 var(--head); }
.dp-day em { font: 500 11.5px/1 var(--mono); font-style: normal; letter-spacing: .06em; color: var(--mute); text-transform: uppercase; min-height: 9px; }
.dp-day[aria-selected="true"] { transform: translateY(-5px); background: linear-gradient(180deg, rgba(0, 243, 255, .16), rgba(91, 140, 255, .06)); border-color: rgba(0, 243, 255, .55); box-shadow: 0 12px 24px -12px rgba(0, 243, 255, .5); }
.dp-day[aria-selected="true"] span, .dp-day[aria-selected="true"] em { color: var(--cyan); }
.dp-times { display: grid; grid-template-rows: 0fr; }
.dp-times.is-in { grid-template-rows: 1fr; transition: grid-template-rows .55s cubic-bezier(.2, .9, .2, 1); }
.dp-times > div { min-height: 0; overflow: hidden; }
.dp-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.dp-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 15px; opacity: 0; transform: translateY(-6px); }
.dp-times.is-in .dp-list li { opacity: 1; transform: none; transition: opacity .35s, transform .5s cubic-bezier(.2, .9, .2, 1); }
.dp-times.is-in .dp-list li:nth-child(2) { transition-delay: .05s; } .dp-times.is-in .dp-list li:nth-child(3) { transition-delay: .1s; } .dp-times.is-in .dp-list li:nth-child(4) { transition-delay: .15s; } .dp-times.is-in .dp-list li:nth-child(5) { transition-delay: .2s; }
.dp-list b { font-weight: 600; }
.dp-list span { font: 500 13px var(--mono); color: var(--dim); text-align: right; white-space: nowrap; }
.dp-list .gold b { color: #ffb08f; } .dp-list .blue b { color: #9db8ff; }
.locform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; margin-top: 12px; }
.locform .btn { grid-column: 1 / -1; }

/* MB 06 LIGHT TRACE on the location button */
.mb-light { isolation: isolate; overflow: hidden; background: #fff; }
.mb-light::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit; background: conic-gradient(from var(--lt, 0deg), transparent 0 70%, var(--cyan) 82%, #fff 86%, var(--mag) 90%, transparent 96%); animation: lt-lap 2.4s linear 3; }
.mb-light::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: inherit; background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 243, 255, .28), transparent 60%), #fff; }
.mb-light:hover::before { animation: lt-lap 1.2s linear infinite; }
.mb-light.is-rest:not(:hover)::before { animation: none; opacity: 0; }
@property --lt { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes lt-lap { to { --lt: 360deg; } }

/* WX 47 DOTS LOADER */
.wx-dots { display: none; gap: 5px; align-items: center; }
.wx-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dots-w 1s ease-in-out infinite; }
.wx-dots i:nth-child(2) { animation-delay: .15s; } .wx-dots i:nth-child(3) { animation-delay: .3s; }
.wx-dots-on .wx-dots { display: inline-flex; }
.wx-dots-on .btn-lb { display: none; }
@keyframes dots-w { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-6px); opacity: 1; } }

/* ---------- page heads: WX 06 INK FILL and WX 36 FOCUS IN */
.pagehead { margin: 10px 0 26px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font: 500 11.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.back:hover { color: var(--txt); }
.pagehead h1 { font-size: clamp(42px, 7.5vw, 112px); }
.pagehead .lede { margin-top: 18px; }
.hif { display: block; max-width: min(100%, 900px); }
.hif-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hif-t { font: 800 128px/1 var(--head); letter-spacing: -5px; }
.hif-o { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 3.2; } /* the mask keeps only the outer half, so the seams inside the variable font letters never show */
.hif-rise { transform: translateY(-40px); }
.hif-amp { transform: scaleY(.12); transform-origin: 0 0; }
.hif-js:not(.is-in) .hif-rise { transform: translateY(310px); }
.hif-js:not(.is-in) .hif-amp { transform: scaleY(1); }
.hif-js.is-in .hif-rise { animation: hif-up 2s cubic-bezier(.45, .05, .25, 1) .3s both; }
.hif-js.is-in .hif-rise path { animation: hif-s1 2.4s linear .3s both; }
.hif-js.is-in .hif-amp { animation: hif-a1 2.2s ease-in-out .3s both; }
@keyframes hif-up { from { transform: translateY(310px); } to { transform: translateY(-40px); } }
@keyframes hif-s1 { from { transform: translateX(0); } to { transform: translateX(-600px); } }
@keyframes hif-a1 { 0%, 40% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }
.fi-js [data-fi] { opacity: 0; filter: blur(14px); transform: scale(1.04); transform-origin: 0 50%; }
.fi-js.is-in [data-fi] { animation: fi-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.fi-js.is-in [data-fi="2"] { animation-delay: .14s; } .fi-js.is-in [data-fi="3"] { animation-delay: .28s; }
@keyframes fi-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* WX 01 LINE RISE */
.lr { display: flex; flex-direction: column; }
.lr-ln { position: relative; display: block; overflow: hidden; padding: .09em 0 .15em; margin: -.09em 0 -.15em; }
.lr-ln > span { display: block; transform-origin: 0 100%; }
.lr-ln::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .14); transform-origin: 0 50%; }
.lr-js .lr-ln > span { transform: translateY(118%) rotate(5deg); }
.lr-js .lr-ln::after { transform: scaleX(0); }
.lr-js.is-in .lr-ln > span { animation: lr-up 1.05s cubic-bezier(.16, 1, .3, 1) both; }
.lr-js.is-in .lr-ln::after { animation: lr-rule .85s cubic-bezier(.16, 1, .3, 1) both; }
.lr-js.is-in .lr-ln:nth-child(2) > span { animation-delay: .15s; } .lr-js.is-in .lr-ln:nth-child(3) > span { animation-delay: .3s; }
.lr-js.is-in .lr-ln:nth-child(2)::after { animation-delay: .1s; } .lr-js.is-in .lr-ln:nth-child(3)::after { animation-delay: .25s; }
@keyframes lr-up { to { transform: none; } }
@keyframes lr-rule { from { transform: scaleX(0); } to { transform: none; } }

/* ---------- job page: setups as numbered rings */
.scnlist { display: grid; gap: 12px; }
.scn { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 16px; padding: 18px; border-radius: 22px; text-decoration: none; background: linear-gradient(180deg, rgba(14, 17, 24, .86), rgba(8, 9, 13, .8)); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.scn:hover, .scn:focus-visible { border-color: rgba(var(--ac-rgb), .5); transform: translateY(-2px); background: linear-gradient(180deg, rgba(var(--ac-rgb), .07), rgba(8, 9, 13, .8)); }
.scn .num { grid-row: span 3; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--head); color: var(--ac); box-shadow: 0 0 0 2px rgba(var(--ac-rgb), .7), 0 0 0 6px rgba(var(--ac-rgb), .1), 0 0 22px rgba(var(--ac-rgb), .35); background: #05060a; }
.scn b { font: 700 20px/1.15 var(--head); letter-spacing: -.02em; }
.scn .goal { font-size: 14.5px; color: var(--dim); margin: 6px 0 12px; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; }
.mini i { font: 500 12px/1 var(--mono); font-style: normal; padding: 7px 9px; border-radius: 8px; color: var(--txt); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }

/* ---------- setup page */
.coursebar { position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 18px; padding: calc(env(safe-area-inset-top) + 10px) var(--pad) 10px; background: linear-gradient(180deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .78)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.coursebar::-webkit-scrollbar { display: none; }
.coursebar a { flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 99px; text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); transition: color .25s, background .25s; }
.coursebar a[aria-current] { color: #000; background: #fff; }
.anchor { scroll-margin-top: 76px; }
.readout-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.readout-top h2 { font-size: clamp(24px, 2.6vw, 32px); }
.trio { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 12px 14px; margin: 0 -4px 12px; }
.trio.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trio::before, .trio::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.trio::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.trio::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.trio div { min-width: 0; }
.trio span { display: block; font: 500 11.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.trio b { display: block; margin-top: 8px; font: 800 clamp(21px, 2.6vw, 34px)/1.05 var(--head); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.trio small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.35; color: var(--dim); }
.rows { margin: 0; }
.rows div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.rows dt { font: 500 11.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.rows dt small { display: block; letter-spacing: .05em; text-transform: none; }
.rows dd { margin: 0; font-size: 15px; color: var(--txt); overflow-wrap: anywhere; }
.lensfull { color: var(--dim); }
.steps-list { margin: 0; padding: 0 0 0 22px; color: var(--dim); }
.steps-list li { padding: 5px 0; }

/* WX 41 TOGGLE SWITCH: Camera | iPhone */
.wx-sw { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font: 500 11.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; user-select: none; }
.wx-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-track { position: relative; width: 58px; height: 32px; border-radius: 99px; background: linear-gradient(90deg, rgba(0, 243, 255, .32), rgba(0, 243, 255, .1)); box-shadow: inset 0 0 0 1px rgba(0, 243, 255, .5); transition: background .35s, box-shadow .35s; }
.sw-knob { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 99px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); transition: transform .42s cubic-bezier(.34, 1.4, .5, 1); }
.wx-sw input:checked + .sw-track { background: linear-gradient(90deg, rgba(0, 243, 255, .55), rgba(212, 73, 255, .55)); box-shadow: inset 0 0 0 1px rgba(0, 243, 255, .6), 0 0 18px rgba(91, 140, 255, .4); }
.wx-sw input:checked + .sw-track .sw-knob { transform: translateX(26px); }
.wx-sw.is-moving .sw-knob { animation: sw-stretch .42s cubic-bezier(.3, .7, .2, 1); }
@keyframes sw-stretch { 40% { width: 34px; } }
.wx-sw.is-moving input:checked + .sw-track .sw-knob { animation-name: sw-stretch-r; }
@keyframes sw-stretch-r { 40% { width: 34px; margin-left: -10px; } }
.wx-sw input:focus-visible + .sw-track { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sw-a { order: -1; color: var(--cyan); } .wx-sw input:checked ~ .sw-a { color: var(--mute); }
.sw-b { color: var(--mute); } .wx-sw input:checked ~ .sw-b { color: var(--mag); }

/* the Light Lab panel */
.labpanel h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.lab-sum { color: var(--dim); font-size: 15px; max-width: 68ch; }
.lab-plan-wrap { position: relative; margin: 8px -2px 6px; border-radius: 18px; background: radial-gradient(circle at 50% 47%, rgba(91, 140, 255, .14), rgba(0, 0, 0, .4) 72%); border: 1px solid var(--line); }
.lab-plan { display: block; width: 100%; touch-action: none; }
.lab-balls { display: flex; justify-content: center; gap: 26px; margin: 16px 0 6px; }
.lab-balls figure { margin: 0; text-align: center; }
.lab-balls canvas { display: block; margin: 0 auto 8px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .7)); }
.lab-balls figcaption { font: 600 13px/1.3 var(--head); color: var(--txt); }
.lab-balls figcaption span { font: 500 11.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.lab-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 6px; }
.lab-hint { margin: 0; font-size: 13.5px; color: var(--dim); }
.lab-reset { flex: none; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--txt); font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.lab-list { list-style: none; margin: 8px 0 0; padding: 0; }
.lab-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.lab-list b { display: block; font-weight: 600; color: var(--txt); }
.lab-list span { font: 500 12.5px var(--mono); color: var(--cyan); }
.lab-list em { display: block; font-style: normal; color: var(--dim); font-size: 14px; margin-top: 3px; }
.budget { margin-top: 14px; color: var(--dim); font-size: 14.5px; max-width: 68ch; }
.budget b { color: var(--txt); }

/* steps with WX 45 PROGRESS RING and MB 05 HOLD TO CONFIRM */
.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.steps-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.wx-ring { position: relative; flex: none; width: 84px; aspect-ratio: 1; --wx-ring-p: 0; }
.wx-ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wx-ring-core-bg { fill: #07080c; }
.wx-ring-tick { fill: none; stroke: #232733; stroke-width: 5; stroke-dasharray: .9 4.755; }
.wx-ring-lit { stroke: #f4f4f4; }
.wx-ring-mkc { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 339.292; stroke-dashoffset: calc(339.292 * (1 - var(--wx-ring-p) / 100)); transition: stroke-dashoffset .7s cubic-bezier(.3, .7, .2, 1); }
.wx-ring-track { fill: none; stroke: #151821; stroke-width: 9; }
.wx-ring-glow { filter: drop-shadow(0 0 3px rgba(0, 243, 255, .5)); }
.wx-ring-arc { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 270.176; stroke-dashoffset: calc(270.176 * (1 - var(--wx-ring-p) / 100)); transition: stroke-dashoffset .7s cubic-bezier(.3, .7, .2, 1); }
.wx-ring-head { fill: #fff; transform-origin: 60px 60px; transform: rotate(calc(var(--wx-ring-p) * 3.6deg)); filter: drop-shadow(0 0 3px #fff); transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.wx-ring-core { position: absolute; inset: 0; display: grid; place-items: center; font: 800 24px/1 var(--head); font-variant-numeric: tabular-nums; }
.wx-ring.is-done .wx-ring-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wx-ring.pop .wx-ring-svg { animation: ring-pop .5s cubic-bezier(.3, 0, .2, 1); }
@keyframes ring-pop { 45% { transform: scale(1.06); } }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { border-top: 1px solid var(--line); }
.checks label { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 13px 0; cursor: pointer; font-size: 15.5px; align-items: start; }
.checks input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border-radius: 8px; border: 1.5px solid var(--line2); background: rgba(255, 255, 255, .03); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s; }
.checks input:checked { background: var(--grad); border-color: transparent; box-shadow: 0 0 14px rgba(0, 243, 255, .4); }
.checks input:checked::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #000; border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }
.checks input:checked + span { color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
.mb-hold { position: relative; overflow: hidden; isolation: isolate; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--txt); cursor: pointer; font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.mb-hold-fill { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 77, 109, .35), rgba(212, 73, 255, .5)); transform-origin: 0 50%; transform: scaleX(var(--hold, 0)); }
.mb-hold.is-jolt { animation: hold-jolt .45s cubic-bezier(.3, 1.6, .5, 1); }
.mb-hold.is-done { border-color: rgba(212, 73, 255, .7); animation: hold-pulse .5s; }
@keyframes hold-jolt { 30% { transform: translateX(-6px); } 60% { transform: translateX(3px); } }
@keyframes hold-pulse { 40% { box-shadow: 0 0 0 8px rgba(212, 73, 255, .2); } }
.hold-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.ticks, .dots { list-style: none; margin: 0; padding: 0; }
.ticks li, .dots li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; color: var(--dim); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 10px; height: 5px; border: 2px solid var(--green); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.dots li::before { content: ""; position: absolute; left: 6px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.fixes { margin: 0; }
.fixes div { padding: 13px 0; border-top: 1px solid var(--line); }
.fixes dt { font: 600 16px/1.35 var(--head); }
.fixes dt::before { content: "PROBLEM  "; font: 500 11.5px var(--mono); letter-spacing: .18em; color: #ff8fa3; }
.fixes dd { margin: 6px 0 0; color: var(--dim); font-size: 15px; }
.fixes dd::before { content: "FIX  "; font: 500 11.5px var(--mono); letter-spacing: .18em; color: var(--green); }
.conflicts { list-style: none; margin: 0; padding: 0; }
.conflicts li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--dim); }
.conflicts b { color: var(--txt); font-weight: 600; }
.conflicts p { margin: 5px 0 0; }
.conflicts span { font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.srcs { display: flex; gap: 18px; align-items: flex-start; }
.srcs > details { flex: 1; min-width: 0; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.sources summary, details.panel > summary { position: relative; display: block; min-height: 44px; padding: 10px 36px 10px 0; font: 600 17px/1.3 var(--head); overflow-wrap: anywhere; }
.sources summary::after, details.panel > summary::after { content: "+"; position: absolute; right: 10px; top: 50%; margin-top: -13px; font: 300 26px/1 var(--head); color: var(--cyan); transition: transform .35s var(--ease); }
details[open] > summary::after { transform: rotate(45deg); }
.sources ol { padding-left: 22px; margin: 12px 0 0; }
.sources li { padding: 6px 0; font-size: 14px; overflow-wrap: anywhere; color: var(--dim); }
.sources li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--txt); text-decoration-color: rgba(0, 243, 255, .5); text-underline-offset: 3px; }
.sources li span { display: block; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* WX 64 SINCE SEAL */
.seal { width: 104px; flex: none; }
.seal svg { width: 100%; height: auto; overflow: visible; }
.seal-ring { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 352; stroke-dashoffset: 352; filter: drop-shadow(0 0 4px rgba(0, 243, 255, .6)); }
.seal-in { fill: rgba(0, 243, 255, .05); stroke: var(--line2); }
.seal-tx { font: 500 8.4px var(--mono); letter-spacing: .24em; fill: var(--dim); }
.seal-turn { transform-origin: 60px 60px; }
.seal-mid { font: 800 16px var(--head); fill: var(--txt); opacity: 0; }
.seal-sub { font: 500 7.5px var(--mono); letter-spacing: .2em; fill: var(--cyan); opacity: 0; }
.seal.is-in .seal-ring { transition: stroke-dashoffset 1.3s cubic-bezier(.3, .7, .2, 1); stroke-dashoffset: 0; }
.seal.is-in .seal-turn { animation: seal-turn 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.seal.is-in .seal-mid, .seal.is-in .seal-sub { opacity: 1; transition: opacity .5s .8s; }
@keyframes seal-turn { from { transform: rotate(-90deg); } to { transform: none; } }

/* pager with WX 09 LABEL ROLL */
.pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 22px 0 8px; }
.pager a { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 66px; padding: 12px 16px; border-radius: 20px; text-decoration: none; border: 1px solid var(--line); background: rgba(10, 12, 17, .8); transition: background .35s, border-color .35s; min-width: 0; }
.pager a small { font: 500 11.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.pager .lr-lb { font: 600 15px/1.3 var(--head); }
.pager .nextbtn { text-align: right; align-items: flex-end; background: #fff; color: #000; border-color: #fff; }
.pager .nextbtn small { color: #444; }
.lr-vis { display: flex; flex-wrap: wrap; }
.pager .nextbtn .lr-vis { justify-content: flex-end; }
.lr-ch { display: inline-block; overflow: hidden; height: 1.3em; vertical-align: top; }
.lr-w { display: inline-flex; white-space: nowrap; }
.lr-col { display: block; transition: transform .52s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 18ms); }
.lr-col i { display: block; height: 1.3em; line-height: 1.3em; font-style: normal; }
.pager .nextbtn:hover, .pager .nextbtn:focus-visible { background: var(--grad); border-color: transparent; }
.pager a:hover .lr-col, .pager a:focus-visible .lr-col, .pager a:active .lr-col { transform: translateY(-50%); }

/* ---------- poses: MB 18 SWIPE DECK and WX 69 GALLERY FILTER */
.deck-stack { position: relative; max-width: 640px; }
.deck-card { position: absolute; inset: 0; padding: 22px 20px; border-radius: 26px; overflow: hidden; background: radial-gradient(120% 70% at 100% 0%, rgba(212, 73, 255, .16), transparent 55%), linear-gradient(180deg, #11131b, #07080c); border: 1px solid rgba(212, 73, 255, .3); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s; }
.deck-card[data-slot="1"] { transform: translateY(16px) scale(.95); pointer-events: none; }
.deck-card[data-slot="1"] .pose { opacity: .4; }
.deck-card[data-slot="2"] { transform: translateY(30px) scale(.9); pointer-events: none; filter: brightness(.6); }
.deck-card[data-slot="2"] .pose { visibility: hidden; }
.deck-card[data-slot="0"] { position: relative; cursor: grab; z-index: 2; }
.deck-card.is-drag { transition: none; cursor: grabbing; box-shadow: 0 34px 70px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(212, 73, 255, .5); }
.deck-card::after { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); padding: 8px 12px; border-radius: 10px; font: 700 12px/1 var(--mono); letter-spacing: .2em; opacity: 0; transition: opacity .15s; }
.deck-card[data-hint="next"]::after { content: "NEXT"; opacity: 1; color: var(--cyan); box-shadow: inset 0 0 0 2px var(--cyan); background: #05060a; }
.deck-card[data-hint="back"]::after { content: "BACK"; opacity: 1; color: var(--mag); box-shadow: inset 0 0 0 2px var(--mag); background: #05060a; }
.pose-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 11.5px var(--mono); letter-spacing: .2em; color: var(--mute); }
.pose h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 14px; }
.say { margin: 0 0 12px; padding: 16px 18px; border-radius: 18px; font: 600 clamp(19px, 2vw, 24px)/1.32 var(--head); letter-spacing: -.01em; color: var(--txt); background: rgba(255, 255, 255, .04); border-left: 3px solid var(--mag); }
.pose ol { margin: 0; padding: 0 0 0 22px; color: var(--dim); font-size: 15px; }
.pose ol li { padding: 3px 0; }
.pose p { font-size: 14.5px; color: var(--dim); margin: 10px 0 0; }
.pose p b { color: var(--txt); font-weight: 600; }
.deck-nav { position: sticky; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; max-width: 656px; margin: 40px -8px 0; padding: 8px; border-radius: 26px; background: rgba(6, 7, 10, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.deck-nav .btn { min-height: 52px; padding: 0 12px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 14px; padding: 2px var(--pad) 6px; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--dim); font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button i { font-style: normal; margin-left: 6px; color: var(--mute); }
.filters button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.filters button[aria-pressed="true"] i { color: #555; }
.posegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.posegrid button { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-height: 108px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10, 12, 17, .82); text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.posegrid button:hover { border-color: rgba(212, 73, 255, .5); }
.posegrid button span { font: 500 11.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mag); }
.posegrid button b { font: 600 15.5px/1.25 var(--head); }
.posegrid button[hidden] { display: none; }
/* pose photos: one real photo per pose. The card shows it whole (never cropped, so feet and outer people stay);
   the frame fills the empty sides with a blurred, darkened copy of the same photo, never a flat fill. */
.pose-ph { position: relative; margin: -22px -20px 16px; width: calc(100% + 40px); aspect-ratio: 4 / 5; max-height: 58vh; /* a set width: with width auto, the height cap also shrank the width on iPad and desktop */ overflow: hidden; background: #05060a; isolation: isolate; }
.pose-ph::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover; filter: blur(26px) brightness(.42) saturate(1.15); }
.pose-ph img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
/* the photo box is the photo itself, so its edges can fade into the soft copy instead of a hard line */
.pose-ph.is-tall img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pose-ph.is-wide img { -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); }
.pose-ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 7, .62), transparent 20%, transparent 52%, rgba(3, 4, 7, .94)); }
.pose-ph .pose-top { position: absolute; z-index: 2; top: 10px; left: 14px; right: 10px; justify-content: flex-start; color: #e8e8e8; }
.pose-ph .pose-top .tag { background: rgba(5, 6, 10, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ph-credit { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 99px; color: #f2f2f2; text-decoration: none; font: 500 11.5px var(--mono); letter-spacing: .12em; background: rgba(5, 6, 10, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ph-credit:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.pose-ph figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 14px; }
.pose-ph h2 { margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.posegrid button:has(.pg-ph) { padding: 0 0 12px; overflow: hidden; gap: 6px; }
.posegrid button:has(.pg-ph) span, .posegrid button:has(.pg-ph) b { margin: 0 12px; }
.pg-ph { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; background: #0b0d12; pointer-events: none; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.posegrid button:hover .pg-ph { transform: scale(1.04); }
/* the photo wall on the Poses page: every real photo by type, small tiles; a pose card's photo wears a Steps badge */
.pose-filter { margin: 0 0 18px; }
.pose-filter .filters { margin-bottom: 0; }
.pose-filter .fine { margin: 10px 0 0; color: var(--dim); max-width: 68ch; }
.pwall-sec { margin: 40px 0 12px; }
.pwall-sec h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 4px 0 8px; }
.pwall-sec .fine { color: var(--dim); max-width: 68ch; margin: 0 0 16px; }
.pwall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pw { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; isolation: isolate; background: #0e1118; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pw[hidden] { display: none; }
.pw img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.pw:hover img { transform: scale(1.04); }
.pw:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pw[data-pose] { border-color: transparent; box-shadow: 0 0 0 2px rgba(212, 73, 255, .9); }
.pw-steps { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 6px 9px; border-radius: 99px; background: #fff; color: #000; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
@media (min-width: 600px) { .pwall { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } }
@media (min-width: 1200px) { .pwall { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .pw img { transition: none; } }
@media (max-width: 599px) { .posegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .posegrid button:has(.pg-ph) span, .posegrid button:has(.pg-ph) b { margin: 0 8px; } .posegrid button:has(.pg-ph) b { font-size: 13.5px; } .posegrid button:has(.pg-ph) span { letter-spacing: .1em; } }
.bigsay { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 32px 24px calc(32px + env(safe-area-inset-bottom)); background: radial-gradient(120% 80% at 20% 0%, #2a0f3d, #000 70%); }
.bigsay p { margin: 0; font: 800 clamp(30px, 7.4vw, 64px)/1.12 var(--head); letter-spacing: -.03em; }
.bigsay .btn { align-self: flex-start; }

/* ---------- settings */
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.form label, .locform label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font: 500 11.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.form .full { grid-column: 1 / -1; }
input[type="number"], input[type="text"], select, .locform input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--txt); font: 500 16px var(--body); letter-spacing: 0; text-transform: none; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(-45deg, transparent 50%, var(--cyan) 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select option { background: #0a0c11; }
.calcs { display: grid; gap: 0; }
.answer { display: block; padding: 16px; border-radius: 16px; background: rgba(0, 243, 255, .04); border: 1px solid rgba(0, 243, 255, .2); font-size: 15.5px; line-height: 1.5; color: var(--dim); }
.answer b { font: 800 26px/1 var(--head); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.answer span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--mute); }
.calc details, #rules details { margin-top: 12px; }
.calc summary, #rules summary, .feats summary { display: flex; align-items: center; gap: 12px; min-height: 44px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); padding: 4px 0; }
.calc summary::after, #rules summary::after, .feats summary::after { content: "+"; font: 300 24px/1 var(--head); transition: transform .3s; }
.calc details p { font-size: 14px; color: var(--dim); }
.formula { font: 500 13px/1.5 var(--mono); padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--txt); overflow-wrap: anywhere; }
.eq { width: 100%; border-collapse: collapse; font-size: 15px; }
.eq th { text-align: left; font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding: 0 6px 8px 0; }
.eq td { padding: 8px 6px 8px 0; border-top: 1px solid var(--line); color: var(--txt); }
.eq td:nth-child(2) { font: 700 15px var(--mono); }
.eq td:nth-child(3) { font-size: 13px; color: var(--mute); }
.eq tr.now td { color: var(--cyan); }
/* WX 85 SIZE SLIDER. Chrome and Safari put the thumb at the top of the 44 px track, so margin-top 7px ((44 - 30) / 2) centers it on the line. The thumb center runs from 15 px to the width minus 15 px, so the lit part ends there too. */
.slider-block { margin-bottom: 8px; }
.sl-label { display: block; font: 500 11.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.wx-ss { position: relative; padding-top: 44px; }
.wx-ss-track { position: relative; height: 44px; }
.wx-ss-track::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.wx-ss-track::after { content: ""; position: absolute; left: 0; top: 20px; height: 4px; width: calc(15px + var(--p, 0) * (100% - 30px)); border-radius: 4px; background: var(--grad); box-shadow: 0 0 10px rgba(0, 243, 255, .5); }
.wx-ss-lit { position: absolute; left: 0; right: 0; top: 18px; height: 8px; border-radius: 8px; pointer-events: none; z-index: 1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); transform-origin: calc(var(--from, .5) * 100%) 50%; transform: scaleX(0); opacity: 0; }
.wx-ss.is-lit .wx-ss-lit { animation: ss-lit .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes ss-lit { 0% { transform: scaleX(0); opacity: .9; } 100% { transform: scaleX(1); opacity: 0; } }
.wx-ss input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.wx-ss input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(0, 243, 255, .25), 0 4px 10px rgba(0, 0, 0, .6); }
.wx-ss input::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(0, 243, 255, .25); }
.wx-ss input::-webkit-slider-runnable-track { height: 44px; background: transparent; }
.wx-ss-bub { position: absolute; left: 0; top: -40px; padding: 8px 11px; border-radius: 10px; background: #fff; color: #000; font: 700 13px/1 var(--mono); white-space: nowrap; pointer-events: none; }
.wx-ss-ends { display: flex; justify-content: space-between; font: 500 11.5px var(--mono); letter-spacing: .12em; color: var(--mute); }
.kelvin { position: relative; margin: 8px 0 74px; }
.kbar { height: 28px; border-radius: 10px; box-shadow: 0 0 24px rgba(255, 255, 255, .08); }
.kelvin ol { list-style: none; margin: 0; padding: 0; position: relative; height: 0; }
.kelvin li { position: absolute; top: 6px; transform: translateX(-50%); width: 78px; text-align: center; font-size: 11.5px; line-height: 1.25; color: var(--dim); }
.kelvin li::before { content: ""; position: absolute; top: -10px; left: 50%; width: 1px; height: 9px; background: #fff; }
.kelvin li.low { top: 40px; } .kelvin li.low::before { height: 44px; top: -45px; }
.kelvin li:first-child { transform: translateX(-20%); } .kelvin li:first-child::before { left: 20%; }
.kelvin li b { display: block; font: 700 11.5px var(--mono); color: var(--txt); }
.lensrow { display: flex; gap: 8px; overflow-x: auto; padding: 0 32px 6px 0; margin-bottom: 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.lensrow div { flex: none; min-width: 88px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.lensrow b { display: block; font: 800 24px/1 var(--head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lensrow span { display: block; margin-top: 6px; font: 500 12px var(--mono); color: var(--txt); }
.lensrow em { display: block; font-style: normal; font-size: 12px; color: var(--mute); }
.feats details, #rules details { border-top: 1px solid var(--line); padding: 6px 0; }
.feats summary b, #rules summary b { display: block; font: 600 16px/1.3 var(--head); letter-spacing: 0; text-transform: none; color: var(--txt); }
.feats summary span, #rules summary span { display: block; font: 400 14px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--dim); }
.feats summary .tag { display: inline-flex; margin-left: 8px; }
.feats p, #rules p { font-size: 14.5px; color: var(--dim); }
.feats p b, #rules p b { color: var(--txt); }
.pat-look { color: var(--dim); font-size: 15px; min-height: 3.2em; }
.pat-look b { color: var(--txt); }
.pat-look span { display: block; margin-top: 4px; color: var(--mute); font-size: 14px; }
.filters.wrap { flex-wrap: wrap; overflow: visible; margin: 4px 0 8px; padding: 0; }

/* ---------- WX 43 TOAST, WX 46 NOTICE BAR, WX 19 LOAD COUNTER */
.wx-toast { position: fixed; z-index: 70; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); width: min(calc(100vw - 24px), 440px); display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 14px 12px 16px 16px; border-radius: 18px; background: #0e1118; border: 1px solid rgba(0, 243, 255, .4); box-shadow: 0 20px 50px rgba(0, 0, 0, .8); transform: translate(-50%, 160%); opacity: 0; visibility: hidden; transition: transform .5s cubic-bezier(.2, .9, .2, 1), opacity .3s, visibility 0s .5s; overflow: hidden; }
.wx-toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s cubic-bezier(.2, .9, .2, 1), opacity .3s; }
.wx-toast svg { width: 30px; height: 30px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wx-toast svg path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.wx-toast.is-on svg path { transition: stroke-dashoffset .5s .3s; stroke-dashoffset: 0; }
.wx-toast p { margin: 0; font-size: 14.5px; }
.wx-toast p b { display: block; font: 600 15.5px var(--head); }
.wx-toast p span { color: var(--dim); }
.wx-toast button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: none; color: var(--txt); font-size: 20px; cursor: pointer; }
.wx-toast-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform-origin: 0 50%; }
.wx-toast.is-on .wx-toast-timer { animation: toast-drain 4.2s linear both; }
.wx-toast.is-paused .wx-toast-timer { animation-play-state: paused; }
@keyframes toast-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.wx-nb { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2, .9, .2, 1); position: relative; z-index: 40; }
.wx-nb.is-on { grid-template-rows: 1fr; }
.wx-nb-in { min-height: 0; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 0 var(--pad); background: linear-gradient(90deg, rgba(0, 243, 255, .12), rgba(212, 73, 255, .1)); border-bottom: 1px solid rgba(0, 243, 255, .3); position: relative; }
.wx-nb-in::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); }
.wx-nb.is-on .wx-nb-in::after { animation: nb-sheen 1.4s .5s; }
@keyframes nb-sheen { to { transform: translateX(100%); } }
.wx-nb p { margin: 0; padding: calc(env(safe-area-inset-top) + 12px) 0 12px; flex: 1; font-size: 14px; }
.wx-nb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex: none; }
.wx-nb button { width: 40px; height: 40px; border: 0; background: none; color: var(--txt); font-size: 20px; cursor: pointer; }
html.wx-lc-lock { overflow: hidden; }
.wx-lc { position: fixed; inset: 0; z-index: 2147483000; display: block; }
.wx-lc.is-out { pointer-events: none; }
.wx-lc-veil { position: absolute; inset: 0; background: radial-gradient(70% 80% at 18% 100%, rgba(0, 243, 255, .1), transparent 60%), #000; transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.wx-lc.is-out .wx-lc-veil { transform: translateY(-102%); }
.wx-lc-top, .wx-lc-foot { position: absolute; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.wx-lc-top { top: calc(env(safe-area-inset-top) + 28px); }
.wx-lc-foot { bottom: 70px; justify-content: flex-end; color: var(--cyan); }
.wx-lc-num { position: absolute; left: calc(var(--pad) - 6px); bottom: 96px; font: 800 clamp(120px, 34vw, 480px)/.8 var(--head); letter-spacing: -.06em; font-variant-numeric: tabular-nums; color: var(--txt); transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.wx-lc.is-lock .wx-lc-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wx-lc.is-out .wx-lc-num { transform: translateY(-34%); }
.wx-lc-rail { position: absolute; left: var(--pad); right: var(--pad); bottom: 48px; height: 2px; background: rgba(255, 255, 255, .12); }
.wx-lc-bar { position: absolute; inset: 0; background: var(--grad); box-shadow: 0 0 12px rgba(0, 243, 255, .8); transform-origin: 0 50%; transform: scaleX(var(--wx-lc-p, 0)); }

/* ---------- wide screens: the dock moves to the top like remake.mmah.life */
/* ---------- client picks: the client's screen (photos only, no dock), the hand-back screen, the shot list */
body.is-client .dock, body.is-client .top { display: none !important; }
body.is-client { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
body.is-client main { padding-top: calc(env(safe-area-inset-top) + 18px); }
.cpick-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin: 0 0 26px; padding: clamp(18px, 2.6vw, 30px); border-radius: 26px; border: 1px solid rgba(0, 243, 255, .28); background: radial-gradient(120% 140% at 0% 0%, rgba(0, 243, 255, .13), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(212, 73, 255, .16), transparent 55%), rgba(8, 10, 14, .86); }
.cpick-cta h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 4px 0 10px; }
.cpick-cta .fine { margin: 0; color: var(--dim); }
.cpick-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { /* slim on a phone, so the swipe deck stays near the top */
  .cpick-cta { padding: 14px 16px; gap: 10px; border-radius: 20px; margin-bottom: 20px; }
  .cpick-cta .kicker { display: none; }
  .cpick-cta h2 { font-size: 22px; margin: 0 0 4px; }
  .cpick-btns .btn { min-height: 48px; padding: 0 20px; }
}
.c-head h1 { font-size: clamp(40px, 7vw, 96px); }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 520px) { .cgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; } }
@media (min-width: 1000px) { .cgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; } }
.ctw { position: relative; }
.ctw[hidden] { display: none; }
.ct { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 18px; overflow: hidden; isolation: isolate; cursor: pointer; background: #0e1118; -webkit-tap-highlight-color: transparent; }
.ct img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .42s var(--ease), border-radius .42s var(--ease); pointer-events: none; -webkit-user-drag: none; }
.ct::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }
/* picked: the photo steps in and the cyan to magenta frame shows around it, with its number */
.ct[aria-pressed="true"] { background: var(--grad); box-shadow: 0 10px 34px rgba(154, 107, 255, .32); }
.ct[aria-pressed="true"] img { transform: scale(.93); border-radius: 13px; }
.ct-n { position: absolute; left: 12px; top: 12px; z-index: 2; display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 99px; background: #fff; color: #000; font: 800 18px/1 var(--head); box-shadow: 0 4px 16px rgba(0, 0, 0, .5); transform: scale(0); transition: transform .34s cubic-bezier(.3, 1.6, .5, 1); }
.ct[aria-pressed="true"] .ct-n, .cdone-grid .ct-n, .shot-ph .ct-n { transform: none; }
.ct-zoom { position: absolute; right: 8px; bottom: 8px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(5, 6, 10, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; cursor: pointer; }
.ct-zoom .ico { width: 18px; height: 18px; }
.ctray { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: min(980px, calc(100% - 20px)); padding: 9px 9px 9px 12px; border-radius: 24px; border: 1px solid var(--line2); background: rgba(7, 8, 12, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); }
.ctray-strip { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.ctray-strip::-webkit-scrollbar { display: none; }
.ctray-strip button { position: relative; flex: none; width: 44px; height: 54px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #111; }
.ctray-strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.ctray-strip span { position: absolute; left: 3px; top: 3px; min-width: 18px; padding: 2px 4px; border-radius: 99px; background: #fff; color: #000; font: 800 11px/1 var(--head); }
.ctray-n { flex: none; margin: 0; font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.ctray .btn { flex: none; min-height: 50px; padding: 0 24px; }
.btn:disabled { opacity: 1; background: #2a2d35; color: #b9bcc4; cursor: default; box-shadow: none; }
@media (max-width: 420px) { .ctray-n { display: none; } }
.clight { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: calc(env(safe-area-inset-top) + 12px) 12px calc(env(safe-area-inset-bottom) + 12px); background: rgba(0, 0, 0, .95); }
.clight figure { position: relative; margin: 0; min-height: 0; }
.clight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.clight-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.clight-bar .btn { min-height: 54px; }
.clight-bar [data-go] { width: 58px; padding: 0; font-size: 22px; }
.clight-bar .btn.is-picked { background: var(--grad); color: #000; }
.c-done .pagehead h1 { font-size: clamp(44px, 8vw, 110px); }
.cdone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 0 0 28px; }
.cdone-grid figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #111; }
.cdone-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.cdone-grid .ct-n { left: 6px; top: 6px; min-width: 28px; height: 28px; font-size: 14px; }
.cdone-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hold-out { min-height: 54px; }
.pick-exit { display: block; min-height: 46px; margin: 0 0 16px auto; } /* top right of the client screen: the photographer's way out */
.shots-head { display: grid; gap: 12px; margin: 0 0 18px; }
.shots-prog { margin: 0; font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.shots-prog b { color: var(--txt); font: 800 26px/1 var(--head); letter-spacing: -.02em; margin-right: 6px; }
.shots-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.shots-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .5s var(--ease); }
.shots-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.shots { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: rgba(10, 12, 17, .88); }
.shot-ph { position: relative; margin: 0; height: min(60vh, 520px); overflow: hidden; isolation: isolate; background: #05060a; }
.shot-ph::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover; filter: blur(26px) brightness(.42) saturate(1.15); }
.shot-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s, filter .4s; }
.shot-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px 18px; }
.shot-top { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; }
.shot-body .say { margin: 0; width: 100%; font-size: clamp(18px, 1.8vw, 21px); }
.shot-hint { margin: 0; color: var(--dim); max-width: 60ch; }
.shot-card { display: inline-flex; align-items: center; min-height: 44px; color: var(--cyan); font: 600 14px var(--head); text-decoration: none; }
.shot-tick { margin-top: auto; min-height: 50px; }
.shot-tick[aria-pressed="true"] { background: var(--green); color: #00150b; box-shadow: none; }
.shot.is-shot .shot-ph img { opacity: .5; filter: grayscale(.5); }
.shot.is-shot { border-color: rgba(56, 248, 167, .45); }
.shots-empty .btn { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .ct img, .ct-n, .shots-bar i { transition: none; } }

@media (min-width: 900px) and (min-height: 560px) {
  body { padding-bottom: 40px; }
  .top { padding-top: 30px; }
  .top .brand, .top-where { visibility: hidden; }
  /* env(safe-area-inset-top): on the iPad Home Screen app the status bar sits over the page, so every top offset adds it */
  .dock { top: calc(22px + env(safe-area-inset-top)); bottom: auto; width: auto; padding: 10px 10px 10px 20px; gap: 6px; }
  .dock { transition: top .6s cubic-bezier(.2, .9, .2, 1); }
  body:has(.wx-nb.is-on) .dock { top: calc(78px + env(safe-area-inset-top)); }
  .dock .id { flex: none; width: 160px; }
  .dock .brand.small { display: flex; min-height: 0; position: relative; }
  .dock .brand.small::after { content: ""; position: absolute; inset: -16px -10px; } /* a 45 px tap area for a finger on iPad, with no change to the look */
  .navi { flex: none; padding: 6px 12px 10px; font-size: 12.5px; }
  .go { padding: 15px 20px; } .go .go-more { display: inline; margin-left: .55em; }
  .meter-chip { bottom: auto; top: 12px; }
  .dock .id:has(.meter.is-live) .where { opacity: 1; }
  .deck-nav { bottom: 16px; }
  main { padding-top: calc(60px + env(safe-area-inset-top)); }
  .coursebar { top: calc(108px + env(safe-area-inset-top)); width: max-content; max-width: 100%; margin: 0 0 22px; padding: 6px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(6, 7, 10, .88); }
  .anchor { scroll-margin-top: calc(166px + env(safe-area-inset-top)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; column-gap: 40px; min-height: calc(100vh - 150px); }
  .hero .sign-wrap { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scnlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scnpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 560px); gap: 0 28px; align-items: start; }
  .scnpage > .pagehead, .scnpage > .coursebar { grid-column: 1 / -1; }
  .scn-main { grid-column: 1; min-width: 0; }
  /* --lab-h comes from app.js. A lab taller than the screen gets a negative top: it scrolls with the page until its
     end shows 20 px above the bottom, then stays. No inner scroll box. */
  .scn-lab { grid-column: 2; grid-row: 3 / span 2; align-self: start; position: sticky; top: calc(176px + env(safe-area-inset-top)); top: min(calc(176px + env(safe-area-inset-top)), calc(100dvh - var(--lab-h, 0px) - 20px)); }
  .calcs { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 0 16px; align-items: start; }
  .posegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .poses-top { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 40px; align-items: start; }
  .lightgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
}
@media (min-width: 1500px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } .posegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 380px) { .trio { grid-template-columns: minmax(0, 1fr); } .form { grid-template-columns: minmax(0, 1fr); } .rows div { grid-template-columns: 92px minmax(0, 1fr); } .dock .id { flex-basis: 84px; } .where { letter-spacing: .08em; } .dp-day b { font-size: 18px; } }
@media (max-height: 500px) and (orientation: landscape) {
  .navi .ico { display: none; }
  .navi { padding: 10px 2px; }
  .dock { padding: 5px 6px 5px 14px; bottom: calc(6px + env(safe-area-inset-bottom)); }
  .go { min-height: 40px; }
  .coursebar { padding-top: calc(env(safe-area-inset-top) + 4px); padding-bottom: 4px; }
  .deck-nav { bottom: calc(64px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .fi-js [data-fi], .lr-js .lr-ln > span { opacity: 1; filter: none; transform: none; }
}

/* pose families (2026-11-19): the card counter has 3 digits now (47 / 102), keep it and the photo credit on one line */
.pose-ph .pose-top > span:not(.tag), .ph-credit { white-space: nowrap; }
/* the Poses page big view has a Steps button: "‹ Steps ›" on the first row, "Add to shot list" and "Close" under it on a phone */
.clight-bar.has-steps [data-go="-1"] { order: 0; }
.clight-bar.has-steps [data-steps] { order: 1; padding: 6px 20px; line-height: 1.15; text-align: center; }
.clight-bar.has-steps [data-go="1"] { order: 2; }
.clight-bar.has-steps [data-pick] { order: 3; }
.clight-bar.has-steps [data-close] { order: 4; }
@media (max-width: 700px) {
  .clight-bar.has-steps [data-steps] { flex: 1 1 calc(100% - 136px); }
  .clight-bar.has-steps [data-pick] { flex: 1 1 auto; }
}
