/* ═══════════════════════════════════════════════════════════════════════
 * /portal/portal.css — the portal page after a web park setup
 * (views/portal/page.ejs, web-setup round, Oct 2026).
 *
 * Loaded AFTER /setup/setup.css and built on its tokens (--su-*), buttons,
 * cards, choices, fields and the white check. Same look: black page, white
 * ink, white hairlines, ~12% white fills, Zalando Sans Expanded for numbers
 * and titles, DM Sans for the rest, tabular numbers.
 * No <style> blocks, no style="" attributes: JS sets classes and custom
 * properties only (--pp-pct, --pp-fill, --pp-h).
 * Sections: frame · sections · now playing · game + players · feed ·
 * videos + viewer · jukebox · sign-in · settings panels · panel contents ·
 * upgrade · resting · motion.
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── frame ─────────────────────────────────────────────────────────── */
.pp-app {
  width: 100%;
  max-width: var(--su-max);
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) var(--su-gutter) calc(64px + env(safe-area-inset-bottom));
}
/* The portal page borrows setup.css, whose ONE-SCREEN-PER-STEP rule locks body.su to the viewport
   (height 100dvh, overflow hidden). The portal page is a normal scrolling page: undo that here. */
body.su.pp { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
body.su.pp.pp-noscroll { overflow: hidden; }
.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 4px; min-height: 52px; }
.pp-has-switch .su-brand__text { display: none; }
@media (min-width: 520px) { .pp-has-switch .su-brand__text { display: block; } }
.pp-switch {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2);
}
.pp-switch__btn {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--su-ink-3); font: 600 15px/1 var(--su-body);
  transition: background 180ms var(--su-ease), color 180ms;
}
.pp-switch__btn.is-on { background: var(--su-ink); color: var(--su-bg); }
.pp-park { padding: 22px 0 2px; }
.pp-park .su-eyebrow { margin-bottom: 6px; }
.pp-park__name { margin: 0; font: 800 30px/1.08 var(--su-display); letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: anywhere; }
@media (min-width: 720px) { .pp-park { padding-top: 40px; } .pp-park__name { font-size: 42px; } }

/* ── sections ──────────────────────────────────────────────────────── */
.pp-view { opacity: 0; transform: translateY(14px); transition: opacity 360ms var(--su-ease), transform 420ms var(--su-ease); }
.pp-view.is-in { opacity: 1; transform: none; }
.pp-sec { padding-top: 40px; }
.pp-sec + .pp-sec { margin-top: 8px; border-top: 1px solid var(--su-line-2); }
.pp-boot { padding-top: 36px; }
.pp-head { margin: 0 0 20px; }
.pp-num {
  font: 800 52px/0.9 var(--su-display); letter-spacing: -0.03em;
  font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0;
  margin: 0 0 10px;
}
.pp-title { margin: 0; font: 800 24px/1.15 var(--su-display); letter-spacing: -0.01em; text-wrap: balance; }
.pp-title--big { font-size: 30px; }
.pp-sub { margin: 10px 0 0; font-size: 17px; color: var(--su-ink-3); text-wrap: pretty; }
@media (min-width: 720px) { .pp-num { font-size: 72px; } .pp-title { font-size: 30px; } .pp-title--big { font-size: 38px; } }
.pp-label { margin: 22px 0 10px; font-size: 15px; font-weight: 600; color: var(--su-ink-3); }
.pp-skel-card { height: 220px; border-radius: var(--su-radius); margin-top: 18px; }
.pp-skel-line { height: 56px; border-radius: 16px; }
.pp-skel-cal { height: 360px; border-radius: var(--su-radius); }
.pp-empty__title { margin: 0; font: 800 18px/1.2 var(--su-display); }
.pp-empty .su-muted { margin-top: 6px; }

.pp-chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--su-line); color: var(--su-ink-2);
  font: 600 13px/1 var(--su-body); letter-spacing: 0.08em; text-transform: uppercase;
}
.pp-chip--live { color: var(--su-ink); box-shadow: inset 0 0 0 1.5px var(--su-ink-2); }
.pp-chip--live::before, .pp-player.is-live .pp-avatar::after, .pp-feed__dot.is-live, .pp-hs__icon.is-online::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--su-ink);
  animation: pp-pulse 1.6s ease-in-out infinite;
}
@keyframes pp-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }
.pp-tag { display: inline-block; margin: 8px 0 0; padding: 4px 10px; border-radius: 8px; background: var(--su-fill); font: 600 12px/1.2 var(--su-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--su-ink-2); }

/* title card (2:3 poster, else a typographic card) */
.pp-card {
  position: relative; flex: 0 0 auto; overflow: hidden;
  aspect-ratio: 2 / 3; border-radius: 16px;
  background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2);
}
.pp-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-card--type {
  display: flex; align-items: center; justify-content: center; padding: 12%;
  background: var(--su-fill); box-shadow: inset 0 0 0 2px var(--su-ink);
}
.pp-card__logo { width: 100%; height: auto; max-height: 60%; object-fit: contain; }
.pp-card__name { font: 800 22px/1.08 var(--su-display); text-align: center; overflow-wrap: anywhere; text-wrap: balance; }
.pp-card--empty { box-shadow: inset 0 0 0 1.5px var(--su-line); background: transparent; }

/* ── now playing ───────────────────────────────────────────────────── */
.pp-now { display: flex; align-items: center; gap: 20px; }
.pp-card--now { width: 44%; max-width: 220px; }
.pp-card--now .pp-card__name { font-size: 20px; }
.pp-now__text { min-width: 0; flex: 1 1 auto; }
.pp-now__name { margin: 0; font: 800 26px/1.1 var(--su-display); overflow-wrap: anywhere; text-wrap: balance; }
.pp-now__next { margin: 16px 0 0; font-size: 16px; color: var(--su-ink-2); }
.pp-now__nextlabel { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--su-ink-4); }
@media (min-width: 720px) { .pp-now__name { font-size: 34px; } }

/* ── the game: timer + players ─────────────────────────────────────── */
.pp-status { padding: 20px; border-radius: var(--su-radius); background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2); }
.pp-status--running, .pp-status--open { box-shadow: inset 0 0 0 1.5px var(--su-ink-2); }
.pp-status--idle { display: flex; align-items: center; gap: 16px; }
.pp-status__art { flex: 0 0 64px; width: 64px; }
.pp-status__art svg, .pp-hs__icon svg { width: 100%; height: auto; display: block; fill: var(--su-fill); stroke: var(--su-ink); stroke-width: 2; stroke-linejoin: round; }
.pp-status__text .su-muted { margin-top: 4px; }
.pp-status__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pp-status__big { margin: 0; font: 800 56px/1 var(--su-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pp-status__big--sm { font-size: 22px; line-height: 1.2; letter-spacing: 0; }
.pp-status__label { margin: 0; font-size: 18px; font-weight: 600; color: var(--su-ink-2); }
.pp-status__meta { margin-top: 12px; }
.pp-bar { margin-top: 16px; height: 8px; border-radius: 99px; background: var(--su-fill); overflow: hidden; }
.pp-bar__fill { height: 100%; width: var(--pp-pct, 100%); border-radius: 99px; background: var(--su-ink); transition: width 900ms linear; }

.pp-players { list-style: none; margin: 14px 0 0; padding: 0; }
.pp-player {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 10px 2px; border-bottom: 1px solid var(--su-line-2);
  animation: pp-rise 380ms var(--su-ease) both;
}
.pp-player:last-child { border-bottom: 0; }
.pp-player__rank { flex: 0 0 18px; font: 800 14px/1 var(--su-display); color: var(--su-ink-4); text-align: center; }
.pp-avatar {
  position: relative; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--su-fill); box-shadow: inset 0 0 0 2px var(--su-ink-2);
}
.pp-avatar__n { font: 700 13px/1 var(--su-body); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.pp-player.is-claimed .pp-avatar { background: var(--su-ink); box-shadow: none; }
.pp-player.is-claimed .pp-avatar svg { width: 22px; height: 22px; fill: none; stroke: var(--su-bg); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-player.is-live .pp-avatar::after { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; box-shadow: 0 0 0 3px var(--su-bg); }
.pp-player__who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-player__name { font: 700 18px/1.2 var(--su-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-player__meta { font-size: 14px; color: var(--su-ink-3); }
.pp-player__score { flex: 0 0 auto; font: 800 24px/1 var(--su-display); font-variant-numeric: tabular-nums; }
.pp-player__score.is-none { color: var(--su-ink-4); }

/* ── feed ──────────────────────────────────────────────────────────── */
.pp-feedhead { margin-top: 26px; }
.pp-feed { list-style: none; margin: 0; padding: 0; }
.pp-feed__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-feed__row:last-child { border-bottom: 0; }
.pp-feed__thumb {
  flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--su-fill); box-shadow: inset 0 0 0 1px var(--su-line-2); cursor: pointer;
}
.pp-feed__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
span.pp-feed__thumb { cursor: default; }
.pp-feed__dot { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; }
.pp-feed__dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--su-ink-4); }
.pp-feed__dot.is-live { width: 8px; height: 8px; flex: 0 0 8px; margin: 0 18px; }
.pp-feed__dot.is-live::before { content: none; }
.pp-feed__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-feed__statement { font-size: 16px; line-height: 1.35; color: var(--su-ink-2); text-wrap: pretty; }
.pp-feed__time { font-size: 13px; color: var(--su-ink-4); }

/* ── videos + viewer ───────────────────────────────────────────────── */
.pp-reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px;
  margin: 0 calc(-1 * var(--su-gutter)); padding: 0 var(--su-gutter) 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.pp-reel::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .pp-reel { grid-auto-columns: 28%; } }
.pp-clipgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-clip {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; cursor: pointer;
  aspect-ratio: 9 / 16; border-radius: 14px; scroll-snap-align: start;
  background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2);
  transition: transform 140ms var(--su-ease);
}
.pp-clip:active { transform: scale(0.97); }
.pp-clip__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-clip__play {
  position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 2px var(--su-ink);
}
.pp-clip__play svg, .pp-game__plus svg { width: 22px; height: 22px; fill: var(--su-ink); }
.pp-clip__dur { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); font: 600 12px/1 var(--su-body); }

.pp-viewer {
  position: fixed; inset: 0; z-index: 90; overflow: hidden;
  background: #000; opacity: 0; transition: opacity 220ms var(--su-ease);
}
.pp-viewer.is-on { opacity: 1; }
/* The clip fills the screen (Aidan): full-bleed, cover, no letterbox. */
.pp-viewer__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.pp-viewer__close { position: absolute; z-index: 2; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.pp-viewer__close svg, .pp-game__x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.pp-viewer__paused {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; pointer-events: none;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff;
}
.pp-viewer__paused[hidden] { display: none; }
.pp-viewer__paused svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
/* Bottom: "Download Video" (the page's big white button) and the round share button to its right. */
.pp-viewer__bar {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: var(--su-max); margin: 0 auto; padding: 0 var(--su-gutter);
}
/* Aidan: the pill is brand purple with white type; the share circle is exactly as tall as the pill (56px, the
   .pp-cta__btn height) and otherwise the same button as the close X. */
/* Four classes on purpose: beats body.pp-has-tix(.pp-report-main) .pp-cta__btn, which recolours the page's own pill. */
.pp-viewer .pp-viewer__bar .pp-cta__btn.pp-viewer__dl { flex: 1 1 auto; width: auto; background: #6a40f0; color: #fff; }
/* The share circle IS the close X's button (.pp-round: same fill, no ring, same stroke), only as tall as the pill. */
.pp-viewer__bar .pp-viewer__sharebtn { width: 56px; height: 56px; flex: none; text-decoration: none; }
.pp-viewer__bar .pp-viewer__sharebtn svg { width: 24px; height: 24px; stroke-width: 2.4; }

/* ── jukebox ───────────────────────────────────────────────────────── */
.pp-juke, .pp-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 720px) { .pp-juke, .pp-games { grid-template-columns: repeat(4, 1fr); } }
.pp-jtile {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; cursor: pointer;
  background: none; text-align: left; transition: transform 140ms var(--su-ease);
}
.pp-jtile:active { transform: scale(0.96); }
.pp-jtile--skel, .pp-game--skel { aspect-ratio: 2 / 3; border-radius: 14px; }
.pp-card--tile { width: 100%; border-radius: 14px; }
.pp-card--tile .pp-card__name { font-size: 15px; }
.pp-jtile__name, .pp-game__name { font: 700 15px/1.2 var(--su-body); overflow-wrap: anywhere; }
.pp-jtile__tag { margin: 0; align-self: flex-start; font-size: 11px; padding: 3px 8px; }
.pp-jtile__state { font-size: 13px; font-weight: 600; color: var(--su-ink-3); }
.pp-jtile.is-queued .pp-jtile__tag { margin: 0; align-self: flex-start; font-size: 11px; padding: 3px 8px; }
.pp-jtile__state { color: var(--su-ink); }
.pp-jtile.is-queued .pp-card--tile { box-shadow: inset 0 0 0 2.5px var(--su-ink); }
.pp-jtile.is-busy { opacity: 0.6; pointer-events: none; }
.pp-jtile .su-cele, .pp-game .su-cele { border-radius: 14px; min-height: 0; padding: 8px; }
.pp-jtile .su-cele__mark, .pp-game .su-cele__mark { width: 64px; height: 64px; }
.pp-jtile .su-cele__text, .pp-game .su-cele__text { font-size: 15px; margin-top: 8px; }

/* ── sign in, then pick your player ────────────────────────────────── */
.pp-auth__lede { margin: 0 0 16px; font-size: 18px; color: var(--su-ink); text-wrap: pretty; }
.pp-auth__msg { margin: 12px 0 0; font-size: 15px; color: var(--su-ink-2); }
.pp-auth__msg.is-error { color: var(--su-ink); font-weight: 600; }
.pp-auth__msg.is-error::before { content: '! '; font-weight: 800; }
.pp-auth__links { display: flex; justify-content: center; margin-top: 6px; }
.pp-form .su-field { margin-bottom: 14px; }
.pp-code { font: 800 28px/1 var(--su-display); letter-spacing: 0.32em; text-align: center; font-variant-numeric: tabular-nums; }
.pp-choice__text { display: flex; flex-direction: column; min-width: 0; }
.pp-pick__q { margin: 0 0 12px; font: 800 20px/1.2 var(--su-display); }
.pp-pick { display: flex; flex-direction: column; gap: 10px; }
.pp-pick__btn.is-busy { opacity: 0.7; pointer-events: none; }
.pp-auth .su-btn--ghost { margin-top: 16px; }

/* ── settings panels ───────────────────────────────────────────────── */
.pp-settop { padding-top: 28px; }
.pp-settop:empty { padding-top: 12px; }
.pp-trial { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pp-trial__big { margin: 0; font: 800 22px/1.15 var(--su-display); }
.pp-trial .su-muted { margin-top: 4px; }
.pp-panels { list-style: none; margin: 18px 0 0; padding: 0; }
.pp-panel { border-bottom: 1px solid var(--su-line-2); }
.pp-panel__head {
  display: flex; align-items: center; gap: 16px; width: 100%;
  min-height: 84px; padding: 16px 2px; border: 0; background: none; cursor: pointer; text-align: left;
}
.pp-panel__num {
  flex: 0 0 64px; font: 800 30px/1 var(--su-display); letter-spacing: -0.03em;
  font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0; color: var(--su-ink-4);
  transition: color 180ms;
}
.pp-panel.is-open .pp-panel__num, .pp-panel__head:hover .pp-panel__num { color: var(--su-ink); }
.pp-panel__tt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pp-panel__title { font: 800 19px/1.2 var(--su-display); }
.pp-panel__sum { font-size: 15px; color: var(--su-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-panel__chev { flex: 0 0 28px; width: 28px; height: 28px; transition: transform 260ms var(--su-ease); }
.pp-panel__chev svg { width: 100%; height: 100%; fill: none; stroke: var(--su-ink-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-panel.is-open .pp-panel__chev { transform: rotate(180deg); }
.pp-panel__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 340ms var(--su-ease); }
.pp-panel.is-open .pp-panel__body { grid-template-rows: 1fr; }
.pp-panel__inner { min-height: 0; overflow: hidden; }
.pp-panel.is-open .pp-panel__inner { padding: 0 0 26px; overflow: visible; animation: pp-rise 360ms var(--su-ease) both; }
.pp-panel__inner > :first-child { margin-top: 0; }
@media (max-width: 380px) { .pp-panel__num { flex-basis: 48px; font-size: 24px; } }

/* .01 what's playing */
.pp-setnow { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: var(--su-radius); background: var(--su-fill-2); box-shadow: inset 0 0 0 1.5px var(--su-ink-2); }
.pp-card--mini { width: 64px; border-radius: 10px; }
.pp-card--mini .pp-card__name { font-size: 10px; }
.pp-setnow__text .su-eyebrow { margin-bottom: 4px; }
.pp-setnow__name { margin: 0; font: 800 20px/1.15 var(--su-display); overflow-wrap: anywhere; }
.pp-game { position: relative; display: flex; flex-direction: column; gap: 6px; }
.pp-game__btn { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; transition: transform 140ms var(--su-ease); }
.pp-game__btn:active { transform: scale(0.96); }
.pp-game.is-playing .pp-card--tile { box-shadow: inset 0 0 0 2.5px var(--su-ink); }
.pp-game__btn { position: relative; }
.pp-game__badge { position: absolute; left: 8px; bottom: 8px; padding: 5px 9px; border-radius: 999px; background: var(--su-ink); color: var(--su-bg); font: 700 12px/1 var(--su-body); letter-spacing: 0.04em; }
.pp-game.is-busy, .pp-game.is-added { opacity: 0.55; }
.pp-game.is-added .pp-game__btn { cursor: default; }
.pp-game .su-tick { position: absolute; top: 8px; right: 8px; background: var(--su-bg); }
.pp-game__x {
  position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.62); box-shadow: inset 0 0 0 1.5px var(--su-line);
}
.pp-game__x svg { width: 16px; height: 16px; }
.pp-game--add {
  aspect-ratio: 2 / 3; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px; cursor: pointer; color: var(--su-ink);
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--su-line);
}
.pp-game--add:hover { background: var(--su-fill-2); }
.pp-game__plus { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px var(--su-ink-2); }
.pp-game__plus svg { fill: none; stroke: var(--su-ink); stroke-width: 2.4; stroke-linecap: round; }
.pp-catalog { margin-top: 8px; padding-top: 4px; border-top: 1px dashed var(--su-line); }
.pp-catalog__done { margin-top: 16px; }

/* .02 play length */
.pp-length__val { display: flex; align-items: baseline; gap: 10px; }
.pp-length__big { font: 800 64px/1 var(--su-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pp-length__unit { font-size: 18px; font-weight: 600; color: var(--su-ink-2); }
.pp-range {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 14px 0 0; background: transparent; cursor: pointer;
}
.pp-range::-webkit-slider-runnable-track {
  height: 10px; border-radius: 99px;
  background: linear-gradient(to right, var(--su-ink) 0, var(--su-ink) var(--pp-fill, 50%), var(--su-fill-3) var(--pp-fill, 50%));
}
.pp-range::-moz-range-track { height: 10px; border-radius: 99px; background: var(--su-fill-3); }
.pp-range::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--su-ink); }
.pp-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%;
  background: var(--su-ink); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}
.pp-range::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--su-ink); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14); }
.pp-range__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--su-ink-4); }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pp-chipbtn {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--su-line); color: var(--su-ink-2);
  font: 600 15px/1 var(--su-body); font-variant-numeric: tabular-nums;
}
.pp-chipbtn.is-on { background: var(--su-ink); color: var(--su-bg); box-shadow: none; }
.pp-savenote { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 15px; color: var(--su-ink-3); }
.pp-savenote .su-tick { margin-left: 0; flex: 0 0 auto; order: -1; }
/* Play time: the shared picker (/setup/length-picker.js, .sf-len in setup.css) */
.pp-length .sf-len__game { margin: 14px 0 16px; }
.pp-length .sf-len { margin: 0; padding: 20px 12px 16px; }
/* Session timing (Nov 9 2026): the panel is narrower than the setup step, so a two-digit "15m" pushed + off the edge. */
.pp-length .sf-len__num { min-width: 0; white-space: nowrap; font-size: clamp(56px, 18vw, 88px); }
.pp-gamecard { margin-top: 20px; }
.pp-gamecard__t { margin: 0; font: 800 18px/1.2 var(--su-display); }
.pp-gamecard .su-btn { margin-top: 14px; }

