/* ==========================================================================
   HeroOT — tema "Rubi" (body.theme-rubi)
   Moderno e clean, nas cores da logo: grafite quente, ouro champanhe, cobre
   e rubi. A roupagem do Tibia vem dos itens do jogo em HD (assets/heroui/items),
   dos ícones de vocação e dos outfits — sem molduras pesadas.
   Carregado depois do app.css (Vite). Escolhido no /admin (Aparência); views
   em resources/views/themes/rubi. Fonte da verdade: heroot/public/assets/theme
   — espelhar em public_html (node tools/heroui-web/build.js sync).
   ========================================================================== */

@font-face {
    font-family: 'Inter RB';
    src: url('../heroui/fonts/inter.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Cinzel RB';
    src: url('../heroui/fonts/cinzel.woff2') format('woff2');
    font-weight: 400 900;
    font-display: swap;
}

/* na Cinzel o 1 parece um I e o 0 um O: algarismos dos títulos vêm da Inter */
@font-face {
    font-family: 'RB Num';
    src: url('../heroui/fonts/inter.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0030-0039;
}

/* ------------------------------------------------------------------ tokens */
.theme-rubi {
    /* superfícies: grafite quente com um fundo de vinho */
    --rb-bg: #0e0a0b;
    --rb-bg-2: #130e0f;
    --rb-surface: #181213;
    --rb-surface-2: #1f1718;
    --rb-surface-3: #2a1f20;
    --rb-input: #120d0e;
    --rb-line: rgba(252, 220, 140, 0.08);
    --rb-line-2: rgba(252, 220, 140, 0.15);
    --rb-line-3: rgba(252, 220, 140, 0.28);

    /* texto */
    --rb-text: #f4ede8;
    --rb-text-2: #cdc1b9;
    --rb-muted: #94877f;
    --rb-faint: #6b5f59;

    /* marca (extraídas da logo) */
    --rb-gold: #f2d38c;
    --rb-gold-2: #ddb064;
    --rb-copper: #c4844c;
    --rb-bronze: #8c543c;
    --rb-ruby: #d0153f;
    --rb-ruby-2: #a80d31;
    --rb-ruby-3: #6b0a20;
    --rb-wine: #3a1416;

    --rb-ok: #4fd18b;
    --rb-warn: #f0b955;
    --rb-err: #f2667a;
    --rb-discord: #5865f2;

    --rb-grad-gold: linear-gradient(180deg, #fff1c8 0%, #f2d38c 45%, #c99447 100%);
    --rb-grad-ruby: linear-gradient(180deg, #e3234d 0%, #c01139 55%, #9a0b2e 100%);

    --rb-radius-sm: 10px;
    --rb-radius: 14px;
    --rb-radius-lg: 20px;
    --rb-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset, 0 18px 40px -22px rgba(0, 0, 0, 0.85);
    --rb-shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 60px -28px rgba(0, 0, 0, 0.9);
    --rb-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --rb-fast: 140ms;
    --rb-med: 240ms;

    --rb-sans: 'Inter RB', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --rb-display: 'RB Num', 'Cinzel RB', Cinzel, Georgia, serif;
    --rb-width: 1200px;
    --rb-header: 68px;

    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(900px 520px at 85% -120px, rgba(208, 21, 63, 0.12), transparent 70%),
        radial-gradient(800px 600px at -10% 30%, rgba(196, 132, 76, 0.06), transparent 70%),
        var(--rb-bg);
    color: var(--rb-text);
    font: 400 15.5px/1.65 var(--rb-sans);
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* grão sutil por cima de tudo (textura de papel/pedra, sem pesar) */
.theme-rubi::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.theme-rubi *,
.theme-rubi *::before,
.theme-rubi *::after { box-sizing: border-box; }
.theme-rubi a { color: inherit; text-decoration: none; }
.theme-rubi img { max-width: 100%; }
.theme-rubi ::selection { background: rgba(208, 21, 63, 0.55); color: #fff; }
.theme-rubi :focus-visible { outline: 2px solid var(--rb-gold); outline-offset: 3px; border-radius: 6px; }
.theme-rubi h1,
.theme-rubi h2,
.theme-rubi h3,
.theme-rubi h4 { margin: 0; color: var(--rb-text); }
.theme-rubi p { margin: 0 0 0.9em; }
.theme-rubi p:last-child { margin-bottom: 0; }

.rb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rb-skip { position: fixed; z-index: 200; left: 16px; top: -60px; padding: 10px 16px; border-radius: 10px; background: var(--rb-gold); color: #1a1006 !important; font-weight: 700; transition: top var(--rb-med); }
.rb-skip:focus { top: 12px; }

.rb-container { width: min(var(--rb-width), calc(100% - 48px)); margin: 0 auto; }
.rb-stack { display: flex; flex-direction: column; gap: 22px; }
.rb-main { position: relative; z-index: 2; padding: 34px 0 72px; }
.rb-main:focus { outline: none; }
.rb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rb-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.rb-narrow { width: min(640px, 100%); margin-inline: auto; }

.rb-muted { color: var(--rb-muted); }
.rb-gold { color: var(--rb-gold) !important; }
.rb-ok { color: var(--rb-ok) !important; }
.rb-num { text-align: right !important; font-variant-numeric: tabular-nums; }

/* ponto "ao vivo" */
.rb-dot {
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rb-ok);
    box-shadow: 0 0 0 3px rgba(79, 209, 139, 0.18);
    animation: rb-pulse 2.4s ease-in-out infinite;
}

.rb-rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b52; box-shadow: 0 0 0 3px rgba(255, 59, 82, 0.2); animation: rb-pulse 1.6s ease-in-out infinite; }
@keyframes rb-pulse { 50% { box-shadow: 0 0 0 6px rgba(79, 209, 139, 0); opacity: 0.75; } }

/* ------------------------------------------------------------- tipografia */
.rb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font: 700 11.5px/1.2 var(--rb-sans);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rb-gold);
}

.rb-eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.rb-h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--rb-sans); letter-spacing: -0.02em; }
.rb-h3 { font: 700 18px/1.3 var(--rb-sans); letter-spacing: -0.01em; }
.rb-link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--rb-sans); color: var(--rb-gold) !important; transition: gap var(--rb-fast) var(--rb-ease), color var(--rb-fast); }
.rb-link-arrow:hover { gap: 10px; color: #fff !important; }

.rb-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    margin: 0;
    padding: 0 11px;
    border: 1px solid var(--rb-line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font: 600 12px/1 var(--rb-sans);
    letter-spacing: 0.01em;
    color: var(--rb-text-2);
    white-space: nowrap;
}
.rb-pill--gold { border-color: rgba(242, 211, 140, 0.35); background: rgba(242, 211, 140, 0.08); color: var(--rb-gold); }
.rb-pill--ok { border-color: rgba(79, 209, 139, 0.35); background: rgba(79, 209, 139, 0.08); color: var(--rb-ok); }
.rb-pill--live { border-color: rgba(255, 59, 82, 0.4); background: rgba(255, 59, 82, 0.1); color: #ff8a98; font-size: 12px; letter-spacing: 0; }
a.rb-pill:hover { border-color: var(--rb-gold); color: #fff; }

.rb-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding: 7px 14px 7px 12px;
    border: 1px solid var(--rb-line-2);
    border-radius: 999px;
    background: rgba(14, 10, 11, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font: 500 13px/1 var(--rb-sans);
    color: var(--rb-text-2);
}
.rb-chip b { color: var(--rb-text); font-weight: 700; }

/* ---------------------------------------------------------------- botões */
.rb-btn,
.theme-rubi .ob-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--rb-radius-sm);
    background: var(--rb-surface-3);
    color: var(--rb-text) !important;
    font: 650 14.5px/1 var(--rb-sans);
    letter-spacing: 0.005em;
    text-transform: none;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    box-shadow: none;
    animation: none;
    transition: transform var(--rb-fast) var(--rb-ease), box-shadow var(--rb-med) var(--rb-ease), background-color var(--rb-fast), border-color var(--rb-fast), color var(--rb-fast), filter var(--rb-fast);
}

.rb-btn:hover,
.theme-rubi .ob-btn:hover { transform: translateY(-1px); filter: none; }
.rb-btn:active,
.theme-rubi .ob-btn:active { transform: translateY(0) scale(0.985); }
.rb-btn[disabled],
.theme-rubi .ob-btn[disabled] { cursor: not-allowed; opacity: 0.5; transform: none; }

/* principal: rubi */
.rb-btn--primary,
.rb-btn--danger,
.theme-rubi .ob-btn:not(.ob-btn--gold):not(.ob-btn--dark):not(.ob-btn--discord):not(.ob-live-twitch) {
    background: var(--rb-grad-ruby);
    border-color: rgba(255, 120, 140, 0.25);
    color: #fff !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 10px 24px -10px rgba(208, 21, 63, 0.65);
}
.rb-btn--primary:hover,
.rb-btn--danger:hover,
.theme-rubi .ob-btn:not(.ob-btn--gold):not(.ob-btn--dark):not(.ob-btn--discord):not(.ob-live-twitch):hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 14px 30px -10px rgba(208, 21, 63, 0.85); }

/* ouro: ações de compra/coins */
.rb-btn--gold,
.theme-rubi .ob-btn--gold {
    background: var(--rb-grad-gold);
    border-color: rgba(255, 240, 200, 0.4);
    color: #2a1a05 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 10px 24px -12px rgba(242, 211, 140, 0.55);
}
.rb-btn--gold:hover,
.theme-rubi .ob-btn--gold:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 30px -12px rgba(242, 211, 140, 0.8); }

/* contorno dourado: secundário */
.rb-btn--outline {
    border-color: rgba(242, 211, 140, 0.45);
    background: rgba(14, 10, 11, 0.35);
    color: var(--rb-gold) !important;
}
.rb-btn--outline:hover { border-color: var(--rb-gold); background: rgba(242, 211, 140, 0.08); color: #fff !important; }

/* discreto */
.rb-btn--ghost,
.theme-rubi .ob-btn--dark {
    border-color: var(--rb-line-2);
    background: rgba(255, 255, 255, 0.025);
    color: var(--rb-text-2) !important;
}
.rb-btn--ghost:hover,
.theme-rubi .ob-btn--dark:hover { border-color: var(--rb-line-3); background: rgba(255, 255, 255, 0.05); color: #fff !important; }

.rb-btn--discord,
.theme-rubi .ob-btn--discord { background: var(--rb-discord); border-color: rgba(255, 255, 255, 0.15); color: #fff !important; box-shadow: 0 10px 24px -12px rgba(88, 101, 242, 0.7); }
.rb-btn--sm,
.theme-rubi .ob-btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.rb-btn--lg,
.theme-rubi .ob-btn--lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 12px; }
.rb-btn--block,
.theme-rubi .ob-btn--block { display: flex; width: 100%; }

/* ------------------------------------------------------------- cabeçalho */
.rb-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--rb-header);
    border-bottom: 1px solid transparent;
    transition: background-color var(--rb-med), border-color var(--rb-med), box-shadow var(--rb-med);
}

.has-hero .rb-header { margin-bottom: calc(var(--rb-header) * -1); }
.rb-header.is-solid,
.theme-rubi:not(.has-hero) .rb-header {
    background: rgba(14, 10, 11, 0.78);
    border-bottom-color: var(--rb-line);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}

.rb-header__in {
    width: min(1320px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.rb-brand { flex: none; display: block; width: 112px; transition: transform var(--rb-med) var(--rb-ease); }
.rb-brand:hover { transform: scale(1.04); }
.rb-brand img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)); }

.rb-nav { flex: 1; min-width: 0; }
.rb-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rb-nav__item { position: relative; }
.rb-nav__mobile { display: none; }

.rb-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: none;
    cursor: pointer;
    font: 600 14px/1 var(--rb-sans);
    color: var(--rb-text-2);
    transition: color var(--rb-fast), background-color var(--rb-fast);
}

.rb-nav__link:hover,
.rb-nav__item.is-open > .rb-nav__link { color: #fff; background: rgba(255, 255, 255, 0.05); }
.rb-nav__link.is-active { color: #fff; }
.rb-nav__link.is-active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rb-ruby), var(--rb-gold));
}

.rb-nav__link--shop { color: var(--rb-gold); }
.rb-nav__link--shop img { display: block; width: 22px; height: 22px; image-rendering: pixelated; }
.rb-caret { width: 10px; height: 6px; opacity: 0.6; transition: transform var(--rb-med) var(--rb-ease); }
.rb-nav__item.is-open .rb-caret,
.rb-me.is-open .rb-caret { transform: rotate(180deg); }

/* mega menu */
.rb-drop {
    position: absolute;
    z-index: 70;
    top: calc(100% + 10px);
    left: -8px;
    min-width: 270px;
    padding: 8px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius);
    background: rgba(24, 18, 19, 0.92);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(0.98);
    transform-origin: top left;
    transition: opacity var(--rb-fast) ease, transform var(--rb-med) var(--rb-ease), visibility var(--rb-fast);
}

.rb-drop--wide { grid-template-columns: 1fr 1fr; min-width: 540px; }
.rb-nav__item.is-open > .rb-drop,
.rb-me.is-open > .rb-drop { opacity: 1; visibility: visible; transform: none; }

.rb-drop__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--rb-text) !important;
    transition: background-color var(--rb-fast);
}

.rb-drop__link:hover,
.rb-drop__link.is-current { background: rgba(255, 255, 255, 0.05); }
.rb-drop__link:hover .rb-tile { border-color: var(--rb-line-3); transform: translateY(-1px); }
.rb-drop__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rb-drop__txt b { font: 600 14px/1.25 var(--rb-sans); }
.rb-drop__txt small { font: 400 12.5px/1.3 var(--rb-sans); color: var(--rb-muted); }

/* item do Tibia num ladrilho */
.rb-tile {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--rb-line);
    border-radius: 11px;
    background: radial-gradient(circle at 50% 40%, rgba(242, 211, 140, 0.12), transparent 70%), var(--rb-surface-2);
    transition: border-color var(--rb-fast), transform var(--rb-med) var(--rb-ease);
}
.rb-tile img { display: block; width: 34px; height: 34px; image-rendering: pixelated; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6)); }
.rb-tile--sm { width: 34px; height: 34px; border-radius: 9px; }
.rb-tile--xl { width: 64px; height: 64px; border-radius: 16px; border-color: rgba(242, 211, 140, 0.3); box-shadow: 0 10px 30px -12px rgba(208, 21, 63, 0.6); }
.rb-tile--xl img { width: 52px; height: 52px; }
.rb-me__icon { flex: none; color: var(--rb-gold); }
.rb-tile--sm img { width: 26px; height: 26px; }
/* ícones de linha (x-rb-icon) — 2026-11-04: substituem os itens do Tibia nos menus */
.rb-ico { display: block; flex: none; }
.rb-tile--ico { color: var(--rb-gold); background: rgba(242, 211, 140, 0.05); }
.rb-drop__link:hover .rb-tile--ico,
.rb-drop__link.is-current .rb-tile--ico { color: #fff1c8; background: rgba(208, 21, 63, 0.18); border-color: rgba(208, 21, 63, 0.45); }
.rb-acc__ico { color: var(--rb-gold); }
.rb-acc__list .rb-ico,
.rb-side__links .rb-ico { color: var(--rb-muted); transition: color var(--rb-fast); }
.rb-acc__list a:hover .rb-ico,
.rb-acc__list a.is-current .rb-ico,
.rb-side__links a:hover .rb-ico,
.rb-side__links a.is-current .rb-ico { color: var(--rb-gold); }
.rb-tab .rb-ico { opacity: 0.7; transition: opacity var(--rb-fast), color var(--rb-fast); }
.rb-tab:hover .rb-ico { opacity: 1; }
.rb-tab.is-active .rb-ico { opacity: 1; color: var(--rb-gold); }
.rb-tab.is-danger .rb-ico { color: var(--rb-err); }

/* direita do cabeçalho */
.rb-header__right { flex: none; display: flex; align-items: center; gap: 10px; }
.rb-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--rb-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font: 500 12.5px/1 var(--rb-sans);
    color: var(--rb-muted);
    white-space: nowrap;
}
.rb-live b { color: var(--rb-text); font-weight: 700; font-variant-numeric: tabular-nums; }

.theme-rubi .status-flags { display: flex; gap: 4px; align-items: center; }
.theme-rubi .status-flags a {
    display: block;
    width: 22px;
    height: 16px;
    overflow: hidden;
    border-radius: 4px;
    opacity: 0.45;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: opacity var(--rb-fast), box-shadow var(--rb-fast), transform var(--rb-fast);
}
.theme-rubi .status-flags a:hover,
.theme-rubi .status-flags a.is-active { opacity: 1; box-shadow: 0 0 0 1px var(--rb-gold); }
.theme-rubi .status-flags img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* avatar (inicial da conta) */
.rb-avatar {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #e3234d, #6b0a20 70%);
    box-shadow: 0 0 0 2px rgba(242, 211, 140, 0.45);
    font: 700 14px/1 var(--rb-display);
    color: #fff3d6;
}
.rb-avatar--lg { width: 44px; height: 44px; font-size: 18px; }
.rb-avatar--xl { width: 60px; height: 60px; font-size: 24px; box-shadow: 0 0 0 3px rgba(242, 211, 140, 0.4), 0 10px 30px -10px rgba(208, 21, 63, 0.7); }

.rb-me { position: relative; }
.rb-me__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 0 12px 0 13px;
    border: 1px solid var(--rb-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--rb-text);
    font: 600 13.5px/1 var(--rb-sans);
    cursor: pointer;
    transition: border-color var(--rb-fast), background-color var(--rb-fast);
}
.rb-me__btn:hover,
.rb-me.is-open .rb-me__btn { border-color: var(--rb-line-3); background: rgba(255, 255, 255, 0.06); }
.rb-me__name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-drop--me { left: auto; right: 0; min-width: 270px; transform-origin: top right; }
.rb-me__card { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; border-bottom: 1px solid var(--rb-line); margin-bottom: 6px; }
.rb-me__card b { display: block; font: 700 15px/1.3 var(--rb-sans); }
.rb-me__card small { display: block; font-size: 12.5px; color: var(--rb-muted); }
.rb-me__coins { display: flex; align-items: center; gap: 10px; margin: 0 2px 6px; padding: 9px 12px; border: 1px solid rgba(242, 211, 140, 0.2); border-radius: 10px; background: rgba(242, 211, 140, 0.06); font-size: 13px; color: var(--rb-text-2) !important; }
.rb-me__coins img { image-rendering: pixelated; }
.rb-me__coins b { font: 800 16px/1 var(--rb-sans); color: var(--rb-gold); }
.rb-me__coins:hover { border-color: rgba(242, 211, 140, 0.45); }
.rb-me__out { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--rb-line); }
.rb-me__out button { width: 100%; padding: 10px; border: 0; border-radius: 10px; background: none; color: #f19aa6; font: 600 13.5px/1 var(--rb-sans); text-align: left; cursor: pointer; }
.rb-me__out button:hover { background: rgba(242, 102, 122, 0.08); }

.rb-burger { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--rb-line-2); border-radius: 11px; background: rgba(255, 255, 255, 0.03); cursor: pointer; place-content: center; gap: 4px; }
.rb-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--rb-text); transition: transform var(--rb-med) var(--rb-ease), opacity var(--rb-fast); }
.rb-header.is-menu .rb-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rb-header.is-menu .rb-burger i:nth-child(2) { opacity: 0; }
.rb-header.is-menu .rb-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------- cabeçalho de página */
.rb-pagehead {
    position: relative;
    overflow: hidden;
    padding: 64px 0 42px;
    border-bottom: 1px solid var(--rb-line);
}

