@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --ink: #eef4ff;
  --mute: #8b97b3;
  --gold: #e8c66b;
  --cyan: #5ce1e6;
  --line: rgba(92, 225, 230, 0.28);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: auto;
  min-height: 100%;
  max-width: 100%;
  background: #03050d;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
html { overflow-x: hidden; overflow-y: auto; }
body { overflow-x: hidden; overflow-y: auto; }
.tw-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(#03050d, transparent);
}
.tw-word {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tw-top p { margin: 0; color: var(--cyan); font-size: 13px; }
#tw-view { color: var(--mute); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
#tw-cluster { color: var(--gold); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tw-top a:last-child { margin-left: auto; color: var(--mute); font-size: 13px; }
.tw-stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: calc(56px + env(safe-area-inset-top, 0px)) 12px 8px;
  min-height: 0;
}
.tw-stage-head:not(:has(#tw-win:not([hidden]), #tw-score:not([hidden]))) {
  display: none;
}
.tw-win {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0;
  color: var(--gold);
  pointer-events: none;
}
.tw-win[hidden] { display: none; }
.tw-win-label,
.tw-win-count {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tw-win-w {
  position: relative;
  width: 148px;
  height: 44px;
  flex: 0 0 148px;
}
.tw-win-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(232, 198, 107, 0.55);
}
.tw-win-w span {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #334155;
  box-shadow: 0 0 0 1px rgba(92, 225, 230, 0.2);
  opacity: 0.45;
}
.tw-win-w span.on {
  background: var(--cyan);
  opacity: 0.95;
  box-shadow: 0 0 10px rgba(92, 225, 230, 0.7);
}
.tw-win-w span.on.peak {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(232, 198, 107, 0.75);
}
.tw-win-w span:nth-child(2) { left: 0%; top: 0%; }
.tw-win-w span:nth-child(3) { left: 25%; top: 100%; }
.tw-win-w span:nth-child(4) { left: 50%; top: 28%; }
.tw-win-w span:nth-child(5) { left: 75%; top: 100%; }
.tw-win-w span:nth-child(6) { left: 100%; top: 0%; }
body[data-tw-role="viewer"] .tw-hud .tw-hint { display: none; }
body[data-tw-role="viewer"] .tw-hud { opacity: 0.88; }
body[data-tw-mode="match"] .tw-hint,
body[data-tw-mode="match"] #tw-stats { display: none; }
body[data-tw-renderer="cinematic"] #tw-canvas { image-rendering: auto; }
.tw-score {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  border: 2px solid var(--gold);
  border-radius: 18px;
  background: rgba(4, 8, 18, 0.88);
  pointer-events: none;
}
.tw-score[hidden] { display: none; }
.tw-score-side { text-align: center; min-width: 88px; }
.tw-score-side span {
  display: block;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tw-score-side strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.tw-score-guest strong { color: var(--cyan); }
.tw-score-d {
  display: block;
  min-height: 1.1em;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.tw-score-d[data-dir="up"] { color: var(--cyan); }
.tw-score-d[data-dir="down"] { color: #e07a7a; }
.tw-score-hot strong { text-shadow: 0 0 12px rgba(232, 198, 107, 0.45); }
.tw-score-vs { margin: 0; color: var(--mute); font-size: 12px; text-transform: uppercase; }
.tw-roll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  pointer-events: none;
}
.tw-roll[hidden] { display: none; }
.tw-roll-line, .tw-roll-delta {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tw-roll-dice {
  display: flex;
  gap: 7px;
  height: 28px;
}
.tw-roll-dice i {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(232, 198, 107, 0.7);
  transform: translateY(0);
}
body.tw-analyzing .tw-roll {
  transform: scale(1.35);
  filter: drop-shadow(0 0 12px rgba(92, 225, 230, 0.55));
}
.tw-phase {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tw-phase[data-phase="analyze"] { color: var(--gold); border-color: var(--gold); }
.tw-phase[data-phase="resolve"] { color: #9aa8c9; border-color: #9aa8c9; }
.tw-phase[hidden] { display: none; }
.tw-callfx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  background: rgba(4, 10, 22, 0.88);
  pointer-events: none;
}
.tw-callfx[data-side="down"] { border-color: var(--gold); }
.tw-callfx[hidden] { display: none; }
.tw-callfx span {
  font: 800 16px/1 Inter, sans-serif;
  letter-spacing: 0.08em;
}
#tw-callfx-dir { color: var(--cyan); }
.tw-callfx[data-side="down"] #tw-callfx-dir { color: var(--gold); }
#tw-callfx-size { color: var(--gold); }
.tw-roll-dice.stake i { animation: tw-stake 0.55s ease-out both; }
.tw-roll-dice.win i { background: var(--cyan); animation: tw-win 0.7s ease-out both; }
.tw-roll-dice.lose i { background: #e07a7a; animation: tw-lose 0.7s ease-in both; }
.tw-roll-dice.pop i { animation: tw-pop 0.55s ease-out both; }
.tw-roll-dice i:nth-child(2) { animation-delay: 0.05s; }
.tw-roll-dice i:nth-child(3) { animation-delay: 0.1s; }
.tw-roll-dice i:nth-child(4) { animation-delay: 0.15s; }
@keyframes tw-stake {
  from { transform: translateY(10px) scale(0.4); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes tw-win {
  0% { transform: translateY(8px) scale(0.5); opacity: 0; }
  60% { transform: translateY(-6px) scale(1.15); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}
@keyframes tw-lose {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(14px) scale(0.2); opacity: 0; }
}
@keyframes tw-pop {
  0% { transform: scale(0.6); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
body.tw-match-dock .tw-score {
  top: auto;
}
@media (max-width: 760px) {
  .tw-stage-head {
    padding-top: 8px;
  }
  body.tw-match-dock .tw-stage-head {
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }
  .tw-score {
    top: auto;
    gap: 10px;
    padding: 6px 12px;
  }
  .tw-score-side { min-width: 72px; }
  .tw-score-side strong { font-size: 24px; }
  body.tw-match-dock .tw-score {
    top: auto;
  }
  body.tw-match-dock .tw-top { display: none; }
}
#tw-canvas {
  display: block;
  width: 100%;
  height: 48vh;
  min-height: 240px;
  max-height: 56vh;
  touch-action: none;
}
.tw-hud {
  position: relative;
  z-index: 4;
  width: min(880px, calc(100% - 24px));
  margin: 12px auto 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(6, 10, 22, 0.92);
  backdrop-filter: blur(10px);
}
.tw-hud h1 { margin: 0 0 8px; font: 400 28px/1 Georgia, serif; }
.eyebrow { margin: 0 0 4px; color: var(--cyan); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
#tw-status, .tw-hint { margin: 0; color: var(--mute); font-size: 13px; line-height: 1.45; }
.tw-hud dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.tw-hud dt { color: var(--mute); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.tw-hud dd { margin: 2px 0 0; font-size: 16px; }
.tw-odds { margin: 0 0 10px; color: var(--gold); font-size: 13px; line-height: 1.45; }
.tw-lobby { margin: 0 0 12px; }
.tw-lobby ul { margin: 6px 0 0; padding: 0; list-style: none; }
.tw-lobby li { margin: 0 0 6px; }
.tw-lobby button { width: 100%; }
.tw-elo { margin: 0 0 10px; }
.tw-elo-note { margin: 0 0 6px; color: var(--mute); font-size: 12px; }
.tw-elo ol { margin: 0; padding: 0 0 0 1.2em; color: var(--ink); font-size: 12px; line-height: 1.45; }
.tw-elo li { margin: 0 0 4px; }
.tw-clocks {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.tw-tape-stage { position: relative; margin: 0 0 8px; min-height: 200px; }
body.tw-hide-tape .tw-tape-stage { display: none; }
.tw-tape-wrap { margin: 0; min-height: 200px; }
.tw-tape-wrap[hidden] { display: none; }
.tw-tape-wrap svg { display: block; width: 100%; height: 200px; pointer-events: none; }
.tw-chart-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tw-chart-tools button {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.tw-seg { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.tw-seg button {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.tw-seg button.on,
.tw-chart-tools button.on { background: var(--cyan); color: #041018; border-color: var(--cyan); }
.tw-draw {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 6;
  width: 100%;
  height: 200px;
  pointer-events: auto;
  cursor: ew-resize;
}
.tw-draw.armed { cursor: crosshair; }
.tw-world-screen {
  position: fixed;
  inset: 4vh 4vw;
  z-index: 20;
  display: flex;
  justify-content: center;
}
.tw-world-screen[hidden] { display: none; }
.tw-world-bezel {
  display: flex;
  flex-direction: column;
  width: min(1100px, 100%);
  height: 100%;
  padding: 14px;
  border: 3px solid var(--gold);
  border-radius: 12px;
  background: rgba(6, 10, 22, 0.96);
}
.tw-world-bezel iframe { flex: 1; width: 100%; min-height: 0; border: 1px solid var(--line); border-radius: 8px; background: #05090c; }
#tw-share-shot { max-height: 120px; width: auto; margin: 0 0 8px; border-radius: 8px; }
.tw-read {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  max-height: 8.5rem;
  overflow: auto;
  white-space: pre-line;
}
.tw-read[data-side="up"] { color: var(--cyan); }
.tw-read[data-side="down"] { color: var(--gold); }
.tw-read[data-side="doji"] { color: var(--mute); }
.tw-call-label {
  display: block;
  margin: 0 0 8px;
  color: var(--mute);
  font-size: 12px;
}
#tw-call {
  display: block;
  width: 100%;
  margin-top: 4px;
  min-height: 48px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 10, 22, 0.7);
  color: var(--ink);
  font: inherit;
}
.tw-board-wrap { margin: 0 0 10px; }
.tw-board-wrap svg { display: block; width: 100%; max-height: 180px; }
.tw-board-wrap[hidden] { display: none; }
#tw-price { min-height: 44px; width: 8rem; padding: 8px; }
.tw-practice-exit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font: 700 14px/1 Inter, sans-serif;
  cursor: pointer;
}
.tw-practice-exit[hidden] { display: none !important; }
.tw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.tw-fold { margin: 10px 0 0; border-top: 1px solid var(--line); }
.tw-fold summary { cursor: pointer; padding: 10px 0; color: var(--mute); font-size: 13px; }
.tw-fold[open] summary { color: var(--ink); }
.tw-hud h1 { font-size: 22px; }
#tw-identity { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-actions button, .tw-actions a {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.tw-actions button.primary { background: var(--cyan); color: #041018; border-color: var(--cyan); }
.tw-ghost, .tw-citadel {
  position: fixed;
  right: 16px;
  z-index: 4;
  width: min(380px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 14px;
  color: #d7deee;
  font-size: 13px;
  line-height: 1.5;
  background: rgba(6, 10, 22, 0.78);
}
.tw-ghost {
  bottom: 16px;
  border-left: 3px solid var(--gold);
}
.tw-citadel {
  top: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.tw-citadel h2 { margin: 0 0 8px; font: 400 22px/1.1 Georgia, serif; }
.tw-citadel, .tw-citadel[hidden] { display: none; }
.tw-how {
  position: fixed;
  left: 50%;
  top: 18%;
  z-index: 6;
  transform: translateX(-50%);
  width: min(28rem, calc(100vw - 32px));
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6, 10, 22, 0.92);
  backdrop-filter: blur(12px);
}
.tw-how[hidden] { display: none; }
.tw-invite-link {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  user-select: text;
}
.tw-how h2 {
  margin: 0 0 12px;
  font: 400 28px/1.1 Georgia, serif;
}
.tw-how ol {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.tw-how p { margin: 0 0 14px; color: var(--mute); font-size: 13px; line-height: 1.5; }
.tw-how-note { color: var(--gold) !important; min-height: 1.4em; }
.tw-how-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-how-actions button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.tw-how-actions button.primary { background: var(--cyan); color: #041018; border-color: var(--cyan); }
.tw-boom {
  position: fixed;
  inset: 12vh 0 auto;
  z-index: 14;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  text-align: center;
}
.tw-boom[hidden] { display: none; }
.tw-boom strong {
  color: var(--cyan);
  font: 800 clamp(48px, 14vw, 160px)/0.9 Impact, "Arial Black", sans-serif;
  letter-spacing: 0.08em;
  text-shadow: 0 0 28px #041018, 0 0 18px rgba(92, 225, 230, 0.7);
}
.tw-boom span {
  margin-top: 8px;
  color: var(--gold);
  font-size: clamp(16px, 3vw, 28px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tw-recap {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 5, 13, 0.72);
}
.tw-recap[hidden] { display: none; }
.tw-recap-card {
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 22px 20px 18px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  background: #07101c;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.tw-recap-card h2 {
  margin: 4px 0 8px;
  color: var(--cyan);
  font: 800 clamp(28px, 7vw, 44px)/1 Impact, "Arial Black", sans-serif;
  letter-spacing: 0.06em;
}
.tw-recap-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 13px;
}
.tw-recap-table th,
.tw-recap-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.tw-recap-table th { color: var(--mute); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.tw-recap-clock {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.tw-recap-card .primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: #041018;
  font: 700 16px Inter, sans-serif;
  cursor: pointer;
}
.tw-callpad {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px 16px 16px;
  border: 3px solid var(--gold);
  border-radius: 20px;
  background: rgba(4, 8, 18, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
body.tw-match-dock #tw-canvas {
  height: 46vh;
  min-height: 220px;
  max-height: 52vh;
}
.tw-callpad[hidden] { display: none; }
.tw-callpad.armed {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(92, 225, 230, 0.45), 0 12px 40px rgba(0, 0, 0, 0.45);
}
.tw-callpad-round {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tw-callpad-clock {
  margin: 2px 0 10px;
  color: var(--cyan);
  font: 700 clamp(32px, 8vw, 52px)/1 ui-monospace, monospace;
  letter-spacing: 0.04em;
}
.tw-callpad-dir, .tw-callpad-size {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}
.tw-callpad-dir { grid-template-columns: 1fr 1fr; }
.tw-callpad-size { grid-template-columns: repeat(4, 1fr); }
.tw-callpad button {
  min-height: 64px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #0b1220;
  color: var(--ink);
  font: 800 22px/1 Inter, sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.tw-callpad-dir [data-call="up"] { color: var(--cyan); border-color: var(--cyan); }
.tw-callpad-dir [data-call="down"] { color: var(--gold); border-color: var(--gold); }
.tw-callpad-dir button.on, .tw-callpad-size button.on {
  color: #041018;
}
.tw-callpad-dir [data-call="up"].on { background: var(--cyan); }
.tw-callpad-dir [data-call="down"].on { background: var(--gold); }
.tw-callpad-size button.on { background: var(--cyan); border-color: var(--cyan); }
.tw-callpad-note { margin: 0; color: var(--mute); font-size: 13px; line-height: 1.4; }
body.tw-calling .tw-hud { opacity: 0.55; }
body.tw-calling .tw-hud .tw-actions { display: none; }
@media (max-width: 760px) {
  html, body {
    height: auto;
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .tw-top {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
  }
  .tw-top p,
  .tw-top a:last-child { display: none; }
  .tw-top a:last-child { margin-left: 0; }
  #tw-canvas { height: 38vh; min-height: 200px; max-width: 100%; }
  body.tw-match-dock #tw-canvas { height: 38vh; max-height: 42vh; }
  .tw-how {
    width: calc(100% - 24px);
    max-width: 100%;
    left: 12px;
    right: 12px;
    top: calc(64px + env(safe-area-inset-top, 0px));
    transform: none;
    max-height: calc(100dvh - 80px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow: auto;
    padding: 16px;
  }
  .tw-how-actions button { flex: 1 1 100%; }
  .tw-hud,
  .tw-ghost,
  .tw-citadel,
  .tw-callpad,
  body[data-tw-mode="match"] .tw-hud,
  body[data-tw-role="viewer"] .tw-hud {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    margin: 8px;
    border-radius: 16px;
    box-sizing: border-box;
  }
  .tw-hud { margin-top: 0; }
  .tw-clocks,
  .tw-odds,
  #tw-status,
  .tw-hint,
  .tw-read,
  .tw-callpad-note {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .tw-chart-tools,
  .tw-seg,
  .tw-actions { min-width: 0; max-width: 100%; }
  .tw-callpad-dir button {
    min-height: 56px;
    font-size: 20px;
  }
  .tw-callpad-size button {
    min-width: 0;
    min-height: 52px;
    padding: 0 2px;
    font-size: 13px;
    letter-spacing: 0;
  }
  .tw-boom {
    left: 8px;
    right: 8px;
    overflow: hidden;
  }
  .tw-boom strong {
    font-size: clamp(36px, 12vw, 80px);
    letter-spacing: 0.04em;
    max-width: 100%;
  }
  body.tw-calling .tw-hud { opacity: 1; }
}
.tw-solar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 8;
  width: min(420px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(6, 12, 24, 0.92);
  border: 1px solid rgba(242, 193, 78, 0.45);
}
.tw-solar h2 { margin: 0 0 6px; font-size: 18px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
