/* Where Do We Stand? — one committed dark look for a living-room TV and phones in a dim room.
   Same identity as the solo quiz: condensed display type, ballot-sheet rules, the compass as the hero. */
:root {
  --bg: #0f1218;
  --surface: #181d27;
  --surface-2: #212836;
  --fg: #eef1f6;
  --muted: #9aa3b2;
  --line: #2d3442;
  --accent: #8b98ff;
  --agree: #4cc2ad;
  --disagree: #c48ae6;
  --neutral: #8a93a3;
  --gold: #ffcc4d;
  --good: #5fd39a;
  --bad: #ff7a7a;
  --q-al: #3b2627;
  --q-ar: #21304a;
  --q-ll: #20372a;
  --q-lr: #312640;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
.boot { padding: 40px; color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 0.85em; }
.caps { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--body);
  padding: 15px 22px;
  border-radius: 6px;
  border: 2px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #0f1218; }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--fg); border-color: var(--fg); }
.btn.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn:disabled { opacity: 0.35; cursor: default; }
.btn.small { padding: 9px 14px; font-size: 14px; }

.seg { display: inline-flex; border: 2px solid var(--fg); border-radius: 6px; overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 10px 16px; font: 700 14px var(--display); font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.seg button + button { border-left: 2px solid var(--fg); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 600;
}
.chip .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--accent)); flex: none; }
.chip.off { opacity: 0.45; }
.chip .x { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0 2px; font-size: 18px; line-height: 1; }
.chip .x:hover { color: var(--bad); }
.name { color: var(--c, var(--fg)); font-weight: 700; }