.rb-pagehead__art {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--rb-bg) 0%, rgba(14, 10, 11, 0.88) 36%, rgba(14, 10, 11, 0.45) 70%, rgba(14, 10, 11, 0.78) 100%),
        linear-gradient(0deg, var(--rb-bg) 0%, transparent 60%),
        linear-gradient(120deg, #6e0a22 0%, #a8262f 45%, #c98a4c 100%),
        url('../heroui/precadastro/wallpaper-1000.jpg') 70% 30% / cover no-repeat;
    background-blend-mode: normal, normal, color, normal;
}

.rb-pagehead__art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 120% at 85% 0%, rgba(208, 21, 63, 0.22), transparent 70%);
    mix-blend-mode: screen;
}

.rb-pagehead__in { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 32px; }
.rb-pagehead__copy { min-width: 0; }
.rb-pagehead__title {
    max-width: 820px;
    font: 700 clamp(30px, 3.6vw, 46px)/1.1 var(--rb-display);
    letter-spacing: 0.01em;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.rb-pagehead__sub { max-width: 640px; margin: 12px 0 0; font-size: 16px; color: var(--rb-text-2); }

/* ---------------------------------------------------------------- herói */
.rb-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--rb-header) + 64px) 0 40px;
    min-height: min(860px, 96vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* arte oficial em duotone vinho → cobre, escurecida do lado do texto */
.rb-hero__art {
    position: absolute;
    z-index: -2;
    inset: -2%;
    background:
        linear-gradient(120deg, #6e0a22 0%, #a8262f 42%, #c98a4c 100%),
        url('../heroui/precadastro/wallpaper.jpg') 72% 28% / cover no-repeat;
    background-blend-mode: color, normal;
    filter: contrast(1.12) brightness(0.88) saturate(1.1);
    animation: rb-zoom 40s ease-in-out infinite alternate;
}

.rb-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 10, 11, 0.96) 0%, rgba(14, 10, 11, 0.82) 30%, rgba(14, 10, 11, 0.25) 62%, rgba(14, 10, 11, 0.45) 100%),
        linear-gradient(0deg, var(--rb-bg) 0%, rgba(14, 10, 11, 0) 34%),
        linear-gradient(180deg, rgba(14, 10, 11, 0.7) 0%, rgba(14, 10, 11, 0) 22%);
}

@keyframes rb-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.rb-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.rb-hero__copy { max-width: 620px; }
.rb-hero__logo { display: block; width: clamp(220px, 24vw, 320px); margin: 0 0 22px -10px; }
.rb-hero__logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 26px rgba(208, 21, 63, 0.35)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7)); }

.rb-hero__title {
    margin: 0;
    font: 700 clamp(36px, 4.6vw, 62px)/1.06 var(--rb-display);
    letter-spacing: 0.005em;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.rb-hero__title span {
    background: var(--rb-grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 14px rgba(242, 211, 140, 0.25));
}

.rb-hero__lead { max-width: 520px; margin: 20px 0 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--rb-text-2); }
.rb-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@keyframes rb-bob { 50% { transform: translateY(-14px) rotate(-2deg); } }

.rb-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 56px 0 0;
    overflow: hidden;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius);
    background: var(--rb-line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.rb-stat { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(20, 15, 16, 0.72); }
.rb-stat img { flex: none; width: 40px; height: 40px; image-rendering: pixelated; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.6)); }
.rb-stat dt { font: 600 12px/1.2 var(--rb-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-muted); }
.rb-stat dd { margin: 4px 0 0; font: 800 24px/1 var(--rb-sans); letter-spacing: -0.01em; color: var(--rb-text); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------- boosted do dia (topo) */
.rb-boosted {
    flex: none;
    width: 344px;
    padding: 14px;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius);
    background: rgba(20, 15, 16, 0.6);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: var(--rb-shadow-lg);
}

.rb-boosted__hd { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 12px/1 var(--rb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-gold); }
.rb-boosted__hd img { flex: none; image-rendering: pixelated; }
.rb-boosted__hd span { margin-left: auto; font: 500 12px/1 var(--rb-sans); letter-spacing: 0; text-transform: none; color: var(--rb-muted); }
.rb-boosted__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rb-boosted__cell { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 6px 8px 10px; border: 1px solid var(--rb-line); border-radius: 11px; background: rgba(14, 10, 11, 0.55); text-align: center; }
.rb-boosted__stage {
    display: grid;
    place-items: end center;
    width: 100%;
    height: 80px;
    margin-bottom: 4px;
    background:
        radial-gradient(55% 16% at 50% 94%, rgba(0, 0, 0, 0.6), transparent 70%),
        radial-gradient(70% 80% at 50% 70%, rgba(208, 21, 63, 0.26), transparent 70%);
}
.rb-boosted__cell--boss .rb-boosted__stage { background: radial-gradient(55% 16% at 50% 94%, rgba(0, 0, 0, 0.6), transparent 70%), radial-gradient(70% 80% at 50% 70%, rgba(242, 211, 140, 0.2), transparent 70%); }
.rb-boosted__stage img { display: block; width: 76px; height: 76px; object-fit: contain; object-position: 50% 100%; image-rendering: pixelated; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.6)); transition: transform var(--rb-med) var(--rb-ease); }
.rb-boosted__cell:hover .rb-boosted__stage img { transform: translateY(-3px) scale(1.06); }
.rb-boosted__cell small { font: 600 10.5px/1.3 var(--rb-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-muted); }
.rb-boosted__cell b { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font: 700 13.5px/1.3 var(--rb-sans); color: var(--rb-text); overflow-wrap: anywhere; }

/* versão compacta no cabeçalho das páginas internas */
.rb-boosted--head { width: 330px; padding: 12px; }
.rb-boosted--head .rb-boosted__hd { margin-bottom: 8px; }
.rb-boosted--head .rb-boosted__stage { height: 58px; }
.rb-boosted--head .rb-boosted__stage img { width: 56px; height: 56px; }

/* -------------------------------------------------------------- seções */
.rb-section { display: flex; flex-direction: column; gap: 22px; }
.rb-section + .rb-section { margin-top: 34px; }
.rb-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* ---------------------------------------------------------------- cards */
.rb-card,
.theme-rubi .ob-box,
.theme-rubi .soft-panel {
    position: relative;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--rb-line);
    border-radius: var(--rb-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 120px), var(--rb-surface);
    box-shadow: var(--rb-shadow);
    color: var(--rb-text);
}

.rb-card.rb-flush,
.theme-rubi .ob-box__bd.ob-flush { padding: 0; overflow: hidden; }
.rb-card__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 16px/1.3 var(--rb-sans); letter-spacing: -0.005em; }

/* ob-box / soft-panel: cabeçalho dentro do card, sem faixa */
.theme-rubi .ob-box,
.theme-rubi .soft-panel { padding: 0; }
.theme-rubi .ob-box__hd,
.theme-rubi .soft-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    padding: 18px 22px 0;
    border: 0;
    border-radius: 0;
    background: none;
    font: 700 16px/1.3 var(--rb-sans);
    letter-spacing: -0.005em;
    text-transform: none;
    text-shadow: none;
    color: var(--rb-text);
}

.theme-rubi .ob-box__hd h3 { display: flex; align-items: center; gap: 10px; margin: 0; font: inherit; color: inherit; }
.theme-rubi .ob-box__hd h3 i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(242, 211, 140, 0.08); font-style: normal; font-size: 13px; color: var(--rb-gold); }
.theme-rubi .ob-box__hd small { font: 600 13px/1 var(--rb-sans); letter-spacing: 0; text-transform: none; color: var(--rb-gold); opacity: 1; }
.theme-rubi .ob-box__hd a:hover small { color: #fff; }
.theme-rubi .ob-box__bd,
.theme-rubi .soft-panel-body { padding: 16px 22px 22px; border-radius: 0; background: none; font-size: 15px; }
.theme-rubi .ob-box__bd p { margin: 0 0 12px; }
.theme-rubi .ob-box__bd > :last-child,
.theme-rubi .soft-panel-body > :last-child { margin-bottom: 0; }
.theme-rubi .soft-panel .soft-panel,
.theme-rubi .ob-box .ob-box { box-shadow: none; background: var(--rb-surface-2); }

/* -------------------------------------------------------------- notícias */
.rb-news { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; }
.rb-news__feature {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid var(--rb-line);
    border-radius: var(--rb-radius-lg);
    background: var(--rb-surface);
    box-shadow: var(--rb-shadow-lg);
    isolation: isolate;
}

.rb-news__img { position: absolute; z-index: -2; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--rb-ease); }
.rb-news__feature::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 11, 0.05) 0%, rgba(14, 10, 11, 0.3) 40%, rgba(14, 10, 11, 0.95) 100%); }
.rb-news__feature:hover .rb-news__img { transform: scale(1.05); }
.rb-news__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: auto; padding: 28px; }
.rb-news__title { font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--rb-display); letter-spacing: 0.005em; color: #fff; }
.rb-news__ex { max-width: 560px; font-size: 15px; line-height: 1.55; color: var(--rb-text-2); }
.rb-news__meta { margin-top: 4px; font: 600 13px/1 var(--rb-sans); color: var(--rb-gold); }

.rb-news__list { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rb-news__card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--rb-line);
    border-radius: var(--rb-radius);
    background: var(--rb-surface);
    transition: border-color var(--rb-fast), background-color var(--rb-fast), transform var(--rb-med) var(--rb-ease);
}
.rb-news__card:hover { border-color: var(--rb-line-3); background: var(--rb-surface-2); transform: translateY(-2px); }
.rb-news__thumb { aspect-ratio: 4 / 3; border-radius: 10px; background-size: cover; background-position: center; }
.rb-news__cardbody { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.rb-news__cardbody b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font: 650 15px/1.3 var(--rb-sans); }
.rb-news__cardbody small { font-size: 12.5px; color: var(--rb-muted); }

.rb-updates { padding: 18px 20px; }
.rb-updates .rb-card__title { margin-bottom: 8px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-muted); }
.rb-updates__list { margin: 0; padding: 0; list-style: none; }
.rb-updates__list a { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rb-line); font-size: 14px; color: var(--rb-text-2) !important; }
.rb-updates__list li:first-child a { border-top: 0; }
.rb-updates__list a:hover { color: #fff !important; }
.rb-updates__list time { flex: none; width: 42px; font: 700 12.5px/1.6 var(--rb-sans); color: var(--rb-gold); font-variant-numeric: tabular-nums; }
.rb-updates__list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ----------------------------------------------------------------- bento */
.rb-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rb-server { grid-column: span 2; overflow: hidden; }
.rb-server__top { display: flex; align-items: center; justify-content: space-between; }
.rb-server__top .rb-eyebrow { margin: 0; }
.rb-server__big { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 18px; }
.rb-server__big b { font: 800 64px/1 var(--rb-sans); letter-spacing: -0.04em; background: var(--rb-grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.rb-server__big span { font-size: 15px; color: var(--rb-text-2); }
.rb-server__art { position: absolute; right: 22px; bottom: 18px; width: 96px; image-rendering: pixelated; opacity: 0.85; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6)); }

.rb-kv { display: grid; gap: 0; margin: 0; max-width: 380px; }
.rb-kv > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rb-line); }
.rb-kv dt { margin: 0; font-size: 14px; color: var(--rb-muted); }
.rb-kv dd { display: inline-flex; align-items: center; gap: 6px; margin: 0; font: 700 14.5px/1.3 var(--rb-sans); color: var(--rb-text); font-variant-numeric: tabular-nums; text-align: right; }
.rb-kv dd a { color: var(--rb-gold) !important; }
.rb-kv--lines { max-width: none; }
.rb-kv--lines > div:first-child { border-top: 0; }

.rb-coins { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; overflow: hidden; background: radial-gradient(80% 120% at 100% 50%, rgba(242, 211, 140, 0.12), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 120px), var(--rb-surface); }
.rb-coins .rb-muted { margin: 6px 0 16px; }
.rb-coins__art { position: relative; width: 190px; height: 150px; }
.rb-coins__art img { position: absolute; image-rendering: pixelated; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.6)); animation: rb-bob 6s ease-in-out infinite; }
.rb-coins__art img:nth-child(1) { left: 34px; top: 24px; width: 110px; }
.rb-coins__art img:nth-child(2) { right: 0; top: 0; width: 64px; animation-delay: -2s; }
.rb-coins__art img:nth-child(3) { left: 0; bottom: 0; width: 64px; animation-delay: -4s; }

.rb-social { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; transition: transform var(--rb-med) var(--rb-ease), border-color var(--rb-fast); }
.rb-social:hover { transform: translateY(-3px); border-color: var(--rb-line-3); }
.rb-social p { margin: 0; font-size: 14px; color: var(--rb-text-2); }
.rb-social .rb-link-arrow { margin-top: auto; padding-top: 8px; }
.rb-social--discord { background: radial-gradient(90% 90% at 100% 0%, rgba(88, 101, 242, 0.28), transparent 60%), var(--rb-surface); }
.rb-social--discord > svg { color: #8f99ff; }
.rb-social > img { width: 44px; height: 44px; image-rendering: pixelated; }

/* ------------------------------------------------------------- streamers */
.rb-streams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rb-stream { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-surface); transition: transform var(--rb-med) var(--rb-ease), border-color var(--rb-fast); }
.rb-stream:hover { transform: translateY(-3px); border-color: var(--rb-line-3); }
.rb-stream.is-live { border-color: rgba(255, 59, 82, 0.4); }
.rb-stream__media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: radial-gradient(70% 70% at 50% 60%, rgba(208, 21, 63, 0.18), transparent 70%), var(--rb-surface-2); }
.rb-stream__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rb-stream__avatar { position: relative; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--rb-line-3); filter: grayscale(0.7) brightness(0.8); }
.rb-stream.is-live .rb-stream__avatar { filter: none; }
.rb-stream__thumb ~ .rb-stream__avatar { display: none; }
.rb-stream__avatar.is-letter { display: grid; place-items: center; background: var(--rb-surface-3); font: 700 26px var(--rb-display); color: var(--rb-gold); }
.rb-stream__badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(14, 10, 11, 0.8); font: 700 11px/1.3 var(--rb-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-muted); }
.rb-stream.is-live .rb-stream__badge { background: #e11d48; color: #fff; }
.rb-stream__info { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px; }
.rb-stream__info b { overflow: hidden; font: 650 14.5px/1.3 var(--rb-sans); text-overflow: ellipsis; white-space: nowrap; }
.rb-stream__info small { flex: none; font-size: 12px; color: var(--rb-muted); }

/* -------------------------------------------------------- chamada final */
.rb-cta {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 40px;
    padding: 34px 38px;
    overflow: hidden;
    border: 1px solid rgba(242, 211, 140, 0.2);
    border-radius: var(--rb-radius-lg);
    background:
        radial-gradient(60% 140% at 0% 50%, rgba(208, 21, 63, 0.35), transparent 70%),
        radial-gradient(50% 140% at 100% 50%, rgba(196, 132, 76, 0.18), transparent 70%),
        var(--rb-surface);
    box-shadow: var(--rb-shadow-lg);
}
.rb-cta__items { position: relative; width: 170px; height: 110px; }
.rb-cta__items img { position: absolute; image-rendering: pixelated; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.6)); animation: rb-bob 7s ease-in-out infinite; }
.rb-cta__items img:nth-child(1) { left: 0; top: 0; width: 78px; }
.rb-cta__items img:nth-child(2) { left: 52px; top: 18px; width: 92px; animation-delay: -3s; filter: drop-shadow(0 0 24px rgba(208, 21, 63, 0.6)); }
.rb-cta__items img:nth-child(3) { right: 0; bottom: 0; width: 64px; animation-delay: -5s; }
.rb-cta__copy p { margin: 6px 0 0; color: var(--rb-text-2); }

/* ----------------------------------------------------------------- rodapé */
.rb-footer { position: relative; z-index: 2; margin-top: 20px; border-top: 1px solid var(--rb-line); background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.35)); }
.rb-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 52px 0 36px; }
.rb-footer__brand img { display: block; width: 120px; height: auto; margin-bottom: 14px; }
.rb-footer__brand p { max-width: 340px; font-size: 14px; color: var(--rb-muted); }
.rb-footer__status { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 18px; font-size: 13.5px; color: var(--rb-text-2); }
.rb-footer__status span { display: inline-flex; align-items: center; gap: 8px; }
.rb-footer__status b { color: var(--rb-text); font-variant-numeric: tabular-nums; }
.rb-footer__col { display: flex; flex-direction: column; gap: 10px; }
.rb-footer__col h2 { margin: 0 0 6px; font: 700 12px/1.2 var(--rb-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-gold); }
.rb-footer__col a { width: fit-content; font-size: 14px; color: var(--rb-text-2); transition: color var(--rb-fast); }
.rb-footer__col a:hover { color: #fff; }
.rb-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 30px; border-top: 1px solid var(--rb-line); font-size: 12.5px; color: var(--rb-faint); }
.rb-footer__bottom p { margin: 0; }

/* =================================================== pele das classes do site */
.theme-rubi .muted,
.theme-rubi .ob-muted { color: var(--rb-muted); }
.theme-rubi .ob-small { font-size: 13.5px; }
.theme-rubi .ob-center { text-align: center; }
.theme-rubi .ob-gold { color: var(--rb-gold); }
.theme-rubi .ob-pos { color: var(--rb-ok); font-weight: 700; }
.theme-rubi .ob-neg { color: var(--rb-err); font-weight: 700; }
.theme-rubi .ob-clean { margin: 0; font-weight: 700; color: var(--rb-ok); }
.theme-rubi .ob-bullets,
.theme-rubi .plain-list,
.theme-rubi .server-info-notes { margin: 0 0 12px; padding-left: 1.2rem; color: var(--rb-text-2); }
.theme-rubi .ob-bullets li,
.theme-rubi .plain-list li { margin: 5px 0; }
.theme-rubi .ob-bullets li::marker,
.theme-rubi .plain-list li::marker,
.theme-rubi .server-info-notes li::marker { color: var(--rb-ruby); }
.theme-rubi .ob-table-wrap,
.rb-table-wrap { overflow-x: auto; }

