/* Tank History Quiz (plain DOM: HUD row, timer bar, question card with 4 answers or 4 tank pictures, fact panel, result) */
.thq-blurb { margin: 4px 0 2px; font-size: 14px; opacity: .85; }
.thq-help { margin-top: 14px; }
.thq-wrap { width: 100%; max-width: 760px; margin: 0 auto; align-self: stretch; box-sizing: border-box; }
.thq-hud { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 800 15px system-ui, sans-serif; }
.thq-prog { flex: 1; min-width: 0; }
.thq-score { color: #fde047; white-space: nowrap; }
.thq-tb { display: flex; gap: 6px; flex-shrink: 0; }
.thq-tb button { background: rgba(15,23,42,.7); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 6px 10px; font: 700 14px system-ui, sans-serif; cursor: pointer; }
.thq-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; margin-bottom: 10px; }
.thq-bar i { display: block; height: 100%; width: 100%; background: #4dd9e2; border-radius: 4px; transition: background .2s; }
.thq-bar i.is-low { background: #f87171; }
.thq-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; }
.thq-era { margin: 0 0 6px; font-size: 13px; font-weight: 700; opacity: .7; text-transform: uppercase; letter-spacing: .04em; }
.thq-q { margin: 0 0 14px; font-size: 21px; line-height: 1.3; }
.thq-ans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.thq-a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px 10px 12px; border-radius: 14px; border: 2px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: inherit; font: 700 16px system-ui, sans-serif; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.thq-a:hover:not(:disabled) { border-color: rgba(103,232,249,.75); background: rgba(103,232,249,.08); }
.thq-a:active:not(:disabled) { transform: scale(.98); }
.thq-a:focus-visible { outline: 3px solid #67e8f9; outline-offset: 2px; }
.thq-a:disabled { cursor: default; }
.thq-a kbd { flex-shrink: 0; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,.12); font: 800 12px system-ui, sans-serif; }
.thq-a.is-right { border-color: #4ade80; background: rgba(74,222,128,.16); }
.thq-a.is-wrong { border-color: #f87171; background: rgba(248,113,113,.14); }
.thq-a:disabled:not(.is-right):not(.is-wrong) { opacity: .55; }
.thq-ans--pic .thq-a { flex-direction: column; align-items: stretch; gap: 4px; padding: 8px; text-align: center; }
.thq-ans--pic .thq-a kbd { position: absolute; left: 8px; top: 8px; }
.thq-ans--pic svg { display: block; width: 100%; height: auto; max-height: 120px; }
.thq-nm { min-height: 18px; font-size: 13px; }
.thq-fact { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(15,23,42,.55); border: 1px solid rgba(255,255,255,.1); }
.thq-verdict { margin: 0 0 6px; font-size: 17px; }
.thq-f { margin: 0 0 12px; line-height: 1.5; }
.thq-next { min-height: 46px; }
.thq-res { text-align: center; }
.thq-res h3 { margin: 4px 0 6px; font-size: 26px; }
.thq-stars { font-size: 36px; letter-spacing: 4px; margin-bottom: 6px; }
.thq-tip { opacity: .8; font-size: 14px; }
.thq-miss { text-align: left; margin: 12px auto; max-width: 560px; background: rgba(15,23,42,.5); border-radius: 12px; padding: 10px 14px; }
.thq-miss summary { cursor: pointer; font-weight: 700; }
.thq-miss li { margin: 8px 0; line-height: 1.4; }
.thq-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
@media (max-width: 560px) {
  .thq-hud { font-size: 13px; gap: 6px; }
  .thq-tb button { padding: 6px 8px; }
  .thq-card { padding: 14px 12px; }
  .thq-q { font-size: 18px; }
  .thq-ans { grid-template-columns: 1fr; gap: 8px; }
  .thq-ans--pic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thq-a { min-height: 50px; font-size: 15px; }
}
@media (pointer: coarse) { .thq-a kbd { display: none; } }
