@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --w-cream: #F5F1E8;
  --w-cream-dark: #E8E4DB;
  --w-mint: #A8D5D8;
  --w-pink: #E8A8C8;
  --w-peach: #F5B895;
  --w-yellow: #F5D895;
  --w-charcoal: #2D2D2D;
  --w-white: #FFFFFF;
}

/* =========================================================
   Page background
   ========================================================= */

body:has(.whisper-play),
body:has(.whisper-config),
body:has(.whisper-landing) {
  background-color: #E0DBD0;
  overflow-x: hidden;
}

/* =========================================================
   Base
   ========================================================= */

.whisper-play,
.whisper-config,
.whisper-landing {
  font-family: 'DM Sans', sans-serif;
}

/* =========================================================
   Config / Join page
   ========================================================= */

.whisper-config {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px;
}

.whisper-config__header {
  text-align: center;
  margin-bottom: 2rem;
}

.whisper-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--w-charcoal);
}

.whisper-logo span {
  display: inline-block;
  background: var(--w-yellow);
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: 8px;
  font-size: 0.9rem;
}

.whisper-config__desc {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.whisper-config__info {
  color: #999;
  font-size: 0.8rem;
}

/* =========================================================
   Alert banner
   ========================================================= */

.walert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 10;
}

.walert--warning {
  background: #FFF3CD;
  color: #7A5C00;
  border-bottom: 2px solid #FFDA6A;
}

.walert-icon {
  flex-shrink: 0;
}

.walert-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

.walert-close:hover {
  opacity: 1;
}

/* =========================================================
   Landing / Create page
   ========================================================= */

.whisper-landing {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.wlanding-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.wlanding-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--w-mint) 0%, transparent 70%);
  opacity: 0.55;
  animation: wfloat 20s ease-in-out infinite;
}

.wlanding-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--w-pink) 0%, transparent 70%);
  opacity: 0.45;
  animation: wfloat 25s ease-in-out infinite reverse;
}

@keyframes wfloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.whero-visual {
  position: relative;
  width: 100%;
  z-index: 1;
  flex-shrink: 0;
}