.theme-rubi .soft-panel-body a:not(.ob-btn):not(.rb-btn):not(.news-item),
.theme-rubi .ob-box__bd a:not(.ob-btn):not(.rb-btn):not([class*='ob-partner']):not(.streamer-card):not(.ob-live-channel),
.theme-rubi .rb-card a:not(.rb-btn):not(.rb-pill):not(.rb-result),
.theme-rubi .ob-prose a { color: var(--rb-gold); }
.theme-rubi .soft-panel-body a:not(.ob-btn):not(.rb-btn):hover,
.theme-rubi .ob-box__bd a:not(.ob-btn):not(.rb-btn):hover { color: #fff; }
.theme-rubi .ob-link-strong,
.theme-rubi .linkish { color: var(--rb-gold) !important; font-weight: 700; }
.theme-rubi .ob-link-strong:hover { color: #fff !important; }

.theme-rubi .subhead,
.theme-rubi .support-section-title,
.theme-rubi .server-info-section h2,
.theme-rubi .server-info-section h3 { margin: 1.4rem 0 0.7rem; font: 700 17px/1.3 var(--rb-sans); letter-spacing: -0.01em; color: var(--rb-text); }
.theme-rubi .server-info-section h2 { padding: 0 0 10px; border-bottom: 1px solid var(--rb-line); font-size: 19px; }
.theme-rubi .server-info-section h3 { font-size: 15px; color: var(--rb-gold); }
.theme-rubi .server-info-notes strong { color: var(--rb-text); }
.theme-rubi code,
.theme-rubi .server-info code { padding: 2px 6px; border: 1px solid var(--rb-line-2); border-radius: 6px; background: var(--rb-input); color: var(--rb-gold); font-size: 0.9em; }
.theme-rubi .ob-divider { height: 1px; margin: 18px 0; background: linear-gradient(90deg, transparent, var(--rb-line-3), transparent); }

/* tabelas */
.theme-rubi .data-table,
.theme-rubi .support-table,
.theme-rubi .admin-table { width: 100%; border: 0; border-collapse: collapse; background: none; font-size: 14.5px; color: var(--rb-text); }
.theme-rubi .data-table th,
.theme-rubi .data-table td,
.theme-rubi .support-table th,
.theme-rubi .support-table td,
.theme-rubi .admin-table th,
.theme-rubi .admin-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--rb-line); text-align: left; vertical-align: middle; }
.theme-rubi .data-table thead th,
.theme-rubi .support-table thead th,
.theme-rubi .admin-table thead th { padding-top: 14px; padding-bottom: 10px; border-bottom-color: var(--rb-line-2); background: rgba(255, 255, 255, 0.015); font: 700 11.5px/1.2 var(--rb-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-muted); white-space: nowrap; }
.theme-rubi .data-table tbody tr,
.theme-rubi .support-table tbody tr,
.theme-rubi .admin-table tbody tr { transition: background-color var(--rb-fast); }
.theme-rubi .data-table tbody tr:hover,
.theme-rubi .support-table tbody tr:hover,
.theme-rubi .admin-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.theme-rubi .data-table tbody tr:last-child > *,
.theme-rubi .support-table tbody tr:last-child > * { border-bottom: 0; }
.theme-rubi .data-table tbody th { width: 34%; font-weight: 600; color: var(--rb-muted); }
.theme-rubi .data-table a { color: var(--rb-text) !important; font-weight: 600; }
.theme-rubi .data-table a:hover { color: var(--rb-gold) !important; }
.theme-rubi .ob-table-wrap .data-table tr.is-bad td { color: #f6a3ae; }
/* tabela solta dentro de card: borda arredondada própria */
.theme-rubi .soft-panel-body > .data-table,
.theme-rubi .ob-box__bd > .data-table,
.theme-rubi .ob-table-wrap > .data-table,
.theme-rubi .support-table-wrap > .support-table { border: 1px solid var(--rb-line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }

/* formulários */
.theme-rubi .form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.theme-rubi .form-field label,
.theme-rubi .admin-field > span,
.theme-rubi .admin-field label,
.rb-field > span { display: flex; align-items: center; gap: 8px; font: 600 13.5px/1.3 var(--rb-sans); letter-spacing: 0; text-transform: none; color: var(--rb-text-2); }
.theme-rubi .form-field label img { filter: invert(86%) sepia(25%) saturate(500%) hue-rotate(350deg); }

.theme-rubi input[type='text'],
.theme-rubi input[type='email'],
.theme-rubi input[type='password'],
.theme-rubi input[type='number'],
.theme-rubi input[type='search'],
.theme-rubi input[type='date'],
.theme-rubi input[type='url'],
.theme-rubi input[type='tel'],
.theme-rubi input:not([type]),
.theme-rubi select,
.theme-rubi textarea {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid var(--rb-line-2);
    border-radius: 11px;
    background-color: var(--rb-input);
    color: var(--rb-text);
    font: 500 15px/1.3 var(--rb-sans);
    color-scheme: dark;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: border-color var(--rb-fast), box-shadow var(--rb-med), background-color var(--rb-fast);
}

.theme-rubi textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.theme-rubi select {
    padding-right: 40px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f2d38c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 11px 7px;
    cursor: pointer;
}
.theme-rubi select option { background: #1b1415; color: var(--rb-text); }
.theme-rubi input::placeholder,
.theme-rubi textarea::placeholder { color: var(--rb-faint); opacity: 1; }
.theme-rubi input:hover,
.theme-rubi select:hover,
.theme-rubi textarea:hover { border-color: var(--rb-line-3); }
.theme-rubi input:focus,
.theme-rubi select:focus,
.theme-rubi textarea:focus { border-color: rgba(242, 211, 140, 0.7); background-color: #150f10; box-shadow: 0 0 0 4px rgba(242, 211, 140, 0.12); }
.theme-rubi input[aria-invalid='true'] { border-color: rgba(242, 102, 122, 0.8); box-shadow: 0 0 0 4px rgba(242, 102, 122, 0.12); }
.theme-rubi input:-webkit-autofill,
.theme-rubi input:-webkit-autofill:hover,
.theme-rubi input:-webkit-autofill:focus { -webkit-text-fill-color: var(--rb-text); caret-color: #fff; box-shadow: inset 0 0 0 100px #241a1b; }

.theme-rubi input[type='checkbox'],
.theme-rubi input[type='radio'] {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid var(--rb-line-3);
    border-radius: 6px;
    background: var(--rb-input);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    display: inline-grid;
    place-content: center;
    transition: background-color var(--rb-fast), border-color var(--rb-fast);
}
.theme-rubi input[type='radio'] { border-radius: 50%; }
.theme-rubi input[type='checkbox']::after { content: ''; width: 10px; height: 6px; margin-top: -2px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform var(--rb-fast) var(--rb-ease); }
.theme-rubi input[type='radio']::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform var(--rb-fast) var(--rb-ease); }
.theme-rubi input[type='checkbox']:checked,
.theme-rubi input[type='radio']:checked { border-color: transparent; background: var(--rb-grad-ruby); }
.theme-rubi input[type='checkbox']:checked::after { transform: rotate(-45deg) scale(1); }
.theme-rubi input[type='radio']:checked::after { transform: scale(1); }

.theme-rubi .ob-check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--rb-text-2); cursor: pointer; }
.theme-rubi .field-error { margin: 0; font: 500 13px/1.4 var(--rb-sans); color: var(--rb-err); }
.theme-rubi .form-field > small.muted { font-size: 12.5px; }
.theme-rubi .form-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin-top: 18px; }
.theme-rubi .form-recaptcha { margin: 14px 0; }
.theme-rubi .search-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.theme-rubi .search-row select { width: auto; min-width: 180px; }
.theme-rubi .stack-form { margin-top: 16px; padding: 16px; border: 1px solid var(--rb-line); border-radius: 12px; background: rgba(255, 255, 255, 0.015); }
.theme-rubi .stack-form .form-field { margin-bottom: 12px; }
.theme-rubi .ob-form .form-field { margin-bottom: 14px; }
.theme-rubi .ob-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.theme-rubi .ob-form--inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.theme-rubi .ob-form--inline .form-field { flex: 1; min-width: 220px; margin-bottom: 0; }
.theme-rubi input.ob-otp { font: 700 24px ui-monospace, Consolas, monospace; letter-spacing: 0.3em; text-align: center; }
.theme-rubi input.ob-code-input { font: 700 18px ui-monospace, Consolas, monospace; letter-spacing: 0.15em; text-align: center; text-transform: uppercase; }

/* avisos */
.theme-rubi .alert {
    position: relative;
    margin: 0;
    padding: 13px 16px 13px 18px;
    border: 1px solid var(--rb-line-2);
    border-radius: 12px;
    background: var(--rb-surface);
    font: 500 14.5px/1.5 var(--rb-sans);
    text-align: left;
    overflow: hidden;
}
.theme-rubi .alert::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rb-gold); }
.theme-rubi .alert ul { margin: 0; padding-left: 18px; }
.theme-rubi .alert-success { border-color: rgba(79, 209, 139, 0.3); background: rgba(79, 209, 139, 0.07); color: #c9f3dc; }
.theme-rubi .alert-success::before { background: var(--rb-ok); }
.theme-rubi .alert-error,
.theme-rubi .alert-danger { border-color: rgba(242, 102, 122, 0.35); background: rgba(242, 102, 122, 0.08); color: #ffd6dc; }
.theme-rubi .alert-error::before,
.theme-rubi .alert-danger::before { background: var(--rb-err); }

/* etiquetas */
.theme-rubi .ob-tag {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    height: 23px;
    padding: 0 9px;
    border: 1px solid var(--rb-line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font: 650 11.5px/1 var(--rb-sans);
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--rb-text-2);
    white-space: nowrap;
}
.theme-rubi .ob-tag--ok { border-color: rgba(79, 209, 139, 0.35); background: rgba(79, 209, 139, 0.08); color: var(--rb-ok); }
.theme-rubi .ob-tag--bad { border-color: rgba(242, 102, 122, 0.35); background: rgba(242, 102, 122, 0.08); color: #f6a3ae; }
.theme-rubi .ob-tag--gold { border-color: rgba(242, 211, 140, 0.35); background: rgba(242, 211, 140, 0.08); color: var(--rb-gold); }
.theme-rubi .ob-tag--novidades { border-color: rgba(208, 21, 63, 0.5); background: rgba(208, 21, 63, 0.18); color: #ffb3c1; }
.theme-rubi .ob-tag--evento { border-color: rgba(167, 112, 255, 0.45); background: rgba(167, 112, 255, 0.15); color: #d2b8ff; }
.theme-rubi .ob-tag--atualizacao { border-color: rgba(96, 165, 250, 0.45); background: rgba(96, 165, 250, 0.14); color: #b7d5ff; }
.theme-rubi .ticket-badge { padding: 3px 9px; border: 1px solid var(--rb-line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.04); color: var(--rb-text-2); font: 650 11.5px/1.3 var(--rb-sans); }
.theme-rubi .ticket-badge--status-pending { color: var(--rb-warn); border-color: rgba(240, 185, 85, 0.4); }
.theme-rubi .ticket-badge--status-resolved { color: var(--rb-ok); border-color: rgba(79, 209, 139, 0.4); }
.theme-rubi .ticket-badge--cat-abuse { color: #f6a3ae; }
.theme-rubi .ticket-badge--cat-technical { color: #b7d5ff; }
.theme-rubi .ticket-badge--cat-suggestions { color: #d2b8ff; }
.theme-rubi .ticket-badge--cat-finance { color: var(--rb-ok); }
.theme-rubi .ticket-message { border: 1px solid var(--rb-line) !important; border-radius: 12px !important; background: var(--rb-surface-2) !important; color: var(--rb-text) !important; }

/* lista "dl" (dados da conta) */
.theme-rubi .ob-dl { display: grid; grid-template-columns: minmax(150px, auto) 1fr; margin: 0 0 6px; font-size: 14.5px; }
.theme-rubi .ob-dl dt,
.theme-rubi .ob-dl dd { margin: 0; padding: 11px 0; border: 0; border-top: 1px solid var(--rb-line); }
.theme-rubi .ob-dl dt { padding-right: 14px; font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--rb-muted); }
.theme-rubi .ob-dl dd { color: var(--rb-text); overflow-wrap: anywhere; }
.theme-rubi .ob-dl dt:first-of-type,
.theme-rubi .ob-dl dt:first-of-type + dd { border-top: 0; }

.theme-rubi .ob-kv { margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.theme-rubi .ob-kv li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border: 0; border-top: 1px solid var(--rb-line); }
.theme-rubi .ob-kv li:first-child { border-top: 0; }
.theme-rubi .ob-kv span { color: var(--rb-muted); }
.theme-rubi .ob-kv b { color: var(--rb-gold); }

.theme-rubi .ob-linkdanger,
.theme-rubi .ob-linkbtn { padding: 0; border: 0; background: none; cursor: pointer; font: 600 13.5px/1.3 var(--rb-sans); }
.theme-rubi .ob-linkdanger { color: #f19aa6; }
.theme-rubi .ob-linkbtn { color: var(--rb-muted); text-decoration: underline; text-underline-offset: 3px; }
.theme-rubi .ob-linkdanger:hover,
.theme-rubi .ob-linkbtn:hover { color: #fff; }
.theme-rubi .ob-inline-form { margin-top: 12px; }

/* paginação do Laravel (Tailwind) */
.theme-rubi nav[role='navigation'] { margin-top: 18px; color: var(--rb-muted); font-size: 13.5px; }
.theme-rubi nav[role='navigation'] p { margin: 0; color: var(--rb-muted); }
.theme-rubi nav[role='navigation'] p .font-medium { color: var(--rb-text); font-weight: 700; }
.theme-rubi nav[role='navigation'] .shadow-sm { box-shadow: none; gap: 4px; }
.theme-rubi nav[role='navigation'] :is(a, span)[class*='border-gray-300'] {
    min-width: 38px;
    min-height: 38px;
    margin: 0 0 0 4px;
    justify-content: center;
    border: 1px solid var(--rb-line-2) !important;
    border-radius: 10px !important;
    background: var(--rb-surface) !important;
    color: var(--rb-text-2) !important;
    font: 600 13.5px/1 var(--rb-sans) !important;
    box-shadow: none !important;
}
.theme-rubi nav[role='navigation'] a[class*='border-gray-300']:hover { border-color: var(--rb-gold) !important; color: #fff !important; }
.theme-rubi nav[role='navigation'] span[class*='cursor-not-allowed'] { opacity: 0.4; }
.theme-rubi nav[role='navigation'] span[aria-current] > span[class*='border-gray-300'] { border-color: transparent !important; background: var(--rb-grad-ruby) !important; color: #fff !important; }
.theme-rubi nav[role='navigation'] svg { width: 16px; height: 16px; }

/* --------------------------------------------- páginas internas (genérico) */
.theme-rubi .inner-main,
.theme-rubi .page-banner,
.theme-rubi .support-wrap { width: 100%; margin: 0; }
.theme-rubi .auth-wrap { width: min(520px, 100%); margin: 0 auto; }
.theme-rubi .rb-main .auth-wrap[style] { width: min(520px, 100%) !important; }
.theme-rubi .support-wrap { width: min(760px, 100%); margin: 0 auto; }
.theme-rubi .soft-panel-header { justify-content: flex-start; }

.theme-rubi .news-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 14px;
    padding: 16px 4px;
    border: 0;
    border-top: 1px solid var(--rb-line);
    background: none;
    color: var(--rb-text);
    transition: background-color var(--rb-fast), padding var(--rb-med) var(--rb-ease);
}
.theme-rubi .news-item:first-child { border-top: 0; }
.theme-rubi .news-item:hover { padding-left: 10px; background: rgba(255, 255, 255, 0.02); }
.theme-rubi .news-item h3 { margin: 0 0 4px; font: 700 17px/1.35 var(--rb-sans); color: var(--rb-text); }
.theme-rubi .news-item:hover h3 { color: var(--rb-gold); }
.theme-rubi .news-item p { margin: 0 0 4px; font-size: 14.5px; color: var(--rb-text-2); }
.theme-rubi .news-item p.muted { font-size: 13px; color: var(--rb-muted); }

.ob-prose,
.theme-rubi .content-body { margin-top: 0.75rem; font: 400 16.5px/1.75 var(--rb-sans); color: #e6dcd5; }
.theme-rubi .ob-prose p { margin: 0 0 1em; }
.theme-rubi .ob-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.theme-rubi .ob-prose a { text-decoration: underline; text-underline-offset: 3px; }
.theme-rubi .ob-prose h2,
.theme-rubi .ob-prose h3,
.theme-rubi .ob-prose h4 { margin: 1.4em 0 0.5em; font-family: var(--rb-sans); font-weight: 800; letter-spacing: -0.01em; color: #fff; }

.theme-rubi .download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.theme-rubi .platform-card { text-align: center; }
.theme-rubi .platform-card .soft-panel-body { padding: 28px 20px; }
.theme-rubi .platform-card .os-icon { width: 54px; margin: 0 auto 12px; filter: invert(88%) sepia(20%) saturate(500%) hue-rotate(345deg); }
.theme-rubi .platform-card .ob-btn { white-space: normal; height: auto; min-height: 44px; padding: 10px 16px; margin-top: 14px !important; }

.theme-rubi .ob-changelog { margin: 0; padding: 0; list-style: none; }
.theme-rubi .ob-changelog li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--rb-line); }
.theme-rubi .ob-changelog li:first-child { border-top: 0; }
.theme-rubi .ob-changelog p { margin: 0 0 3px; color: var(--rb-text); }
.theme-rubi .ob-cl-type { flex: none; min-width: 92px; margin-top: 2px; padding: 4px 9px; border-radius: 999px; text-align: center; font: 700 11px/1.3 var(--rb-sans); letter-spacing: 0.06em; text-transform: uppercase; }
.theme-rubi .ob-cl-type--added { background: rgba(79, 209, 139, 0.14); color: var(--rb-ok); }
.theme-rubi .ob-cl-type--removed { background: rgba(242, 102, 122, 0.14); color: #f6a3ae; }
.theme-rubi .ob-cl-type--changed { background: rgba(96, 165, 250, 0.14); color: #b7d5ff; }
.theme-rubi .ob-cl-type--fixed { background: rgba(167, 112, 255, 0.15); color: #d2b8ff; }

/* regras */
.theme-rubi .rules-container { display: flex; flex-direction: column; gap: 18px; }
.theme-rubi .rules-header { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.theme-rubi .rules-back-link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--rb-muted) !important; }
.theme-rubi .rules-back-link:hover { color: #fff !important; }
.theme-rubi .rules-back-icon { width: 14px; height: 14px; }
.theme-rubi .rules-intro { margin: 0; font-size: 15px; line-height: 1.7; color: var(--rb-text-2); }
.theme-rubi .rules-section-body { padding: 6px 0 4px !important; }
.theme-rubi .rules-item { display: flex; flex-direction: column; padding: 14px 22px; border-top: 1px solid var(--rb-line); cursor: pointer; transition: background-color var(--rb-fast); }
.theme-rubi .rules-item:first-child { border-top: 0; }
.theme-rubi .rules-item:hover { background: rgba(255, 255, 255, 0.02); }
.theme-rubi .rules-item-main { display: flex; align-items: flex-start; gap: 12px; width: 100%; }
.theme-rubi .rules-toggle-btn { display: flex; align-items: center; justify-content: center; margin: 3px 0 0; padding: 0; border: 0; background: none; color: var(--rb-gold); cursor: pointer; }
.theme-rubi .rules-chevron { flex-shrink: 0; width: 16px; height: 16px; color: var(--rb-gold); transition: transform var(--rb-med) var(--rb-ease); }
.theme-rubi .rules-item.is-open .rules-chevron { transform: rotate(90deg); }
.theme-rubi .rules-item-content { flex: 1; }
.theme-rubi .rules-item-title { margin: 0 0 3px; font: 650 15px/1.4 var(--rb-sans); color: var(--rb-text); }
.theme-rubi .rules-item-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--rb-muted); }
.theme-rubi .rules-item-detail { display: none; width: 100%; padding: 12px 0 0 28px; }
.theme-rubi .rules-item.is-open .rules-item-detail { display: block; }
.theme-rubi .rules-detail-box { padding: 14px 18px; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-surface-2); box-shadow: none; font-size: 14.5px; line-height: 1.7; color: var(--rb-text-2); cursor: text; }
.theme-rubi .rules-footer-box { font-size: 15px; line-height: 1.7; color: var(--rb-text-2); }
.theme-rubi .rules-highlight-link { color: var(--rb-gold) !important; text-decoration: underline; font-weight: 600; }

/* parceiros */
.theme-rubi .ob-partner__count { display: inline-flex; align-items: center; gap: 7px; color: #ff8a98 !important; }
.theme-rubi .ob-partner__count .ob-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b52; }
.theme-rubi .ob-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.theme-rubi .ob-partner { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-surface-2); color: var(--rb-text); transition: transform var(--rb-med) var(--rb-ease), border-color var(--rb-fast); }
.theme-rubi .ob-partner:hover { transform: translateY(-3px); border-color: var(--rb-line-3); }
.theme-rubi .ob-partner.is-live { border-color: rgba(255, 59, 82, 0.45); }
.theme-rubi .ob-partner__media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: radial-gradient(70% 70% at 50% 60%, rgba(208, 21, 63, 0.18), transparent 70%), var(--rb-surface-3); }
.theme-rubi .ob-partner__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-rubi .ob-partner__avatar { position: relative; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--rb-line-3); filter: grayscale(0.7) brightness(0.8); }
.theme-rubi .ob-partner.is-live .ob-partner__avatar { filter: none; }
.theme-rubi .ob-partner__avatar.is-letter { display: grid; place-items: center; background: var(--rb-surface); font: 700 28px var(--rb-display); color: var(--rb-gold); }
.theme-rubi .ob-partner__thumb ~ .ob-partner__avatar { display: none; }
.theme-rubi .ob-partner__badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; background: rgba(14, 10, 11, 0.8); font: 700 11px/1.3 var(--rb-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-muted); }
.theme-rubi .ob-partner.is-live .ob-partner__badge { background: #e11d48; color: #fff; }
.theme-rubi .ob-partner__badge .ob-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.theme-rubi .ob-partner__info { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px 4px; }
.theme-rubi .ob-partner__info b { overflow: hidden; font: 650 15px/1.3 var(--rb-sans); text-overflow: ellipsis; white-space: nowrap; }
.theme-rubi .ob-partner__info small { flex: none; font-size: 12.5px; color: var(--rb-muted); }
.theme-rubi .ob-partner > .ob-btn { margin: 10px 14px 14px; }

/* =================================================== painel da conta */
.rb-acc-alert { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rb-acc-alert span { flex: 1; font-weight: 600; }
.rb-acc-alert form { margin: 0; }

.rb-acc-head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius-lg);
    background: var(--rb-line);
    box-shadow: var(--rb-shadow-lg);
}
.rb-acc-head > * { align-self: stretch; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px 22px; background: radial-gradient(100% 140% at 0% 0%, rgba(208, 21, 63, 0.06), transparent 60%), var(--rb-surface); }
.rb-acc-head__who b { display: block; overflow: hidden; font: 800 20px/1.2 var(--rb-sans); letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.rb-acc-head__who small { display: block; overflow: hidden; font-size: 13px; color: var(--rb-muted); text-overflow: ellipsis; white-space: nowrap; }
.rb-acc-head__who > div { min-width: 0; }
.rb-acc-head__stat img { flex: none; image-rendering: pixelated; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.6)); }
.rb-acc-head__stat > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rb-acc-head__stat small { font: 600 11.5px/1.2 var(--rb-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-muted); }
.rb-acc-head__stat b { font: 800 22px/1.15 var(--rb-sans); letter-spacing: -0.01em; color: var(--rb-text); font-variant-numeric: tabular-nums; }
.rb-acc-head__stat span,
.rb-acc-head__stat a { font-size: 13px; color: var(--rb-text-2); }
.rb-acc-head__stat a { color: var(--rb-gold) !important; }
.rb-acc-head__cta { flex-direction: column; justify-content: center; align-items: stretch !important; gap: 8px !important; }

.rb-tabs {
    display: flex;
    gap: 4px;
    padding: 0 2px;
    overflow-x: auto;
    border-bottom: 1px solid var(--rb-line-2);
    scrollbar-width: none;
}
.rb-tabs::-webkit-scrollbar { display: none; }
/* painel admin: muitas abas, quebram em linhas em vez de rolar escondidas */
.rb-tabs--wrap { flex-wrap: wrap; overflow: visible; row-gap: 0; }
.rb-tabs--wrap .rb-tab { padding: 10px 12px 12px; font-size: 13px; }
.rb-tab {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 14px;
    font: 600 14px/1 var(--rb-sans);
    color: var(--rb-muted) !important;
    white-space: nowrap;
    transition: color var(--rb-fast);
}
.rb-tab img { image-rendering: pixelated; opacity: 0.75; filter: grayscale(0.4); transition: opacity var(--rb-fast), filter var(--rb-fast); }
.rb-tab:hover { color: var(--rb-text) !important; }
.rb-tab:hover img { opacity: 1; filter: none; }
.rb-tab.is-active { color: #fff !important; }
.rb-tab.is-active img { opacity: 1; filter: none; }
.rb-tab.is-active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--rb-ruby), var(--rb-gold)); }
.rb-tab.is-danger { margin-left: auto; }
.rb-tab.is-danger:not(.is-active) { color: #c98a93 !important; }

.rb-acc-body { display: flex; flex-direction: column; gap: 22px; }
.theme-rubi .ob-acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.theme-rubi .ob-acc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-rubi .ob-acc-links a { padding: 12px 14px; border: 1px solid var(--rb-line); border-radius: 11px; background: var(--rb-surface-2); font: 600 14px/1.3 var(--rb-sans); color: var(--rb-text) !important; transition: border-color var(--rb-fast), transform var(--rb-med) var(--rb-ease); }
.theme-rubi .ob-acc-links a:hover { border-color: var(--rb-line-3); transform: translateY(-1px); color: var(--rb-gold) !important; }
.theme-rubi .ob-acc-logout { margin-top: 14px; }

.theme-rubi .ob-char { display: grid; grid-template-columns: 210px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rb-line); }
.theme-rubi .ob-char:first-child { border-top: 0; padding-top: 4px; }
.theme-rubi .ob-char__main b { display: block; font: 700 15px/1.3 var(--rb-sans); color: var(--rb-text); }
.theme-rubi .ob-char__main a:hover b { color: var(--rb-gold); }
.theme-rubi .ob-char__main small { font-size: 13px; color: var(--rb-muted); }
.theme-rubi .ob-char__comment { display: flex; align-items: center; gap: 12px; margin: 0; }
.theme-rubi .ob-char__comment input[type='text'] { flex: 1; min-width: 0; min-height: 38px; padding: 7px 12px; font-size: 14px; }
.theme-rubi .ob-char__comment .ob-check { flex: none; font-size: 13px; }
.theme-rubi .ob-char form { margin: 0; }

.theme-rubi .ob-subcard { padding: 16px; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-surface-2); }
.theme-rubi .ob-subcard > b { display: block; margin-bottom: 10px; font: 700 15px/1.3 var(--rb-sans); color: var(--rb-text); }
.theme-rubi .ob-box--danger { border-color: rgba(242, 102, 122, 0.35); background: radial-gradient(100% 80% at 0% 0%, rgba(208, 21, 63, 0.1), transparent 60%), var(--rb-surface); }

.theme-rubi .ob-codes { margin-bottom: 16px; padding: 16px; border: 1px solid rgba(79, 209, 139, 0.3); border-radius: 12px; background: rgba(79, 209, 139, 0.06); }
.theme-rubi .ob-codes b { color: var(--rb-ok); }
.theme-rubi .ob-codes ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; margin: 10px 0 0; padding-left: 1.3rem; }
.theme-rubi .ob-codes code,
.theme-rubi .ob-secret { border: 0; background: none; font: 700 14.5px ui-monospace, Consolas, monospace; letter-spacing: 0.06em; color: #fff; }
.theme-rubi .ob-2fa-setup { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; }
.theme-rubi .ob-2fa-setup__qr { text-align: center; }
.theme-rubi .ob-qr { display: inline-block; padding: 10px; border-radius: 14px; background: #fff; line-height: 0; }
.theme-rubi .ob-qr svg { display: block; width: 200px; height: 200px; }
.theme-rubi .ob-secret { display: inline-block; padding: 7px 11px; border: 1px dashed var(--rb-line-3); border-radius: 9px; background: var(--rb-input); font-size: 13px; }

.theme-rubi .ob-plans { display: grid; gap: 8px; margin-bottom: 14px; }
.theme-rubi .ob-plan { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rb-line-2); border-radius: 12px; background: var(--rb-surface-2); cursor: pointer; transition: border-color var(--rb-fast), background-color var(--rb-fast); }
.theme-rubi .ob-plan:hover { border-color: var(--rb-line-3); }
.theme-rubi .ob-plan:has(input:checked) { border-color: rgba(242, 211, 140, 0.6); background: rgba(242, 211, 140, 0.06); box-shadow: 0 0 0 3px rgba(242, 211, 140, 0.08); }
.theme-rubi .ob-plan b { display: block; font: 700 15px/1.3 var(--rb-sans); color: var(--rb-text); }
.theme-rubi .ob-plan small { font-size: 13px; color: var(--rb-muted); }

/* Live Store do painel */
.theme-rubi .ob-live-twitch { background: linear-gradient(180deg, #a77bff, #7c4ce0); border-color: rgba(255, 255, 255, 0.15); color: #fff !important; box-shadow: 0 10px 24px -12px rgba(145, 70, 255, 0.7); }
.theme-rubi .ob-live-balance { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font: 600 14px/1.2 var(--rb-sans); color: var(--rb-muted); }
.theme-rubi .ob-live-balance b { font: 800 38px/1 var(--rb-sans); letter-spacing: -0.03em; background: var(--rb-grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.theme-rubi .ob-live-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 12px; }
.theme-rubi .ob-live-channel { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-surface-2); color: var(--rb-text) !important; transition: border-color var(--rb-fast); }
.theme-rubi .ob-live-channel:hover { border-color: var(--rb-line-3); }
.theme-rubi .ob-live-channel span { overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.theme-rubi .ob-live-channel small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--rb-muted); }
.theme-rubi .ob-live-track { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.theme-rubi .ob-live-track li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-surface-2); }
.theme-rubi .ob-live-track li > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.theme-rubi .ob-live-track img,
.theme-rubi .ob-live-offer img { image-rendering: pixelated; }
.theme-rubi .ob-live-track em { font: 700 13px/1.3 var(--rb-sans); font-style: normal; color: var(--rb-muted); text-align: right; }
.theme-rubi .ob-live-track li.is-ready { border-color: rgba(79, 209, 139, 0.4); }
.theme-rubi .ob-live-track li.is-ready em { color: var(--rb-ok); }
.theme-rubi .ob-live-track li.is-done { opacity: 0.55; }
.theme-rubi .ob-live-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.theme-rubi .ob-live-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rb-copper), var(--rb-gold)); }
.theme-rubi .ob-live-track li.is-ready .ob-live-bar i,
.theme-rubi .ob-live-track li.is-done .ob-live-bar i { background: linear-gradient(90deg, #1f8a52, var(--rb-ok)); }
.theme-rubi .ob-live-cat { margin: 16px 0 10px; font: 700 12px/1.2 var(--rb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-gold); }
.theme-rubi .ob-live-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.theme-rubi .ob-live-offer { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 10px; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-surface-2); text-align: center; font-size: 13.5px; }

/* ================================================================== loja */
.theme-rubi .ob-shopbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid rgba(242, 211, 140, 0.25);
    border-radius: var(--rb-radius-lg);
    background: radial-gradient(70% 160% at 0% 50%, rgba(242, 211, 140, 0.12), transparent 70%), var(--rb-surface);
    box-shadow: var(--rb-shadow);
}
.theme-rubi .ob-shopbar > div { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 52px; padding-left: 66px; background: url('../heroui/items/tibia-coins.png') 0 50% / 52px 52px no-repeat; image-rendering: pixelated; }
.theme-rubi .ob-shopbar small { font: 600 12px/1.2 var(--rb-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-muted); }
.theme-rubi .ob-shopbar b { font: 800 28px/1.1 var(--rb-sans); letter-spacing: -0.02em; color: var(--rb-gold); }
.theme-rubi .ob-shopbar b span { font: 600 14px var(--rb-sans); letter-spacing: 0; color: var(--rb-text-2); }
.theme-rubi .ob-shopbar__guest { font: 700 17px/1.3 var(--rb-sans) !important; letter-spacing: -0.01em !important; color: var(--rb-text) !important; }