/* .03 headsets */
.pp-hs { list-style: none; margin: 0 0 14px; padding: 0; }
.pp-hs__row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 0; border-bottom: 1px solid var(--su-line-2); transition: opacity 240ms, transform 240ms var(--su-ease); }
.pp-hs__row:last-child { border-bottom: 0; }
.pp-hs__row.is-new { animation: pp-rise 420ms var(--su-ease) both; }
.pp-hs__row.is-gone { opacity: 0; transform: translateX(-20px); }
.pp-hs__row .su-tick { margin-left: 0; }
.pp-hs__icon { position: relative; flex: 0 0 44px; width: 44px; opacity: 0.65; }
.pp-hs__icon.is-online { opacity: 1; }
.pp-hs__icon.is-online::after { position: absolute; right: -3px; top: -3px; box-shadow: 0 0 0 3px var(--su-bg); }
.pp-hs__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-hs__name { font: 700 17px/1.2 var(--su-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-hs__meta { font-size: 14px; color: var(--su-ink-3); }
.pp-hs__rm { min-height: 44px; padding: 0 4px; font-size: 15px; }
.pp-hs__empty { padding: 12px 0; color: var(--su-ink-3); }
/* Headset names (Oct 27 2026): the name is the rename button. */
.pp-hs__namebtn { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 28px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pp-hs__namebtn .pp-hs__name { min-width: 0; }
.pp-hs__pen { flex: 0 0 16px; width: 16px; height: 16px; color: var(--su-ink-3); }
.pp-hs__pen svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-hs__namebtn:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 3px; border-radius: 6px; }
.pp-hs__row.is-editing { align-items: flex-start; }
.pp-hs__row.is-editing .pp-hs__icon { margin-top: 6px; }
.pp-hs__form { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0 5px 0 0; }
.pp-hs__input { width: 100%; height: 52px; min-height: 52px; font-size: 17px; }
.pp-hs__actions { display: flex; align-items: center; gap: 14px; }
.pp-hs__save { min-height: 44px; padding: 0 22px; }
.pp-hs__cancel { min-height: 44px; font-size: 15px; }
.pp-hs__err { margin: 0; font-size: 14px; color: var(--su-danger, #ff8a8a); }
/* Headset avatars (Oct 27 2026, public/headset-avatars): the noun's avatar replaces the Quest image.
 * Same size and place in the list row and in the edit row; the edit row centres it on the name field. */
.pp-hs__avbtn { flex: 0 0 auto; display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-hs__avbtn:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 3px; }
.pp-hs__av { position: relative; display: block; width: 52px; height: 52px; border-radius: 50%; }
.pp-hs__avimg { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pp-hs__av.is-online::after { content: ''; position: absolute; right: 1px; top: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--su-ink); box-shadow: 0 0 0 2px var(--su-bg); animation: pp-pulse 1.6s ease-in-out infinite; }
/* Small pencil badge on the avatar's corner, inside its bounds: it can be tapped. */
.pp-hs__avpen { position: absolute; z-index: 2; right: 0; bottom: 0; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--su-ink); color: var(--su-bg); box-shadow: 0 0 0 2px var(--su-bg); }
.pp-hs__avpen svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pp-hs__avbtn.is-open .pp-hs__av::before { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--su-ink), inset 0 0 0 5px rgba(0, 0, 0, 0.55); pointer-events: none; z-index: 1; }
.pp-hs__row.is-editing .pp-hs__avbtn { margin-top: 0; }
.pp-hspick { list-style: none; padding: 4px 0 14px; border-bottom: 1px solid var(--su-line-2); }
.pp-hspick__t { margin: 0 0 10px; font-size: 14px; color: var(--su-ink-3); }
.pp-hspick__grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; }
.pp-hspick__opt { position: relative; display: block; margin: 0; padding: 0; border: 0; background: none; border-radius: 50%; aspect-ratio: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-hspick__img { display: block; width: 100%; height: 100%; border-radius: 50%; }
/* The selection ring is drawn INSIDE the tile, so the grid's edges can never clip it. */
.pp-hspick__opt.is-on::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--su-ink), inset 0 0 0 6px rgba(0, 0, 0, 0.55); pointer-events: none; }
.pp-hspick__opt:focus-visible { outline: 2px solid var(--su-ink); outline-offset: -4px; }
/* …and beside a guest's name on the guest page. */
.pp-av--pic { background: none; }
.pp-av__img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.pp-podium__av { display: block; width: 44px; height: 44px; border-radius: 50%; }
.pp-best__av { width: 36px; height: 36px; border-radius: 50%; margin-bottom: 4px; }
.pp-pick__av { flex: none; width: 40px; height: 40px; border-radius: 50%; margin-right: 12px; }
.pp-adding { text-align: center; }
.pp-adding__ring {
  width: 96px; height: 96px; margin: 4px auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px var(--su-ink); position: relative;
}
.pp-adding__ring::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; box-shadow: 0 0 0 2px var(--su-ink-3); animation: pp-ring 1.8s var(--su-ease) infinite; }
.pp-adding__ring svg { width: 40px; height: 40px; fill: var(--su-ink); }
@keyframes pp-ring { from { transform: scale(0.85); opacity: 0.9; } to { transform: scale(1.25); opacity: 0; } }
.pp-adding__t { margin: 0 0 6px; font: 800 20px/1.25 var(--su-display); text-wrap: balance; }
.pp-adding .su-btn { margin-top: 18px; }

/* .04 line up the QR */
.pp-cal { margin: 0 calc(-1 * var(--su-gutter)); padding: 0 var(--su-gutter); }

/* .05 extras */
.pp-extras { display: flex; flex-direction: column; }
.pp-toggle { position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--su-line-2); cursor: pointer; }
.pp-toggle:last-child { border-bottom: 0; }
.pp-toggle__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; position: relative; }
.pp-toggle__title { font: 800 17px/1.2 var(--su-display); }
.pp-toggle__sub { font-size: 15px; color: var(--su-ink-3); padding-right: 6px; }
.pp-toggle__text .su-tick { position: absolute; right: 0; top: 0; }
.pp-toggle__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pp-toggle__sw {
  flex: 0 0 56px; height: 34px; border-radius: 99px; position: relative;
  background: var(--su-fill-3); transition: background 200ms var(--su-ease);
}
.pp-toggle__sw::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--su-ink-2); transition: transform 220ms var(--su-ease), background 200ms;
}
.pp-toggle__input:checked + .pp-toggle__sw { background: var(--su-ink); }
.pp-toggle__input:checked + .pp-toggle__sw::after { transform: translateX(22px); background: var(--su-bg); }
.pp-toggle__input:focus-visible + .pp-toggle__sw { outline: 3px solid var(--su-ink); outline-offset: 3px; }
/* A switch that is always on (Extras → Phones): shown, never toggled. */
.pp-toggle--locked { cursor: default; }
.pp-toggle--locked .pp-toggle__sw { opacity: 0.45; }

/* .07 plays and sessions */
.pp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-tile { padding: 16px; border-radius: 16px; background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2); display: flex; flex-direction: column; gap: 6px; }
.pp-tile__v { font: 800 30px/1 var(--su-display); font-variant-numeric: tabular-nums; }
.pp-tile__k { font-size: 14px; color: var(--su-ink-3); }
.pp-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding: 0 2px; }
.pp-bars__col { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.pp-bars__bar { width: 100%; max-width: 36px; height: max(3px, var(--pp-h, 0%)); border-radius: 6px 6px 2px 2px; background: var(--su-ink); transform-origin: bottom; animation: pp-grow 520ms var(--su-ease) both; }
.pp-bars__n { font: 700 13px/1 var(--su-body); color: var(--su-ink-2); min-height: 13px; }
.pp-bars__d { font-size: 12px; color: var(--su-ink-4); }
@keyframes pp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.pp-sessions { list-style: none; margin: 0; padding: 0; }
.pp-sessions__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-sessions__row:last-child { border-bottom: 0; }
.pp-sessions__when { font-weight: 600; }
.pp-sessions__what { grid-column: 1; font-size: 15px; color: var(--su-ink-3); }
.pp-sessions__end { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 14px; color: var(--su-ink-3); }
.pp-sessions__empty { color: var(--su-ink-3); padding: 8px 0; }

/* ── upgrade ───────────────────────────────────────────────────────── */
.pp-upgrade .su-choices { margin-bottom: 16px; }
.pp-upgrade--inline { margin-bottom: 4px; }
.pp-stepper { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }
.pp-stepper__label { flex: 1 1 auto; font-weight: 600; color: var(--su-ink-2); }
.pp-stepper__btn {
  width: var(--su-tap); height: var(--su-tap); border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--su-line); color: var(--su-ink); font: 600 26px/1 var(--su-body);
}
.pp-stepper__btn:active { background: var(--su-fill); }
.pp-stepper__val { min-width: 48px; text-align: center; font: 800 32px/1 var(--su-display); font-variant-numeric: tabular-nums; }
.pp-total { margin: 10px 0 16px; font: 800 26px/1.1 var(--su-display); }
.pp-fine { text-align: center; }

/* ── resting ───────────────────────────────────────────────────────── */
.pp-unavail { display: grid; min-height: calc(100dvh - 96px); overflow: hidden; }
.pp-unavail > * { grid-area: 1 / 1; }
.pp-unavail__page { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; filter: blur(6px); opacity: 0.8; pointer-events: none; user-select: none; }
.pp-unavail__card { width: min(72%, 300px); aspect-ratio: 2 / 3; margin: 0 auto; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #6a40f0, #2a0f8a); }
.pp-unavail__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-unavail__h { margin: 10px 0 -4px; font: 800 22px var(--su-display); color: var(--su-ink); }
.pp-unavail__block { height: 120px; border-radius: 22px; background: rgba(255, 255, 255, 0.22); }
.pp-unavail__row { height: 56px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); }
.pp-unavail__msg { position: relative; justify-self: center; align-self: start; margin: 18vh 0 24px; width: min(100%, 360px); padding: 26px 24px; border-radius: 24px; background: rgba(0, 0, 0, 0.78); box-shadow: inset 0 0 0 1px var(--su-line-2); text-align: center; }
.pp-unavail__msg .su-title { margin: 0; font-size: 27px; }
.pp-unavail__msg .su-sub { margin: 8px 0 0; }
.pp-unavail__msg--team { margin-top: 10vh; }
.pp-unavail__acts { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pp-unavail__note { margin: 2px 0 6px; font-size: 13px; line-height: 1.4; color: var(--su-ink-2); }
.pp-unavail__mark { display: block; width: 26px; height: 30px; margin: 0 auto 16px; border-left: 8px solid var(--su-ink); border-right: 8px solid var(--su-ink); }

/* ── motion ────────────────────────────────────────────────────────── */
@keyframes pp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pp-view, .pp-panel__body, .pp-bar__fill { transition: none; }
  .pp-player, .pp-hs__row.is-new, .pp-panel.is-open .pp-panel__inner, .pp-bars__bar,
  .pp-adding__ring::after, .pp-chip--live::before, .pp-player.is-live .pp-avatar::after, .pp-feed__dot.is-live, .pp-hs__icon.is-online::after, .pp-hs__av.is-online::after { animation: none; }
}

