/* WaveScape — OSRS party guessing game (Wavelength-style).
   Kept in its own stylesheet while the game is new; can be merged into styles.css later. */

.wv-body {
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #14110e;
  background-image:
    linear-gradient(rgba(14, 11, 9, 0.45), rgba(9, 7, 6, 0.65)),
    url('assets/feature-images/background.webp');
  background-size: auto, cover;
  background-repeat: no-repeat;
  background-position: center, center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

.wv-body > .site-footer {
  margin-top: auto;
  flex-shrink: 0;
}

/* Starfield overlay — repeating tiles of tiny radial-gradient dots, fixed above
   the background photo but behind all content (negative z-index) */
.wv-body::before,
.wv-body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: repeat;
}

.wv-body::before {
  background-image:
    radial-gradient(1.5px 1.5px at 22px 34px, rgba(245, 233, 200, 0.9), transparent 60%),
    radial-gradient(1px 1px at 128px 156px, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 244px 60px, rgba(245, 233, 200, 0.75), transparent 60%),
    radial-gradient(1px 1px at 310px 210px, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.6px 1.6px at 86px 258px, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1px 1px at 350px 330px, rgba(245, 233, 200, 0.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 190px 372px, rgba(255, 255, 255, 0.65), transparent 60%);
  background-size: 420px 420px;
  opacity: 0.5;
}

.wv-body::after {
  background-image:
    radial-gradient(1px 1px at 64px 96px, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1.3px 1.3px at 210px 40px, rgba(245, 233, 200, 0.7), transparent 60%),
    radial-gradient(1px 1px at 300px 140px, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 40px 220px, rgba(245, 233, 200, 0.85), transparent 60%),
    radial-gradient(1px 1px at 250px 300px, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 430px 380px, rgba(255, 255, 255, 0.7), transparent 60%);
  background-size: 520px 520px;
  opacity: 0.35;
  animation: wv-twinkle 5.5s ease-in-out infinite;
}

@keyframes wv-twinkle {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .wv-body::after { animation: none; }
}

/* Retro print grain on WaveScape panels (Wavelength's speckled-ink texture):
   a repeating SVG feTurbulence noise tile — dense per-pixel grain — plus a
   soft vertical sheen so the flat panel colour has some depth. */
.wv-body .panel {
  background-color: var(--osrs-ui-panel, #46433A);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='0.16'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23d)' opacity='0.3'/%3E%3C/svg%3E"),
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.08));
  background-size: 140px 140px, 120px 120px, 100% 100%;
}

/* ── Screens ── */
.wv-screen {
  width: min(760px, 94vw);
  margin: 0 auto;
  padding: 24px 0 32px;
  flex: 0 0 auto;
}

.wv-screen[hidden] { display: none; }

/* ── Title ── */
.wv-title {
  font-family: 'Quill 8', 'RuneScape Bold', Arial, serif;
  color: var(--osrs-gold);
  font-size: 58px;
  margin: 8px 0 4px;
  text-align: center;
  text-shadow: 2px 2px 0 var(--osrs-black);
}

.wv-title-small { font-size: 42px; }

/* ── Entry ── */
.wv-entry-dialog,
.wv-lobby-dialog,
.wv-final-dialog {
  max-width: 440px;
  margin: 6vh auto 0;
  padding: 22px 26px 26px;
  text-align: center;
}

.wv-entry-dialog { padding: 26px 30px 22px; }

.wv-entry-sub {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
  font-size: 1.25rem;
  margin: 0 0 6px;
  text-shadow: 1px 1px 0 var(--osrs-black);
}

.wv-entry-desc {
  color: #c9b88a;
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 390px;
  margin: 0 auto 20px;
}

.wv-name-label {
  display: block;
  text-align: left;
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
  margin-bottom: 4px;
}

.wv-name-input,
.wv-code-input,
.wv-clue-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  color: #f5e9c8;
  background: rgba(15, 15, 15, 0.55);
  border: 2px solid var(--osrs-ui-border);
  border-radius: 6px;
  outline: none;
}

.wv-name-input:focus,
.wv-code-input:focus,
.wv-clue-input:focus { border-color: var(--osrs-gold); }

.wv-name-input { margin-bottom: 16px; }

.wv-entry-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wv-create-btn {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: linear-gradient(#d99c1b, #b9790f);
  border-color: #f1bb3b;
  color: #1b1408;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #6e4508;
  text-shadow: none;
}

.wv-create-btn:hover {
  background: linear-gradient(#e9ad2b, #c98714);
  border-color: #ffd66d;
}

.wv-create-btn span {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 1.08rem;
}

.wv-create-btn small {
  color: #4a2e06;
  font-family: 'RuneScape Small', 'RuneScape Bold', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: normal;
}

.wv-entry-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0 10px;
  color: #92866f;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wv-entry-divider::before,
.wv-entry-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #5a5347;
}

.wv-join-panel {
  padding: 8px;
  background: rgba(15, 15, 15, .22);
  border: 1px solid #5a5347;
  border-radius: 7px;
}

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

.wv-join-btn {
  min-width: 76px;
  color: var(--osrs-yellow);
}

.wv-code-input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  font-family: 'RuneScape Bold', Arial, sans-serif;
}