.theme-rubi .ob-shop-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-rubi .ob-shop-cats a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--rb-line-2); border-radius: 999px; background: var(--rb-surface); font: 600 14px/1 var(--rb-sans); color: var(--rb-text-2); transition: border-color var(--rb-fast), color var(--rb-fast); }
.theme-rubi .ob-shop-cats a:hover { border-color: var(--rb-gold); color: #fff; }
.theme-rubi .ob-shop-cats a small { padding: 2px 7px; border-radius: 999px; background: rgba(242, 211, 140, 0.12); font-size: 11.5px; color: var(--rb-gold); }

.theme-rubi .ob-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.theme-rubi .ob-prod {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 16px 16px;
    border: 1px solid var(--rb-line);
    border-radius: var(--rb-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 50%), var(--rb-surface-2);
    text-align: center;
    transition: transform var(--rb-med) var(--rb-ease), border-color var(--rb-fast), box-shadow var(--rb-med);
}
.theme-rubi .ob-prod:hover { transform: translateY(-3px); border-color: var(--rb-line-3); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9); }
.theme-rubi .ob-prod.is-featured { border-color: rgba(242, 211, 140, 0.35); }
.theme-rubi .ob-prod.is-vip { background: radial-gradient(80% 60% at 50% 0%, rgba(242, 211, 140, 0.12), transparent 70%), var(--rb-surface-2); }
.theme-rubi .ob-prod__flag { position: absolute; top: 12px; right: 12px; padding: 3px 9px; border-radius: 999px; background: var(--rb-grad-ruby); font: 700 10.5px/1.4 var(--rb-sans); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.theme-rubi .ob-prod__pic { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 10px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(208, 21, 63, 0.2), transparent 68%); }
.theme-rubi .ob-prod.is-vip .ob-prod__pic { background: radial-gradient(circle at 50% 45%, rgba(242, 211, 140, 0.22), transparent 68%); }
.theme-rubi .ob-prod__pic img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.6)); transition: transform var(--rb-med) var(--rb-ease); }
.theme-rubi .ob-prod:hover .ob-prod__pic img { transform: scale(1.1); }
.theme-rubi .ob-prod__crown { display: block; width: 64px; height: 64px; font-size: 0; color: transparent; background: url('../heroui/items/crown.png') center / contain no-repeat; image-rendering: pixelated; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.6)); }
.theme-rubi .ob-prod h4 { margin: 0; font: 700 15.5px/1.3 var(--rb-sans); color: var(--rb-text); }
.theme-rubi .ob-prod__detail { margin-top: 3px; font: 600 12.5px/1.3 var(--rb-sans); color: var(--rb-gold); }
.theme-rubi .ob-prod p { flex: 1; margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--rb-muted); }
.theme-rubi .ob-prod__buy { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; margin-top: 14px; }
.theme-rubi .ob-prod__buy form,
.theme-rubi .ob-prod__buy .ob-btn { width: 100%; }
.theme-rubi .ob-prod__price { font: 800 20px/1 var(--rb-sans); letter-spacing: -0.01em; color: var(--rb-gold); }

/* modais da loja */
.theme-rubi .ob-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    overflow: auto;
    padding: 28px 26px 22px;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius-lg);
    background: radial-gradient(90% 60% at 50% 0%, rgba(208, 21, 63, 0.16), transparent 70%), var(--rb-surface);
    color: var(--rb-text);
    text-align: center;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
}
.theme-rubi .ob-modal::backdrop { background: rgba(8, 5, 6, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.theme-rubi .ob-modal[open] { animation: rb-modal 0.22s var(--rb-ease); }
@keyframes rb-modal { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
.theme-rubi .ob-modal__x { position: absolute; top: 10px; right: 10px; margin: 0; }
.theme-rubi .ob-modal__x button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; font-size: 24px; line-height: 1; color: var(--rb-muted); cursor: pointer; }
.theme-rubi .ob-modal__x button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.theme-rubi .ob-modal__pic { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 12px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(242, 211, 140, 0.2), rgba(14, 10, 11, 0.6) 70%); box-shadow: 0 0 0 1px var(--rb-line-2); }
.theme-rubi .ob-modal__pic img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.theme-rubi .ob-modal__eyebrow { display: block; font: 700 11.5px/1.2 var(--rb-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-gold); }
.theme-rubi .ob-modal h3 { margin: 6px 0 2px; font: 800 22px/1.25 var(--rb-sans); letter-spacing: -0.01em; color: #fff; }
.theme-rubi .ob-modal__desc { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--rb-text-2); }
.theme-rubi .ob-modal__sum { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 18px 0 0; padding: 4px 16px; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-input); text-align: left; font-size: 14px; }
.theme-rubi .ob-modal__sum dt,
.theme-rubi .ob-modal__sum dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--rb-line); }
.theme-rubi .ob-modal__sum dt:first-of-type,
.theme-rubi .ob-modal__sum dt:first-of-type + dd { border-top: 0; }
.theme-rubi .ob-modal__sum dt { color: var(--rb-muted); }
.theme-rubi .ob-modal__sum dd { text-align: right; font-weight: 700; color: var(--rb-text); }
.theme-rubi .ob-modal__warn { margin: 14px 0 0; padding: 10px 12px; border: 1px solid rgba(242, 102, 122, 0.35); border-radius: 10px; background: rgba(242, 102, 122, 0.08); font-size: 13.5px; font-weight: 600; color: #ffd6dc; }
.theme-rubi .ob-modal__warn a { color: var(--rb-gold); }
.theme-rubi .ob-modal__note { margin: 14px 0 0; font-size: 12.5px; color: var(--rb-muted); }
.theme-rubi .ob-modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 0; }
.theme-rubi .ob-modal__actions form { margin: 0; }
.theme-rubi .ob-modal__status { display: grid; place-items: center; width: 46px; height: 46px; margin: -4px auto 12px; border-radius: 50%; font-size: 22px; font-weight: 900; color: #fff; }
.theme-rubi .ob-modal--result.is-ok .ob-modal__status { background: linear-gradient(180deg, #34d399, #1f9a5c); box-shadow: 0 10px 30px -8px rgba(79, 209, 139, 0.7); }
.theme-rubi .ob-modal--result.is-fail .ob-modal__status { background: var(--rb-grad-ruby); box-shadow: 0 10px 30px -8px rgba(208, 21, 63, 0.7); }

/* suporte / streamer / admin */
.theme-rubi .support-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; }
.theme-rubi .support-pager { display: flex; justify-content: center; margin-top: 14px; }
.theme-rubi .support-table-wrap { overflow-x: auto; }
.theme-rubi .support-table__subject { max-width: 18rem; word-break: break-word; }
.theme-rubi .account-actions { margin: 12px 0; }
.theme-rubi .admin-field { display: flex; flex-direction: column; gap: 7px; }
.theme-rubi .admin-table-wrap { overflow-x: auto; }

/* ============================================================ comunidade */
.rb-voc {
    display: inline-block;
    flex: none;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    vertical-align: -4px;
    background: url('../heroui/img/icons-vocations.png') calc(var(--i, 0) * -18px) 0 / 90px 18px no-repeat;
    image-rendering: pixelated;
}

.rb-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-surface); }
.rb-field { display: flex; flex-direction: column; gap: 7px; flex: 1 1 200px; min-width: 0; }
.rb-filters .rb-btn { height: 46px; }