/* Zalando's tabular zero is slashed; big numbers read as plain digits. */
.pp-status__big, .pp-player__score, .pp-length__big, .pp-tile__v, .pp-stepper__val, .pp-total, .pp-code {
  font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0;
}

/* ── Games: the park library (web-setup §7, library-server) ───────── */
.pp-lib, .pp-libhs { list-style: none; margin: 0; padding: 0; }
.pp-lib__toggle .pp-toggle { border-bottom: 1px solid var(--su-line-2); }
.pp-lib__row, .pp-libhs__row { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 10px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-lib__row:last-child, .pp-libhs__row:last-child { border-bottom: 0; }
.pp-lib__row .pp-card--mini { flex: 0 0 52px; width: 52px; }
.pp-lib__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-lib__name { font: 700 17px/1.2 var(--su-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-lib__meta { font-size: 14px; color: var(--su-ink-2); }
.pp-lib__ver { font-size: 13px; color: var(--su-ink-3); font-variant-numeric: tabular-nums; }
.pp-lib__rm { flex: 0 0 auto; min-height: 44px; padding: 0 4px; font-size: 15px; }
.pp-lib__ok { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--su-ink); display: grid; place-items: center; }
.pp-lib__ok svg { width: 16px; height: 16px; fill: none; stroke: var(--su-bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pp-lib__add { margin-top: 12px; }
/* Force download (Nov 17 2026), under the headset rows: its confirm line is a sentence, so it may wrap on a phone. */
.pp-lib__force { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
.pp-lib__force[hidden] { display: none; }
/* a touch screen keeps :hover on the last thing tapped: the outline must not stay bright after the tap */
@media (hover: none) { .pp-lib__force:hover { box-shadow: inset 0 0 0 1.5px var(--su-line); } }
.pp-libhs__bar { margin-top: 8px; height: 6px; }
/* App closed on the headset (Oct 28 2026): one line that never wraps, and the bar greyed and still. */
.pp-libhs__paused { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-libhs__bar--paused { opacity: 0.5; }
.pp-libhs__bar--paused .pp-bar__fill { background: var(--su-ink-3); transition: none; }

/* Headset product images (headset-images agent), 3:2 transparent art. */
.pp-hs__icon--img { flex: 0 0 56px; width: 56px; aspect-ratio: 3 / 2; }
.pp-hs__icon--img picture, .pp-hs__icon--img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pp-hs__icon--img.is-online::after { right: -1px; top: 0; }

/* ── play sheet: ways to play + Change now / after (ways-to-play.md §6) ── */
body.pp-noscroll { overflow: hidden; }
.pp-sheet {
  position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, 0); transition: background 220ms var(--su-ease);
}
.pp-sheet.is-on { background: rgba(0, 0, 0, 0.72); }
.pp-sheet__panel {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  padding: 10px 16px max(20px, env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0; background: var(--su-bg); box-shadow: inset 0 1.5px 0 var(--su-line), 0 -1px 0 var(--su-line);
  transform: translateY(100%); transition: transform 280ms var(--su-ease);
}
.pp-sheet.is-on .pp-sheet__panel { transform: translateY(0); }
@media (min-width: 720px) { .pp-sheet { align-items: center; } .pp-sheet__panel { border-radius: 24px; box-shadow: inset 0 0 0 1.5px var(--su-line); } }
.pp-sheet__grab { display: block; width: 40px; height: 5px; margin: 0 auto 12px; border-radius: 99px; background: var(--su-fill-3); }
.pp-sheet__head { display: flex; align-items: center; gap: 14px; }
.pp-sheet__htext { flex: 1; min-width: 0; }
.pp-sheet__htext .su-eyebrow { margin-bottom: 4px; }
.pp-sheet__title { margin: 0; font: 800 22px/1.15 var(--su-display); overflow-wrap: anywhere; }
.pp-sheet__x {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; background: var(--su-fill-2);
}
.pp-sheet__x svg { width: 20px; height: 20px; fill: none; stroke: var(--su-ink); stroke-width: 2.4; stroke-linecap: round; }
.pp-ways { margin-top: 4px; }
.pp-ways__list { display: flex; flex-direction: column; gap: 10px; }
.pp-way {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px;
  border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--su-ink);
  background: var(--su-fill-2); box-shadow: inset 0 0 0 1.5px var(--su-line);
  transition: box-shadow 140ms var(--su-ease), transform 140ms var(--su-ease);
}
.pp-way:active { transform: scale(0.98); }
.pp-way.is-on { background: var(--su-fill); box-shadow: inset 0 0 0 2.5px var(--su-ink); }
.pp-way--skel { height: 92px; }
.pp-way__cover { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--su-fill); display: flex; align-items: center; justify-content: center; }
.pp-way__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-way__initial { font: 800 30px/1 var(--su-display); color: var(--su-ink-2); }
.pp-way__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pp-way__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 700 17px/1.2 var(--su-body); }
.pp-way__on { padding: 2px 7px; border-radius: 6px; background: var(--su-ink); color: var(--su-bg); font: 700 11px/1.3 var(--su-body); letter-spacing: 0.04em; text-transform: uppercase; }
.pp-way__blurb { font-size: 14px; line-height: 1.35; color: var(--su-ink-3); }
.pp-way__check { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--su-line); }
.pp-way.is-on .pp-way__check { background: var(--su-ink); box-shadow: inset 0 0 0 7px var(--su-ink), inset 0 0 0 24px var(--su-bg); }
.pp-sheet__foot { display: flex; flex-direction: column; margin-top: 20px; }
.pp-sheet__foot .su-btn + .pp-sheet__note { margin-bottom: 14px; }
.pp-sheet__note { margin: 8px 4px 0; font-size: 13px; line-height: 1.35; color: var(--su-ink-3); text-align: center; }
.pp-now__way, .pp-setnow__way { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--su-ink-2); }
.pp-setnow__next { margin: 8px 0 0; font-size: 14px; color: var(--su-ink-2); }

/* ═══════════════════════════════════════════════════════════════════════
 * PORTAL REDESIGN (Oct 26 2026) — the approved mockup
 * (.claude/web-setup/mockups/portal-page.html). Top bar = the portal's name
 * + a gear; the game's title card as the hero; the phase (before / live /
 * over); Leaderboard, Just now, Videos, Today's best; a fixed bottom button.
 * The gear opens a full-screen sheet of pages. No step numbers, no pill
 * labels. Overrides the older rules above where they meet.
 * ═══════════════════════════════════════════════════════════════════════ */
.pp .su-eyebrow { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
.pp-now__nextlabel { text-transform: none; letter-spacing: 0; }
.pp-app { padding-top: max(6px, env(safe-area-inset-top)); }
body.pp-has-cta .pp-app { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }

/* top bar */
.pp-topbar { display: flex; align-items: center; gap: 12px; padding: 14px 4px 12px; min-height: 70px; }
.pp-topbar__mark { flex: none; display: block; -webkit-tap-highlight-color: transparent; } /* the qrcade wordmark (/qrcade-white.svg), a link home */
.pp-topbar__mark img { display: block; width: auto; height: 26px; }
.pp-topbar__name { flex: 1 1 auto; min-width: 0; margin: 0; font: 800 22px/1.1 var(--su-display); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-round {
  flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: var(--su-fill); color: var(--su-ink);
  transition: background 160ms var(--su-ease), transform 160ms var(--su-ease);
}
.pp-round:hover { background: var(--su-fill-3); }
.pp-round:active { transform: scale(0.94); }
.pp-round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* first frame */
.pp-boot { padding-top: 4px; }
.pp-skel-clock { height: 96px; margin: 16px 4px 0; border-radius: 16px; }

/* hero: the game's title card */
/* a 2:3 poster sized to the screen (about half its height), centered — not edge to edge, so what is below shows */
.pp-hero { position: relative; margin: 8px auto 0; border-radius: 20px; overflow: hidden; aspect-ratio: 2 / 3; height: clamp(240px, 47dvh, 480px); width: auto; max-width: 100%; background: #111; }
.pp-hero--skel { background: var(--su-fill); }
.pp-hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.92) 88%); pointer-events: none; }
.pp-hero--skel::after { content: none; }
.pp-hero--type { background: var(--su-fill-2); }
.pp-hero__body { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 1; display: grid; gap: 4px; justify-items: center; text-align: center; }
.pp-hero__logo { width: 84%; max-width: 260px; max-height: 120px; height: auto; object-fit: contain; object-position: center bottom; }
.pp-hero__name { margin: 0; font: 800 26px/1.05 var(--su-display); text-wrap: balance; }
.pp-hero__way { margin: 0; font: 600 15px/1.25 var(--su-body); color: var(--su-ink-3); }
.pp-hero__next { margin: 0; font-size: 14px; color: var(--su-ink-4); }
.pp-hero--empty { aspect-ratio: auto; height: auto; width: auto; min-height: 180px; background: var(--su-fill-2); }
.pp-hero--empty .pp-hero__body { justify-items: start; text-align: left; }
.pp-hero--empty::after { content: none; }
.pp-hero--empty .pp-hero__body { position: static; padding: 26px 20px; }
.pp-hero__none { margin: 0; font: 800 24px/1.15 var(--su-display); }
.pp-hero__err { padding: 24px 20px; }

/* phases */
.pp-phase { padding: 0 4px; }
.pp-clock { margin-top: 16px; display: grid; gap: 10px; }
.pp-clock__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pp-clock__time { font: 800 54px/1 var(--su-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pp-clock__label { font: 600 17px/1 var(--su-body); color: var(--su-ink-3); }
.pp-line { height: 6px; border-radius: 999px; background: var(--su-fill); overflow: hidden; }
.pp-line__fill { display: block; height: 100%; width: var(--pp-pct, 0%); border-radius: inherit; background: var(--su-ink); transition: width 1s linear; }
.pp-clock__meta { margin: 0; font-size: 15px; color: var(--su-ink-3); }
.pp-bk__order.pp-queue { margin-top: 16px; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.pp-queue__card { position: relative; flex: none; width: 44px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--su-fill-2); }
.pp-queue__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-queue__logo { position: absolute; left: 3px; right: 3px; bottom: 4px; width: calc(100% - 6px); height: 40%; object-fit: contain; object-position: center bottom; }
.pp-queue__next { flex: none; font-size: 13px; font-weight: 700; color: var(--su-ink-2); }

.pp-wait { margin-top: 16px; padding: 18px; border-radius: var(--su-radius); background: var(--su-fill-2); display: grid; gap: 8px; }
.pp-wait__title { margin: 0; font: 800 20px/1.2 var(--su-display); }
.pp-wait__text, .pp-wait__meta { margin: 0; font-size: 15px; line-height: 1.45; color: var(--su-ink-3); }
.pp-wait__meta { color: var(--su-ink-2); }

.pp-over { margin-top: 18px; display: grid; gap: 6px; }
.pp-over__title { margin: 0; font: 800 46px/0.95 var(--su-display); letter-spacing: -0.02em; }
.pp-over__meta { margin: 0; font-size: 15px; color: var(--su-ink-3); }
.pp-over__note { margin: 22px 0 0; font-size: 15px; line-height: 1.45; color: var(--su-ink-3); }
.pp-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin-top: 18px; }
.pp-podium--2 { grid-template-columns: 1fr 1.15fr; }
.pp-podium--1 { grid-template-columns: minmax(0, 0.6fr); justify-content: center; }
.pp-podium__step { min-width: 0; border-radius: 16px 16px 6px 6px; background: var(--su-fill); display: grid; justify-items: center; gap: 6px; padding: 14px 6px; text-align: center; }
.pp-podium__step.is-first { background: var(--su-ink); color: var(--su-bg); padding-top: 24px; }
.pp-podium__name { max-width: 100%; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-podium__score { font: 800 20px/1 var(--su-display); font-variant-numeric: tabular-nums; }

/* sections */
.pp-sec2 { margin: 26px 4px 0; }
.pp-sec2__title { margin: 0 0 12px; font: 800 19px/1.2 var(--su-display); }

/* leaderboard */
.pp-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pp-row { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--su-line-2); }
.pp-row:first-child { border-top: 0; }
.pp-row__rank { font: 700 15px/1 var(--su-body); color: var(--su-ink-4); text-align: center; font-variant-numeric: tabular-nums; }
.pp-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--su-fill); font: 700 15px/1 var(--su-body); color: var(--su-ink); }
.pp-av svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pp-av--1 { background: var(--su-ink); color: var(--su-bg); }
.pp-av--sm { width: 36px; height: 36px; font-size: 13px; flex: none; }
.pp-av__img { width: 100%; height: 100%; object-fit: cover; }
.pp-row__name { margin: 0; font: 700 16px/1.2 var(--su-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-row__sub { margin: 2px 0 0; font-size: 13px; color: var(--su-ink-4); }
.pp-row__score { position: relative; font: 800 22px/1 var(--su-display); font-variant-numeric: tabular-nums; }
.pp-bump { position: absolute; right: 0; top: -14px; font: 700 12px/1 var(--su-body); color: var(--su-ink); opacity: 0; pointer-events: none; }
.pp-bump.go { animation: pp-bump 1.4s ease-out; }
@keyframes pp-bump { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }

/* just now */
.pp-moments { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-moment { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.pp-moment__ico, .pp-moment__thumb { width: 34px; height: 34px; border-radius: 50%; background: var(--su-fill); display: grid; place-items: center; overflow: hidden; padding: 0; border: 0; }
.pp-moment__thumb { border-radius: 10px; cursor: pointer; }
.pp-moment__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-moment__ico svg { width: 18px; height: 18px; fill: none; stroke: var(--su-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-moment__text { margin: 0; font-size: 15px; line-height: 1.35; color: var(--su-ink-2); }
.pp-moment__text b { font-weight: 700; color: var(--su-ink); }
.pp-moment__time { font-size: 13px; color: var(--su-ink-4); }

/* videos */
.pp-sec2 .pp-reel { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.pp-sec2 .pp-reel .pp-clip { flex: 0 0 132px; width: 132px; aspect-ratio: 9 / 16; border-radius: 16px; }
.pp-clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.8)); pointer-events: none; }
.pp-clip--skel::after { content: none; }
.pp-clip__cap { position: absolute; left: 10px; bottom: 10px; z-index: 1; font: 600 12px/1.2 var(--su-body); }
.pp-clip__dur { z-index: 1; }
.pp-clip__play { z-index: 1; }

/* today's best */
/* a leaderboard: one row per player, avatar + name on the left, score on the right (Aidan, Oct 29) */
.pp-best { display: flex; flex-direction: column; }
.pp-best__cell { min-width: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-best__cell:last-child { border-bottom: 0; }
.pp-best__cell .pp-best__av { grid-column: 1; grid-row: 1; width: 40px; height: 40px; margin: 0; }
.pp-best__name { grid-column: 2; grid-row: 1; font-size: 17px; font-weight: 600; color: var(--su-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-best__score { grid-column: 3; grid-row: 1; font: 800 20px/1 var(--su-display); font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0; }
/* Highscores: Today / This week / All time (owner: highscores). One plain segmented track. */
.pp-period { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 999px; background: var(--su-fill-2); }
.pp-period__opt { min-height: 40px; padding: 0 8px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--su-ink-2); font: 600 14px/1 var(--su-body); white-space: nowrap; }
.pp-period__opt.is-on { background: var(--su-ink); color: var(--su-bg); }
.pp-period__opt:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; }
.pp-best { transition: opacity 0.15s ease; }
.pp-best.is-loading { opacity: 0.5; }
.pp-best__empty { margin: 4px 2px 0; }

/* jukebox picks */
.pp-picks { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.pp-picks::-webkit-scrollbar, .pp-sec2 .pp-reel::-webkit-scrollbar { display: none; }
.pp-pick { position: relative; flex: 0 0 112px; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; padding: 0; border: 0; background: var(--su-fill); cursor: pointer; text-align: left; color: var(--su-ink); }
.pp-pick:active { transform: scale(0.97); }
.pp-pick__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-pick::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75)); pointer-events: none; }
.pp-pick--skel::after { content: none; }
.pp-pick__cap { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; display: grid; gap: 3px; }
.pp-pick__name { font: 800 12px/1.15 var(--su-display); text-shadow: 0 1px 6px #000; }
.pp-pick__state { font: 600 12px/1.1 var(--su-body); color: var(--su-ink-2); }
.pp-pick.is-queued { box-shadow: inset 0 0 0 2px var(--su-ink); }
.pp-pick .su-cele { border-radius: 14px; min-height: 0; padding: 8px; z-index: 2; }
.pp-pick .su-cele__mark { width: 56px; height: 56px; }
.pp-pick .su-cele__text { font-size: 13px; margin-top: 6px; }

/* the fixed bottom button */
.pp-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 26px var(--su-gutter) calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--su-bg) 65%, rgba(0, 0, 0, 0));
  display: flex; justify-content: center; pointer-events: none;
}
.pp-cta__btn {
  pointer-events: auto; width: 100%; max-width: calc(var(--su-max) - 2 * var(--su-gutter)); height: 56px;
  border: 0; border-radius: 999px; background: var(--su-ink); color: var(--su-bg); cursor: pointer;
  font: 700 18px/1 var(--su-body); transition: transform 160ms var(--su-ease);
}
.pp-cta__btn:active { transform: scale(0.98); }
body.pp-ov-open .pp-cta { display: none; }

/* the gear sheet: a stack of full-screen pages */
/* The page stack carries the setup type itself: on the homepage it opens over body.lp, not body.su (/portal/menu.js). */
.pp-ov { color: var(--su-ink); font-family: var(--su-body); font-size: 18px; line-height: 1.5; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; text-align: left; }
.pp-ov { position: fixed; inset: 0; z-index: 50; background: var(--su-bg); overflow: hidden; opacity: 0; transition: opacity 180ms var(--su-ease); }
.pp-ov.is-on { opacity: 1; }
.pp-page {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: max(6px, env(safe-area-inset-top)) 0 calc(40px + env(safe-area-inset-bottom));
  opacity: 0; transform: translateX(14px); transition: opacity 220ms var(--su-ease), transform 260ms var(--su-ease);
}
.pp-page.is-in { opacity: 1; transform: none; }
.pp-page__top, .pp-page__body { width: 100%; max-width: var(--su-max); margin: 0 auto; padding-left: var(--su-gutter); padding-right: var(--su-gutter); }
.pp-page__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 8px; min-height: 70px; }
.pp-page__top .pp-page__title { margin: 0; padding-left: 4px; font: 800 24px/1.1 var(--su-display); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-page__top--back .pp-page__title { flex: 1 1 auto; text-align: center; padding: 0; font-size: 22px; }
/* A long title ("Waiting for players") shrinks on a narrow phone instead of cutting off. */
.pp-page__top--back .pp-page__title.is-long { font-size: clamp(18px, 5.1vw, 22px); }
.pp-page__sp { flex: none; width: 44px; }
.pp-page__body { padding-left: calc(var(--su-gutter) + 4px); padding-right: calc(var(--su-gutter) + 4px); }
.pp-page__lede { margin: 4px 0 6px; font-size: 14px; line-height: 1.45; color: var(--su-ink-3); }
.pp-page__h { margin: 34px 0 12px; font: 800 19px/1.2 var(--su-display); }
.pp-page__inner { padding-top: 6px; }
.pp-page__inner > :first-child { margin-top: 0; }

.pp-list { list-style: none; margin: 8px 0 0; padding: 0; }
.pp-list__item { border-top: 1px solid var(--su-line-2); }
.pp-list__item:first-child { border-top: 0; }
.pp-list__row {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 0; border: 0; background: none;
  color: var(--su-ink); text-align: left; cursor: pointer; min-height: 64px;
}
div.pp-list__row { cursor: default; }
.pp-list__text { flex: 1 1 auto; min-width: 0; display: block; }
.pp-list__title { display: block; font: 700 16px/1.2 var(--su-body); }
.pp-list__sum { display: block; margin-top: 3px; font-size: 13px; color: var(--su-ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-list__chev { flex: none; width: 20px; height: 20px; color: var(--su-ink-4); }
.pp-list__chev svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--su-ease); }
.pp-mgr.is-open .pp-list__chev svg { transform: rotate(90deg); }
.pp-mgr__act { padding: 0 0 14px 48px; }
.pp-mgrs { margin-top: 12px; }

.pp-signin { margin-top: 22px; display: grid; gap: 12px; }
.pp-signin__title { margin: 0; font: 800 26px/1.1 var(--su-display); text-wrap: balance; }
.pp-signin__text { margin: 0; color: var(--su-ink-3); text-wrap: pretty; }
.pp-signin__err { color: var(--su-ink); }
.pp-savehost { margin-top: 6px; }
.pp-ov .pp-auth { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.pp-ov .pp-auth .su-field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pp-ov .pp-auth__lede { font-size: 16px; color: var(--su-ink-3); }
.pp-field, .pp-ov .su-input { height: 56px; border-radius: 16px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--su-line); font-size: 17px; }
.pp-field:focus, .pp-ov .su-input:focus { box-shadow: inset 0 0 0 2px var(--su-ink); }
.pp-ov .pp-code { font-size: 26px; }

.pp-invite { margin-top: 22px; display: grid; gap: 10px; }
.pp-invite__label { font: 800 17px/1.2 var(--su-display); }
.pp-invite__note { margin: 0; }
.pp-linkcard { padding: 16px; border-radius: var(--su-radius); background: var(--su-fill-2); display: grid; gap: 8px; position: relative; }
.pp-linkcard__t { margin: 0; font: 800 17px/1.2 var(--su-display); }
.pp-linkcard__url { margin: 0; font-size: 14px; color: var(--su-ink-2); overflow-wrap: anywhere; user-select: all; }

/* Co-managers: one field for a name, @username, email or phone, with a people dropdown (portal-team, Oct 30 2026).
   The dropdown sits in the flow under the field (not floating), so it never hides behind the phone keyboard. */
.pp-ac { display: grid; gap: 6px; }
.pp-ac__list { list-style: none; margin: 0; padding: 6px; border-radius: 16px; background: var(--su-fill-2); display: grid; gap: 2px; }
.pp-ac__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: pointer; min-height: 52px; -webkit-tap-highlight-color: transparent; }
.pp-ac__opt:hover, .pp-ac__opt.is-active { background: var(--su-fill); }
.pp-ac__opt .pp-list__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-ac__empty { padding: 10px; font-size: 14px; line-height: 1.4; color: var(--su-ink-3); }
.pp-ac__chip { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 6px 8px 10px; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--su-ink); }
.pp-ac__chip[hidden] { display: none; }
.pp-ac__chip .pp-list__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-ac__x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--su-ink-3); cursor: pointer; }
.pp-ac__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pp-ac__x:hover { background: var(--su-fill); color: var(--su-ink); }
.pp-av--icon { color: var(--su-ink-2); }
.pp-av--icon svg { width: 18px; height: 18px; stroke-width: 1.8; }
.pp-invite__as { font-size: 14px; }
.pp-invite .su-btn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pp-plan { display: grid; gap: 6px; margin-bottom: 18px; }
.pp-plan__big { margin: 0; font: 800 30px/1.1 var(--su-display); }