/* ── Invite-link entry mode ──
   Arriving via ?join=CODE: hide the create/code UI so the screen is just
   "your name + one big Join button" (same pattern as Wiki Race). */
.wv-invite-mode .wv-create-btn,
.wv-invite-mode .wv-entry-divider,
.wv-invite-mode .wv-code-input { display: none; }

.wv-invite-mode .wv-join-panel {
  padding: 0;
  background: transparent;
  border: 0;
}

.wv-invite-mode .wv-join-btn {
  width: 100%;
  min-height: 54px;
  font-size: 1.1rem;
  font-family: 'RuneScape Bold', Arial, sans-serif;
}

.wv-entry-help-btn {
  align-self: center;
  width: auto;
  margin-top: 13px;
  padding: 5px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #9d927c;
  font-family: 'RuneScape Small', 'RuneScape Bold', Arial, sans-serif;
  font-size: .9rem;
}

.wv-entry-help-btn strong {
  display: block;
  margin-top: 2px;
  color: var(--osrs-yellow);
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 1rem;
  font-weight: normal;
}

.wv-entry-help-btn span { display: block; }

.wv-entry-help-btn:hover { color: #c9b88a; background: transparent; }

.wv-entry-error,
.wv-lobby-error { color: #ff6b6b; }

/* ── Icons & invite banner ── */
.wv-icon {
  height: 18px;
  width: auto;
  image-rendering: pixelated;
  vertical-align: -3px;
}

.wv-invite-banner {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
  font-size: 1.1rem;
  margin: 2px 0 10px;
  padding: 10px 12px;
  background: rgba(15, 15, 15, 0.45);
  border: 2px solid var(--osrs-gold);
  border-radius: 8px;
  text-shadow: 1px 1px 0 var(--osrs-black);
}

.wv-invite-banner strong { color: var(--osrs-gold); }

/* ── Lobby ── */
.wv-lobby-code-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 10px 0 16px;
}

.wv-lobby-code-label {
  font-size: 0.85rem;
  color: #c9b88a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wv-lobby-code {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 2.2rem;
  letter-spacing: 8px;
  color: var(--osrs-yellow);
  text-shadow: 2px 2px 0 var(--osrs-black);
}

.wv-copy-toast {
  color: var(--osrs-green);
  font-size: 0.85rem;
}

.wv-lobby-players-title {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
  font-size: 1.15rem;
  margin: 8px 0 6px;
}

.wv-lobby-players {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.wv-lobby-players li {
  padding: 7px 10px;
  margin: 4px 0;
  background: rgba(15, 15, 15, 0.4);
  border: 1px solid var(--osrs-ui-border);
  border-radius: 6px;
  color: #f5e9c8;
}

.wv-lobby-players li .wv-host-tag {
  color: var(--osrs-gold);
  font-size: 0.8rem;
  margin-left: 6px;
}

.wv-lobby-config {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}

/* [hidden] must win over the flex display above (host-only controls) */
.wv-lobby-config[hidden] { display: none; }

.wv-config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wv-config-row label {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
}

.wv-config-row select {
  flex: 1;
  max-width: 240px;
  padding: 8px;
  background: rgba(15, 15, 15, 0.55);
  color: #f5e9c8;
  border: 2px solid var(--osrs-ui-border);
  border-radius: 6px;
}

.wv-start-btn { margin-top: 4px; }
.wv-leave-btn { margin-top: 12px; }

/* ── Game layout ── */
.wv-game-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 14px;
  align-items: start;
}

.wv-game-main {
  padding: 16px 18px 20px;
  text-align: center;
}

.wv-game-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.wv-round-label {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
}

.wv-psychic-label {
  color: #c9b88a;
  font-size: 0.9rem;
}

/* ── Spectrum card ── */
.wv-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(15, 15, 15, 0.45);
  border: 2px solid var(--osrs-brown);
  border-radius: 8px;
}

.wv-card-pole {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--osrs-yellow);
  text-shadow: 1px 1px 0 var(--osrs-black);
  flex: 1;
}

