/* SharpLab HQ — Valorant Agent Guess page.
   Builds on hqstyle.css (shared vars/header/nav/.btn/.card). Only page-specific styling here. */

/* ── Page intro ── */
.val-head { margin: 4px 0 20px; text-align: center; }
.val-head h1 { font-size: 26px; margin: 0 0 4px; }
.val-head p { color: var(--muted); margin: 0; font-size: 14px; }

.balancechip {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 10px;
  font-size: 13px; font-weight: 700; color: var(--gold);
  background: var(--panel2); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 3px 11px; vertical-align: middle;
}

/* ── Game card ── */
.val-wrap { max-width: 480px; margin: 0 auto; }
.vcard { display: flex; flex-direction: column; gap: var(--s-4); align-items: stretch; text-align: center; }

.vphint {
  align-self: center;
  font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--accent2);
  background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 3px 12px; font-weight: 700;
}

/* ── Clues panel ── */
.vclues { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; }
.vclue {
  background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 13px;
}
.vcluelabel {
  font-size: 10px; text-transform: uppercase; letter-spacing: .6px;
  color: var(--accent); font-weight: 700; margin-bottom: 3px;
}
.vcluetext { font-size: 14px; line-height: 1.5; color: var(--fg); }
.vclue.fresh { animation: v-clue-in .35s ease both; }
@keyframes v-clue-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Result panel (name + reward) ── */
.vresult { min-height: 8px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.vname { font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.vname.win { color: var(--green, #63bb5b); }
.vname.lose { color: var(--red); }
.vreward { font-size: 15px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.vgiveup { font-size: 12px; color: var(--muted); }

/* ── Guess input ── */
.vguessrow { display: flex; gap: 8px; width: 100%; }
.vguess {
  flex: 1; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--fg);
  background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 14px; text-align: center;
}
.vguess:focus { outline: none; border-color: var(--accent); }
.vguess:disabled { opacity: .5; }
.vguess.shake { animation: v-shake .4s ease; border-color: var(--red); }
@keyframes v-shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(4px); }
}

/* ── Buttons ── */
.vrevealbtn { align-self: center; font-size: 13px; padding: 7px 14px; }
.vrevealbtn:disabled { opacity: .45; }
.vbtns { display: flex; gap: 8px; width: 100%; justify-content: center; flex-wrap: wrap; }
.vbtns .btn { flex: 1; min-width: 120px; text-align: center; }
.btn.big { font-size: 16px; padding: 12px 18px; }

.vhintmsg { font-size: 13px; min-height: 18px; font-weight: 600; }
.vhintmsg.wrong { color: var(--red); }
.vhintmsg.idle { color: var(--muted); font-weight: 400; }

.vcounter { font-size: 12px; color: var(--muted); }
.vcounter b { color: var(--fg); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .vclue.fresh { animation: none; }
  .vguess.shake { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Copied verbatim from pokemon.css / cards.css so the coins hub + toasts are
   styled on this page too.
   ═══════════════════════════════════════════════════════════════════════════ */
.coinschip { font-weight: 700; color: var(--gold); background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 13px; white-space: nowrap; cursor: pointer; transition: border-color .15s, transform .15s; }
.coinschip:hover { border-color: var(--gold); transform: translateY(-1px); }

/* Coins hub modal */
.hubov { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; background: rgba(5,7,11,.6); backdrop-filter: blur(3px); animation: cd-scrim-in .18s ease both; }
@keyframes cd-scrim-in { from { opacity: 0; } to { opacity: 1; } }
.hubcard { width: min(460px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 20px; box-shadow: 0 24px 60px -20px #000; }
.hubhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hubhead h3 { margin: 0; font-size: 17px; }
.hubx { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: 8px; }
.hubx:hover { color: var(--fg); background: var(--panel2); }
.hubrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.hubrow:first-of-type { border-top: 0; }
.hubicon { font-size: 20px; width: 30px; text-align: center; flex: 0 0 auto; }
.hubt { font-weight: 700; font-size: 14px; }
.hubd { color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.hubfoot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: right; }
.hubfoot b { color: var(--gold); }

.cardtoast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 300;
  background: var(--panel2); color: var(--fg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 18px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
