/* Ticking Topics (w044) */
.tt, .tt > *, .tt .kit-card > *, .tt .tt-stage > * { min-width: 0; }
.tt-label { margin: 0; color: var(--muted); font-weight: 700; }
.tt-field { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.tt-stepper { display: inline-grid; grid-template-columns: 52px minmax(6.5rem, auto) 52px; align-items: center; gap: .4rem; }
.tt-stepper button { min-height: 52px; font-size: 1.5rem; }
.tt-stepper output { text-align: center; font-size: 1.15rem; font-weight: 800; }
.tt .tt-go { min-height: 56px; padding-inline: 1.75rem; font-size: 1.1rem; }
.tt-start-row { align-items: center; }
.tt .tt-sound { min-height: 48px; }
.tt .tt-sound[aria-pressed="false"] { color: var(--muted); }
.tt-more { border: 1px solid var(--border); border-radius: .85rem; background: #0c1220; }
.tt-more summary { display: flex; align-items: center; min-height: 48px; padding: .5rem 1rem; cursor: pointer; font-weight: 700; }
.tt-more-body { display: grid; gap: .75rem; padding: 0 1rem 1rem; }
.tt-more-body p { margin: 0; }
.tt-art { display: block; width: min(100%, 220px); height: auto; margin-inline: auto; }
.tt-saved { display: grid; gap: .4rem; justify-items: start; }
.tt-saved .kit-status:empty, .tt .tt-status-slot .kit-status:empty { display: none; }

body.tt-playing .kit-lead, body.tt-playing .kit-local { display: none; }
body.tt-in-round .kit-top, body.tt-in-round #tool-title { display: none; }
body.tt-in-round .kit-tool { margin-top: .5rem; padding: .75rem; }
.tt-stage { display: grid; gap: .9rem; align-content: start; padding: clamp(.25rem, 3vw, 1.25rem) 0; }
.tt-progress { margin: 0; text-align: center; color: var(--muted); font-weight: 700; }
.tt-title { margin: 0; text-align: center; font-size: clamp(1.3rem, 5.5vw, 1.9rem); line-height: 1.25; overflow-wrap: break-word; }
.tt-center-text { text-align: center; }
.tt-center-actions { justify-content: center; }
.tt-quit { display: flex; justify-content: center; }

/* The round: one big topic, who holds the phone, one huge Pass button. No clock anywhere. */
.tt-round { min-height: calc(100svh - 3.5rem); grid-template-rows: auto minmax(8rem, 1fr) auto auto auto auto; gap: .75rem; }
.tt-topic-box { display: grid; place-items: center; padding: 1rem; border: 2px solid var(--border); border-radius: 1.1rem; background: #0c1220; }
.tt-topic { margin: 0; font-size: clamp(1.9rem, 9vw, 3.6rem); font-weight: 900; line-height: 1.12; text-align: center; overflow-wrap: break-word; hyphens: auto; }
.tt-holding { margin: 0; text-align: center; font-size: clamp(1.15rem, 4.5vw, 1.45rem); font-weight: 800; overflow-wrap: anywhere; }
.tt .tt-pass { width: 100%; min-height: 96px; padding: .75rem 1rem; border-radius: 1rem; font-size: clamp(1.3rem, 6vw, 1.9rem); line-height: 1.2; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; overflow-wrap: anywhere; }
.tt .tt-pass:disabled { opacity: .45; }
.tt-round-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* BOOM: an original starburst drawn with CSS. */
.tt-burst { display: grid; place-items: center; width: min(82vw, 300px); aspect-ratio: 1; margin: 0 auto; background: #ffd36e;
  clip-path: polygon(50% 0, 59% 26%, 85% 10%, 74% 38%, 100% 42%, 76% 58%, 94% 84%, 64% 74%, 54% 100%, 43% 75%, 15% 92%, 26% 62%, 0 52%, 24% 38%, 8% 12%, 38% 24%); }
.tt-boom { margin: 0; max-width: 60%; color: #2b1300; font-size: clamp(1.7rem, 9vw, 2.6rem); font-weight: 900; line-height: 1.05; text-align: center; overflow-wrap: anywhere; }
.tt-boom:focus { outline: none; }
.tt-boom:focus-visible { outline: 3px solid #2b1300; outline-offset: 4px; }
.tt-boom-line { margin: 0; text-align: center; font-size: clamp(1.1rem, 4.5vw, 1.35rem); font-weight: 800; color: var(--danger); overflow-wrap: break-word; }
.tt-win { color: var(--accent); font-size: clamp(1.7rem, 7vw, 2.4rem); }
@media (prefers-reduced-motion: no-preference) {
  .tt #boom-view[data-fresh="true"] .tt-burst { animation: tt-shake .5s ease-out; }
}
@keyframes tt-shake {
  0% { transform: scale(.6) rotate(-8deg); }
  40% { transform: scale(1.08) rotate(4deg); }
  70% { transform: scale(.97) rotate(-2deg); }
  100% { transform: none; }
}

/* Strike board: marks plus words, never colour alone. */
.tt-board { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.tt-board li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .15rem 1rem; padding: .55rem .9rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--card); }
.tt-board .tt-name { font-weight: 700; overflow-wrap: anywhere; }
.tt-board .tt-marks { grid-row: span 2; font: 800 1.35rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .15em; color: var(--danger); direction: ltr; }
.tt-board .tt-count { color: var(--muted); font-size: .92rem; }
.tt-board li[data-out="true"] { background: transparent; border-style: dashed; }
.tt-board li[data-out="true"] .tt-name { color: var(--muted); text-decoration: line-through; }
.tt-board li.tt-next { border-color: var(--accent); }
.tt-tag { display: inline-block; padding: 0 .45rem; border-radius: .4rem; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 800; text-decoration: none; }
