/* MU RAVE 99z: cores do Rave (guild_secreto_rave.py) */
/* MU RAVE 99z · Arena: base da página (tokens no visual do site, ícones, trilha e celular).
   Os nomes dos tokens são os mesmos da Arena do Classic; os valores são os do MU RAVE 99z (arq/style.css). */
:root {
  --gold: #e6b84f; --gold-hi: #ffe6a8;
  --tx-1: #fcf8ed; --tx-2: #f5e8c8; --tx-3: #b5a57f; --tx-4: #796e5b;
  --line: rgba(230, 184, 79, .18); --line-soft: rgba(230, 184, 79, .08);
  --panel: linear-gradient(180deg, #1f1911, #14100b);
  --ok: #2fd08a; --red-hi: #ff2255;
  --f-display: var(--f-title); --f-body: var(--f-ui); --f-cond: var(--f-title);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.gn-wrap { width: 960px; margin: 0 auto; }
.gn-ar { padding: 20px 0 34px; color: var(--tx-2); font-family: var(--f-body); }
.gn-ar *, .gn-ar *::before, .gn-ar *::after { box-sizing: border-box; }
:where(.gn-ar) a { font-family: inherit; font-size: inherit; font-weight: inherit; }
.gn-ar h1, .gn-ar h2, .gn-ar h3 { width: auto; padding: 0; text-shadow: none; }
.gn-ar h1, .gn-ar .ar-sec-h h2, .gn-ar .ar-acao h2, .gn-ar .am-top h2, .gn-ar .ar-m-h h3, .gn-ar .ar-card h3 { text-transform: uppercase; letter-spacing: .06em; }
.i { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: middle; }
.i-sm { width: 13px; height: 13px; }
.i-lg { width: 20px; height: 20px; }
.gn-ar .crumbs { display: flex; align-items: center; gap: 6px; font: 600 11px var(--f-mono); letter-spacing: 1px; color: var(--tx-4); }
.gn-ar .crumbs a { color: var(--tx-3); text-decoration: none; }
.gn-ar .crumbs a:hover { color: var(--gx-ab); }
.gn-ar .ar-head h1 { font-size: 30px; color: #fff; text-shadow: 0 0 18px rgba(230, 184, 79, .35); }
.gn-ar .ar-sec, .gn-ar .ev-pn, .gn-ar .ar-card, .gn-ar .ar-acao, .gn-ar .ev-hero, .gn-ar .ev-stage { box-shadow: var(--gx-frame-soft); }
.gn-ar .ar-go:focus-visible, .gn-ar .ar-btn:focus-visible, .gn-ar .ev-tab:focus-visible, .gn-ar .ch-rod:focus-visible, .gn-ar .ps-fil button:focus-visible,
.gn-ar .ch-modo button:focus-visible, .gn-ar .am-it:focus-visible, .gn-ar .ev-sh:focus-visible, .gn-ar .ar-card:focus-visible { outline: 2px solid var(--gx-ab); outline-offset: 2px; }
.gn-ar input, .gn-ar select, .gn-ar textarea { font-family: var(--f-body); }
.gn-ar input[type="datetime-local"] { color-scheme: dark; }

@media (max-width: 980px) {
  html, body { min-width: 0 !important; }
  .gn-wrap { width: auto; padding: 0 12px; }
  .gn-wrap nav.main-nav, .gn-wrap .hero { width: auto; box-sizing: border-box; }
  .gn-wrap nav.main-nav div { max-width: 100%; }
  .gn-wrap .main-nav > div { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gn-wrap .hero { flex-wrap: wrap; gap: 10px; padding-left: 14px; padding-right: 14px; }
  .gn-wrap .hero-title { font-size: 34px; }
  .gn-wrap .hero-sub { white-space: normal; }
  .gn-wrap ~ footer { width: auto; height: auto; line-height: 1.5; padding: 24px 12px; }
}
@media (max-width: 620px) {
  .gn-wrap .hero-tags { display: none; }
}
/* tabela de inscritos do moderador: rola de lado no celular em vez de cortar os botões */
.gn-ar .am-t { max-width: 100%; }
.gn-ar details { min-width: 0; max-width: 100%; }
@media (max-width: 620px) {
  .gn-ar .am-t { font-size: 12.5px; }
  .gn-ar .am-t th, .gn-ar .am-t td { padding: 6px 4px; }
  .gn-ar .am-t .ar-btn { padding: 0 7px; font-size: 12px; }
  .gn-ar .ar-sec { padding: 14px 10px; }
}
@media (max-width: 440px) {
  /* inscritos no celular: some a coluna Resets para os botões caberem */
  .gn-ar .am-ins th:nth-child(4), .gn-ar .am-ins td:nth-child(4) { display: none; }
}

/* chamada, faltas e ranking de participação */
.gn-ar .am-cham { box-shadow: inset 3px 0 0 var(--c-accent2), var(--gx-frame-soft); }
.gn-ar .am-cham.pronta { box-shadow: inset 3px 0 0 var(--red-hi), var(--gx-frame-soft); }
.gn-ar .am-cham p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--tx-2); }
.gn-ar .am-cham b { color: #fff; }
.gn-ar .js-tol { font: 700 16px var(--f-title); color: var(--c-accent2); }
.gn-ar .am-falta { display: inline-block; margin-left: 4px; padding: 1px 5px; font: 700 10.5px var(--f-mono); color: #ffb3c3; box-shadow: inset 0 0 0 1px rgba(255, 34, 85, .45); }
.gn-ar .ar-cham { box-shadow: inset 3px 0 0 var(--c-accent2), var(--gx-frame-soft); }
.gn-ar .ar-cham .ev-cd-l { justify-content: flex-start; }
.gn-ar .ar-rank { margin-top: 6px; }
.gn-ar .ar-rk { width: 100%; border-collapse: collapse; font-size: 14px; }
.gn-ar .ar-rk th { padding: 6px 8px; text-align: left; font: 600 11px var(--f-mono); letter-spacing: 1px; color: var(--tx-4); }
.gn-ar .ar-rk td { padding: 8px; border-top: 1px solid var(--line-soft); color: var(--tx-2); }
.gn-ar .ar-rk td:first-child { width: 34px; font: 700 14px var(--f-title); color: var(--tx-3); }
.gn-ar .ar-rk td:last-child, .gn-ar .ar-rk th:last-child { text-align: right; font: 800 16px var(--f-title); color: var(--gold-hi); }
.gn-ar .ar-rk th:last-child { font: 600 11px var(--f-mono); color: var(--tx-4); }
.gn-ar .ar-rk td b { display: block; color: var(--tx-1); }
.gn-ar .ar-rk td small { font-size: 12px; color: var(--tx-3); }
.gn-ar .ar-rk tr.top td:first-child { color: var(--c-accent2); }
.gn-ar .ar-rk tr.neg td:last-child { color: #ff8fa8; }
@media (max-width: 440px) { .gn-ar .ar-rk th:nth-child(4), .gn-ar .ar-rk td:nth-child(4) { display: none; } }

/* v5: times, palco ao vivo, tela cheia */
.gn-ar .ft-time { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.gn-ar .ft-time .ft-m { position: relative; display: block; flex: 1 1 0; min-width: 0; height: 100%; margin: 0 -7%; }
.gn-ar .ft-time .ft-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.3); transform-origin: 50% 64%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .7)); }
.gn-ar .ft-time .ft-m img.cls { inset: 18% 10%; width: 80%; height: 64%; object-fit: cover; transform: none; opacity: .9; }
.gn-ar .ft-time .ft-m:nth-child(2n) { z-index: 1; transform: translateY(-4%); }
.gn-ar .ft-time.n4 .ft-m, .gn-ar .ft-time.n5 .ft-m { margin: 0 -10%; }
.gn-ar .st-f.a .ft-time .ft-m img:not(.cls) { transform: scale(-1.3, 1.3); }
.gn-ar .st-f.time .st-pic img:not(.cls) { transform: scale(1.3); }
.gn-ar .st-f.a.time .st-pic img:not(.cls) { transform: scale(-1.3, 1.3); }
.gn-ar .st-f.time .st-pic { max-width: 380px; }
.gn-ar .st-f.time .st-cl { max-width: 100%; white-space: normal; line-height: 1.4; }
.gn-ar .st-pic.grande.ft-time { width: 300px; max-width: 100%; }
.gn-ar .st-top { position: relative; z-index: 2; }
.gn-ar .st-pic img { pointer-events: none; }
.gn-ar .st-top .st-tela { margin-left: 4px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; cursor: pointer; font: 600 12.5px var(--f-body); color: var(--tx-2); background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .14); }
.gn-ar .st-top .st-tela:hover { color: #fff; border-color: var(--gx-ab, #e6b84f); }
.gn-ar .st-top .st-tela:focus-visible { outline: 2px solid var(--gx-ab, #e6b84f); outline-offset: 2px; }
.gn-ar .st-venceu { margin: 12px 0 0; text-align: center; font: 900 30px/1.1 var(--f-display); color: #fff; text-shadow: 0 0 24px rgba(255, 122, 51, .55); overflow-wrap: anywhere; animation: stVence .9s var(--ease); }
.gn-ar .st-depois { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--tx-3); }
.gn-ar .st-depois span { font: 700 12px var(--f-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--tx-4); }
.gn-ar .st-depois b { color: var(--tx-1); }
.gn-ar .st-depois em { font-style: normal; color: var(--gold); }
.gn-ar .st-depois small { font-size: 12.5px; color: var(--tx-4); }

.gn-ar .js-ev-corpo:fullscreen { overflow: auto; padding: 3vh 4vw; background: radial-gradient(70% 60% at 50% 40%, #292116, #080705 80%); }
.gn-ar .js-ev-corpo:-webkit-full-screen { overflow: auto; padding: 3vh 4vw; background: radial-gradient(70% 60% at 50% 40%, #292116, #080705 80%); }
.gn-ar .js-ev-corpo:fullscreen .ev-grid, .gn-ar .js-ev-corpo:fullscreen .ev-hero { display: none; }
.gn-ar .js-ev-corpo:-webkit-full-screen .ev-grid, .gn-ar .js-ev-corpo:-webkit-full-screen .ev-hero { display: none; }
.gn-ar .js-ev-corpo:fullscreen .ev-stage { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 3vh 3vw; }
.gn-ar .js-ev-corpo:-webkit-full-screen .ev-stage { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 3vh 3vw; }
.gn-ar .js-ev-corpo:fullscreen .st-pic { max-width: 46vh; height: 52vh; }
.gn-ar .js-ev-corpo:fullscreen .st-f.time .st-pic { max-width: 60vh; }
.gn-ar .js-ev-corpo:fullscreen .st-nm { font-size: 5vh; }
.gn-ar .js-ev-corpo:fullscreen .st-cl, .gn-ar .js-ev-corpo:fullscreen .st-depois { font-size: 2.2vh; }
.gn-ar .js-ev-corpo:fullscreen .st-x { font-size: 12vh; }
.gn-ar .js-ev-corpo:fullscreen .st-rod, .gn-ar .js-ev-corpo:fullscreen .st-tag { font-size: 2.6vh; height: auto; padding: .4vh 1.2vh; }
.gn-ar .js-ev-corpo:fullscreen .st-venceu { font-size: 7vh; }
.gn-ar .js-ev-corpo:fullscreen .st-camp { grid-template-columns: 50vh auto; }
.gn-ar .js-ev-corpo:fullscreen .st-pic.grande { max-width: 50vh; width: 50vh; height: 60vh; }
.gn-ar .js-ev-corpo:fullscreen .st-camp h2 { font-size: 9vh; }

.gn-ar .ar-times { display: grid; gap: 14px; }
.gn-ar .ar-time { padding: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.gn-ar .ar-time > header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.gn-ar .ar-time > header b { font: 800 18px var(--f-display); color: var(--tx-1); overflow-wrap: anywhere; }
.gn-ar .ar-time > header small { font-size: 12.5px; color: var(--tx-3); white-space: nowrap; }
.gn-ar .ar-time.camp { border-color: rgba(243, 221, 171, .6); box-shadow: 0 0 30px -14px rgba(230, 184, 79, .8); }
.gn-ar .ar-time.camp > header small { color: var(--gold-hi); font-weight: 700; }
.gn-ar .ar-time.fora { opacity: .55; }
.gn-ar .ar-time.fora .ar-p-img { filter: grayscale(.8); }

.gn-ar .am-vivo { box-shadow: inset 3px 0 0 #e01b4c, var(--gx-frame-soft); }
.gn-ar .am-vivo-tag { display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px var(--f-cond); letter-spacing: .04em; color: #ff8fa8; }
.gn-ar .am-vivo-tag i { width: 8px; height: 8px; border-radius: 50%; background: #e01b4c; animation: arPulso 1.2s ease-in-out infinite; }
.gn-ar .am-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 12px; }
.gn-ar .am-vs > em { align-self: center; font: 900 30px/1 var(--f-display); font-style: normal; color: var(--gold); }
.gn-ar .am-lado { display: grid; gap: 8px; place-items: center; min-height: 96px; padding: 14px 10px; cursor: pointer; text-align: center; color: var(--tx-1); background: rgba(255, 255, 255, .03); border: 1px solid rgba(230, 184, 79, .35); transition: background .15s, border-color .15s; }
.gn-ar .am-lado b { font: 800 20px/1.15 var(--f-display); overflow-wrap: anywhere; }
.gn-ar .am-lado span { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; font: 700 14px var(--f-body); color: #1a0e04; background: linear-gradient(180deg, #ffb066, #ff7a33); }
.gn-ar .am-lado:hover { background: rgba(255, 122, 51, .08); border-color: #ff8a3a; }
.gn-ar .am-lado:focus-visible { outline: 2px solid var(--gx-ab, #e6b84f); outline-offset: 2px; }
.gn-ar .am-lado:disabled { opacity: .5; cursor: default; }
.gn-ar .am-vivo-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13.5px; color: var(--tx-3); }
.gn-ar .am-vivo-pe .ar-btn { height: 34px; font-size: 13px; padding: 0 12px; }
.gn-ar .am-vivo-pe > span { margin-left: auto; }
.gn-ar .am-vivo-pe b { color: var(--tx-1); }
.gn-ar .am-tnomes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 12px; }
.gn-ar .am-tnome { display: grid; gap: 4px; }
.gn-ar .am-tnome > span { font-size: 12.5px; color: var(--tx-3); }
.gn-ar .am-tnome small { margin-left: 4px; font: 700 11.5px var(--f-mono); color: var(--ok); }
.gn-ar .am-tnome small.ruim { color: #ff8fa8; }
@media (max-width: 640px) {
  .gn-ar .am-vs { grid-template-columns: 1fr; }
  .gn-ar .am-vs > em { justify-self: center; font-size: 22px; }
  .gn-ar .am-vivo-pe > span { margin-left: 0; width: 100%; }
  .gn-ar .st-venceu { font-size: 22px; }
  .gn-ar .st-f.time .st-pic { height: 150px; }
}
.gn-ar .am-lado b small { display: block; margin-top: 4px; font: 500 13px/1.35 var(--f-body); color: var(--tx-3); }
.gn-ar .am-luta .am-st.s2 { text-align: right; }
.gn-ar .st-f.time .st-pic { max-width: 340px; }
.gn-ar .ft-time.n2 .ft-m { margin: 0 -12%; }
.gn-ar .ft-time.n3 .ft-m { margin: 0 -11%; }
/* cabeçalho das páginas da Arena numa caixa (o texto não encosta na borda da página) */
.gn-ar .ar-head { padding: 16px 20px 18px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--gx-frame-soft); }
.gn-ar .ar-head .crumbs { margin-bottom: 4px; }
.gn-ar .ar > .crumbs { padding: 0 4px; }
@media (max-width: 620px) { .gn-ar .ar-head { padding: 12px 12px 14px; } }

/* o menu do site continua preso no topo ao rolar (Semantic UI deixa o body com a altura da tela) */
body.tudo-pg { height: auto; min-height: 100%; }
/* MU RAVE 99z, baú virtual (página larga, sem a coluna de login) */
.bv { width: 100%; margin: 0 auto; display: grid; gap: 18px; padding-bottom: 34px; }
.bv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 4px; }
.bv-tit h1 { margin: 6px 0 6px; font: 700 34px/1.1 var(--f-display); color: var(--tx-1); }
.bv-tit p { margin: 0; max-width: 720px; font-size: 15px; line-height: 1.55; color: var(--tx-2); }
.bv-status { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #1d1810; font-size: 14px; color: var(--tx-2); white-space: nowrap; }
.bv-status[hidden], .bv-aviso[hidden], .bv-mesa[hidden], .bv-toast[hidden], .bv-modal[hidden] { display: none; }
.bv-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 217, 138, .14); }
.bv-status.no-jogo i { background: var(--red-hi); box-shadow: 0 0 0 4px rgba(255, 74, 61, .16); }
.bv-status b { color: var(--tx-1); font-weight: 600; }
.bv-aviso { padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255, 74, 61, .35); background: rgba(224, 37, 44, .08); color: #ffc9c2; font-size: 14.5px; line-height: 1.5; }
.bv-link { padding: 0; margin-left: 6px; cursor: pointer; font: inherit; font-weight: 600; color: var(--gold-hi); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.bv-load { display: flex; align-items: center; gap: 12px; padding: 24px 4px; color: var(--tx-3); }
.bv-load i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .1); border-top-color: var(--gold); animation: bvGira .8s linear infinite; }
@keyframes bvGira { to { transform: rotate(360deg); } }

/* ---------------- os baús da conta */
.bv-baus { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bv-bt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; cursor: pointer; text-align: left; border-radius: 10px;
  color: var(--tx-2); border: 1px solid var(--line); background: linear-gradient(180deg, #261f15, #18140d); font: inherit; transition: border-color .15s, background .15s; }
.bv-bt:hover { border-color: rgba(230, 184, 79, .45); }
.bv-bt.on { border-color: var(--gold); background: radial-gradient(120% 120% at 0% 0%, rgba(230, 184, 79, .16), transparent 60%), linear-gradient(180deg, #2c2419, #1d1810); box-shadow: 0 10px 24px -16px rgba(230, 184, 79, .9); }
.bv-bt.fechado { opacity: .62; }
.bv-bt-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; font: 700 17px var(--f-display); color: var(--gold-hi); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(230, 184, 79, .3); }
.bv-bt-t { display: grid; gap: 2px; min-width: 0; }
.bv-bt-t b { font: 600 14px var(--f-body); color: var(--tx-1); }
.bv-bt-t small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-bt.aberto .bv-bt-t small { color: var(--ok); }
.bv-bt-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(63, 217, 138, .16); }
.bv-bt:focus-visible, .bv-it:focus-visible, .bv-go:focus-visible, .bv-btn:focus-visible, .bv-sel:focus-visible, .bv-link:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

/* ---------------- os dois baús lado a lado */
.bv-mesa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.bv-pn { display: grid; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid rgba(230, 184, 79, .3); background: linear-gradient(180deg, #221c13, #16120c); }
.bv-pn-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; min-height: 36px; }
.bv-pn-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 20px var(--f-display); color: var(--tx-1); }
.bv-pn-info { font-size: 13px; color: var(--tx-3); }
.bv-tag { padding: 3px 8px; border-radius: 6px; font: 600 11.5px var(--f-body); color: #062715; background: var(--ok); }
.bv-sel-l { font-size: 13px; color: var(--tx-3); }
.bv-sel { flex: 1; min-width: 160px; height: 36px; padding: 0 10px; border-radius: 8px; font: 600 14px var(--f-body); color: var(--tx-1); background: #14100a; border: 1px solid var(--line); }

.bv-grade { --cel: 38px; position: relative; justify-self: center; width: calc(var(--cel) * var(--w)); height: calc(var(--cel) * var(--h)); border-radius: 6px; touch-action: none;
  background-color: #120e09;
  background-image: linear-gradient(rgba(230, 184, 79, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(230, 184, 79, .1) 1px, transparent 1px);
  background-size: var(--cel) var(--cel); box-shadow: inset 0 0 0 1px rgba(230, 184, 79, .28), 0 18px 40px -26px #000; }
.bv-it { position: absolute; left: calc(var(--x) * var(--cel) + 1px); top: calc(var(--y) * var(--cel) + 1px); width: calc(var(--iw) * var(--cel) - 2px); height: calc(var(--ih) * var(--cel) - 2px);
  display: grid; place-items: center; padding: 0; cursor: grab; border: 0; border-radius: 4px; touch-action: none; user-select: none;
  background: radial-gradient(70% 70% at 50% 55%, rgba(230, 184, 79, .14), rgba(0, 0, 0, .25)); box-shadow: inset 0 0 0 1px rgba(230, 184, 79, .22); transition: box-shadow .12s, transform .12s; }
.bv-it img { max-width: 92%; max-height: 92%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .7)); }
.bv-it b { position: absolute; right: 2px; bottom: 1px; font: 700 10px/1 var(--f-cond); color: var(--gold-hi); text-shadow: 0 1px 2px #000; pointer-events: none; }
.bv-it.exc { background: radial-gradient(70% 70% at 50% 55%, rgba(63, 217, 138, .16), rgba(0, 0, 0, .25)); box-shadow: inset 0 0 0 1px rgba(63, 217, 138, .35); }
.bv-it.anc { box-shadow: inset 0 0 0 1px rgba(234, 197, 111, .5); }
.bv-it:hover { box-shadow: inset 0 0 0 1px var(--gold-hi); }
.bv-it.sel { box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 16px -2px rgba(243, 221, 171, .7); z-index: 2; }
.bv-it.indo { opacity: .25; }
.bv-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: .92; cursor: grabbing; box-shadow: inset 0 0 0 2px var(--gold-hi), 0 14px 30px -10px #000; }
.bv-sombra { position: absolute; left: calc(var(--x) * var(--cel)); top: calc(var(--y) * var(--cel)); width: calc(var(--iw) * var(--cel)); height: calc(var(--ih) * var(--cel));
  border-radius: 4px; pointer-events: none; background: rgba(63, 217, 138, .16); box-shadow: inset 0 0 0 2px var(--ok); }
.bv-sombra.ruim { background: rgba(255, 74, 61, .14); box-shadow: inset 0 0 0 2px var(--red-hi); }
.bv-sombra[hidden] { display: none; }
body.bv-ocupado .bv-grade { opacity: .6; pointer-events: none; }

.bv-pn-pe { display: flex; justify-content: center; }
.bv-pn-nota { margin: 0; font-size: 13px; color: var(--tx-3); text-align: center; }
.bv-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; cursor: pointer; border-radius: 9px; font: 700 14px var(--f-body); color: #1a0b00; text-decoration: none;
  border: 0; background: linear-gradient(180deg, #ffb066, #ff7a1a 55%, #e05a00); box-shadow: 0 12px 26px -16px rgba(255, 122, 51, .9); }
.bv-go:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.bv-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; cursor: pointer; border-radius: 9px; font: 600 14px var(--f-body); color: var(--tx-1); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); }
.bv-trancado { display: grid; justify-items: center; gap: 8px; padding: 40px 16px; text-align: center; color: var(--tx-2); border-radius: 10px; border: 1px dashed var(--line); }
.bv-trancado .i { width: 28px; height: 28px; color: var(--gold); }
.bv-trancado p { margin: 0; max-width: 360px; line-height: 1.5; }
.bv-trancado b { color: var(--gold-hi); }
.bv-aviso-p { margin: 0; padding: 14px; border-radius: 10px; color: #ffc9c2; background: rgba(224, 37, 44, .08); border: 1px solid rgba(255, 74, 61, .35); }
.bv-vazio { margin: 0; padding: 30px 16px; text-align: center; color: var(--tx-3); line-height: 1.5; }
.bv-vazio a { color: var(--gold-hi); }

/* ---------------- item escolhido e regras */
.bv-det { min-height: 64px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #1d1810; }
.bv-dica { margin: 8px 0; font-size: 14px; color: var(--tx-3); }
.bv-det-it { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bv-det-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #3c3120, #14100a 70%); box-shadow: inset 0 0 0 1px rgba(230, 184, 79, .35); }
.bv-det-ic img { max-width: 40px; max-height: 44px; object-fit: contain; }
.bv-det-it > div:not(.bv-det-ac) { display: grid; gap: 3px; min-width: 0; flex: 1; }
.bv-det-it b { font: 700 16px var(--f-display); color: var(--tx-1); }
.bv-det-it small { font-size: 13px; color: var(--tx-3); }
.bv-det-ac { display: flex; gap: 8px; flex-wrap: wrap; }
.bv-regras { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--tx-3); }
.bv-regras b { color: var(--tx-2); }

.bv-toast { position: fixed; left: 16px; right: 16px; bottom: 86px; z-index: 900; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 12px 18px; border-radius: 10px;
  font-size: 14.5px; color: var(--tx-1); background: #262016; border: 1px solid rgba(230, 184, 79, .45); box-shadow: 0 18px 40px -16px #000; }
.bv-toast.ruim { border-color: rgba(255, 74, 61, .6); color: #ffd5cf; }
.bv-modal { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .65); }
.bv-m-caixa { width: min(460px, 100%); padding: 20px; border-radius: 14px; border: 1px solid rgba(230, 184, 79, .4); background: linear-gradient(180deg, #261f15, #16120c); box-shadow: 0 30px 60px -20px #000; }
.bv-m-caixa h2 { margin: 0 0 10px; font: 700 20px var(--f-display); color: var(--tx-1); }
.bv-m-caixa p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; color: var(--tx-2); }
.bv-m-pe { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .bv-it, .bv-bt { transition: none; } }

@media (max-width: 900px) {
  .bv-mesa { grid-template-columns: 1fr; }
  .bv-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 440px) {
  .bv { width: calc(100% - 24px); }
  .bv-grade { --cel: 36px; }
  .bv-pn { padding: 12px 8px; }
  .bv-baus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bv-tit h1 { font-size: 28px; }
}

/* aviso de plano (só ver) e baú ainda não criado */
.bv-aviso.info { border-color: rgba(255, 196, 0, .35); background: rgba(255, 196, 0, .07); color: #ffe6a6; }
.bv-aviso .bv-link { margin-left: 6px; }
.bv-novo { border-style: dashed; }
.bv-go.bloq { opacity: .8; }
@media (max-width: 600px) { .bv-status { white-space: normal; } .bv-pn-h { min-width: 0; } }

/* informações do item ao passar o mouse */
.bv-tip { position: fixed; z-index: 980; display: grid; gap: 3px; min-width: 200px; max-width: 300px; padding: 10px 12px; pointer-events: none;
  font-size: 13px; line-height: 1.35; text-align: center; color: #f0e9d8; background: rgba(10, 8, 6, .96); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 16px 34px -12px #000; }
.bv-tip[hidden] { display: none; }
.bv-tip b { font-size: 14px; color: #fff; }
.bv-tip b.alto { color: #ffd76a; }
.bv-tip b.ex { color: #5dff8f; }
.bv-tip b.an { color: #e9c46d; }
.bv-tip .sk, .bv-tip .lk, .bv-tip .ad, .bv-tip .ex { color: #eed290; }
.bv-tip .an { color: #e9c46d; }
.bv-tip small { margin-top: 3px; font-size: 11.5px; color: #a89c7f; }
.bv-det-op { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.bv-det-op i { font-style: normal; color: #eed290; }

/* Novo: o style.css do site dá largura fixa e fundo a todo <section>; aqui os painéis voltam ao normal */
.gn-ar section.bv-pn { display: grid; position: relative; width: auto; padding: 16px; border-bottom: 1px solid rgba(230, 184, 79, .3); border-radius: 12px; box-shadow: none; background: linear-gradient(180deg, #221c13, #16120c); }
@media (max-width: 440px) { .gn-ar section.bv-pn { padding: 12px 8px; } }

/* Novo: a página fica dentro da largura do site */
.gn-ar .bv-tit h1 { font-size: 30px; text-transform: uppercase; letter-spacing: .06em; text-shadow: 0 0 18px rgba(230, 184, 79, .35); }

/* ---------------- baú secreto (só no site, abre com o PIN) */
.bv-bt-sec { border-style: dashed; border-color: rgba(230, 184, 79, .55);
  background: repeating-linear-gradient(135deg, rgba(230, 184, 79, .05) 0 6px, transparent 6px 12px), linear-gradient(180deg, #1f1911, #130f0a); }
.bv-bt-sec.solto { border-style: solid; }
.bv-bt-sec .bv-bt-n { color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(230, 184, 79, .55); }
.bv-bt-sec .bv-bt-n .i { width: 18px; height: 18px; }
/* baú secreto e baú secreto 2: nome numa linha só */
.bv-bt-sec { gap: 8px; padding-left: 10px; padding-right: 8px; }
.bv-bt-sec .bv-bt-n { width: 30px; height: 30px; }
.bv-bt-sec .bv-bt-t b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-tag.sec { color: #130f0a; background: linear-gradient(180deg, #ffe6a8, #e6b84f); }
.bv-grade.sec { box-shadow: inset 0 0 0 1px rgba(230, 184, 79, .65), 0 0 0 4px rgba(230, 184, 79, .07), 0 18px 40px -26px #000; }
.bv-sec-card { display: grid; justify-items: start; gap: 14px; padding: 24px 22px; border-radius: 12px; border: 1px solid rgba(230, 184, 79, .35);
  background: radial-gradient(120% 90% at 0% 0%, rgba(230, 184, 79, .1), transparent 60%), #19150e; }
.bv-sec-card.fechado { justify-items: center; text-align: center; padding: 44px 22px; }
.bv-sec-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; color: var(--gold-hi); background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px rgba(230, 184, 79, .5); }
.bv-sec-ic .i { width: 24px; height: 24px; }
.bv-sec-card h3 { width: auto; margin: 0; padding: 0; max-width: 30ch; font: 700 20px/1.25 var(--f-display); letter-spacing: .02em; color: var(--tx-1); text-shadow: none; }
.bv-sec-card p { margin: 0; max-width: 48ch; font-size: 14.5px; line-height: 1.55; color: var(--tx-2); }
.bv-sec-card p b { color: var(--gold-hi); }
.bv-sec-lista { margin: 0; padding: 0 0 0 18px; display: grid; gap: 7px; max-width: 54ch; font-size: 14.5px; line-height: 1.5; color: var(--tx-2); list-style: disc; }
.bv-sec-lista li { float: none; width: auto; margin: 0; padding: 0; background: none; }
.bv-sec-lista li::marker { color: var(--gold); }
.bv-sec-preco { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding-top: 2px; }
.bv-sec-preco b { font: 800 28px/1 var(--f-display); color: var(--gold-hi); }
.bv-sec-preco span { font-size: 13.5px; color: var(--tx-3); }
.bv-sec-card .bv-sec-nota { font-size: 13.5px; color: var(--tx-3); }
.bv-sec-nota a, .bv-sec-alerta a { color: var(--gold-hi); font-weight: 600; }
.bv-sec-card .bv-sec-erro { color: #ffb3c3; }
.bv-sec-card .bv-sec-alerta { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255, 162, 90, .4); background: rgba(255, 162, 90, .08); color: #ffd2ad; font-size: 13.5px; text-align: left; }
.bv-sec-pe { flex-direction: column; align-items: center; gap: 10px; }
.bv-hist { padding-top: 10px; border-top: 1px solid var(--line); }
.bv-hist summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--tx-2); }
.bv-hist summary:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.bv-hist ul { list-style: none; margin: 10px 0 0; padding: 0; max-height: 260px; overflow: auto; }
.bv-hist li { display: flex; justify-content: space-between; gap: 12px; float: none; width: auto; margin: 0; padding: 7px 0; background: none; border-top: 1px solid rgba(230, 184, 79, .08); font-size: 13px; color: var(--tx-2); }
.bv-hist li b { font-weight: 600; color: var(--tx-1); }
.bv-hist li small { display: block; font-size: 12px; color: var(--tx-3); }
.bv-hist time { flex: none; font-size: 12px; color: var(--tx-3); white-space: nowrap; }

/* item sem imagem: sigla do nome no lugar */
.bv-sig { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font: 700 12px/1 Arial, sans-serif; font-style: normal; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
