* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #10201a;
  color: #eef2f0;
}

#muteBtn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 100;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #34473e;
  background: #17281f;
  color: #eef2f0;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
#muteBtn:hover { background: #1e3327; }
#muteBtn.is-muted { opacity: 0.55; }

/* --- Flying-card effect layer: a fixed full-viewport overlay that hosts short-lived ghost
   cards animating from one screen position to another (draw / discard / steal / swap). Sits
   above everything, ignores clicks, and is never touched by the normal app.innerHTML re-render. --- */
#fxLayer { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: visible; }
.flying-card {
  position: fixed;
  z-index: 300;
  transition: left 0.55s cubic-bezier(.22,.68,.36,1), top 0.55s cubic-bezier(.22,.68,.36,1), transform 0.55s ease;
  will-change: left, top, transform;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}
.wrap.center {
  max-width: 420px;
  text-align: center;
  padding-top: 15vh;
}

h1 { margin: 0 0 8px; font-size: 1.8rem; }

.brand-title {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-title .brand-seven {
  color: #ffd25a;
  text-shadow: 0 0 22px rgba(255, 210, 90, 0.6);
}
.brand-title .brand-rest { color: #eef2f0; }
.brand-by {
  margin: 2px 0 20px;
  color: #9fb0a8;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
h2 { margin: 24px 0 8px; }
h3 { margin: 24px 0 8px; color: #b9c7c0; }

.muted { color: #9fb0a8; }
.error { color: #ff8a8a; }

.stack { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

input {
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #34473e;
  background: #17281f;
  color: #eef2f0;
}
input:focus { outline: 2px solid #4caf7d; }

button {
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #34473e;
  background: #2b5941;
  color: #eef2f0;
  cursor: pointer;
}
button:hover:not(:disabled) { background: #366d4f; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
button.danger { background: #6e2b2b; border-color: #7a3a3a; }
button.danger:hover:not(:disabled) { background: #833333; }
button.small { padding: 6px 12px; font-size: 0.9rem; }

.rules-btn {
  display: inline-block;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #4a6d3a;
  background: #2e4a24;
  color: #eef2f0;
  text-decoration: none;
  cursor: pointer;
}
.rules-btn:hover { background: #3a5c2e; }
.rules-btn.small { padding: 6px 12px; font-size: 0.9rem; }

/* --- High scores --- */
.highscore-panel {
  margin: 16px 0;
  padding: 12px 16px;
  background: #17281f;
  border: 1px solid #3a4a24;
  border-radius: 10px;
}
.highscore-panel h3 { margin: 0 0 8px; color: #ffd25a; font-size: 1rem; }
.highscore-list { list-style: decimal inside; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.highscore-list li { display: flex; justify-content: space-between; font-size: 0.95rem; }
.high-score-notice { margin: 2px 0 14px; }

/* --- Room list --- */
.roomlist { list-style: none; padding: 0; margin: 12px 0; }
.roomlist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #17281f;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.room-name { font-weight: 700; font-size: 1.05rem; }
.room-meta { color: #9fb0a8; font-size: 0.85rem; }
.room-actions { display: flex; gap: 8px; margin-left: auto; }
.room-tag { margin: 2px 0 14px; }

/* --- Lobby --- */
.playerlist { list-style: none; padding: 0; margin: 12px 0; }
.playerlist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #17281f;
  margin-bottom: 6px;
}
.playerlist li.disconnected { opacity: 0.55; }
.ready { color: #7ee0a3; font-weight: 600; }
.notready { color: #d8b673; }

.tag {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: #34473e;
  margin-left: 6px;
}
.tag.warn { background: #6e5a2b; }

.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.kodevariant-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  background: #17281f;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}
.kodevariant-toggle input { width: 16px; height: 16px; }

/* --- Game --- */
/* min-height: 100vh + a centered column keeps the table anchored in the same spot on screen
   regardless of what phase is showing (playing / round-end / game-end) - the round-end overlay
   used to live in normal document flow above the table and push it down, which felt jumpy. */
.tablewrap {
  max-width: 2440px;
  margin: 0 auto;
  padding: 16px 20px 32px;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Game layout: score sidebar / table / log sidebar --- */
.gamelayout {
  display: flex;
  align-items: stretch;
  gap: 14px;
  /* Without an explicit height here, this row's height is just "whatever its tallest child
     wants" - and since .sidebar-log's <ul class="log"> has no cap of its own (see below), a long
     event log would keep growing the WHOLE row (pushing the table itself off the top of the
     screen) instead of scrolling internally. Matching .pokertable's own height/min/max locks the
     row to a real size, so the log's flex:1 + min-height:0 + overflow-y:auto can actually take
     effect and scroll in place. */
  height: 80vh;
  min-height: 640px;
  max-height: 1000px;
}

.sidebar {
  flex: 0 0 220px;
  width: 220px;
  background: #17281f;
  border: 2px solid #223a2e;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sidebar h3 { margin: 0 0 12px; color: #b9c7c0; font-size: 1.15rem; }
.sidebar-actions { display: flex; gap: 8px; margin-top: 14px; }

.scorelist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.scorelist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  background: #0f1e17;
}
.scorelist li.leading { background: #2b5941; box-shadow: inset 0 0 0 1px #4caf7d; }
.scorelist li.left { opacity: 0.45; }
.sl-name { font-weight: 600; font-size: 1.03rem; }
.sl-score { font-weight: 700; color: #ffd25a; font-size: 1.15rem; }
.sl-right { display: flex; align-items: center; gap: 8px; }

.pl-right { display: flex; align-items: center; gap: 8px; }

.kick-btn {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #6e2b2b;
  border: 1px solid #7a3a3a;
  color: #eef2f0;
  cursor: pointer;
  line-height: 1.5;
}
.kick-btn:hover { background: #833333; }

.sidebar-log { max-height: none; }
.sidebar-log .log { flex: 1; min-height: 0; max-height: none; margin: 0; font-size: 1rem; }

/* --- Poker table --- */
.pokertable {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 80vh;
  min-height: 640px;
  max-height: 1000px;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 40%, #1f6b45 0%, #164f34 55%, #0d3423 100%);
  border-radius: 50% / 42%;
  border: 14px solid #4a3320;
  box-shadow:
    0 24px 50px rgba(0,0,0,0.55),
    inset 0 0 0 4px #6b4a2c,
    inset 0 0 70px rgba(0,0,0,0.45);
}

.table-center {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.piles-row { display: flex; align-items: flex-end; gap: 34px; }
.deck-pile, .discard-pile {
  position: relative;
  width: 86px;
  height: 122px;
}
.cardback {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background-color: #1c2660;
  background-image: url('/cards/back.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.cardback.cb-1 { transform: translate(0, 0); z-index: 3; }
.cardback.cb-2 { transform: translate(3px, -4px); z-index: 2; }
.cardback.cb-3 { transform: translate(6px, -8px); z-index: 1; }
.deck-pile.clickable { cursor: pointer; }
.deck-pile.clickable .cardback.cb-1 {
  box-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 0 0 3px #ffd25a, 0 0 16px rgba(255,210,90,0.7);
}
.deck-pile.clickable:hover .cardback.cb-1 { transform: translateY(-4px); }
.deck-pile.just-drawn { animation: deck-pop 0.4s ease; }
@keyframes deck-pop { 0% { transform: scale(1); } 35% { transform: scale(0.9) rotate(-3deg); } 100% { transform: scale(1); } }

/* Discard pile: a plain neutral card silhouette (not the branded deck-back art, so the two
   piles read as visually distinct at a glance) with a small stacked-cards look. */
.discardback {
  position: absolute;
  inset: 8px 8px 4px 4px;
  border-radius: 9px;
  background: linear-gradient(155deg, #3a4038 0%, #262b25 100%);
  border: 2px solid #4a5248;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transform: rotate(-4deg);
}
.discardback::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 7px;
  border: 1px dashed rgba(238,242,240,0.25);
  margin: 6px;
}
.discard-pile.just-added .discardback { animation: discard-pop 0.4s ease; }
@keyframes discard-pop { 0% { transform: rotate(-4deg) scale(0.75); opacity: 0.4; } 60% { transform: rotate(2deg) scale(1.08); } 100% { transform: rotate(-4deg) scale(1); opacity: 1; } }

.pile-count {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 0.85rem;
  font-weight: 700;
  color: #cfe0d6;
  background: rgba(10,20,15,0.75);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.08);
}
.pile-label {
  text-align: center;
  font-size: 0.72rem;
  color: #7f9187;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 18px;
}

/* --- Seats --- */
.seat {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: auto;
}
.seat.seat-me { z-index: 5; }
.seat.left { opacity: 0.45; }
.seat.busted .seat-badge {
  opacity: 0.7;
  border-color: #ff3b3b;
  box-shadow: 0 0 0 2px #ff3b3b, 0 0 18px rgba(255, 59, 59, 0.6);
}

.seat-badge {
  background: rgba(9, 18, 13, 0.78);
  border: 3px solid #2b5941;
  border-radius: 10px;
  padding: 8px 16px;
  text-align: center;
  min-width: 140px;
}
.seat.active .seat-badge {
  animation: turn-blink 1s ease-in-out infinite;
}
.seat.active .seat-name { color: #ffe9a8; }
@keyframes turn-blink {
  0%, 100% {
    border-color: #ffd25a;
    box-shadow: 0 0 0 2px #ffd25a, 0 0 22px rgba(255, 210, 90, 0.85);
  }
  50% {
    border-color: #fff3d0;
    box-shadow: 0 0 0 5px rgba(255, 210, 90, 0.9), 0 0 34px rgba(255, 210, 90, 1);
  }
}
.seat-badge.badge-blinking {
  animation: badge-blink 0.7s ease-in-out infinite;
}
@keyframes badge-blink {
  0%, 100% { border-color: #4a90e2; box-shadow: 0 0 0 2px #4a90e2, 0 0 18px rgba(74, 144, 226, 0.8); }
  50% { border-color: #a3ccff; box-shadow: 0 0 0 5px rgba(163, 204, 255, 0.9), 0 0 30px rgba(163, 204, 255, 1); }
}
.seat.drop-target .seat-badge {
  border-color: #4caf7d;
  border-style: dashed;
}
.seat.drop-target.drop-hot .seat-badge {
  border-color: #ffd25a;
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(255, 210, 90, 0.35);
}

/* --- Round-end focus pause: dim everyone else and spotlight whoever just busted the round out --- */
.pokertable.round-end-active .seat:not(.round-end-focus) {
  opacity: 0.3;
  transition: opacity 0.4s ease;
  filter: grayscale(0.6);
}
.seat.round-end-focus { z-index: 10; }
.seat.round-end-focus .seat-badge {
  animation: focus-pulse 0.9s ease-in-out infinite;
}
@keyframes focus-pulse {
  0%, 100% { border-color: #ff3b3b; box-shadow: 0 0 0 3px #ff3b3b, 0 0 30px rgba(255, 59, 59, 0.85); transform: scale(1); }
  50% { border-color: #ff8080; box-shadow: 0 0 0 7px rgba(255, 90, 90, 0.9), 0 0 46px rgba(255, 59, 59, 1); transform: scale(1.04); }
}
.round-end-banner {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 900;
  color: #ff5a5a;
  text-shadow: 0 0 14px rgba(255, 59, 59, 0.9), 0 2px 4px rgba(0,0,0,0.6);
  animation: round-end-banner-pop 0.4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes round-end-banner-pop { from { transform: translateX(-50%) scale(0.3); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }

.seat-name { font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.seat-status { font-size: 0.9rem; color: #9fb0a8; margin-top: 2px; }
.dealer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffd25a;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
}

.hand-rows { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.seat-ghost { display: flex; justify-content: center; margin-top: 4px; }
.hand { display: flex; justify-content: center; }
.hand-sm .cardface { margin-left: -20px; }
.hand-sm .cardface:first-child { margin-left: 0; }
.hand-lg .cardface { margin-left: -32px; }
.hand-lg .cardface:first-child { margin-left: 0; }
.hand-mini .cardface { margin-left: -26px; }
.hand-mini .cardface:first-child { margin-left: 0; }
.no-cards { font-size: 0.9rem; }

.my-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.my-controls .hint { font-size: 0.92rem; color: #cfe0d6; margin: 0; text-align: center; }
.my-controls .hint.forced-hint { color: #ffb0b0; font-weight: 700; }
.my-controls #stayBtn { font-size: 1.2rem; padding: 14px 28px; font-weight: 700; }

.pending-ghost { display: flex; }
.pending-ghost .cardface { cursor: grab; }

/* --- Card faces (real card art) --- */
.cardface {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
}
.cardface img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.cardface.sz-sm { width: 60px; height: 85px; }
.cardface.sz-lg { width: 118px; height: 167px; }
.cardface.sz-mini { width: 94px; height: 134px; }

.cardface.is-draggable { cursor: grab; }
.cardface.drop-target { box-shadow: 0 0 0 3px #4caf7d; border-radius: 8px; }
.cardface.drop-target.drop-hot { box-shadow: 0 0 0 4px #ffd25a; }

/* A card the whole table watches before it gets removed (Second Chance save, Unlucky 7,
   Flip Four's busted-target discard) - pulses so the moment actually registers. */
.cardface.blinking { animation: blink-card 0.8s ease-in-out infinite; }
.cardface.confirm-clickable { cursor: pointer; }
@keyframes blink-card {
  0%, 100% { box-shadow: 0 0 0 3px #ffd25a, 0 0 16px rgba(255, 210, 90, 0.7); transform: translateY(0); }
  50% { box-shadow: 0 0 0 5px #ff5a5a, 0 0 26px rgba(255, 90, 90, 0.9); transform: translateY(-5px); }
}
/* Glow instead of a translateY bounce on purpose: an ongoing `transform` animation on a
   draggable="true" element makes some browsers delay/ignore the dragstart gesture until the
   animation settles, which is exactly the "can't grab it right away" lag reported during
   playtesting. A filter-only pulse gives the same "pick me up" cue without touching transform. */
.ghost-card { animation: pulse-ghost 1.6s ease-in-out infinite; }
@keyframes pulse-ghost {
  0%, 100% { filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5)); }
  50% { filter: drop-shadow(0 0 14px rgba(255, 210, 90, 0.9)); }
}

/* A card that just landed for real (after its flying-ghost arrived, or on first load) settles
   in with a small pop instead of appearing instantly. */
.cardface.just-dealt { animation: card-settle 0.35s ease; }
@keyframes card-settle {
  0% { transform: scale(0.7) rotate(-6deg); opacity: 0.4; }
  60% { transform: scale(1.06) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.seat-badge.just-busted-badge { animation: bust-shake 0.5s ease; }
@keyframes bust-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-6px) rotate(-4deg); }
  40% { transform: translateX(5px) rotate(3deg); }
  60% { transform: translateX(-4px) rotate(-2deg); }
  80% { transform: translateX(3px) rotate(1deg); }
}

/* --- Overlay (round end / game end): a translucent scrim over the table itself, not pushed
   into the page flow, so the table never shifts position between phases. --- */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 12, 0.72);
  backdrop-filter: blur(3px);
  border-radius: 50% / 42%;
  animation: overlay-fade-in 0.35s ease;
}
@keyframes overlay-fade-in { from { opacity: 0; } to { opacity: 1; } }
.overlay-panel {
  background: rgba(23, 40, 31, 0.95);
  border: 1px solid #34473e;
  border-radius: 12px;
  padding: 22px 30px;
  max-width: 92%;
  width: 560px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,0.65);
}
.scoretable {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.scoretable th, .scoretable td {
  padding: 8px 10px;
  border-bottom: 1px solid #223a2e;
  text-align: left;
}
.scoretable th { color: #9fb0a8; font-weight: 600; }
.scoretable tr.flip7-row {
  background: linear-gradient(90deg, rgba(255,210,90,0.22), rgba(255,210,90,0.04));
}
.scoretable tr.flip7-row td:first-child { font-weight: 700; }
.flip7-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffd25a;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 800;
}
.bonus-chip {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 6px;
  background: #ffd25a;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.75rem;
}

/* --- Flip 7 celebration banner: a brief, loud full-screen call-out the moment someone flips ---*/
.flip7-banner {
  position: fixed;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  background: linear-gradient(135deg, #ffd25a, #ff9d3a);
  color: #1a1a1a;
  font-size: 2.1rem;
  font-weight: 900;
  padding: 20px 44px;
  border-radius: 18px;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 0 70px rgba(255,210,90,0.85), 0 20px 55px rgba(0,0,0,0.55);
  animation: flip7-pop 0.45s cubic-bezier(.34,1.56,.64,1), flip7-glow 0.9s ease-in-out infinite alternate;
  pointer-events: none;
}
.flip7-banner-sub { display: block; font-size: 1rem; font-weight: 700; opacity: 0.85; margin-top: 2px; }
@keyframes flip7-pop {
  from { transform: translateX(-50%) scale(0.3) rotate(-6deg); opacity: 0; }
  to { transform: translateX(-50%) scale(1) rotate(0); opacity: 1; }
}
@keyframes flip7-glow {
  from { box-shadow: 0 0 45px rgba(255,210,90,0.65), 0 20px 55px rgba(0,0,0,0.55); }
  to { box-shadow: 0 0 95px rgba(255,210,90,1), 0 20px 55px rgba(0,0,0,0.55); }
}

/* --- Game-win celebration: confetti + a bigger banner than the per-round Flip 7 one, since
   winning the whole match is the bigger moment. --- */
.game-win-celebration { position: fixed; inset: 0; z-index: 260; pointer-events: none; overflow: hidden; }
.confetti-layer { position: absolute; inset: 0; }
.confetti-piece {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 16px;
  opacity: 0.95;
  border-radius: 2px;
  animation-name: confetti-fall;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}
@keyframes confetti-fall {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--drift), 110vh) rotate(540deg); opacity: 0.5; }
}
.win-banner {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd25a, #ff9d3a);
  color: #1a1a1a;
  font-size: 2.3rem;
  font-weight: 900;
  padding: 22px 48px;
  border-radius: 20px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 0 90px rgba(255,210,90,0.9), 0 24px 60px rgba(0,0,0,0.6);
  animation: flip7-pop 0.5s cubic-bezier(.34,1.56,.64,1), flip7-glow 0.9s ease-in-out infinite alternate;
}

/* --- Log --- */
.log {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.9rem;
}
.log li {
  padding: 6px 10px;
  border-bottom: 1px solid #1c2f26;
  color: #cdd8d2;
}
