/* Background Styling */
body {
  margin: 0;
  padding: 0;
  background: url('../images/backgrounds/background_image.PNG') no-repeat center center fixed;
  background-size: cover;
  background-color: #000;
  font-family: Arial, sans-serif;
  overflow: hidden;
  position: relative; /* ⬅️ anchor for absolute UI like counters */
}

/* Snowfall GIF Overlay */
.snowfall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/effects/snowfall.gif') center center / cover no-repeat;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

/* General Animation Layer */
.animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

/* Attack Animation (Melee) */
.animation.attack {
  background: rgba(255, 0, 0, 0.3);
  animation: pulse 1s ease-out;
}

/* Gunfire Animation (Bullet) */
.animation.bullet {
  background: rgba(255, 255, 0, 0.2);
  animation: flash 0.6s ease-in-out;
}

/* Heal Animation */
.animation.heal {
  background: rgba(0, 255, 0, 0.3);
  animation: pulse 1s ease-out;
}

/* Fire Animation */
.animation.fire {
  background: rgba(255, 69, 0, 0.3);
  animation: shake 1s ease-in-out;
}

/* Explosion Animation */
.animation.explosion {
  background: rgba(255, 165, 0, 0.5);
  animation: flash 1s ease-out;
}

/* Poison Animation */
.animation.poison {
  background: rgba(0, 255, 0, 0.2);
  animation: poisonPulse 1s ease-in-out;
}

/* Shield/Defense Animation */
.animation.shield {
  background: rgba(135, 206, 250, 0.2);
  animation: fadeShield 1.2s ease-in-out;
}

/* Trap Activation Animation */
.animation.trap {
  background: rgba(128, 0, 128, 0.3);
  animation: shake 1.2s ease-in-out;
}

/* Combo Trigger Animation */
.animation.combo {
  background: rgba(255, 215, 0, 0.4);
  animation: flash 1.4s ease-in-out;
}

/* Animation Keyframes */
@keyframes pulse {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes shake {
  0% { transform: translate(0px, 0px); }
  25% { transform: translate(5px, -5px); }
  50% { transform: translate(-5px, 5px); }
  75% { transform: translate(5px, 5px); }
  100% { transform: translate(0px, 0px); }
}

@keyframes flash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  60% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes poisonPulse {
  0% { filter: hue-rotate(0deg); opacity: 0.5; }
  50% { filter: hue-rotate(90deg); opacity: 1; }
  100% { filter: hue-rotate(0deg); opacity: 0.5; }
}

@keyframes fadeShield {
  0% { opacity: 0; }
  50% { opacity: 0.7; }
  100% { opacity: 0; }
}

/* Card UI */
.card {
  display: inline-block;
  margin: 6px;
  text-align: center;
  position: relative;
  width: 100px;
}

.card-image {
  width: 100px;
  height: auto;
  border-radius: 4px;
}

.card-name {
  font-size: 12px;
  margin-top: 4px;
  color: #fff;
}

/* Face-Down Trap Styling */
.card.face-down {
  /* was grayscale + 0.85 opacity — make backs crisp & full color */
  filter: none;
  opacity: 1;
  border: 2px solid #555;
}

/* Optional Type-based Borders */
.card.attack { border: 2px solid red; }
.card.defense { border: 2px solid blue; }
.card.trap { border: 2px dashed purple; }

/* Combo & Damage Glow Effects */
.card.damage-glow {
  animation: damagePulse 1s ease-in-out;
  box-shadow: 0 0 15px red;
}

.card.combo-glow {
  animation: comboPulse 1s ease-in-out;
  box-shadow: 0 0 15px gold;
}

@keyframes damagePulse {
  0% { box-shadow: 0 0 0 red; }
  50% { box-shadow: 0 0 20px red; }
  100% { box-shadow: 0 0 0 red; }
}

@keyframes comboPulse {
  0% { box-shadow: 0 0 0 gold; }
  50% { box-shadow: 0 0 20px gold; }
  100% { box-shadow: 0 0 0 gold; }
}

/* Coin Flip Overlay + Animation */
#coinFlipContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;              /* hidden until JS shows it */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);  /* dim backdrop */
  z-index: 9999;              /* above everything else */
  pointer-events: none;       /* avoid intercepting clicks before it’s shown */
}