.wv-card-pole-left { text-align: right; color: #7fc9ff; }
.wv-card-pole-right { text-align: left; color: #ffb36b; }

.wv-card-vs { color: #c9b88a; }

/* ── Dial ── */
.wv-dial-wrap { margin: 4px auto 8px; max-width: 460px; }

#wv-dial {
  width: 100%;
  height: auto;
  display: block;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

/* While dragging the needle, suppress text selection everywhere (the drag
   sweeps over the clue dialogue above the dial) */
body.wv-dragging, body.wv-dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Shared dial styles (main game dial + how-to-play demo dial).
   Wavelength-inspired: night-sky face, parchment scalloped rim, red knob. */
.wv-dial-scallop { fill: #efe3c0; stroke: rgba(0, 0, 0, 0.35); stroke-width: 1; }
.wv-dial-bg { fill: #171a2c; stroke: #efe3c0; stroke-width: 3; }
.wv-dial-star { fill: #ffffff; }
.wv-dial-tick { stroke: rgba(245, 233, 200, 0.28); stroke-width: 1.5; }
.wv-band-4 { fill: var(--osrs-gold); }
.wv-band-3 { fill: #cf7a1f; }
.wv-band-2 { fill: #a8432f; }
.wv-band-num {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 13px;
  fill: #1d1206;
}
.wv-needle { stroke: #d8412f; stroke-width: 5; stroke-linecap: round; }
.wv-needle-hub { fill: #d8412f; stroke: #5f150c; stroke-width: 2; }
.wv-needle-hub-shine { fill: rgba(255, 255, 255, 0.55); }
.wv-guess-needle { stroke-width: 3; stroke-linecap: round; opacity: 0.95; }
.wv-guess-label {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 13px;
  fill: #f5e9c8;
  paint-order: stroke;
  stroke: #0f0f0f;
  stroke-width: 3px;
}
.wv-pole-label {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 16px;
  paint-order: stroke;
  stroke: #0f0f0f;
  stroke-width: 3px;
}
.wv-pole-label-left { fill: #7fc9ff; }
.wv-pole-label-right { fill: #ffb36b; }

/* ── Phase panels ── */
.wv-phase { margin-top: 6px; }

.wv-phase-title {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
  font-size: 1.15rem;
  margin: 4px 0 6px;
  text-shadow: 1px 1px 0 var(--osrs-black);
}

/* Shimmering "Oracle" — a wave of light sweeps across the gold letters */
.wv-oracle-word {
  display: inline-block;
  background-image: linear-gradient(100deg,
    var(--osrs-gold) 25%, #fff6cf 45%, #ffffff 50%, #fff6cf 55%, var(--osrs-gold) 75%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: wv-oracle-shimmer 2.6s linear infinite;
}

@keyframes wv-oracle-shimmer {
  from { background-position: 220% center; }
  to { background-position: 0% center; }
}

@media (prefers-reduced-motion: reduce) {
  .wv-oracle-word { animation: none; }
}

.wv-clue-row {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 10px auto 0;
}

/* OSRS NPC dialogue box for the clue */
.wv-dialogue {
  background: #fff3d1;
  border: 2px solid #382d1a;
  box-shadow: inset 0 0 0 2px #8f7a4d;
  border-radius: 3px;
  max-width: 420px;
  margin: 4px auto 10px;
  padding: 8px 16px 10px;
  text-align: center;
}

.wv-dialogue-name {
  font-family: 'Quill 8', 'RuneScape Bold', Arial, serif;
  color: #7f0000;
  font-size: 1.45rem;
  line-height: 1.1;
}

.wv-dialogue-text {
  font-family: 'Quill 8', 'RuneScape Bold', Arial, serif;
  color: #0f0f0f;
  font-size: 1.5rem;
  line-height: 1.15;
  overflow-wrap: break-word;
}

/* Chathead avatars */
.wv-avatar {
  height: 22px;
  width: auto;
  image-rendering: pixelated;
  vertical-align: -6px;
  margin-right: 6px;
}

.wv-guess-status { margin-top: 8px; }

/* ── Reveal ── */
.wv-reveal-results {
  max-width: 420px;
  margin: 8px auto 12px;
  text-align: left;
}

.wv-reveal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  margin: 4px 0;
  background: rgba(15, 15, 15, 0.4);
  border: 1px solid var(--osrs-ui-border);
  border-radius: 6px;
  color: #f5e9c8;
}

.wv-reveal-row .wv-pts {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
}

.wv-reveal-row .wv-pts.wv-pts-zero { color: #8b8175; }

.wv-host-tools { margin-top: 14px; }
.wv-host-tools a { color: #8b8175; }

/* ── Scoreboard ── */
.wv-scoreboard {
  padding: 14px 14px 16px;
}

.wv-scoreboard-title {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
  font-size: 1.1rem;
  margin: 0 0 8px;
  text-shadow: 1px 1px 0 var(--osrs-black);
}

.wv-scoreboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wv-scoreboard-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  margin: 3px 0;
  background: rgba(15, 15, 15, 0.4);
  border: 1px solid var(--osrs-ui-border);
  border-radius: 6px;
  color: #f5e9c8;
  font-size: 0.92rem;
}

.wv-scoreboard-list li .wv-score {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
}

.wv-scoreboard-list li.wv-me { border-color: var(--osrs-gold); }
.wv-scoreboard-list li.wv-disconnected { opacity: 0.45; }

/* ── Final ── */
.wv-final-list {
  margin: 14px 0 18px;
  padding: 0 0 0 26px;
  text-align: left;
  color: #f5e9c8;
  font-size: 1.05rem;
}

.wv-final-list li { padding: 4px 0; }

.wv-final-list li .wv-score {
  font-family: 'RuneScape Bold', Arial, sans-serif;
  color: var(--osrs-yellow);
}

.wv-final-list li:first-child {
  color: var(--osrs-gold);
  font-family: 'RuneScape Bold', Arial, sans-serif;
  font-size: 1.2rem;
}

/* ── How-to-play demo ── */
.wv-dialog { position: relative; }

/* Size the dialog to the demo content (site default is 600px — too wide here) */
.modal .dialog.wv-help-dialog {
  width: min(480px, 92vw);
  padding: 14px 20px 16px;
  text-align: center;
}

.wv-help-dialog h2 { text-align: center; }

.wv-demo {
  --wv-demo-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wv-demo-card {
  width: min(100%, var(--wv-demo-width));
  margin: 4px auto;
  padding-block: 9px;
}

/* Compact dialogue box inside the demo (full-size in game, smaller here) */
.wv-demo-clue { width: min(100%, var(--wv-demo-width)); padding: 5px 12px 7px; }
.wv-demo-clue .wv-dialogue-name { font-size: 1.15rem; }
.wv-demo-clue .wv-dialogue-text { font-size: 1.25rem; }

.wv-demo-clue { margin: 2px auto 4px; }
.wv-demo-clue[hidden] { display: none; }

.wv-demo-dial-wrap { width: min(100%, 330px); margin: -4px auto -8px; }

#wv-demo-dial { width: 100%; height: auto; display: block; }
#wv-demo-dial .wv-guess-label { font-size: 14px; }

.wv-demo-text {
  color: #e8dcbc;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 6px auto 9px;
  width: min(100%, var(--wv-demo-width));
  text-align: center;
}

.wv-demo-zones {
  width: min(100%, var(--wv-demo-width));
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 auto 2px;
}
.wv-demo-zones[hidden] { display: none; }
.wv-demo-zone {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #f5e9c8;
  font-size: 0.76rem;
  white-space: nowrap;
  animation: wv-zone-chip-in 240ms ease-out both;
}
.wv-demo-zone strong { color: #fff; }
.wv-demo-zone-centre { background: var(--osrs-gold); color: #17120a; }
.wv-demo-zone-centre strong { color: #17120a; }
.wv-demo-zone-middle { background: #b9871c; }
.wv-demo-zone-outer { background: #7a5c1e; }
.wv-demo-zone-miss { background: #23201b; }
.wv-demo-zone:nth-child(2) { animation-delay: 70ms; }
.wv-demo-zone:nth-child(3) { animation-delay: 140ms; }
.wv-demo-zone:nth-child(4) { animation-delay: 210ms; }

#wv-demo-dial.wv-demo-target-in .wv-band-2,
#wv-demo-dial.wv-demo-target-in .wv-band-3,
#wv-demo-dial.wv-demo-target-in .wv-band-4 {
  transform-origin: 200px 210px;
  animation: wv-demo-target-in 420ms cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes wv-demo-target-in {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes wv-zone-chip-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.wv-demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(100%, var(--wv-demo-width));
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  #wv-demo-dial.wv-demo-target-in .wv-band-2,
  #wv-demo-dial.wv-demo-target-in .wv-band-3,
  #wv-demo-dial.wv-demo-target-in .wv-band-4,
  .wv-demo-zone { animation: none; }
}

.wv-demo-nav .btn[disabled] { opacity: 0.4; pointer-events: none; }

.wv-demo-dots { display: flex; gap: 7px; }

.wv-demo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5a5347;
  display: inline-block;
}

.wv-demo-dot-active { background: var(--osrs-gold); }

/* ── Toast ── */
.wv-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.92);
  border: 2px solid var(--osrs-gold);
  color: var(--osrs-yellow);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'RuneScape Bold', Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 200;
}

.wv-toast.wv-toast-show { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .wv-game-layout { grid-template-columns: 1fr; }
  .wv-scoreboard { order: 2; }
  .wv-title { font-size: 44px; }
  .wv-clue-row { flex-direction: column; }
}
