/* Tambola is a shared caller. The paper tickets stay in people's hands. */
.tambola-pane { min-height:0; flex:1; overflow:auto; overscroll-behavior:contain; background:var(--canvas); padding:28px; }
.tmb-wrap { max-width:1060px; margin:0 auto; color:var(--ink); }
.tmb-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:24px; }
.tmb-heading h2 { font-size:38px; letter-spacing:-.055em; margin:6px 0; }
.tmb-heading p { font-size:13px; color:var(--muted); }
.tmb-badge { color:var(--lilac-ink); font-size:9px; font-weight:750; letter-spacing:.13em; }
.tmb-phase { flex-shrink:0; font-size:11px; font-weight:650; padding:8px 12px; border-radius:99px; color:var(--lilac-ink); background:var(--lilac-soft); max-width:180px; text-align:center; }
.tmb-phase.is-playing { background:var(--accent-soft); color:var(--accent); }
.tmb-layout { display:grid; grid-template-columns:minmax(270px,.9fr) minmax(330px,1.1fr); gap:20px; align-items:start; }
.tmb-call-card,.tmb-board-card { border:1px solid var(--line); background:#fff; border-radius:26px; padding:24px; min-width:0; }
.tmb-call-card { text-align:center; background:linear-gradient(160deg,#f0eaff 0%,#fff 50%,#f5f9e8 100%); }
.tmb-card-top { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.tmb-current-label,.tmb-small-label { font-size:9px; letter-spacing:.11em; font-weight:750; color:#77668d; }
.tmb-count { font-size:11px; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums; }
.tmb-ball { position:relative; width:168px; height:168px; display:grid; place-items:center; margin:26px auto 18px; border-radius:50%; background:radial-gradient(circle at 34% 24%,#edfcb5,#d7f476 64%,#c5e65b); color:var(--accent); box-shadow:0 10px 0 #cadaad55,0 18px 32px #194f3c0a; border:1px solid #d0e88a; }
.tmb-ball::before { content:''; position:absolute; inset:12px; border:1px solid #fcffeac4; border-radius:50%; }
.tmb-current { font-size:86px; line-height:1; letter-spacing:-.08em; font-variant-numeric:tabular-nums; font-weight:750; padding-right:5px; }
.tmb-ball.is-new { animation:tmb-land 300ms cubic-bezier(.2,.8,.2,1); }
.tmb-call-line { font-size:18px; font-weight:650; letter-spacing:-.025em; min-height:28px; }
.tmb-host { font-size:12px; color:var(--muted); margin-top:8px; overflow-wrap:anywhere; }
.tmb-countdown { display:inline-block; color:var(--accent); margin-top:8px; font-size:11px; font-weight:650; font-variant-numeric:tabular-nums; }
.tmb-recent-wrap { margin-top:23px; }
.tmb-recent { display:flex; justify-content:center; gap:8px; list-style:none; margin:10px 0 0; padding:0; }
.tmb-recent li { display:grid; place-items:center; width:37px; height:37px; border-radius:50%; background:#fff; border:1px solid #e7e2ef; font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; }
.tmb-recent .is-latest { background:var(--lilac-soft); border-color:var(--lilac); color:var(--lilac-ink); }
.tmb-controls { display:flex; flex-direction:column; gap:12px; margin-top:23px; }
.tmb-primary { background:var(--accent); color:var(--lime); width:100%; min-height:52px; border-radius:16px; font-size:15px; }
.tmb-main-actions { display:flex; gap:8px; }
.tmb-main-actions .btn { flex:1; min-width:0; padding-inline:12px; white-space:nowrap; }
.tmb-main-actions:empty { display:none; }
.tmb-segmented { display:flex; padding:4px; background:#efede9; border-radius:13px; gap:3px; }
.tmb-segmented button { flex:1; min-height:39px; border-radius:10px; font-size:12px; font-weight:650; }
.tmb-segmented [aria-pressed=true] { background:#fff; box-shadow:0 2px 4px #20382e0a; color:var(--accent); }
.tmb-pace { display:flex; justify-content:center; gap:6px; }
.tmb-pace button { min-width:60px; border:1px solid var(--line); border-radius:10px; min-height:36px; font-size:11px; color:var(--muted); }
.tmb-pace [aria-pressed=true] { background:var(--lilac-soft); border-color:var(--lilac); color:var(--lilac-ink); }
.tmb-auto-hint { font-size:11px; color:var(--muted); max-width:250px; margin:0 auto; }
.tmb-link { min-height:36px; font-size:11px; color:var(--accent); padding:6px 10px; border-radius:10px; font-weight:650; }
.tmb-link:hover { background:var(--accent-soft); }
.tmb-end { color:#786d72; align-self:center; }
.tmb-waiting { font-size:12px; color:var(--muted); margin-top:22px; }
.tmb-voice { display:flex; align-items:center; text-align:left; justify-content:center; gap:10px; padding-top:20px; margin-top:20px; border-top:1px solid #e5dfed; font-size:12px; color:var(--ink); cursor:pointer; }
.tmb-voice input { width:18px; height:18px; accent-color:var(--accent); flex-shrink:0; }
.tmb-voice small { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.tmb-board-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; gap:10px; }
.tmb-board-heading h3 { font-size:18px; }
.tmb-board-heading span { font-size:11px; color:var(--muted); }
.tmb-board { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:5px; }
.tmb-number { display:grid; place-items:center; aspect-ratio:1; border:1px solid #e9ece4; border-radius:9px; color:#697262; background:#f8f9f4; font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; transition:background-color 140ms,color 140ms; }
.tmb-number.is-called { background:var(--accent-soft); color:var(--accent); border-color:#d6e6b4; font-weight:750; }
.tmb-number.is-current { background:var(--accent); color:var(--lime); border-color:var(--accent); box-shadow:0 2px 7px #194f3c1c; }
.tmb-history { border-top:1px solid var(--line); padding-top:18px; margin-top:22px; }
.tmb-history summary { font-size:12px; font-weight:650; cursor:pointer; min-height:30px; padding:4px 0; color:var(--ink); }
.tmb-history-list { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:10px 0 0; margin:0; }
.tmb-history-list li { display:flex; gap:5px; align-items:baseline; padding:6px 8px; border-radius:8px; background:#f3f5ef; }
.tmb-history-list span { font-size:9px; color:var(--muted); }
.tmb-history-list strong { font-size:12px; }
.tmb-round-note { color:var(--muted); font-size:11px; line-height:1.65; margin-top:20px; }
.tmb-connection { display:flex; align-items:center; justify-content:space-between; gap:10px; background:#fff2db; border-radius:14px; padding:12px 15px; margin-bottom:16px; }
.tmb-sync { font-size:12px; color:#7c5f2a; }
.tmb-recovery { padding:13px 16px; border:1px solid #efceca; border-radius:14px; margin-bottom:16px; }
.tmb-recovery .btn { margin-top:9px; }
.tmb-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skill-card.tambola-sidekick .bot-icon { background:var(--accent); color:var(--lime); font-size:26px; font-weight:750; }
.message .tambola-avatar { background:var(--accent); color:var(--lime); font-size:12px; font-weight:750; border-radius:50%; }
.tambola-announcement .bubble { background:var(--accent-soft); border-color:#d7e9b7; }
.tambola-announcement .btn { margin-top:12px; }
@keyframes tmb-land { 0% { transform:translateY(-7px) scale(.9); opacity:.7; } 65% { transform:translateY(2px) scale(1.03); opacity:1; } 100% { transform:none; } }
@media (max-width:1050px) { .tmb-layout { grid-template-columns:1fr; } .tmb-wrap { max-width:560px; } }
@media (max-width:680px) {
  .tambola-pane { padding:21px 12px 30px; }
  .tmb-heading { align-items:flex-start; margin-bottom:18px; gap:8px; }
  .tmb-heading h2 { font-size:30px; }
  .tmb-heading p { font-size:11px; }
  .tmb-phase { max-width:112px; font-size:10px; padding:7px 9px; margin-top:5px; }
  .tmb-badge { font-size:8px; letter-spacing:.09em; }
  .tmb-layout { gap:14px; }
  .tmb-call-card,.tmb-board-card { padding:19px 17px; border-radius:22px; }
  .tmb-ball { width:142px; height:142px; margin:21px auto 17px; }
  .tmb-current { font-size:76px; }
  .tmb-call-line { font-size:17px; }
  .tmb-controls { margin-top:20px; }
  .tmb-segmented button,.tmb-pace button,.tmb-link,.tmb-history summary { min-height:44px; }
  .tmb-board { gap:4px; }
  .tmb-number { font-size:12px; border-radius:7px; }
  .tmb-board-heading { margin-bottom:16px; }
  .tmb-voice { min-height:58px; }
}
@media (max-width:350px) { .tmb-heading { flex-wrap:wrap; } .tmb-phase { max-width:none; margin-top:0; } .tmb-board-card { padding:17px 12px; } .tmb-board { gap:3px; } .tmb-number { font-size:11px; border-radius:6px; } }
@media (prefers-reduced-motion:reduce) { .tmb-ball.is-new { animation:none; } .tmb-number { transition:none; } }
