/* Destruitor Idle — abas Quests, Arena e Bosses (aventuras.js), HUD da run e escolha do premio */
.av { display: flex; flex-direction: column; gap: 10px; }
.av h3 { margin: 4px 0 6px; font-size: 19px; color: #f3ead2; }
.av h4 { margin: 14px 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2, #e8c27a); }
.av p { margin: 4px 0; }
.av-ok { color: var(--ok) !important; }
.av-lock { color: #c9a27a !important; }
.av-top { display: flex; align-items: center; gap: 8px; }
.av-top b { font-size: 15px; color: #f3ead2; }
.g .av-q { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #3a4258; color: var(--dim); font-weight: 800; }
.g .av-q.on, .g .av-q:hover { border-color: var(--gold); color: var(--gold-2, #e8c27a); }
.av-ajuda { border: 1px solid #3a4258; border-radius: 8px; background: #141826; padding: 10px 12px; font-size: 13.5px; color: #c9cfdd; }
.av-ajuda ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.av-cols { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: 12px; align-items: start; }
.av-lista { display: flex; flex-direction: column; gap: 6px; }
.av-lista1 { display: flex; flex-direction: column; gap: 6px; }
.av-det { min-height: 200px; border: 1px solid #2c3346; border-radius: 8px; background: #121624; padding: 12px 14px; }
.av-vazio { text-align: center; padding: 60px 10px; }
.g .av-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; background: #151a29; border: 1px solid #2c3346; }
.g .av-row:hover, .g .av-row.on { border-color: var(--gold); }
.av-row > i { color: #6b7385; font-style: normal; font-size: 18px; }
.av-row.mis.lock { opacity: .7; }
.av-row.mis.ok .av-num { color: var(--ok); border-color: #24502e; }
.av-num { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 6px; border: 1px solid #6b5626; color: var(--gold-2, #e8c27a); font-weight: 800; font-family: Georgia, serif; }
.av-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.av-rt b { font-size: 14px; color: #e6ecff; }
.av-rt small { color: var(--dim); font-size: 12px; }
.av-rt em { font-style: normal; }
.av-pic { width: 44px; height: 44px; flex: none; border-radius: 6px; background: #0a0c13; border: 1px solid #2a3044; image-rendering: pixelated; }
.av-pic.sm { width: 36px; height: 36px; }
.av-pic.big { width: 88px; height: 88px; border-color: #6b5626; }
.av-desc { color: #c9cfdd; font-size: 13.5px; line-height: 1.5; }
.av-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.av-nums div { text-align: center; border: 1px solid #2c3346; border-radius: 6px; padding: 8px 4px; background: #0f1320; }
.av-nums b { display: block; font-size: 19px; color: #f3ead2; }
.av-nums span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.av-aviso { color: #ffcf8a; font-size: 13px; background: #2a2010; border: 1px solid #5a4520; border-radius: 6px; padding: 6px 10px; }
.av-motivo { color: #ffb4aa; font-size: 13px; text-align: right; }
.av-escada { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 10px; }
.av-escada li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #d6dbe7; }
.av-escada li em { font-style: normal; color: #6b7385; width: 18px; display: inline-block; text-align: right; margin-right: 4px; }
.av-escada li.fim span { color: var(--gold-2, #e8c27a); font-weight: 700; }
.av-mesa, .av-recs { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.av-slot { position: relative; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px 4px; border: 1px solid #2c3346; border-radius: 6px; background: #0f1320; text-align: center; }
.av-slot small { font-size: 10.5px; line-height: 1.2; color: #aeb5c4; }
.av-slot em { position: absolute; right: 4px; top: 30px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.av-slot.pego { border-color: var(--gold); box-shadow: inset 0 0 0 1px #6b5626; }
.av-slot.r1 { border-color: #2f4f7a; }
.av-slot.r2 { border-color: #6a3a8a; }
.av-slot.out { border-color: #6b5626; }
.av-it { width: 36px; height: 36px; image-rendering: pixelated; }
.av-it.big { width: 56px; height: 56px; }
.av-e1 { align-self: center; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); padding: 0 4px; }
.av-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.av-pend { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--gold); border-radius: 6px; background: #1d1a10; color: #f3ead2; font-size: 13.5px; }
.av-sec { border: 1px solid #2c3346; border-radius: 8px; background: #121624; padding: 10px 12px; }
.av-sec h4 { margin-top: 2px; }
.av-sech { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.av-sech span { display: flex; gap: 6px; }
.av-bhead { display: flex; gap: 14px; align-items: center; margin: 8px 0; }
.av-bhead > div { flex: 1; min-width: 0; }
.av-kick { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.av-bar { position: relative; height: 18px; border-radius: 9px; background: #0a0c13; border: 1px solid #2a3044; overflow: hidden; margin-top: 6px; }
.av-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #6b5626, #c8902e); }
.av-bar span { position: relative; display: block; text-align: center; font-size: 12px; line-height: 16px; color: #f3ead2; font-weight: 700; }
.av-fatos { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.av-fatos td { padding: 5px 8px; border-bottom: 1px solid #222838; }
.av-fatos td:first-child { color: var(--dim); width: 110px; }
.av-sala { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.av-salarow { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border: 1px solid #2c3346; border-radius: 6px; background: #151a29; font-size: 13px; margin-bottom: 4px; }
.av-salarow b { flex: 1; }
.av-salarow span { color: var(--dim); }
.g .av-chip { padding: 3px 8px; border-radius: 12px; border: 1px solid #3a4258; color: #cdd5e6; font-size: 12px; background: #151a29; }
.g .av-chip:hover { border-color: var(--gold); }
.av-inv { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; border: 1px solid #5a2a26; background: linear-gradient(90deg, #2a1410, #141826); }
.av-inv > div { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #e8d6cf; }
.av-inv b { color: #ffcf8a; }
.av-inv.fogo { animation: av-fogo 1.6s ease-in-out infinite; }
@keyframes av-fogo { 50% { box-shadow: 0 0 18px #c8502e66; border-color: #a0482a; } }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.g .av-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 8px; border: 1px solid #2c3346; background: #151a29; }
.g .av-card.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px #6b5626; }
.av-card b { font-size: 12.5px; text-align: center; }
.av-ord { position: absolute; left: 6px; top: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1d1606; font-style: normal; font-weight: 800; font-size: 12px; }
.av select { width: 100%; padding: 7px; }
.av-agora { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--gold); background: #1d1a10; font-size: 13.5px; }
.av-agora span { flex: 1; color: #c9cfdd; }

/* HUD da run: em cima, no meio */
.av-hud { position: fixed; z-index: 9; left: 50%; top: 58px; transform: translateX(-50%); min-width: 260px; max-width: calc(100vw - 24px); padding: 7px 16px 8px; border-radius: 0 0 10px 10px;
  background: linear-gradient(#1b1408f2, #120f0ae6); border: 1px solid #6b5626; border-top: 0; text-align: center; pointer-events: none; box-shadow: 0 6px 20px #0008; }
.av-hud-t { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2, #e8c27a); font-weight: 800; }
.av-hud-l { display: flex; gap: 8px; justify-content: center; align-items: baseline; flex-wrap: wrap; font-size: 14px; color: #f3ead2; }
.av-hud-l i { color: #6b5626; font-style: normal; }
.av-hud-l b { color: #fff; }
.av-k { color: #c9cfdd; }
.av-clock { font-variant-numeric: tabular-nums; font-weight: 800; color: #9fe0a8; }
.av-clock.pouco { color: #ff8a7a; }
.av-gate { color: #ffcf8a; font-weight: 700; }
.av-hud-s { font-size: 12px; color: var(--dim); }

/* escolha do premio (mesa do vencedor, bau da quest) */
.av-pick { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; }
.av-pick-bg { position: absolute; inset: 0; background: #000b; }
.av-pick-box { position: relative; width: min(560px, calc(100vw - 20px)); max-height: calc(100vh - 40px); overflow: auto; padding: 16px 18px; border-radius: 10px;
  border: 1px solid var(--gold); background: radial-gradient(circle at 50% 0, #2a2010, #10131d 70%); box-shadow: 0 20px 60px #000c; text-align: center; }
.av-pick-box h3 { margin: 0 0 4px; color: var(--gold-2, #e8c27a); font-family: Georgia, serif; font-size: 22px; }
.av-pick-box p { color: #d8dce6; margin: 4px 0 10px; }
.av-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.av-pick-it { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 8px; border: 1px solid #3a4258; background: #151a29; color: #e6ecff; font-size: 12.5px; cursor: pointer; }
.av-pick-it:hover { border-color: #8a6a2a; }
.av-pick-it.on { border-color: var(--gold); box-shadow: 0 0 0 2px #6b5626, 0 0 18px #c8902e55; background: #1d1a10; }
.av-pick .btn { border: 1px solid var(--line); background: var(--panel-2, #1d2130); color: var(--txt); }
.av-pick .btn.primary { background: var(--gold); border-color: var(--gold); color: #1d1606; }

@media (max-width: 760px) {
  .av-cols { grid-template-columns: 1fr; }
  .av-nums { grid-template-columns: repeat(2, 1fr); }
  .av-escada { grid-template-columns: 1fr; }
  .av-hud { top: 50px; min-width: 0; width: calc(100vw - 16px); }
}