.whero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.wfloating-card {
  position: absolute;
  background: var(--w-white);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.wfloating-card--1 {
  top: 20px;
  right: 48px;
  animation: wfloat-card 6s ease-in-out infinite;
}

.wfloating-card--2 {
  bottom: 24px;
  left: 48px;
  animation: wfloat-card 6s ease-in-out infinite 3s;
}

@keyframes wfloat-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.wfloating-player {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.wavatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w-mint) 0%, var(--w-pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--w-white);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.wavatar--warm {
  background: linear-gradient(135deg, var(--w-peach) 0%, var(--w-yellow) 100%);
}

.wlanding-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.wlanding-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.wlanding-title span {
  display: block;
  background: linear-gradient(135deg, #8BC5C8 0%, #D895B8 50%, #F5B895 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wlanding-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 420px;
}

.wlanding-examples-label {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 14px;
  line-height: 1.5;
}

.wexamples-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wexample-card {
  background: var(--w-white);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 2px solid transparent;
  transition: all 0.25s;
}

.wexample-card:hover {
  transform: translateY(-3px);
  border-color: var(--w-mint);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.wexample-card--warm {
  background: linear-gradient(135deg, var(--w-yellow) 0%, var(--w-peach) 100%);
}

.wexample-alias {
  display: inline-block;
  padding: 8px 16px;
  background: var(--w-white);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  align-self: center;
}

.wexample-game {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
}

.wexample-word {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--w-charcoal);
}

.wexample-hint {
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
}

.wlanding-form-wrap .whisper-form {
  padding: 2rem;
}

.wlanding-info {
  font-size: 0.78rem;
  color: #bbb;
  text-align: center;
}


@media (max-width: 900px) {
  .wlanding-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 24px;
  }
  .wlanding-text {
    text-align: center;
  }
  .wlanding-desc {
    max-width: 100%;
  }
  .wexamples-grid {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .wexamples-grid {
    flex-direction: column;
  }
  .wexample-card {
    width: 100%;
  }
}

/* Card */

.wcard {
  background: var(--w-white);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Form */

.whisper-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.wform-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wform-field label {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.whisper-config input[type="text"],
.whisper-form input[type="text"] {
  padding: 14px 18px;
  border: 2px solid var(--w-cream-dark);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--w-cream);
  width: 100%;
  box-sizing: border-box;
}

.whisper-config input[type="text"]:focus,
.whisper-form input[type="text"]:focus {
  border-color: var(--w-mint);
  background: var(--w-white);
  outline: none;
}

/* Mode toggle */

.wmode-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.wmode-legend {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 0.5rem;
}

.wmode-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wmode-toggle__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
}

.wmode-toggle__option:has(input:checked) {
  background: var(--w-mint);
  border-color: var(--w-charcoal);
}

/* Buttons */

.wbtn {
  flex: 1;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.wbtn--primary {
  background: var(--w-charcoal);
  color: white;
}

.wbtn--primary:hover {
  background: var(--w-peach);
  color: var(--w-charcoal);
  transform: translateY(-2px);
}

.wbtn--secondary {
  background: var(--w-cream);
  color: var(--w-charcoal);
}

.wbtn--secondary:hover {
  background: var(--w-cream-dark);
}

.wbtn--surprise {
  background: var(--w-yellow);
  color: var(--w-charcoal);
}

.wbtn--surprise:hover {
  background: var(--w-peach);
  transform: translateY(-2px);
}

.wbtn--surprise:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wbtn--full {
  width: 100%;
}

/* =========================================================
   Play page — 2-column grid layout
   ========================================================= */


.page-container {
    display: block;
}

.whisper-play {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 48px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
  font-family: 'DM Sans', sans-serif;
}

.wplay-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wplay-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 900px) {
  .whisper-play {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
  }
  .wplay-main,
  .wplay-sidebar {
    display: contents;
  }
  #action-area      { order: 1; width: 100%; box-sizing: border-box; }
  .wplayers-card    { order: 2; width: 100%; box-sizing: border-box; }
  .whistory-card    { order: 3; width: 100%; box-sizing: border-box; }
  .winvite-card     { order: 4; width: 100%; box-sizing: border-box; }
  .wwhisper-btn     { width: 100%; justify-content: center; padding: 20px 32px; }
  .waction-content  { padding: 32px 24px; }
  .wword-section    { padding: 32px 24px; max-width: 100%; }
  .wword-value      { font-size: 2.5rem; }
}

/* Card header / body */

.wcard-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--w-cream-dark);
}

.wcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--w-mint);
  flex-shrink: 0;
}

.wcard-icon--yellow {
  background: var(--w-yellow);
}

.wcard-icon--peach {
  background: var(--w-peach);
}

.wcard-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--w-charcoal);
}

.wcard-body {
  padding: 24px;
}

/* =========================================================
   Invite card (sidebar)
   ========================================================= */

.wqr-section {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.wqr-box {
  width: 140px;
  height: 140px;
  background: var(--w-cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.wshare-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 2px solid var(--w-cream-dark);
  border-radius: 12px;
  background: var(--w-cream);
  font-weight: 500;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--w-charcoal);
}

.wcopy-btn {
  padding: 12px 16px;
  background: var(--w-charcoal);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.wcopy-btn:hover {
  background: var(--w-peach);
  color: var(--w-charcoal);
  transform: translateY(-2px);
}

/* =========================================================
   Players card (sidebar)
   ========================================================= */

.wplayers-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wplayer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--w-cream);
  border-radius: 14px;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.wplayer-item:hover {
  border-color: var(--w-mint);
}

.wplayer-item--active {
  background: var(--w-mint);
  border-color: var(--w-charcoal);
}

.wplayer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--w-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--w-charcoal);
  flex-shrink: 0;
}

.wplayer-info {
  flex: 1;
  min-width: 0;
}

.wplayer-name {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wplayer-status {
  font-size: 0.75rem;
  color: #666;
}

.wplayer-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--w-charcoal);
  margin-left: auto;
}

/* =========================================================
   Action block
   ========================================================= */

.waction-block {
  border-radius: 24px;
  background: linear-gradient(135deg, var(--w-mint) 0%, var(--w-pink) 50%, var(--w-peach) 100%);
  position: relative;
  overflow: hidden;
}

.waction-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  opacity: 0.5;
  border-radius: 24px;
}

.waction-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.wword-section {
  background: var(--w-white);
  padding: 40px 60px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.wword-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666;
  margin-bottom: 12px;
  font-weight: 600;
}

