/* =========================================================
   إعدادات الهوية البصرية الجديدة للعبة اهبد (Dark Arcade Neon)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Changa:wght@500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');

:root {
  --bg-main: #070b19;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-input: #0b1120;
  --border-color: rgba(56, 189, 248, 0.22);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #f59e0b;
  --primary-glow: rgba(245, 158, 11, 0.45);
  --cyan: #38bdf8;
  --gold: #fbbf24;
  --danger: #ef4444;
  --success: #10b981;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-family: 'Changa', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 50% 0%, #172554 0%, #070b19 65%, #03050c 100%);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 14px 76px;
  user-select: none;
  overflow-x: hidden;
}

/* شبكة خلفية مضيئة */
.bg-grid-glow {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

#bg-words-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-scatter-word {
  position: absolute;
  color: #38bdf8;
  opacity: 0.05;
  font-weight: 800;
  white-space: nowrap;
}

.app-container {
  width: 100%;
  max-width: 400px;
  min-height: calc(100dvh - 86px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hidden {
  display: none !important;
}

/* =========================================================
   البطاقات الزجاجية والشعار
   ========================================================= */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin: auto 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.ahbed-svg-logo {
  width: 245px;
  height: auto;
  animation: floatLogo 3.5s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.mini-header-badge {
  display: inline-block;
  margin: 0 auto 8px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 99px;
}

.section-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 14px;
}

/* =========================================================
   لوحة التوب 3 والقواعد
   ========================================================= */
.top3-box {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.08), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 8px auto 12px;
}

.top3-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 7px;
  text-align: center;
}