.rb-podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rb-podium a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px 20px;
    border: 1px solid var(--rb-line);
    border-radius: var(--rb-radius-lg);
    background: radial-gradient(80% 70% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%), var(--rb-surface);
    text-align: center;
    transition: transform var(--rb-med) var(--rb-ease), border-color var(--rb-fast);
}
.rb-podium a:hover { transform: translateY(-3px); border-color: var(--rb-line-3); }
.rb-podium .is-1 a { padding-top: 34px; padding-bottom: 26px; border-color: rgba(242, 211, 140, 0.4); background: radial-gradient(80% 70% at 50% 0%, rgba(242, 211, 140, 0.16), transparent 70%), var(--rb-surface); box-shadow: 0 30px 60px -30px rgba(242, 211, 140, 0.35); }
.rb-podium__place { font: 800 13px/1 var(--rb-sans); letter-spacing: 0.1em; color: var(--rb-muted); }
.rb-podium .is-1 .rb-podium__place { color: var(--rb-gold); }
.rb-podium .is-2 .rb-podium__place { color: #d9dde3; }
.rb-podium .is-3 .rb-podium__place { color: #d79a6a; }
.rb-podium .rb-avatar .rb-voc { margin: 0; }
.rb-podium .is-1 .rb-avatar { width: 54px; height: 54px; background: radial-gradient(circle at 35% 30%, #fff1c8, #c99447 70%); }
.rb-podium b { max-width: 100%; overflow: hidden; font: 700 16px/1.3 var(--rb-sans); text-overflow: ellipsis; white-space: nowrap; }
.rb-podium .is-1 b { font-size: 18px; }
.rb-podium small { font-size: 13px; color: var(--rb-muted); }
.rb-podium em { margin-top: 2px; font: 700 13.5px/1 var(--rb-sans); font-style: normal; color: var(--rb-gold); }

.rb-rank__n { width: 70px; }
.rb-rankno { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); font: 700 12.5px/1 var(--rb-sans); color: var(--rb-muted); font-variant-numeric: tabular-nums; }
.rb-rankno.is-top { background: rgba(242, 211, 140, 0.14); color: var(--rb-gold); }
.rb-death { color: #f0b8bf !important; }

.rb-char { display: flex; align-items: center; gap: 28px; padding: 26px; background: radial-gradient(70% 140% at 0% 50%, rgba(208, 21, 63, 0.14), transparent 70%), var(--rb-surface); }
.rb-char__stage { display: grid; flex: none; place-items: end center; width: 168px; height: 168px; padding-bottom: 12px; border-radius: 50%; background: radial-gradient(60% 18% at 50% 88%, rgba(0, 0, 0, 0.55), transparent 70%), radial-gradient(circle at 50% 55%, rgba(242, 211, 140, 0.14), transparent 65%); }
.rb-char__stage img { width: 128px; height: 128px; object-fit: contain; object-position: 50% 100%; image-rendering: pixelated; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.6)); }
.rb-char__who { min-width: 0; }
.rb-char__name { font: 700 clamp(28px, 3vw, 40px)/1.1 var(--rb-display); letter-spacing: 0.01em; color: #fff; overflow-wrap: anywhere; }
.rb-char__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rb-char__comment { margin: 14px 0 0; font-size: 15px; font-style: italic; color: var(--rb-text-2); }

.rb-list { margin: 0; padding: 0; list-style: none; }
.rb-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rb-line); font-size: 14.5px; }
.rb-list li:first-child { border-top: 0; }
.rb-list small { flex: none; color: var(--rb-muted); }

.rb-search { position: relative; display: flex; gap: 10px; }
.rb-search__icon { position: absolute; left: 15px; top: 14px; color: var(--rb-muted); pointer-events: none; }
.rb-search input { flex: 1; min-width: 0; padding-left: 44px !important; }
.rb-search .rb-btn { height: 46px; }
.rb-searchcard { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.rb-searchcard img { flex: none; image-rendering: pixelated; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.6)); }
.rb-searchcard .rb-muted { margin: 4px 0 0; font-size: 14px; }
.rb-result { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--rb-line-2); border-radius: 12px; background: var(--rb-surface-2); transition: border-color var(--rb-fast); }
.rb-result:hover { border-color: var(--rb-gold); }
.rb-result b { flex: 1; font-weight: 650; }

.rb-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; text-align: center; }
.rb-empty img { image-rendering: pixelated; opacity: 0.85; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.6)); }
.rb-empty b { font: 700 17px/1.3 var(--rb-sans); }
.rb-empty p { margin: 0; color: var(--rb-muted); }

/* -------------------------------------------- publicação inteira (notícias)
   NEW FEATURE (USER REQUEST): leitura completa como no RubinOT — cabeçalho,
   capa, texto com divisões, assinatura com o rubi e navegação entre publicações */
.rb-post {
    position: relative;
    width: min(880px, 100%);
    margin: 0 auto;
    padding: 34px clamp(20px, 4vw, 48px) 28px;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius-lg);
    background:
        radial-gradient(90% 40% at 50% 0%, rgba(208, 21, 63, 0.08), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 160px),
        var(--rb-surface);
    box-shadow: var(--rb-shadow-lg);
}

/* filete dourado no topo do card */
.rb-post::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--rb-ruby), var(--rb-gold), var(--rb-ruby), transparent);
}

.rb-post__head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--rb-line-2); text-align: center; }
.rb-post__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-bottom: 14px; font-size: 13.5px; color: var(--rb-muted); }
.rb-post__title { margin: 0; font: 700 clamp(26px, 3.2vw, 40px)/1.15 var(--rb-display); letter-spacing: 0.01em; color: #fff; text-wrap: balance; }
.rb-post__title a { color: inherit !important; }
.rb-post__title a:hover { color: var(--rb-gold) !important; }
.theme-rubi .rb-post__lead { max-width: 640px; margin: 14px auto 0; font-size: 17px; line-height: 1.6; color: var(--rb-text-2); }
.rb-post__cover { margin: 0 0 28px; overflow: hidden; border: 1px solid var(--rb-line-2); border-radius: var(--rb-radius); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9); }
.rb-post__cover img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }

/* o texto: parágrafos arejados, títulos com filete, divisórias, citações, listas e mídia */
.theme-rubi .rb-prose { margin: 0; font: 400 16.5px/1.8 var(--rb-sans); color: #e6dcd5; }
.theme-rubi .rb-prose > :first-child { margin-top: 0; }
.theme-rubi .rb-prose p { margin: 0 0 1.1em; text-align: justify; hyphens: auto; }
.theme-rubi .rb-prose strong,
.theme-rubi .rb-prose b { color: #fff; font-weight: 700; }
.theme-rubi .rb-prose h2,
.theme-rubi .rb-prose h3,
.theme-rubi .rb-prose h4,
.theme-rubi .rb-prose h5 { margin: 1.8em 0 0.7em; padding-bottom: 10px; border-bottom: 1px solid var(--rb-line-2); font: 800 21px/1.3 var(--rb-sans); letter-spacing: -0.01em; color: #fff; }
.theme-rubi .rb-prose h3 { font-size: 18px; }
.theme-rubi .rb-prose h4,
.theme-rubi .rb-prose h5 { padding-bottom: 0; border: 0; font-size: 16px; color: var(--rb-gold); }
.theme-rubi .rb-prose h2::before,
.theme-rubi .rb-prose h3::before { content: ''; display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 0; transform: rotate(45deg); background: var(--rb-grad-ruby); box-shadow: 0 0 8px rgba(208, 21, 63, 0.6); }
.theme-rubi .rb-prose hr { height: 1px; margin: 2em 0; border: 0; background: linear-gradient(90deg, transparent, var(--rb-line-3), transparent); }
.theme-rubi .rb-prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 3px solid var(--rb-gold); border-radius: 0 12px 12px 0; background: rgba(242, 211, 140, 0.05); color: var(--rb-text); font-style: italic; }
.theme-rubi .rb-prose ul,
.theme-rubi .rb-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.theme-rubi .rb-prose li { margin: 0.35em 0; padding-left: 4px; }
.theme-rubi .rb-prose li::marker { color: var(--rb-ruby); }
.theme-rubi .rb-prose img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; border: 1px solid var(--rb-line-2); border-radius: 12px; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.9); }
.theme-rubi .rb-prose p > img:only-child { margin: 0.4em auto; }
.theme-rubi .rb-prose a { color: var(--rb-gold); text-decoration: underline; text-underline-offset: 3px; }
.theme-rubi .rb-prose table { width: 100%; margin: 1.4em 0; border: 1px solid var(--rb-line-2); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14.5px; }
.theme-rubi .rb-prose th,
.theme-rubi .rb-prose td { padding: 10px 14px; border-bottom: 1px solid var(--rb-line); text-align: left; }
.theme-rubi .rb-prose th { background: rgba(255, 255, 255, 0.03); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rb-muted); }
.theme-rubi .rb-prose tr:last-child td { border-bottom: 0; }
.theme-rubi .rb-prose tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.018); }
.theme-rubi .rb-prose td img,
.theme-rubi .rb-prose th img { display: inline-block; width: 32px; height: 32px; margin: -6px 8px -6px 0; border: 0; border-radius: 0; box-shadow: none; vertical-align: middle; object-fit: contain; image-rendering: pixelated; }
.theme-rubi .rb-prose mark { padding: 0 4px; border-radius: 4px; background: rgba(242, 211, 140, 0.2); color: #fff3d6; }
.theme-rubi .rb-prose code { padding: 1px 6px; }
.theme-rubi .rb-prose figure { margin: 1.6em 0; }
.theme-rubi .rb-prose figure img { margin: 0 auto; }
.theme-rubi .rb-prose figcaption { margin-top: 10px; font-size: 13.5px; font-style: italic; text-align: center; color: var(--rb-muted); }

/* "linha" do editor: o divisor de rubi */
.theme-rubi .rb-prose hr.news-divider,
.theme-rubi .ob-prose hr.news-divider {
    position: relative;
    height: 44px;
    margin: 2.2em 0;
    border: 0;
    background:
        url('../heroui/items/giant-ruby.png') center / 36px 36px no-repeat,
        linear-gradient(90deg, transparent, rgba(221, 176, 100, 0.6) 30%, rgba(221, 176, 100, 0.6) 70%, transparent) center / 100% 1px no-repeat;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px rgba(208, 21, 63, 0.45));
}

/* spoiler */
.theme-rubi .rb-prose details.news-spoiler,
.theme-rubi .ob-prose details.news-spoiler { margin: 1.4em 0; overflow: hidden; border: 1px solid var(--rb-line-2); border-radius: 12px; background: var(--rb-surface-2); }
.theme-rubi .rb-prose details.news-spoiler > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
    font: 700 15px/1.3 var(--rb-sans);
    color: var(--rb-gold);
    transition: background-color var(--rb-fast);
}
.theme-rubi .rb-prose details.news-spoiler > summary::-webkit-details-marker { display: none; }
.theme-rubi .rb-prose details.news-spoiler > summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform var(--rb-med) var(--rb-ease); }
.theme-rubi .rb-prose details.news-spoiler[open] > summary::before { transform: rotate(45deg); }
.theme-rubi .rb-prose details.news-spoiler > summary:hover { background: rgba(255, 255, 255, 0.03); }
.theme-rubi .rb-prose details.news-spoiler > div { padding: 4px 18px 6px; border-top: 1px solid var(--rb-line); }

/* assinatura: divisória com o rubi do Tibia no meio */
.rb-post__sign { margin-top: 30px; text-align: center; }
.rb-post__gem { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px; }
.rb-post__gem::before,
.rb-post__gem::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--rb-gold-2)); opacity: 0.55; }
.rb-post__gem::after { background: linear-gradient(90deg, var(--rb-gold-2), transparent); }
.rb-post__gem img { width: 44px; height: 44px; image-rendering: pixelated; filter: drop-shadow(0 0 14px rgba(208, 21, 63, 0.7)) drop-shadow(0 4px 4px rgba(0, 0, 0, 0.6)); }
.rb-post__sign p { margin: 0; font-size: 14px; color: var(--rb-muted); }

.rb-post__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rb-line); }
.rb-post__nav .is-off { opacity: 0.35; pointer-events: none; }
.rb-post__pos { font: 700 13px/1 var(--rb-sans); letter-spacing: 0.08em; color: var(--rb-muted); font-variant-numeric: tabular-nums; }

/* home com "Mostrar completa": publicação inteira + as próximas em cards */
.rb-news-full { display: flex; flex-direction: column; gap: 18px; }
.rb-news-full .rb-post { width: 100%; }
.rb-news-full__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1020px) { .rb-news-full__more { grid-template-columns: minmax(0, 1fr); } }

/* atualizações em cima da página de notícias */
.rb-updates--wide { width: min(880px, 100%); margin: 0 auto; }
.rb-updates--wide .rb-updates__list a { align-items: center; }
.rb-updates--wide .ob-tag { height: 21px; font-size: 11px; }

/* publicações anteriores */
.rb-news-more { width: min(880px, 100%); margin-inline: auto; }
.rb-postlist { display: grid; gap: 12px; }
.rb-postlist__item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 12px;
    border: 1px solid var(--rb-line);
    border-radius: var(--rb-radius);
    background: var(--rb-surface);
    transition: border-color var(--rb-fast), transform var(--rb-med) var(--rb-ease), background-color var(--rb-fast);
}
.rb-postlist__item:hover { border-color: var(--rb-line-3); background: var(--rb-surface-2); transform: translateY(-2px); }
.rb-postlist__thumb { aspect-ratio: 16 / 10; border-radius: 10px; background-size: cover; background-position: center; }
.rb-postlist__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rb-postlist__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--rb-muted); }
.rb-postlist__body b { font: 700 17px/1.3 var(--rb-sans); color: var(--rb-text); }
.rb-postlist__item:hover b { color: var(--rb-gold); }
.rb-postlist__body small { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; color: var(--rb-text-2); }
.rb-postlist__go { padding-right: 8px; font-size: 20px; color: var(--rb-gold); transition: transform var(--rb-med) var(--rb-ease); }
.rb-postlist__item:hover .rb-postlist__go { transform: translateX(4px); }

@media (max-width: 680px) {
    .rb-post { padding: 24px 18px 20px; }
    .theme-rubi .rb-prose p { text-align: left; }
    .rb-post__nav { flex-wrap: wrap; justify-content: center; }
    .rb-postlist__item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
    .rb-postlist__go { display: none; }
}

/* =================================================== faixa do pré-cadastro */
.hu-hero {
    display: block;
    flex: none;
    width: var(--hu-party-w, 97px);
    height: var(--hu-party-h, 95px);
    background-repeat: no-repeat;
    background-size: calc(var(--hu-party-w, 97px) * 9) var(--hu-party-h, 95px);
    background-position: calc(var(--hu-party-w, 97px) * -8) 0;
    image-rendering: pixelated;
}
.hu-hero.is-walking { animation: rb-walk 0.72s steps(8) infinite; }
@keyframes rb-walk { from { background-position: 0 0; } to { background-position: calc(var(--hu-party-w, 97px) * -8) 0; } }

