/* HUD COM A ARTE NOVA (arte/telas/tela-*.png). Vem depois de telas.css e hud2.css.
   Como funciona: cada peça (perfil, barra de ações, botões, minimapa, fila de missões, balão, viagem, área) é uma caixa com a
   PROPORÇÃO do PNG (--W x --H, em pixels do PNG) e a arte como fundo. Os elementos vivos (texto, enchimento das barras, botões, minimapa)
   são `.vv-a` com --x --y --w --h em pixels do PNG, e viram porcentagem: a peça cresce e encolhe inteira com a letra do jogo (em).
   Tamanho de letra dentro da peça: --fs (pixels do PNG) -> cqw, nunca abaixo de 9px.
   As molduras 9-slice vêm de moldura.js (--k-*). Janela pequena (canto): bloco MINI no fim. */

/* ---------- base das peças ---------- */
.vv-art { position: relative; aspect-ratio: var(--W) / var(--H); container-type: inline-size; background: no-repeat 0 0 / 100% 100%; }
.vv-art .vv-a { position: absolute; box-sizing: border-box; margin: 0;
  left: calc(var(--x) / var(--W) * 100%); top: calc(var(--y) / var(--H) * 100%);
  width: calc(var(--w) / var(--W) * 100%); height: calc(var(--h) / var(--H) * 100%);
  font-size: max(9px, calc(var(--fs, 14) / var(--W) * 100cqw)); line-height: 1.1; }
.vv-art button.vv-a, .vv-art button.vv-bb { padding: 0; background: none; border: 0; }
.vv-art .vv-a:focus-visible, .vv-art .vv-bb:focus-visible { outline-offset: -2px; }