.wword-value {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--w-charcoal);
  word-break: break-word;
}

.wround-timer {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w-charcoal);
  opacity: 0.5;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.wbtn--new-game {
  font-size: 0.9rem;
  opacity: 0.75;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-top: 12px;
}

.wwhisper-btn {
  padding: 24px 64px;
  background: var(--w-charcoal);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.wwhisper-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: var(--w-white);
  color: var(--w-charcoal);
}

.wstatus-text {
  color: rgba(45, 45, 45, 0.7);
  font-style: italic;
  text-align: center;
}

.wadvance-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.wconfirm-msg {
  color: var(--w-white);
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  text-align: center;
}

.wadvance-row--card {
  margin-top: 12px;
}

.wadvance-row--card .wconfirm-msg {
  color: var(--w-charcoal);
}

.wadvance-row--card .wbtn {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.wbtn--sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* =========================================================
   History
   ========================================================= */

.whistory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .whistory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .whistory-grid {
    grid-template-columns: 1fr;
  }
}

.whistory-item {
  background: var(--w-cream);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s;
  border-left: 4px solid var(--w-mint);
}

.whistory-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.whistory-item--failed {
  border-left-color: var(--w-pink);
}

.whistory-word {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--w-charcoal);
}

.whistory-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
}

.whistory-guesser {
  font-weight: 600;
  color: var(--w-charcoal);
}

.wno-history {
  color: #666;
  font-style: italic;
}

/* =========================================================
   Modal
   ========================================================= */

.wmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 45, 45, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wmodal-overlay[hidden] {
  display: none;
}

.wmodal {
  background: var(--w-white);
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.3s ease-out;
}

.wmodal--compact {
  max-width: 400px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wmodal-header {
  background: linear-gradient(135deg, var(--w-mint), var(--w-pink));
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 24px 24px 0 0;
}

.wmodal-header--warm {
  background: linear-gradient(135deg, var(--w-yellow), var(--w-peach));
}

.wmodal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--w-charcoal);
}

.wmodal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--w-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}

.wmodal-close:hover {
  background: var(--w-charcoal);
  color: var(--w-white);
  transform: rotate(90deg);
}

.wmodal-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wmodal-msg {
  font-size: 1rem;
  color: #555;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.winput-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wtext-input {
  padding: 18px 20px;
  border: 2px solid var(--w-cream-dark);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1.1rem;
  background: var(--w-cream);
  width: 100%;
  box-sizing: border-box;
}

.wtext-input:focus {
  border-color: var(--w-mint);
  background: var(--w-white);
  outline: none;
}

.wplayers-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wplayer-select-btn {
  padding: 16px 12px;
  background: var(--w-cream);
  border: 2px solid transparent;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wplayer-select-btn:hover {
  background: var(--w-mint);
  transform: translateY(-2px);
}

.wplayer-select-btn.selected {
  background: var(--w-charcoal);
  color: var(--w-white);
  border-color: var(--w-charcoal);
}

.wmodal-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.wmodal-actions .wbtn {
  flex: 1;
  min-width: 100px;
  padding: 10px 16px;
  font-size: 0.9rem;
  justify-content: center;
}

.wor-divider {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin-top: 8px;
}

.wbtn--surprise-inline {
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  justify-content: center;
}

/* =========================================================
   Guess input area
   ========================================================= */

.wguess-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  align-self: center;
}

.wguess-input-row {
  display: flex;
  gap: 0.5rem;
}

.wguess-feedback {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
}

.wguess-feedback--correct {
  background: #d1fae5;
  color: #065f46;
}

.wguess-feedback--wrong {
  background: #fee2e2;
  color: #991b1b;
}

/* Lock In / Pending state (typed mode guesser) */
.wguess-lockin-row {
  margin-top: 10px;
}

.wguess-pending-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--w-cream);
  border-radius: 16px;
  text-align: center;
}

.wguess-pending-answer {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--w-charcoal);
}

.wguess-pending-label {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
}

/* Pending review section (whisperer/explainer) */
.wpending-section {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.wpending-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.wpending-item {
  background: var(--w-white);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-left: 4px solid var(--w-yellow);
}

.wpending-who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.wpending-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--w-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--w-charcoal);
  flex-shrink: 0;
}

.wpending-answer {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--w-charcoal);
}

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