.coin-flip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #00ffff;
  background: rgba(0, 0, 0, 0.85);
  padding: 24px;
  border: 2px solid #00ffff;
  border-radius: 12px;
  animation: fadeIn 0.3s ease-out;
  box-shadow: 0 0 20px rgba(0,255,255,0.4);
}

.coin-flip-image {
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
  animation: spin 1.2s linear infinite;
  object-fit: contain;
}

.coin-flip-result {
  text-align: center;
  font-weight: bold;
  margin-top: 8px;
}

@keyframes spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Mock Mode Support */
body.mock-mode #duel-ui {
  display: block !important;
}

#mock-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid #00ffff;
  border-radius: 8px;
  padding: 10px;
  color: #00ffff;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

/* Classic Duel Layout & Buttons */
#hp-display {
  display: flex;
  justify-content: space-between;
  padding: 12px 80px;       /* moved text away from edges */
  color: #f0f0f0;
  font-size: 2.2rem;        /* roughly double of 1.1rem */
  font-weight: bold;
}

#turn-display {
  text-align: center;
  color: #f0f0f0;
  font-size: 1rem;
  margin-bottom: 8px;
}

#player1-field, #player2-field {
  display: grid !important;
  /* 3-slot layout */
  grid-template-columns: repeat(3, 100px);
  grid-auto-rows: 1fr;
  gap: 12px;
  justify-content: center;
  align-content: start;
  margin: 8px auto 16px auto;
  max-width: 360px;  /* 3*100 + 2*12 gaps */
  min-height: 140px; /* keep the row visible even when empty */
  position: relative; /* for ghost slots */
}

/* Ghost slot placeholders (3 dashed boxes) */
#player1-field::before,
#player2-field::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 140px;
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 6px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  /* left & right clones */
  box-shadow:
    -112px 0 0 0 rgba(255,255,255,0.25),
     112px 0 0 0 rgba(255,255,255,0.25);
}

/* Hands: center 3–4 cards, reserve space for deck + discard */
#player1-hand, #player2-hand {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  min-height: 160px; /* visual stability */
  position: relative; /* anchor deck/discount pseudo-elements */
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: nowrap;           /* ⬅️ prevent wrapping into discard area */
}
#player1-hand { padding-left: 120px;  padding-right: 120px; }  /* discard LEFT, deck RIGHT  */
#player2-hand { padding-left: 120px;  padding-right: 120px; }  /* deck LEFT, discard RIGHT */

/* Deck placeholders: ABSOLUTE (won’t get pushed by draws) */
#player1-hand::after,
#player2-hand::before {
  content: "";
  position: absolute;
  top: 10px;
  width: 100px;
  height: 140px;
  background: url('../images/cards/000_CardBack_Unique.png') center / cover no-repeat;
  border-radius: 6px;
  /* full-color, crisp */
  filter: none;
  opacity: 1;
  box-shadow: 0 0 6px rgba(0,0,0,0.6);
  border: 2px solid rgba(255,255,255,0.15);
  pointer-events: none;
  z-index: 1;
}

#player1-hand::after {  right: 0; } /* player deck at RIGHT */
#player2-hand::before { left:  0; } /* opponent deck at LEFT */

/* Discard pile placeholders (mirrored to opposite sides) */
#player1-hand::before,
#player2-hand::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 100px;
  height: 140px;
  background: url('../images/cards/000_CardBack_Unique.png') center / cover no-repeat;
  border-radius: 6px;
  filter: grayscale(60%);
  opacity: 0.95;
  box-shadow: 0 0 6px rgba(0,0,0,0.6);
  border: 2px dashed rgba(255,255,255,0.35); /* dashed to distinguish discard */
  pointer-events: none;
  z-index: 1;
}

#player1-hand::before { left: 0; }  /* player discard at LEFT  */
#player2-hand::after  { right: 0; } /* opponent discard at RIGHT */

/* Control bar */
#controls {
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px auto;
  max-width: 600px;
}

