/* Wordle — 黑金奢華。6×5 字盤 + 螢幕鍵盤。correct=金、present=古銅、absent=暗灰。 */
.gv-wordle { display: flex; flex-direction: column; align-items: center; padding: 12px; }

/* ---- 大廳 ---- */
.wd-lobby { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 10px 0; }
.wd-lb-title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--gold-bright); letter-spacing: .08em; }
.wd-daily { font-size: .95rem; color: var(--gold); font-weight: 700; }
.wd-daily.out { color: var(--muted); }
.wd-start { min-width: 160px; }
.wd-note { font-size: .82rem; color: var(--muted); text-align: center; line-height: 1.7; max-width: 360px; }

/* ---- 對局 ---- */
.wd-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 400px; }
.wd-board { display: flex; flex-direction: column; gap: 6px; }
.wd-row { display: flex; gap: 6px; }
.wd-tile {
  width: clamp(44px, 13vw, 58px); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: clamp(1.4rem, 5.5vw, 2rem); font-weight: 800;
  color: var(--ink); text-transform: uppercase;
  border: 2px solid var(--line); border-radius: 6px; background: transparent;
  transition: transform .12s;
}
.wd-tile.filled { border-color: var(--gold-deep); animation: wdPop .12s ease; }
.wd-tile.rev { color: #14100a; border: none; }
.wd-tile.correct { background: var(--grad-gold); border: none; box-shadow: var(--glow-gold); }
.wd-tile.present { background: linear-gradient(145deg, #9a7b23, #6f5417); color: #efe3c0; }
.wd-tile.absent { background: #2b2823; color: #6f6a60; }
@keyframes wdPop { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }

.wd-banner { font-weight: 800; font-size: 1.1rem; padding: 6px 16px; border-radius: 10px; letter-spacing: .04em; }
.wd-banner.win { color: #14100a; background: var(--grad-gold); }
.wd-banner.lose { color: var(--red); border: 1px solid var(--red); }

/* ---- 鍵盤 ---- */
.wd-kb { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.wd-krow { display: flex; gap: 5px; justify-content: center; }
.wd-key {
  flex: 1; min-width: 0; max-width: 42px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--gold-bright);
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px; cursor: pointer;
  transition: transform .08s, background .1s, border-color .1s; user-select: none;
}
.wd-key:hover { border-color: var(--gold); }
.wd-key:active { transform: translateY(1px); }
.wd-key-wide { flex: 1.6; max-width: 62px; font-size: .8rem; }
.wd-key.correct { background: var(--grad-gold); color: #14100a; border: none; }
.wd-key.present { background: linear-gradient(145deg, #9a7b23, #6f5417); color: #efe3c0; border: none; }
.wd-key.absent { background: #211f1b; color: #57534b; border-color: transparent; }

.wd-acts { display: flex; gap: 10px; }