/* ---------- landing ---------- */
.landing {
  max-width: 720px; margin: 0 auto;
  padding-block: 48px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 32px;
}
.wordmark { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.landing h1 { font-stretch: 68%; font-weight: 880; font-size: clamp(48px, 11vw, 96px); line-height: 0.92; text-transform: uppercase; }
.landing .lede { font-size: 19px; color: var(--muted); max-width: 56ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.landing { max-width: 960px; }
.tventry { max-width: 720px; }
.tventry .codein { font-size: clamp(32px, 5vw, 56px); text-align: center; }
.good { color: var(--good); font-weight: 700; }

/* host controls on the host's phone */
.hostpanel {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.hp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hp-head .caps { color: var(--accent); }
.hp-row { display: flex; flex-direction: column; gap: 6px; }
.hp-row .seg { align-self: flex-start; }
.hp-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hp-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hp-modes .btn { padding: 12px 8px; font-size: 14px; }
.hp-qr { background: #fff; padding: 10px; border-radius: 10px; width: min(70vw, 240px); line-height: 0; align-self: center; }
.hp-qr svg { width: 100%; height: auto; display: block; }
.mode.off { opacity: 0.4; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card h2 { font-stretch: 80%; font-size: 24px; text-transform: uppercase; }
.codein {
  font: 700 28px var(--mono); letter-spacing: 0.3em; text-transform: uppercase;
  width: 100%; padding: 12px 14px; border-radius: 6px; border: 2px solid var(--line);
  background: var(--bg); color: var(--fg);
}
.textin {
  font: 600 20px var(--body);
  width: 100%; padding: 14px; border-radius: 6px; border: 2px solid var(--line);
  background: var(--bg); color: var(--fg);
}
.codein:focus, .textin:focus { border-color: var(--accent); outline: none; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps div { border-top: 2px solid var(--fg); padding-top: 10px; color: var(--muted); font-size: 15px; }
.steps b { display: block; color: var(--fg); font-family: var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.err { color: var(--bad); font-weight: 600; }

/* ---------- TV (host) ---------- */
body.tv { overflow: hidden; }
body.tv #app { height: 100%; }
.tv-wrap { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.tvbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 1.4vh 2.4vw;
  border-bottom: 2px solid var(--fg);
}
.tvbar .wordmark { font-size: clamp(14px, 1.3vw, 22px); }
.tvjoin { display: flex; align-items: center; gap: 14px; font-size: clamp(14px, 1.2vw, 20px); color: var(--muted); }
.tvjoin b { color: var(--fg); font-family: var(--mono); letter-spacing: 0.15em; font-size: 1.4em; }
.tvjoin .miniqr { width: clamp(44px, 4.2vw, 72px); background: #fff; padding: 3px; border-radius: 4px; line-height: 0; }
.stage { padding: 2.6vh 2.8vw; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 2.2vh; }
.controls {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 1.2vh 2.4vw;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.controls .group { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tv-h1 { font-stretch: 68%; font-weight: 880; font-size: clamp(36px, 5.2vw, 96px); line-height: 0.95; text-transform: uppercase; }
.tv-h2 { font-stretch: 75%; font-weight: 800; font-size: clamp(24px, 2.6vw, 48px); line-height: 1.05; }
.tv-stmt { font-stretch: 78%; font-weight: 760; font-size: clamp(30px, 3.9vw, 72px); line-height: 1.07; max-width: 30ch; }
.tv-body { font-size: clamp(16px, 1.35vw, 26px); }
.kicker { font: 600 clamp(12px, 1vw, 18px) var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

.lobby { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4vw; align-items: center; height: 100%; }
.joinbox { display: flex; flex-direction: column; align-items: center; gap: 2vh; text-align: center; }
.bigqr { background: #fff; padding: 1.2vw; border-radius: 12px; width: min(30vw, 46vh); line-height: 0; }
.bigqr svg, .miniqr svg { width: 100%; height: auto; display: block; }
.joinurl { font: 600 clamp(18px, 1.8vw, 34px) var(--mono); }
.joincode { font: 700 clamp(40px, 5vw, 90px) var(--mono); letter-spacing: 0.2em; line-height: 1; }
.lobby-right { display: flex; flex-direction: column; gap: 2.4vh; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; font-size: clamp(15px, 1.25vw, 22px); }
.settings { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.settings label { display: flex; flex-direction: column; gap: 6px; }

.progress-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.4vh 2vw; font-size: clamp(15px, 1.3vw, 24px); }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.pbar { grid-column: 1 / -1; height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
.pbar span { display: block; height: 100%; background: var(--c, var(--accent)); transition: width 0.3s; }

.menu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr); gap: 2.4vw; min-height: 0; flex: 1; }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6vw; align-content: start; }
.mode {
  text-align: left; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line); border-radius: 12px;
  padding: 2.2vh 1.6vw; display: flex; flex-direction: column; gap: 1vh;
}
.mode:hover:not(:disabled) { border-color: var(--accent); background: var(--surface-2); }
.mode:disabled { opacity: 0.4; cursor: default; }
.mode h3 { font-stretch: 78%; font-size: clamp(22px, 2.2vw, 42px); text-transform: uppercase; line-height: 1; }
.mode p { color: var(--muted); font-size: clamp(14px, 1.15vw, 21px); }
.mode .caps { color: var(--accent); }
.board { background: var(--surface); border-radius: 12px; padding: 2vh 1.4vw; display: flex; flex-direction: column; gap: 1vh; min-height: 0; overflow: hidden; }
.board ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8vh; font-size: clamp(15px, 1.25vw, 23px); }
.board li { display: grid; grid-template-columns: 2ch minmax(0, 1fr) auto; gap: 10px; align-items: baseline; }
.board li .mono { color: var(--muted); }
.board li b { font-family: var(--mono); color: var(--gold); }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3vw; flex: 1; min-height: 0; align-items: start; }
.compass-card { background: var(--surface); border-radius: 12px; padding: 1vw; min-height: 0; display: flex; justify-content: center; }
.compass { width: 100%; max-height: 62vh; height: auto; display: block; }
.compass .q-al { fill: var(--q-al); } .compass .q-ar { fill: var(--q-ar); }
.compass .q-ll { fill: var(--q-ll); } .compass .q-lr { fill: var(--q-lr); }
.compass .grid { stroke: var(--fg); stroke-opacity: 0.07; }
.compass .axis { stroke: var(--fg); stroke-opacity: 0.5; stroke-width: 1.5; }
.compass .frame { fill: none; stroke: var(--fg); stroke-opacity: 0.25; }
.compass .axlbl { fill: var(--fg); font: 700 13px var(--display); font-stretch: 80%; letter-spacing: 0.06em; text-transform: uppercase; }
.compass .idot { fill: var(--muted); fill-opacity: 0.6; }
.compass .ilbl { fill: var(--muted); fill-opacity: 0.75; font: 500 10px var(--body); }
.compass .myst-halo { fill: var(--gold); fill-opacity: 0.22; }
.compass .myst { fill: var(--gold); stroke: var(--bg); stroke-width: 2.5; }
.compass .myst-q { fill: var(--bg); font: 900 13px var(--display); }
.compass .pdot { stroke: var(--bg); stroke-width: 2; }
.compass .plbl { font: 700 12px var(--body); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }

.badge { display: inline-block; font: 700 clamp(13px, 1.1vw, 20px) var(--display); font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase; border: 2px solid currentColor; border-radius: 4px; padding: 3px 9px; }
.badge.third { color: var(--accent); }
.badge.gold { color: var(--gold); }

.votes { display: flex; flex-direction: column; gap: 1.2vh; }
.votecount { font: 700 clamp(28px, 3vw, 56px) var(--mono); }
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9vh; font-size: clamp(15px, 1.3vw, 24px); }
.results li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; }
.results .ok { color: var(--good); font-weight: 800; }
.results .no { color: var(--bad); font-weight: 800; }
.results .pts { font-family: var(--mono); color: var(--gold); font-weight: 600; }

.clues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4vw; }
.clue { background: var(--surface); border-radius: 10px; padding: 1.8vh 1.3vw; display: flex; flex-direction: column; gap: 1vh; }
.clue p { font-size: clamp(16px, 1.45vw, 28px); font-weight: 600; line-height: 1.25; }
.ans { font: 700 clamp(13px, 1.05vw, 19px) var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.ans.a2, .ans.a1 { color: var(--agree); }
.ans.a-1, .ans.a-2 { color: var(--disagree); }
.ans.a0 { color: var(--neutral); }

.dist { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1vw; align-items: end; flex: 1; min-height: 0; }
.dcol { display: flex; flex-direction: column-reverse; gap: 0.8vh; align-items: center; min-width: 0; }
.dhead { font: 700 clamp(12px, 1.05vw, 20px) var(--mono); text-transform: uppercase; letter-spacing: 0.03em; text-align: center; border-top: 4px solid var(--c); padding-top: 8px; width: 100%; color: var(--c); }
.dcount { font: 700 clamp(18px, 2vw, 38px) var(--mono); }
.dchip { max-width: 100%; display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border-radius: 999px; padding: 4px 12px 4px 4px; font-weight: 700; font-size: clamp(13px, 1.1vw, 20px); }
.dchip .dot { width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--c); flex: none; }
.dchip span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anon-dot { width: clamp(22px, 2.2vw, 42px); height: clamp(22px, 2.2vw, 42px); border-radius: 50%; background: var(--fg); opacity: 0.85; }

.finale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4vw; flex: 1; min-height: 0; }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2vw; align-content: start; min-width: 0; }
.panel { background: var(--surface); border-radius: 10px; padding: 1.6vh 1.1vw; display: flex; flex-direction: column; gap: 0.8vh; min-width: 0; font-size: clamp(14px, 1.1vw, 20px); }
.panel.wide { grid-column: 1 / -1; }
.panel .stmt-s { font-weight: 600; line-height: 1.3; }
.minibar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; height: 10px; }
.minibar span { border-radius: 2px; background: var(--c); opacity: calc(0.15 + var(--w) * 0.85); }
.strip { position: relative; height: 18px; margin: 46px 6px 0; border-top: 2px solid var(--line); }
.finale .compass { max-height: 66vh; }
.strip .sdot { position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; transform: translateX(-50%); border: 2px solid var(--bg); }
.strip-ends { display: flex; justify-content: space-between; font-size: 0.85em; color: var(--muted); }

.offline { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); background: var(--bad); color: #1a0b0b; font-weight: 700; padding: 8px 16px; border-radius: 999px; z-index: 50; }

/* ---------- phone (player) ---------- */
.phone {
  max-width: 540px; margin: 0 auto; min-height: 100%;
  padding-block: 18px 32px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 20px;
}
.phonebar { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 2px solid var(--fg); padding-bottom: 10px; }
.phone h1 { font-stretch: 70%; font-weight: 860; font-size: 40px; line-height: 0.98; text-transform: uppercase; }
.phone h2 { font-stretch: 78%; font-weight: 780; font-size: 28px; line-height: 1.1; }
.p-stmt { font-family: var(--display); font-stretch: 80%; font-weight: 760; font-size: clamp(24px, 6.6vw, 32px); line-height: 1.12; min-height: 4.4em; display: flex; align-items: center; }
.answers { display: flex; flex-direction: column; gap: 10px; }
.abtn {
  display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 10px 16px;
  border-radius: 10px; border: 2px solid var(--line); background: var(--surface);
  font-weight: 700; font-size: 18px; text-align: left; cursor: pointer;
}
.abtn .dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--c); flex: none; }
.abtn[aria-pressed="true"] { border-color: var(--c); background: var(--surface-2); }
.abtn[aria-pressed="true"] .dot { background: var(--c); }
.qnav { display: flex; justify-content: space-between; align-items: center; }
.linkbtn { background: none; border: 0; color: var(--muted); padding: 8px 0; cursor: pointer; font-weight: 600; font-size: 15px; }
.linkbtn:disabled { opacity: 0.3; }
.pbar.thin { height: 6px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.optbtn {
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px;
  border-radius: 10px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; text-align: left;
  font-weight: 700; font-size: 17px; min-width: 0;
}
.optbtn .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--c); flex: none; }
.optbtn span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.optbtn[aria-pressed="true"] { border-color: var(--gold); background: var(--surface-2); }
.numgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.numgrid button { min-height: 64px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); font: 700 24px var(--mono); cursor: pointer; }
.numgrid button[aria-pressed="true"] { border-color: var(--gold); background: var(--surface-2); color: var(--gold); }
.box { background: var(--surface); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.big-result { font-family: var(--display); font-stretch: 72%; font-weight: 880; font-size: 52px; line-height: 0.95; text-transform: uppercase; }
.big-result.good { color: var(--good); }
.big-result.bad { color: var(--bad); }
.scorepill { font: 700 15px var(--mono); color: var(--gold); }
.axisrow { display: flex; flex-direction: column; gap: 6px; }
.axisrow .head { display: flex; justify-content: space-between; font-weight: 600; }
.track { position: relative; height: 10px; border-radius: 5px; background: var(--line); }
.track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--muted); }
.track .mark { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); transform: translate(-50%, -50%); }
.ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.note { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .cards, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- v7: more modes, own statements, place yourself ---------- */
.modes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1vw; }
.mode { padding: 1.4vh 1.1vw; gap: 0.5vh; border-radius: 10px; }
.mode h3 { font-size: clamp(18px, 1.7vw, 32px); }
.mode p { font-size: clamp(12px, 0.95vw, 18px); line-height: 1.3; }
.hp-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-custom { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hp-custom li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; background: var(--surface-2); border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.hp-custom .x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; padding: 0 2px; }
.hp-custom .x:hover { color: var(--bad); }
textarea.textin { font-size: 17px; font-weight: 500; resize: vertical; min-height: 84px; line-height: 1.35; }
.compass.placeable { cursor: crosshair; touch-action: manipulation; }
.phone .compass-card { padding: 8px; }
.phone .compass { max-height: none; }