#controls button {
  background-color: #facc15;
  border: none;
  padding: 10px 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  color: #000;
  font-size: 0.95rem;
  box-shadow: 0 0 6px #fff2;
  transition: transform 0.2s ease;
}

#controls button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #facc15;
}

#health-bars {
  display: flex;
  justify-content: space-between;
  padding: 0 80px;
  gap: 40px;
  margin-top: -10px;
  margin-bottom: 20px;
}

.health-bar-container {
  flex: 1;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid #444;
  border-radius: 10px;
  overflow: hidden;
}

.health-bar {
  height: 100%;
  width: 100%; /* This will shrink via JS */
  background: linear-gradient(to right, limegreen, gold);
  transition: width 0.3s ease;
}

/* Announcement / coin-flip text helper */
.overlay {
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  background: rgba(0,0,0,0.75);
  color: #00ffff;
  border: 2px solid #00ffff;
  border-radius: 10px;
  font-weight: bold;
  z-index: 1000;
}
.hidden { display: none; }

/* --- Helpers added (non-breaking) --- */
.card.clickable { cursor: pointer; }
.card.spectator { pointer-events: none; opacity: 0.8; }

/* Optional placeholder (used only if you enable it in JS) */
.card.slot-placeholder {
  width: 100px;
  height: 140px;
  border: 2px dashed #777;
  border-radius: 6px;
  opacity: 0.2;
}

/* =========================
   DUEL-READY GATING (new)
   ========================= */

/* Always hide the Draw button (feature removed) */
#drawBtn { display: none !important; }

/* Hide hands/fields + end button until the app marks the page duel-ready */
body:not(.duel-ready) #player1-hand,
body:not(.duel-ready) #player2-hand,
body:not(.duel-ready) #player1-field,
body:not(.duel-ready) #player2-field,
body:not(.duel-ready) #endTurnBtn {
  display: none !important;
}

/* Once ready, reveal zones/buttons (restore intended layouts) */
body.duel-ready #player1-hand,
body.duel-ready #player2-hand {
  display: flex !important;
}
body.duel-ready #player1-field,
body.duel-ready #player2-field {
  display: grid !important;
}
body.duel-ready #endTurnBtn {
  display: inline-block !important;
}

/* After start, lock the control bar to bottom center (end turn only) */
body.duel-ready #controls {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(56px, env(safe-area-inset-bottom)); /* keep above Return-to-Hub */
  margin: 0;
  z-index: 9000;
  background: transparent;
}

/* Optionally auto-hide the Start button after we're ready (JS also hides it) */
body.duel-ready #startPracticeBtn {
  display: none !important;
}

/* --- Return-to-Hub: harden styles + placement (override) --- */
a.return-to-hub,
a.return-to-hub:link,
a.return-to-hub:visited {
  position: fixed !important;
  bottom: max(20px, env(safe-area-inset-bottom)) !important;
  right:  max(20px, env(safe-area-inset-right))  !important;
  display: inline-block !important;
  background-color: rgba(0, 128, 128, 0.9) !important; /* teal */
  color: #fff !important;
  padding: 12px 20px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  border-radius: 8px !important;
  border: 2px solid #fff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  z-index: 10000 !important; /* above overlays/animations */
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.15) !important;
}

a.return-to-hub:hover {
  background-color: rgba(0, 200, 200, 1) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 0 10px #00ffff !important;
}

/* ------- Card action picker & highlights ------- */
.card.hovering { outline: 2px solid rgba(255, 255, 255, 0.35); outline-offset: 2px; }
.card.selected { box-shadow: 0 0 16px rgba(250, 204, 21, 0.9); }

.card-action-menu {
  position: absolute;
  transform: translate(-50%, -100%);
  background: rgba(0,0,0,0.85);
  border: 2px solid #00ffff;
  border-radius: 10px;
  padding: 6px;
  z-index: 10050;
  display: flex;
  gap: 6px;
  box-shadow: 0 0 10px rgba(0,255,255,0.25);
}
.card-action-menu.hidden { display: none; }
.card-action-menu button {
  background: #facc15;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-weight: bold;
  cursor: pointer;
}
.card-action-menu button:hover { transform: translateY(-1px); }

