  /* celular: duplo toque/pinca nao dao zoom na pagina (a V37 ja' ocupa a tela toda) */
  html, body { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
  html, body { margin: 0; height: 100%; overflow: hidden; background: #000; }
  /* celular: a pagina nao "anda" com o dedo (elastico do navegador), imagem nao arrasta, toque longo nao abre menu */
  html, body { position: fixed; inset: 0; overscroll-behavior: none; }
  #stage { touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  img { -webkit-user-drag: none; -webkit-touch-callout: none; }
  #stage { background: transparent; }
  #stage { position: absolute; left: 0; top: 0; width: 1024px; height: 768px; transform-origin: 0 0; overflow: hidden;
    font: 12px Tahoma, "Segoe UI", sans-serif; color: #d6dbe2; user-select: none; }
  .v37, .v37 .c { position: absolute; }
  .v37 { left: 0; top: 0; width: 1024px; height: 768px; pointer-events: none; }
  .v37 .c { pointer-events: auto; }
  .v37 .c.Window, .v37 .c.Static, .v37 .c.List { pointer-events: none; }   /* List do i3Gui cobre as linhas: quem trata o clique sao as linhas */
  .v37 .c.Static > .c { pointer-events: auto; }
  /* texto (EditBox) por cima de slot/botao nao rouba o clique (servidor/canal/sala: o duplo clique caia no texto);
     so' o campo de digitar de verdade (v37 input()) recebe clique */
  .v37 .c.EditBox { pointer-events: none; } .v37 .c.EditBox.click, .v37 .c.EditBox > input.in { pointer-events: auto; }
  .v37 .c.Static > .c.List, .v37 .c.List { pointer-events: none; }
  .v37 .off { display: none !important; }
  .v37 .s { position: absolute; background-repeat: no-repeat; pointer-events: none; }
  /* botao: forma 0 normal, 1 mouse em cima, 2 clicado (i3GuiButton::SetStateAs) */
  .v37 .Button > .s:not(.k0), .v37 .CheckBox > .s:not(.k0) { display: none; }
  .v37 .Button:hover > .s.k1 { display: block; } .v37 .Button:hover > .s.k0.has1 { display: none; }
  .v37 .Button:active > .s.k2 { display: block; }
  .v37 .CheckBox.on > .s.k4 { display: block; }      /* CheckBox: 0 caixa, 1-3 estados, 4 = o "visto" */
  .v37 .CheckBox:hover > .s.k1 { display: block; }
  .v37 .RadioButton > .s:not(.k0), .v37 .Radio > .s:not(.k0) { display: none; }
  .v37 .RadioButton.on > .s.k1, .v37 .Radio.on > .s.k1 { display: block; }
  .v37 .Button.on > .s.k2 { display: block; }
  /* loja: duracao escolhida = bolinha azul no meio do radio (o radio da V37 nao tem sprite de "marcado") */
  .v37 [data-n*="GoodsRadio"].on::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
    border-radius: 50%; background: radial-gradient(#bfe0ff, #2f8cff 60%, #1557b8); box-shadow: 0 0 4px #4fa3ff; pointer-events: none; }
  .v37 .click { cursor: pointer; }
  .v37 .t { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 4px; white-space: nowrap; overflow: hidden; pointer-events: none; }
  .v37 .t { color: #d7d7d7; }
  .v37 .t.ra { justify-content: flex-end; }
  .v37 .fechada { position: absolute; background: rgba(0, 0, 0, 0.72); pointer-events: none; z-index: 3; }   /* vaga fechada pelo dono */
  .v37 :is([data-n="mbNickname"], [data-n="mbExp"], [data-n="mbPinoKey"], [data-n="mbNcCoinKey"], [data-n="mbPinoValue"], [data-n="mbNcCoinValue"]) > .t { color: #000; }   /* barra de baixo: texto preto (dono 11/10/2026) */
  .v37 .lbl { white-space: pre-line; text-align: center; line-height: 13px; }
  .v37 .accfx { position: absolute; right: 3%; bottom: 6%; width: 20%; aspect-ratio: 37 / 35; background: center/contain no-repeat; pointer-events: none; z-index: 1; }   /* efeito do acessorio (client.js accFxMark) */
  .v37 [data-n="shopAccTab"] > .lbl { font: bold 12px Tahoma, Arial, sans-serif; color: #8e8e8e; text-shadow: 0 1px 1px #000; justify-content: center; }   /* aba Acessorios (client.js accTab) */
  .v37 [data-n="shopAccTab"]:hover > .lbl, .v37 [data-n="shopAccTab"].on > .lbl { color: #fff; }
  .v37 .t.wrap { white-space: normal; text-align: right; justify-content: flex-end; align-items: flex-start; line-height: 12px; overflow: visible; font-size: 11px; }
  .v37 [data-n="rrSeasonKey"] > .t, .v37 [data-n="rrTotalKey"] > .t { white-space: normal; line-height: 13px; align-items: flex-start; overflow: visible; }   /* client: fonte normal, cinza-claro (sem negrito) */
  .v37 [data-n$="Caption"] > .t { color: #e6e6e6; }
  .v37 [data-n$="WinCaption"] > .t, .v37 [data-n="rrRoomCaption"] > .t { padding-left: 10px; }
  .v37 .t.c { justify-content: center; } .v37 .t.y { color: #ffd34a; } .v37 .t.r { color: #ff6b6b; } .v37 .t.b { color: #6fb4ff; } .v37 .t.g { color: #8f8; }
  .v37 .in { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; background: transparent; border: 0; outline: 0;
    color: #fff; font: 12px Tahoma, sans-serif; padding: 0 4px; pointer-events: auto; }
  .v37 .sel > .t { background: #3d6db466; }
  .v37 .q { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: bold 52px Tahoma; color: #fff; text-shadow: 0 0 6px #000; }
  .modal { position: absolute; inset: 0; background: #0007; z-index: 39; }
  /* celular: coluna compacta na faixa livre da esquerda, ao lado do personagem (antes: barra grande no topo tampando logo e abas) */
  #tTop { position: fixed; z-index: 50; left: calc(env(safe-area-inset-left) + 8px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
  #tTop .tt-btn { min-height: 40px; width: 128px; padding: 0 10px; box-sizing: border-box; opacity: .92; display: flex; align-items: center; justify-content: center; border-radius: 8px; cursor: pointer; user-select: none;
    font: 700 12px Tahoma, sans-serif; color: #fff; background: linear-gradient(#4b74b3, #22406f); border: 1px solid #0b0c0e; box-shadow: 0 2px 8px #000a; -webkit-tap-highlight-color: transparent; }
  #tTop .tt-btn.rk { background: linear-gradient(#ffd56a, #b77f16); color: #1a1205; } #tTop .tt-btn:active { filter: brightness(.85); }
  .rk-btn { left: 232px !important; background: linear-gradient(#e0a93a, #8f620f) !important; color: #fff; }
  #rkHub { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; color: #e9eef6; font-family: Tahoma, Arial, sans-serif;
    background: radial-gradient(circle at 22% 38%, color-mix(in srgb, var(--tc) 28%, transparent), transparent 42%),
      repeating-linear-gradient(115deg, #ffffff05 0 2px, transparent 2px 22px), linear-gradient(135deg, #0a1120, #131c30 55%, #090d17); animation: rhIn .25s ease-out; }
  @keyframes rhIn { from { opacity: 0; transform: scale(.985); } }
  .rh-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid #ffffff14; background: linear-gradient(#0008, transparent); }
  .rh-logo { font: 900 26px Tahoma, Arial; letter-spacing: 3px; background: linear-gradient(#fff, var(--tc)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 6px #000); }
  .rh-pill { padding: 3px 10px; border-radius: 12px; font: 700 11px Tahoma; background: var(--tc); color: #111; } .rh-pill.dim { background: #ffffff1c; color: #dfe6f0; }
  .rh-mode { flex: 1; font-size: 12px; color: #9fb0c8; } .rh-x { cursor: pointer; font-size: 22px; padding: 2px 8px; color: #9fb0c8; } .rh-x:hover { color: #fff; }
  .rh-main { flex: 1; min-height: 0; display: flex; gap: 22px; padding: 18px 26px; }
  .rh-hero { width: 380px; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; overflow-y: auto; }
  .rh-ring { position: relative; flex: none; } .rh-ring > svg { position: absolute; inset: 0; }
  .rh-emb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--tc) 55%, transparent)); animation: rhFloat 3s ease-in-out infinite; }
  @keyframes rhFloat { 50% { transform: translateY(-5px); } }
  .rh-tn { font: 900 34px Tahoma; color: var(--tc); text-shadow: 0 3px 10px #000; margin-top: 6px; } .rh-pts { font: 700 22px Tahoma; } .rh-pts small { font-size: 12px; color: #9fb0c8; }
  .rh-nx { font-size: 12px; color: #b9c6da; margin: 2px 0 12px; } .rh-nx b { color: var(--tc); }
  .rh-st { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; } .rh-st div { background: #ffffff0c; border: 1px solid #ffffff12; border-radius: 6px; padding: 7px 2px; }
  .rh-st b { display: block; font: 700 19px Tahoma; } .rh-st b.g { color: #7be38a; } .rh-st b.r { color: #ff8a8a; } .rh-st span { font-size: 10px; color: #9fb0c8; }
  .rh-peak { margin-top: 10px; font-size: 11px; color: #9fb0c8; display: flex; gap: 4px; align-items: center; justify-content: center; } .rh-peak b { color: #fff; }
  .rh-party { width: 100%; margin-top: 16px; text-align: left; background: #0006; border: 1px solid #ffffff14; border-radius: 8px; padding: 10px 12px; box-sizing: border-box; }
  .rh-h { font: 700 12px Tahoma; letter-spacing: 1px; color: var(--tc); margin-bottom: 8px; } .rh-h small { color: #9fb0c8; }
  .rh-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .rh-slots .sl { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 6px; background: #ffffff0d; min-height: 38px; font-size: 12px; }
  .rh-slots .sl span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rh-slots .sl small { display: block; font-size: 10px; color: #9fb0c8; }
  .rh-slots .sl b { cursor: pointer; color: #ff8a8a; } .rh-slots .sl.empty { justify-content: center; color: #6c7a90; border: 1px dashed #ffffff22; background: none; } .cr { font-style: normal; margin-right: 2px; }
  .rk-inv { position: relative; display: flex; gap: 4px; margin-top: 8px; } .rk-inv input { flex: 1; min-width: 0; background: #0b111c; border: 1px solid #3a4558; border-radius: 4px; color: #fff; padding: 6px 8px; font: 12px Tahoma; }
  .rk-ptleave { margin-top: 8px; width: 100%; }
  .rh-fr > div { display: flex; align-items: center; gap: 6px; padding: 4px 2px; border-bottom: 1px solid #ffffff0d; font-size: 12px; } .rh-fr span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rh-fr .hm-btn { padding: 4px 10px; font-size: 11px; } .rh-fr i { font-style: normal; font-size: 11px; color: #7f8ea6; }
  .rh-side { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .rh-tabs { flex: none; display: flex; gap: 4px; } .rh-tabs b { padding: 9px 20px; font: 700 12px Tahoma; letter-spacing: 1px; cursor: pointer; color: #9fb0c8; border-bottom: 2px solid transparent; }
  .rh-tabs b.on { color: #fff; border-color: var(--tc); background: linear-gradient(transparent, #ffffff10); }
  .rh-pg { flex: 1; min-height: 0; overflow-y: auto; padding-top: 14px; }
  .rh-track { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 0 6px; }
  .rh-line { position: absolute; left: 50px; right: 50px; top: 40px; height: 5px; background: #ffffff18; border-radius: 3px; } .rh-line i { display: block; height: 100%; background: linear-gradient(90deg, #e6a46a, var(--tc)); border-radius: 3px; box-shadow: 0 0 10px var(--tc); }
  .rh-node { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: .55; }
  .rh-node.reach, .rh-node.got { opacity: 1; } .rh-node.cur .rh-nemb { transform: scale(1.12); filter: drop-shadow(0 0 12px var(--tc)); }
  .rh-node b { font: 700 13px Tahoma; margin-top: 4px; } .rh-node i { font-style: normal; font-size: 10px; color: #9fb0c8; }
  .rh-rw { margin-top: 8px; width: 100%; padding: 8px 4px; border-radius: 6px; background: #ffffff0c; border: 1px solid #ffffff14; font-size: 11px; min-height: 52px; box-sizing: border-box; }
  .rh-rw span { display: block; font-size: 18px; } .rh-rw small { color: #ffd27a; } .rh-node.got .rh-rw { border-color: #d4a640; background: #d4a64018; }
  .rh-node em { margin-top: 6px; font: 700 10px Tahoma; font-style: normal; color: #7be38a; letter-spacing: 1px; }
  .rh-note { margin-top: 14px; font-size: 11px; color: #7f8ea6; }
  .rh-pod { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 10px; margin-bottom: 12px; }
  .rh-pod > div { display: flex; flex-direction: column; align-items: center; text-align: center; } .rh-pod b { font-size: 13px; margin-top: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rh-pod i { font-style: normal; font-size: 11px; color: #ffd27a; }
  .rh-pod .pb { width: 100%; margin-top: 6px; border-radius: 6px 6px 0 0; font: 900 20px Tahoma; padding: 6px 0; background: linear-gradient(#ffffff22, #ffffff08); }
  .rh-pod .p1 .pb { height: 60px; background: linear-gradient(#ffd76a66, #ffd76a12); } .rh-pod .p2 .pb { height: 42px; } .rh-pod .p3 .pb { height: 30px; background: linear-gradient(#e6a46a55, #e6a46a10); }
  .rh-list > div { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid #ffffff0d; font-size: 12px; } .rh-list > div.me { background: color-mix(in srgb, var(--tc) 20%, transparent); }
  .rh-list .ps { width: 22px; color: #7f8ea6; text-align: right; } .rh-list .n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rh-list .v { color: #ffd27a; font-weight: 700; } .rh-list .wl { width: 64px; text-align: right; color: #7f8ea6; font-size: 10px; }
  .rh-empty { padding: 30px; text-align: center; color: #7f8ea6; }
  .rh-foot { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 14px 26px; border-top: 1px solid #ffffff14; background: linear-gradient(transparent, #0009); }
  .rh-q { flex: 1; text-align: right; font: 700 13px Tahoma; color: #7be38a; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
  .rh-spin { width: 14px; height: 14px; border: 2px solid #7be38a55; border-top-color: #7be38a; border-radius: 50%; animation: rhSpin .8s linear infinite; } @keyframes rhSpin { to { transform: rotate(360deg); } }
  .rh-go { min-width: 280px; padding: 15px 30px; border: 0; border-radius: 6px; cursor: pointer; font: 900 17px Tahoma; letter-spacing: 1px; color: #1a1205;
    background: linear-gradient(#ffe08a, #e8a92e 55%, #b97d12); box-shadow: 0 0 22px #e8a92e66, inset 0 1px 0 #fff8; }
  .rh-go:hover { filter: brightness(1.08); } .rh-go:disabled { filter: grayscale(1) brightness(.7); cursor: default; }
  .rh-go.on { color: #fff; background: linear-gradient(#ff6b6b, #c43030 55%, #8e1f1f); box-shadow: 0 0 22px #c4303066, inset 0 1px 0 #fff5; }
  .rh-eq { display: flex; gap: 10px; height: 100%; } .rh-stage { position: relative; flex: 1; min-height: 300px; height: 100%; border-radius: 8px;
    background: radial-gradient(ellipse at 50% 85%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 60%), linear-gradient(#ffffff06, #0004); border: 1px solid #ffffff10; overflow: hidden; }
  .rh-stage canvas { position: absolute; left: 0; top: 0; }
  .rs-slots { position: absolute; left: 0; right: 0; bottom: 6px; height: 112px; pointer-events: none; } .rs-sl { pointer-events: auto; }
  .rs-sl { position: absolute; transform: translateX(-50%); width: 24%; bottom: 0; text-align: center; font-size: 12px; } .rs-sl.me .rs-eq { white-space: nowrap; }
  .rs-nm { display: flex; align-items: center; justify-content: center; gap: 4px; font-weight: 700; text-shadow: 0 1px 3px #000; } .rs-nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 80%; }
  .rs-sl i { font-style: normal; font-size: 10px; color: #9fb0c8; } .rs-sl.me .rs-nm { color: #ffd27a; }
  .rs-eq { display: grid; grid-template-columns: repeat(3, 40px); gap: 4px; justify-content: center; margin-top: 4px; } .rs-eq button { width: 40px; height: 40px; padding: 0; border: 1px solid #ffffff30; border-radius: 8px; background: #000b; color: #fff; font-size: 20px; line-height: 38px; cursor: pointer; }
  .rs-eq button:hover { background: color-mix(in srgb, var(--tc) 45%, #000); }
  .rs-sl.empty { bottom: 40%; cursor: pointer; color: #6c7a90; } .rs-sl.empty b { display: block; font-size: 30px; line-height: 30px; } .rs-sl.empty:hover { color: #fff; }
  .rs-menu { position: fixed; z-index: 9500; width: 260px; max-height: 300px; overflow-y: auto; background: #10151f; border: 1px solid #3a4558; border-radius: 6px; box-shadow: 0 8px 24px #000c; font: 12px Tahoma, sans-serif; color: #e9eef6; scrollbar-width: none; }
  .rs-menu::-webkit-scrollbar { display: none; } .rs-mh { display: flex; justify-content: space-between; padding: 7px 10px; font-weight: 700; color: #ffd27a; border-bottom: 1px solid #ffffff14; position: sticky; top: 0; background: #10151f; } .rs-mh b { cursor: pointer; color: #9fb0c8; }
  .rs-mi { display: flex; align-items: center; gap: 8px; padding: 5px 10px; cursor: pointer; } .rs-mi:hover { background: #ffffff10; } .rs-mi.on { background: #ffd27a18; }
  .rs-mi img, .rs-mi > i { width: 64px; height: 28px; object-fit: contain; flex: none; } .rs-mi span { flex: 1; } .rs-mi em { font-style: normal; color: #7be38a; }
  /* RANKEADA com a pele da V37 (dono 15/10): fundo = arte do menu do PB escurecida, janelas/abas/botoes recortados do ui_source01 */
  #rkHub { background: linear-gradient(#05070bd9, #05070bf2), url(/static/v37/atlas/menu_bg.png) 50% 20% / cover; }
  #rkHub .rh-top { background: linear-gradient(#3a414d, #1f242c 40%, #14171c); border-bottom: 1px solid #6b7686; box-shadow: 0 2px 8px #000a; }
  #rkHub .rh-logo { background: none; color: #ffd27a; font: 700 22px Tahoma, sans-serif; letter-spacing: 1px; text-shadow: 0 1px 1px #000, 0 0 8px #ffb30055; filter: none; }
  #rkHub .rh-pill { border-radius: 2px; border: 1px solid #000; box-shadow: inset 0 1px 0 #fff5; }
  #rkHub .rh-hero, #rkHub .rh-side { position: relative; isolation: isolate; box-sizing: border-box; }
  #rkHub .rh-hero { padding: 36px 12px 14px; } #rkHub .rh-side { padding: 4px 12px 14px; }
  #rkHub .rh-hero::before, #rkHub .rh-side::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-style: solid; border-width: 32px 10px 50px;
    border-image: url(/static/v37/skin/win.png) 32 10 50 fill / 32px 10px 50px; }
  #rkHub .rh-hero::after { content: 'MEU RANK'; position: absolute; left: 14px; top: 0; line-height: 32px; font: 700 12px Tahoma, sans-serif; color: #fff; text-shadow: 0 1px 1px #000, 0 0 6px #4b74b3; }
  #rkHub .rh-tabs { gap: 3px; height: 28px; align-items: flex-end; }
  #rkHub .rh-tabs b { border-style: solid; border-width: 6px 8px; border-image: url(/static/v37/skin/tab.png) 6 8 fill / 6px 8px; padding: 0 8px 1px; color: #9aa5b5; letter-spacing: 0; text-shadow: 0 1px 1px #000; background: none; }
  #rkHub .rh-tabs b.on { border-image-source: url(/static/v37/skin/tab_on.png); color: #fff; text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; background: none; }
  #rkHub .rh-pg { padding-top: 10px; }
  #rkHub .rh-party, #rkHub .rh-st div, #rkHub .rh-rw, #rkHub .rh-slots .sl:not(.empty), #rkHub .rh-stage { border-style: solid; border-width: 5px; border-radius: 0; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; background-color: transparent; }
  #rkHub .rh-stage { background-image: radial-gradient(ellipse at 50% 85%, color-mix(in srgb, var(--tc) 18%, transparent), transparent 60%); }
  #rkHub .rh-slots .sl.empty { border-radius: 0; border-color: #ffffff1c; }
  #rkHub .rk-inv input { color: #fff; background: #8f9296; border: 2px solid #2c2f34; border-radius: 3px; box-shadow: inset 0 1px 3px #0008; } #rkHub .rk-inv input::placeholder { color: #3b3f45; }
  #rkHub .rh-foot { background: linear-gradient(#3a414d, #1f242c 40%, #14171c); border-top: 1px solid #6b7686; box-shadow: 0 -2px 8px #000a; }
  #rkHub .rh-go { border-style: solid; border-width: 7px 9px; border-radius: 0; border-image: url(/static/v37/skin/wide_b.png) 7 9 fill / 7px 9px; background: none; box-shadow: none;
    color: #fff; font: 700 16px Tahoma, sans-serif; text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; }
  #rkHub .rh-go:active { border-image-source: url(/static/v37/skin/wide_bp.png); }
  #rkHub.mob .rh-go.rh-go { padding-top: 3px; padding-bottom: 3px; } #rkHub.mob .rh-hero { padding-top: 34px; }
  #rkHub .rh-go.on { background: none; box-shadow: none; border-image-source: url(/static/v37/skin/btn.png); color: #ff9a8f; text-shadow: 0 1px 1px #000; }
  #rkHub .rs-eq button { border-style: solid; border-width: 6px 7px; border-radius: 0; border-image: url(/static/v37/skin/btn.png) 7 9 fill / 6px 7px; background: none; line-height: 26px; }
  #rkHub .rs-eq button:hover { background: none; border-image-source: url(/static/v37/skin/btn_h.png); }
  .rs-menu { border-radius: 0; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; background: #15181e; } .rs-mh { background: #15181e; }
  #rkHub.mob .rh-eq { gap: 8px; } #rkHub.mob .rh-stage { min-height: 0; flex: 1.5; } #rkHub.mob .rh-eq .rh-party { flex: 1; overflow: hidden; }
  #rkHub.mob .rs-slots { height: 74px; bottom: 2px; } #rkHub.mob .rs-eq { grid-template-columns: repeat(3, 26px); gap: 3px; } #rkHub.mob .rs-sl { font-size: 10px; } #rkHub.mob .rs-eq button { width: 26px; height: 26px; font-size: 14px; line-height: 24px; border-radius: 6px; } #rkHub.mob .rs-sl { width: 25%; } #rkHub.mob .rs-sl.me i, #rkHub.mob .rs-sl > i { display: none; }
  #rkHub.mob .rh-eq .rh-slots { display: none; }
  /* sem barra de rolagem do navegador em lugar nenhum da rankeada (rola com o dedo/roda se precisar) */
  #rkHub, #rkHub * { scrollbar-width: none; } #rkHub *::-webkit-scrollbar { display: none; }
  /* PC baixo (1366x768): tudo proporcional a' altura */
  @media (max-height: 820px) and (min-width: 761px) {
    #rkHub .rh-main { padding: 10px 22px; gap: 18px; } #rkHub .rh-top { padding: 8px 22px; } #rkHub .rh-foot { padding: 8px 22px; }
    #rkHub .rh-tn { font-size: 26px; margin-top: 2px; } #rkHub .rh-pts { font-size: 18px; } #rkHub .rh-nx { margin-bottom: 6px; } #rkHub .rh-party { margin-top: 8px; padding: 8px 10px; }
    #rkHub .rh-slots .sl { min-height: 32px; padding: 3px 6px; } #rkHub .rh-go { padding: 11px 26px; font-size: 15px; } }
  /* ---- celular deitado: 2 colunas (rank a esquerda, abas a direita), tudo encaixado sem rolar */
  #rkHub.mob .rh-top { padding: max(6px, env(safe-area-inset-top)) 12px 6px; gap: 6px; } #rkHub.mob .rh-logo { font-size: 17px; letter-spacing: 2px; } #rkHub.mob .rh-mode { display: none; } #rkHub.mob .rh-x { margin-left: auto; }
  #rkHub.mob .rh-main { flex-direction: row; gap: 10px; padding: 6px 12px; overflow: hidden; }
  #rkHub.mob .rh-hero { width: 190px; overflow: hidden; } #rkHub.mob .rh-tn { font-size: 19px; margin: 2px 0 0; } #rkHub.mob .rh-pts { font-size: 14px; } #rkHub.mob .rh-nx { margin: 0 0 4px; font-size: 10px; }
  #rkHub.mob .rh-st { grid-template-columns: repeat(2, 1fr); gap: 4px; } #rkHub.mob .rh-st div { padding: 2px; } #rkHub.mob .rh-st b { font-size: 13px; } #rkHub.mob .rh-st span { font-size: 9px; } #rkHub.mob .rh-peak { display: none; }
  #rkHub.mob .rh-tabs b { flex: 1; text-align: center; padding: 7px 2px; font-size: 10px; }
  #rkHub.mob .rh-pg { padding-top: 8px; overflow: hidden; }
  #rkHub.mob .rh-track { gap: 4px; padding: 0; } #rkHub.mob .rh-line { top: 18px; left: 26px; right: 26px; } #rkHub.mob .rh-node b { font-size: 11px; } #rkHub.mob .rh-node i { font-size: 9px; }
  #rkHub.mob .rh-rw { margin-top: 4px; padding: 4px 2px; min-height: 0; font-size: 9px; } #rkHub.mob .rh-rw span { font-size: 13px; } #rkHub.mob .rh-node em { margin-top: 3px; font-size: 8px; } #rkHub.mob .rh-note { display: none; }
  #rkHub.mob .rh-pod svg { width: 34px; height: 34px; } #rkHub.mob .rh-pod { gap: 6px; margin-bottom: 4px; } #rkHub.mob .rh-pod b { font-size: 11px; } #rkHub.mob .rh-pod .pb { font-size: 13px; padding: 2px 0; } #rkHub.mob .rh-pod .p1 .pb { height: 26px; } #rkHub.mob .rh-pod .p2 .pb { height: 20px; } #rkHub.mob .rh-pod .p3 .pb { height: 16px; }
  #rkHub.mob .rh-list { max-height: 70px; overflow-y: auto; } #rkHub.mob .rh-list > div { padding: 2px 6px; font-size: 11px; }
  #rkHub.mob .rh-party { margin: 0; padding: 6px 8px; border: 0; background: none; } #rkHub.mob .rh-h { margin-bottom: 4px; font-size: 10px; }
  #rkHub.mob .rh-slots { grid-template-columns: repeat(4, 1fr); gap: 4px; } #rkHub.mob .rh-slots .sl { min-height: 30px; padding: 2px 4px; font-size: 10px; } #rkHub.mob .rh-slots .sl svg { width: 20px; height: 20px; }
  #rkHub.mob .rk-inv { margin-top: 4px; } #rkHub.mob .rk-inv input { padding: 4px 6px; } #rkHub.mob .rh-fr { max-height: 56px; overflow-y: auto; } #rkHub.mob .rh-fr > div { padding: 2px; font-size: 11px; }
  #rkHub.mob .rh-party .rh-note, #rkHub.mob .rk-ptleave { display: none; }
  #rkHub.mob .rh-foot { padding: 6px 12px max(8px, env(safe-area-inset-bottom)); gap: 10px; } #rkHub.mob .rh-q { font-size: 11px; }
  #rkHub.mob .rh-go { min-width: 0; flex: 1.4; padding: 11px 10px; font-size: 15px; }
  .ann-bar { position: fixed; left: 50%; top: 46px; transform: translateX(-50%); z-index: 9700; display: flex; align-items: center; gap: 10px; max-width: min(900px, 92vw);
    padding: 10px 22px; border-radius: 24px; background: linear-gradient(90deg, #3a2a08f0, #6b4d10f0, #3a2a08f0); border: 1px solid #ffd27a; box-shadow: 0 0 24px #ffb30066, 0 6px 20px #000a;
    font: 13px Tahoma, Arial, sans-serif; color: #fff; pointer-events: none; animation: annIn .35s ease-out; transition: opacity .5s, transform .5s; }
  .ann-bar.out { opacity: 0; transform: translateX(-50%) translateY(-10px); } @keyframes annIn { from { opacity: 0; transform: translateX(-50%) translateY(-14px); } }
  .ann-bar .ai { font-size: 20px; } .ann-bar .an { font-weight: 900; color: #ffd76a; white-space: nowrap; } .ann-bar .at { font-weight: 700; text-shadow: 0 1px 2px #000; }
  .chat .ann { color: #ffd76a; font-weight: 700; }
  .chat .gm { color: #ffd76a; font-weight: 700; background: #7a1f1f99; border-left: 3px solid #ffd76a; padding: 1px 4px; }
  #invPz { position: fixed; inset: 0; z-index: 9795; display: flex; align-items: center; justify-content: center; background: #000a; font-family: Tahoma, Arial, sans-serif; color: #e9eef6; }
  #invPz .ik { width: min(460px, 92vw); padding: 18px; border-radius: 10px; text-align: center; background: linear-gradient(#1d2433, #121722); border: 1px solid #4a7bd0; box-shadow: 0 0 30px #2a6dff44; }
  #invPz b { font-size: 17px; color: #9cc4ff; } #invPz p { margin: 6px 0 10px; font-size: 12px; color: #b9c6da; }
  #invPz input { width: 100%; box-sizing: border-box; padding: 8px; border-radius: 6px; border: 1px solid #3a4a66; background: #0b0f17; color: #fff; font: 13px Tahoma; text-align: center; }
  #invPz .ib { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
  #invPz .ib button, #invPz .ib a { padding: 9px 14px; border: 0; border-radius: 6px; cursor: pointer; text-decoration: none; font: 900 12px Tahoma; color: #fff; background: linear-gradient(#3f7fe0, #2457a8); }
  #invPz .ib .wa { background: linear-gradient(#2fe07a, #14a04c); } #invPz .x { margin-top: 12px; background: none; border: 0; color: #8fa0b8; cursor: pointer; font: 12px Tahoma; }
  .tr-btn { left: 318px !important; background: linear-gradient(#3fbf7a, #17714a) !important; color: #fff; }
  .rkg-btn { left: 412px !important; background: linear-gradient(#8a5bd6, #4b2a8c) !important; color: #fff; }
  .newb { position: absolute; right: -4px; top: -7px; z-index: 3; padding: 1px 4px; font: 700 9px Tahoma, sans-serif; font-style: normal; color: #fff; background: #e0303f; border: 1px solid #fff8; border-radius: 6px; pointer-events: none; animation: newb 1.2s ease-in-out infinite alternate; }
  @keyframes newb { from { transform: scale(1); } to { transform: scale(1.15); } }
  .hm-adm .adm-tt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px 10px; max-height: 220px; overflow: auto; margin: 4px 0 8px; padding: 6px; background: #10141b; border: 1px solid #2a2f37; font-size: 11px; }
  .hm-adm .adm-tt label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
  #funInv { position: fixed; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 9000; display: flex; align-items: center; gap: 10px; max-width: min(760px, calc(100vw - 24px));
    padding: 8px 10px 8px 14px; font: 12px Tahoma, sans-serif; color: #e9eef6; background: linear-gradient(#2b2350f2, #1a1530f2); border: 1px solid #7b5cd6; border-radius: 6px; box-shadow: 0 6px 20px #000a; }
  #funInv b { color: #ffd27a; white-space: nowrap; } #funInv span { flex: 1; min-width: 0; } #funInv i { color: #a99ccc; font-style: normal; }
  #funInv button { border: 1px solid #0b0c0e; border-radius: 4px; color: #fff; cursor: pointer; font: 700 12px Tahoma, sans-serif; padding: 6px 12px; }
  #funInv .go { background: linear-gradient(#8a5bd6, #5a33a8); } #funInv .x { background: #0006; padding: 6px 8px; }
  #funRoom { position: fixed; left: 50%; top: 40px; transform: translateX(-50%); z-index: 60; padding: 4px 14px; font: 700 12px Tahoma, sans-serif; color: #fff; background: linear-gradient(90deg, #8a5bd6, #e0303f); border-radius: 12px; box-shadow: 0 2px 10px #000a; pointer-events: none; white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; }
  @media (pointer: coarse) { #funInv { bottom: 12px; font-size: 13px; } #funInv button { min-height: 40px; } }
  .hm-recruit { margin: 4px 0 14px; padding: 10px 12px; background: linear-gradient(#2a2410, #17140a); border: 1px solid #6b5520; border-radius: 4px; } .hm-recruit h3 { margin-top: 0; color: #ffd27a; }
  .dn-btn { left: 500px !important; background: linear-gradient(#c8443a, #7a1f19) !important; color: #fff; }
  .adm-btn { left: 606px !important; background: linear-gradient(#3a3f48, #16191e) !important; color: #ffd27a; }
  .cv-btn { left: 690px !important; color: #9fd4ff !important; } .cfk-btn { left: 792px !important; color: #ffd34a !important; }   /* 22/10: CONVERSAS (social.js) e RANKING CLAN FRONT: sem posicao caiam em cima do HOME */
  #tTop .tt-btn.cr { background: linear-gradient(#3d4452, #20242c); color: #cfd6e2; } #tTop .tt-btn.cr.on { background: linear-gradient(#2fa36a, #17663f); color: #fff; }
  #tTop .tt-btn.dn { background: linear-gradient(#e0574c, #8a231c); color: #fff; } #tTop .tt-btn.adm { background: linear-gradient(#4a505b, #1d2026); color: #ffd27a; }
  /* celular: painel admin e denuncias com alvo de toque grande (44 px) e tabela rolando de lado */
  @media (pointer: coarse) {
    .hm-adm button, .hm-adm .hm-btn, .hm-adm select, .hm-adm input:not([type=checkbox]):not([type=radio]), .dnList button { min-height: 44px; font-size: 14px !important; padding: 8px 14px; }
    .hm-adm .adm-tabs b { padding: 10px 14px; font-size: 14px; } .hm-adm .adm-log { display: block; overflow-x: auto; font-size: 13px; }
    .hm-adm .adm-log td { padding: 8px 6px; } .dnList video { flex-basis: 100%; max-height: 220px; }
    .hm-adm .adm-log td:last-child { white-space: normal !important; min-width: 120px; } .hm-adm .adm-log td:last-child button { display: block; width: 100%; margin: 0 0 6px; }
    .hm-adm .adm-log a { display: inline-block; padding: 6px 4px; }
  }
  /* RANKING do lobby (showRankings): janela V37 por cima do lobby; top 3 com brilho, linhas entrando em cascata */
  #ofS { position: fixed; left: 50%; top: 56px; transform: translateX(-50%); z-index: 9300; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 2px 4px 2px 10px; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; background: #15181e; font: 700 12px Tahoma, sans-serif; color: #f0c45a; text-shadow: 0 1px 1px #000; animation: rkgFade .18s ease-out; }
  #ofS span { flex: 1 1 auto; min-width: 0; line-height: 1.3; } #ofS .hm-btn { flex: none; padding: 2px 12px; font-size: 11px; white-space: nowrap; }
  #ofS i { flex: none; font-style: normal; cursor: pointer; padding: 2px 6px; color: #9fb0c8; font-size: 14px; } #ofS i:hover { color: #fff; }
  @media (max-height: 420px) { #ofS { top: 44px; font-size: 11px; } }
  #rkgW { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: #000a; animation: rkgFade .18s ease-out; }
  #rkgW .rkg { width: min(640px, 94vw); height: min(520px, 90vh); display: flex; flex-direction: column; color: #dfe6f0; font: 13px Tahoma, sans-serif;
    background: linear-gradient(#1d2433, #121722); border: 1px solid #3a4a66; border-radius: 8px; box-shadow: 0 0 40px #000, inset 0 1px #ffffff14; animation: rkgPop .22s cubic-bezier(.2,1.4,.4,1); }
  #rkgW .rkg-h { display: flex; align-items: center; padding: 10px 14px; border-bottom: 1px solid #2b3650; background: linear-gradient(#2a3a5e, #1a2540); border-radius: 8px 8px 0 0; }
  #rkgW .rkg-h b { flex: 1; font: 900 15px Tahoma; color: #ffd34a; letter-spacing: 2px; text-shadow: 0 0 8px #ffb30066; }
  #rkgW .rkg-x { font-style: normal; cursor: pointer; padding: 4px 10px; color: #9fb0c8; font-size: 16px; } #rkgW .rkg-x:hover { color: #fff; }
  #rkgW .rkg-t { display: flex; gap: 4px; padding: 8px 10px 0; }
  #rkgW .rkg-t b { flex: 1; text-align: center; padding: 8px 4px; cursor: pointer; border-radius: 6px 6px 0 0; background: #1a2232; color: #8fa0b8; font: 700 12px Tahoma; border: 1px solid #2b3650; border-bottom: 0; user-select: none; }
  #rkgW .rkg-t b.on { background: linear-gradient(#3d6db4, #22406f); color: #fff; box-shadow: 0 -2px 10px #3d6db455; }
  #rkgW .rkg-b { flex: 1; overflow-y: auto; padding: 6px 10px 10px; border-top: 1px solid #2b3650; -webkit-overflow-scrolling: touch; }
  #rkgW .rkg-ld { padding: 40px 10px; text-align: center; color: #8fa0b8; }
  #rkgW .rkg-hd, #rkgW .rkg-r { display: grid; grid-template-columns: 34px 30px 1fr 74px 64px; align-items: center; gap: 6px; }
  #rkgW .rkg-hd { padding: 4px 8px; font: 700 11px Tahoma; color: #6f819c; } #rkgW .rkg-hd span:first-child { grid-column: 1 / 3; }
  #rkgW .rkg-hd span:nth-child(n+3), #rkgW .rkg-v { text-align: right; }
  #rkgW .rkg-r { margin: 3px 0; padding: 6px 8px; min-height: 30px; border-radius: 6px; background: #ffffff08; border: 1px solid #ffffff0d; opacity: 0; animation: rkgIn .32s ease-out forwards; }
  #rkgW .rkg-r.me { background: #3d6db433; border-color: #3d6db4; }
  #rkgW .rkg-r.p1 { background: linear-gradient(90deg, #ffd34a33, #ffd34a08); border-color: #ffd34a88; animation: rkgIn .32s ease-out forwards, rkgGlow 2.4s ease-in-out .4s infinite; --g: #ffd34a; }
  #rkgW .rkg-r.p2 { background: linear-gradient(90deg, #cfd8e633, #cfd8e608); border-color: #cfd8e677; }
  #rkgW .rkg-r.p3 { background: linear-gradient(90deg, #d08a4a33, #d08a4a08); border-color: #d08a4a77; }
  #rkgW .rkg-n { text-align: center; font: 900 13px Tahoma; color: #8fa0b8; } #rkgW .p1 .rkg-n, #rkgW .p2 .rkg-n, #rkgW .p3 .rkg-n { font-size: 18px; }
  #rkgW .rkg-pat, #rkgW .rkg-cm { width: 26px; height: 26px; display: block; background: center/contain no-repeat; }
  #rkgW .rkg-cm { width: 28px; height: 28px; border-radius: 4px; }
  #rkgW .rkg-em { display: flex; justify-content: center; }
  #rkgW .rkg-nk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: #fff; }
  #rkgW .rkg-nk small { display: block; font: 10px Tahoma; color: #8fa0b8; }
  #rkgW .rkg-pf { min-width: 0; height: 18px; line-height: 16px; padding: 0 7px; margin-left: 6px; font: 700 10px Tahoma, sans-serif; vertical-align: middle; display: inline-block; }
  #rkgW .p1 .rkg-nk { color: #ffe27a; text-shadow: 0 0 6px #ffb30088; }
  #rkgW .rkg-v { font-weight: 700; color: #cfe0ff; }
  @keyframes rkgFade { from { opacity: 0; } } @keyframes rkgPop { from { transform: scale(.92); opacity: 0; } }
  @keyframes rkgIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
  @keyframes rkgGlow { 0%, 100% { box-shadow: 0 0 0 transparent; } 50% { box-shadow: 0 0 14px #ffd34a66; } }
  #tTop .tt-btn.rkg { background: linear-gradient(#a274ee, #5a33a8); }
  /* RANKING do lobby no estilo ORIGINAL da V37 (dono 15/10): janela/abas/botao da pele (static/v37/skin), lista como a de salas */
  #rkgW { background: #0009; }
  #rkgW .rkg { position: relative; isolation: isolate; background: none; border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 6px 18px #000); font: 12px Tahoma, sans-serif; }
  #rkgW .rkg::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-style: solid; border-width: 32px 10px 50px;
    border-image: url(/static/v37/skin/win.png) 32 10 50 fill / 32px 10px 50px; }
  #rkgW .rkg-h { height: 30px; padding: 0 12px; background: none; border: 0; border-radius: 0; }
  #rkgW .rkg-h b { font: 700 12px Tahoma; color: #fff; letter-spacing: 0; text-shadow: 0 1px 1px #000, 0 0 6px #4b74b3; text-align: center; }
  #rkgW .rkg-x { color: #9fb0c8; font-size: 14px; }
  #rkgW .rkg-t { gap: 3px; padding: 6px 12px 0; box-shadow: inset 0 -1px 0 #4a5a75; }
  #rkgW .rkg-t b { flex: 0 0 auto; min-width: 90px; border-style: solid; border-width: 6px 8px; border-image: url(/static/v37/skin/tab.png) 6 8 fill / 6px 8px; border-radius: 0;
    background: none; padding: 0 6px 1px; font: 700 11px Tahoma; color: #9aa5b5; text-shadow: 0 1px 1px #000; box-shadow: none; }
  #rkgW .rkg-t b.on { border-image-source: url(/static/v37/skin/tab_on.png); background: none; color: #fff; text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; box-shadow: none; }
  #rkgW .rkg-b { margin: 8px 12px 0; padding: 0; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; }
  #rkgW .rkg-hd { position: sticky; top: 0; z-index: 1; padding: 4px 8px; font: 700 11px Tahoma; color: #fff; text-shadow: 0 1px 1px #000;
    background: linear-gradient(#4a5160, #2b3039 55%, #22262e); border-bottom: 1px solid #000; }
  #rkgW .rkg-r { margin: 0; padding: 3px 8px; min-height: 30px; border: 0; border-radius: 0; border-bottom: 1px solid #000; box-shadow: inset 0 -1px 0 #2a2f37;
    background: #14171c; opacity: 1; animation: none; }
  #rkgW .rkg-r:nth-child(odd) { background: #1a1e24; } #rkgW .rkg-r:hover { background: #24344d; }
  #rkgW .rkg-r.me { background: #2b4a7a99; box-shadow: inset 0 0 0 1px #6aa8ff; }
  #rkgW .rkg-r.p1, #rkgW .rkg-r.p2, #rkgW .rkg-r.p3 { background: #1a1e24; border-color: #000; animation: none; }
  #rkgW .rkg-n { font: 700 12px Tahoma; color: #9aa5b5; }
  /* top 3 (V37 + brilho): faixa na cor da medalha, medalha redonda no numero, reflexo passando e pulso no 1o */
  #rkgW .rkg-r.p1 { --mc: #ffd34a; } #rkgW .rkg-r.p2 { --mc: #dfe6f0; } #rkgW .rkg-r.p3 { --mc: #e0a060; }
  #rkgW .rkg-r.p1, #rkgW .rkg-r.p2, #rkgW .rkg-r.p3 { position: relative; overflow: hidden; min-height: 36px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--mc) 26%, #14171c), #14171c 75%) !important;
    box-shadow: inset 3px 0 0 var(--mc), inset 0 -1px 0 color-mix(in srgb, var(--mc) 35%, #000); }
  #rkgW .rkg-r.p1::after, #rkgW .rkg-r.p2::after, #rkgW .rkg-r.p3::after { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; transform: skewX(-25deg); pointer-events: none;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mc) 35%, transparent), transparent); animation: rkgSweep 3.5s ease-in-out infinite; }
  #rkgW .rkg-r.p2::after { animation-delay: .6s; } #rkgW .rkg-r.p3::after { animation-delay: 1.2s; }
  @keyframes rkgSweep { 0%, 55% { left: -40%; } 100% { left: 130%; } }
  #rkgW .rkg-r.p1 { animation: rkgPulse 2.4s ease-in-out infinite !important; }
  @keyframes rkgPulse { 50% { box-shadow: inset 3px 0 0 var(--mc), inset 0 0 18px color-mix(in srgb, var(--mc) 35%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--mc) 35%, #000); } }
  #rkgW .p1 .rkg-n, #rkgW .p2 .rkg-n, #rkgW .p3 .rkg-n { width: 24px; height: 24px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    color: #1a1205 !important; text-shadow: none !important; font-size: 13px !important; border: 1px solid #000;
    background: radial-gradient(circle at 35% 30%, #fff, var(--mc) 45%, color-mix(in srgb, var(--mc) 55%, #000)); box-shadow: 0 0 8px color-mix(in srgb, var(--mc) 70%, transparent); }
  #rkgW .p1 .rkg-pat, #rkgW .p2 .rkg-pat, #rkgW .p3 .rkg-pat { filter: drop-shadow(0 0 4px var(--mc)); }
  #rkgW .p1 .rkg-nk b { text-shadow: 0 0 8px #ffb30088, 0 1px 1px #000; }
 #rkgW .p1 .rkg-n, #rkgW .p2 .rkg-n, #rkgW .p3 .rkg-n { font-size: 14px; }
  #rkgW .p1 .rkg-n, #rkgW .p1 .rkg-nk { color: #ffd34a; text-shadow: 0 1px 1px #000; } #rkgW .p2 .rkg-n, #rkgW .p2 .rkg-nk { color: #dfe6f0; } #rkgW .p3 .rkg-n, #rkgW .p3 .rkg-nk { color: #e0a060; }
  #rkgW .rkg-nk { font-weight: 700; } #rkgW .rkg-v { color: #ffd27a; font-weight: 700; }
  #rkgW .rkg-f { flex: none; display: flex; justify-content: flex-end; padding: 8px 12px 12px; } #rkgW .rkg-f .hm-btn { min-width: 100px; min-height: 30px; }
  /* MODOS NOVOS (newModesPopup): a janela do RANKING V37 com uma linha por modo */
  #rkgW .rkg.nmw { height: auto; max-height: 90vh; width: min(560px, 94vw); }
  #rkgW .rkg.nmw { max-height: 90dvh; } #rkgW .rkg-b { min-height: 0; }   /* 23/10: no celular deitado o corpo nao encolhia (min-height auto do flex) e cortava os botoes dos canais */
  #rkgW .nm-r { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #000; box-shadow: inset 0 -1px 0 #2a2f37; background: #14171c; }
  #rkgW .nm-r:nth-child(odd) { background: #1a1e24; } #rkgW .nm-r:hover { background: #24344d; }
  #rkgW .nm-i { flex: 1; min-width: 0; } #rkgW .nm-i b { display: block; font: 700 13px Tahoma; color: #ffd27a; text-shadow: 0 1px 1px #000; }
  #rkgW .nm-i span { display: block; margin: 2px 0; font-size: 11px; line-height: 1.4; color: #c6cfdc; } #rkgW .nm-i i { font-style: normal; font-size: 11px; color: #7dffb0; }
  #rkgW .nm-r .hm-btn { flex: none; min-width: 90px; min-height: 34px; }
  @media (max-height: 420px) { #rkgW .rkg { height: 94vh; } #rkgW .rkg-h { padding: 6px 12px; } #rkgW .rkg-t b { padding: 6px 4px; } #rkgW .rkg-r { padding: 4px 8px; margin: 2px 0; } }
  .hm-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; } .hm-2col h3 { margin: 0 0 6px; font: 900 13px Tahoma; color: #ffd76a; }
  @media (max-width: 700px) { .hm-2col { grid-template-columns: 1fr; } }
  .hm-ref .hm-reflink { display: inline-block; margin: 6px 6px 0 0; padding: 4px 8px; border-radius: 4px; background: #0b0f17; border: 1px solid #3a4a66; font: 12px Tahoma; color: #9cc4ff; user-select: all; }
  .hm-dl i + i { margin-top: 2px; }
  #invPz .trk { margin: 8px 0 2px; font: 900 54px Tahoma; color: #7dff9a; text-shadow: 0 0 18px #2bd96b88; line-height: 1; } #invPz .trk small { display: block; font-size: 12px; color: #9fb0c8; }
  #invPz .trt { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; font-size: 12px; color: #c9d3e2; } #invPz .trt span { padding: 2px 8px; border-radius: 10px; background: #ffffff10; }
  #invPz .ib .go { background: linear-gradient(#3fbf7a, #17714a); }
  #packPz { position: fixed; inset: 0; z-index: 9790; display: flex; align-items: center; justify-content: center; background: #000c; font-family: Tahoma, Arial, sans-serif; color: #e9eef6; animation: gpIn .25s ease-out; }
  #packPz .pk { position: relative; width: min(760px, 94vw); max-height: 94vh; overflow-y: auto; scrollbar-width: none; padding: 18px 20px 14px; box-sizing: border-box; border-radius: 12px; text-align: center;
    background: radial-gradient(ellipse at 50% -10%, #8a1d1d 0, transparent 60%), linear-gradient(#1b1f2b, #10131b); border: 1px solid #ff6a3d; box-shadow: 0 0 60px #ff4a1a55, 0 10px 40px #000; }
  #packPz .px { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #ffffff14; color: #fff; font-size: 16px; cursor: pointer; }
  #packPz .pb { display: inline-block; padding: 3px 12px; border-radius: 12px; font: 900 11px Tahoma; letter-spacing: 1px; color: #1a0a05; background: linear-gradient(90deg, #ffb347, #ff6a3d); animation: pkGlow 1.6s ease-in-out infinite; }
  @keyframes pkGlow { 50% { box-shadow: 0 0 16px #ff8a3d; } }
  #packPz h2 { margin: 8px 0 4px; font: 900 28px Tahoma; letter-spacing: 2px; color: #fff; text-shadow: 0 0 18px #ff4a1a, 0 2px 0 #000; }
  #packPz .pt p { margin: 0 auto 12px; max-width: 560px; font-size: 13px; color: #c9d3e2; } #packPz .pt b { color: #ffd27a; }
  #packPz .pl { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
  #packPz .pi { padding: 8px 6px; border-radius: 8px; background: linear-gradient(#ffffff12, #ffffff04); border: 1px solid #ff8a3d44; animation: gpPop .35s ease-out backwards; }
  #packPz .pi img { width: 100%; height: 58px; object-fit: contain; filter: drop-shadow(0 0 8px #ff8a3d70); } #packPz .pi b { display: block; font-size: 12px; color: #fff; margin-top: 4px; }
  #packPz .pi i { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 10px; font: 700 9px Tahoma; font-style: normal; color: #1a1205; background: #ffd27a; }
  #packPz .pf { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
  #packPz .pp small { display: block; font-size: 10px; color: #9fb0c8; text-transform: uppercase; } #packPz .pp b { font: 900 30px Tahoma; color: #7dff9a; text-shadow: 0 0 14px #2bd96b88; }
  #packPz .px2 { border: 0; cursor: pointer; margin-right: 8px; background: linear-gradient(#36c9d8, #12808f); box-shadow: 0 0 22px #32bcc688; }
  #packPix { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: #000b; }
  #packPix .ps-mbox { width: min(440px, 92vw); } #packPix .ps-mb { padding: 10px 16px 14px; } #packPix .ps-mb p { margin: 0 0 8px; }
  #packPix .ps-adr { display: flex; gap: 6px; align-items: center; margin: 8px 0; } #packPix .ps-adr code { flex: 1; font-size: 10px; max-height: 60px; overflow: auto; }
  #packPix .ps-wait { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: #cfd6e0; } #packPix .ps-mf { text-align: right; }
  #packPz .pw { display: inline-block; padding: 13px 26px; border-radius: 8px; text-decoration: none; font: 900 15px Tahoma; color: #fff; background: linear-gradient(#2fe07a, #14a04c); box-shadow: 0 0 22px #25d36688; animation: pkGlow 1.6s ease-in-out infinite; }
  #packPz .ps { margin-top: 6px; } #packPz .ps.alt .pl { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  #packPz .ps.alt .pl .pi { flex: 0 0 132px; scroll-snap-align: start; } #packPz .car { position: relative; } #packPz .car button { position: absolute; top: 50%; z-index: 2; transform: translateY(-60%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: #ff4f8fcc; color: #fff; font: 900 16px Tahoma; cursor: pointer; } #packPz .car .cl { left: -6px; } #packPz .car .cr { right: -6px; } #packPz .ps.alt { margin-top: 14px; padding: 10px 10px 4px; border-radius: 10px; background: linear-gradient(#5a0f2a55, #2a0a1855); border: 1px solid #ff4f8f55; }
  #packPz .po { margin-bottom: 8px; font-size: 13px; color: #ffc2d8; } #packPz .po b { color: #ff7fb0; font-weight: 900; }
  #packPz .ps.alt .pi { border-color: #ff4f8f44; } #packPz .ps.alt .pi img { height: 44px; filter: drop-shadow(0 0 8px #ff4f8f70); } #packPz .ps.alt .pp b { color: #ff9cc4; text-shadow: 0 0 14px #ff4f8f88; }
  #packPz .pn { display: block; margin-top: 10px; font-size: 11px; color: #8fa0b8; cursor: pointer; }
  @media (max-height: 500px) { #packPz .pk { padding: 8px 12px; } #packPz .pb { font-size: 9px; padding: 2px 10px; } #packPz h2 { font-size: 18px; margin: 3px 0 1px; } #packPz .pt p { font-size: 10px; margin-bottom: 5px; }
    #packPz .pl { grid-template-columns: repeat(5, 1fr); gap: 5px; } #packPz .po { font-size: 11px; margin-bottom: 4px; } #packPz .ps.alt { margin-top: 8px; padding: 6px 8px 2px; } #packPz .ps.alt .pi img { height: 26px; } #packPz .pi { padding: 4px; } #packPz .pi img { height: 30px; } #packPz .pi b { font-size: 10px; margin-top: 2px; } #packPz .pi i { font-size: 8px; margin-top: 2px; }
    #packPz .pf { margin-top: 6px; gap: 12px; } #packPz .pp b { font-size: 20px; } #packPz .pw { padding: 8px 16px; font-size: 12px; } #packPz .pn { margin-top: 4px; }
    #packPz .pt p, #packPz .pi i, #packPz .pp small { display: none; } #packPz .pi { padding: 3px; } #packPz .ps.alt .pl .pi { flex-basis: 96px; } #packPz .ps.alt .pi img { height: 24px; } #packPz .pf { margin-top: 4px; } #packPz .pk { max-height: 98vh; } #packPz h2 { font-size: 16px; } #packPz .po { margin-bottom: 2px; } #packPz .car button { width: 24px; height: 24px; font-size: 13px; } }
  #giftPz.pack .gp { border-color: #4fd2ff; background: radial-gradient(circle at 50% 0, #0f4a63 0, transparent 55%), linear-gradient(#1d2230, #12161f); box-shadow: 0 0 50px #4fd2ff44, 0 10px 40px #000; }
  #giftPz.pack h2 { color: #7fe3ff; text-shadow: 0 0 16px #22b8ff90; } #giftPz.pack .gi { border-color: #4fd2ff44; }
  #giftPz button.inv { margin-left: 10px; color: #fff; background: linear-gradient(#3fb6ff, #1572c9); box-shadow: 0 0 18px #2a9dff66; }
  .nw::after { content: 'NOVO'; position: absolute; right: 6px; bottom: 6px; z-index: 5; padding: 1px 6px; border-radius: 8px; font: 900 9px Tahoma, Arial; color: #1a1205; background: #ffd27a; box-shadow: 0 0 8px #ffb300; pointer-events: none; animation: pkGlow 1.6s ease-in-out infinite; }
  #giftPz { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: center; justify-content: center; background: #000c; font-family: Tahoma, Arial, sans-serif; color: #e9eef6; animation: gpIn .25s ease-out; }
  @keyframes gpIn { from { opacity: 0; } } @keyframes gpPop { from { opacity: 0; transform: translateY(10px) scale(.9); } }
  #giftPz .gp { position: relative; width: min(620px, 94vw); max-height: 94vh; overflow-y: auto; scrollbar-width: none; text-align: center; padding: 20px 22px 18px; box-sizing: border-box; border-radius: 10px;
    background: radial-gradient(circle at 50% 0, #5a4413 0, transparent 55%), linear-gradient(#1d2230, #12161f); border: 1px solid #c99a3a; box-shadow: 0 0 50px #ffcf5a40, 0 10px 40px #000; }
  #giftPz .gx { font-size: 46px; filter: drop-shadow(0 0 14px #ffcf5a); animation: rhFloat 2.4s ease-in-out infinite; }
  #giftPz h2 { margin: 2px 0 4px; font: 900 24px Tahoma; letter-spacing: 1px; color: #ffd76a; text-shadow: 0 0 16px #ffb30070; } #giftPz .gs { font-size: 13px; color: #b9c6da; margin-bottom: 12px; } #giftPz .gs b { color: #fff; }
  #giftPz .gl { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; max-height: calc(94vh - 250px); overflow-y: auto; padding: 2px; }
  #giftPz .gp { width: min(760px, 94vw); } #giftPz .gi img { height: 52px; }
  #giftPz .gi { padding: 10px 8px; border-radius: 8px; background: linear-gradient(#ffffff10, #ffffff05); border: 1px solid #ffd27a44; animation: gpPop .35s ease-out backwards; }
  #giftPz .gi img { width: 100%; height: 64px; object-fit: contain; filter: drop-shadow(0 0 8px #ffd27a60); } #giftPz .gi b { display: block; font-size: 13px; color: #fff; margin-top: 6px; }
  #giftPz .gi i { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 10px; font: 700 10px Tahoma; font-style: normal; color: #1a1205; background: #ffd27a; }
  #giftPz .gml { display: flex; gap: 10px; justify-content: center; margin-top: 12px; } #giftPz .gm { padding: 8px 18px; border-radius: 8px; background: #ffffff0d; border: 1px solid #ffffff1c; }
  #giftPz .gm b { display: block; font: 900 20px Tahoma; } #giftPz .gm span { font-size: 10px; color: #9fb0c8; } #giftPz .gm.c b { color: #7fd4ff; } #giftPz .gm.g b { color: #ffd76a; }
  #giftPz .gn { margin-top: 12px; font-style: italic; color: #e6dcc4; } #giftPz .gf { margin: 10px 0; font-size: 11px; color: #8fd18f; }
  #giftPz button { min-width: 180px; padding: 11px 26px; border: 0; border-radius: 6px; cursor: pointer; font: 900 15px Tahoma; color: #1a1205; background: linear-gradient(#ffe08a, #e8a92e 55%, #b97d12); box-shadow: 0 0 18px #e8a92e66; }
  .nsug { position: absolute; left: 0; top: 100%; z-index: 50; min-width: 100%; display: none; background: #15181e; border: 1px solid #4a5466; box-shadow: 0 4px 12px #000a; font: 12px Tahoma, sans-serif; }
  .nsug.up { top: auto; bottom: 100%; } .nsug div { padding: 4px 8px; color: #dfe6f0; cursor: pointer; white-space: nowrap; } .nsug div:hover { background: #2d4f86; color: #fff; }
  .cm-add .in { width: 100%; height: 100%; box-sizing: border-box; background: #0d1015; border: 1px solid #3a414d; color: #fff; padding: 0 6px; font: 12px Tahoma, sans-serif; }
  .t.msg b.ok, .t.msg b.bad { display: block; width: 100%; margin-top: 4px; } .t.msg b.ok { color: #8fd18f; } .t.msg b.bad { color: #ff7a7a; }
  .v37 .t.msg { white-space: normal; text-align: center; justify-content: center; align-items: flex-start; line-height: 15px; overflow: visible; }
  .v37 .card.sel { outline: 1px solid #6aa8ff; outline-offset: -1px; background: #3d6db433; }
  .v37 .card:hover { background: #ffffff10; }
  .v37 .card.ars { outline: 1px solid #f0c45a; outline-offset: -1px; }
  .v37 .ash { display: none; position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
  .v37 .card.ars.sel { outline-color: #6aa8ff; }
  .v37 .card.ars > .ash { display: block; }
  .v37 .ash::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(100deg, #ffe08a00, #ffe08a55, #ffe08a00); transform: translateX(-110%); animation: arsSh 3.4s ease-in-out infinite; will-change: transform; }
  .v37 .ash::after { content: ""; position: absolute; inset: 0; outline: 1px solid #ffe08a; outline-offset: -2px; opacity: .2; animation: arsGl 1.7s ease-in-out infinite alternate; }
  .v37 .ash > b { position: absolute; left: 4px; top: 19px; z-index: 1; padding: 0 3px; font: bold 9px/12px Tahoma, sans-serif; color: #f0c45a; background: #000b; text-shadow: 0 1px 1px #000; letter-spacing: .5px; }
  @keyframes arsSh { 0%, 55% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }
  @keyframes arsGl { to { opacity: .9; } }
  @media (prefers-reduced-motion: reduce) { .v37 .ash::before { display: none; } .v37 .ash::after { animation: none; opacity: .6; } }
  .v37 .hov:hover > .t { background: #ffffff14; }
  .v37 [data-n="lbCreateWin"] { z-index: 20; }
  .v37 .t.sm { font-size: 11px; }
  .chat { z-index: 1; position: absolute; overflow-y: auto; font-size: 12px; line-height: 16px; padding: 2px 6px; box-sizing: border-box; pointer-events: auto; scrollbar-width: none; }
  .chat::-webkit-scrollbar { display: none; }   /* a V37 ja' desenha a propria barra: sem a do navegador por cima */
  .chat .au { display: inline-block; padding: 0 8px; margin-left: 2px; border-radius: 8px; background: #2d4f86; color: #fff; cursor: pointer; } .chat .au.on { background: #3a8a4f; }
  .chat-mic { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); z-index: 3; cursor: pointer; font-size: 13px; line-height: 16px; padding: 0 4px; border-radius: 6px; user-select: none; touch-action: none; pointer-events: auto; }
  .chat-mic.rec { background: #c43030; color: #fff; font: 700 11px Tahoma; }
  .chat div { white-space: pre-wrap; } .chat .sys { color: #ff8a3d; } .chat .me { color: #9fd0ff; }
  .drop { position: absolute; background: #10151ef2; border: 1px solid #4b6a95; max-height: 260px; overflow-y: auto; z-index: 50; }
  .drop div { padding: 3px 8px; cursor: pointer; } .drop div:hover { background: #2c4f86; }
  #showroom { position: fixed; left: 0; top: 0; }
  .montar { position: absolute; left: 8px; top: 48px; padding: 3px 8px; font: 9px Tahoma; color: #e8c37a; background: #1a1408d9; border: 1px solid #8a6a2a;
    cursor: pointer; z-index: 5; letter-spacing: .3px; } .montar:hover { background: #3a2a10e6; }
  /* VITRINE NOVO & HOT da Loja Premium (client.js premiumVitrine): canto inferior esquerdo, ao lado do boneco; pele V37, sem gradiente/cantos */
  .ps-vit { position: absolute; left: 4px; width: 166px; z-index: 6; }
  .ps-vit .pi { position: absolute; left: 0; top: 0; width: 260px; transform-origin: 0 0; box-sizing: border-box; font-family: Tahoma, sans-serif; cursor: pointer; border-style: solid; border-width: 32px 10px 12px; border-image: url(/static/v37/skin/win.png) 32 10 50 fill / 32px 10px 12px; }
  .ps-vit .ph { position: absolute; left: 0; right: 0; top: -30px; height: 28px; display: flex; align-items: center; justify-content: center; font: 700 13px Tahoma; letter-spacing: 1px; }
  .ps-vit .ph b { color: #ffd76a; text-shadow: 0 1px 1px #000, 0 0 8px #f0c45a; animation: pvp 1.6s ease-in-out infinite; }
  .ps-vit .ps { position: relative; height: 124px; overflow: hidden; box-sizing: border-box; border-style: solid; border-width: 5px; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; }
  .ps-vit .pg { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 70% at 50% 52%, var(--c, #f0c45a), transparent 75%); opacity: .38; animation: pvg 2.6s ease-in-out infinite; }
  .ps-vit .pm { position: absolute; left: 50%; top: 50%; width: 226px; height: 104px; object-fit: contain; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 6px #000c) drop-shadow(0 0 7px var(--c, #f0c45a)); animation: pvf 3.2s ease-in-out infinite; }
  .ps-vit .pz { position: absolute; top: 0; bottom: 0; width: 60px; left: -90px; background: linear-gradient(100deg, transparent, #fff5, transparent); transform: skewX(-20deg); animation: pvs 3.4s linear infinite; }
  .ps-vit .pd { position: absolute; right: 0; top: 0; padding: 3px 7px; background: #c8201e; border: 1px solid #ff8a7a; color: #fff; font: 700 13px Tahoma; text-shadow: 0 1px 1px #000; }
  .ps-vit .pn { position: absolute; left: 0; top: 0; padding: 2px 6px; background: #0009; border: 1px solid #f0c45a; color: #ffd76a; font: 700 10px Tahoma; }
  .ps-vit .pt { margin-top: 7px; color: #fff; font: 700 14px Tahoma; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; text-shadow: 0 1px 1px #000, 0 0 6px #4b74b3; }
  .ps-vit .pp { margin-top: 3px; text-align: center; color: #8b96a8; font: 12px Tahoma; } .ps-vit .pp s { margin-right: 6px; } .ps-vit .pp b { color: #ffd76a; font: 700 18px Tahoma; text-shadow: 0 1px 1px #000; } .ps-vit .pp i { font-style: normal; color: #f0c45a; margin-left: 4px; }
  .ps-vit .pb { margin: 6px auto 0; width: 200px; height: 30px; box-sizing: border-box; line-height: 16px; text-align: center; color: #fff; font: 700 12px Tahoma; letter-spacing: .5px; text-shadow: 0 1px 1px #000; border-style: solid; border-width: 7px 9px; border-image: url(/static/v37/skin/wide_b.png) 7 9 fill / 7px 9px; }
  .ps-vit .pi:hover .pb { border-image-source: url(/static/v37/skin/wide_bp.png); }
  .ps-vit .pq { display: flex; gap: 4px; margin-top: 7px; }
  .ps-vit .pq u { flex: 1; min-width: 0; height: 36px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-style: solid; border-width: 5px; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; opacity: .6; }
  .ps-vit .pq u.on { opacity: 1; outline: 1px solid #f0c45a; } .ps-vit .pq img { max-width: 100%; max-height: 100%; }
  @keyframes pvf { 50% { transform: translate(-50%, -53%) scale(1.03); } } @keyframes pvg { 50% { opacity: .2; } } @keyframes pvs { 0% { left: -90px; } 45%, 100% { left: 300px; } } @keyframes pvp { 50% { color: #fff; } }
  .rflag { display: none; position: absolute; left: 3px; top: 50%; width: 15px; height: 10px; margin-top: -5px; outline: 1px solid #000; }
  .rflag.br { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'%3E%3Crect width='15' height='10' fill='%23009b3a'/%3E%3Cpath d='M7.5 1L14 5 7.5 9 1 5z' fill='%23fedf00'/%3E%3Ccircle cx='7.5' cy='5' r='2.1' fill='%23002776'/%3E%3C/svg%3E"); } .rflag.id { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'%3E%3Crect width='15' height='10' fill='%23fff'/%3E%3Crect width='15' height='5' fill='%23ce1126'/%3E%3C/svg%3E"); }
  /* tela larga (v37.js stage): molduras esticam, texto e icone pequeno voltam a' proporcao */
  #stage.ax .v37 .t { width: calc(100% / var(--ax)) !important; transform: scaleX(var(--ax)); transform-origin: 0 50%; }
  #stage.ax .chat { transform: scaleX(var(--ax)); transform-origin: 0 0; }
  #stage.ax .hm-home, #stage.ax .montar { transform: scaleX(var(--ax)); transform-origin: 0 50%; box-sizing: border-box; text-align: center; }
  #stage.ax .cv-btn { position: absolute; }
  .hasrf { background: none !important; } .rkf, .rkf b { position: absolute; inset: 0; pointer-events: none; } .rkf b { background: center/100% 100% no-repeat; }
  .rkf b:first-child { animation: rkfR 6s linear infinite; } .rkf b + b { background-size: 100% 70%; animation: rkfF 6s linear infinite; }
  @keyframes rkfF { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } } @keyframes rkfR { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
  .rflag.sg { display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'%3E%3Crect width='15' height='10' fill='%23fff'/%3E%3Crect width='15' height='5' fill='%23ef3340'/%3E%3Ccircle cx='3.6' cy='2.5' r='1.7' fill='%23fff'/%3E%3Ccircle cx='4.3' cy='2.5' r='1.5' fill='%23ef3340'/%3E%3C/svg%3E"); }
  #stage.ax .v37 .ic, #stage.ax .rflag { transform: scaleX(var(--ax)); transform-origin: 50% 50%; } #stage.ax .v37 .ic .ic { transform: none; }
  #stage.ax .v37 .ic .t { transform: none; width: 100% !important; }
  [data-n^=lbSlotMode] .newtag { position: absolute; right: 1px; top: 1px; margin: 0; font-size: 7px; line-height: 9px; padding: 0 2px; }
  #stage.ax [data-n^=lbSlotMode] .newtag { transform: scaleX(var(--ax)); transform-origin: 100% 0; }
  [data-n=cmContactTab] > .s, [data-n=cmNoteTab] > .s { display: none; }
  [data-n=cmContactTab], [data-n=cmNoteTab] { box-sizing: border-box; border-style: solid; border-width: 6px 8px; border-image: url(/static/v37/skin/tab.png) 6 8 fill / 6px 8px; }
  /* slots da sala: patente maior, namecard ocupa a linha ate' o selo de estado, nick forte */
  [data-n^=rrRedRank]:not([data-n*=Beginner]), [data-n^=rrBlueRank]:not([data-n*=Beginner]) { transform: scale(1.2) !important; }
  #stage.ax [data-n^=rrRedRank]:not([data-n*=Beginner]), #stage.ax [data-n^=rrBlueRank]:not([data-n*=Beginner]) { transform: scale(calc(var(--ax) * 1.2), 1.2) !important; }
  [data-n^=rrRedNickname], [data-n^=rrBlueNickname] { width: 140px !important; height: 23px !important; margin-top: -1px; }
  [data-n^=rrRedNickname] .t, [data-n^=rrBlueNickname] .t { font-weight: 700; text-shadow: 0 1px 1px #000, 0 0 4px #000; }
  [data-n^=rrRedNickname][data-card]:not([data-card='']), [data-n^=rrBlueNickname][data-card]:not([data-card='']) { outline: 1px solid #f0c45a99; outline-offset: -1px; }
  [data-n^=rrRedOpen].pl > .s, [data-n^=rrBlueOpen].pl > .s { filter: brightness(1.55) saturate(1.25); }
  #chara3d { position: absolute; left: 6px; top: 40px; width: 372px; height: 392px; }
  .cbtn { position: absolute; width: 28px; height: 28px; border-radius: 3px; background: #1c2a40cc; border: 1px solid #4b6a95; color: #cfe2ff;
    font: bold 16px Tahoma; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; }
  .cbtn:hover { background: #2c4f86; }
  .cname { position: absolute; left: 6px; width: 372px; top: 400px; text-align: center; font: bold 14px Tahoma; color: #fff; text-shadow: 0 1px 2px #000; z-index: 5; }
  #toast { position: absolute; left: 50%; top: 360px; transform: translateX(-50%); background: #000d; border: 1px solid #4b6a95; padding: 8px 16px; display: none; z-index: 99; }
  #loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; color: #9ab; font: 14px Tahoma; z-index: 100; }
  .t.mark1, .t.mark2 { font: bold 10px Tahoma; color: #fff; border-radius: 2px; padding: 0 2px; } .t.mark1 { background: #1f8a2e; } .t.mark2 { background: #c0262c; }

  @font-face { font-family: Rajdhani; src: url(/rml/fonts/Rajdhani-SemiBold.ttf); }
  /* CLA (clan.js): combo, quadros de texto, chat, efeitos do brasao (item 1600193) */
  .v37 select.csel { position: absolute; inset: 0; width: 100%; height: 100%; background: #10141a; color: #e6e6e6; border: 1px solid #3a414d; font: 11px Tahoma, sans-serif; pointer-events: auto; }
  .v37 .cbox { position: absolute; inset: 4px; overflow: auto; color: #d7d7d7; font: 12px/16px Tahoma, sans-serif; white-space: pre-wrap; pointer-events: auto; background: transparent; border: 0; resize: none; outline: 0; }
  .v37 textarea.cbox { background: #0b0e13aa; border: 1px solid #2c333d; }
  .v37 .cchat { position: absolute; inset: 0; overflow-y: auto; padding: 3px 6px; color: #d7d7d7; font: 12px/16px Tahoma, sans-serif; pointer-events: auto; }
  .v37 .cchat b { color: #ffd34a; } .v37 .cchat .sys { color: #8fb8ff; }
  .v37 .cmsel { outline: 2px solid #ffd34a; }
  .cmfx { animation: cmfx1 1.6s ease-in-out infinite; }
  .cmfx[data-fx="1"] { --c1: #ffd34a; --c2: #ff9d00; } .cmfx[data-fx="2"] { --c1: #ff5a00; --c2: #ff1e00; animation-duration: .45s; }
  .cmfx[data-fx="3"] { --c1: #8fe9ff; --c2: #2f9dff; } .cmfx[data-fx="4"] { --c1: #ff3df5; --c2: #2ef2ff; animation-duration: .9s; }
  .cmfx[data-fx="5"] { --c1: #ff3d3d; --c2: #3dff6e; animation: cmfx5 2.4s linear infinite; } .cmfx[data-fx="6"] { --c1: #ffffff; --c2: #9ad8ff; animation: cmfx6 1.8s steps(1) infinite; }
  @keyframes cmfx1 { 0%, 100% { filter: drop-shadow(0 0 1px var(--c1)) drop-shadow(0 0 3px var(--c2)); } 50% { filter: drop-shadow(0 0 3px var(--c1)) drop-shadow(0 0 7px var(--c2)); } }
  @keyframes cmfx5 { from { filter: drop-shadow(0 0 3px #f33) drop-shadow(0 0 5px #f33) hue-rotate(0deg); } to { filter: drop-shadow(0 0 3px #f33) drop-shadow(0 0 5px #f33) hue-rotate(360deg); } }
  @keyframes cmfx6 { 0%, 70%, 80% { filter: drop-shadow(0 0 2px var(--c2)); } 72%, 85% { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 10px var(--c2)) brightness(1.6); } }
  .cfxg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .cfxc { display: flex; align-items: center; gap: 5px; padding: 3px; border: 1px solid #2c333d; cursor: pointer; font-size: 11px; }
  .cfxc.on { border-color: #ffd34a; background: #ffd34a22; } .cfxc i { display: block; width: 26px; height: 26px; flex: none; }
  .cmark { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 3px; background-size: contain; }
  /* HOME (client.js showHome): janelas no estilo do lobby V37 (moldura escura, faixa azul de titulo, botoes chanfrados) */
  .hm-win { position: absolute; z-index: 2; box-sizing: border-box; background: linear-gradient(#1d2129f2, #15181ef2); border: 1px solid #070809;
    box-shadow: inset 0 0 0 1px #3a414d, 0 2px 8px #000a; border-radius: 4px; pointer-events: auto; display: flex; flex-direction: column; }
  .hm-cap { flex: none; height: 24px; line-height: 24px; padding: 0 10px; font: 700 12px Tahoma, sans-serif; color: #fff; letter-spacing: .3px;
    background: linear-gradient(#3d5c8e, #22385c 55%, #1b2c49); border-bottom: 1px solid #0a1220; border-radius: 3px 3px 0 0; text-shadow: 0 1px 0 #000; }
  .hm-cap.c { text-align: center; } .hm-cap span { margin-left: 8px; font-weight: 400; color: #b9c8e2; font-size: 11px; }
  .hm-tabs { flex: none; display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid #3a414d; }
  .hm-tabs b { padding: 4px 14px; font: 700 11px Tahoma, sans-serif; color: #aab4c4; background: linear-gradient(#33383f, #23272d); border: 1px solid #0b0c0e;
    border-bottom: 0; border-radius: 3px 3px 0 0; cursor: pointer; } .hm-tabs b:hover { color: #fff; }
  .hm-tabs b.on { color: #fff; background: linear-gradient(#4a6ea8, #2a4675); }
  .hm-body { flex: 1; overflow: auto; padding: 12px 16px; font: 12px/1.55 Tahoma, sans-serif; color: #cfd6e0; }
  .hm-body h2 { margin: 0 0 8px; font: 700 16px Tahoma, sans-serif; color: #ffd27a; text-shadow: 0 1px 0 #000; }
  .hm-body p { margin: 0 0 8px; } .hm-body ul { margin: 0 0 10px; padding-left: 18px; } .hm-body li { margin-bottom: 4px; } .hm-body b { color: #fff; }
  .hm-note { color: #9aa5b5; font-size: 11px; } .hm-cta { text-align: center; margin-top: 12px; }
  .hm-btn { padding: 6px 18px; font: 700 12px Tahoma, sans-serif; color: #e9edf3; cursor: pointer; border: 1px solid #0b0c0e; border-radius: 3px;
    background: linear-gradient(#5a5f67, #3a3e45 50%, #2c2f35); box-shadow: inset 0 1px 0 #7c828b; text-shadow: 0 1px 0 #000; }
  .hm-btn:hover { filter: brightness(1.15); } .hm-btn:active { filter: brightness(.9); } .hm-btn:disabled { opacity: .5; cursor: default; }
  .hm-btn.blue { background: linear-gradient(#4b74b3, #2d4f86 50%, #22406f); box-shadow: inset 0 1px 0 #7fa0d6; }
  .hm-dl { margin: 10px 0; padding: 10px 12px; border-radius: 6px; background: #ffffff0a; border: 1px solid #ffffff18; } .hm-dl a { text-decoration: none; display: inline-block; margin: 4px 4px 0 0; }
  .hm-dl i { display: block; margin-top: 6px; font-size: 11px; color: #8fa0b8; font-style: normal; } .hm-dl.pulse { animation: dlP 1s 2; } @keyframes dlP { 50% { box-shadow: 0 0 0 3px #ffd27a; } }
  .hm-rank td.hm-nc { padding: 0 6px 0 14px; min-width: 170px; height: 34px; text-align: left; } .hm-rank td.hm-nc span { font: 700 14px Tahoma; text-shadow: 0 0 3px #000, 0 1px 2px #000; }
  .hm-rank tr.top1 td:first-child { color: #ffd76a; font-weight: 900; } .hm-rank tr.top2 td:first-child { color: #d9e2ee; font-weight: 900; } .hm-rank tr.top3 td:first-child { color: #d99a5b; font-weight: 900; }
  .hm-btn.wpp { background: linear-gradient(#3fc46a, #22964a 50%, #1a7a3b); box-shadow: inset 0 1px 0 #7fe3a0; color: #fff; }
  .hm-btn.big { padding: 10px 46px; font-size: 15px; }
  .hm-rank { width: 100%; border-collapse: collapse; font-size: 12px; }
  .hm-rank th { padding: 4px; color: #fff; background: linear-gradient(#2e3747, #222936); border: 1px solid #0d1015; font-weight: 700; }
  .hm-rank td { padding: 3px 6px; border-bottom: 1px solid #2a2f37; text-align: center; } .hm-rank td:nth-child(3) { text-align: left; color: #fff; }
  .hm-rank tr:nth-child(2) td:first-child { color: #ffd27a; font-weight: 700; } .hm-empty { padding: 20px !important; color: #8a93a3; }
  /* top 3 do ranking: realce discreto no estilo V37 (faixa da medalha a esquerda + brilho leve que some na linha) */
  .hm-rank tr.top1 { --mc: #ffd76a; } .hm-rank tr.top2 { --mc: #c9d4e2; } .hm-rank tr.top3 { --mc: #d99a5b; }
  .hm-rank tr[class^=top] td { background: linear-gradient(90deg, color-mix(in srgb, var(--mc) 13%, transparent), transparent 75%); border-bottom-color: color-mix(in srgb, var(--mc) 22%, #2a2f37); }
  .hm-rank tr[class^=top] td:first-child { color: var(--mc); font-weight: 900; box-shadow: inset 3px 0 0 var(--mc); text-shadow: 0 0 6px color-mix(in srgb, var(--mc) 55%, transparent), 0 1px 1px #000; }
  .hm-rank tr[class^=top] .hm-pat { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--mc) 60%, transparent)); }
  /* vaga da sala de quem esta' no top 10 do ranking: brilho dourado discreto na linha + selo TOP n a direita */
  .c.top10 { --mc: #c9d4e2; box-shadow: inset 2px 0 0 var(--mc), inset 0 0 14px color-mix(in srgb, var(--mc) 18%, transparent); }
  .c.top10.top3 { --mc: #ffd76a; }
  .c.top10::after { content: attr(data-top); position: absolute; right: 4px; top: 50%; transform: translateY(-50%); z-index: 3; pointer-events: none;
    font: 900 8px Tahoma, sans-serif; letter-spacing: .5px; color: var(--mc); padding: 1px 3px; border: 1px solid color-mix(in srgb, var(--mc) 55%, transparent);
    border-radius: 2px; background: #0009; text-shadow: 0 0 4px color-mix(in srgb, var(--mc) 60%, transparent); }
  /* Informacao Detalhada da sala minimizada: desce ate' sobrar so' a barra do titulo */
  [data-n="rrRecordWin"] { transition: transform .18s ease-out, clip-path .18s ease-out; clip-path: inset(0 0 0 0); }
  [data-n="rrRecordWin"].rec-mini { transform: translateY(238px); clip-path: inset(0 0 calc(100% - 39px) 0); }   /* sobra moldura + titulo (39 px) no fim da janela */
  /* mapa com evento de XP na aba Modos e mapas: moldura dourada + selo */
  .hm-maps > div.xp { outline: 2px solid #ffd76a; box-shadow: 0 0 10px #ffd76a66; position: relative; }
  .hm-maps > div.xp em { position: absolute; top: 4px; right: 4px; font: 900 10px Tahoma; font-style: normal; color: #1a1200; background: #ffd76a; padding: 1px 5px; border-radius: 2px; }
  .hm-pat { display: inline-block; width: 20px; height: 20px; background: center/contain no-repeat; vertical-align: middle; }
  .hm-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
  .hm-modes div { padding: 8px; background: #0f1217; border: 1px solid #2f3540; border-radius: 3px; } .hm-modes b { display: block; color: #ffd27a; }
  .hm-modes span { font-size: 11px; color: #9aa5b5; }
  .hm-maps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .hm-maps div { position: relative; height: 62px; background: #0b0d10 center/cover no-repeat; border: 1px solid #2f3540; border-radius: 2px; }
  .hm-maps span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 4px; font-size: 10px; color: #fff; background: #000a; }
  .hm-st { padding: 10px 14px; } .hm-st div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #2a2f37; font-size: 12px; }
  .hm-st span { color: #9aa5b5; } .hm-st b { color: #fff; } .hm-st b.g { color: #5fe07a; } .hm-st .hm-ev b { color: #ffd27a; text-align: right; max-width: 60%; }
  .hm-adm h2 { font-size: 14px !important; margin: 4px 0 8px !important; } .hm-adm .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
  .hm-adm label { color: #9aa5b5; } .hm-adm .ck { display: block; margin-bottom: 8px; color: #fff; }
  .hm-adm input:not([type=checkbox]), .hm-adm select { margin-left: 6px; padding: 3px 6px; color: #fff; background: #0e1219; border: 1px solid #3a4352; border-radius: 3px; font: 12px Tahoma, sans-serif; }
  .hm-adm input[data-k=event_name] { width: 260px; } .hm-adm .msg { color: #ffd27a; }
  .hm-adm .rp { padding: 6px 8px; margin-bottom: 6px; background: #0f1217; border: 1px solid #2f3540; border-radius: 3px; } .hm-adm .rp.resolvido, .hm-adm .rp.ignorado { opacity: .5; }
  .hm-adm .rp .hd { font-size: 11px; color: #9aa5b5; } .hm-adm .rp .tx { margin: 4px 0; color: #fff; white-space: pre-wrap; } .hm-adm .rp .cx { font-size: 11px; color: #6f7a8a; }
  .hm-main.adm-wide { left: 8px !important; top: 8px !important; width: 1008px !important; height: 690px !important; z-index: 6; }
  .hm-main.adm-wide .adm-grid { max-height: none; }
  .hm-adm .adm-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; border-bottom: 1px solid #2f3540; padding-bottom: 6px; }
  .hm-adm .adm-tabs b { padding: 4px 10px; font-size: 12px; color: #9aa5b5; background: #1a1e25; border: 1px solid #2f3540; border-radius: 3px; cursor: pointer; }
  .hm-adm .adm-tabs b.on { color: #fff; background: linear-gradient(#4b74b3, #22406f); border-color: #0b0c0e; }
  .hm-adm .adm-hint { color: #7d8898; font-size: 11px; } .hm-adm .ck2 { color: #cfd6e0; }
  .hm-adm .adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; max-height: 340px; overflow: auto; padding-right: 4px; }
  .hm-adm .adm-it { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; background: #0f1217; border: 1px solid #2f3540; border-radius: 3px; cursor: pointer; text-align: center; }
  .hm-adm .adm-it:hover { border-color: #ffd27a; background: #161b23; } .hm-adm .adm-it img { width: 96px; height: 48px; object-fit: contain; }
  .hm-adm .adm-it span { font-size: 11px; color: #fff; line-height: 1.2; max-height: 2.4em; overflow: hidden; } .hm-adm .adm-it i, .hm-adm .adm-pi i { font-size: 10px; color: #6f7a8a; font-style: normal; display: block; }
  .hm-adm .adm-pick { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; max-height: 260px; overflow: auto; }
  .hm-adm .adm-pi { display: flex; align-items: center; gap: 8px; padding: 3px 6px; background: #0f1217; border: 1px solid #2f3540; border-radius: 3px; }
  .hm-adm .adm-pi img { width: 72px; height: 36px; object-fit: contain; } .hm-adm .adm-pi span { flex: 1; } .hm-adm .adm-pi em { color: #ffd27a; font-style: normal; }
  .hm-adm .adm-pi button, .hm-adm .adm-chip { font: 11px Tahoma; color: #ddd; background: #2c3038; border: 1px solid #0b0c0e; border-radius: 2px; cursor: pointer; padding: 2px 8px; }
  .hm-adm .adm-chip { display: inline-block; margin: 0 4px 4px 0; } .hm-adm .adm-chip:hover { border-color: #ffd27a; }
  .hm-adm .adm-log { width: 100%; border-collapse: collapse; font-size: 11px; } .hm-adm .adm-log td, .hm-adm .adm-log th { padding: 4px 6px; border-bottom: 1px solid #2a2f37; text-align: left; vertical-align: top; }
  .hm-adm .adm-log th { color: #9aa5b5; } .hm-adm code { color: #ffd27a; }
  .hm-adm .rp .bt { float: right; } .hm-adm .rp .bt button { margin-left: 4px; font: 11px Tahoma; color: #ddd; background: #2c3038; border: 1px solid #0b0c0e; border-radius: 2px; cursor: pointer; }
  .hm-bar { position: absolute; z-index: 2; box-sizing: border-box; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 18px;
    background: linear-gradient(#3b4250, #20252e 45%, #161a20); border-top: 1px solid #5a6475; box-shadow: 0 -2px 6px #0008; pointer-events: auto; }
  .hm-bar .hm-who { flex: 1; color: #c6cfdc; font-size: 12px; } .hm-bar .hm-who b { color: #ffd27a; } .hm-bar .hm-btn { min-width: 120px; padding: 8px 18px; }
  .hm-bar .hm-lang { background: #10151d; color: #c6cfdc; border: 1px solid #3a4352; border-radius: 4px; padding: 6px; font-size: 12px; max-width: 150px; }
  .hm-home { position: absolute; left: 176px; top: 5px; z-index: 6; padding: 2px 10px; font: 700 10px Tahoma, sans-serif; color: #e9edf3; cursor: pointer;
    background: linear-gradient(#4b74b3, #22406f); border: 1px solid #0b0c0e; border-radius: 3px; pointer-events: auto; } .hm-home:hover { filter: brightness(1.15); }
  /* botoes do topo do lobby (HOME, RANKEADA, TREINO, RANKING, DENUNCIAS, ADMIN) e a coluna do celular (#tTop) com o botao da V37:
     a cor fica no texto, como os botoes do PB (dono 15/10) */
  .hm-home, #tTop .tt-btn { background: none !important; border-style: solid; border-width: 6px 8px; border-radius: 0; border-image: url(/static/v37/skin/btn.png) 7 9 fill / 6px 8px;
    box-shadow: none; text-shadow: 0 1px 1px #000; color: #e9edf3; }
  .hm-home { top: 3px; padding: 0 2px; line-height: 12px; }
  .hm-home:hover, #tTop .tt-btn:hover { filter: none; border-image-source: url(/static/v37/skin/btn_h.png); }
  .hm-home:active, #tTop .tt-btn:active { filter: none; border-image-source: url(/static/v37/skin/btn_p.png); }
  .rk-btn, #tTop .tt-btn.rk { color: #ffd34a !important; } .tr-btn { color: #7dffb0 !important; } .rkg-btn, #tTop .tt-btn.rkg { color: #cbb0ff !important; }
  .dn-btn, #tTop .tt-btn.dn { color: #ff9a8f !important; } .adm-btn, #tTop .tt-btn.adm { color: #ffd27a !important; }
  /* celular (dono 15/10): coluna de botoes da V37 no canto esquerdo, um embaixo do outro -- icone desenhado (client.js TT_ICO) + nome */
  #tTop { display: flex; flex-direction: column; gap: clamp(2px, 0.8dvh, 4px); left: calc(env(safe-area-inset-left) + 4px); max-height: calc(100dvh - 8px); overflow-y: auto; scrollbar-width: none; }
  #tTop::-webkit-scrollbar { display: none; }
  #tTop .tt-btn { flex: none; width: 56px; height: clamp(32px, calc((100dvh - 24px) / 8.4), 46px); min-height: 0; padding: 0; border-width: 7px 6px; border-image-width: 7px 6px; opacity: 1; filter: drop-shadow(0 2px 3px #000c);
    flex-direction: column; gap: 2px; font: 700 8.5px/1 Tahoma, sans-serif; text-align: center; }
  #tTop .tt-btn svg { width: clamp(13px, 2.6dvh, 18px); height: clamp(13px, 2.6dvh, 18px); flex: none; fill: currentColor; filter: drop-shadow(0 1px 1px #000); }
  #tTop .tt-btn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #tTop .tt-btn.rk { order: -1; height: clamp(34px, calc((100dvh - 24px) / 7.6), 50px); border-image-source: url(/static/v37/skin/wide_b.png); color: #fff !important; text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; }
  #tTop .tt-btn.rk svg { width: 20px; height: 20px; fill: #ffd34a; animation: ttStar 2s ease-in-out infinite; } @keyframes ttStar { 50% { transform: scale(1.2); filter: drop-shadow(0 0 5px #ffd34a); } }
  #tTop .tt-btn.rk:active { border-image-source: url(/static/v37/skin/wide_bp.png); }
  #tTop .tt-btn.cr { color: #cfd6e2; } #tTop .tt-btn.cr.on { color: #6fe08c; }
  /* HOME NO CELULAR (client.js homeMobile): mesmas janelas V37 em tamanho real por cima do showroom (peito para cima) */
  #hmM { position: fixed; inset: 0; z-index: 5; font: 13px Tahoma, sans-serif; color: #cfd6e0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  #stage #toast { visibility: visible; }
  /* home nova (#hmM por cima do palco escondido): popups de confirmacao do palco (admin, perfil...) ficam por cima dela */
  body.hm-mob #stage { z-index: 60; } body.hm-mob #stage > .popw, body.hm-mob #stage > .modal { visibility: visible; }
  /* aviso de confirmacao aberto de dentro do campeonato/ranking/loja premium/perfil (client.js popupWin): por cima dessas janelas */
  body.pop-top #stage { z-index: 9500; visibility: hidden; } body.pop-top #stage > .popw, body.pop-top #stage > .modal, body.pop-top #stage > .drop, body.pop-top #stage #toast { visibility: visible; }
  #hmM .hm-win { position: absolute; }
  #hmM .hm-main { right: max(8px, env(safe-area-inset-right)); top: 8px; bottom: 64px; width: min(58vw, 600px); }
  #hmM .hm-cap { height: 30px; line-height: 30px; font-size: 13px; }
  #hmM .hm-tabs { gap: 3px; padding: 6px 8px 0; overflow-x: auto; flex-wrap: nowrap; }
  #hmM .hm-tabs b { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
  #hmM .hm-body { padding: 10px 12px; font-size: 13px; -webkit-overflow-scrolling: touch; }
  #hmM .hm-body h2 { font-size: 15px; }
  #hmM .hm-body ul { padding-left: 16px; }
  #hmM .hm-btn { min-height: 42px; padding: 8px 18px; font-size: 13px; }
  #hmM .hm-btn.big { padding: 10px 34px; font-size: 15px; }
  #hmM .hm-modes { grid-template-columns: 1fr; }
  #hmM .hm-maps { grid-template-columns: repeat(3, 1fr); }
  #hmM .hm-rank { font-size: 12px; }
  /* servidor: faixa compacta no canto de cima, sobre o showroom */
  #hmM .hm-stw { left: max(8px, env(safe-area-inset-left)); top: 8px; width: auto; max-width: 40vw; background: #0d1016cc; }
  #hmM .hm-stw .hm-cap { display: none; }
  #hmM .hm-st { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 6px 10px; }
  #hmM .hm-st div { display: block; padding: 0; border: 0; font-size: 12px; }
  #hmM .hm-st span { margin-right: 4px; }
  #hmM .hm-st div:nth-child(1) span { display: none; }
  #hmM .hm-bar { position: absolute; left: 0; right: 0; bottom: 0; height: calc(56px + env(safe-area-inset-bottom)); padding: 0 max(12px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(12px, env(safe-area-inset-left)); }
  #hmM .hm-bar .hm-who { font-size: 12px; } #hmM .hm-bar .hm-btn { min-width: 110px; }
  body.hm-mob #rpBtn { top: auto; right: auto; left: max(8px, env(safe-area-inset-left)); bottom: calc(64px + env(safe-area-inset-bottom)); }
  /* em pe: personagem em cima, janela embaixo ocupando a largura */
  #hmM.port .hm-main { left: 8px; right: 8px; width: auto; top: 44vh; }
  /* ADMIN no celular: a janela de 1008x690 do PC passava da tela (cortava abas, botao fechar e o rodape). Aqui ocupa a tela toda */
  #hmM .hm-main.adm-wide, #hmM.port .hm-main.adm-wide { left: max(4px, env(safe-area-inset-left)) !important; right: max(4px, env(safe-area-inset-right)) !important;
    top: 4px !important; bottom: 4px !important; width: auto !important; height: auto !important; z-index: 70; }
  body:has(#hmM .adm-wide) #rpBtn { display: none; }     /* o "Reportar" flutuante cobria os campos do admin */
  #hmM .hm-adm .adm-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }   /* subabas numa linha que rola de lado */
  #hmM .hm-adm .adm-tabs b { flex: none; white-space: nowrap; }
  /* fechar o admin (o painel cobre a barra JOGAR/SAIR): o X volta para "O jogo"; so' aparece com o admin aberto no celular */
  .hm-tabs .adm-x { display: none; } #hmM .adm-wide .hm-tabs .adm-x { display: block; margin-left: auto; color: #ff8a80; font-weight: 700; padding-left: 18px; padding-right: 18px; }
  #hmM .hm-adm .adm-tabs { scrollbar-width: none; } #hmM .hm-adm .adm-tabs::-webkit-scrollbar { display: none; }
  /* campos com largura fixa do PC (style width: 520px...) e tabelas largas: cabem na tela; a tabela rola de lado sozinha */
  #hmM .hm-adm input:not([type=checkbox]):not([type=radio]), #hmM .hm-adm select, #hmM .hm-adm textarea, #hmM .hm-adm label { max-width: 100%; box-sizing: border-box; }
  #hmM .hm-adm .adm-log { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #hmM .hm-adm .adm-tt { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  #hmM.port .hm-stw { max-width: none; right: 100px; }
  body.hm-port #rpBtn { top: 10px; bottom: auto; left: auto; right: 8px; }
  #hmM.port .hm-bar .hm-who { display: none; }
  #hmM.port .hm-bar { gap: 6px; padding-left: 8px; padding-right: 8px; } #hmM.port .hm-bar .hm-btn { flex: 1 1 0; min-width: 0; padding: 6px 4px; font-size: 11px; line-height: 1.2; }
  body.hm-mob #hmLogin .box { width: min(360px, calc(100vw - 32px)); }
  body.hm-mob #hmLogin input:not([type=checkbox]) { font-size: 16px; padding: 10px; }   /* 16px: o iPhone nao da zoom no campo */
  body.hm-mob #hmLogin .hm-btn { min-height: 44px; }
  #hmLogin { overflow-y: auto; -webkit-overflow-scrolling: touch; } #hmLogin .box { margin: auto; flex: none; }   /* 23/10: celular deitado + teclado: a janela rola (loginModal ajusta ao visualViewport) */
  @media (max-height: 500px) {
    body.hm-mob #hmLogin .in { padding: 8px 16px 10px; }
    body.hm-mob #hmLogin input:not([type=checkbox]) { padding: 6px 10px; margin-bottom: 6px; }
    body.hm-mob #hmLogin label { margin-bottom: 2px; } body.hm-mob #hmLogin .sw { margin-top: 6px; } body.hm-mob #hmLogin .err { min-height: 0; }
  }
  /* HOME com a PELE DA V37 (dono 15/10: "copiar o estilo da v37"): pecas recortadas do ui_source01 em static/v37/skin
     (janela lbInfoWin, botao lbNicknameConfirm, botao largo rrRankUpConfirm, aba lbChatTab, moldura lbUserListFrame, logo da menubar) */
  .hm-btn { border-style: solid; border-width: 7px 9px; border-radius: 0; border-image: url(/static/v37/skin/btn.png) 7 9 fill / 7px 9px;
    background: none; box-shadow: none; padding: 1px 8px; color: #eef1f5; font: 700 12px Tahoma, sans-serif; text-shadow: 0 1px 1px #000; }
  .hm-btn:hover { filter: none; border-image-source: url(/static/v37/skin/btn_h.png); }
  .hm-btn:active { filter: none; border-image-source: url(/static/v37/skin/btn_p.png); }
  .hm-btn.blue, .hm-btn.wpp { background: none; box-shadow: none; }
  .hm-btn.blue { border-image-source: url(/static/v37/skin/wide_b.png); color: #fff; text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; }
  .hm-btn.blue:hover { filter: brightness(1.18); } .hm-btn.blue:active { filter: none; border-image-source: url(/static/v37/skin/wide_bp.png); }
  .hm-btn.wpp { color: #9df0b4; } .hm-btn.wpp::before { content: '● '; color: #3fd27a; }
  .hm-win { background: none; border: 0; border-radius: 0; box-shadow: none; isolation: isolate; filter: drop-shadow(0 4px 10px #000c); }
  .hm-win::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-style: solid; border-width: 32px 10px 50px;
    border-image: url(/static/v37/skin/win.png) 32 10 50 fill / 32px 10px 50px; opacity: .97; }
  .hm-cap { height: 30px; line-height: 32px; padding: 0 14px; background: none; border: 0; font: 700 12px Tahoma, sans-serif; color: #fff; text-shadow: 0 1px 1px #000, 0 0 6px #4b74b3; }
  .hm-cap span { color: #9fb2cf; }
  .hm-tabs { border: 0; padding: 6px 10px 0; gap: 3px; box-shadow: inset 0 -1px 0 #4a5a75; }
  .hm-tabs b { border-style: solid; border-width: 6px 8px; border-radius: 0; border-image: url(/static/v37/skin/tab.png) 6 8 fill / 6px 8px; background: none;
    padding: 0 6px 1px; font: 700 11px Tahoma, sans-serif; color: #9aa5b5; text-shadow: 0 1px 1px #000; }
  .hm-tabs b.on { background: none; border-image-source: url(/static/v37/skin/tab_on.png); color: #fff; text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; }
  .hm-body { margin: 0 6px 8px; }
  .hm-body h1 { margin: 0 0 8px; font: 700 16px Tahoma, sans-serif; color: #ffd27a; text-shadow: 0 1px 0 #000; }
  .hm-body h2 { margin-top: 14px; } .hm-body h3 { margin: 10px 0 2px; font: 700 13px Tahoma, sans-serif; color: #fff; }
  .hm-body h2, .hm-2col h3 { font: 700 15px Tahoma, sans-serif; color: #ffd27a; letter-spacing: 0; text-transform: none; }
  .hm-dl, .hm-recruit, .hm-modes div { border-style: solid; border-width: 5px; border-radius: 0; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px;
    background: none; box-shadow: none; clip-path: none; padding: 6px 9px; }
  .hm-rank th { background: linear-gradient(#4a5160, #2b3039 55%, #22262e); border: 1px solid #0b0c0e; text-shadow: 0 1px 1px #000; }
  .hm-rank tr:nth-child(odd) td { background-color: #ffffff05; }
  .hm-bar { background: linear-gradient(#3a414d, #1f242c 40%, #14171c); border-top: 1px solid #6b7686; box-shadow: 0 -2px 8px #000a; }
  .hm-bar .hm-lang { border-radius: 0; border: 1px solid #0b0c0e; background: linear-gradient(#2b3039, #1a1d23); }
  #hmM .hm-stw { background: none; }
  #hmM .hm-stw::before { border-image-source: url(/static/v37/skin/frame.png); border-image-slice: 5 fill; border-width: 5px; border-image-width: 5px; }
  #hmM .hm-st b.g::first-letter { animation: hmLive 1.4s infinite; } @keyframes hmLive { 50% { opacity: .3; } }
  /* celular: alvos de toque de 44px, o JOGAR/ENTRAR maior */
  #hmM .hm-btn { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; vertical-align: middle; }
  #hmM .hm-btn.blue { min-width: 140px; font-size: 15px; letter-spacing: 1px; }
  #hmM .hm-dl a.hm-btn { margin: 6px 6px 0 0; }
  /* barra de rolagem da V37 em todo o site (lbUserListScroll: fundo, barra, setas do ui_source01) */
  ::-webkit-scrollbar { width: 17px; height: 12px; } ::-webkit-scrollbar-corner { background: #0d0f12; }
  ::-webkit-scrollbar-track { background: url(/static/v37/skin/sb_bg.png) 0 0 / 100% 100%; }
  ::-webkit-scrollbar-thumb { min-height: 34px; border-style: solid; border-width: 9px 0; border-image: url(/static/v37/skin/sb_bar.png) 9 0 fill / 9px 0; }
  ::-webkit-scrollbar-thumb:hover { filter: brightness(1.2); }
  ::-webkit-scrollbar-button:single-button:vertical:decrement { height: 19px; background: url(/static/v37/skin/sb_up.png) 0 0 / 100% 100%; }
  ::-webkit-scrollbar-button:single-button:vertical:increment { height: 19px; background: url(/static/v37/skin/sb_down.png) 0 0 / 100% 100%; }
  ::-webkit-scrollbar-button:horizontal { display: none; }
  @supports not selector(::-webkit-scrollbar) { * { scrollbar-color: #5a616c #121418; } }   /* Firefox: so' as cores */
  #hmM .hm-tabs b { padding: 4px 10px 5px; font-size: 12px; }
  #hmM .hm-tabs { scrollbar-width: none; } #hmM .hm-tabs::-webkit-scrollbar { display: none; }
  @media (max-width: 900px) {   /* tela pequena: status so' com o essencial (online, jogadores, partidas) e sem a frase da barra */
    #hmM .hm-bar .hm-who { display: none; }
    #hmM .hm-st div:nth-child(3), #hmM .hm-st div:nth-child(4), #hmM .hm-st div:nth-child(5) { display: none; }
  }
  /* em pe: barra com idioma + 2 botoes grandes (WhatsApp e Baixar app ficam na aba O jogo) */
  #hmM.port .hm-bar .hm-btn.wpp, #hmM.port .hm-bar .hm-btn[data-a=dl] { display: none; }
  #hmM.port .hm-bar .hm-lang { flex: 0 0 78px; max-width: 78px; }
  #hmM.port .hm-bar .hm-btn { font-size: 14px; padding: 0 6px; }
  #hmM.port .hm-tabs b { padding: 4px 7px 5px; font-size: 11px; }
  body.hm-mob #rpBtn { border-style: solid; border-width: 7px 9px; border-radius: 0; border-image: url(/static/v37/skin/btn.png) 7 9 fill / 7px 9px; background: none; padding: 0 4px; color: #ffb3ad; }
  /* LOJA PREMIUM (static/premium.js): pele da V37; a esquerda fica livre para o showroom (personagem do pacote com a arma) */
  .ps-btn { left: 690px !important; color: #7fe3ff !important; }
  #tTop .tt-btn.ps { color: #7fe3ff !important; }
  #psHub { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; font: 12px Tahoma, sans-serif; color: #cfd6e0; animation: rhIn .2s ease-out;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  #psHub .ps-top { flex: none; display: flex; align-items: center; gap: 12px; padding: 6px 14px; background: linear-gradient(#3a414d, #1f242c 40%, #14171c); border-bottom: 1px solid #6b7686; box-shadow: 0 2px 8px #000a; }
  #psHub .ps-logo { flex: 1; font: 700 18px Tahoma, sans-serif; color: #7fe3ff; text-shadow: 0 1px 1px #000, 0 0 8px #2aa8ff66; white-space: nowrap; }
  #psHub .ps-coin { padding: 4px 10px; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; white-space: nowrap; } #psHub .ps-coin b { color: #7fe3ff; font-size: 15px; }
  #psHub .ps-mis { position: relative; overflow: hidden; padding: 4px 10px; font-size: 11px; color: #cfe; white-space: nowrap; border: 1px solid #2f3a48; background: #0d1117; }
  #psHub .ps-mis i { position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; background: linear-gradient(90deg, #1f6b3a, #2fa36a); opacity: .55; } #psHub .ps-mis { isolation: isolate; }
  @media (max-width: 900px) { #psHub .ps-mis { display: none; } }
  #psHub .ps-x { font-style: normal; font-size: 22px; padding: 0 6px; cursor: pointer; color: #9fb0c8; } #psHub .ps-x:hover { color: #fff; }
  #psHub .ps-main { flex: 1; min-height: 0; display: flex; gap: 10px; padding: 10px; }
  #psHub .ps-view { position: relative; flex: 1; min-width: 0; cursor: grab; }
  #psHub .ps-cap { position: absolute; left: 6px; top: 4px; padding: 4px 10px; background: #000a; border-left: 3px solid #7fe3ff; pointer-events: none; }
  #psHub .ps-cap b { display: block; font-size: 15px; color: #fff; text-shadow: 0 1px 1px #000; } #psHub .ps-cap i { font-style: normal; color: #9fb0c8; font-size: 11px; }
  #psHub .ps-cap:empty { display: none; }
  #psHub .ps-big { position: absolute; left: 50%; top: 45%; width: 220px; height: 160px; transform: translate(-50%, -50%); background: center/contain no-repeat; filter: drop-shadow(0 6px 16px #000); }
  #psHub .ps-zoom { position: absolute; left: 6px; bottom: 6px; display: flex; flex-direction: column; gap: 4px; } #psHub .ps-zoom .hm-btn { width: 44px; height: 40px; padding: 0; font-size: 18px; }
  #psHub .ps-hint { position: absolute; left: 60px; bottom: 10px; color: #ffffff88; font-size: 11px; text-shadow: 0 1px 2px #000; pointer-events: none; }
  #psHub .ps-side { position: relative; width: min(900px, 62vw); flex: none; }
  #psHub { --gc: #7fe3ff; }
  #psHub .ps-tabs { flex: none; display: flex; gap: 3px; padding: 6px 12px 0; overflow-x: auto; scrollbar-width: none; box-shadow: inset 0 -1px 0 #4a5a75; }
  #psHub .ps-tabs::-webkit-scrollbar { display: none; }
  #psHub .ps-tabs b { flex: none; border-style: solid; border-width: 6px 8px; border-image: url(/static/v37/skin/tab.png) 6 8 fill / 6px 8px; padding: 1px 6px 2px; cursor: pointer; color: #9aa5b5; text-shadow: 0 1px 1px #000; }
  #psHub .ps-tabs b.on { border-image-source: url(/static/v37/skin/tab_on.png); color: #fff; text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; }
  /* 23/10 (dono: "no pc ta feio"): card com overflow:hidden tem altura minima 0 na grade -- com muitos pacotes a grade ESMAGAVA
     todos (so' o topo da arma, sem nome/preco) em vez de rolar. Linha com a altura do card + rolagem; o detalhe ganha o resto */
  #psHub .ps-list { flex: none; max-height: 38%; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-auto-rows: max-content; gap: 10px; padding: 10px 12px 8px; }
  /* card do pacote: o conjunto (arma principal grande + o resto) num brilho da cor do arsenal (--gc, premium.js psColor) */
  #psHub .ps-card { --gc: #7fe3ff; position: relative; padding: 0 0 8px; cursor: pointer; overflow: hidden; background: linear-gradient(#171b22, #0c0e12); border: 1px solid #000;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gc) 45%, #2a2f37), 0 0 10px color-mix(in srgb, var(--gc) 30%, transparent); transition: transform .15s, box-shadow .15s; }
  #psHub .ps-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gc), 0 0 18px color-mix(in srgb, var(--gc) 55%, transparent); }
  #psHub .ps-card.on { box-shadow: inset 0 0 0 2px var(--gc), 0 0 22px color-mix(in srgb, var(--gc) 70%, transparent); animation: psPulse 2s ease-in-out infinite; }
  @keyframes psPulse { 50% { box-shadow: inset 0 0 0 2px var(--gc), 0 0 34px color-mix(in srgb, var(--gc) 90%, transparent); } }
  #psHub .ps-show { position: relative; height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--gc) 55%, transparent), transparent 70%), repeating-linear-gradient(135deg, #ffffff06 0 2px, transparent 2px 9px); }
  #psHub .ps-show .hero { width: 150px; height: 66px; object-fit: contain; filter: drop-shadow(0 0 8px var(--gc)) drop-shadow(0 3px 4px #000); transition: transform .2s; }
  #psHub .ps-card:hover .hero { transform: scale(1.08) rotate(-2deg); }
  #psHub .ps-mini { display: flex; gap: 2px; align-items: center; height: 26px; } #psHub .ps-mini img { width: 44px; height: 22px; object-fit: contain; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--gc) 70%, transparent)); }
  #psHub .ps-mini span { font: 700 10px Tahoma; color: #fff; text-shadow: 0 0 4px var(--gc); }
  #psHub .ps-card > b { display: block; padding: 6px 10px 0; color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 1px #000; border-top: 1px solid color-mix(in srgb, var(--gc) 40%, #000); }
  /* vitrine do lobby (featBanner, 28/10 v2): arsenal mais novo da Loja Premium no pe' da coluna do personagem; moldura frame.png da skin V37 */
  .nvf { position: absolute; left: 6px; top: 540px; width: 162px; z-index: 5; padding: 2px 4px 4px; box-sizing: border-box; cursor: pointer; font: 11px Tahoma, sans-serif; color: #e8e8e8; text-align: center;
    border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; }
  .nvf-h { font: bold 12px Tahoma, sans-serif; color: #f0c45a; text-shadow: 0 1px 1px #000; }
  .nvf-i { height: 62px; display: flex; align-items: center; justify-content: center; } .nvf-i img { max-width: 140px; max-height: 62px; }
  .nvf > b { display: block; color: #fff; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 1px #000; }
  .nvf-p { margin: 2px 0 4px; white-space: nowrap; } .nvf-p s { color: #8b96a8; margin-right: 4px; } .nvf-p em { font-style: normal; font-weight: bold; color: #ff6b5e; margin-right: 4px; } .nvf-p span { color: #f0c45a; font-weight: bold; }
  .nvf .hm-btn { width: 100%; padding: 3px 0; font-size: 11px; }
  .nvf-d { margin-top: 4px; display: flex; justify-content: center; gap: 4px; } .nvf-d i { width: 6px; height: 6px; background: #3a4352; } .nvf-d i.on { background: #f0c45a; }
  #psHub .ps-card.nv { border-color: #f0c45a; } #psHub .ps-card .ps-nv { position: absolute; z-index: 2; left: 4px; top: 4px; margin: 0; }
  #psHub .ps-card em { position: absolute; z-index: 1; right: 0; top: 0; font: 700 10px Tahoma; font-style: normal; color: #1a1205; background: #ffd34a; padding: 2px 6px; box-shadow: 0 0 8px #ffd34a88; }
  #psHub .ps-pr { padding: 2px 10px 0; font: 700 16px Tahoma; color: var(--gc); text-shadow: 0 0 6px color-mix(in srgb, var(--gc) 60%, transparent); }
  #psHub .ps-pr s { margin-right: 6px; font-size: 12px; color: #8a96a8; text-shadow: none; } #psHub .ps-card.own .ps-pr { color: #6fe08c; }
  #psHub .ps-det h3 { color: var(--gc) !important; text-shadow: 0 0 8px color-mix(in srgb, var(--gc) 50%, transparent); }
  #psHub .ps-it:hover, #psHub .ps-it.on { border-color: var(--gc) !important; box-shadow: 0 0 8px color-mix(in srgb, var(--gc) 40%, transparent); }
  #psHub .ps-det { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 4px 10px 10px; padding-top: 6px; border-top: 1px solid #4a5a75; }
  #psHub .ps-det h3 { margin: 0 0 2px; font: 700 18px Tahoma; color: #ffd27a; } #psHub .ps-det p { margin: 0 0 6px; color: #b8c2d0; }
  #psHub .ps-its { flex: 1; min-height: 120px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 5px; align-content: start; }
  #psHub .ps-it { display: flex; align-items: center; gap: 10px; padding: 5px 8px; font-size: 13px; cursor: pointer; border: 1px solid #2a2f37; background: #0e1116; }
  #psHub .ps-it:hover, #psHub .ps-it.on { border-color: #7fe3ff; background: #12202c; } #psHub .ps-it img { width: 84px; height: 38px; object-fit: contain; flex: none; }
  #psHub .ps-it span { min-width: 0; } #psHub .ps-it b { display: block; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #psHub .ps-it i { font-style: normal; font-size: 10px; color: #8a96a8; }
  #psHub .ps-it.own i { color: #6fe08c; }
  #psHub .ps-buy { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 8px; } #psHub .ps-msg { flex: 1; color: #ffb35c; }
  #psHub .ps-buy .hm-btn.big { min-width: 220px; min-height: 44px; font-size: 15px; }
  #psHub .ps-modal { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: #000b; }
  #psHub .ps-mbox { position: relative; width: min(420px, 92vw); } #psHub .ps-mb { padding: 10px 16px 14px; } #psHub .ps-mb p { margin: 0 0 8px; }
  #psHub .ps-pay { display: flex; gap: 8px; margin: 8px 0; } #psHub .ps-pay div { flex: 1; text-align: center; padding: 10px; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; opacity: .55; }
  #psHub .ps-pay b { display: block; font-size: 15px; color: #fff; } #psHub .ps-pay i { font-style: normal; color: #ffd27a; font-size: 11px; }
  #psHub .ps-cp { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; margin: 6px 0 10px; } #psHub .ps-cp .hm-btn { min-height: 52px; flex-direction: column; font-size: 15px; } #psHub .ps-cp small { display: block; font-size: 11px; color: #cfe; }
  #psHub .ps-rs { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 8px; max-height: 150px; overflow-y: auto; } #psHub .ps-rs div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; background: #0006; border: 1px solid #2b3646; } #psHub .ps-rs div.me { border-color: #f0913a; } #psHub .ps-rs a, #psHub .ps-rs span { color: #8fb4ff; overflow-wrap: anywhere; text-align: right; }
  #psHub .ps-rs-f { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } #psHub .ps-rs-f input { flex: 1 1 120px; min-width: 0; padding: 6px; background: #0b0e13; color: #fff; border: 1px solid #2b3646; }
  #psHub .ps-rs-log { max-height: 180px; overflow-y: auto; font-size: 12px; display: flex; flex-direction: column; gap: 2px; } #psHub .ps-rs-log i { color: #8a94a3; font-style: normal; margin-right: 6px; }
  #psHub .ps-cp .hm-btn { position: relative; } #psHub .ps-in { position: absolute; top: -6px; right: -4px; font: 700 9px Tahoma; font-style: normal; color: #1a1205; background: #ffd34a; padding: 1px 5px; box-shadow: 0 0 8px #ffd34a88; }
  #psHub .ps-amt, #psHub .ps-adr { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; padding: 8px 10px; background: #0b0e13; border: 1px solid #2f3a48; }
  #psHub .ps-amt b { flex: 1; font-size: 20px; color: #7fe3ff; } #psHub .ps-adr code { flex: 1; font-size: 12px; color: #fff; word-break: break-all; } #psHub .ps-amt .hm-btn, #psHub .ps-adr .hm-btn { min-height: 30px; font-size: 11px; }
  #psHub .ps-warn { color: #ffb35c; font-size: 11px; } #psHub .ps-wait { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: #cfd6e0; } #psHub .ps-mbox { width: min(520px, 94vw); }
  #psHub .ps-mf { display: flex; justify-content: flex-end; gap: 8px; } #psHub .ps-mf a.hm-btn { text-decoration: none; display: inline-flex; align-items: center; }
  #psHub .hm-btn { min-height: 34px; box-sizing: border-box; }
  #psHub.port .ps-main { flex-direction: column; } #psHub.port .ps-view { flex: 0 0 38%; } #psHub.port .ps-side { width: auto; flex: 1; min-height: 0; }
  #psHub.port .ps-logo { font-size: 14px; } #psHub.port .ps-top [data-a=coin] { font-size: 10px; padding: 0 4px; }
  #psHub .ps-top { background: #14171c; border-bottom: 1px solid #f0c45a; box-shadow: none; }
  #psHub .ps-logo { color: #f0c45a; font-size: 20px; letter-spacing: 1px; text-shadow: 0 1px 1px #000, 0 0 8px #4b74b3; }
  #psHub .ps-coin b { color: #f0c45a; }
  #psHub .ps-top [data-a=coin] { min-height: 38px; padding: 0 18px; font: 700 14px Tahoma; color: #f0c45a; }
  #psHub .ps-card { background: #0e1116; }
  #psHub .ps-pr { color: #f0c45a; text-shadow: 0 1px 1px #000; }
  #psHub .ps-card em { font-size: 12px; padding: 3px 8px; }
  #psHub .ps-fx { --gc: #f0c45a; position: relative; grid-column: 1 / -1; flex: 0 0 280px; height: 124px; overflow: hidden; cursor: pointer; box-sizing: border-box; border: 1px solid #f0c45a; background: #0e1116; }
  #psHub .ps-fs { --gc: #f0c45a; position: absolute; inset: 0; display: flex; align-items: center; gap: 16px; padding: 6px 18px; opacity: 0; pointer-events: none; transition: opacity .4s;
    background: radial-gradient(ellipse at 22% 50%, color-mix(in srgb, var(--gc) 60%, transparent), transparent 62%); }
  #psHub .ps-fs.on { opacity: 1; pointer-events: auto; }
  #psHub .ps-fs .ps-fh { position: absolute; left: 10px; top: 5px; font: 700 12px Tahoma; color: #f0c45a; letter-spacing: .5px; text-shadow: 0 1px 1px #000; }
  #psHub .ps-fs img { flex: none; width: 250px; height: 100px; object-fit: contain; filter: drop-shadow(0 0 10px var(--gc)) drop-shadow(0 3px 4px #000); }
  #psHub .ps-fs span { flex: 1; min-width: 0; }
  #psHub .ps-fs b { display: block; font: 700 19px Tahoma; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px #000; }
  #psHub .ps-fs u { display: block; margin-top: 4px; text-decoration: none; font: 700 20px Tahoma; color: #f0c45a; text-shadow: 0 1px 1px #000; }
  #psHub .ps-fs s { margin-right: 8px; font-size: 13px; color: #8b96a8; }
  #psHub .ps-fs em { flex: none; font: 700 18px Tahoma; color: #1a1205; background: #ffd34a; padding: 6px 12px; }
  @media (min-height: 521px) and (min-width: 701px) {
    #psHub .ps-side { width: min(1100px, 64vw); display: flex; flex-direction: column; }
    #psHub .ps-list { flex: 1; min-height: 0; max-height: none; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    #psHub .ps-card.nv { grid-column: span 2; }
    #psHub .ps-show { height: 128px; }
    #psHub .ps-show .hero { width: 100%; height: 88px; }
    #psHub .ps-card.nv .ps-show .hero { height: 96px; }
    #psHub .ps-det { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; margin: 0 10px 8px; }
    #psHub .ps-det > h3, #psHub .ps-det > p, #psHub .ps-det > .ps-ltd { grid-column: 1; margin-bottom: 2px; }
    #psHub .ps-det > p { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    #psHub .ps-its { grid-column: 1 / -1; grid-row: 4; display: flex; flex: none; min-height: 0; overflow-x: auto; overflow-y: hidden; gap: 5px; padding-top: 5px; scrollbar-width: none; }
    #psHub .ps-its::-webkit-scrollbar { display: none; }
    #psHub .ps-det { position: relative; }
    #psHub .ps-ar { display: none; position: absolute; left: -2px; bottom: 11px; z-index: 3; width: 34px; height: 34px; cursor: pointer; background: url(/static/v37/skin/sb_up.png) 0 0 / 100% 100% no-repeat; transform: rotate(-90deg); }
    #psHub .ps-ar.r { left: auto; right: -2px; transform: rotate(90deg); }
    #psHub .ps-ar.on { display: block; } #psHub .ps-ar:hover { filter: brightness(1.3); }
    #psHub .ps-it { flex: 0 0 210px; box-sizing: border-box; }
    #psHub .ps-buy { grid-column: 2; grid-row: 1 / 4; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; padding-top: 0; }
    #psHub .ps-msg { flex: none; max-width: 260px; text-align: right; }
    #psHub .ps-buy .hm-btn.big { min-width: 250px; min-height: 52px; font-size: 17px; }
  }
  /* celular / tela baixa: o painel rola inteiro, pacotes num carrossel horizontal, COMPRAR fixo embaixo */
  @media (max-height: 520px), (max-width: 700px) {
    #psHub .ps-top { padding: 3px 10px; gap: 8px; } #psHub .ps-logo { font-size: 15px; } #psHub .ps-top .hm-btn { min-height: 30px; font-size: 11px; }
    #psHub .ps-main { padding: 4px 6px 6px; gap: 6px; } #psHub .ps-side { overflow-y: auto; overflow-x: hidden; }
    #psHub .ps-list { display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 6px 8px; gap: 8px; scrollbar-width: none; } #psHub .ps-list::-webkit-scrollbar { display: none; }
    #psHub .ps-card { flex: 0 0 180px; } #psHub .ps-show { height: 76px; } #psHub .ps-show .hero { width: 120px; height: 50px; } #psHub .ps-mini { height: 18px; } #psHub .ps-mini img { width: 32px; height: 16px; }
    #psHub .ps-card > b { font-size: 12px; padding-top: 4px; } #psHub .ps-pr { font-size: 14px; }
    #psHub .ps-det { flex: none; margin: 2px 8px 0; } #psHub .ps-det h3 { font-size: 15px; } #psHub .ps-its { overflow: visible; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
    #psHub .ps-it img { width: 56px; height: 26px; } #psHub .ps-it { font-size: 11px; padding: 3px 6px; }
    #psHub .ps-buy { position: sticky; bottom: 0; margin: 0 -8px; padding: 8px; background: linear-gradient(transparent, #0d1016 35%); } #psHub .ps-buy .hm-btn.big { min-width: 170px; }
    #psHub .ps-zoom .hm-btn { width: 40px; height: 36px; } #psHub .ps-hint { display: none; } #psHub .ps-cap b { font-size: 12px; }
  }
  /* AO VIVO (home): partidas rolando para assistir (client.js liveBox/watchGo) */
  .hm-btn.watch { color: #ff9a8f; } .hm-btn.watch::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 6px #ff3b30; animation: hmLive 1.2s infinite; vertical-align: middle; }
  .hm-live { margin: 0 0 12px; padding: 6px 9px 8px; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; }
  .hm-live .lh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; } .hm-live .lh b { color: #ff6b5e; font-size: 13px; animation: hmLive 1.6s infinite; } .hm-live .lh span { color: #9aa5b5; font-size: 11px; }
  .hm-live .lv { display: grid; gap: 5px; }
  .hm-live .li { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 6px 10px; cursor: pointer;
    background: center/cover no-repeat; border: 1px solid #000; box-shadow: inset 0 0 0 1px #ffffff14; }
  .hm-live .li:hover { box-shadow: inset 0 0 0 1px #ff6b5e; }
  .hm-live .li b { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hm-live .li i { font-style: normal; font-size: 11px; color: #b8c2d0; }
  .hm-live .li em { grid-row: 1; grid-column: 2; font: 700 11px Tahoma; font-style: normal; color: #ffd27a; text-align: right; } .hm-live .li .hm-btn { grid-row: 2; grid-column: 2; min-height: 30px !important; padding: 0 8px !important; font-size: 11px; }
  /* PASSE DE BATALHA (static/pass.js): pele da V37 */
  #bpHub .bp-all { min-height: 36px; font-size: 13px; animation: bpCan 1.6s ease-in-out infinite; }
  /* tela de recompensas do passe (pass.js bpReveal): cartas com a cor da raridade */
  .bp-rev .bp-ic { font-style: normal; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; }
  .bp-rev .bp-ic.gold { color: #3a2a00; background: radial-gradient(#ffe9a0, #d9a520); border: 1px solid #000; }
  .bp-rev { font: 12px Tahoma, sans-serif; color: #cfd6e0; } .bp-card b, .bp-card small { font-family: Tahoma, sans-serif; }
  .bp-rev { position: fixed; inset: 0; z-index: 9600; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #000a, #000e); animation: rhIn .2s ease-out; }
  .bp-rbox { position: relative; width: min(880px, 94vw); max-height: 90vh; filter: drop-shadow(0 0 30px color-mix(in srgb, var(--rc) 40%, transparent)); }
  .bp-rbox .hm-cap span { margin-left: 8px; font-weight: 400; color: #9fb0c8; }
  .bp-rg { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: max-content; gap: 10px; padding: 14px 16px; }
  .bp-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 8px 10px; overflow: hidden; min-height: 150px; box-sizing: border-box;
    background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--rc) 35%, transparent), transparent 70%), linear-gradient(#1a1f27, #0c0e12);
    border: 1px solid #000; box-shadow: inset 0 0 0 1px var(--rc), 0 0 14px color-mix(in srgb, var(--rc) 45%, transparent);
    opacity: 0; transform: translateY(14px) scale(.9); animation: bpIn .45s cubic-bezier(.2, 1.4, .4, 1) forwards; }
  @keyframes bpIn { to { opacity: 1; transform: none; } }
  .bp-card.r3, .bp-card.r4 { animation: bpIn .45s cubic-bezier(.2, 1.4, .4, 1) forwards, bpShine 2.2s ease-in-out 1s infinite; }
  @keyframes bpShine { 50% { box-shadow: inset 0 0 0 2px var(--rc), 0 0 30px color-mix(in srgb, var(--rc) 80%, transparent); } }
  .bp-card em { position: absolute; left: 0; right: 0; top: 0; padding: 2px 0; font: 700 10px Tahoma; font-style: normal; letter-spacing: 2px; color: #000; background: var(--rc); }
  .bp-card .art { height: 64px; display: flex; align-items: center; justify-content: center; } .bp-card .art img { width: 128px; height: 60px; object-fit: contain; filter: drop-shadow(0 0 8px var(--rc)); }
  .bp-card .bp-ic { width: 40px; height: 40px; font-size: 22px; }
  .bp-card b { margin-top: 6px; color: #fff; font-size: 13px; line-height: 1.2; } .bp-card small { color: var(--rc); font: 700 11px Tahoma; margin-top: 2px; } .bp-card u { text-decoration: none; color: #6f7a8a; font-size: 10px; margin-top: 3px; }
  .bp-rf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px 14px; color: #9fb0c8; } .bp-rf .hm-btn { min-width: 140px; min-height: 40px; }
  /* MODOS NOVOS no PC: o topo ja' esta' cheio -> botao largo azul da pele V37 embaixo do MONTAR PERSONAGEM (dono 15/10) */
  .hm-home.nm-btn { left: 8px !important; top: 74px !important; padding: 2px 10px; font: 700 12px Tahoma, sans-serif; line-height: 16px; color: #fff !important;
    text-shadow: 0 0 6px #6fb0ff, 0 1px 1px #000; border-width: 7px 9px; border-image: url(/static/v37/skin/wide_b.png) 7 9 fill / 7px 9px; animation: nmGlow 1.6s ease-in-out infinite alternate; }
  .hm-home.nm-btn:hover { border-image-source: url(/static/v37/skin/wide_bp.png); }
  @keyframes nmGlow { from { filter: none; } to { filter: brightness(1.25) drop-shadow(0 0 4px #4b9bff); } }
  #tTop .tt-btn.nm { color: #ffb347 !important; }
  /* CAIXAS ALEATORIAS (static/crate.js): botao largo embaixo do MODOS NOVOS; janela = a do RANKING (#rkgW) com abas por caixa */
  .hm-home.cx-btn { left: 8px !important; top: 100px !important; padding: 2px 10px; font: 700 12px Tahoma, sans-serif; line-height: 16px; color: #ffe08a !important;
    text-shadow: 0 0 6px #ffb347, 0 1px 1px #000; border-width: 7px 9px; border-image: url(/static/v37/skin/wide_b.png) 7 9 fill / 7px 9px; }
  .hm-home.cx-btn:hover { border-image-source: url(/static/v37/skin/wide_bp.png); }
  #tTop .tt-btn.cx { color: #ffe08a !important; }
  /* CAMPEONATO DE CLAS (static/tour.js): botao largo embaixo das CAIXAS */
  .hm-home.tu-btn { left: 8px !important; top: 126px !important; padding: 2px 10px; font: 700 12px Tahoma, sans-serif; line-height: 16px; color: #ffd34a !important;
    text-shadow: 0 0 6px #ffb300, 0 1px 1px #000; border-width: 7px 9px; border-image: url(/static/v37/skin/wide_b.png) 7 9 fill / 7px 9px; }
  .hm-home.tu-btn:hover { border-image-source: url(/static/v37/skin/wide_bp.png); }
  /* BATTLE ROYALE (fila de jogadores, 23/10): botao largo da pele V37 na coluna da esquerda (onde ficava o MODOS NOVOS, hoje no hub); no celular a barra de cima */
  .hm-home.br-btn { left: 8px !important; top: 74px !important; padding: 2px 10px; font: 700 12px Tahoma, sans-serif; line-height: 16px; color: #ff9b5e !important;
    text-shadow: 0 0 6px #ff6a00, 0 1px 1px #000; border-width: 7px 9px; border-image: url(/static/v37/skin/wide_b.png) 7 9 fill / 7px 9px; }
  .hm-home.br-btn:hover { border-image-source: url(/static/v37/skin/wide_bp.png); }
  #tTop .tt-btn.br { color: #ff9b5e !important; order: -1; }
  /* COMPRAR PB COIN (dono 18/10): o botao mais chamativo do lobby -- dourado, pulsando, embaixo do CAMPEONATO; no celular o 1o da barra */
  .hm-home.pc-btn { left: 8px !important; top: 152px !important; padding: 4px 14px; font: 900 14px Tahoma, sans-serif; line-height: 18px; color: #1a1205 !important;
    text-shadow: 0 1px 0 #fff6; border: 2px solid #fff3c4 !important; border-image: none !important; border-radius: 6px;
    background: linear-gradient(110deg, #ffb300, #ffe27a 45%, #ffb300 55%, #ff8a00) !important; background-size: 220% 100% !important;
    box-shadow: 0 0 12px #ffcc33, 0 0 24px #ff990088; animation: pcPulse 1.4s ease-in-out infinite, pcShine 2.6s linear infinite; }
  .hm-home.pc-btn:hover { filter: brightness(1.12); }
  @keyframes pcPulse { 50% { transform: scale(1.06); box-shadow: 0 0 18px #ffe066, 0 0 36px #ffaa00; } }
  @keyframes pcShine { from { background-position: 100% 0; } to { background-position: -120% 0; } }
  #tTop .tt-btn.pc { order: -2; background: linear-gradient(110deg, #ffb300, #ffe27a 45%, #ff8a00) !important; border-image: none !important; border: 2px solid #fff3c4;
    border-radius: 6px; color: #1a1205 !important; text-shadow: none; box-shadow: 0 0 10px #ffcc33; animation: pcPulse 1.4s ease-in-out infinite; }
  #tTop .tt-btn.pc svg { fill: #1a1205; }
  #psHub .ps-pixbox { margin: 4px 0 12px; padding: 8px 10px 2px; border: 2px solid #32d296; border-radius: 6px; background: linear-gradient(#0f3a2b, #0b241c); box-shadow: 0 0 14px #32d29655; }
  #psHub .ps-pixbox p { color: #9ff5d0; } #psHub .ps-pixbox .hm-btn { box-shadow: 0 0 8px #32d29688; }
  #rkgW .rkg.cxw, #rkgW .rkg.cxp { height: auto; max-height: 92vh; width: min(600px, 94vw); } #rkgW .rkg.cxp { width: min(420px, 94vw); }
  #rkgW .cx-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 12px 0; padding: 6px 10px; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; }
  #rkgW .cx-bal { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; } #rkgW .cx-bal i, #rkgW .cx-got u, #rkgW .cx-rules i, #rkgW .cx-bi i { font-style: normal; text-decoration: none; } #rkgW .cx-bal b { font-size: 18px; color: #ffd34a; text-shadow: 0 0 6px #ffb34788, 0 1px 1px #000; }
  #rkgW .cx-day { flex: 1; font-size: 11px; color: #9aa5b5; } #rkgW .cx-day b { color: #dfe6f0; } #rkgW .cx-top .hm-btn { min-height: 28px; padding: 0 10px; }
  .cx-tok { width: 20px; height: 20px; vertical-align: middle; } #rkgW .cx-bal .cx-tok { width: 26px; height: 26px; }
  #rkgW .cx-off { margin: 6px 12px 0; padding: 4px 8px; color: #ffb35c; font-size: 11px; }
  #rkgW .rkg-t u { text-decoration: none; margin-left: 4px; padding: 0 5px; border-radius: 8px; background: #ffd34a; color: #1a1205; font-size: 10px; }
  #rkgW .rkg.cxw .rkg-b { max-height: 48vh; overflow-y: auto; }
  #rkgW .cx-box { display: flex; align-items: center; gap: 12px; padding: 10px; background: linear-gradient(#20252d, #14171c); border-bottom: 1px solid #000; }
  #rkgW .cx-box > img { width: 96px; height: 72px; object-fit: contain; filter: drop-shadow(0 0 10px #ffb34766) drop-shadow(0 3px 4px #000); }
  #rkgW .cx-bi { flex: 1; min-width: 0; } #rkgW .cx-bi b { display: block; font-size: 14px; color: #ffd27a; text-shadow: 0 1px 1px #000; } #rkgW .cx-bi span { display: block; margin-top: 3px; font-size: 11px; color: #c6cfdc; } #rkgW .cx-bi span b { display: inline; font-size: 11px; color: #fff; }
  #rkgW .cx-hint { color: #7dffb0 !important; } #rkgW .cx-act { display: flex; flex-direction: column; gap: 6px; } #rkgW .cx-act .hm-btn { min-height: 34px; white-space: nowrap; } #rkgW .cx-act .hm-btn.big { padding: 8px 18px; font-size: 13px; }
  #rkgW .cx-hd { display: flex; justify-content: space-between; }
  #rkgW .rkg-r.cx-r { display: flex; align-items: center; gap: 8px; box-shadow: inset 3px 0 0 var(--rc), inset 0 -1px 0 #2a2f37; }
  #rkgW .cx-r em { flex: none; width: 70px; text-align: center; font: 700 9px Tahoma; font-style: normal; letter-spacing: 1px; color: #000; background: var(--rc); padding: 2px 0; }
  #rkgW .cx-r img { width: 56px; height: 26px; object-fit: contain; } #rkgW .cx-r .bp-ic { width: 24px; height: 24px; font-size: 13px; margin: 0 16px; }
  #rkgW .cx-r span { flex: 1; color: #fff; } #rkgW .cx-r b { color: var(--rc); min-width: 52px; text-align: right; }
  #rkgW .cx-rules { margin: 6px 12px 0; font-size: 10px; line-height: 1.45; color: #8fa0b8; } #rkgW .cx-rules b { color: #c6cfdc; }
  .cx-rev .bp-rbox { width: min(420px, 94vw); } .cx-rev .bp-rg.cx-one { grid-template-columns: 1fr; justify-items: center; } .cx-rev .bp-card { width: 240px; }
  .cx-open { display: flex; align-items: center; justify-content: center; height: 190px; } .cx-open img { width: 160px; height: 120px; object-fit: contain; filter: drop-shadow(0 0 16px var(--rc)); animation: cxShake 1.1s ease-in-out forwards; }
  @keyframes cxShake { 0%, 100% { transform: none; } 10%, 30%, 50%, 70% { transform: rotate(-6deg) scale(1.04); } 20%, 40%, 60%, 80% { transform: rotate(6deg) scale(1.04); } 90% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
  #rkgW .cx-pb { margin: 8px 12px 0; padding: 10px; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; text-align: center; }
  #rkgW .cx-drop img { width: 120px; height: 90px; object-fit: contain; filter: drop-shadow(0 0 14px #ffb347); animation: rhFloat 2.4s ease-in-out infinite; } #rkgW .cx-drop b { display: block; font-size: 14px; color: #ffd27a; text-shadow: 0 1px 1px #000; } #rkgW .cx-drop span { display: block; font-size: 11px; color: #c6cfdc; margin-bottom: 8px; }
  #rkgW .cx-got { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #fff; } #rkgW .cx-got b { font-size: 20px; color: #ffd34a; text-shadow: 0 0 6px #ffb34788, 0 1px 1px #000; } #rkgW .cx-got i { font-style: normal; font-size: 10px; color: #9aa5b5; }
  #rkgW .cx-bar { position: relative; height: 18px; margin-top: 8px; background: #0b0e13; border: 1px solid #2f3a48; overflow: hidden; } #rkgW .cx-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #8a6a12, #ffd34a); }
  #rkgW .cx-bar span { position: relative; display: block; line-height: 18px; font: 700 11px Tahoma; color: #fff; text-shadow: 0 1px 1px #000; }
  #rkgW .rkg.cxp .rkg-f { justify-content: space-between; }
  /* etiqueta NEW das coisas novas (newTag): o vermelho do HOT/NEW da loja V37 */
  .newtag { display: inline-block; margin-left: 4px; padding: 0 3px; border-radius: 2px; vertical-align: middle; font: bold 9px/12px Tahoma, sans-serif; font-style: normal;
    color: #fff; background: linear-gradient(#ff4a3a, #b0141c); box-shadow: 0 0 4px #ff3a2a99; text-shadow: none; letter-spacing: 0; animation: newBlink 1.2s steps(2, jump-none) infinite; }
  @keyframes newBlink { 50% { filter: brightness(1.35); } }
  .lbSlotMode .newtag, [id^=lbSlotMode] .newtag { position: absolute; right: 1px; top: 1px; font-size: 7px; line-height: 9px; padding: 0 2px; }
  #tTop .tt-btn .newtag { position: absolute; top: 1px; right: 1px; margin: 0; }
  .bp-btn { left: 800px !important; color: #ffd27a !important; } #tTop .tt-btn.bp { color: #ffd27a !important; }
  /* celular (dono 26/10): na borda so' RANKEADA + MENU (ponto vermelho = conversa nao lida); MENU abre a gaveta V37 (win.png) com os atalhos em grade */
  #tTop { top: 0; bottom: 0; transform: none; justify-content: center; max-height: none; overflow: visible; pointer-events: none; }
  #tTop > .tt-btn, #tTop.open { pointer-events: auto; } #tTop > .tt-btn { position: relative; }
  #tTop.open::before { content: ''; position: fixed; inset: 0; background: #0008; }
  #tTop .tt-tab { position: relative; color: #e9edf3; }
  #tTop.open .tt-tab { border-image-source: url(/static/v37/skin/btn_p.png); color: #ffd34a; }
  #tTop:has(.tt-g .cvn) .tt-tab::after { content: ''; position: absolute; top: -5px; right: -4px; width: 8px; height: 8px; background: #ff3a2a; border: 1px solid #000; }
  #tTop .tt-pan { position: fixed; left: calc(env(safe-area-inset-left) + 66px); top: 50%; width: min(300px, calc(100vw - 76px)); max-height: calc(100dvh - 12px); box-sizing: border-box;
    display: flex; flex-direction: column; isolation: isolate; filter: drop-shadow(0 6px 18px #000); font: 12px Tahoma, sans-serif;
    visibility: hidden; opacity: 0; transform: translate(-24px, -50%); transition: transform .16s ease-out, opacity .16s, visibility 0s .16s; }
  #tTop.open .tt-pan { visibility: visible; opacity: 1; transform: translate(0, -50%); transition: transform .16s ease-out, opacity .16s; }
  #tTop .tt-pan::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-style: solid; border-width: 32px 10px 50px;
    border-image: url(/static/v37/skin/win.png) 32 10 50 fill / 32px 10px 50px; }
  #tTop .tt-h { flex: none; display: flex; align-items: center; height: 30px; padding: 0 12px; }
  #tTop .tt-h b { flex: 1; text-align: center; font: 700 12px Tahoma; color: #fff; text-shadow: 0 1px 1px #000, 0 0 6px #4b74b3; }
  #tTop .tt-h i { font-style: normal; color: #9fb0c8; font-size: 14px; padding: 4px 6px; cursor: pointer; }
  #tTop .tt-g { min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 6px 10px 14px; padding: 6px;
    border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; scrollbar-width: none; }
  #tTop .tt-g .tt-btn { position: relative; width: auto; height: 50px; font-size: 9.5px; gap: 4px; filter: none; }
  #tTop .tt-g .tt-btn svg { width: 18px; height: 18px; }
  /* HUB DE EVENTOS (client.js showHub): icone ★ na barra de baixo (mesma arte dos icones da V37, 4 estados) + janela de cartoes */
  /* PASSE DE MISSOES + CASH por partida (28/10): janela #rkgW (showMPass); botao do lobby na coluna da esquerda (o 100px ficou livre com o hub) */
  .hm-home.mp-btn { left: 8px !important; top: 100px !important; padding: 2px 10px; font: 700 12px Tahoma, sans-serif; line-height: 16px; color: #f0c45a !important;
    text-shadow: 0 1px 1px #000; border-width: 7px 9px; border-image: url(/static/v37/skin/wide_b.png) 7 9 fill / 7px 9px; }
  .hm-home.mp-btn:hover { border-image-source: url(/static/v37/skin/wide_bp.png); }
  #rkgW .mpw .rkg-b { padding: 4px 10px 8px; }
  .mpw .mp-sec { margin: 8px 0 4px; padding-bottom: 2px; font: 700 12px Tahoma, sans-serif; color: #f0c45a; text-shadow: 0 1px 1px #000; border-bottom: 1px solid #3a4352; }
  .mpw .mp-note { color: #8b96a8; font-size: 11px; line-height: 15px; } .mpw .mp-big { color: #e8e8e8; font-size: 12px; line-height: 18px; }
  .mpw .mp-rq { display: flex; justify-content: space-between; gap: 8px; padding: 3px 4px; border-bottom: 1px solid #262c36; color: #e8e8e8; }
  .mpw .mp-rq b.ok { color: #5fe07a; } .mpw .mp-rq b.no { color: #ff6b5e; }
  .mpw .mp-rule { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-bottom: 4px; color: #e8e8e8; }
  .mpw .mp-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 4px 0 6px; color: #fff; font-weight: 700; text-shadow: 0 1px 1px #000; }
  .mpw .mp-track { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
  .mpw .mp-d { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 34px; font-style: normal; color: #6b7480;
    border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; }
  .mpw .mp-d b { font-size: 12px; line-height: 13px; } .mpw .mp-d small { font-size: 10px; line-height: 11px; }
  .mpw .mp-d.p { color: #f0c45a; } .mpw .mp-d.x { opacity: .55; } .mpw .mp-d.t { color: #fff; background: #2c4d7e88; outline: 1px solid #4b6a95; }
  .mpw .mp-g { display: grid; grid-template-columns: 1fr 160px 56px; align-items: center; gap: 8px; padding: 4px; border-bottom: 1px solid #262c36; color: #e8e8e8; }
  .mpw .mp-bar { height: 10px; border: 1px solid #000; background: #1a1e24; } .mpw .mp-bar i { display: block; height: 100%; background: #4b74b3; }
  .mpw .mp-g em { font-style: normal; text-align: right; color: #f0c45a; }
  .mpw .mp-st { margin: 8px 0 2px; font-weight: 700; color: #e8e8e8; } .mpw .mp-st.ok { color: #5fe07a; }
  .mpw .rkg-f .hm-btn[disabled] { opacity: .5; cursor: default; }
  /* NOVIDADE do CASH por partida + Passe de Missoes (mpNewsWin, 28/10): texto grande, so' fecha no ENTENDI */
  #rkgW .mpn { height: auto; max-height: 90vh; }
  #rkgW .mpn .rkg-b { padding: 4px 14px 10px; font: 13px/20px Tahoma, sans-serif; color: #e8e8e8; }
  .mpn .mpn-h { margin: 8px 0 4px; padding-bottom: 2px; font: 700 14px Tahoma, sans-serif; color: #f0c45a; text-shadow: 0 1px 1px #000; border-bottom: 1px solid #3a4352; }
  .mpn p { margin: 0 0 3px; text-shadow: 0 1px 1px #000; }
  .mpn .rkg-f .hm-btn { min-width: 110px; }
  @media (max-width: 600px) { .mpw .mp-g { grid-template-columns: 1fr 80px 48px; } .mpw .mp-d { height: 30px; } }
  .mb-ev { position: absolute; left: 626px; top: 723px; width: 42px; height: 42px; z-index: 6; cursor: pointer; background: url(/static/v37/skin/mb_events.png) 0 0 no-repeat; }
  .mb-ev:hover { background-position: 0 -42px; } .mb-ev:active { background-position: 0 -84px; }
  .mb-ev.evnew::after { content: 'NOVO'; position: absolute; left: 2px; top: -9px; padding: 0 4px; font: 700 9px Tahoma, sans-serif; line-height: 13px; color: #fff; background: linear-gradient(#ff5a4a, #c01f12); border: 1px solid #000; border-radius: 3px; }
  #rkgW .rkg.ev { height: auto; max-height: 90vh; }
  #rkgW .ev-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 4px; } @media (max-width: 700px) { #rkgW .ev-g { grid-template-columns: repeat(2, 1fr); } }
  #rkgW .ev-c { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 8px; cursor: pointer; text-align: center; border: 1px solid #000;
    background: radial-gradient(ellipse at 50% 25%, #2f4a78aa, transparent 70%), linear-gradient(#1b2230, #0c1016); box-shadow: inset 0 0 0 1px #3a4a66; transition: box-shadow .15s, transform .15s; }
  #rkgW .ev-c:hover { box-shadow: inset 0 0 0 1px #8fb4ff, 0 0 12px #4f86ff55; transform: translateY(-2px); }
  #rkgW .ev-c > i { font-style: normal; font-size: 34px; line-height: 44px; filter: drop-shadow(0 2px 3px #000); }
  #rkgW .ev-c > b { font: 700 13px Tahoma, sans-serif; color: #fff; text-shadow: 0 1px 1px #000; } #rkgW .ev-c em { margin-left: 4px; font: 700 9px Tahoma; font-style: normal; color: #fff; background: #d0281a; padding: 0 3px; vertical-align: 2px; }
  #rkgW .ev-c > p { flex: 1; margin: 0; font: 11px Tahoma, sans-serif; color: #9fb0c8; line-height: 1.35; }
  #rkgW .ev-c.ev-pc { background: radial-gradient(ellipse at 50% 25%, #ffb30055, transparent 70%), linear-gradient(#2a2210, #120e06); box-shadow: inset 0 0 0 1px #8a6a1a; }
  #rkgW .ev-c.ev-vp > b { color: #ffd34a; }
  #bpHub { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; font: 12px Tahoma, sans-serif; color: #cfd6e0; animation: rhIn .2s ease-out;
    background: linear-gradient(#05070bd9, #05070bf2), url(/static/v37/atlas/menu_bg.png) 50% 20% / cover; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  #bpHub .bp-top { flex: none; display: flex; align-items: center; gap: 14px; padding: 6px 14px; background: linear-gradient(#3a414d, #1f242c 40%, #14171c); border-bottom: 1px solid #6b7686; box-shadow: 0 2px 8px #000a; flex-wrap: wrap; }
  #bpHub .bp-logo { font: 700 18px Tahoma; color: #ffd27a; text-shadow: 0 1px 1px #000, 0 0 8px #ffb30055; white-space: nowrap; }
  #bpHub .bp-ss { color: #9fb0c8; white-space: nowrap; } #bpHub .bp-ss b { color: #fff; }
  #bpHub .bp-lv { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; }
  #bpHub .bp-lv .n { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font: 700 18px Tahoma; color: #1a1205; background: radial-gradient(#ffe08a, #e8a92e); border: 2px solid #000; border-radius: 50%; box-shadow: 0 0 10px #ffb30088; }
  #bpHub .bp-lv > div { flex: 1; } #bpHub .bp-xp { height: 10px; background: #0b0d10; border: 1px solid #000; } #bpHub .bp-xp i { display: block; height: 100%; background: linear-gradient(90deg, #e8a92e, #ffe08a); box-shadow: 0 0 8px #ffb300aa; }
  #bpHub .bp-lv small { color: #9fb0c8; font-size: 11px; }
  #bpHub .bp-prem.on { padding: 6px 12px; color: #1a1205; font-weight: 700; background: linear-gradient(#ffe08a, #e8a92e); border: 1px solid #000; }
  #bpHub .bp-buy { min-height: 36px; font-size: 13px; } #bpHub .bp-x { font-style: normal; font-size: 22px; cursor: pointer; color: #9fb0c8; } #bpHub .bp-x:hover { color: #fff; }
  #bpHub .bp-main { flex: 1; min-height: 0; display: flex; gap: 10px; padding: 10px; }
  /* vitrine dos premios grandes (bpShow): cartas da tela de recompensa, maiores, em linha */
  #bpHub .bp-show { flex: none; padding: 8px 10px 0; }
  #bpHub .bp-sh-cap { font: 700 13px Tahoma; color: #ffd34a; letter-spacing: 1px; text-shadow: 0 0 8px #ff9a0088, 0 1px 1px #000; margin-bottom: 6px; }
  #bpHub .bp-sh-cap span { color: #8a93a3; font-weight: 400; font-size: 11px; letter-spacing: 0; margin-left: 6px; text-shadow: none; }
  #bpHub .bp-sh-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  #bpHub .bp-show .bp-card { min-height: 160px; cursor: pointer; opacity: 1; animation: bpShine 2.4s ease-in-out infinite; }
  #bpHub .bp-show .bp-card .art { height: 84px; } #bpHub .bp-show .bp-card .art img { width: 170px; height: 80px; }
  #bpHub .bp-show .bp-card.r4 { box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 55%, transparent), inset 0 0 22px color-mix(in srgb, var(--rc) 25%, transparent); }
  #bpHub .bp-show .bp-card:hover { transform: translateY(-2px); filter: brightness(1.15); }
  #bpHub .bp-show .bp-card.lk .art img { filter: drop-shadow(0 0 8px var(--rc)) saturate(.7); }
  #bpHub .bp-lk { position: absolute; right: 6px; top: 20px; font-style: normal; font-size: 16px; filter: drop-shadow(0 1px 1px #000); }
  #bpHub .bp-col.flash { animation: bpFlash 1.2s ease-out; } @keyframes bpFlash { 0%, 40% { box-shadow: inset 0 0 0 2px #ffd34a, 0 0 16px #ffd34a; } 100% { box-shadow: none; } }
  @media (max-height: 520px) { #bpHub .bp-show .bp-card { min-height: 112px; padding-top: 18px; } #bpHub .bp-show .bp-card .art { height: 48px; } #bpHub .bp-show .bp-card .art img { width: 110px; height: 46px; } #bpHub .bp-sh-row { grid-auto-columns: minmax(118px, 1fr); } }
  #bpHub .bp-track { position: relative; flex: 1; min-width: 0; } #bpHub .hm-cap span { margin-left: 8px; font-weight: 400; color: #9fb0c8; }
  #bpHub .bp-rows { flex: 1; min-height: 0; display: flex; padding: 8px 10px 4px; gap: 6px; }
  #bpHub .bp-lab { flex: none; display: flex; flex-direction: column; justify-content: space-around; padding-top: 26px; font: 700 11px Tahoma; color: #9fb0c8; writing-mode: vertical-rl; transform: rotate(180deg); }
  #bpHub .bp-lab .p { color: #ffd27a; }
  #bpHub .bp-cols { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; }
  #bpHub .bp-col { flex: 0 0 120px; display: flex; flex-direction: column; gap: 6px; }
  #bpHub .bp-n { text-align: center; font: 700 13px Tahoma; color: #6f7a8a; padding: 2px; border-bottom: 3px solid #2a2f37; }
  #bpHub .bp-col.reach .bp-n { color: #ffd27a; border-color: #e8a92e; } #bpHub .bp-col.next .bp-n { color: #fff; border-color: #fff; }
  #bpHub .bp-rw { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 6px; text-align: center;
    border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; }
  #bpHub .bp-rw { position: relative; padding-top: 16px !important; } #bpHub .bp-rw::before { content: 'GRÁTIS'; position: absolute; top: 1px; left: 0; right: 0; font: 700 9px Tahoma; color: #8a96a8; letter-spacing: 1px; }
  #bpHub .bp-rw.prem::before { content: '⭐ PREMIUM'; color: #ffd27a; }
  #bpHub .bp-rw.prem { background: linear-gradient(#3a2c0855, #1a140433); box-shadow: inset 0 0 0 1px #e8a92e55; }
  #bpHub .bp-rw.can { box-shadow: inset 0 0 0 2px #ffd27a, 0 0 12px #ffb30066; animation: bpCan 1.6s ease-in-out infinite; } @keyframes bpCan { 50% { box-shadow: inset 0 0 0 2px #ffd27a, 0 0 22px #ffb300aa; } }
  #bpHub .bp-rw.got { opacity: .5; } #bpHub .bp-rw.lock .bp-r { filter: grayscale(.7) brightness(.7); }
  #bpHub .bp-r { display: flex; flex-direction: column; align-items: center; } #bpHub .bp-r b { color: #fff; font-size: 13px; } #bpHub .bp-r small { color: #9fb0c8; font-size: 10px; line-height: 1.2; }
  #bpHub .bp-r img { width: 84px; height: 40px; object-fit: contain; } #bpHub .bp-r.none { color: #4a5260; }
  #bpHub .bp-ic { font-style: normal; font: 700 16px Tahoma; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
  #bpHub .bp-ic.gold { color: #3a2a00; background: radial-gradient(#ffe9a0, #d9a520); border: 1px solid #000; } #bpHub .bp-ic.coin { font-size: 18px; }
  #bpHub .bp-rw .st { font-size: 10px; color: #8a96a8; } #bpHub .bp-rw.got .st { color: #6fe08c; } #bpHub .bp-rw .hm-btn { min-height: 28px; font-size: 11px; padding: 0 4px; }
  #bpHub .bp-msg { padding: 0 12px 8px; color: #ffd27a; min-height: 16px; }
  #bpHub .bp-daily { position: relative; width: 330px; flex: none; } #bpHub .bp-dl { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; }
  #bpHub .bp-d { padding: 8px 10px; border: 5px solid; border-image: url(/static/v37/skin/frame.png) 5 fill / 5px; } #bpHub .bp-d b { color: #fff; font-size: 13px; }
  #bpHub .bp-d.done b { color: #6fe08c; } #bpHub .bp-d small { color: #ffd27a; font-size: 11px; }
  #bpHub .bp-pb { position: relative; height: 16px; margin: 6px 0 3px; background: #0b0d10; border: 1px solid #000; } #bpHub .bp-pb i { display: block; height: 100%; background: linear-gradient(90deg, #2e6fd0, #6fb0ff); }
  #bpHub .bp-d.done .bp-pb i { background: linear-gradient(90deg, #2f9a55, #6fe08c); } #bpHub .bp-pb span { position: absolute; inset: 0; text-align: center; font: 700 11px/16px Tahoma; color: #fff; text-shadow: 0 1px 1px #000; }
  #bpHub .bp-bonus { padding: 8px 10px; text-align: center; color: #cfd6e0; border: 1px dashed #4a5a75; } #bpHub .bp-bonus.done { color: #6fe08c; border-color: #2f9a55; }
  @media (max-width: 900px), (max-height: 520px) {
    #bpHub .bp-top { gap: 8px; padding: 4px 10px; } #bpHub .bp-logo { font-size: 14px; } #bpHub .bp-ss { display: none; } #bpHub .bp-lv { min-width: 140px; } #bpHub .bp-buy { min-height: 32px; font-size: 11px; }
    #bpHub .bp-main { flex-direction: column; padding: 6px; gap: 6px; overflow-y: auto; } #bpHub .bp-track { flex: none; height: 270px; } #bpHub .bp-daily { width: auto; flex: none; }
    #bpHub .bp-col { flex-basis: 100px; } #bpHub .bp-r img { width: 64px; height: 30px; }
  }
  #hmLogin { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: #000b; }
  #hmLogin .box { width: min(340px, calc(100vw - 32px)); background: linear-gradient(#1d2129, #15181e); border: 1px solid #070809; border-radius: 4px;
    box-shadow: inset 0 0 0 1px #3a414d, 0 10px 40px #000; font: 12px Tahoma, sans-serif; color: #cfd6e0; }
  #hmLogin .box { position: relative; isolation: isolate; background: none; border: 0; box-shadow: none; filter: drop-shadow(0 10px 30px #000); }   /* janela da V37 (skin win.png) */
  #hmLogin .box::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-style: solid; border-width: 32px 10px 50px; border-image: url(/static/v37/skin/win.png) 32 10 50 fill / 32px 10px 50px; }
  #hmLogin .in { padding: 14px 18px 16px; } #hmLogin label { display: block; margin: 0 0 4px; color: #9aa5b5; font-weight: 700; }
  #hmLogin input:not([type=checkbox]) { box-sizing: border-box; width: 100%; margin-bottom: 10px; padding: 7px 8px; color: #fff; background: #8f9296;
    border: 2px solid #2c2f34; border-radius: 3px; box-shadow: inset 0 1px 3px #0008; font: 13px Tahoma, sans-serif; }
  #hmLogin input:not([type=checkbox]):focus { outline: none; background: #a4a7ab; border-color: #4b74b3; }
  #hmLogin .row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; } #hmLogin .row label { margin: 0; font-weight: 400; color: #cfd6e0; }
  #hmLogin .err { min-height: 16px; color: #ff7a5c; margin-bottom: 6px; }
  #hmLogin .btns { display: flex; gap: 8px; justify-content: flex-end; } #hmLogin .sw { margin-top: 12px; text-align: center; color: #8a93a3; }
  #hmLogin .sw a { color: #8fb4ff; cursor: pointer; text-decoration: underline; }
  /* picker de cor do nick / borda: UI_Rml/ColorPicker.rml + .rcss (dp = altura/768, como o login) */
  #rmlCpk { --dp: calc(100vh / 768); position: fixed; inset: 0; z-index: 70; font-family: Rajdhani, Tahoma, sans-serif; color: #e8ebf0; }
  #rmlCpk button { font-family: inherit; cursor: pointer; }
  #cpk_back { width: 100%; height: 100%; background: #05070bcc; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  #cpk_panel { width: calc(660 * var(--dp)); background: #0e141ef2; border: calc(2 * var(--dp)) solid #f0913a; border-radius: calc(10 * var(--dp)); padding: calc(16 * var(--dp)) calc(20 * var(--dp)); }
  #cpk_title { font-size: calc(21 * var(--dp)); font-weight: bold; color: #f0913a; text-align: center; margin-bottom: calc(12 * var(--dp)); }
  #cpk_preview { width: calc(340 * var(--dp)); height: calc(52 * var(--dp)); margin: 0 auto calc(12 * var(--dp)); position: relative; background: #060a10 center/100% 100% no-repeat;
    border: 1px solid #24303f; border-radius: calc(6 * var(--dp)); text-align: center; }
  #cpk_nick { position: relative; display: inline-block; line-height: calc(52 * var(--dp)); font-size: calc(26 * var(--dp)); font-weight: bold; color: #fff; }
  #cpk_types { display: none; text-align: center; margin-bottom: calc(12 * var(--dp)); }
  #rmlCpk.cpk-outline #cpk_types { display: block; }
  button.cpktype { display: inline-block; margin: calc(2 * var(--dp)) calc(3 * var(--dp)); padding: calc(6 * var(--dp)) calc(12 * var(--dp)); background: #141c28; color: #cfd6e0;
    border: 1px solid #2b3646; border-radius: calc(6 * var(--dp)); font-size: calc(13 * var(--dp)); font-weight: bold; }
  button.cpktype:hover { border-color: #f0913a; color: #fff; background: #1b2331; }
  button.cpktype.sel { background: #f0913a; color: #10141a; border-color: #f0913a; }
  #cpk_grids { text-align: center; margin-bottom: calc(12 * var(--dp)); }
  #rmlCpk.cpk-nogrid #cpk_grids { display: none; }
  #cpk_colA, #cpk_colB { display: inline-block; vertical-align: top; margin: 0 calc(8 * var(--dp)); }
  #cpk_colB { display: none; } #rmlCpk.cpk-2col #cpk_colB { display: inline-block; }
  .cpk_glabel { display: none; font-size: calc(12 * var(--dp)); font-weight: bold; color: #8a93a3; text-align: left; margin-bottom: calc(4 * var(--dp)); }
  #rmlCpk.cpk-outline .cpk_glabel { display: block; }
  .cpk_grid { width: calc(288 * var(--dp)); line-height: 0; }
  .cpk_sw { display: inline-block; box-sizing: border-box; width: calc(16 * var(--dp)); height: calc(12 * var(--dp)); margin: calc(1 * var(--dp)); border: 1px solid #000; border-radius: calc(2 * var(--dp)); cursor: pointer; }
  .cpk_sw:hover { border: 2px solid #fff; } .cpk_sw.sel { border: 2px solid #f0913a; }
  #cpk_actions { text-align: center; margin-top: calc(2 * var(--dp)); }
  #cpk_ok, #cpk_cancel { display: inline-block; margin: 0 calc(8 * var(--dp)); padding: calc(9 * var(--dp)) calc(28 * var(--dp)); border: 1px solid; border-radius: calc(6 * var(--dp)); font-size: calc(15 * var(--dp)); font-weight: bold; }
  #cpk_ok { background: #f0913a; border-color: #f0913a; color: #10141a; } #cpk_ok:hover { background: #ffab5a; }
  #cpk_cancel { background: #1a222e; border-color: #2b3646; color: #cfd6e0; } #cpk_cancel:hover { border-color: #f0913a; color: #fff; }
  /* fonte do app nativo (dono 28/10): Tahoma em negrito no lobby inteiro */
  body, body * { font-weight: 700 !important; }