/* the play sheet's "Playing" marks: plain words, not pills */
.pp-way__on, .pp-game__badge { background: none; box-shadow: none; padding: 0; border-radius: 0; text-transform: none; letter-spacing: 0; }
.pp-game__badge { left: 0; right: 0; bottom: 0; padding: 18px 8px 8px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); font: 700 13px/1 var(--su-body); color: var(--su-ink); }

@media (prefers-reduced-motion: reduce) {
  .pp-bump.go { animation: none; }
  .pp-line__fill, .pp-page, .pp-ov { transition: none; }
}
.pp-savehost--bare .pp-auth__lede--enter { display: none; }
@media (min-width: 720px) { .pp-hero { aspect-ratio: 16 / 11; } }
.pp-way__on { color: var(--su-ink-3); font: 600 13px/1 var(--su-body); margin-left: 8px; }

/* Settings → QR Portal (print again · order a replacement with the same code · print one until it arrives).
   Black and white, plain words, no pills. */
.pp-qrp { display: flex; flex-direction: column; gap: 6px; }
.pp-qrp__art { align-self: center; width: 132px; height: 132px; margin: 0 0 2px; }
.pp-qrp__art--skel { border-radius: 50%; }
.pp-qrp__img { width: 100%; height: 100%; display: block; }
.pp-qrp__code { text-align: center; margin: 0 0 6px; font: 700 15px/1.2 var(--su-body); letter-spacing: 0.08em; color: var(--su-ink-3); }
.pp-qrp__sec { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--su-line-2); }
.pp-qrp__sec .pp-page__h { margin: 0; }
.pp-qrp__sec .pp-page__lede { margin: 0 0 6px; }
.pp-qrp__price { margin: 0 0 4px; font: 700 17px/1.2 var(--su-body); }
.pp-qrp__status { margin: 0; font: 800 26px/1.1 var(--su-display); }
.pp-qrp__steps { list-style: none; margin: 4px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-qrp__step { display: flex; align-items: center; gap: 12px; font: 600 16px/1.2 var(--su-body); color: var(--su-ink-3); }
.pp-qrp__step.is-done { color: var(--su-ink); }
.pp-qrp__dot { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--su-line); display: flex; align-items: center; justify-content: center; }
.pp-qrp__step.is-done .pp-qrp__dot { background: var(--su-ink); box-shadow: none; }
.pp-qrp__dot svg { width: 16px; height: 16px; fill: none; stroke: var(--su-bg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pp-qrp__steptext { display: flex; align-items: baseline; gap: 8px; }
.pp-qrp__when { font: 500 14px/1 var(--su-body); color: var(--su-ink-3); }
.pp-qrp__track { color: var(--su-ink); font-weight: 700; text-underline-offset: 3px; }
.pp-qrp__ship { margin: 0; }

/* What's playing: an open in-headset choice the team can make for the players (plain words, no pills) */
.pp-vote { margin: 14px 0 6px; padding: 14px 16px 16px; border-radius: 18px; box-shadow: inset 0 0 0 2px var(--su-ink); }
.pp-vote__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pp-vote__title { margin: 0; font: 800 19px/1.2 var(--su-display); }
.pp-vote__left { font: 600 14px/1 var(--su-body); color: var(--su-ink-3); white-space: nowrap; }
.pp-vote__opts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pp-vote__opt { width: 100%; }

/* The manager menu (Oct 27 2026): a menu button in place of the logo for a portal manager. */
.pp-menu { flex: none; margin-left: -6px; }
.pp-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
a.pp-list__row { text-decoration: none; }
.pp-list__chev--check { color: var(--su-ink); }
.pp-list__chev--check svg { stroke-width: 2.6; }
.pp-acct { display: flex; align-items: center; gap: 14px; padding: 6px 0 4px; }
.pp-acct__av { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--su-fill); font: 800 22px/1 var(--su-display); color: var(--su-ink); }
.pp-acct__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-acct__text { min-width: 0; }
.pp-acct__name { margin: 0; font: 800 20px/1.2 var(--su-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-acct__email { margin: 4px 0 0; font-size: 14px; color: var(--su-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-menu__h { margin-top: 26px; margin-bottom: 0; }
.pp-menu__more { margin-top: 18px; border-top: 1px solid var(--su-line-2); }
/* Two lists in a row read as one: no gap above the line between them. */
.pp-menu__more + .pp-menu__more { margin-top: 0; }
.pp-acct--page { justify-content: center; padding: 4px 0 18px; }
.pp-acct--page .pp-acct__av { width: 72px; height: 72px; font-size: 28px; }
.pp-acct__rows { margin-top: 22px; border-top: 1px solid var(--su-line-2); }

/* Settings → On the map (Oct 27 2026; /setup/map-picker.js, contract web-setup.md §8) */
.pp-map__state { margin: 0 0 14px; font: 700 17px/1.35 var(--su-body); color: var(--su-ink-3); }
.pp-map__state.is-set { color: var(--su-ink); }
.pp-map__picker .mp-frame { flex: none; height: clamp(220px, 42dvh, 340px); }
.pp-map__save { margin-top: 18px; }
.pp-map__remove { display: block; margin: 14px auto 0; }

/* Settings → Play area size (owner: play-area-size). The cards are the setup's .sf-seg (setup.css). */
.pp-size .sf-seg { margin-top: 14px; }
.pp-size__fig { margin: 4px 0 18px; }
.pp-size__fig svg { max-height: 34vh; }
.pp-size__save { margin-top: 0; }
.pp-size__status .pp-size__err { margin-top: 14px; color: var(--su-ink-2); }
.pp-qr__arrive { margin: 4px 0 2px; font: 700 17px/1.35 var(--su-body); color: var(--su-ink); }
.pp-qr__clear { margin-bottom: 10px; }

/* Video Sharing (Oct 28 2026): the guest Videos section's line + Settings → Videos */
.pp-sec2--videos .pp-sec2__title:has(+ .pp-sec2__sub:not([hidden])) { margin-bottom: 4px; }
.pp-sec2__sub { margin: 0 0 12px; font-size: 15px; color: var(--su-ink-3); }
.pp-vids__lede { margin: 0 0 6px; font-size: 15px; line-height: 1.45; color: var(--su-ink-3); }
.pp-vids__off .su-btn { margin-top: 16px; }
.pp-vids__h { margin: 22px 0 10px; font-size: 17px; }
.pp-vids__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 560px) { .pp-vids__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pp-vid { display: flex; flex-direction: column; min-width: 0; }
.pp-vid__tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--su-fill); cursor: pointer; color: var(--su-ink); }
.pp-vid__tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7)); pointer-events: none; }
.pp-vid__tile:active { transform: scale(0.98); }
.pp-vid__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-vid.is-hidden .pp-vid__img { opacity: 0.35; filter: grayscale(0.6); }
.pp-vid__meta { margin: 8px 2px 0; font-size: 13px; color: var(--su-ink-3); }
.pp-vid__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.pp-vid__act {
  min-height: 40px; padding: 0 8px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--su-fill); color: var(--su-ink); font: 600 14px/1 var(--su-body);
  transition: background 160ms, transform 140ms var(--su-ease);
}
.pp-vid__act:hover { background: var(--su-fill-3); }
.pp-vid__act:active { transform: scale(0.97); }
.pp-vid__act:disabled { opacity: 0.5; cursor: default; }
.pp-sec2--videos .pp-reel { scroll-padding-inline: 20px; }

/* Settings → Bookings (Oct 29 2026, booking-settings): modes, days and times, tickets, the booking link,
   bookings (Start after this game / Start now) and earnings. Built on .su-choice, .pp-toggle, .pp-linkcard. */