/* =========================
   Anchored Discard Counters
   ========================= */
.discard-anchor {
  position: absolute;
  width: 140px;
  text-align: center;
  pointer-events: none;
  z-index: 3; /* above snowfall (z=2) */
}

/* Tweak these 4 values to align under the greyscale piles on your screen */
.discard-anchor--top {
  top: 112px;     /* distance from top of page */
  right: 12.5%;   /* move left/right to sit under top-right discard pile */
}

.discard-anchor--bottom {
  bottom: 106px;  /* distance from bottom of page */
  left: 13.5%;    /* move left/right to sit under bottom-left discard pile */
}

.discard-counter {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  user-select: none;
}

/* =========================================
   Non-breaking additions for latest tweaks
   ========================================= */

/* Keep the tiny speaker button clickable above overlays */
#sound-toggle {
  pointer-events: auto !important;
  z-index: 10001 !important; /* above coin flip (9999) and overlays */
}

/* Make sure the Start button is always clickable (above overlays) */
#startPracticeBtn {
  position: relative;
  z-index: 10002;
  pointer-events: auto;
}

/* Zone labels (used in index.html) */
.zone-label {
  text-align: center;
  font: 600 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell;
  color: #c9d4df;
  opacity: .85;
  margin: 6px 0 2px;
  user-select: none;
}

/* Safety: if you ever add this helper, keep behavior stable */
.hand--no-overlap {
  /* reserved utility class; no-op to avoid layout surprises */
}

/* === CLICK-THROUGH SAFETY NET (add at end of CSS) === */

/* Kill click-eating overlays by default */
.snowfall,
#coinFlipContainer,
.animation,
.overlay {
  pointer-events: none !important;
}

/* Chat / hub / audio must always be interactive */
#chat-panel,
#chat-panel *,
.hub-btn,
.return-to-hub,
.audio-toggle {
  pointer-events: auto !important;
  z-index: 10020; /* above generic overlays */
}

/* End-of-duel modal: only accept clicks when visible */
.duel-result        { pointer-events: none !important; }
.duel-result.show   { pointer-events: auto !important; z-index: 10030; }
.duel-result__card,
.duel-result__close { pointer-events: auto !important; cursor: pointer; }

/* Announcement / toasts should never block clicks */
#announcement,
.join-toast {
  pointer-events: none !important;
}

/* ============================================================
   SESSION DUEL UI — Repo #8 canonical DuelSession presentation
   ============================================================ */
html, body { min-height: 100%; }
body {
  overflow: auto;
  color: #eef9fa;
  background-attachment: fixed;
}

.session-duel-shell {
  position: relative;
  z-index: 10;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 72px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 255, 255, .48);
  border-radius: 22px;
  background: rgba(4, 15, 19, .88);
  box-shadow: 0 20px 60px rgba(0,0,0,.52);
  backdrop-filter: blur(8px);
}

