/* Hive Mind — game-specific styles on the Buttonberry design system. */

:root { --accent: #d97706; --warm: #b45309; }

.prompt-card { text-align: center; }
.prompt-card .prompt { font-family: var(--serif); font-size: 25px; line-height: 1.3; margin: 8px 0 14px; }

.answer-row { display: flex; gap: 10px; }
.answer-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
#feedback.warning { color: var(--bad); font-weight: 600; }

.locked {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius-sm);
  padding: 13px 16px; margin-top: 4px;
  font-size: 14.5px; font-weight: 600;
}
.locked .ans { letter-spacing: .1em; }

/* ---------- result card ---------- */

.result-you { text-align: center; padding: 6px 0 14px; }
.result-you .said { font-size: 13px; color: var(--muted); }
.result-you .word { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: .05em; margin: 4px 0 10px; overflow-wrap: anywhere; }

.bars { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }
.barrow { display: grid; grid-template-columns: minmax(72px, 110px) 1fr 44px; align-items: center; gap: 10px; font-size: 13.5px; }
.barrow .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barrow .track { display: block; height: 20px; border-radius: 6px; background: var(--subtle); border: 1px solid var(--border); overflow: hidden; }
.barrow .fill { display: block; height: 100%; border-radius: 5px; background: color-mix(in srgb, var(--accent) 38%, var(--surface)); }
.barrow.you .fill { background: var(--accent); }
.barrow .pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.barrow.you .pct { color: var(--accent); font-weight: 700; }
.youtag {
  font-size: 9.5px; font-weight: 800; color: #fff; background: var(--accent);
  border-radius: 4px; padding: 1.5px 5px; margin-left: 5px; vertical-align: 1px;
}

.region-note { font-size: 13px; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ---------- achievements list ---------- */

.ach-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ach-row { display: flex; align-items: center; gap: 11px; font-size: 13.5px; }
.ach-row .ach-icon {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px;
  background: var(--subtle); border: 1.5px solid var(--warm);
}
.ach-row.locked .ach-icon { border-color: var(--border); filter: grayscale(1); opacity: .5; }
.ach-row.locked { color: var(--muted); }
.ach-row .ach-name { font-weight: 600; }
.ach-row .ach-desc { color: var(--muted); font-size: 12.5px; }