.pp-bk__modes { margin: 14px 0 0; }
.pp-bk__modes .su-choice, .pp-bk__per .su-choice { min-height: 68px; padding-top: 14px; padding-bottom: 14px; }
.pp-bk__modes { gap: 10px; }
.pp-bk__modes .su-choice__title, .pp-bk__per .su-choice__title { font-size: 17px; }
.pp-bk__modes .su-choice__sub, .pp-bk__per .su-choice__sub { font-size: 14px; margin-top: 3px; }
.pp-bk__choicetext { display: block; min-width: 0; }
.pp-bk__mode:not(:empty) { margin-top: 18px; }
.pp-bk__url .su-field { margin-bottom: 12px; }
.pp-bk__out { margin-top: 14px; }
.pp-bk__more:not(:empty) { margin-top: 10px; }
.pp-bk__list { margin-top: 4px; }
.pp-bk__hint { margin-top: 8px; }
.pp-bk__link { margin-top: 18px; }
.pp-bk__linkrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-bk__linkrow .su-btn { padding: 0 14px; min-height: 48px; font-size: 16px; }
.pp-bk__qr { margin: 6px 0 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pp-bk__qrimg { width: 168px; height: 168px; padding: 10px; border-radius: 14px; background: #fff; }
.pp-bk__qrcap { font-size: 13px; color: var(--su-ink-3); }

.pp-bk__days { display: flex; flex-direction: column; }
.pp-bk__day { border-bottom: 1px solid var(--su-line-2); }
.pp-bk__day:last-child { border-bottom: 0; }
.pp-bk__day .pp-toggle { min-height: 60px; border-bottom: 0; }
.pp-bk__day.is-open .pp-toggle { min-height: 52px; padding-bottom: 6px; }
.pp-bk__times { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 0 0 14px; }
.pp-bk__to { font-size: 14px; color: var(--su-ink-3); }
.pp-bk__time { display: block; min-width: 0; }
.pp-bk__timein { height: 46px; padding: 0 10px; font-size: 16px; color-scheme: dark; }
.pp-bk__seg { display: flex; flex-wrap: wrap; border-radius: 22px; }
.pp-bk__seg .pp-switch__btn { flex: 1 1 30%; padding: 0 8px; }
.pp-bk__steprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.pp-bk__stepk { font-size: 16px; color: var(--su-ink-2); }
.pp-bk__save { margin-top: 24px; }

.pp-bk__per { margin: 14px 0 0; }
.pp-bk__tickets { margin-top: 0; }
.pp-bk__ticket.is-off .pp-bk__tbtn { opacity: 0.5; }
.pp-bk__thead { display: flex; align-items: center; gap: 12px; }
.pp-bk__tbtn { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 0; border: 0; background: none; color: var(--su-ink); text-align: left; cursor: pointer; }
.pp-bk__tcard { width: 46px; flex: none; }
.pp-bk__price { flex: none; font: 800 17px/1 var(--su-display); }
.pp-bk__price, .pp-bk__owedv, .pp-bk__ready, .pp-bk__n { font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0; }
.pp-bk__sw { position: relative; flex: none; display: flex; cursor: pointer; }
.pp-bk__tact { display: flex; align-items: center; gap: 8px; padding: 0 0 14px 58px; }
.pp-bk__tact .su-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.pp-bk__tact .su-btn:last-child { margin-left: auto; }
.pp-bk__move:disabled { opacity: 0.3; cursor: default; }
.pp-bk__move--down svg { transform: rotate(180deg); }
.pp-bk__add { margin-top: 14px; }
.pp-bk__empty { margin: 0; padding: 10px 0 4px; font-size: 15px; color: var(--su-ink-3); list-style: none; }

.pp-bk__gamebtn.is-picked .pp-card--tile { box-shadow: inset 0 0 0 2.5px var(--su-ink); }
.pp-bk__pick { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--su-ink); }
.pp-bk__pick svg { width: 16px; height: 16px; fill: none; stroke: var(--su-bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pp-bk__field { margin-top: 20px; }
.pp-bk__pair { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: end; margin-top: 4px; }
.pp-bk__minutes { display: flex; flex-direction: column; }
.pp-bk__minutes .su-fn-stepper { height: 56px; }
.pp-bk__pricefield { margin: 0; }
.pp-bk__money { position: relative; display: block; }
.pp-bk__cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 17px; color: var(--su-ink-3); pointer-events: none; }
.pp-bk__pricein { padding-left: 32px; font-variant-numeric: tabular-nums; }
.pp-bk__textarea { height: auto; min-height: 132px; padding: 14px 16px; line-height: 1.4; resize: vertical; }

.pp-bk__card { margin-top: 10px; display: grid; gap: 10px; }
.pp-bk__card.is-playing { box-shadow: inset 0 0 0 2px var(--su-ink); }
.pp-bk__ctop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pp-bk__who { min-width: 0; }
.pp-bk__name { margin: 0; font: 800 17px/1.2 var(--su-display); overflow-wrap: anywhere; }
.pp-bk__when { margin: 4px 0 0; font-size: 14px; color: var(--su-ink-3); }
.pp-bk__status { flex: none; margin: 0; font: 700 14px/1.2 var(--su-body); color: var(--su-ink-2); }
.pp-bk__card.is-playing .pp-bk__status { color: var(--su-ink); }
.pp-bk__ready { margin: 0; font: 800 22px/1 var(--su-display); }
.pp-bk__readyhint { margin-top: -4px; }
.pp-bk__order { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pp-bk__step { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pp-bk__n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--su-fill); font: 800 12px/1 var(--su-display); }
.pp-bk__stept { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-bk__step.is-now .pp-bk__n { background: var(--su-ink); color: var(--su-bg); }
.pp-bk__step.is-now .pp-bk__stept { font-weight: 700; }
.pp-bk__stepm { flex: none; color: var(--su-ink-3); font-variant-numeric: tabular-nums; }
.pp-bk__meta { margin: 0; font-size: 13px; color: var(--su-ink-4); }
.pp-bk__acts { display: grid; gap: 8px; }
.pp-bk__acts .su-btn { min-height: 50px; font-size: 16px; white-space: normal; text-align: center; }
/* Change time + Cancel booking (Nov 15 2026): side by side, the quieter pair under Start */
.pp-bk__acts--pair { grid-template-columns: 1fr 1fr; }
.pp-bk__card .pp-savenote { margin-top: 0; }

.pp-bk__owed { padding: 4px 0 18px; }
.pp-bk__owedk { margin: 0 0 6px; font-size: 15px; color: var(--su-ink-3); }
.pp-bk__owedv { margin: 0; font: 800 46px/1 var(--su-display); }
@media (min-width: 720px) { .pp-bk__acts { grid-template-columns: 1fr 1fr; } }
/* the guided setup (bkGuide): /setup's progress bar, step head and slide (su-in / su-out keyframes from setup.css) */
.pp-bkw { position: relative; }
.pp-bkw__rail { margin: 2px 0 6px; }
.pp-bkw__stage { position: relative; overflow-x: clip; }
.pp-bkw__step { padding-top: 14px; }
.pp-bkw__step.is-entering--fwd { animation: su-in 420ms var(--su-ease) both; }
.pp-bkw__step.is-entering--back { animation: su-in-back 420ms var(--su-ease) both; }
.pp-bkw__step.is-leaving { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.pp-bkw__step.is-leaving--fwd { animation: su-out 300ms var(--su-ease) both; }
.pp-bkw__step.is-leaving--back { animation: su-out-back 300ms var(--su-ease) both; }
.pp-bkw__head { margin-bottom: 18px; }
.pp-bkw__head .su-num { font-size: clamp(44px, 8dvh, 76px); margin-bottom: 8px; }
.pp-bkw__head .su-title { font-size: clamp(22px, 3.3dvh, 27px); }
.pp-bkw__head .su-sub { font-size: 16px; margin-top: 8px; }
.pp-bkw__sum { margin: 0 0 16px; }
.pp-bkw__sum .pp-list__sum { white-space: normal; }
.pp-bkw__bar {
  position: sticky; bottom: 0; z-index: 2; margin-top: 18px;
  padding: 22px 0 max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--su-bg) 72%, rgba(0, 0, 0, 0));
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.pp-bkw__back[hidden] { display: none; }
/* Safari pins a sticky element inside the scroller's padding, so .pp-page's bottom padding (40px + safe area) left
   the bar floating above the screen's bottom with the page showing under it. The bar carries its own safe-area
   padding, so the page drops its own while a guide is open. */
.pp-page:has(.pp-bkw) { padding-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .pp-bkw__step.is-entering--fwd, .pp-bkw__step.is-entering--back, .pp-bkw__step.is-leaving--fwd, .pp-bkw__step.is-leaving--back { animation: none; }
}

/* ── Settings → Stats (portal-funnel-bookings round, stats-panel) ─── */
.pp-period--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.pp-stats { transition: opacity 160ms; }
.pp-stats.is-loading { opacity: 0.55; }
.pp-stats .pp-skel-line + .pp-skel-line { margin-top: 10px; }
.pp-tile__s { font-size: 13px; color: var(--su-ink-4); }
.pp-money { list-style: none; margin: 18px 0 0; padding: 4px 16px; border-radius: 16px; background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2); }
.pp-money__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-money__row:last-child { border-bottom: 0; }
.pp-money__k { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--su-ink-2); }
.pp-money__s { font-size: 13px; color: var(--su-ink-4); }
.pp-money__v { font: 700 17px/1 var(--su-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-money__row--total .pp-money__k { color: var(--su-ink); font-weight: 600; }
.pp-money__row--total .pp-money__v { font: 800 24px/1 var(--su-display); font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0; }
.pp-steps { list-style: none; margin: 0; padding: 0; }
.pp-steps__row { padding: 4px 0; }
.pp-steps__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pp-steps__k { font-size: 15px; color: var(--su-ink-2); }
.pp-steps__v { font: 800 20px/1 var(--su-display); font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0; }
.pp-steps__track { height: 12px; border-radius: 99px; background: var(--su-fill-2); overflow: hidden; }
.pp-steps__fill { display: block; height: 100%; width: var(--pp-pct, 0%); border-radius: inherit; background: var(--su-ink); transform-origin: left; animation: pp-grow-x 520ms var(--su-ease) both; }
.pp-steps__gap { margin: 6px 0 6px 2px; padding-left: 16px; position: relative; font-size: 13px; color: var(--su-ink-3); }
.pp-steps__gap::before { content: ''; position: absolute; left: 4px; top: -4px; bottom: -4px; border-left: 2px dotted var(--su-line-2); }
@keyframes pp-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Where visitors come from (Nov 13 2026): the three sources, web links split under theirs */
.pp-sources .pp-steps__row + .pp-steps__row { margin-top: 10px; }
.pp-sources__parts { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--su-line-2); display: flex; flex-direction: column; gap: 6px; }
.pp-sources__part { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.pp-sources__k { color: var(--su-ink-3); min-width: 0; overflow-wrap: anywhere; }
.pp-sources__v { font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-bars--pair .pp-bars__pair { width: 100%; max-width: 36px; flex: 1 1 0; min-height: 0; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.pp-bars--pair .pp-bars__bar { flex: 1 1 0; }
.pp-bars__bar--b { background: var(--su-ink-4); }
.pp-bars--dense { gap: 3px; }
.pp-bars--dense .pp-bars__pair { gap: 1px; }
.pp-bars--dense .pp-bars__bar { border-radius: 3px 3px 1px 1px; }
.pp-bars--pair .pp-bars__d { flex: 0 0 auto; min-height: 15px; white-space: nowrap; }
.pp-bars--dense .pp-bars__d { overflow: visible; width: 0; display: flex; justify-content: center; }
.pp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--su-ink-3); }
.pp-legend__i { display: inline-flex; align-items: center; gap: 6px; }
.pp-legend__sw { width: 12px; height: 12px; border-radius: 3px; background: var(--su-ink); }
.pp-legend__sw--b { background: var(--su-ink-4); }
.pp-stats__none { margin: 0; font-size: 15px; color: var(--su-ink-3); }
.pp-stats__note { margin: 14px 0 0; font-size: 13px; line-height: 1.4; color: var(--su-ink-4); }
.pp-stats__link { margin-top: 10px; padding-left: 0; padding-right: 0; }
@media (prefers-reduced-motion: reduce) { .pp-steps__fill { animation: none; } .pp-stats { transition: none; } }

/* ── "Get Tickets" / "Play Now" above the save button (booking-pages, Oct 28 2026; portal.js ticketCta) ──
   The white pill is the page's main ask while the portal sells tickets, so the save button steps down to a fill.
   Scrolling down slides the pill away (body.pp-tix-away, transform + opacity only); a small scroll up, the top
   and the end bring it back. */
.pp-tix {
  /* On its own it is THE bottom button, placed exactly like .pp-cta (Nov 10 2026: "Email me my results" is gone,
     so nothing sits under it any more). While a session's "Your Session" bar is up (body.pp-has-cta), it stacks above it. */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 31;
  padding: 26px var(--su-gutter) calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--su-bg) 65%, rgba(0, 0, 0, 0));
  display: flex; justify-content: center; pointer-events: none;
  transition: transform 280ms var(--su-ease), opacity 200ms ease;
}
.pp-tix[hidden] { display: none; }
.pp-tix__btn {
  pointer-events: auto; width: 100%; max-width: calc(var(--su-max) - 2 * var(--su-gutter)); height: 56px;
  border-radius: 999px; background: var(--su-ink); color: var(--su-bg); text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  font: 700 18px/1 var(--su-body); transition: transform 160ms var(--su-ease);
}
.pp-tix__btn:active { transform: scale(0.98); }
body.pp-has-tix .pp-cta__btn { background: #2b2b2b; color: var(--su-ink); }
body.pp-has-cta .pp-tix {
  bottom: calc(18px + 56px + env(safe-area-inset-bottom));
  padding: 18px var(--su-gutter) 10px;
  background: linear-gradient(to top, var(--su-bg) 40%, rgba(0, 0, 0, 0));
}
body.pp-has-tix .pp-app { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
body.pp-has-tix.pp-has-cta .pp-app { padding-bottom: calc(200px + env(safe-area-inset-bottom)); }
body.pp-tix-away .pp-tix { transform: translateY(calc(100% + env(safe-area-inset-bottom))); opacity: 0; pointer-events: none; }
body.pp-tix-away.pp-has-cta .pp-tix { transform: translateY(74px); }
body.pp-tix-away .pp-tix__btn { pointer-events: none; }
body.pp-ov-open .pp-tix, body.su-scanning .pp-tix { display: none; }
@media (prefers-reduced-motion: reduce) { .pp-tix { transition: opacity 120ms ease; } }
/* Into the ticket flow: the page leaves like a /setup step going forward (portal.js ticketCta). */
body.pp-leaving .pp-app, body.pp-leaving .pp-tix, body.pp-leaving .pp-cta { opacity: 0; transform: translateX(-32px); transition: opacity 220ms var(--su-ease), transform 220ms var(--su-ease); }

/* ── The bottom button's flow (portal-connect, Oct 29 2026; portal.js renderConnect / renderMine) ──
   Sign in → "Connect your headset" (the /play QR, black on white so the headset's cameras read it) → the connected
   headset, then Scores / Videos / Badges from here: placeholders until they play, filled in as they do. */
.pp-signin--in { margin-top: 6px; }
.pp-claims { display: flex; flex-direction: column; gap: 10px; }
.pp-cn { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pp-cn__title { margin: 0; font: 800 26px/1.1 var(--su-display); text-wrap: balance; }
.pp-cn__lede { margin: 8px 0 18px; max-width: 34ch; font-size: 15px; line-height: 1.45; color: var(--su-ink-3); text-wrap: pretty; }
/* /setup's scanner viewfinder corners around the code (setup.css .su-scan__corner) */
.pp-cn__scan { --su-scan-size: min(74vw, 300px); position: relative; padding: 16px; border-radius: 34px; }
.pp-cn__scan.is-found .su-scan__corner--tl { transform: translate(10px, 10px); }
.pp-cn__scan.is-found .su-scan__corner--tr { transform: translate(-10px, 10px); }
.pp-cn__scan.is-found .su-scan__corner--bl { transform: translate(10px, -10px); }
.pp-cn__scan.is-found .su-scan__corner--br { transform: translate(-10px, -10px); }
.pp-cn__qr {
  width: min(74vw, 300px); aspect-ratio: 1; padding: 10px; border-radius: 22px; background: #fff;
  display: flex; align-items: center; justify-content: center; transition: opacity 200ms var(--su-ease);
}
.pp-cn__qr svg { display: block; width: 100%; height: 100%; }
.pp-cn__qr.is-busy { opacity: 0.35; }
.pp-cn__qr.is-busy:empty { background: var(--su-fill-2); opacity: 1; }
.pp-cn__state { margin: 14px 0 0; min-height: 22px; font-size: 16px; font-weight: 600; color: var(--su-ink-2); }
.pp-cn__state.is-error { color: var(--su-ink); }
.pp-cn__how { width: 100%; margin-top: 26px; padding: 18px 18px 6px; border-radius: var(--su-radius); background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2); text-align: left; }
.pp-cn__artwrap { position: relative; }
.pp-cn__art { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; overflow: visible; }
/* the /setup headset glyph, scaled up: its 2.4px line at icon size, so the stroke shrinks by the scale */
.pp-cn__set path { fill: var(--su-bg); stroke: var(--su-ink); stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.pp-cn__phone { fill: var(--su-bg); stroke: var(--su-ink); stroke-width: 2.4; }
.pp-cn__screen { fill: #fff; }
.pp-cn__glyph { fill: #000; }
.pp-cn__steps { list-style: none; counter-reset: cn; margin: 14px 0 0; padding: 0; }
.pp-cn__step { counter-increment: cn; position: relative; padding: 0 0 14px 38px; font-size: 16px; line-height: 1.4; color: var(--su-ink); }
.pp-cn__step::before {
  content: counter(cn); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--su-ink); color: var(--su-bg); font: 800 14px/1 var(--su-body);
}
/* DPHeadsetConnect.qr options (session view): no corners, a quiet status line, one caption with an inline (?) that
 * expands the steps below it. Defaults (the headset button, /play) are untouched. */
.pp-cn__scan--bare { padding: 0; }
.pp-cn__state--quiet:not(.is-error) { display: none; }
.pp-cn__cap { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font: 600 16px/1.3 var(--su-body); color: var(--su-ink); }
.pp-cn__more { display: grid; grid-template-rows: 0fr; width: 100%; transition: grid-template-rows 280ms var(--su-ease), opacity 220ms var(--su-ease); opacity: 0; }
.pp-cn__more.is-open { grid-template-rows: 1fr; opacity: 1; }
.pp-cn__moreinner { min-height: 0; overflow: hidden; }
.pp-cn__more .pp-cn__how { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .pp-cn__more { transition: none; } }
.pp-cn__q { display: block; width: 20px; height: 20px; }
/* DPHeadsetConnect.qr({coach:'help'}): the coaching behind a round (?) beside the heading, in a small popover. */
.pp-cn__titlerow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pp-cn__help {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; background: var(--su-fill); color: var(--su-ink);
  transition: transform 140ms var(--su-ease);
}
.pp-cn__help:active { transform: scale(0.9); }
.pp-cn__help[aria-expanded="true"] { background: var(--su-ink); color: var(--su-bg); }
.pp-cn__pop { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity 200ms var(--su-ease); }
.pp-cn__pop.is-on { opacity: 1; }
.pp-cn__popscrim { position: absolute; inset: 0; background: rgba(15, 5, 45, 0.55); }
.pp-cn__popcard {
  position: relative; width: 100%; max-width: 380px; max-height: calc(100% - 16px); overflow-y: auto; padding: 22px 18px 16px;
  border-radius: 26px; background: var(--su-bg); color: var(--su-ink); text-align: left;
  box-shadow: 0 24px 60px rgba(15, 5, 45, 0.45), inset 0 0 0 1px var(--su-line-2);
  transform: scale(0.96); transition: transform 220ms var(--su-ease);
}
.pp-cn__pop.is-on .pp-cn__popcard { transform: none; }
.pp-cn__poptitle { margin: 0; text-align: center; font: 800 20px/1.2 var(--su-display); }
.pp-cn__popcard .pp-cn__how { margin-top: 14px; }
.pp-cn__popok {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 14px;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--su-ink); color: var(--su-bg); font: 700 17px/1 var(--su-body);
}
@media (prefers-reduced-motion: reduce) { .pp-cn__pop, .pp-cn__popcard { transition: none; } }
.pp-cn__alt, .pp-mine__links { display: flex; justify-content: center; margin-top: 18px; }

.pp-mine { display: flex; flex-direction: column; }
.pp-mine__hs {
  display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 14px 16px; border-radius: var(--su-radius);
  background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2);
}
.pp-mine__hs.is-on { box-shadow: inset 0 0 0 1.5px var(--su-ink); }
.pp-mine__av { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--su-fill-3); }
.pp-mine__ok { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--su-ink); }
.pp-mine__ok svg { width: 28px; height: 28px; fill: none; stroke: var(--su-bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pp-mine__hstext { flex: 1 1 auto; min-width: 0; }
.pp-mine__hstext p { margin: 0; }
.pp-mine__hsk { font-size: 13px; color: var(--su-ink-3); }
.pp-mine__hsname { font: 800 20px/1.2 var(--su-display); overflow-wrap: anywhere; }
.pp-mine__hstext .pp-mine__hsmodel { margin-top: 3px; font-size: 14px; color: var(--su-ink-3); }
.pp-mine__reconnect { flex: none; margin: 0; }
.pp-mine__sec { margin-top: 28px; }
.pp-mine__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pp-mine__h { margin: 0; font: 800 19px/1.2 var(--su-display); }
.pp-mine__count { font-size: 14px; color: var(--su-ink-3); }
.pp-mine__ph { margin: 10px 0 0; font-size: 15px; color: var(--su-ink-3); }
.pp-mine__scores { list-style: none; margin: 0; padding: 0; }
.pp-mine__score { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-mine__score:last-child { border-bottom: 0; }
.pp-mine__stext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-mine__sname { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-mine__ssub { font-size: 13px; color: var(--su-ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-mine__snum { flex: none; font: 800 20px/1 var(--su-display); font-variant-numeric: proportional-nums; }
.pp-mine__phdot { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px dashed var(--su-line); }
.pp-mine__phline { flex: 1 1 auto; height: 12px; max-width: 160px; border-radius: 6px; background: var(--su-fill-3); opacity: 0.55; }
.pp-mine__score--ph:nth-child(2) .pp-mine__phline { max-width: 120px; }
.pp-mine__score--ph:nth-child(3) .pp-mine__phline { max-width: 140px; }
.pp-mine__phnum { margin-left: auto; font: 800 20px/1 var(--su-display); color: var(--su-ink-4); }
.pp-mine__clipph {
  aspect-ratio: 9 / 16; border-radius: 14px; border: 1.5px dashed var(--su-line);
  display: flex; align-items: center; justify-content: center;
}
.pp-mine__clipph svg { width: 26px; height: 26px; fill: var(--su-ink-4); }
.pp-mine__badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
.pp-mine__badge { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.pp-mine__bbtn { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.pp-mine__bart {
  width: 100%; max-width: 72px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: var(--su-fill-2);
}
.pp-mine__badge--ph .pp-mine__bart { background: none; border: 1.5px dashed var(--su-line); }
.pp-mine__bart--type { font: 800 24px/1 var(--su-display); }
.pp-mine__bimg { width: 84%; height: 84%; object-fit: contain; image-rendering: auto; }
.pp-mine__bname { width: 100%; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--su-ink-2); overflow-wrap: anywhere; }

/* Settings → Headsets + the headset info page (Oct 30 2026, .claude/install-hub/DESIGN.md §6).
   The update accent is plain coloured text, never a pill. */
.pp-hs__behind { color: var(--pp-accent, #ffd166); }
.pp-hsbanner-host:empty { display: none; }
.pp-hsbanner { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 12px; padding: 14px 14px 14px 16px; border: 0; border-radius: 16px; background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line); color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-hsbanner:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; }
.pp-hsbanner__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pp-hsbanner__t { font: 800 16px/1.2 var(--su-display); color: var(--pp-accent, #ffd166); }
.pp-hsbanner__sub { font-size: 14px; line-height: 1.35; color: var(--su-ink-2); }
.pp-hs__open { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 64px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pp-hs__open:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; border-radius: 10px; }
.pp-hs__open .pp-hs__icon--img { flex: 0 0 48px; width: 48px; }
.pp-hs__icon--nodot.is-online::after { content: none; }
.pp-hs__av--row { flex: 0 0 40px; width: 40px; height: 40px; }
.pp-hs__open .pp-hs__text { flex: 1 1 auto; }
.pp-hs__open .pp-hs__meta { line-height: 1.3; }

.pp-hi__sec:empty { display: none; }
.pp-hi__sec--hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 6px; }
.pp-hi__art.pp-hs__icon--img { flex: none; width: min(56vw, 200px); aspect-ratio: 3 / 2; opacity: 0.6; filter: saturate(0.3); transition: opacity 240ms, filter 240ms; }
.pp-hi__art.is-live { opacity: 1; filter: none; }
.pp-hi__av { position: relative; margin-top: -30px; border-radius: 50%; box-shadow: 0 0 0 4px var(--su-bg); }
.pp-hs__av--hero { width: 68px; height: 68px; }
.pp-hi__pickav { margin-top: 2px; min-height: 40px; font-size: 14px; }
.pp-hi__namebtn { margin-top: 10px; justify-content: center; min-height: 32px; }
.pp-hi__name { font: 800 24px/1.15 var(--su-display); overflow-wrap: anywhere; text-align: center; }
.pp-hi__form { max-width: 340px; margin-top: 12px; padding: 0; text-align: left; }
.pp-hi__model { margin: 4px 0 0; font-size: 14px; color: var(--su-ink-3); }
.pp-hi__status { margin: 6px 0 0; font: 600 15px/1.3 var(--su-body); color: var(--su-ink-3); }
.pp-hi__status.is-live { color: var(--su-ink); }
.pp-hi__sec--pick { margin-top: 14px; }
.pp-hi__sec--pick .pp-hspick { padding-bottom: 0; border-bottom: 0; }
.pp-hi__sec--tiles { margin-top: 20px; }
.pp-hi__tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.pp-hi__tile { padding: 12px; gap: 6px; min-width: 0; }
.pp-hi__tilev { font: 800 20px/1.15 var(--su-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-hi__tile .pp-tile__k { font-size: 13px; }
.pp-hi__bar { margin-top: 0; height: 4px; }
.pp-hi__sec--place, .pp-hi__sec--signed { margin-top: 8px; }
.pp-hi__card { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 16px; background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2); }
.pp-hi__label { font-size: 13px; color: var(--su-ink-3); }
.pp-hi__value { font: 700 17px/1.25 var(--su-body); overflow-wrap: anywhere; }
.pp-hi__sub { margin: 0; font-size: 14px; line-height: 1.4; color: var(--su-ink-3); }
.pp-hi__sec--games .pp-page__h, .pp-hi__sec--device .pp-page__h, .pp-hi__sec--settings .pp-page__h { margin: 26px 0 8px; }
.pp-hi__games, .pp-hi__rows { list-style: none; margin: 0; padding: 0; }
.pp-hi__game { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-hi__game:last-child { border-bottom: 0; }
.pp-hi__thumb { flex: 0 0 40px; width: 40px; aspect-ratio: 2 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; background: var(--su-fill); }
.pp-hi__thumbimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-hi__thumbname { padding: 2px; font: 800 8px/1.1 var(--su-display); text-align: center; overflow: hidden; overflow-wrap: anywhere; }
.pp-hi__game .pp-hs__text { flex: 1 1 auto; }
.pp-hi__alsot { margin: 14px 0 2px; font-size: 14px; color: var(--su-ink-3); }
.pp-hi__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; min-height: 44px; padding: 11px 0; border-bottom: 1px solid var(--su-line-2); font-size: 15px; }
.pp-hi__row:last-child { border-bottom: 0; }
.pp-hi__rowk { color: var(--su-ink-3); }
.pp-hi__rowv { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.pp-hi__rowx { flex: 1 0 100%; font-size: 14px; text-align: right; }
.pp-hi__link { min-height: 0; padding: 0; font-size: inherit; }
.pp-hi__kiosk { padding: 2px 14px 10px; border-radius: 16px; background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line); }
.pp-hi__kiosk .pp-toggle { border-bottom: 0; }
.pp-hi__kiosk .pp-toggle__title { font-size: 19px; }
.pp-hi__kiosk .pp-hi__sub { padding-bottom: 4px; }
.pp-hi__note { font-size: 14px; line-height: 1.35; color: var(--pp-accent, #ffd166); padding-right: 6px; }
.pp-hi__err { font-size: 14px; color: var(--su-danger, #ff8a8a); }
.pp-hi__err:not(:empty) { margin-top: 10px; }
.pp-hi__sec--remove { margin: 22px 0 8px; text-align: center; }
.pp-hi__rm { min-height: 44px; font-size: 15px; }
.pp-hi__confirm { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line); }
.pp-hi__confirmt { margin: 0; font: 800 17px/1.25 var(--su-display); overflow-wrap: anywhere; }
.pp-hi__confirmrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.pp-install .su-btn { text-decoration: none; }

/* ── TOPBAR (Oct 30 2026): the account button's picture, the headset button, the Menu's Connect row ── */
.pp-menu__av { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pp-menu__connect { margin-top: 14px; border-top: 1px solid var(--su-line-2); border-bottom: 1px solid var(--su-line-2); }
.pp-signin__mgr { margin-top: 16px; color: var(--su-ink-4); font-size: 14px; }

/* ── SESSION: one play session as a page (/portal/session-view.js) ───── */
.pp-sv__head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 4px 0; }
.pp-sv__card { position: relative; width: min(58vw, 230px); aspect-ratio: 2 / 3; border-radius: 20px; overflow: hidden; background: var(--su-fill-2); margin-bottom: 18px; }
.pp-sv__art { width: 100%; height: 100%; display: block; object-fit: cover; }
.pp-sv__logo { position: absolute; left: 12%; right: 12%; bottom: 8%; width: 76%; max-height: 34%; object-fit: contain; }
.pp-sv__title { margin: 0; font: 800 28px/1.12 var(--su-display); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pp-sv__meta { margin: 8px 0 0; color: var(--su-ink-2); font-size: 16px; }
.pp-sv__stats { margin: 2px 0 0; color: var(--su-ink-3); font-size: 15px; }
.pp-sv__videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* A video a headset has announced that has not arrived yet (session-view.js uploadingTile, Nov 17 2026): the tile
 * holds the video's place, on the session page's grid and in the live session's row alike. */
.pp-clip.pp-clip--up {
  cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: inset 0 0 0 1.5px var(--su-line);
}
.pp-clip.pp-clip--up::after { content: none; }
.pp-clip.pp-clip--up:active { transform: none; }
.pp-clip__spin {
  width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--su-line); border-top-color: var(--su-ink);
  animation: su-spin 0.9s linear infinite;
}
/* The page's white, not ink-2: 4.8:1 on the tile's fill (ink-2 was 4.0:1, under AA for text this size). */
.pp-clip__up { font: 600 13px/1.2 var(--su-body); color: var(--su-ink); }
@media (prefers-reduced-motion: reduce) { .pp-clip__spin { animation: none; } }
.pp-sv__badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
.pp-sv__badge { min-width: 0; }
.pp-sv__badgebtn {
  display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 44px; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pp-sv__badgebtn:active .pp-sv__badgeart { transform: scale(0.94); }
.pp-sv__badgeart { width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; transition: transform 120ms var(--su-ease); }
.pp-sv__badgeart--none, .pp-badgeinfo__art.pp-sv__badgeart--none { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--su-fill-2); }
.pp-sv__badgeart--none svg { width: 56%; height: 56%; fill: none; stroke: var(--su-ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-sv__badge.is-missed .pp-sv__badgeart, .pp-badgeinfo.is-missed .pp-badgeinfo__art { opacity: 0.5; filter: grayscale(1); }
.pp-sv__badge.is-missed .pp-sv__badgename { font-weight: 600; color: var(--su-ink-3); }
.pp-sv__slotlede { margin: -6px 0 16px; font-size: 16px; line-height: 1.35; color: var(--su-ink-2); }
.pp-sv__stillmore { display: block; margin: 14px auto 0; min-height: 44px; }
.pp-badgeinfo { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: max(28px, env(safe-area-inset-bottom)); outline: none; }
.pp-badgeinfo__x { position: absolute; top: 12px; right: 12px; }
.pp-badgeinfo__art { width: 136px; height: 136px; object-fit: contain; margin: 14px 0 14px; }
.pp-badgeinfo__name { margin: 0; font: 800 26px/1.15 var(--su-display); overflow-wrap: anywhere; }
.pp-badgeinfo__game { margin: 6px 0 0; font-size: 15px; color: var(--su-ink-3); }
.pp-badgeinfo__desc { margin: 12px 0 0; max-width: 420px; font-size: 16px; line-height: 1.4; color: var(--su-ink-2); }
.pp-badgeinfo__stats { display: flex; justify-content: center; gap: 28px; width: 100%; margin-top: 20px; padding-top: 18px; border-top: 1.5px solid var(--su-line); }
.pp-badgeinfo__stat { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.pp-badgeinfo__v { font: 800 20px/1.1 var(--su-display); }
.pp-badgeinfo__l { font-size: 13px; line-height: 1.2; color: var(--su-ink-3); }
.pp-badgeinfo__earned { margin: 18px 0 0; font-size: 14px; line-height: 1.35; color: var(--su-ink-2); overflow-wrap: anywhere; text-wrap: balance; }
.pp-badgeinfo__when { margin: 2px 0 0; font-size: 14px; line-height: 1.35; color: var(--su-ink-3); }
.pp-sv__badgename { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.pp-sv__badgewho { margin-top: 2px; font-size: 13px; line-height: 1.25; color: var(--su-ink-3); overflow-wrap: anywhere; }
.pp-sv__moments { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; line-height: 1.35; color: var(--su-ink-2); }
.pp-sv__moment b { color: var(--su-ink); font-weight: 600; }
.pp-sv__form { display: grid; gap: 12px; }
.pp-sv__form .su-input:focus-visible { outline: none; }
.pp-sv__sent { padding: 18px 0 4px; }
.pp-sv__senth { margin: 0 0 4px; font: 800 24px/1.15 var(--su-display); }
.pp-sv__sentt { margin: 0; color: var(--su-ink-2); overflow-wrap: anywhere; }
.pp-sv__notmine { display: block; width: max-content; margin: 22px auto 0; min-height: 44px; }
.pp-share__game { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; margin-bottom: 18px; border: 0; border-radius: 18px; background: var(--su-fill-2); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pp-share__thumb { flex: none; width: 56px; height: 84px; border-radius: 10px; object-fit: cover; background: var(--su-fill-3); }
.pp-share__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-share__name { font: 800 18px/1.2 var(--su-display); overflow-wrap: anywhere; }
.pp-share__when { font-size: 15px; color: var(--su-ink-2); }
.pp-share__see { font-size: 15px; color: var(--su-ink-3); }
.pp-share__lede { margin: 0 0 16px; color: var(--su-ink-2); }
.pp-sessions__empty { margin: 8px 0 0; color: var(--su-ink-2); }

/* Settings → Plan: minutes played and the estimated bill (lib/usageStatement). */
.pp-bill { display: grid; gap: 22px; }
/* The statement and "What your plan pays for" are two .pp-bill boxes in a row: the same gap between them. */
.pp-bill + .pp-bill { margin-top: 22px; }
.pp-bill__top { display: grid; gap: 6px; }
.pp-bill__rate { margin: 0; font-size: 15px; line-height: 1.4; color: var(--su-ink-3); text-wrap: pretty; }
.pp-bill__sec { display: grid; padding: 4px 16px; border-radius: var(--su-radius); background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line-2); }
.pp-bill__h { margin: 12px 0 4px; font-size: 14px; font-weight: 600; color: var(--su-ink-3); }
.pp-bill__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--su-line-2); font-size: 16px; }
.pp-bill__sec > .pp-bill__row:first-child, .pp-bill__h + .pp-bill__row { border-top: 0; }
.pp-bill__k { min-width: 0; color: var(--su-ink-2); }
.pp-bill__v { flex: none; max-width: 62%; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pp-bill__row--total { align-items: center; }
.pp-bill__row--total .pp-bill__k { color: var(--su-ink); font-weight: 700; }
.pp-bill__row--total .pp-bill__v { font: 800 24px/1.1 var(--su-display); }
.pp-bill__note { margin: 0 0 12px; font-size: 14px; line-height: 1.4; color: var(--su-ink-3); text-wrap: pretty; }

/* /play: the portal's headset flow on its own page (/hq-assets/play.js) */
.pp-play__notyou { flex: none; margin-left: auto; min-height: 44px; }
.pp-play__app { margin-top: 20px; text-decoration: none; }

/* Settings → Sloped ground: the play area with its four corners, beside Line it up's height control (.cal-vs in setup.css). */
.pp-ground__layout { display: flex; gap: 14px; margin-top: 14px; height: 340px; }
.pp-ground__vs { flex: 0 0 64px; height: 100%; }
.pp-ground__plan { flex: 1 1 auto; min-width: 0; height: 100%; touch-action: none; cursor: ns-resize; user-select: none; -webkit-user-select: none; }
.pp-ground__svg { width: 100%; height: 100%; }
.pp-ground__level { fill: none; stroke: var(--su-ink-4); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.pp-ground__stem { stroke: var(--su-ink-4); stroke-width: 1.5; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.pp-ground__hot { stroke: var(--su-ink); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pp-ground__handle { cursor: ns-resize; outline: none; }
.pp-ground__hit { fill: transparent; }
.pp-ground__dot { fill: var(--su-bg); stroke: var(--su-ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pp-ground__handle.is-selected .pp-ground__dot { fill: var(--su-ink); }
.pp-ground__handle:focus-visible .pp-ground__dot { stroke-width: 3; }
.pp-ground__ring { fill: none; stroke: var(--su-ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pp-ground__portal { fill: none; stroke: var(--su-ink-3); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pp-ground__handle.is-selected .pp-ground__name { fill: var(--su-ink); }
.pp-ground__name { fill: var(--su-ink-3); font-size: 13px; text-anchor: middle; pointer-events: none; }
.pp-ground__value { fill: var(--su-ink-3); font-size: 15px; font-weight: 700; text-anchor: middle; font-variant-numeric: tabular-nums; pointer-events: none; }
.pp-ground__handle.is-selected .pp-ground__value { fill: var(--su-ink); }
.pp-ground__save { margin-top: 16px; }

/* ── SCORES BY GAME (Nov 1 2026): a score only compares with that game's others ── */
.pp-gameboards, .pp-bestgames { display: grid; gap: 26px; transition: opacity 0.15s ease; }
.pp-bestgames.is-loading { opacity: 0.5; }
.pp-sv__sec .pp-gameboard + .pp-gameboard { margin-top: 26px; }
.pp-gamehead { display: flex; align-items: center; gap: 12px; margin: 4px 0 6px; min-width: 0; }
.pp-gamehead__card { flex: none; width: 36px; height: 54px; border-radius: 7px; object-fit: cover; background: var(--su-fill); }
.pp-gamehead__text { min-width: 0; }
.pp-gamehead__name { margin: 0; font: 700 17px/1.25 var(--su-body); color: var(--su-ink); overflow-wrap: anywhere; }
.pp-gamehead__sub { margin: 2px 0 0; font-size: 14px; line-height: 1.3; color: var(--su-ink-3); }
.pp-bestgames__more { display: block; width: 100%; min-height: 44px; margin: 12px 0 0; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; background: var(--su-fill-2); color: var(--su-ink); font: 600 15px/1 var(--su-body); }
.pp-bestgames__more:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; }

/* ── REPORT: "Email me my results", the post-game report sign-up (portal.js shareSheet, session-page.js) ── */
body.pp-has-tix.pp-report-main .pp-cta__btn { background: var(--su-ink); color: var(--su-bg); }
body.pp-has-tix.pp-report-main .pp-tix__btn { background: #2b2b2b; color: var(--su-ink); }
.pp-report__lede { margin: 0 0 16px; color: var(--su-ink-2); }
.pp-report .pp-sv__sent { padding: 6px 0 10px; }
.pp-report + .pp-share__game { margin-top: 22px; }
.pp-report__quiet { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 18px; }
.pp-report__quiet .su-link { min-height: 44px; display: inline-flex; align-items: center; }
.pp-page__top .pp-report__title { white-space: normal; overflow: visible; font-size: 22px; line-height: 1.15; }

/* ── PLAYER NAMES: tap a name to change it, or the picture (player-name-sheet.js) ── */
.pp-name__line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pp-name__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-name__pencil { flex: none; display: block; width: 13px; height: 13px; opacity: 0.55; }
.pp-name__pencil svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* The row's avatar and name are one button, lined up exactly where those two cells sit on a row you can't tap. */
.pp-row.is-editable { grid-template-columns: 22px minmax(0, 1fr) auto; }
.pp-row__edit { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pp-row__edit:active .pp-name__text { opacity: 0.6; }
.pp-row__edit:focus-visible, .pp-podium__step--edit:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 3px; }
.pp-row__edit .pp-row__who { display: block; min-width: 0; }
.pp-row__edit .pp-row__name { overflow: visible; white-space: normal; }
.pp-row__edit .pp-row__sub { display: block; }
.pp-podium__step--edit { width: 100%; margin: 0; border: 0; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pp-podium__step--edit.is-first { color: var(--su-bg); }
.pp-podium__step--edit .pp-podium__name { display: flex; justify-content: center; }
.pp-podium__step--edit .pp-name__pencil { width: 11px; height: 11px; }
.pp-name-hint { margin: 0 0 6px; font-size: 14px; line-height: 1.4; color: var(--su-ink-3); }
.pp-phase .pp-name-hint { margin: 18px 0 -8px; }

/* the sheet: on top of any page already open; follows the visible part of the screen when the keyboard is up */
.pp-ov--name { z-index: 60; inset: auto 0 auto 0; top: var(--pn-top, 0); height: var(--pn-h, 100%); }
.pp-page--name { padding-bottom: 0; }
.pp-name { display: flex; flex-direction: column; min-height: calc(100% - 76px); }
.pp-name__hero { display: flex; justify-content: center; margin: 0 0 16px; }
.pp-name__av { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.pp-name__av--letter { display: grid; place-items: center; background: var(--su-fill); font: 800 40px/1 var(--su-display); }
.pp-ov--name.is-short .pp-name__hero { display: none; }
.pp-name__msg, .pp-name__form .su-field { scroll-margin-bottom: 96px; }
.pp-ov--name.is-short .pp-page__top { min-height: 52px; padding-top: 4px; padding-bottom: 4px; }
.pp-name__form { display: flex; flex-direction: column; flex: 1 1 auto; }
.pp-name__form .su-field { margin-bottom: 0; }
.pp-name__msg { margin: 10px 0 0; }
.pp-name__h { margin: 22px 0 10px; font: 700 15px/1.2 var(--su-body); color: var(--su-ink-2); }
.pp-name__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pp-name__pic { display: block; width: 100%; aspect-ratio: 1; margin: 0; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: var(--su-fill); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pp-name__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-name__pic.is-on { box-shadow: 0 0 0 2px var(--su-bg), 0 0 0 4px var(--su-ink); }
.pp-name__pic:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 3px; }
.pp-name__again { grid-column: 1 / -1; min-height: 44px; }
.pp-name__reset { margin-top: 10px; }
.pp-name__resetbtn { display: inline-flex; align-items: center; min-height: 44px; padding-left: 0; padding-right: 0; }
.pp-name__resetbtn.is-busy { opacity: 0.5; }
.pp-name__resetline { margin: 0; font-size: 14px; line-height: 1.45; color: var(--su-ink-3); }
.pp-name__foot { position: sticky; bottom: 0; z-index: 1; margin-top: auto; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: var(--su-bg); }
.pp-name__grid + .pp-name__foot { margin-top: 12px; }
.pp-ov--name.is-short .pp-name__foot { padding-top: 8px; padding-bottom: 8px; }
.pp-ov--name .su-input:focus-visible { outline: none; }

/* ── JOIN: the headset button, signed out (portal.js renderJoin, lib/portalJoin) ── */
.pp-join .pp-signin__title { margin-bottom: 8px; }
.pp-join__lede { margin-bottom: 16px; }
.pp-join .pp-signin__title + .pp-form { margin-top: 16px; }
.pp-join__consent { margin: 2px 0 16px; font-size: 16px; color: var(--su-ink); }
.pp-join__fine { margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: var(--su-ink-3); text-wrap: pretty; }
.pp-join__fine a { color: inherit; text-decoration: underline; }
.pp-join .pp-auth__links .su-link { min-height: 44px; display: inline-flex; align-items: center; }
.pp-join__foot { margin-top: 4px; }
.pp-row__edit:disabled { cursor: default; }

/* Getting here (Nov 1 2026; lib/portalDirections). */
.pp-where-host { margin: 18px 4px 0; }
.pp-where { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 14px; border: 0; border-radius: var(--su-radius); background: var(--su-fill-2); color: var(--su-ink); text-align: left; cursor: pointer; }
.pp-where__icon { flex: 0 0 24px; width: 24px; height: 24px; }
.pp-where__icon svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-where__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-where__addr { font: 700 16px/1.3 var(--su-body); overflow-wrap: anywhere; }
.pp-where__how { font: 400 14px/1.35 var(--su-body); color: var(--su-ink-3); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pp-dir__addr { margin: 0; font: 800 22px/1.25 var(--su-display); overflow-wrap: anywhere; }
.pp-dir__copy { display: inline-flex; align-items: center; min-height: 44px; padding-left: 0; padding-right: 0; }
.pp-dir__how { margin: 6px 0 0; font-size: 17px; line-height: 1.45; color: var(--su-ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.pp-dir__photo { display: block; width: 100%; max-height: 420px; object-fit: cover; margin-top: 16px; border-radius: var(--su-radius); background: var(--su-fill-2); }
.pp-dir__map { margin-top: 12px; }
.pp-dir .pp-dir__map:first-of-type { margin-top: 20px; }
.pp-map__sub { margin: 26px 0 10px; font: 800 19px/1.2 var(--su-display); }
.pp-dirform__photo { margin-top: 16px; display: grid; gap: 8px; }
.pp-dirform__photo .pp-dir__photo { margin-top: 0; }
.pp-dirform__photobtns { display: flex; align-items: center; gap: 16px; }

/* ═══════════════════════════════════════════════════════════════════════
 * SESSION BAR — "Your Session 1:47" at the bottom while a game is on (portal app funnel, Nov 9 2026;
 * public/portal/session-bar.js, portal.js syncSessionBar). A white track filling with brand purple as the
 * session runs. Two identical layers: purple ink on white underneath, white ink on purple on top, the top one
 * clipped to --sbar-p, so every letter reads wherever the edge is. Digits roll (transform + opacity only).
 * ═══════════════════════════════════════════════════════════════════════ */
.pp-sbar {
  --sbar-ink: #6a40f0;
  pointer-events: auto; position: relative; display: block; overflow: hidden; isolation: isolate;
  width: 100%; max-width: calc(var(--su-max) - 2 * var(--su-gutter)); height: 56px;
  margin: 0; padding: 0; border: 0; border-radius: 999px; background: #ffffff; cursor: pointer;
  color: var(--sbar-ink); font: 700 18px/1 var(--su-body); text-align: center;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform 160ms var(--su-ease);
}
.pp-sbar:active { transform: scale(0.98); }
.pp-sbar:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 3px; }
.pp-sbar__layer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 100%; padding: 0 22px; white-space: nowrap;
}
.pp-sbar__layer--base { position: relative; color: var(--sbar-ink); }
.pp-sbar__layer--fill {
  position: absolute; inset: 0; background: var(--sbar-ink); color: #ffffff;
  clip-path: inset(0 calc(100% - var(--sbar-p, 0%)) 0 0 round 999px);
}
.pp-sbar.is-ready .pp-sbar__layer--fill { transition: clip-path 260ms linear; }
.pp-sbar__label { font: 700 18px/1 var(--su-body); letter-spacing: -0.005em; }
/* Before the clock starts: "Your Session" over a smaller, breathing "Starting Soon"; no timer. */
.pp-sbar__soon { display: none; }
.pp-sbar.is-soon .pp-sbar__layer { flex-direction: column; justify-content: center; gap: 4px; }
.pp-sbar.is-soon .pp-sbar__time { display: none; }
.pp-sbar.is-soon .pp-sbar__label { font-size: 17px; }
.pp-sbar.is-soon .pp-sbar__soon { display: block; font: 600 13px/1 var(--su-body); letter-spacing: 0.01em; animation: pp-sbar-soon 1.8s ease-in-out infinite; }
@keyframes pp-sbar-soon { 0%, 100% { opacity: 0.55; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pp-sbar.is-soon .pp-sbar__soon { animation: none; opacity: 0.8; } }
.pp-sbar__time {
  display: inline-flex; align-items: center;
  font: 800 20px/1 var(--su-display); letter-spacing: 0; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1;
}
/* One column per character: a fixed width (1ch = a digit with tabular figures), so a changing digit never moves its
 * neighbours, and a clip to the line so the rolling glyphs appear from and vanish into the column's own edges. */
.pp-sbar__slot { position: relative; display: inline-block; width: 1ch; height: 1.25em; overflow: hidden; }
.pp-sbar__slot--sep { width: auto; padding: 0 0.04em; }
.pp-sbar__g { display: block; height: 1.25em; line-height: 1.25em; text-align: center; will-change: transform; }
.pp-sbar__g.is-out { position: absolute; left: 0; right: 0; top: 0; animation: pp-sbar-out 300ms cubic-bezier(0.55, 0, 0.75, 0.25) forwards; }
.pp-sbar__g.is-in { animation: pp-sbar-in 460ms cubic-bezier(0.3, 1.35, 0.5, 1) both; }
@keyframes pp-sbar-in { from { transform: translateY(78%) scale(0.86); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes pp-sbar-out { from { transform: none; opacity: 1; } to { transform: translateY(-78%) scale(0.86); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pp-sbar.is-ready .pp-sbar__layer--fill { transition: none; }
  .pp-sbar__g.is-in, .pp-sbar__g.is-out { animation: none; }
}
body.pp-has-sbar .pp-cta { padding-top: 30px; }
/* The phase card while a session is on: one line, the page stays the portal page (portal.js drawPhase). */
.pp-now1 { margin: 16px 0 0; font: 600 17px/1.35 var(--su-body); color: var(--su-ink); text-wrap: pretty; }
.pp-now1--over { color: var(--su-ink-2); }

/* ── SESSIONS PANEL: Settings → Sessions + "Share session" (portal.js panelMetrics, openTeamSession, openShareTo) ──
 * The cards are the post-game report's (.pp-share__game); the floating button is the page's bottom pill (.pp-cta__btn). */
.pp-ssn__list { display: grid; gap: 12px; }
.pp-ssn__list .pp-share__game { margin-bottom: 0; }
.pp-ssn__skel { height: 108px; border-radius: 18px; }
.pp-ssn__counts { color: var(--su-ink-2); }
.pp-share__game:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; }
.pp-share__game:active { transform: scale(0.99); }
a.pp-share__game { text-decoration: none; }   /* Menu → Past sessions: a card is a link to that session's page */
.pp-ssn__more { margin-top: 14px; }
.pp-ssn__more.is-busy { opacity: 0.6; }
.pp-page--ssn { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.pp-ssn__bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 26px var(--su-gutter) calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--su-bg) 65%, rgba(0, 0, 0, 0));
  display: flex; justify-content: center; pointer-events: none;
}
.pp-ssn__bar[hidden] { display: none; }
.pp-ssn__lede { margin-bottom: 14px; font-size: 16px; color: var(--su-ink-2); }
.pp-ssn__form .su-input:focus-visible { outline: none; }
.pp-ssn__msg { margin: -2px 0 14px; font-size: 15px; line-height: 1.4; color: var(--su-ink); }

/* ── GAME RESULTS (Nov 10 2026, scoring API round): every round of every game (session-view.js resultCard/resultGroup,
 * portal.js drawResults + Highscores by way to play). No panels: the same face + name + value rows as the Highscores
 * cells (.pp-best__cell), one heading line per round. Built only on --su-* tokens, so /docs can show the same rounds. ── */
.pp-results__cards, .pp-hsrecent { display: grid; gap: 22px; }
.pp-results-host { margin-top: 26px; }
.pp-results-host[hidden] { display: none; }
.pp-res { min-width: 0; }
.pp-res__head { display: flex; align-items: baseline; gap: 10px; min-width: 0; margin: 0; }
.pp-res__title { flex: none; margin: 0; font: 700 15px/1.3 var(--su-body); color: var(--su-ink-2); white-space: nowrap; }
.pp-res__rows { list-style: none; margin: 0; padding: 0; }
.pp-res__row { min-width: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--su-line-2); }
.pp-res__row:last-child { border-bottom: 0; }
.pp-res__av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--su-fill); color: var(--su-ink); font: 700 15px/1 var(--su-body); }
.pp-res__avimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-res__av--cpu { background: var(--su-fill-2); box-shadow: inset 0 0 0 1.5px var(--su-line); color: var(--su-ink); }
.pp-res__av--cpu svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pp-res__av--cpu .pp-cpu__eye { fill: currentColor; stroke: none; }
.pp-res__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-res__line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pp-res__who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 600; color: var(--su-ink); }
.pp-res__tag { flex: none; align-self: center; padding: 3px 8px 2px; border-radius: 999px; background: var(--su-fill-2); box-shadow: inset 0 0 0 1px var(--su-line); font: 700 11px/1.2 var(--su-body); letter-spacing: 0.06em; color: var(--su-ink-2); }
.pp-res__sub { font-size: 14px; line-height: 1.25; color: var(--su-ink-3); font-variant-numeric: tabular-nums; }
.pp-res__val { font: 800 20px/1 var(--su-display); color: var(--su-ink); white-space: nowrap; font-variant-numeric: proportional-nums; font-feature-settings: "zero" 0, "tnum" 0; }
.pp-res__val.is-dnf { font: 700 14px/1 var(--su-body); letter-spacing: 0.04em; color: var(--su-ink-3); }
.pp-res__row.is-dim .pp-res__who, .pp-res__row.is-dim .pp-res__val { color: var(--su-ink-3); }
.pp-res__more { margin: 6px 0 0; font-size: 14px; color: var(--su-ink-3); }
/* Highscores: the way to play on the right of the game's heading (same look as the title's way under its name),
 * the sheet that switches it, and a multi-game title's games listed under their names. */
.pp-gamehead .pp-gamehead__text { flex: 1; }
.pp-hshead { display: flex; justify-content: flex-end; margin: 0 0 2px; }
.pp-hsway { flex: none; display: inline-flex; align-items: center; gap: 4px; max-width: 52%; min-height: 44px; margin-left: auto; padding: 0; border: 0; background: none; color: var(--su-ink-3); font: 600 15px/1.25 var(--su-body); text-align: right; }
button.pp-hsway { cursor: pointer; }
.pp-hsway__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-hsway__chev { flex: none; display: grid; width: 18px; height: 18px; }
.pp-hsway__chev svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
button.pp-hsway:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; border-radius: 6px; }
.pp-hsways { margin-top: 10px; }
.pp-hsways__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--su-line-2); background: none; cursor: pointer; color: var(--su-ink); font: 600 17px/1.25 var(--su-body); text-align: left; }
.pp-hsways__opt:last-child { border-bottom: 0; }
.pp-hsways__opt:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; }
.pp-hsways__check { flex: none; width: 22px; height: 22px; }
.pp-hsways__check svg { width: 22px; height: 22px; fill: none; stroke: var(--su-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pp-hsbody, .pp-hsgroup { display: grid; gap: 18px; }
.pp-hsbody { gap: 26px; }
.pp-hsgroup__name { margin: 0; font: 700 15px/1.3 var(--su-body); color: var(--su-ink-2); }
.pp-hsgroup__name + .pp-hsboard { margin-top: -10px; }
.pp-hsboard__cap { margin: 0; font: 700 15px/1.3 var(--su-body); color: var(--su-ink-2); }
.pp-hsboard__none { margin: 4px 0 0; }
.pp-best__av--init { display: grid; place-items: center; border-radius: 50%; background: var(--su-fill); color: var(--su-ink); font: 700 15px/1 var(--su-body); }
/* A row that stands for several people: their faces, smaller, inside the one face square (session-view.js faceStack).
 * Each keeps a thin ring in the page colour so neighbours read apart. */
.pp-avstack { position: relative; display: block; width: 40px !important; height: 40px !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
.pp-avstack > .pp-res__av { position: absolute; box-shadow: 0 0 0 1.5px var(--su-bg); font-size: 11px; }
.pp-avstack > .pp-res__av--init, .pp-avstack > .pp-res__av--more { background: linear-gradient(var(--su-fill-3), var(--su-fill-3)), var(--su-bg); color: var(--su-ink); }
.pp-avstack > .pp-res__av--cpu { background: linear-gradient(var(--su-fill-2), var(--su-fill-2)), var(--su-bg); box-shadow: 0 0 0 1.5px var(--su-bg), inset 0 0 0 1px var(--su-line); }
.pp-avstack > .pp-res__av--cpu svg { width: 72%; height: 72%; }
.pp-res__av--more { font-weight: 700; }
.pp-avstack--1 > .pp-res__av { inset: 0; width: 40px; height: 40px; font-size: 15px; }
.pp-avstack--2 > .pp-res__av { width: 26px; height: 26px; font-size: 12px; }
.pp-avstack--2 > :nth-child(1) { top: 0; left: 0; }
.pp-avstack--2 > :nth-child(2) { right: 0; bottom: 0; }
.pp-avstack--3 > .pp-res__av { width: 22px; height: 22px; }
.pp-avstack--3 > :nth-child(1) { top: 0; left: 9px; }
.pp-avstack--3 > :nth-child(2) { bottom: 0; left: 0; }
.pp-avstack--3 > :nth-child(3) { bottom: 0; right: 0; }
.pp-avstack--4 > .pp-res__av { width: 19px; height: 19px; font-size: 10px; }
.pp-avstack--4 > :nth-child(1) { top: 0; left: 0; }
.pp-avstack--4 > :nth-child(2) { top: 0; right: 0; }
.pp-avstack--4 > :nth-child(3) { bottom: 0; left: 0; }
.pp-avstack--4 > :nth-child(4) { bottom: 0; right: 0; }
/* A race: the place under the name in podium colours; notes under a round when a score made the Highscores' top 3. */
.pp-res__place { font-weight: 700; color: var(--su-ink-3); font-variant-numeric: normal; }
.pp-res__place.is-p1 { color: #f7b90f; }
.pp-res__place.is-p2 { color: #c9d6e3; }
.pp-res__place.is-p3 { color: #de9457; }
.pp-res__note { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font: 600 15px/1.35 var(--su-body); color: var(--su-ink); }
.pp-res__noteicon { flex: none; display: grid; width: 18px; height: 18px; color: #f7b90f; }
.pp-res__noteicon svg { width: 18px; height: 18px; fill: currentColor; }
/* ── LEADERBOARD (Nov 10 2026): every row says its place (1st gold, 2nd silver, 3rd bronze) under the name; a game's
 * "See all" and heading open its whole board (portal.js openGameBoard): this portal or Everywhere, loading as you scroll. */
.pp-best__cell.has-rank { grid-template-rows: auto auto; row-gap: 2px; }
.pp-best__cell.has-rank > .pp-best__av { grid-row: 1 / span 2; }
.pp-best__cell.has-rank > .pp-best__score { grid-row: 1 / span 2; }
.pp-best__cell.has-rank > .pp-best__name { grid-row: 1; align-self: end; }
.pp-best__rank { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 1.25; color: var(--su-ink-3); }
.pp-best__where { color: var(--su-ink-3); font-weight: 500; }
.pp-gameboard .pp-gamehead { cursor: pointer; }
.pp-hsall { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin: 2px 0 0; padding: 0; border: 0; background: none; cursor: pointer; color: var(--su-ink-2); font: 600 15px/1 var(--su-body); }
.pp-hsall svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pp-hsall:focus-visible { outline: 2px solid var(--su-ink); outline-offset: 2px; border-radius: 6px; }
.pp-lbpage { display: grid; gap: 14px; padding-bottom: 40px; }
.pp-lbpage__head .pp-gamehead { cursor: default; margin: 0; }
.pp-lbpage__pick { display: flex; justify-content: flex-end; margin: -6px 0 -4px; }
.pp-lbpage__pick[hidden] { display: none; }
.pp-lbpage__board { margin-left: 0; max-width: 100%; }
.pp-lbpage__list.pp-hsrecent { display: grid; gap: 22px; }
.pp-lbpage__more { min-height: 44px; }
.pp-lbpage__more.is-loading { background: radial-gradient(circle at center, var(--su-ink-3) 0 3px, transparent 4px) 50% 50% / 14px 14px no-repeat; opacity: 0.7; animation: pp-lb-pulse 0.9s ease-in-out infinite alternate; }
@keyframes pp-lb-pulse { from { opacity: 0.25; } to { opacity: 0.8; } }
@media (prefers-reduced-motion: reduce) { .pp-lbpage__more.is-loading { animation: none; } }
.pp-lbpage__scope { grid-template-columns: 1fr 1fr; margin: 0 0 4px; }
.pp-lbpage__scope .pp-period__opt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 12px; }

/* Create Profile, pre-session (portal-profiles round, Nov 12 2026): for a visitor who came from the printed code. */
.pp-wait__cp { display: grid; gap: 10px; margin-top: 8px; }
.pp-wait__hint { margin: 0; text-align: center; font-size: 14px; line-height: 1.4; color: var(--su-ink-3); }