.session-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.session-header h1 { margin: 3px 0; font-size: clamp(28px, 4vw, 46px); }
.eyebrow { color: #7cf7f7; font-weight: 800; letter-spacing: .18em; font-size: 12px; }
.mode-display { color: #b9c8cc; font-size: 14px; }

.session-duel-shell a.return-to-hub,
.session-duel-shell a.return-to-hub:link,
.session-duel-shell a.return-to-hub:visited {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  border: 1px solid #6ff !important;
}

.connection-status {
  margin: 10px 0 18px;
  padding: 10px 14px;
  border: 1px solid #35545b;
  border-radius: 10px;
  background: rgba(0,0,0,.52);
  text-align: center;
  color: #cfe6e8;
}
.connection-status.ok { border-color: #00d98b; color: #bffff0; }
.connection-status.working { border-color: #00c6d7; color: #d7fbff; }
.connection-status.warn { border-color: #ffb347; color: #ffe4bc; }

.player-panel {
  position: relative;
  border: 1px solid rgba(111, 255, 255, .2);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
  background: rgba(0, 0, 0, .36);
}
.player-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 18px;
}
.seat-label {
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid rgba(127,255,255,.35);
  border-radius: 999px;
  color: #8adfe2;
  font-size: 10px;
  letter-spacing: .08em;
}
.player-metrics { display: flex; gap: 14px; font-size: 13px; color: #c5d8dc; }
.player-metrics b { color: #fff; }

.session-hand {
  position: static !important;
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100% !important;
  min-height: 145px;
  margin: 0 !important;
  padding: 4px 0;
  gap: 4px;
}
.session-field {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  width: min(430px, 100%) !important;
  min-height: 150px;
  margin: 0 auto !important;
  gap: 8px;
  place-items: center;
}
.session-discard { margin-top: 8px; text-align: center; }

.turn-panel {
  display: flex;
  justify-content: center;
  margin: 14px 0;
}
#turn-display {
  position: static !important;
  display: block !important;
  padding: 10px 18px;
  border: 1px solid #0dd;
  border-radius: 999px;
  background: rgba(0,0,0,.7);
  color: #eaffff;
  font-weight: 800;
  text-align: center;
}

.session-controls,
body.duel-ready #controls {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0 !important;
}
.session-controls button {
  min-width: 130px;
  padding: 11px 16px;
  border: 1px solid #6ff;
  border-radius: 9px;
  background: rgba(0, 132, 140, .88);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.session-controls button:hover:not(:disabled) { filter: brightness(1.18); transform: translateY(-1px); }
.session-controls button:disabled { opacity: .38; cursor: not-allowed; }
.session-controls #drawBtn { display: inline-flex !important; align-items: center; justify-content: center; }
.session-controls .danger-action { border-color: #ff7a7a; background: rgba(137, 29, 39, .9); }

.coin-session-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.68);
  pointer-events: none;
}
/* Override the legacy #coinFlipContainer { display:none } ID rule. */
#coinFlipContainer.coin-session-overlay { display: flex; }
#coinFlipContainer.coin-session-overlay.hidden { display: none; }
.coin-session-overlay img { width: min(180px, 42vw); filter: drop-shadow(0 0 24px #0ff); }

#announcement.overlay {
  position: fixed;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10010;
  min-width: min(440px, 84vw);
  padding: 14px 18px;
  border: 1px solid #6ff;
  border-radius: 12px;
  background: rgba(0,0,0,.88);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.duel-error,
.winner-session-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(5px);
}
.duel-error.hidden,
.winner-session-overlay.hidden { display: none; }
.duel-error-card,
.winner-session-card {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid #0dd;
  border-radius: 16px;
  background: #071318;
  box-shadow: 0 18px 60px rgba(0,0,0,.7);
  text-align: center;
}
.duel-error-card h2,
.winner-session-card h2 { margin: 6px 0 12px; font-size: 32px; }
.error-actions,
.winner-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.error-actions a,
.error-actions button,
.winner-actions a {
  padding: 10px 14px;
  border: 1px solid #6ff;
  border-radius: 8px;
  background: #087b82;
  color: white;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.session-duel-shell.duel-unavailable { opacity: .45; filter: saturate(.7); }

.card-action-menu { pointer-events: auto !important; }

@media (max-width: 700px) {
  .session-duel-shell { width: calc(100% - 12px); margin: 6px auto 36px; padding: 10px; border-radius: 14px; }
  .session-header { align-items: flex-start; flex-direction: column; }
  .session-duel-shell a.return-to-hub { align-self: stretch; text-align: center; }
  .player-heading { align-items: flex-start; flex-direction: column; }
  .player-metrics { width: 100%; justify-content: space-between; }
  .session-field { grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); gap: 4px; }
  .session-hand { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; }
  .session-hand .card { flex: 0 0 auto; scroll-snap-align: center; }
  .card, .card-image { width: 84px; }
  .card.slot-placeholder { width: 84px; height: 118px; }
  .session-controls { position: sticky !important; bottom: 6px !important; z-index: 9000; padding: 8px; border-radius: 12px; background: rgba(5,15,18,.9); }
  .session-controls button { min-width: 0; flex: 1; padding-inline: 8px; }
}