.top3-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.top3-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.55);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.top3-score {
  color: var(--gold);
  font-weight: 800;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.rule-icon {
  font-size: 1.15rem;
}

.gold-text {
  color: var(--gold);
  font-weight: 800;
}

/* =========================================================
   الأزرار والمدخلات (طابع Arcade 3D)
   ========================================================= */
.arcade-cta-btn {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #ea580c 100%);
  color: #090d16;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 0 #9a3412, 0 10px 24px var(--primary-glow);
  transition: transform 0.12s, box-shadow 0.12s;
}

.arcade-cta-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #9a3412, 0 4px 12px var(--primary-glow);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}

.input-field {
  width: 100%;
  background-color: var(--bg-input);
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.input-field:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.code-input {
  text-align: center;
  letter-spacing: 6px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.btn {
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.2s;
  color: #fff;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #090d16;
}

.btn-secondary {
  background: #1e293b;
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}

.btn-sm {
  width: auto;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 9px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 16px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 10px;
}

.join-row {
  display: flex;
  gap: 8px;
}

.join-row .btn {
  width: 42%;
}

/* =========================================================
   غرفة الانتظار (Lobby)
   ========================================================= */
.room-header {
  background: rgba(2, 6, 23, 0.65);
  border: 1.5px dashed var(--cyan);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  margin-bottom: 14px;
}

.room-code-display {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
  margin: 4px 0;
}

.players-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.players-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.player-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.15);
  color: #bae6fd;
}

.remove-player-btn {
  background: none;
  border: none;
  color: var(--danger);
  font-weight: 900;
  cursor: pointer;
  font-size: 1rem;
}

.lobby-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* ألوان اللاعبين */
.player-bg-0 { background: linear-gradient(135deg, #2563eb, #1d4ed8); border-color: #60a5fa; }
.player-bg-1 { background: linear-gradient(135deg, #e11d48, #be123c); border-color: #fb7185; }
.player-bg-2 { background: linear-gradient(135deg, #059669, #047857); border-color: #34d399; }
.player-bg-3 { background: linear-gradient(135deg, #d97706, #b45309); border-color: #fbbf24; }
.player-bg-4 { background: linear-gradient(135deg, #7c3aed, #6d28d9); border-color: #a78bfa; }

.dot-0 { background-color: #3b82f6; }
.dot-1 { background-color: #f43f5e; }
.dot-2 { background-color: #10b981; }
.dot-3 { background-color: #f59e0b; }
.dot-4 { background-color: #8b5cf6; }

/* =========================================================
   ساحة اللعب (طور الشبكة + طور الأدوار)
   ========================================================= */
.game-arena {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  flex: 1;
  margin: 4px 0;
}

.top-controls-bar {
  position: sticky;
  top: 4px;
  z-index: 20;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 8px 10px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.fixed-bottom-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  max-height: 60px;
  background: rgba(7, 11, 25, 0.97);
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9500;
  padding: 4px 8px;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* إخفاء الشريط تلقائياً إذا لم ترسل جوجل إعلاناً بعد */
.fixed-bottom-ad:has(ins[data-ad-status="unfilled"]) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

.fixed-bottom-ad ins.adsbygoogle {
  display: block;
  width: 320px;
  height: 50px;
  max-height: 50px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.round-pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 800;
}

.mode-pill {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--cyan);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
}

.mode-pill.turn-pill {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(192, 132, 252, 0.45);
  color: #e9d5ff;
}

.remaining-badge {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.scoreboard {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.score-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 5px 4px;
  text-align: center;
}

.score-card.border-0 { border-color: #3b82f6; }
.score-card.border-1 { border-color: #f43f5e; }
.score-card.border-2 { border-color: #10b981; }
.score-card.border-3 { border-color: #f59e0b; }
.score-card.border-4 { border-color: #8b5cf6; }

.score-name {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-val {
  font-size: 1.1rem;
  font-weight: 900;
}

.question-box {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  text-align: center;
  margin-bottom: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.category-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.16);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: 99px;
  margin-bottom: 5px;
}

.question-text {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.38;
}

/* شبكة الـ 12 مربع (جولات 1-5) */
.squares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.square-cell {
  height: 58px;
  border-radius: 12px;
  border: 1.5px dashed rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  text-align: center;
  font-weight: 800;
  color: #64748b;
}

.square-cell.golden {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  font-size: 0.84rem;
}

.square-cell.claimed {
  border-style: solid;
  color: #ffffff;
  animation: popIn 0.22s ease-out forwards;
}

.claimed-word {
  font-size: 0.88rem;
  line-height: 1.15;
}

.claimed-owner {
  font-size: 0.68rem;
  opacity: 0.92;
  margin-top: 3px;
}

/* ساحة الأدوار (جولات 6-10) */
.turn-arena {
  margin-bottom: 10px;
}

.turn-status-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid var(--cyan);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.turn-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  font-weight: 800;
  font-size: 0.92rem;
}

.turn-highlight {
  color: var(--gold);
  font-size: 1rem;
}

.timer-pill {
  background: rgba(2, 6, 23, 0.8);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--cyan);
}

.timer-bar-bg {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.timer-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--cyan);
  transition: width 0.25s linear;
}

.turn-slots-header {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.turn-slots-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.turn-slot-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

.turn-slot-box.active-turn {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.22);
}

.turn-slot-box.filled {
  border-color: rgba(16, 185, 129, 0.35);
}

.slot-num {
  font-weight: 900;
  color: var(--text-muted);
  width: 26px;
}

.slot-player {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  flex: 1;
}

.slot-state {
  font-size: 0.76rem;
  color: #cbd5e1;
}

/* أزرار المساعدة الإعلانية + الإدخال */
.ad-helpers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 6px;
}

.helper-ad-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: #e0f2fe;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.helper-ad-btn.skip-btn {
  border-color: rgba(251, 191, 36, 0.38);
  color: #fef3c7;
}

.ad-tag {
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.64rem;
  padding: 1px 6px;
  border-radius: 6px;
}

.feedback-msg {
  height: 20px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.answer-form {
  display: flex;
  gap: 8px;
}

.answer-form .btn {
  width: 88px;
}

/* =========================================================
   النوافذ المنبثقة وكشف إجابات الأدوار
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 7, 18, 0.86);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 50;
}

.modal-box {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  max-width: 390px;
  width: 100%;
  text-align: center;
  max-height: 90dvh;
  overflow-y: auto;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
}

.turn-reveal-box {
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
  text-align: right;
}

.turn-reveal-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 6px;
}

.turn-reveal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.reveal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.reveal-item.rev-ok {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.reveal-item.rev-bad {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.ranking-list {
  list-style: none;
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ranking-item {
  display: flex;
  justify-content: space-between;
  background: rgba(2, 6, 23, 0.65);
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
}

.ad-countdown-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

/* =========================================================
   الإعلانات والفوتر والتحميل
   ========================================================= */
.ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 8px auto;
  overflow: hidden;
}

.ad-banner-top {
  min-height: 50px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px dashed rgba(56, 189, 248, 0.25);
  border-radius: 12px;
}

.ad-banner-box {
  min-height: 50px;
  margin-top: 12px;
}

.ad-banner-modal {
  min-height: 50px;
  margin: 10px auto 12px;
}

.ad-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  max-width: 100%;
  height: 50px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.app-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer-dot { opacity: 0.4; }
.telegram-link { color: var(--cyan); text-decoration: none; font-weight: 700; }

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 25, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  z-index: 999;
}

.loader-squares {
  display: grid;
  grid-template-columns: repeat(2, 18px);
  gap: 6px;
}

.loader-squares span {
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 4px;
  animation: squarePulse 0.9s infinite ease-in-out;
}

@keyframes popIn {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes squarePulse {
  0%, 100% { transform: scale(0.75); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes prankShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.round-clock-pill {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.round-clock-pill.clock-urgent {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
  animation: clockPulse 0.7s infinite alternate;
}

@keyframes clockPulse {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.sound-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 3px 7px;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1;
}