/* app.css: shared by index, host and play. Colours come from brand.js through CSS variables. */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--c-text); background: var(--c-bg);
  background-image:
    radial-gradient(1200px 700px at 8% -10%, color-mix(in srgb, var(--c-bg2) 80%, transparent), transparent 60%),
    radial-gradient(900px 600px at 105% 110%, color-mix(in srgb, var(--c-bg3) 70%, transparent), transparent 60%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }
::selection { background: var(--c-violet); color: var(--c-text); }
input { caret-color: var(--c-accentSoft); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
a { color: inherit; }
.hidden { display: none !important; }

/* brand */
.brand-logo { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo img { display: block; }
.brand-wordmark { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 17px; color: #fff; background: var(--c-accent); transition: transform .12s ease, filter .12s ease, background .2s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.97); }
.btn.big { padding: 18px 34px; font-size: 20px; }
.btn.ghost { background: var(--c-surfaceStrong); }
.btn.quiet { background: transparent; color: var(--c-textMuted); padding: 10px 14px; }
.btn.quiet:hover { color: var(--c-text); background: var(--c-surface); filter: none; }
.btn.icon { width: 48px; height: 48px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; }
.btn.icon svg { width: 26px; height: 26px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* inputs */
.field { width: 100%; border: 2px solid var(--c-surfaceStrong); background: var(--c-surface); color: var(--c-text); border-radius: 16px; padding: 16px 18px; font-size: 20px; font-weight: 600; outline: none; }
.field::placeholder { color: var(--c-textMuted); font-weight: 500; }
.field:focus { border-color: var(--c-accentSoft); }
.field.pin { text-align: center; font-size: 34px; letter-spacing: .18em; font-weight: 800; font-variant-numeric: tabular-nums; }

/* cards and layout */
.card { background: var(--c-surface); border: 1px solid var(--c-surfaceStrong); border-radius: 24px; padding: 28px; }
.card.stack { align-content: start; }
.muted { color: var(--c-textMuted); }
.stack { display: grid; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* answers (shared tiles) */
.answers { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.answers.two { grid-template-columns: 1fr 1fr; }
.ans { position: relative; display: flex; align-items: center; gap: 16px; border: 0; border-radius: 20px; padding: 20px 22px; min-height: 92px; text-align: left; color: #fff; font-weight: 700; font-size: 22px; line-height: 1.25; background: var(--ans-c); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); transition: transform .15s ease, opacity .3s ease, filter .3s ease; }
.ans svg { width: 30px; height: 30px; fill: #fff; flex: 0 0 auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.ans[data-i="0"] { --ans-c: var(--ans-0); } .ans[data-i="1"] { --ans-c: var(--ans-1); } .ans[data-i="2"] { --ans-c: var(--ans-2); } .ans[data-i="3"] { --ans-c: var(--ans-3); }
.ans.dim { opacity: .28; filter: saturate(.3); }
.ans.right { transform: scale(1.03); box-shadow: 0 0 0 4px #fff, 0 12px 40px rgba(0,0,0,.35); }
.ans .count { margin-left: auto; font-size: 28px; font-weight: 800; opacity: 0; transform: translateY(6px); transition: opacity .4s .2s, transform .4s .2s; }
.ans.show-count .count { opacity: 1; transform: none; }
.ans .bar { position: absolute; left: 0; bottom: 0; height: 6px; width: 0; background: #fff; border-radius: 0 0 0 20px; transition: width 1s cubic-bezier(.2,.8,.2,1); }

/* effects */
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.fx-pulse { position: fixed; inset: 0; pointer-events: none; z-index: 40; background: #fff; animation: pulse .5s ease-out forwards; }
@keyframes pulse { from { opacity: .35; } to { opacity: 0; } }
.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
.pop { animation: pop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
.rise { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.float { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- index ---------- */
.landing { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.landing .card { width: min(520px, 100%); }
.landing h1 { font-size: clamp(32px, 6vw, 44px); font-weight: 800; line-height: 1.05; }

/* ---------- player ---------- */
.play { min-height: 100dvh; display: flex; flex-direction: column; padding: 16px; max-width: 640px; margin: 0 auto; }
.play header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.play .me { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; background: var(--c-surface); border-radius: 999px; padding: 8px 14px 8px 8px; }
.play .me .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--c-violet); }
.play .me .sc { color: var(--c-textMuted); font-weight: 600; }
.play main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.play .answers { grid-template-columns: 1fr; }
.play .ans { min-height: 76px; font-size: 19px; }
@media (min-height: 700px) { .play .answers.four { grid-template-columns: 1fr 1fr; } .play .answers.four .ans { min-height: 120px; align-items: flex-start; flex-direction: column; justify-content: space-between; } }
.play .qtext { font-size: clamp(20px, 5.4vw, 26px); font-weight: 700; line-height: 1.25; }
.play .qbar { height: 8px; border-radius: 99px; background: var(--c-surface); overflow: hidden; }
.play .qbar i { display: block; height: 100%; background: var(--c-accent); width: 100%; transform-origin: left; }
.play .big { font-size: clamp(40px, 12vw, 64px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.play .verdict { border-radius: 28px; padding: 36px 24px; text-align: center; display: grid; gap: 10px; }
.play .verdict.ok { background: linear-gradient(160deg, var(--c-good), #0f7a3c); }
.play .verdict.no { background: linear-gradient(160deg, var(--c-bad), #8a1b1b); }
.play .verdict .pts { font-size: 56px; font-weight: 900; letter-spacing: -0.03em; }
.play .rankline { font-size: 18px; font-weight: 600; }
.play .waiting { text-align: center; display: grid; gap: 14px; justify-items: center; }
.play .waiting .name { font-size: clamp(34px, 10vw, 54px); font-weight: 900; letter-spacing: -0.03em; word-break: break-word; }
.play .dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c-textMuted); margin: 0 4px; animation: dots 1.2s infinite ease-in-out; }
.play .dots span:nth-child(2) { animation-delay: .2s; } .play .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.play footer { text-align: center; padding-top: 12px; }

/* ---------- host ---------- */
.host { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; padding: 20px 32px; gap: 16px; }
.host header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.host header .pinchip { display: inline-flex; align-items: baseline; gap: 10px; background: var(--c-surface); border: 1px solid var(--c-surfaceStrong); border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--c-textMuted); }
.host header .pinchip b { color: var(--c-text); font-size: 24px; letter-spacing: .14em; font-weight: 800; }
.host header .pinchip small { font-weight: 500; }
/* account menu */
.acct { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 16px 6px 6px; border: 1px solid var(--c-surfaceStrong); border-radius: 999px; background: var(--c-surface); color: var(--c-text); font-size: 20px; font-weight: 700; transition: background .15s ease; }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { background: var(--c-surfaceStrong); }
.acct-btn .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-violet); font-weight: 800; }
.acct-btn .nm { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-btn .chev { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; color: var(--c-textMuted); transition: transform .2s ease; }
.acct-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acct-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 30; min-width: 280px; display: grid; gap: 4px; padding: 8px; border-radius: 18px; background: var(--c-bg); border: 1px solid var(--c-surfaceStrong); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.acct-menu[hidden] { display: none; }
.acct-email { margin: 0; padding: 10px 14px 12px; color: var(--c-textMuted); font-size: 20px; font-weight: 600; overflow-wrap: anywhere; border-bottom: 1px solid var(--c-surfaceStrong); }
.acct-item { min-height: 48px; padding: 10px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--c-text); font-size: 20px; font-weight: 700; text-align: left; }
.acct-item:hover, .acct-item:focus-visible { background: var(--c-surfaceStrong); }
.host .btn { font-size: 20px; }
.host .btn.quiet { font-size: 20px; }
.host main { display: grid; align-content: center; }
.host footer { display: flex; justify-content: space-between; align-items: center; color: var(--c-textMuted); font-size: 14px; }

/* sign in */
.signin { display: grid; place-items: center; }
.signin .card { width: min(560px, 100%); text-align: center; font-size: 20px; gap: 18px; }
.signin h2 { font-size: 36px; font-weight: 800; text-wrap: balance; }

/* setup: one ordered flow, step 1 then step 2, Create at the end */
.setup { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); grid-template-areas: "pick start" "fallback fallback"; gap: 24px 48px; font-size: 20px; font-weight: 600; }
.setup p, .setup h2 { margin: 0; }
.setup .step { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.setup .pickstep { grid-area: pick; padding-top: 29px; }  /* lines step 1's heading up with step 2's, which sits inside a padded panel */
.setup .startstep { grid-area: start; background: var(--c-surface); border: 1px solid var(--c-surfaceStrong); border-radius: 24px; padding: 28px; transition: border-color .3s ease; }
.setup.ready .startstep { border-color: color-mix(in srgb, var(--c-text) 40%, transparent); }
.setup h2 { display: flex; align-items: center; gap: 14px; font-size: 32px; font-weight: 800; line-height: 1.1; text-wrap: balance; }
.setup h2 .n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 900; background: var(--c-surfaceStrong); font-variant-numeric: tabular-nums; }
.setup.ready .startstep h2 .n { background: var(--c-text); color: var(--c-bg); }
.setup .banklist { display: grid; gap: 12px; max-height: calc(100dvh - 330px); min-height: 120px; overflow-y: auto; padding: 2px; scrollbar-color: var(--c-surfaceStrong) transparent; }
.setup .bank { display: flex; justify-content: space-between; align-items: center; gap: 18px; border: 2px solid transparent; background: var(--c-surface); border-radius: 16px; padding: 18px 22px; text-align: left; color: var(--c-text); font-weight: 600; transition: border-color .15s ease, background .15s ease; }
.setup .bank:hover { border-color: var(--c-surfaceStrong); background: var(--c-surfaceStrong); }
.setup .bank.sel { border-color: var(--c-text); background: var(--c-surfaceStrong); }
.setup .bank b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.setup .bank span { display: block; color: var(--c-textMuted); font-size: 20px; margin-top: 4px; }
.setup .bank .pick { flex: 0 0 auto; width: 36px; height: 36px; margin: 0; border-radius: 50%; border: 2px solid var(--c-surfaceStrong); display: grid; place-items: center; color: transparent; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.setup .bank .pick svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.setup .bank.sel .pick { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.setup .filepick { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.btn.small { padding: 10px 20px; min-height: 44px; }
.host .btn.small { font-size: 20px; }
.setup.over .pickstep { outline: 2px dashed var(--c-gold); outline-offset: 12px; border-radius: 16px; }
.setup .summary { display: grid; gap: 6px; min-height: 72px; align-content: start; }
.setup .summary b { font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.setup .summary .meta { font-size: 20px; }
.setup .summary .notes { color: var(--c-textMuted); font-size: 20px; line-height: 1.4; max-height: 5.6em; overflow-y: auto; }
.setup .limit summary { cursor: pointer; color: var(--c-textMuted); width: max-content; min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; }
.setup .limit summary::-webkit-details-marker { display: none; }
.setup .limit summary::before { content: ""; width: 10px; height: 10px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); transition: transform .2s ease; }
.setup .limit[open] summary::before { transform: rotate(45deg); }
.setup .limit summary:hover { color: var(--c-text); }
.setup .limit[open] { display: grid; gap: 10px; }
.setup .limit label { color: var(--c-textMuted); }
.setup .create { margin-top: auto; width: 100%; padding-block: 22px; font-size: 24px; }
.setup .fallback { grid-area: fallback; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; text-align: center; }
.setup .fallback .btn.quiet { color: var(--c-text); text-decoration: underline; text-underline-offset: 5px; padding: 10px 8px; }
kbd { font: inherit; font-weight: 700; color: var(--c-text); background: var(--c-surfaceStrong); border-radius: 6px; padding: 1px 7px; }
.err { color: var(--c-accentSoft); font-weight: 600; }
.setup .err:empty, .signin .err:empty { display: none; }
@media (max-width: 1000px) {
  .setup { grid-template-columns: 1fr; grid-template-areas: "pick" "start" "fallback"; gap: 28px; }
  .setup .banklist { max-height: none; }
  .setup .pickstep { padding-top: 0; }
  .setup .summary { min-height: 0; }
}
@media (max-height: 760px) and (min-width: 1001px) {
  .setup { gap: 18px 40px; }
  .setup .step { gap: 14px; }
  .setup .startstep { padding: 22px; }
  .setup .pickstep { padding-top: 23px; }
  .setup h2 { font-size: 28px; }
  .setup .bank { padding: 14px 20px; }
}
@media (max-width: 800px) {
  .host { padding: 16px; }
  .host header { flex-wrap: wrap; row-gap: 10px; }
  .host header #hdr { order: 3; width: 100%; justify-content: center; }
  .setup h2 { font-size: 26px; }
}

/* lobby */
.lobby { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; width: min(1400px, 100%); margin: 0 auto; }
.lobby .join { display: grid; gap: 18px; justify-items: center; text-align: center; }
.lobby .join .pinbig { font-size: 76px; font-weight: 900; letter-spacing: .1em; line-height: 1; }
.lobby .join .qr { background: #fff; padding: 14px; border-radius: 20px; display: grid; place-items: center; min-width: 236px; min-height: 236px; }
.lobby .join .qr img, .lobby .join .qr canvas { display: block; }
.lobby .join .url { font-weight: 600; word-break: break-all; }
.lobby .players { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; min-height: 240px; }
.lobby .chip { background: var(--c-surfaceStrong); color: var(--c-text); border: 0; font: inherit; border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 20px; cursor: pointer; }
.lobby .chip:hover { box-shadow: 0 0 0 2px var(--c-bad); }
.board .r { cursor: pointer; }
.lobby .count { font-size: 60px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.lobby .count small { font-size: 20px; font-weight: 600; color: var(--c-textMuted); margin-left: 10px; letter-spacing: 0; }
@media (max-width: 1000px) { .lobby { grid-template-columns: 1fr; } }

/* question */
.question { display: grid; grid-template-rows: auto 1fr auto; gap: 22px; height: 100%; width: min(1500px, 100%); margin: 0 auto; }
.question .top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.question .qnum { color: var(--c-textMuted); font-weight: 600; font-size: 20px; }
.question .answered { text-align: right; font-weight: 700; font-size: 20px; }
.question .answered b { font-size: 34px; font-weight: 900; }
.ring { position: relative; width: 120px; height: 120px; }
.ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring .track { stroke: var(--c-surfaceStrong); }
.ring .prog { stroke: var(--c-good); transition: stroke .4s; }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 900; letter-spacing: -0.03em; }
.ring.warn .prog { stroke: var(--c-gold); } .ring.danger .prog { stroke: var(--c-accent); } .ring.danger .t { color: var(--c-accentSoft); animation: beat .5s infinite; }
@keyframes beat { 50% { transform: scale(1.12); } }
.question .qtext { font-size: clamp(30px, 4.2vw, 56px); font-weight: 800; line-height: 1.12; text-align: center; max-width: 24ch; margin: 0 auto; align-self: center; }
.question .qtext.long { font-size: clamp(24px, 3.2vw, 42px); max-width: 34ch; }
.question .answers .ans { min-height: 120px; font-size: clamp(20px, 2.2vw, 30px); }
.question .explain { text-align: center; color: var(--c-textMuted); font-size: 20px; min-height: 1.4em; }
.question .controls { display: flex; justify-content: center; gap: 12px; }

/* leaderboard */
.board { width: min(1000px, 100%); margin: 0 auto; display: grid; gap: 18px; }
.board h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; text-align: center; }
.board .rows { display: grid; gap: 12px; }
.board .r { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px; background: var(--c-surface); border: 1px solid var(--c-surfaceStrong); border-radius: 18px; padding: 16px 24px; font-size: 26px; font-weight: 700; }
.board .r > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.board .r .rk { font-size: 30px; font-weight: 900; color: var(--c-textMuted); }
.board .r:nth-child(1) .rk { color: var(--c-gold); } .board .r:nth-child(2) .rk { color: var(--c-silver); } .board .r:nth-child(3) .rk { color: var(--c-bronze); }
.board .r .sc { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; }
.board .r .delta { color: var(--c-good); font-size: 18px; margin-left: 12px; font-weight: 700; }
.board .r.up { box-shadow: 0 0 0 2px var(--c-gold); }

/* podium */
.podium { width: min(1100px, 100%); margin: 0 auto; display: grid; gap: 28px; justify-items: center; }
.podium h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; text-align: center; }
.podium .stage { display: grid; grid-template-columns: repeat(3, minmax(160px, 260px)); align-items: end; gap: 18px; width: 100%; justify-content: center; }
.podium .col { display: grid; gap: 12px; justify-items: center; }
.podium .col .who { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; text-align: center; word-break: break-word; }
.podium .col .pts { color: var(--c-textMuted); font-weight: 700; font-size: 20px; }
.podium .col .block { width: 100%; border-radius: 18px 18px 0 0; display: grid; place-items: center; font-size: 56px; font-weight: 900; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; color: rgba(0,0,0,.55); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.podium .col.p1 .block { height: 240px; background: var(--c-gold); animation-delay: 1.2s; }
.podium .col.p2 .block { height: 170px; background: var(--c-silver); animation-delay: .7s; }
.podium .col.p3 .block { height: 120px; background: var(--c-bronze); animation-delay: .2s; }
.podium .col .who, .podium .col .pts { animation: rise .5s both; }
.podium .col.p1 .who, .podium .col.p1 .pts { animation-delay: 1.9s; } .podium .col.p2 .who, .podium .col.p2 .pts { animation-delay: 1.3s; } .podium .col.p3 .who, .podium .col.p3 .pts { animation-delay: .8s; }
.podium .rest { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; color: var(--c-textMuted); font-weight: 600; }

/* manual (team) scoreboard, the Wi-Fi fallback */
.manual { width: min(1100px, 100%); margin: 0 auto; display: grid; gap: 18px; }
.manual .teams { display: grid; gap: 12px; }
.manual .team { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 16px; background: var(--c-surface); border: 1px solid var(--c-surfaceStrong); border-radius: 18px; padding: 14px 22px; font-size: 26px; font-weight: 700; }
.manual .team .sc { font-size: 34px; font-weight: 900; min-width: 120px; text-align: right; }
.manual .team .ops { display: flex; gap: 8px; }
.manual .team .ops button { border: 0; border-radius: 12px; min-width: 64px; padding: 10px 12px; font-weight: 800; font-size: 18px; color: #fff; background: var(--c-surfaceStrong); }
.manual .team .ops button.plus { background: var(--c-good); } .manual .team .ops button.minus { background: var(--c-bad); }
.manual .add { display: flex; gap: 10px; }
.manual .timer { display: flex; align-items: center; gap: 16px; justify-content: center; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #fff; color: #111; padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 60; animation: rise .3s both; }