/* ---------- perfil ---------- */
.vv-perfil { --W: 480; --H: 180; width: 20em; background-image: var(--t-perfil); pointer-events: auto; }
.vv-perfil .vv-retrato { padding: 2px; background: none; border: 0; border-radius: 4px; cursor: pointer; }
.vv-perfil .vv-retrato:hover { box-shadow: inset 0 0 0 2px var(--viva); }
.vv-perfil .vv-nome { --fs: 16; display: flex; align-items: center; gap: .35em; white-space: nowrap; overflow: hidden; color: var(--titulo); text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.vv-perfil .vv-nome span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vv-perfil .vv-nome small { flex: none; font-size: .75em; color: #cbbd97; }
.vv-perfil .vv-nivel { --fs: 15; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: var(--titulo); text-shadow: 0 1px 2px #000; }
.vv-perfil .vv-nivel small { font-size: max(8px, calc(9 / 480 * 100cqw)); color: #cbbd97; }
.vv-perfil .vv-barra-p { border: 0; background: none; border-radius: 99px; overflow: visible; }
.vv-perfil .vv-barra-p > i { border-radius: 99px; top: 1px; bottom: 1px; }
.vv-perfil .vv-barra-p.xp > i { background: linear-gradient(#5b86d8, #34569e); }
.vv-perfil .vv-barra-p > span { --fs: 13; font-size: max(9px, calc(13 / 480 * 100cqw)); font-weight: 700; line-height: 1; letter-spacing: .02em; white-space: nowrap;
  text-shadow: 0 0 2px #000, 0 0 2px #000, 0 1px 2px #000; }
.vv-perfil .vv-ouro, .vv-perfil .vv-coins { --fs: 14; display: flex; align-items: center; gap: .3em; white-space: nowrap; overflow: hidden; text-shadow: 0 1px 2px #000; }
.vv-perfil .vv-ouro { color: #f2c94c; }
.vv-perfil .vv-coins { color: #cfa6ff; }
.vv-perfil .vv-ouro small, .vv-perfil .vv-coins small { font-size: .72em; color: var(--cinza); }
.vv-perfil .vv-mais { --fs: 15; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #2a2212; font-weight: 900; line-height: 1;
  background: linear-gradient(#f0cf72, #a97a2a); box-shadow: inset 0 0 0 1px #5b4a28; }
.vv-perfil .vv-mais:hover { background: linear-gradient(#fff0b0, #c9942f); }

/* ---------- barra de botões (mochila, missões, mapa, loja, guilda, hoje, config) ---------- */
.vv-botoes { --W: 623; --H: 154; width: 19em; background-image: var(--t-barra-botoes); }
.vv-botoes .vv-bb { position: absolute; left: calc((44 + 77.4 * var(--i)) / 623 * 100%); top: calc(30 / 154 * 100%); width: calc(72 / 623 * 100%); height: calc(92 / 154 * 100%);
  border-radius: .45em; color: var(--txt); }
.vv-botoes .vv-bb:hover { box-shadow: inset 0 0 0 2px var(--viva), 0 0 .7em rgba(232, 196, 90, .55); background: rgba(232, 196, 90, .1); }
.vv-botoes .vv-bb:active { background: rgba(0, 0, 0, .3); }
.vv-botoes .vv-bb-i { display: none; }
.vv-botoes .vv-tecla { position: absolute; left: 6%; right: 6%; top: 77%; bottom: 3%; display: flex; align-items: center; justify-content: center;
  font-size: max(9px, calc(13 / 623 * 100cqw)); line-height: 1; color: var(--titulo); }
.vv-botoes .vv-bolinha { position: absolute; right: -.35em; top: -.45em; z-index: 1; }

/* ---------- minimapa ---------- */
.vv-minimapa { --W: 320; --H: 320; width: 12em; background-image: var(--t-minimapa); }
.vv-minimapa .vv-minib { --x: 44; --y: 44; --w: 233; --h: 233; overflow: hidden; border-radius: 3px; background: #0d0f12; cursor: crosshair;
  /* deixa de fora a bússola (canto de cima, à esquerda) e o recorte dos botões + e − (canto de baixo, à direita): o mapa não cobre a arte */
  clip-path: polygon(16.5% 0, 100% 0, 100% 76%, 88% 76%, 88% 100%, 0 100%, 0 16.5%, 16.5% 16.5%); }
.vv-minimapa .vv-minib canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.vv-minimapa .vv-zm { --x: 257; --w: 26; --h: 25; border-radius: 4px; }
.vv-minimapa .vv-zm:hover { box-shadow: inset 0 0 0 2px var(--viva); background: rgba(232, 196, 90, .15); }

/* ---------- fila de missões ---------- */
.vv-quest { --W: 360; --H: 520; width: 14em; background-image: var(--t-fila-missoes); pointer-events: auto; }
.vv-quest .vv-qtit { --x: 70; --y: 49; --w: 218; --h: 34; --fs: 17; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--titulo);
  font-family: Georgia, "Times New Roman", serif; text-shadow: 0 1px 2px #000; border-radius: .5em; }
.vv-quest .vv-qtit:hover { box-shadow: inset 0 0 0 2px var(--viva); }
.vv-quest .vv-q { display: contents; --ry: calc(142 + var(--i) * 57.6); }
.vv-quest .vv-qhl { --x: 51; --y: calc(var(--ry) - 1); --w: 258; --h: 48; border: 2px solid var(--viva); border-radius: .5em; box-shadow: 0 0 .6em rgba(232, 196, 90, .5); pointer-events: none; }
.vv-quest .vv-caixinha { --x: 62; --y: calc(var(--ry) + 12); --w: 22; --h: 22; display: flex; align-items: stretch; justify-content: center; font-size: max(9px, calc(14 / 360 * 100cqw)); }
.vv-quest .vv-caixinha i { flex: 1; width: auto; height: auto; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 3px; background: none;
  color: var(--titulo); font-weight: 900; font-size: 1em; text-shadow: 0 1px 2px #000; }
.vv-quest .vv-caixinha:hover i { box-shadow: inset 0 0 0 1px var(--viva); }
.vv-quest .vv-caixinha[aria-checked="true"] i { background: rgba(232, 196, 90, .22); box-shadow: inset 0 0 0 1px var(--viva); color: var(--titulo); }
.vv-quest .vv-qn { --x: 93; --y: calc(var(--ry) + 10); --w: 132; --h: 26; --fs: 14; font-size: max(8px, calc(12 / 360 * 100cqw)); display: block; padding: 0 .3em; line-height: calc(26 / 360 * 100cqw); color: var(--txt);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px #000; }
.vv-quest .vv-q.agora .vv-qn, .vv-quest .vv-q.pronta .vv-qn { color: var(--titulo); }
.vv-quest .vv-qprog { --x: 224; --y: calc(var(--ry) + 3); --w: 84; --h: 18; --fs: 11; font-size: max(8px, calc(9 / 360 * 100cqw)); line-height: 1; display: flex; align-items: flex-end; justify-content: center; white-space: nowrap; overflow: visible; text-align: center; color: #d8d0bb; text-shadow: 0 1px 2px #000; }
.vv-quest .vv-qtrail { --x: 233; --y: calc(var(--ry) + 22); --w: 69; --h: 6; border-radius: 99px; overflow: hidden; background: #0c0d0f; }
.vv-quest .vv-qtrail b { display: block; height: 100%; background: linear-gradient(#6cc86c, #3a8a3d); }
.vv-quest .vv-pegar { --x: 231; --y: calc(var(--ry) + 8); --w: 74; --h: 30; --fs: 13; white-space: nowrap; border: 5px solid transparent; border-image: var(--k-botao_verde) 44 fill / 5px; color: #eaffe4; text-shadow: 0 1px 2px #000; }
.vv-quest .vv-pegar:hover { filter: brightness(1.2); }
.vv-quest .vv-qvazio { --x: 60; --y: 160; --w: 240; --h: 40; text-align: center; }
.vv-quest .vv-qauto { --x: 128; --y: 421; --w: 104; --h: 52; border-radius: .7em; color: var(--txt); }
.vv-quest .vv-qauto:hover { box-shadow: inset 0 0 0 2px var(--viva); }
.vv-quest .vv-bb-i { display: none; }
.vv-hojecx { width: 14em; }
.vv-hojecx .vv-hoje { padding: .3em .5em; background: rgba(23, 24, 27, .92); border: 1px solid var(--borda); border-radius: .45em; box-shadow: 0 .25em .6em rgba(0, 0, 0, .5); }

/* ---------- barra de ações (4 magias, 3 poções, setas, Ataque no anel, abates, Minerar, PvP) ---------- */
.vv-barra { --W: 954; --H: 141; width: 50em; left: 50%; bottom: .3em; transform: translateX(-50%); background-image: var(--t-barra-acoes); pointer-events: auto; }
.vv-barra .vv-mgs, .vv-barra .vv-pcs, .vv-barra .vv-modos { display: contents; }
.vv-barra .vv-acao { position: absolute; padding: 0; background: none; border: 0; border-radius: 6px; overflow: hidden; }
.vv-barra .vv-mg { left: calc((62 + 90 * var(--n)) / 954 * 100%); top: calc(39 / 141 * 100%); width: calc(67 / 954 * 100%); height: calc(63 / 141 * 100%); }
.vv-barra .vv-pc { left: calc((428 + 69.5 * var(--n)) / 954 * 100%); top: calc(46 / 141 * 100%); width: calc(49 / 954 * 100%); height: calc(46 / 141 * 100%); overflow: visible; }
.vv-barra .vv-acao:hover { box-shadow: inset 0 0 0 2px var(--viva); }
.vv-barra .vv-mg.vazio:hover, .vv-barra .vv-pc.vazio:hover { box-shadow: inset 0 0 0 1px rgba(232, 196, 90, .5); }
.vv-barra .vv-mg-b { padding: calc(4 / 954 * 100cqw); border-radius: 6px; }
.vv-barra .vv-eng { position: absolute; left: 64%; top: 74%; right: auto; width: 42%; height: 46%; color: transparent !important; font-size: 0; background: none; border: 0; border-radius: 50%; padding: 0; z-index: 3; }
.vv-barra .vv-eng:hover { box-shadow: inset 0 0 0 2px var(--viva), 0 0 6px rgba(232, 196, 90, .7); background: rgba(232, 196, 90, .15); }
.vv-barra .vv-tecla { font-size: max(9px, calc(11 / 954 * 100cqw)); }
.vv-barra .vv-pc .vv-pct { font-size: max(8px, calc(10 / 954 * 100cqw)); }
.vv-barra .vv-pc .vv-qtd { font-size: max(8px, calc(11 / 954 * 100cqw)); }
.vv-barra .vv-seg { font-size: max(10px, calc(18 / 954 * 100cqw)); }

/* seta que abre o painel para cima: a das poções é a da arte; a das magias leva a seta dourada do kit */
.vv-pgseta { position: absolute; padding: 0; border: 0; background: none; border-radius: 6px; }
.vv-pgseta.pg-magia { left: calc(402 / 954 * 100%); top: calc(54 / 141 * 100%); width: calc(24 / 954 * 100%); height: calc(36 / 141 * 100%);
  background: var(--k-seta) center / contain no-repeat; opacity: .85; }
.vv-pgseta.pg-pocao { left: calc(633 / 954 * 100%); top: calc(47 / 141 * 100%); width: calc(46 / 954 * 100%); height: calc(41 / 141 * 100%); }
.vv-pgseta:hover { box-shadow: inset 0 0 0 2px var(--viva); opacity: 1; }
.vv-pgseta.aberta { box-shadow: inset 0 0 0 2px var(--viva), 0 0 .6em rgba(232, 196, 90, .6); }
.vv-pgseta.pg-magia.aberta { transform: rotate(180deg); }

/* Ataque dentro do anel da arte; Minerar e PvP sobre o trilho; abates no começo do trilho */
.vv-barra .vv-redondo { position: absolute; padding: calc(5 / 954 * 100cqw); border-width: 1px; background: radial-gradient(#2c2d33, #1a1b1f); }
.vv-barra .vv-redondo .vv-fig { width: 100%; height: 100%; }
.vv-barra #vv-auto { left: calc(860 / 954 * 100%); top: calc(46 / 141 * 100%); width: calc(48 / 954 * 100%); height: calc(48 / 141 * 100%); padding: calc(7 / 954 * 100cqw); background: none; border: 0; }
.vv-barra #vv-pvp2 { left: calc(742 / 954 * 100%); top: calc(50 / 141 * 100%); width: calc(40 / 954 * 100%); height: calc(40 / 141 * 100%); }
.vv-barra #vv-mina { left: calc(788 / 954 * 100%); top: calc(50 / 141 * 100%); width: calc(40 / 954 * 100%); height: calc(40 / 141 * 100%); }
.vv-barra .vv-redondo:hover { border-color: var(--viva); }
.vv-barra .vv-redondo.ligado { background: radial-gradient(rgba(232, 196, 90, .35), rgba(78, 61, 28, .6)); border-color: var(--viva); box-shadow: 0 0 .6em rgba(232, 196, 90, .5); color: var(--titulo); }
.vv-barra #vv-auto.ligado { background: radial-gradient(rgba(232, 196, 90, .3), transparent 72%); box-shadow: none; }
.vv-barra .vv-abates { position: absolute; left: calc(684 / 954 * 100%); top: calc(52 / 141 * 100%); width: calc(58 / 954 * 100%); height: calc(38 / 141 * 100%); display: flex; align-items: center; justify-content: center;
  padding: 0; background: none; border: 0; border-radius: 6px; color: var(--titulo); font-size: max(8px, calc(8.5 / 954 * 100cqw)); letter-spacing: -.03em; white-space: nowrap; overflow: visible; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.vv-barra .vv-abates:hover { box-shadow: inset 0 0 0 1px var(--viva); }

/* painel que abre para cima: o mesmo espaço da arte (kit) */
#vv-hud .vv-gaveta .vv-acao { background: var(--k-slot) center / 100% 100% no-repeat; border: 0; padding: .25em; border-radius: .3em; }
#vv-hud .vv-gaveta .vv-acao:hover { box-shadow: inset 0 0 0 2px var(--viva); }

/* ---------- balão de escolher a poção ---------- */
.vv-balao { --W: 360; --H: 240; width: 20em; background-image: var(--t-balao-pocao); z-index: 6; pointer-events: auto; }
.vv-balao .vv-bab { --fs: 13; display: flex; align-items: center; justify-content: center; padding: 0 .3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--titulo); text-shadow: 0 1px 2px #000; border-radius: .6em; }
.vv-balao .vv-brepor { cursor: pointer; font-weight: 700; }
.vv-balao .vv-brepor:hover { box-shadow: inset 0 0 0 2px var(--viva); }
.vv-balao .vv-bx { color: var(--titulo); --fs: 15; font-weight: 900; border-radius: .4em; }
.vv-balao .vv-bx:hover, .vv-balao .vv-bm:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--viva); }
.vv-balao .vv-op { --x: calc(70 + 83 * var(--c)); --y: calc(62 + 65 * var(--l)); --w: 55; --h: 54; position: absolute; padding: 0; background: none; border: 0; border-radius: 6px; overflow: hidden; display: block; }
.vv-balao .vv-op .vv-fig { position: absolute; inset: 8%; width: 84%; height: 84%; }
.vv-balao .vv-op small { display: flex; align-items: center; justify-content: center; height: 100%; font-size: max(9px, calc(12 / 360 * 100cqw)); }
.vv-balao .vv-op:hover { box-shadow: inset 0 0 0 2px var(--viva); }
.vv-balao .vv-op.ativa { box-shadow: inset 0 0 0 2px var(--viva), 0 0 .5em rgba(232, 196, 90, .5); background: rgba(232, 196, 90, .18); }
.vv-balao .vv-op.semnada .vv-fig { opacity: .45; filter: grayscale(1); }
.vv-balao .vv-qtd { font-size: max(9px, calc(11 / 360 * 100cqw)); }
.vv-balao .vv-bpct { --x: calc(70 + 83 * var(--c)); --y: calc(62 + 65 * var(--l)); --w: 55; --h: 54; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--titulo); }
.vv-balao .vv-bpct b { font-size: max(12px, calc(19 / 360 * 100cqw)); text-shadow: 0 1px 2px #000; }
.vv-balao .vv-bpct small { font-size: max(8px, calc(9 / 360 * 100cqw)); line-height: 1; }
.vv-balao .vv-bm { --fs: 18; color: var(--titulo); font-weight: 900; border-radius: .4em; }
.vv-balao .vv-bm:disabled { opacity: .35; }
.vv-balao .vv-bslide { --x: 50; --y: 196; --w: 260; --h: 18; cursor: pointer; }
.vv-balao .vv-bslide i { position: absolute; left: 0; top: 17%; height: 61%; border-radius: 99px; background: linear-gradient(#f5d36e, #b9852a); box-shadow: 0 0 .4em rgba(232, 196, 90, .5); }
.vv-balao .vv-bslide u { position: absolute; top: 50%; width: calc(18 / 360 * 100cqw); height: calc(18 / 360 * 100cqw); transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff0b0, #d9a53c 55%, #7a5a1f); box-shadow: 0 0 0 1px #4a3812, 0 1px 3px rgba(0, 0, 0, .7); }

/* ---------- viagem do guardião ---------- */
.vv-viagem { --W: 640; --H: 96; width: 26em; left: 50%; top: 11%; transform: translateX(-50%); background-image: var(--t-barra-viagem); z-index: 6; pointer-events: auto; }
.vv-viagem .vv-viagem-barra { --x: 101; --y: 33; --w: 474; --h: 30; --fs: 20; border-radius: 99px; overflow: hidden; background: #0c0d0f; }
.vv-viagem .vv-viagem-barra i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: var(--faixa, #ffe9a8); opacity: .8; transition: width .1s linear; }
.vv-viagem .vv-viagem-barra span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .4em; white-space: nowrap; color: #fff; text-shadow: 0 0 3px #000, 0 1px 2px #000; }
.vv-viagem .vv-viagem-barra small { color: #f3ead2; }
.vv-viagem .vv-vx { --x: 541; --y: 35; --w: 32; --h: 26; --fs: 15; color: #fff; font-weight: 900; border-radius: 99px; text-shadow: 0 0 3px #000; }
.vv-viagem .vv-vx:hover { background: rgba(208, 96, 79, .55); }

/* ---------- área atual (escudo na vila, caveira onde há PvP) ---------- */
.vv-area { --W: 640; --H: 100; width: 18em; background-image: var(--k-area_segura); pointer-events: auto; }
.vv-area.perigo { background-image: var(--k-area_perigo); }
.vv-area .vv-area-t { --x: 140; --y: 30; --w: 444; --h: 46; --fs: 27; display: flex; align-items: center; gap: .4em; white-space: nowrap; overflow: hidden; color: var(--txt); text-shadow: 0 1px 2px #000; }
.vv-area .vv-area-t b { color: var(--titulo); }
.vv-area .vv-area-t small { font-size: .8em; overflow: hidden; text-overflow: ellipsis; }
.vv-area .vv-bolinha { flex: none; width: .7em; height: .7em; min-width: 0; padding: 0; }

/* ---------- avisos: embaixo à direita, acima da barra ---------- */
#vv-hud .vv-avisos { left: auto; right: .6em; bottom: 9.4em; align-items: flex-end; max-width: min(26em, calc(100% - 1.2em)); }

/* ---------- plaquinhas e faixas (kit) ---------- */
.vv-zona { border: .5em solid transparent; border-image: var(--k-aba) 30 fill / .5em stretch; background: none; padding: 0 .3em; border-radius: 0; }
#vv-hud .vv-evento { border: .55em solid transparent; border-image: var(--k-plaquinha) 22 fill / .55em stretch; background: none; padding: 0 .5em; border-radius: 0; color: var(--titulo); }
#vv-hud .vv-evento:hover { filter: brightness(1.25); background: none; }
.vv-faixa { border: .55em solid transparent; border-image: var(--k-aba_ativa) 30 fill / .55em stretch; background: none; padding: 0 .6em; border-radius: 0; }
#vv-hud .vv-faixa.seguro { border-color: transparent; filter: hue-rotate(-12deg) saturate(1.3); }
#vv-hud .vv-cheia { border: .6em solid transparent; border-width: .6em .5em .6em 2.4em; border-image: var(--k-bandeja) 28 30 28 80 fill / .6em .5em .6em 2.4em stretch; background: none;
  padding: 0 .2em; color: #ffd8d0; }

/* painéis soltos do HUD (grupo, convite, cartão, dica, primeiros passos): moldura de janela do kit */
#vv-hud .vv-painel { border: .55em solid transparent; border-image: var(--k-janela) 72 fill / .55em stretch; background: none; box-shadow: none; border-radius: 0; }
#vv-hud .vv-grupo-q.sem { border: 0; border-image: none; background: none; }

/* avisos (toasts): o mais novo na bandeja com sino; os outros na plaquinha */
#vv-hud .vv-aviso { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; max-width: min(24em, calc(100vw - 2em)); border: .5em solid transparent; border-image: var(--k-plaquinha) 22 fill / .5em stretch; background: none; border-radius: 0; padding: 0 .3em; color: var(--txt); }
#vv-hud .vv-aviso:last-child:not(.saque) { border-width: .6em .5em .6em 2.4em; border-image: var(--k-bandeja) 28 30 28 80 fill / .6em .5em .6em 2.4em stretch; }
#vv-hud .vv-aviso.bom { color: #d6f5d0; } #vv-hud .vv-aviso.ruim { color: #ffd0c8; } #vv-hud .vv-aviso.raro { color: var(--titulo); }
#vv-hud .vv-aviso.saque { border-image: var(--k-janela) 72 fill / .55em stretch; border-width: .55em; }

/* ---------- janela pequena (canto): a arte só como moldura; o mesmo conteúdo em fluxo ---------- */
@media (max-width: 800px), (max-height: 450px) {
  /* perfil: moldura do kit, conteúdo em grade (sem retrato) */
  .vv-perfil { aspect-ratio: auto; container-type: normal; width: 13em; background: none; border: .85em solid transparent; border-image: var(--k-janela) 56 fill / .85em stretch;
    display: grid; grid-template-columns: 1fr auto; gap: .1em .3em; padding: 0 .1em; }
  .vv-perfil .vv-a, .vv-quest .vv-a { position: static; left: auto; top: auto; width: auto; height: auto; font-size: 1em; }
  .vv-minimapa { display: none; }
  .vv-perfil .vv-retrato { display: none; }
  .vv-perfil .vv-nome { grid-column: 1; font-size: 1em; }
  .vv-perfil .vv-nome small { display: none; }
  .vv-perfil .vv-nivel { grid-column: 2; flex-direction: row; gap: .2em; font-size: .95em; }
  .vv-perfil .vv-nivel small { font-size: .8em; }
  .vv-perfil .vv-barra-p { position: relative; grid-column: 1 / 3; height: 1.05em; background: #0e0f12; border: 1px solid #3b3d44; border-radius: .3em; overflow: hidden; }
  .vv-perfil .vv-barra-p.xp { height: .35em; }
  .vv-perfil .vv-barra-p > i { top: 0; bottom: 0; border-radius: 0; }
  .vv-perfil .vv-barra-p > span { font-size: .7em; }
  .vv-perfil .vv-ouro, .vv-perfil .vv-coins { grid-row: 5; font-size: .85em; }
  .vv-perfil .vv-ouro { grid-column: 1; } .vv-perfil .vv-coins { grid-column: 2; }
  .vv-perfil .vv-ouro small, .vv-perfil .vv-coins small { display: none; }
  .vv-perfil .vv-mais { position: absolute; left: auto; right: .1em; top: -.3em; width: 1.3em; height: 1.3em; font-size: .8em; }

  /* botões: ícones de verdade (arte/icones) em botões do kit */
  .vv-botoes { aspect-ratio: auto; container-type: normal; width: auto; background: none; display: flex; gap: .25em; }
  .vv-botoes .vv-bb { position: relative; left: auto; top: auto; width: 2.3em; height: 2.3em; padding: .35em; border: .35em solid transparent; border-image: var(--k-botao) 44 fill / .35em stretch; flex: none; }
  .vv-botoes .vv-bb-i { display: block; width: 100%; height: 100%; font-size: 1em; text-align: center; line-height: 1.3; }
  .vv-botoes .vv-bb.desligada { display: none; }
  .vv-botoes .vv-tecla { display: none; }

  /* fila de missões: placa do kit, 2 linhas */
  .vv-quest { aspect-ratio: auto; container-type: normal; width: 13.5em; background: none; border: .85em solid transparent; border-image: var(--k-janela) 56 fill / .85em stretch;
    display: flex; flex-direction: column; gap: .15em; padding: 0 .1em; }
  .vv-quest .vv-qtit { display: none; }
  .vv-quest .vv-q { display: flex; align-items: center; gap: .3em; min-width: 0; }
  .vv-quest .vv-q:nth-of-type(n+3) { display: none; }
  .vv-quest .vv-qhl, .vv-quest .vv-qtrail { display: none; }
  .vv-quest .vv-caixinha { width: 1.5em; height: 1.5em; flex: none; font-size: .8em; }
  .vv-quest .vv-caixinha i { border: 1px solid var(--borda); background: #15171a; }
  .vv-quest .vv-qn { flex: 1; min-width: 0; padding: 0; font-size: .85em; line-height: 1.2; letter-spacing: -.01em; }
  .vv-quest .vv-qprog { flex: none; font-size: .7em; display: block; overflow: visible; }
  .vv-quest .vv-pegar { padding: 0 .4em; font-size: .8em; border-width: .3em; border-image-width: .3em; }
  .vv-quest .vv-qauto { position: absolute; left: -.5em; right: auto; top: -.9em; width: 1.8em; height: 1.8em; z-index: 2; border-radius: 50%; background: #24262b; border: 2px solid var(--borda); }
  .vv-quest .vv-qauto.ligado { background: var(--ativo); border-color: var(--viva); }
  .vv-quest .vv-bb-i { display: block; width: 1.2em; height: 1.2em; margin: auto; }
  .vv-hojecx { width: 11.5em; }

  /* barra de ações: a arte inteira, ocupando a largura */
  .vv-barra { width: calc(100% - .8em); left: auto; right: .4em; bottom: .4em; transform: none; }
  .vv-barra #vv-auto { left: calc(884 / 954 * 100%); top: calc(70 / 141 * 100%); width: 2.6em; height: 2.6em; transform: translate(-50%, -50%); padding: .35em; border: 0; }
  .vv-barra .vv-abates { left: calc(700 / 954 * 100%); width: calc(150 / 954 * 100%); }
  .vv-barra #vv-mina, .vv-barra #vv-pvp2 { display: none; }
  .vv-barra .vv-pgseta.pg-pocao { min-width: 1.4em; }
  .vv-barra .vv-pgseta.pg-magia { min-width: 0; z-index: 2; }   /* cabe no vão entre a 4ª magia e a 1ª poção, sem cobrir os espaços */
  .vv-barra .vv-pgseta.pg-magia::before { content: ""; position: absolute; inset: -.5em -.05em; }
  .vv-barra .vv-abates { font-size: .85em; }

  /* faixa de área e viagem: um pouco menores */
  .vv-area { width: 14em; }
  .vv-viagem { width: 17em; top: 12%; }

  #vv-hud .vv-avisos { left: .4em; right: auto; align-items: flex-start; bottom: 5.6em; max-width: calc(100% - 1em); }
}
@media (max-width: 800px) and (orientation: portrait) {
  #vv-hud .vv-avisos { bottom: 8.4em; }
}

.vv-perfil .vv-nome span.pvp { color: #ff8274; text-shadow: 0 0 3px #000, 0 1px 2px #000, 0 0 6px #000; }