/* ---------- v8: grouped menu, warnings, opt-in toggle ---------- */
.mgroup { display: flex; flex-direction: column; gap: 0.6vh; }
.menu > div > .mgroup + .mgroup { margin-top: 0.4vh; }
.mgroup .modes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mgroup .mode { padding: 1vh 0.9vw; }
.mgroup .mode p { font-size: clamp(11px, 0.85vw, 16px); }
.hp-group { color: var(--accent); margin-top: 4px; }
.hp-mode { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hp-mode .btn { width: 100%; }
.hp-warn { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.hp-warn.warn { color: var(--gold); }
.toggle-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.toggle-row input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- v9: profile pictures, party tags, camera ---------- */
img.face { object-fit: cover; border-radius: 50%; background: var(--c, var(--surface-2)); box-shadow: 0 0 0 2px var(--c, transparent); }
.chip img.dot, .dchip img.dot, .optbtn img.dot { width: 26px; height: 26px; }
.dchip img.dot { width: 1.6em; height: 1.6em; }
.optbtn img.dot { width: 34px; height: 34px; }
img.face.big { width: 72px; height: 72px; flex: none; }
.face-empty { width: 72px; height: 72px; border-radius: 50%; background: var(--c); opacity: 0.85; flex: none; }
.photo-row { flex-direction: row; align-items: center; gap: 14px; }
.photo-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ptag { display: inline-block; font: 700 0.72em var(--mono); letter-spacing: 0.02em; color: #0f1218; background: var(--pc); border-radius: 4px; padding: 1px 5px; vertical-align: 0.1em; white-space: nowrap; }
.ptag.big { font-size: clamp(13px, 1.1vw, 20px); padding: 3px 8px; }
.strip .sdot.withface { width: 24px; height: 24px; top: -13px; overflow: hidden; padding: 0; }
.strip .sdot.withface img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.cam { position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 14, 0.92); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px; }
.cam-box { background: var(--surface); border-radius: 14px; padding: 16px; width: min(420px, 100%); display: flex; flex-direction: column; gap: 12px; }
.cam-frame { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; }
.cam-frame video, .cam-frame canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-frame video { transform: scaleX(-1); }
.hp-party .seg { align-self: flex-start; }