.rb-pc {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) 230px;
    align-items: center;
    gap: 30px;
    margin: 6px 0 0;
    padding: 22px 26px;
    overflow: hidden;
    border: 1px solid rgba(242, 211, 140, 0.25);
    border-radius: var(--rb-radius-lg);
    background:
        linear-gradient(90deg, rgba(20, 14, 15, 0.97) 0%, rgba(20, 14, 15, 0.82) 32%, rgba(20, 14, 15, 0.5) 65%, rgba(20, 14, 15, 0.92) 100%),
        linear-gradient(120deg, #6e0a22 0%, #a8262f 45%, #c98a4c 100%),
        url('../heroui/precadastro/wallpaper-1000.jpg') 50% 35% / cover no-repeat;
    background-blend-mode: normal, color, normal;
    box-shadow: var(--rb-shadow-lg);
}
.rb-pc__stretch { position: absolute; z-index: 1; inset: 0; }
.rb-pc > *:not(.rb-pc__stretch) { position: relative; z-index: 2; }
.rb-pc .rb-pill { margin: 0 0 10px; }
.rb-pc__title { font: 700 19px/1.25 var(--rb-display); letter-spacing: 0.01em; color: #fff; text-wrap: balance; }
.rb-pc__count { display: flex; align-items: baseline; gap: 9px; margin: 10px 0 0; font-size: 14px; color: var(--rb-text-2); }
.rb-pc__count b { font: 800 40px/1 var(--rb-sans); letter-spacing: -0.03em; background: var(--rb-grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

.rb-pc__road { position: relative; height: 160px; margin: 0 14px; }
.rb-pc__lane { position: absolute; left: 0; right: 0; top: 0; height: 66px; }
.rb-pc__hero { position: absolute; left: clamp(28px, var(--track), calc(100% - 36px)); bottom: -6px; margin-left: calc(var(--hu-party-w, 97px) / -2); filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.6)); transition: left 1.9s cubic-bezier(0.45, 0.05, 0.3, 1); }
.rb-pc__bar { position: absolute; left: 0; right: 0; top: 68px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); }
.rb-pc__fill { position: relative; display: block; height: 100%; width: var(--track); border-radius: 999px; background: linear-gradient(90deg, var(--rb-ruby), var(--rb-copper) 60%, var(--rb-gold)); box-shadow: 0 0 14px rgba(242, 211, 140, 0.45); transition: width 1.9s cubic-bezier(0.45, 0.05, 0.3, 1); }
.rb-pc__fill::after { content: ''; position: absolute; right: -5px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff6d6; box-shadow: 0 0 12px 4px rgba(242, 211, 140, 0.8); }
.rb-pc__ms { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.rb-pc__ms li { position: absolute; top: 62px; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.rb-pc__node { width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, 0.18); border-radius: 50%; background: var(--rb-surface); transition: background 0.4s, border-color 0.4s, box-shadow 0.4s; }
.rb-pc__medal { position: relative; display: block; width: 52px; margin-top: 6px; transition: transform var(--rb-med) var(--rb-ease); }
.rb-pc__medal picture { display: block; }
.rb-pc__medal img { display: block; width: 100%; height: auto; aspect-ratio: 217 / 205; object-fit: cover; object-position: 50% 0; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.7)); transition: filter 0.3s; }
.rb-pc__ms b { margin-top: 3px; font: 700 12.5px/1 var(--rb-sans); color: var(--rb-muted); font-variant-numeric: tabular-nums; }
.rb-pc__ms li.is-done .rb-pc__node { border-color: var(--rb-gold); background: var(--rb-gold); box-shadow: 0 0 12px rgba(242, 211, 140, 0.8); }
.rb-pc__ms li.is-done b { color: var(--rb-gold); }
.rb-pc__ms li.is-next .rb-pc__node { border-color: var(--rb-gold); box-shadow: 0 0 0 4px rgba(242, 211, 140, 0.2); animation: rb-node 1.8s ease-in-out infinite; }
.rb-pc__ms li.is-next b { color: #fff; }
.rb-pc__ms li.is-locked .rb-pc__medal img { filter: grayscale(0.85) brightness(0.5) drop-shadow(0 4px 5px rgba(0, 0, 0, 0.7)); }
.rb-pc:hover .rb-pc__ms li.is-locked .rb-pc__medal img { filter: grayscale(0.4) brightness(0.8) drop-shadow(0 4px 5px rgba(0, 0, 0, 0.7)); }
.rb-pc__ms li:hover .rb-pc__medal { transform: translateY(-2px) scale(1.1); }
@keyframes rb-node { 50% { box-shadow: 0 0 0 8px rgba(242, 211, 140, 0); } }
.rb-pc.is-armed:not(.is-in) .rb-pc__fill { width: 0; }
.rb-pc.is-armed:not(.is-in) .rb-pc__hero { left: 0; }
.rb-pc__cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.rb-pc__cta .rb-link-arrow { align-self: center; font-size: 13px; }
.rb-pc__joined { margin: 0; font: 600 13.5px/1.3 var(--rb-sans); color: var(--rb-ok); }
.rb-pc__next { margin: 0; font-size: 13px; line-height: 1.4; color: var(--rb-text-2); }
.rb-pc__next b { color: var(--rb-gold); }
.rb-pc .rb-btn.is-done { background: linear-gradient(180deg, #34d399, #1f9a5c); color: #04210f !important; }

/* =========================================================== responsivo */
@media (max-width: 1240px) {
    .rb-header__in { gap: 18px; }
    .rb-nav__link { padding: 0 9px; font-size: 13.5px; }
    .rb-live span { display: none; }
}

@media (max-width: 1100px) {
    .rb-hide-md { display: none !important; }
    .rb-header__locale { display: none; }
    .rb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rb-social { grid-column: span 1; }
    .rb-streams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rb-acc-head { grid-template-columns: 1fr 1fr; }
    .rb-acc-head__who { grid-column: 1 / -1; }
    .rb-acc-head__cta { grid-column: 1 / -1; flex-direction: row !important; }
    .rb-acc-head__cta .rb-btn { flex: 1; }
    .rb-pc { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) 210px; gap: 22px; }
}

@media (max-width: 1020px) {
    .rb-burger { display: grid; }
    .rb-nav {
        position: fixed;
        z-index: 59;
        inset: var(--rb-header) 0 0 0;
        overflow-y: auto;
        padding: 18px 20px 40px;
        background: rgba(14, 10, 11, 0.97);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity var(--rb-med), transform var(--rb-med) var(--rb-ease), visibility var(--rb-med);
    }
    .rb-header.is-menu .rb-nav { opacity: 1; visibility: visible; transform: none; }
    /* backdrop-filter no cabeçalho prenderia o menu fixo dentro dele */
    .rb-header.is-solid,
    .theme-rubi:not(.has-hero) .rb-header,
    .rb-header.is-menu { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 10, 11, 0.96); }
    .rb-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .rb-nav__link { width: 100%; height: 50px; justify-content: space-between; padding: 0 12px; font-size: 16px; }
    .rb-nav__link.is-active::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
    .rb-nav__link--shop { justify-content: flex-start; }
    .rb-nav .rb-drop,
    .rb-nav .rb-drop--wide {
        position: static;
        display: none;
        min-width: 0;
        grid-template-columns: 1fr;
        margin: 0 0 8px;
        padding: 4px 0 4px 8px;
        border: 0;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .rb-nav__item.is-open > .rb-drop { display: grid; }
    .rb-nav__mobile { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--rb-line); }
    .rb-nav__mobile form { margin: 0; }
    .rb-nav__mobile .status-flags { justify-content: center; margin-top: 6px; }
    .rb-nav__mobile .status-flags a { width: 30px; height: 21px; }
    .rb-nav__sub { display: flex; align-items: center; gap: 12px; padding: 8px 6px; font-weight: 600; }
    .rb-me__name { display: none; }

    .rb-hero__in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .rb-boosted--hero { width: min(420px, 100%); }
    .rb-news { grid-template-columns: minmax(0, 1fr); }
    .rb-news__feature { min-height: 380px; }
    .rb-cta { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
    .rb-footer__grid { grid-template-columns: 1fr 1fr; }
    .rb-footer__brand { grid-column: 1 / -1; }
    .rb-pc { grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: center; }
    .rb-pc__lead { display: flex; flex-direction: column; align-items: center; }
    .rb-pc__count { justify-content: center; }
    .rb-pc__cta { width: 100%; max-width: 420px; margin: 0 auto; }
    .theme-rubi .ob-acc-grid,
    .rb-grid-2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
    .theme-rubi { font-size: 15px; }
    .rb-container { width: calc(100% - 32px); }
    .rb-header__in { width: calc(100% - 24px); gap: 12px; }
    .rb-brand { width: 92px; }
    .rb-hide-sm { display: none !important; }
    .rb-live { height: 30px; padding: 0 10px; }
    .rb-hero { padding-top: calc(var(--rb-header) + 34px); min-height: 0; }
    .rb-hero__logo { width: 210px; margin-left: -6px; }
    .rb-hero__cta .rb-btn { flex: 1 1 100%; }
    .rb-stats { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
    .rb-stat { padding: 12px 16px; }
    .rb-stat dd { font-size: 20px; }
    .rb-pagehead { padding: 38px 0 28px; }
    .rb-main { padding-top: 24px; }
    .rb-section__head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .rb-bento,
    .rb-streams { grid-template-columns: minmax(0, 1fr); }
    .rb-server,
    .rb-coins,
    .rb-social { grid-column: auto; }
    .rb-boosted--head { display: none; }
    .rb-boosted--hero { width: 100%; }
    .rb-coins { grid-template-columns: minmax(0, 1fr); }
    .rb-coins__art { display: none; }
    .rb-server__big b { font-size: 52px; }
    .rb-news__feature { min-height: 320px; }
    .rb-news__body { padding: 20px; }
    .rb-news__card { grid-template-columns: 92px minmax(0, 1fr); }
    .rb-cta { padding: 26px 20px; }
    .rb-cta .rb-row { width: 100%; }
    .rb-cta .rb-btn { flex: 1 1 100%; }
    .rb-footer__grid { grid-template-columns: 1fr; gap: 26px; padding-top: 38px; }
    .rb-footer__bottom { flex-direction: column; align-items: flex-start; }
    .rb-card,
    .theme-rubi .ob-box__bd,
    .theme-rubi .soft-panel-body { padding-left: 16px; padding-right: 16px; }
    .theme-rubi .ob-box__hd,
    .theme-rubi .soft-panel-header { padding-left: 16px; padding-right: 16px; }
    .rb-acc-head { grid-template-columns: minmax(0, 1fr); }
    .rb-acc-head > * { padding: 16px; }
    .rb-acc-head__cta { flex-direction: column !important; }
    .rb-acc-head__cta .rb-btn { flex: none; }
    .rb-char { flex-direction: column; text-align: center; padding: 22px 16px; }
    .rb-char__chips { justify-content: center; }
    .rb-podium { grid-template-columns: minmax(0, 1fr); }
    .rb-podium li.is-1 { order: -1; }
    .rb-search { flex-wrap: wrap; }
    .rb-search .rb-btn { width: 100%; }
    .theme-rubi .ob-form__row,
    .theme-rubi .ob-2fa-setup { grid-template-columns: minmax(0, 1fr); }
    .theme-rubi .ob-dl { grid-template-columns: minmax(0, 1fr); }
    .theme-rubi .ob-dl dd { padding-top: 0; border-top: 0; }
    .theme-rubi .ob-acc-links { grid-template-columns: minmax(0, 1fr); }
    .theme-rubi .ob-char { grid-template-columns: minmax(0, 1fr) auto; }
    .theme-rubi .ob-char__comment { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
    .theme-rubi .ob-codes ol { grid-template-columns: 1fr 1fr; }
    .theme-rubi .ob-prods { grid-template-columns: 1fr 1fr; gap: 10px; }
    .theme-rubi .ob-shopbar { flex-direction: column; align-items: stretch; }
    .theme-rubi .download-grid { grid-template-columns: minmax(0, 1fr); }
    .theme-rubi .data-table { font-size: 14px; }
    .theme-rubi .rules-item-detail { padding-left: 0; }
    .theme-rubi .ob-live-track li { grid-template-columns: 40px 1fr; }
    .theme-rubi .ob-live-track em { grid-column: 2; text-align: left; }
    .rb-pc { padding: 18px 16px; }
    .rb-pc__road { height: 146px; margin: 4px 4px 0; }
    .rb-pc__medal { width: 40px; }
    .rb-pc__ms b { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .rb-dot,
    .rb-rec,
    .rb-hero__art,
    .rb-coins__art img,
    .rb-cta__items img,
    .rb-pc__ms li.is-next .rb-pc__node { animation: none; }
    .rb-pc__fill,
    .rb-pc__hero,
    .rb-news__img { transition: none; }
}
.rb-updates--wide + .rb-section { margin-top: 30px; }

/* --------------------------------------------- home na coluna das notícias
   NEW FEATURE (USER REQUEST): a home usa as mesmas larguras da /noticias —
   o herói ocupa a largura toda e o conteúdo fica na coluna de leitura de 880px */
.is-home:not(.rb--shell) > .rb-container,
.is-home .rb-main > .rb-container { width: min(880px, calc(100% - 48px)); }
.is-home .rb-updates--wide { width: 100%; }
@media (min-width: 1021px) {
    .is-home .rb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .is-home .rb-social { grid-column: span 1; }
    .is-home .rb-streams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .is-home .rb-news-full__more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .is-home .rb-cta { grid-template-columns: minmax(0, 1fr) auto; }
    .is-home .rb-cta__items { display: none; }
    .is-home .rb-pc { grid-template-columns: minmax(200px, 230px) minmax(0, 1fr) 200px; gap: 20px; padding: 20px 22px; }
}

/* ------------------------------------------- portal com colunas laterais
   NEW FEATURE (USER REQUEST): colunas laterais (escolha no /admin → Aparência):
   "columns" = barra do topo + quadros dos dois lados (como o Obsidiana);
   "sides" = portal com menus em sanfona na esquerda. No celular volta a barra do topo. */
.rb--shell .rb-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr) 236px;
    align-items: start;
    gap: 22px;
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0 72px;
}
.rb--shell .rb-shell__main { padding: 0; min-width: 0; }
.rb--shell .rb-shell__main .rb-container { width: 100%; }
.rb--sides .rb-boosted--hero,
.rb--sides .rb-boosted--head { display: none; }

.rb-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* quadro lateral: cabeçalho rubi com título em ouro e filete dourado */
.rb-sbox {
    overflow: hidden;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 120px), var(--rb-surface);
    box-shadow: var(--rb-shadow);
}
.rb-sbox__hd {
    position: relative;
    margin: 0;
    padding: 11px 14px 10px;
    border-bottom: 1px solid rgba(242, 211, 140, 0.22);
    background:
        radial-gradient(70% 140% at 50% 0%, rgba(227, 35, 77, 0.35), transparent 70%),
        linear-gradient(180deg, #3a1416, #241011);
    font: 700 14px/1.2 var(--rb-display);
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    color: var(--rb-gold);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.rb-sbox__hd::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rb-gold), transparent);
    opacity: 0.8;
}
.rb-sbox__bd { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.rb-sbox__bd--flush { padding: 10px; }
.rb-sbox__bd--center { align-items: center; text-align: center; }
.theme-rubi .rb-sbox__bd p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--rb-text-2); }
.rb-sbox__badge { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #7984ff, #3c45b8 70%); color: #fff; box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.25), 0 10px 24px -10px rgba(88, 101, 242, 0.8); }
.rb-sbox__badge--gold { background: radial-gradient(circle at 40% 35%, rgba(242, 211, 140, 0.25), rgba(242, 211, 140, 0.06) 70%); box-shadow: 0 0 0 1px rgba(242, 211, 140, 0.35); }
.rb-sbox__badge img { width: 38px; height: 38px; image-rendering: pixelated; }
.rb-sbox .rb-kv { max-width: none; }
.rb-sbox .rb-kv dt { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.rb-sbox .rb-kv dd { font-size: 13.5px; }
.rb-sbox .rb-btn { width: 100%; height: 40px; font-size: 13.5px; }

/* coluna da esquerda */
.rb-side__who { display: flex; align-items: center; gap: 10px; }
.rb-side__who > div { min-width: 0; }
.rb-side__who b { display: block; overflow: hidden; font: 700 15px/1.3 var(--rb-sans); text-overflow: ellipsis; white-space: nowrap; }
.rb-side__who small { display: block; font-size: 12px; color: var(--rb-muted); }
.rb-sbox .rb-me__coins { margin: 0; }
.rb-side__links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rb-side__links a { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; font: 600 13.5px/1.2 var(--rb-sans); color: var(--rb-text-2) !important; }
.rb-side__links a:hover,
.rb-side__links a.is-current { background: rgba(255, 255, 255, 0.05); color: #fff !important; }
.rb-side__links img { flex: none; width: 24px; height: 24px; image-rendering: pixelated; }
.rb-sbox .rb-me__out { margin: 0; padding-top: 4px; }
.rb-side__forgot { align-self: center; font-size: 12.5px; color: var(--rb-muted) !important; }
.rb-side__forgot:hover { color: var(--rb-gold) !important; }

.rb-side__play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: var(--rb-grad-ruby);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 14px 30px -14px rgba(208, 21, 63, 0.9);
    font: 800 14.5px/1 var(--rb-sans);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff !important;
    transition: transform var(--rb-fast), filter var(--rb-fast);
}
.rb-side__play:hover { transform: translateY(-1px); filter: brightness(1.1); }

/* menu em sanfonas: cada seção é uma faixa com o item do Tibia e a seta */
.rb-side__nav { display: flex; flex-direction: column; gap: 8px; }
.rb-acc {
    overflow: hidden;
    border: 1px solid var(--rb-line-2);
    border-radius: 12px;
    background: var(--rb-surface);
    transition: border-color var(--rb-fast);
}
.rb-acc > summary,
.rb-acc--link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 12px 6px 7px;
    background: linear-gradient(180deg, #2a1517, #1d1112);
    font: 700 13.5px/1.2 var(--rb-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rb-text) !important;
    cursor: pointer;
    list-style: none;
    transition: background var(--rb-fast), color var(--rb-fast);
}
.rb-acc > summary::-webkit-details-marker { display: none; }
.rb-acc > summary:hover,
.rb-acc--link:hover { background: linear-gradient(180deg, #3a1a1d, #261315); color: #fff !important; }
.rb-acc:hover { border-color: var(--rb-line-3); }
.rb-acc.is-active { border-color: rgba(242, 211, 140, 0.4); }
.rb-acc.is-active > summary,
.rb-acc--link.is-active { color: var(--rb-gold) !important; box-shadow: inset 3px 0 0 var(--rb-ruby); }
.rb-acc__ico { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: radial-gradient(circle at 50% 40%, rgba(242, 211, 140, 0.14), transparent 70%), rgba(0, 0, 0, 0.25); box-shadow: 0 0 0 1px var(--rb-line); }
.rb-acc__ico img { width: 26px; height: 26px; image-rendering: pixelated; }
.rb-acc__label { flex: 1; min-width: 0; }
.rb-acc .rb-caret { flex: none; width: 10px; color: var(--rb-gold); transition: transform var(--rb-med) var(--rb-ease); }
.rb-acc[open] > summary { border-bottom: 1px solid var(--rb-line); }
.rb-acc[open] .rb-caret { transform: rotate(180deg); }
.rb-acc__list { display: grid; gap: 1px; margin: 0; padding: 6px; list-style: none; }
.rb-acc__list a { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; font: 500 13.5px/1.25 var(--rb-sans); color: var(--rb-text-2) !important; }
.rb-acc__list a:hover { background: rgba(255, 255, 255, 0.05); color: #fff !important; }
.rb-acc__list a.is-current { background: rgba(208, 21, 63, 0.14); color: #fff !important; }
.rb-acc__list img { flex: none; width: 24px; height: 24px; image-rendering: pixelated; }
.rb-acc--shop .rb-acc__label { color: var(--rb-gold); }

/* coluna da direita */
/* Webshop (2026-11-04): medalha da Hero Coin (ouro da logo + rubi), texto, categorias e saldo */
.rb-sshop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px 16px; overflow: hidden; text-align: center; background: radial-gradient(70% 60% at 50% 0%, rgba(208, 21, 63, 0.32), transparent 70%), linear-gradient(180deg, #2b1215, #1c1112); border-bottom: 1px solid var(--rb-line); }
.rb-sshop::before { content: ''; position: absolute; top: -40%; left: 50%; width: 220px; height: 220px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(242, 211, 140, 0.16), transparent 62%); pointer-events: none; }
.rb-sshop__coin { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 4px; border-radius: 50%; background: conic-gradient(from 210deg, #fff1c8, #c99447, #f2d38c, #8c543c, #fff1c8); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 12px 26px -10px rgba(208, 21, 63, 0.9), 0 0 30px -6px rgba(242, 211, 140, 0.45); }
.rb-sshop__face { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #e3234d, #8a0a28 75%); box-shadow: inset 0 0 0 1px rgba(255, 241, 200, 0.55), inset 0 -6px 12px rgba(0, 0, 0, 0.35); color: #fff1c8; }
.rb-sshop__title { position: relative; font: 700 19px/1.1 var(--rb-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-gold); }
.theme-rubi .rb-sshop__text { position: relative; margin: 0; font-size: 13px; line-height: 1.45; color: var(--rb-text-2); }
.rb-sshop__bal { position: relative; margin-top: 4px; padding: 4px 10px; border: 1px solid var(--rb-line-2); border-radius: 999px; background: rgba(0, 0, 0, 0.25); font-size: 12.5px; color: var(--rb-muted); }
.rb-sshop__bal b { color: var(--rb-gold); }
.rb-sshop__perks { display: grid; gap: 6px; margin: 0 0 4px; padding: 0; list-style: none; }
.rb-sshop__perks li { display: flex; align-items: center; gap: 9px; font: 500 13px/1.3 var(--rb-sans); color: var(--rb-text-2); }
.rb-sshop__perks .rb-ico { flex: none; color: var(--rb-gold); }
.rb-sshop__more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 13px/1 var(--rb-sans); color: var(--rb-muted) !important; transition: color var(--rb-fast); }
.rb-sshop__more:hover { color: var(--rb-gold) !important; }
.rb-boosted--side { width: 100%; padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.rb-boosted--side .rb-boosted__hd { display: none; }
.rb-boosted--side .rb-boosted__stage { height: 64px; }
.rb-boosted--side .rb-boosted__stage img { width: 60px; height: 60px; }
.rb-boosted--side .rb-boosted__cell b { font-size: 12.5px; }

/* faixa no topo do conteúdo: Discord · Download · online · idiomas */
.rb-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 22px;
    padding: 11px 18px;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius);
    background:
        radial-gradient(60% 160% at 50% 0%, rgba(208, 21, 63, 0.18), transparent 70%),
        linear-gradient(180deg, #241314, #181213);
    box-shadow: var(--rb-shadow);
    font: 600 13.5px/1 var(--rb-sans);
}
.rb-strip > a { display: inline-flex; align-items: center; gap: 7px; color: var(--rb-text-2) !important; }
.rb-strip > a:hover { color: #fff !important; }
.rb-strip__online { display: inline-flex; align-items: center; gap: 7px; color: var(--rb-muted); }
.rb-strip__online b { color: var(--rb-ok); font-variant-numeric: tabular-nums; }
.rb-strip__sep { width: 1px; height: 18px; background: var(--rb-line-2); }

@media (min-width: 1021px) {
    .rb--sides { --rb-header: 0px; }
    .rb--sides .rb-header { display: none; }
}
@media (max-width: 1240px) and (min-width: 1021px) {
    .rb--shell .rb-shell { grid-template-columns: 210px minmax(0, 1fr) 210px; gap: 16px; width: calc(100% - 28px); }
}
@media (max-width: 1020px) {
    /* celular/tablet: o menu volta para a barra do topo e os quadros da direita descem */
    .rb--shell .rb-shell { grid-template-columns: minmax(0, 1fr); padding-top: 24px; width: calc(100% - 32px); }
    .rb--shell .rb-side--left,
    .rb--shell .rb-strip { display: none; }
    .rb--shell .rb-side--right { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* portal: arte no fundo do topo, logo central e título da página no meio */
.rb-backdrop {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 760px;
    overflow: hidden;
    pointer-events: none;
}
.rb-backdrop::before {
    content: '';
    position: absolute;
    inset: -2%;
    background:
        linear-gradient(120deg, #6e0a22 0%, #a8262f 42%, #c98a4c 100%),
        url('../heroui/precadastro/wallpaper.jpg') 50% 22% / cover no-repeat;
    background-blend-mode: color, normal;
    filter: contrast(1.12) brightness(0.8) saturate(1.1);
    animation: rb-zoom 40s ease-in-out infinite alternate;
}
.rb-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, var(--rb-bg) 0%, rgba(14, 10, 11, 0.55) 45%, rgba(14, 10, 11, 0.15) 100%),
        radial-gradient(60% 50% at 50% 18%, rgba(208, 21, 63, 0.25), transparent 70%);
}
.rb-banner { position: relative; z-index: 2; display: grid; place-items: center; padding: 26px 20px 0; }
.rb-banner__logo { display: block; width: clamp(240px, 24vw, 340px); transition: transform var(--rb-med) var(--rb-ease); }
.rb-banner__logo:hover { transform: scale(1.03); }
.rb-banner__logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(208, 21, 63, 0.4)) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.75)); }
.rb--sides .rb-shell { padding-top: 18px; }

.rb-ctitle {
    position: relative;
    margin-bottom: 22px;
    padding: 22px 26px;
    overflow: hidden;
    border: 1px solid var(--rb-line-2);
    border-radius: var(--rb-radius-lg);
    background:
        linear-gradient(90deg, rgba(20, 14, 15, 0.96) 0%, rgba(20, 14, 15, 0.8) 50%, rgba(20, 14, 15, 0.55) 100%),
        linear-gradient(120deg, #6e0a22 0%, #a8262f 45%, #c98a4c 100%),
        url('../heroui/precadastro/wallpaper-1000.jpg') 70% 30% / cover no-repeat;
    background-blend-mode: normal, color, normal;
    box-shadow: var(--rb-shadow-lg);
}
.rb-ctitle .rb-eyebrow { margin-bottom: 8px; }
.rb-ctitle__h { margin: 0; font: 700 clamp(26px, 2.6vw, 36px)/1.1 var(--rb-display); letter-spacing: 0.01em; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.theme-rubi .rb-ctitle__sub { max-width: 620px; margin: 8px 0 0; font-size: 15px; color: var(--rb-text-2); }

@media (max-width: 1020px) {
    .rb-backdrop { height: 420px; }
    .rb-banner { padding-top: calc(var(--rb-header) + 18px); }
    .rb-banner__logo { width: 220px; }
}

/* tabelas largas nas notícias rolam de lado no celular em vez de vazar do card */
@media (max-width: 680px) {
    .theme-rubi .rb-prose table { display: block; overflow-x: auto; }
}

/* com a barra do topo + colunas, o cabeçalho e o herói alinham com as colunas */
.rb--columns .rb-pagehead .rb-container,
.rb--columns .rb-hero .rb-container { width: min(1360px, calc(100% - 40px)); }

/* ===== Painel admin no Rubi (themes/rubi/admin/layouts/app) — peças que só o admin usa ===== */
.theme-rubi .admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.theme-rubi .admin-stat { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-surface); box-shadow: var(--rb-shadow); color: var(--rb-text) !important; text-decoration: none; transition: border-color var(--rb-fast), transform var(--rb-med) var(--rb-ease); }
.theme-rubi a.admin-stat:hover { border-color: var(--rb-line-3); transform: translateY(-2px); filter: none; }
.theme-rubi .admin-stat strong { font: 700 28px/1.1 var(--rb-display); color: var(--rb-gold); }
.theme-rubi .admin-stat span { font: 600 13px/1.3 var(--rb-sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--rb-text-2); }
.theme-rubi .admin-stat small { font-size: 12.5px; color: var(--rb-muted); }
.theme-rubi .admin-actions, .theme-rubi .admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.theme-rubi .admin-toolbar { display: flex; justify-content: flex-end; gap: 10px; }
.theme-rubi .admin-badge { display: inline-block; padding: 3px 9px; border: 1px solid var(--rb-line-2); border-radius: 999px; background: var(--rb-surface-2); font: 600 11.5px/1.4 var(--rb-sans); color: var(--rb-text-2); }
.theme-rubi .admin-badge--ok { border-color: rgba(79, 209, 139, 0.35); background: rgba(79, 209, 139, 0.1); color: var(--rb-ok); }
.theme-rubi .admin-badge--live { border-color: rgba(208, 21, 63, 0.45); background: rgba(208, 21, 63, 0.12); color: #ff8aa2; }
.theme-rubi .admin-empty, .theme-rubi .admin-pagination, .theme-rubi .admin-field-hint { color: var(--rb-muted); }
.theme-rubi .admin-check { color: var(--rb-text-2); }
.theme-rubi .admin-row-actions a, .theme-rubi .admin-row-actions button { color: var(--rb-gold) !important; }

/* /doar: seletor Hero Coins / RMT Coins */
.theme-rubi .donate-switch__opt { border-color: var(--rb-line-2); background: var(--rb-surface); color: var(--rb-text) !important; opacity: 1; }
.theme-rubi .donate-switch__opt small { color: var(--rb-muted); opacity: 1; }
.theme-rubi .donate-switch__opt:hover { border-color: var(--rb-line-3); }
.theme-rubi .donate-switch__opt.is-active { border-color: var(--rb-gold-2); background: linear-gradient(180deg, rgba(242, 211, 140, 0.08), rgba(242, 211, 140, 0.02)); box-shadow: 0 0 0 1px rgba(242, 211, 140, 0.25) inset; }
.theme-rubi .donate-switch__opt.is-active b { color: var(--rb-gold); }
.theme-rubi .donate-switch__opt[href*="moeda=rmt"].is-active { border-color: rgba(111, 227, 168, 0.6); background: linear-gradient(180deg, rgba(111, 227, 168, 0.08), rgba(111, 227, 168, 0.02)); box-shadow: 0 0 0 1px rgba(111, 227, 168, 0.2) inset; }
.theme-rubi .donate-switch__opt[href*="moeda=rmt"].is-active b { color: #6fe3a8; }

/* ==========================================================================
   Menu da conta em sanfona por categoria (2026-11-11) — theme/account-menu.
   Coluna lateral (--side), "Minha Conta" do topo (--drop) e celular (--mobile).
   ========================================================================== */
.rb-am { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rb-am [hidden] { display: none !important; }

.rb-am__find { display: flex; align-items: center; gap: 8px; height: 34px; margin-bottom: 5px; padding: 0 10px; border: 1px solid var(--rb-line-2); border-radius: 9px; background: var(--rb-input); color: var(--rb-muted); transition: border-color var(--rb-fast), color var(--rb-fast); }
.rb-am__find:focus-within { border-color: rgba(242, 211, 140, 0.45); color: var(--rb-gold); }
.rb-am__find svg { flex: none; }
.theme-rubi .rb-am__find input,
.rb-am__find input { flex: 1; width: auto; min-width: 0; height: 32px; min-height: 0; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0; outline: 0 !important; background: none !important; box-shadow: none !important; font: 500 13px/1 var(--rb-sans); color: var(--rb-text); }
.rb-am__find input::placeholder { color: var(--rb-faint); }
.rb-am__find input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); cursor: pointer; }

/* divisor "Administração": eyebrow dourado + filete de rubi */
.theme-rubi .rb-am__sep { display: flex; align-items: center; gap: 10px; margin: 10px 2px 4px; font: 700 10.5px/1 var(--rb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-gold-2); }
.rb-am__sep::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(208, 21, 63, 0.65), transparent); }

.rb-am__grp { border: 1px solid transparent; border-radius: 11px; transition: border-color var(--rb-fast), background-color var(--rb-fast); }
.rb-am__grp[open] { border-color: var(--rb-line); background: rgba(0, 0, 0, 0.2); }
.rb-am__grp > summary,
.rb-am__solo { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 10px; font: 600 13.5px/1.2 var(--rb-sans); color: var(--rb-text) !important; cursor: pointer; list-style: none; user-select: none; transition: background-color var(--rb-fast), color var(--rb-fast); }
.rb-am__grp > summary::-webkit-details-marker { display: none; }
.rb-am__grp > summary:hover,
.rb-am__solo:hover { background: rgba(255, 255, 255, 0.05); color: #fff !important; }
.rb-am__grp > summary:focus-visible,
.rb-am__solo:focus-visible,
.rb-am__list a:focus-visible { outline: 2px solid rgba(242, 211, 140, 0.6); outline-offset: 1px; }

.rb-am__ico { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: radial-gradient(circle at 50% 35%, rgba(242, 211, 140, 0.14), transparent 70%), rgba(0, 0, 0, 0.28); box-shadow: 0 0 0 1px var(--rb-line); color: var(--rb-gold); transition: background-color var(--rb-fast), box-shadow var(--rb-fast), color var(--rb-fast); }
.rb-am__grp.is-active > summary .rb-am__ico,
.rb-am__solo.is-current .rb-am__ico { background: rgba(208, 21, 63, 0.22); box-shadow: 0 0 0 1px rgba(208, 21, 63, 0.55); color: #fff1c8; }
.rb-am__grp.is-active > summary,
.rb-am__solo.is-current { color: #fff !important; }
.rb-am__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-am__n { flex: none; min-width: 20px; padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font: 700 10.5px/1 var(--rb-sans); font-variant-numeric: tabular-nums; text-align: center; color: var(--rb-muted); }
.rb-am__grp.is-active .rb-am__n { background: rgba(242, 211, 140, 0.12); color: var(--rb-gold); }
.rb-am .rb-caret { flex: none; width: 10px; color: var(--rb-muted); transition: transform var(--rb-med) var(--rb-ease); }
.rb-am__grp[open] > summary .rb-caret { transform: rotate(180deg); color: var(--rb-gold); }

/* itens: trilho fino saindo do ícone da categoria; o atual ganha o marcador rubi→ouro */
.rb-am__list { position: relative; display: grid; gap: 1px; margin: 0; padding: 2px 6px 7px 30px; list-style: none; }
.rb-am__list::before { content: ''; position: absolute; top: 4px; bottom: 12px; left: 19px; width: 1px; background: var(--rb-line-2); }
.rb-am__grp[open] > .rb-am__list { animation: rb-am-in var(--rb-med) var(--rb-ease); }
@keyframes rb-am-in { from { opacity: 0; transform: translateY(-4px); } }
.rb-am__list a { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font: 500 13px/1.25 var(--rb-sans); color: var(--rb-text-2) !important; transition: background-color var(--rb-fast), color var(--rb-fast); }
.rb-am__list a > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-am__list a .rb-ico { flex: none; color: var(--rb-muted); transition: color var(--rb-fast); }
.rb-am__list a i { flex: none; font-style: normal; font-size: 12px; color: var(--rb-faint); }
.rb-am__list a:hover { background: rgba(255, 255, 255, 0.05); color: #fff !important; }
.rb-am__list a:hover .rb-ico,
.rb-am__list a.is-current .rb-ico { color: var(--rb-gold); }
.rb-am__list a.is-current { background: rgba(208, 21, 63, 0.14); color: #fff !important; font-weight: 600; }
.rb-am__list a.is-current::before { content: ''; position: absolute; top: 6px; bottom: 6px; left: -12px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--rb-ruby), var(--rb-gold)); }
.theme-rubi .rb-am__empty { margin: 6px 0 2px; font-size: 12.5px; text-align: center; color: var(--rb-muted); }

/* "Minha Conta" do topo: mais largo e com rolagem própria (cabia fora da tela) */
.rb-drop--me { min-width: 300px; max-height: calc(100vh - var(--rb-header) - 18px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rb-surface-3) transparent; }
.rb-am--drop { margin: 2px 2px 0; }
.rb-am--mobile { margin: 4px 0 10px; }
.rb-am--mobile .rb-am__grp > summary,
.rb-am--mobile .rb-am__solo { padding-top: 9px; padding-bottom: 9px; font-size: 14.5px; }
.rb-am--mobile .rb-am__list a { padding: 9px 8px; font-size: 14px; }

/* páginas de administração: categorias em pílulas + abas só da categoria atual */
.rb-adm { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.rb-adm__groups { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rb-adm__eyebrow { margin-right: 4px; font: 700 10.5px/1 var(--rb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-gold-2); }
.rb-adm__pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--rb-line-2); border-radius: 999px; background: var(--rb-surface); font: 600 13px/1 var(--rb-sans); color: var(--rb-text-2) !important; white-space: nowrap; transition: border-color var(--rb-fast), background-color var(--rb-fast), color var(--rb-fast), transform var(--rb-fast); }
.rb-adm__pill .rb-ico { color: var(--rb-muted); transition: color var(--rb-fast); }
.rb-adm__pill:hover { border-color: var(--rb-line-3); color: #fff !important; transform: translateY(-1px); }
.rb-adm__pill:hover .rb-ico { color: var(--rb-gold); }
.rb-adm__pill.is-active { border-color: rgba(208, 21, 63, 0.6); background: linear-gradient(180deg, rgba(208, 21, 63, 0.3), rgba(208, 21, 63, 0.12)); color: #fff !important; box-shadow: 0 8px 18px -12px rgba(208, 21, 63, 0.9); }
.rb-adm__pill.is-active .rb-ico { color: var(--rb-gold); }
.rb-acc-body ~ .rb-adm,
.rb-acc-head ~ .rb-adm { margin-bottom: 0; }

@media (max-width: 640px) {
    .rb-adm__groups { flex-wrap: nowrap; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
    .rb-adm__groups::-webkit-scrollbar { display: none; }
    .rb-adm__eyebrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rb-am__grp[open] > .rb-am__list { animation: none; }
}
/* com a sanfona o menu ficou alto: fundo opaco para o conteúdo da página não vazar por trás */
.rb-drop--me { background: linear-gradient(180deg, #1d1516, #161011); }

/* ==========================================================================
   Painel da conta repaginado (2026-11-11): mais largura e Visão geral em uma coluna.
   ========================================================================== */
/* Nas páginas da conta a coluna da direita (Webshop/Discord/Wiki) sai: o conteúdo é uma
   ferramenta e precisa da largura; coins e loja já estão no cabeçalho do painel. */
.rb--shell .rb-shell:has(.rb-acc-head) > .rb-side--right { display: none; }
@media (min-width: 1021px) {
    .rb--shell .rb-shell:has(.rb-acc-head) { grid-template-columns: 236px minmax(0, 1fr); }
}

/* cabeçalho: uma faixa só, respirando — quem / coins / VIP / ações */
.rb-acc-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.rb-acc-head > * { padding: 18px 24px; }
.rb-acc-head__cta { flex-direction: row; align-items: center !important; }
.rb-acc-body { gap: 18px; }

/* pendências: aparecem só quando há o que resolver */
.rb-ov-todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.rb-ov-todo__item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(240, 185, 85, 0.3); border-radius: 12px; background: linear-gradient(90deg, rgba(240, 185, 85, 0.09), rgba(240, 185, 85, 0.02)); color: var(--rb-text) !important; transition: border-color var(--rb-fast), transform var(--rb-med) var(--rb-ease); }
.rb-ov-todo__item:hover { border-color: rgba(240, 185, 85, 0.6); transform: translateY(-1px); }
.rb-ov-todo__ico { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(240, 185, 85, 0.14); color: var(--rb-warn); }
.rb-ov-todo__txt { flex: 1; min-width: 0; font: 600 14px/1.35 var(--rb-sans); }
.rb-ov-todo__cta { flex: none; font: 700 13px/1 var(--rb-sans); color: var(--rb-gold); white-space: nowrap; }

/* atalhos: uma régua de ações, não um quadro */
.rb-ov-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rb-ov-quick__a { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 14px 10px 10px; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-surface); font: 600 14px/1.25 var(--rb-sans); color: var(--rb-text) !important; transition: border-color var(--rb-fast), background-color var(--rb-fast), transform var(--rb-med) var(--rb-ease); }
.rb-ov-quick__a > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-ov-quick__ico { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: radial-gradient(circle at 50% 35%, rgba(242, 211, 140, 0.14), transparent 70%), rgba(0, 0, 0, 0.28); box-shadow: 0 0 0 1px var(--rb-line); color: var(--rb-gold); transition: background-color var(--rb-fast), box-shadow var(--rb-fast), color var(--rb-fast); }
.rb-ov-quick__a:hover { border-color: var(--rb-line-3); background: var(--rb-surface-2); transform: translateY(-1px); }
.rb-ov-quick__a:hover .rb-ov-quick__ico { background: rgba(208, 21, 63, 0.22); box-shadow: 0 0 0 1px rgba(208, 21, 63, 0.55); color: #fff1c8; }

/* personagens em cards; comentário/ocultar/excluir recolhidos em "Editar" */
.rb-ov-count { padding: 3px 8px; border-radius: 999px; background: rgba(242, 211, 140, 0.1); font: 700 11.5px/1 var(--rb-sans); font-variant-numeric: tabular-nums; color: var(--rb-gold); }
.theme-rubi .rb-ov-chars .ob-box__hd { align-items: center; }
.rb-ov-chargrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.rb-ov-char { min-width: 0; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-surface-2); transition: border-color var(--rb-fast); }
.rb-ov-char:hover,
.rb-ov-char:has(details[open]) { border-color: var(--rb-line-3); }
.rb-ov-char__top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px; }
.rb-ov-char__voc { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: radial-gradient(circle at 50% 35%, rgba(242, 211, 140, 0.16), transparent 70%), rgba(0, 0, 0, 0.3); box-shadow: 0 0 0 1px var(--rb-line-2); }
.rb-ov-char__voc .rb-voc { margin: 0; transform: scale(1.5); }
.rb-ov-char__who { flex: 1; min-width: 0; }
.theme-rubi .rb-ov-char__who a { color: var(--rb-text) !important; }
.rb-ov-char__who b { display: block; overflow: hidden; font: 700 15.5px/1.3 var(--rb-sans); text-overflow: ellipsis; white-space: nowrap; }
.rb-ov-char__who a:hover b { color: var(--rb-gold); }
.rb-ov-char__who small { display: block; font-size: 13px; color: var(--rb-muted); }
.theme-rubi .rb-ov-char__note { margin: -4px 14px 12px; font-size: 13px; font-style: italic; color: var(--rb-text-2); overflow-wrap: anywhere; }
.rb-ov-char__edit { border-top: 1px solid var(--rb-line); }
.rb-ov-char__edit > summary { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; font: 600 12.5px/1 var(--rb-sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--rb-muted); cursor: pointer; list-style: none; transition: color var(--rb-fast); }
.rb-ov-char__edit > summary::-webkit-details-marker { display: none; }
.rb-ov-char__edit > summary:hover,
.rb-ov-char__edit[open] > summary { color: var(--rb-gold); }
.rb-ov-char__edit .rb-caret { width: 10px; transition: transform var(--rb-med) var(--rb-ease); }
.rb-ov-char__edit[open] .rb-caret { transform: rotate(180deg); }
.rb-ov-char__form { display: grid; gap: 10px; margin: 0; padding: 4px 14px 12px; }
.theme-rubi .rb-ov-char__form input[type='text'] { width: 100%; min-height: 38px; padding: 7px 12px; font-size: 14px; }
.rb-ov-char__form .ob-check { font-size: 13px; }
.rb-ov-char__form .rb-btn { justify-self: start; }
.rb-ov-char__del { margin: 0; padding: 10px 14px 12px; border-top: 1px dashed var(--rb-line); }
.rb-ov-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0 6px; text-align: center; color: var(--rb-muted); }

/* cadastro: fatos em grade (rótulo pequeno em cima, valor embaixo), sem tabela */
.rb-ov-facts { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--rb-line); border-radius: 12px; background: var(--rb-line); }
.rb-ov-facts > div { display: flex; flex: 1 1 190px; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; background: var(--rb-surface); }
.rb-ov-facts > div.is-wide { flex: 2 1 320px; }
.rb-ov-facts dt { font: 600 11px/1.2 var(--rb-sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--rb-muted); }
.rb-ov-facts dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; min-width: 0; font: 600 14.5px/1.3 var(--rb-sans); color: var(--rb-text); overflow-wrap: anywhere; }
.rb-ov-facts dd small { font-weight: 500; font-size: 12px; }

@media (max-width: 1100px) {
    .rb-acc-head { grid-template-columns: 1fr 1fr; }
    .rb-acc-head__who,
    .rb-acc-head__cta { grid-column: 1 / -1; }
    .rb-acc-head__cta .rb-btn { flex: 1; }
}
@media (max-width: 640px) {
    .rb-acc-head { grid-template-columns: minmax(0, 1fr); }
    .rb-acc-head__stat { grid-column: 1 / -1; }
    .rb-acc-head__cta { flex-direction: column !important; align-items: stretch !important; }
    .rb-acc-head__cta .rb-btn { flex: none; }
    .rb-ov-quick { grid-template-columns: 1fr 1fr; }
    .rb-ov-quick__a > span:last-child { overflow: visible; white-space: normal; overflow-wrap: anywhere; }
    .theme-rubi .rb-ov-chars .ob-box__hd { flex-wrap: wrap; }
    .rb-ov-facts > div.is-wide { flex-basis: 100%; }
    .rb-ov-todo { grid-template-columns: minmax(0, 1fr); }
    .rb-ov-todo__item { flex-wrap: wrap; }
}

/* ==========================================================================
   Abas e formulários do painel da conta (2026-11-11)
   ========================================================================== */
/* Abas: mais compactas para caberem; quando não cabem (tela estreita) rolam com as bordas
   esmaecidas e setas, em vez de cortar o último item seco (rubi.js, data-rb-tabs). */
.rb-tabsbar { position: relative; min-width: 0; }
.rb-tabsbar .rb-tabs { gap: 2px; scroll-behavior: smooth; }
.rb-tabsbar .rb-tab { padding: 12px 12px 14px; }
.rb-tabsbar.is-clip-r .rb-tabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
.rb-tabsbar.is-clip-l .rb-tabs { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 64px), transparent); }
.rb-tabsbar.is-clip-l.is-clip-r .rb-tabs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
.rb-tabsbar__go { position: absolute; top: 50%; z-index: 2; display: none; place-items: center; width: 28px; height: 28px; margin-top: -16px; padding: 0; border: 1px solid var(--rb-line-2); border-radius: 50%; background: var(--rb-surface-2); color: var(--rb-gold); cursor: pointer; transition: border-color var(--rb-fast), background-color var(--rb-fast); }
.rb-tabsbar__go:hover { border-color: var(--rb-line-3); background: var(--rb-surface-3); }
.rb-tabsbar__go svg { width: 10px; }
.rb-tabsbar__go--l { left: -6px; }
.rb-tabsbar__go--l svg { transform: rotate(90deg); }
.rb-tabsbar__go--r { right: -6px; }
.rb-tabsbar__go--r svg { transform: rotate(-90deg); }
.rb-tabsbar.is-clip-l .rb-tabsbar__go--l,
.rb-tabsbar.is-clip-r .rb-tabsbar__go--r { display: grid; }

/* "Excluir conta" saiu das abas: fica como zona de perigo no fim da Segurança */
.rb-acc-danger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; border: 1px dashed rgba(242, 102, 122, 0.3); border-radius: 12px; }
.rb-acc-danger > div { min-width: 0; }
.rb-acc-danger b { display: block; font: 700 14px/1.3 var(--rb-sans); color: #f6a3ae; }
.rb-acc-danger span { font-size: 13px; color: var(--rb-muted); }
.theme-rubi .rb-acc-danger a { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 var(--rb-sans); color: #f19aa6 !important; white-space: nowrap; }
.theme-rubi .rb-acc-danger a:hover { color: #fff !important; }

/* quadros lado a lado com a mesma altura (antes cada um terminava num ponto) */
.theme-rubi .rb-acc-body .ob-acc-grid { align-items: stretch; }
.theme-rubi .rb-acc-body .ob-acc-grid > .ob-box { display: flex; flex-direction: column; }
.theme-rubi .rb-acc-body .ob-acc-grid > .ob-box > .ob-box__bd { flex: 1; }

/* formulários em quadro de largura cheia: campo não precisa de 1000px */
.theme-rubi .rb-acc-body > .ob-box > .ob-box__bd > form.ob-form,
.theme-rubi .rb-acc-body > .ob-box > .ob-box__bd > form.ob-inline-form { max-width: 680px; }
.theme-rubi .rb-acc-body > .ob-box--danger { width: min(760px, 100%); }

/* Meus dados: formulário em 3 colunas */
.rb-acc-form { margin: 0; }
.rb-acc-form__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.rb-acc-form__grid .form-field { margin: 0; min-width: 0; }
.rb-acc-form__grid .form-field.is-full { grid-column: 1 / -1; }
.rb-acc-form__foot { display: flex; justify-content: flex-end; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rb-line); }
.theme-rubi .rb-acc-hint { margin: 12px 0 0; }

@media (max-width: 900px) {
    .rb-acc-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .rb-acc-form__grid { grid-template-columns: minmax(0, 1fr); }
    .rb-acc-form__foot .ob-btn { width: 100%; }
    .rb-tabsbar__go { display: none !important; }
}

/* ==========================================================================
   Outfit nos cards de personagem + página de criar personagem (2026-11-11)
   ========================================================================== */
/* outfit animado (theme/outfit): a imagem do serviço tem o boneco no canto inferior direito */
.rb-outfit { position: relative; display: grid; flex: none; place-items: center; overflow: hidden; }
.rb-outfit img { position: absolute; right: 0; bottom: 0; width: 64px; height: 64px; max-width: none; image-rendering: pixelated; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.6)); }
.rb-outfit__fb[hidden] { display: none; }
.rb-outfit__fb .rb-voc { margin: 0; transform: scale(1.5); }

/* cards da Visão geral: palco do outfit no lugar do ícone */
.rb-ov-char__voc.rb-outfit { width: 56px; height: 56px; border-radius: 12px; background: radial-gradient(70% 22% at 50% 88%, rgba(0, 0, 0, 0.55), transparent 70%), radial-gradient(circle at 50% 45%, rgba(242, 211, 140, 0.18), transparent 70%), rgba(0, 0, 0, 0.3); }
.rb-ov-char__voc.rb-outfit img { right: 2px; bottom: 4px; }
.rb-ov-char__who small .rb-voc { margin-right: 5px; }

/* a página de criar também dispensa a coluna da direita */
.rb--shell .rb-shell:has(.rb-cc) > .rb-side--right { display: none; }
@media (min-width: 1021px) {
    .rb--shell .rb-shell:has(.rb-cc) { grid-template-columns: 236px minmax(0, 1fr); }
}

/* Criar personagem (2ª versão): retratos das vocações do client + boneco que gira */
.rb-cc { display: flex; flex-direction: column; gap: 26px; margin: 0; }
.rb-cc__vocs { min-width: 0; margin: 0; padding: 0; border: 0; }
.rb-cc__vocs legend { margin: 0 0 12px; padding: 0; font: 700 12px/1 var(--rb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-gold-2); }
.rb-cc__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.rb-cc__voc { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
.rb-cc__voc input { position: absolute; opacity: 0; pointer-events: none; }
.rb-cc__portrait { position: relative; display: block; overflow: hidden; aspect-ratio: 179 / 310; border: 1px solid #000; border-radius: 4px; background: #0b0809; box-shadow: 0 0 0 1px rgba(242, 211, 140, 0.14), 0 14px 28px -18px #000; transition: box-shadow var(--rb-fast), transform var(--rb-med) var(--rb-ease), filter var(--rb-med); filter: saturate(0.35) brightness(0.6); }
/* corta a faixa de texto que alguns retratos trazem embutida no rodapé */
.rb-cc__portrait img { display: block; width: 100%; height: 116%; max-width: none; object-fit: cover; object-position: 50% 0; }
.rb-cc__plate { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 30px 6px 11px; background: linear-gradient(180deg, transparent, rgba(8, 5, 6, 0.92) 62%); }
.rb-cc__plate b { overflow: hidden; font: 700 15px/1.1 var(--rb-display); letter-spacing: 0.06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; color: #e9dcc6; }
.rb-cc__voc:hover .rb-cc__portrait { filter: saturate(0.8) brightness(0.85); }
.rb-cc__voc input:focus-visible + .rb-cc__portrait { outline: 2px solid var(--rb-gold); outline-offset: 2px; }
.rb-cc__voc input:checked + .rb-cc__portrait { filter: none; transform: translateY(-6px); box-shadow: 0 0 0 1px var(--rb-gold-2), 0 0 0 3px rgba(242, 211, 140, 0.16), 0 22px 34px -18px rgba(208, 21, 63, 0.75); }
.rb-cc__voc input:checked + .rb-cc__portrait .rb-cc__plate b { color: var(--rb-gold); }

.rb-cc__body { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 32px; align-items: start; padding: 26px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-surface); box-shadow: var(--rb-shadow); }

/* boneco sobre o piso escuro, com as setas do client para girar */
.rb-cc__doll { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rb-cc__tile { position: relative; width: 208px; height: 208px; overflow: hidden; border: 1px solid #000; border-radius: 4px; background: radial-gradient(60% 16% at 50% 80%, rgba(0, 0, 0, 0.75), transparent 72%), repeating-conic-gradient(#221a1b 0 25%, #1c1516 0 50%) 0 0 / 64px 64px; box-shadow: inset 0 0 0 1px rgba(242, 211, 140, 0.12), inset 0 0 50px rgba(0, 0, 0, 0.75); }
/* a imagem do serviço é 64x64 com o boneco no quadrante inferior direito: 4x, centrado */
.rb-cc__tile img { position: absolute; left: calc(50% - 192px); bottom: 34px; width: 256px; height: 256px; max-width: none; image-rendering: pixelated; }
.rb-cc__turn { display: flex; align-items: center; gap: 12px; font: 600 11.5px/1 var(--rb-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-muted); }
.rb-cc__turn button { display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.rb-cc__turn button img { display: block; image-rendering: pixelated; }
.rb-cc__turn button:active { transform: translateY(1px); filter: brightness(0.8); }
.rb-cc__sex { display: grid; grid-template-columns: 1fr 1fr; width: 100%; overflow: hidden; border: 1px solid var(--rb-line-2); border-radius: 8px; }
.rb-cc__sex label { position: relative; margin: 0; cursor: pointer; }
.rb-cc__sex input { position: absolute; opacity: 0; pointer-events: none; }
.rb-cc__sex span { display: block; padding: 9px 6px; font: 600 13px/1 var(--rb-sans); text-align: center; color: var(--rb-muted); transition: background-color var(--rb-fast), color var(--rb-fast); }
.rb-cc__sex label + label span { border-left: 1px solid var(--rb-line-2); }
.rb-cc__sex label:hover span { color: var(--rb-text); }
.rb-cc__sex input:checked + span { background: rgba(242, 211, 140, 0.1); color: var(--rb-gold); }
.rb-cc__sex input:focus-visible + span { outline: 2px solid var(--rb-gold); outline-offset: -2px; }

.rb-cc__form { display: flex; flex-direction: column; gap: 18px; min-width: 0; max-width: 560px; }
.rb-cc__about .rb-eyebrow { margin: 0 0 6px; }
.rb-cc__about h2 { margin: 0 0 6px; font: 700 clamp(26px, 2.6vw, 34px)/1.1 var(--rb-display); letter-spacing: 0.02em; color: #fff; }
.theme-rubi .rb-cc__about p:last-child { margin: 0; min-height: 2.9em; font-size: 15px; line-height: 1.45; color: var(--rb-text-2); }
.rb-cc__name { margin: 0; }
.rb-cc__namebox { position: relative; }
.theme-rubi .rb-cc__namebox input { width: 100%; min-height: 50px; padding-right: 64px; font-size: 17px; font-weight: 600; }
.rb-cc__namebox span { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); font: 600 12px/1 var(--rb-sans); font-variant-numeric: tabular-nums; color: var(--rb-faint); pointer-events: none; }
.rb-cc__namebox span b { color: var(--rb-text-2); }
.rb-cc__hint { display: block; margin-top: 7px; font-size: 12.5px; color: var(--rb-muted); transition: color var(--rb-fast); }
.rb-cc__hint.is-ok { color: var(--rb-ok); }
.rb-cc__hint.is-bad { color: #f6a3ae; }
.theme-rubi .rb-cc__town { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--rb-text-2); }
.rb-cc__town .rb-ico { flex: none; color: var(--rb-gold); }
.rb-cc__town b { color: var(--rb-text); }
.rb-cc__foot { display: flex; align-items: center; gap: 18px; }
.rb-cc__foot .rb-btn { min-height: 46px; padding: 0 26px; }
.theme-rubi .rb-cc__foot a:not(.rb-btn) { font: 600 13.5px/1 var(--rb-sans); color: var(--rb-muted) !important; }
.theme-rubi .rb-cc__foot a:not(.rb-btn):hover { color: var(--rb-text) !important; }
.theme-rubi .rb-cc__note { margin: -6px 0 0; font-size: 12.5px; color: var(--rb-faint); }

@media (max-width: 760px) {
    /* retratos em faixa que rola, com encaixe */
    .rb-cc__row { display: flex; margin: 0 -16px; padding: 8px 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .rb-cc__row::-webkit-scrollbar { display: none; }
    .rb-cc__voc { flex: 0 0 140px; scroll-snap-align: center; }
    .rb-cc__plate b { font-size: 12.5px; letter-spacing: 0.03em; }
    .rb-cc__body { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 18px; }
    .rb-cc__sex { width: 208px; }
    .rb-cc__foot { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
    .rb-cc__foot .rb-btn { flex: none; }
}

/* NEW FEATURE (USER REQUEST): logo da tela de login do client (x-hero-logo) — HERO dourado + OT */
.hl { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 26px rgba(232, 200, 106, 0.25)); }
.hl__mark { position: relative; display: block; width: 100%; aspect-ratio: 96.75 / 38.69; overflow: hidden;
    -webkit-mask: url('../heroui/img/logo-hero-login.svg') center / contain no-repeat; mask: url('../heroui/img/logo-hero-login.svg') center / contain no-repeat;
    background: linear-gradient(180deg, #fff3c4, #ffe39a 35%, #e8c86a 62%, #a87424); }
.hl__mark i { position: absolute; top: -20px; bottom: -20px; left: -80px; width: 50px; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent); animation: hl-shine 5s ease-in-out infinite; }
@keyframes hl-shine { 0%, 60% { left: -80px; } 100% { left: 110%; } }
.hl__ot { display: flex; align-items: center; justify-content: center; gap: 14px; font: 700 18px/1 'Barlow Condensed', 'Arial Narrow', sans-serif; color: #e8c86a; }
.hl__ot b { font-weight: inherit; letter-spacing: 0.9em; margin-right: -0.9em; } /* o espaçamento depois do T não empurra o centro */
.hl__ot::before, .hl__ot::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, #e8c86a); }
.hl__ot::after { transform: scaleX(-1); }
.hl--sm { gap: 3px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)); }
.hl--sm .hl__mark i { display: none; }
.hl--sm .hl__ot { gap: 6px; font-size: 9px; }
.hl--sm .hl__ot::before, .hl--sm .hl__ot::after { width: 18px; }
.rb-footer__brand .hl { width: 120px; margin-bottom: 14px; }
@media (max-width: 760px) { .hl--lg .hl__ot { gap: 10px; font-size: 14px; } .hl--lg .hl__ot::before, .hl--lg .hl__ot::after { width: 34px; } }
@media (prefers-reduced-motion: reduce) { .hl__mark i { animation: none; display: none; } }
