:root {
    --bg: #0c0a08;
    --bg-soft: #17130e;
    --panel: rgba(33, 27, 21, 0.8);
    --panel-strong: rgba(28, 23, 17, 0.95);
    --line: rgba(255, 255, 255, 0.1);
    --text: #eef2ff;
    --muted: #a7b2cb;
    --gold: #d8aa58;
    --gold-soft: #f5dfab;
    --blue: #6b9ff9;
    --blue-soft: rgba(107, 159, 249, 0.18);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: min(1180px, calc(100vw - 48px));
    --site-cursor: url("../images/Cursor/DefaultCursor.png") 2 2;
    --site-cursor-talk: url("../images/Cursor/Talk_Cursor.png") 2 2;
    --site-cursor-sell: url("../images/Cursor/SellCursor.png") 2 2;
    --site-cursor-active: url("../images/Cursor/attack-cursor.png") 2 2;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* O navegador pinta o fundo do documento antes do CSS do body valer. Sem
       isto a tela pisca branca quando a resposta demora um pouco. */
    background: #0b0906;
    color-scheme: dark;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at top left, rgba(216, 170, 88, 0.13), transparent 28%),
        radial-gradient(circle at top right, rgba(107, 159, 249, 0.14), transparent 24%),
        linear-gradient(180deg, #0b0906 0%, #0f0c09 45%, #0b0906 100%);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
    cursor: var(--site-cursor), auto;
}

.market-module-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-module-page {
    overflow: hidden;
}

.market-module-page .site-shell {
    width: min(800px, 100vw);
    height: min(600px, 100vh);
    min-height: 0;
}

.market-module-page .container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.market-module-page .page-shell.market-module-shell {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
}

.market-module-dragbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 18px;
    z-index: 7;
    background: transparent;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.market-module-dragbar:active {
    cursor: grabbing;
}

.market-subsection-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.market-module-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(216, 170, 88, 0.24);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(32, 46, 71, 0.96), rgba(27, 21, 15, 0.98)),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #ffe7b6;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    cursor: var(--site-cursor-active), pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.market-module-close:hover,
.market-module-close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(216, 170, 88, 0.42);
    background:
        linear-gradient(180deg, rgba(50, 71, 106, 0.98), rgba(34, 27, 20, 0.98)),
        rgba(255, 255, 255, 0.04);
}

.market-module-close:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(216, 170, 88, 0.2),
        0 14px 28px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.market-module-close span {
    transform: translateY(-1px);
}

.market-module-page .market-shell-section {
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
}

.market-module-page .market-shell {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 6px;
    padding: 6px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 16px;
    align-items: start;
}

.market-module-page .market-sidebar {
    gap: 6px;
    padding: 7px 6px;
    border-radius: 12px;
}

.market-module-page .market-sidebar-logo {
    width: min(100%, 62px);
}

.market-module-page .market-sidebar-nav {
    gap: 4px;
}

.market-module-page .market-sidebar-link {
    padding: 6px 7px;
    border-radius: 9px;
    font-size: 9px;
}

.market-module-page .market-mini-panel {
    gap: 4px;
    padding: 6px;
}

.market-module-page .market-mini-list {
    gap: 4px;
}

.market-module-page .market-mini-list li {
    padding: 5px 6px;
    border-radius: 8px;
    font-size: 8px;
    line-height: 1.2;
}

.market-module-page .market-main,
.market-module-page .market-subsection,
.market-module-page .market-character-browser,
.market-module-page .market-sub-browser {
    gap: 8px;
    align-content: start;
}

.market-module-page .market-main {
    display: block;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    padding-right: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.72) rgba(28, 21, 14, 0.92);
}

.market-module-page .market-subsection {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.market-module-page .market-main::-webkit-scrollbar {
    width: 10px;
}

.market-module-page .market-main::-webkit-scrollbar-track {
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(28, 21, 14, 0.94), rgba(16, 12, 8, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(90, 139, 224, 0.14),
        inset 0 2px 6px rgba(0, 0, 0, 0.28);
}

.market-module-page .market-main::-webkit-scrollbar-thumb {
    border: 2px solid rgba(28, 21, 14, 0.95);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 226, 169, 0.96), rgba(216, 170, 88, 0.84));
    box-shadow:
        0 0 14px rgba(216, 170, 88, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.market-module-page .market-main::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(255, 236, 192, 0.98), rgba(228, 183, 95, 0.92));
}

.market-module-page .market-subsection-head {
    gap: 6px;
    padding-bottom: 4px;
}

.market-module-page .market-shell-kicker,
.market-module-page .market-card-kicker {
    margin-bottom: 2px;
    font-size: 8px;
}

.market-module-page .market-subsection-head h3,
.market-module-page .market-card h3 {
    font-size: 11px;
    line-height: 1.15;
}

.market-module-page .market-card-status,
.market-module-page .market-item-badge,
.market-module-page .market-subsection-badge {
    padding: 4px 6px;
    font-size: 7px;
}

.market-module-page .market-card-status {
    top: 9px;
    right: 9px;
}

.market-module-page .market-compact-grid {
    gap: 6px;
    align-content: start;
}

.market-module-page .market-character-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: max-content;
}

.market-module-page .market-item-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: max-content;
    padding-top: 6px;
    padding-bottom: 8px;
}

.market-module-page .market-cash-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-module-page .market-card-media {
    padding: 7px 7px 0;
}

.market-module-page .market-item-media img {
    aspect-ratio: 1 / 0.42;
}

.market-module-page .market-item-card .market-card-body {
    gap: 4px;
    padding: 6px;
}

.market-module-page .market-item-tags {
    gap: 3px;
    min-height: 17px;
}

.market-module-page .market-card-tag {
    padding: 2px 5px;
    font-size: 7px;
    line-height: 10px;
}

.market-module-page .market-item-card .market-buy-button {
    min-height: 25px;
}

.market-module-page .market-character-card .market-card-media img {
    aspect-ratio: 4 / 3.95;
}

.market-module-page .market-card-body {
    gap: 6px;
    padding: 8px;
}

.market-module-page .market-cash-stage,
.market-module-page .market-wallet-stage {
    gap: 8px;
}

.market-module-page .market-wallet-page {
    gap: 8px;
}

.market-module-page .market-wallet-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.market-module-page .market-wallet-nav-button,
.market-module-page .market-wallet-secondary-button {
    min-height: 30px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 9px;
}

.market-module-page .market-cash-hero,
.market-module-page .market-wallet-card {
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
}

.market-module-page .market-cash-hero h4,
.market-module-page .market-wallet-card h4 {
    font-size: 15px;
}

.market-module-page .market-cash-hero .market-shell-kicker {
    font-size: 7px;
}

.market-module-page .market-cash-hero p,
.market-module-page .market-wallet-copy {
    font-size: 9px;
    line-height: 1.35;
}

.market-module-page .market-cash-benefits,
.market-module-page .market-wallet-meta {
    gap: 6px;
}

.market-module-page .market-cash-rate-card {
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
}

.market-module-page .market-cash-rate-card span {
    font-size: 8px;
}

.market-module-page .market-cash-rate-card strong,
.market-module-page .market-cash-offer {
    font-size: 10px;
}

.market-module-page .market-cash-benefits span,
.market-module-page .market-wallet-meta span {
    padding: 5px 8px;
    font-size: 9px;
}

.market-module-page .market-action-button {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 10px;
}

/* Loja mais compacta dentro do modulo do jogo (800x600) */
.market-module-page .market-cash-hero,
.market-module-page .market-wallet-card {
    padding: 8px 10px;
}

/* Esconde o que nao e essencial no modulo pra os cards caberem inteiros.
   O bloco "RECARGA PREMIUM / CONVERSAO BASE" some no modulo (ocupa muito espaco
   e cada card ja mostra o preco em IC). */
.market-module-page .market-cash-hero,
.market-module-page .market-cash-offer,
.market-module-page .market-cash-card .market-item-meta,
.market-module-page .market-store-card .market-item-meta {
    display: none;
}

.market-module-page .market-cash-stage {
    gap: 6px;
}

/* A caixa de scroll da loja preenche toda a altura do modulo (nao fica curta
   com o max-height: 62vh do site cheio; usa todo o espaco disponivel aqui). */
.market-module-page .market-store-stage,
.market-module-page .market-infinity-stage {
    flex: 1 1 auto;
    min-height: 0;
    gap: 8px;
}

.market-module-page .market-cashstore-panel,
.market-module-page .market-infinity-panel {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

.market-module-page .market-infinity-hero {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 148px);
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
}

.market-module-page .market-infinity-hero-copy {
    gap: 3px;
}

.market-module-page .market-infinity-hero-copy h4 {
    font-size: 14px;
}

.market-module-page .market-infinity-hero-copy p {
    font-size: 9px;
    line-height: 1.35;
}

.market-module-page .market-infinity-balance {
    gap: 1px;
    padding: 7px 9px;
    border-radius: 12px;
}

.market-module-page .market-infinity-balance > span {
    font-size: 7px;
}

.market-module-page .market-infinity-balance strong {
    gap: 5px;
    font-size: 10px;
}

.market-module-page .market-infinity-balance-value {
    font-size: 22px;
}

.market-module-page .market-infinity-balance small {
    font-size: 8px;
}

.market-module-page .market-cash-card .market-card-media,
.market-module-page .market-store-card .market-card-media {
    padding: 6px 6px 0;
}

/* Card de cash: arte landscape preenchendo (sem cortar, proporcao da imagem) */
.market-module-page .market-cash-card .market-card-media img {
    aspect-ratio: 468 / 260;
    object-fit: cover;
}

/* Card de item da loja: icone Premium mostrado inteiro */
.market-module-page .market-store-card .market-card-media img {
    aspect-ratio: 1 / 0.6;
    object-fit: contain;
}

.market-module-page .market-item-meta span {
    padding: 4px 6px;
    font-size: 8px;
}

.market-module-page .market-price {
    font-size: 12px;
}

/* Kit Up e pacotes no modulo */
.market-module-page .market-kit-wrap {
    gap: 8px;
}

.market-module-page .market-kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.market-module-page .market-kit-card {
    gap: 7px;
    padding: 9px;
    border-radius: 12px;
}

.market-module-page .market-kit-kicker {
    font-size: 7px;
}

.market-module-page .market-kit-head h3 {
    font-size: 12px;
}

.market-module-page .market-kit-duration,
.market-module-page .market-kit-badge {
    padding: 3px 7px;
    font-size: 7px;
}

.market-module-page .market-kit-desc {
    font-size: 8px;
    line-height: 1.35;
}

.market-module-page .market-kit-items {
    gap: 5px;
}

.market-module-page .market-kit-item {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.market-module-page .market-kit-qty {
    padding: 1px 4px;
    font-size: 7px;
}

.market-module-page .market-kit-price strong {
    font-size: 14px;
}

.market-module-page .market-kit-price span {
    font-size: 8px;
}

.market-module-page .market-kit-button {
    padding: 0 12px;
}

.market-module-page .market-kit-art {
    opacity: 0.18;
}

.market-module-page .market-wallet-balance-wrap,
.market-module-page .market-wallet-layout {
    gap: 8px;
}

.market-module-page .market-wallet-package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.market-module-page .market-wallet-home {
    max-width: none;
}

.market-module-page .market-wallet-rate-banner {
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
}

.market-module-page .market-wallet-rate-banner span {
    font-size: 8px;
}

.market-module-page .market-wallet-rate-banner strong {
    font-size: 12px;
}

.market-module-page .market-wallet-form {
    gap: 8px;
}

.market-module-page .market-wallet-field {
    gap: 6px;
}

.market-module-page .market-wallet-field span {
    font-size: 10px;
}

.market-module-page .market-wallet-field input {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 11px;
}

.market-module-page .market-wallet-form-meta {
    gap: 8px;
}

.market-module-page .market-wallet-quick-row {
    gap: 8px;
}

.market-module-page .market-wallet-balance,
.market-module-page .market-wallet-side-balance,
.market-module-page .market-wallet-package-item,
.market-module-page .market-wallet-quick-card,
.market-module-page .market-wallet-highlight,
.market-module-page .market-wallet-history-item {
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
}

.market-module-page .market-wallet-balance span,
.market-module-page .market-wallet-side-balance span,
.market-module-page .market-wallet-package-item span,
.market-module-page .market-wallet-meta-card span,
.market-module-page .market-wallet-quick-card span,
.market-module-page .market-wallet-highlight span,
.market-module-page .market-wallet-history-item span {
    font-size: 9px;
}

.market-module-page .market-wallet-balance strong {
    font-size: 20px;
}

.market-module-page .market-wallet-package-item strong {
    font-size: 13px;
}

.market-module-page .market-wallet-meta-card strong {
    font-size: 12px;
}

.market-module-page .market-wallet-side-balance strong,
.market-module-page .market-wallet-quick-card strong,
.market-module-page .market-wallet-highlight strong,
.market-module-page .market-wallet-history-item strong,
.market-module-page .market-wallet-history-item em {
    font-size: 12px;
}

.market-module-page .market-wallet-package-item em {
    font-size: 10px;
}

.market-module-page .market-wallet-submit {
    min-width: 0;
    width: 100%;
}

.market-module-page .market-wallet-highlights,
.market-module-page .market-wallet-history {
    gap: 6px;
}

.market-module-page .market-wallet-history-item {
    gap: 8px;
}

.market-module-page .market-character-stage,
.market-module-page .market-character-browser,
.market-module-page .market-sub-browser {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.market-module-page .market-character-browser,
.market-module-page .market-sub-browser {
    gap: 8px;
}

.market-module-page .market-character-grid,
.market-module-page .market-item-grid,
.market-module-page .market-cash-stage,
.market-module-page .market-wallet-stage,
.market-module-page .market-character-detail {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    align-content: start;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.72) rgba(28, 21, 14, 0.92);
}

.market-module-page .market-character-grid::-webkit-scrollbar,
.market-module-page .market-item-grid::-webkit-scrollbar,
.market-module-page .market-cash-stage::-webkit-scrollbar,
.market-module-page .market-wallet-stage::-webkit-scrollbar,
.market-module-page .market-character-detail::-webkit-scrollbar {
    width: 10px;
}

.market-module-page .market-character-grid::-webkit-scrollbar-track,
.market-module-page .market-item-grid::-webkit-scrollbar-track,
.market-module-page .market-cash-stage::-webkit-scrollbar-track,
.market-module-page .market-wallet-stage::-webkit-scrollbar-track,
.market-module-page .market-character-detail::-webkit-scrollbar-track {
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(28, 21, 14, 0.94), rgba(16, 12, 8, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(90, 139, 224, 0.14),
        inset 0 2px 6px rgba(0, 0, 0, 0.28);
}

.market-module-page .market-character-grid::-webkit-scrollbar-thumb,
.market-module-page .market-item-grid::-webkit-scrollbar-thumb,
.market-module-page .market-cash-stage::-webkit-scrollbar-thumb,
.market-module-page .market-wallet-stage::-webkit-scrollbar-thumb,
.market-module-page .market-character-detail::-webkit-scrollbar-thumb {
    border: 2px solid rgba(28, 21, 14, 0.95);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 226, 169, 0.96), rgba(216, 170, 88, 0.84));
    box-shadow:
        0 0 14px rgba(216, 170, 88, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.market-module-page .market-character-grid::-webkit-scrollbar-thumb:hover,
.market-module-page .market-item-grid::-webkit-scrollbar-thumb:hover,
.market-module-page .market-cash-stage::-webkit-scrollbar-thumb:hover,
.market-module-page .market-wallet-stage::-webkit-scrollbar-thumb:hover,
.market-module-page .market-character-detail::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(255, 236, 192, 0.98), rgba(228, 183, 95, 0.92));
}

.market-module-page .market-character-meta,
.market-module-page .market-item-meta {
    gap: 6px;
}

.market-module-page .market-character-meta span,
.market-module-page .market-item-meta span {
    padding: 4px 6px;
    border-radius: 8px;
    font-size: 8px;
    line-height: 1.15;
}

.market-module-page .market-character-card h3 {
    font-size: 12px;
}

.market-module-page .market-character-card .market-price {
    font-size: 12px;
}

.market-module-page .market-item-footer {
    gap: 6px;
}

.market-module-page .market-price {
    font-size: 11px;
}

.market-module-page .market-subsection-actions {
    gap: 6px;
}

.market-module-page .market-module-close {
    width: 20px;
    height: 20px;
    font-size: 10px;
}

.market-module-page .market-item-meta,
.market-module-page .market-character-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-module-page .market-sidebar .market-shell-kicker {
    font-size: 6px;
}

.market-module-page .market-mini-panel {
    display: none;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button,
input,
textarea,
select,
summary,
[role="button"],
.button,
.menu-toggle,
.site-nav a,
.floating-discord,
.floating-player,
.floating-shortcut {
    cursor: var(--site-cursor-talk), pointer;
}

.market-sidebar-link,
.market-tabbar-button,
.market-card-link,
.market-character-detail-back {
    cursor: var(--site-cursor-sell), pointer;
}

body:active,
a:active,
button:active,
input:active,
textarea:active,
select:active,
summary:active,
[role="button"]:active,
.button:active,
.menu-toggle:active,
.site-nav a:active,
.floating-discord:active,
.floating-player:active,
.floating-shortcut:active {
    cursor: var(--site-cursor-active), pointer;
}

button,
input,
textarea {
    font: inherit;
}

.site-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(130deg, rgba(216, 170, 88, 0.06), transparent 40%),
        radial-gradient(circle at 20% 20%, rgba(107, 159, 249, 0.12), transparent 25%),
        radial-gradient(circle at 80% 12%, rgba(216, 170, 88, 0.08), transparent 20%);
    pointer-events: none;
    z-index: 0;
}

.site-shell {
    position: relative;
    z-index: 1;
}

.floating-shortcuts {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 12;
    display: grid;
    gap: 14px;
    transform: translateY(-50%);
}

.floating-shortcut {
    position: relative;
    display: inline-flex;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-player {
    --accent: 242 193 92;
}

.floating-discord {
    --accent: 103 115 255;
}

.floating-telegram {
    --accent: 60 189 240;
}

.floating-shortcut:hover,
.floating-shortcut:focus-visible {
    transform: translateX(-6px);
}

.floating-shortcut:focus-visible {
    outline: none;
}

.floating-shortcut-aura,
.floating-shortcut-panel {
    position: absolute;
    inset: 0;
}

.floating-shortcut-aura {
    inset: -10px -12px;
    border-radius: 32px;
    filter: blur(18px);
    opacity: 0.82;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgb(var(--accent) / 0.3), transparent 60%),
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.1), transparent 34%);
    transition: opacity 300ms ease;
}

.floating-shortcut:hover .floating-shortcut-aura,
.floating-shortcut:focus-visible .floating-shortcut-aura {
    opacity: 1;
}

.floating-shortcut-panel {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 82px;
    min-height: 136px;
    padding: 14px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(47, 39, 31, 0.96), rgba(20, 16, 12, 0.99)),
        rgba(255, 255, 255, 0.02);
    box-shadow:
        0 30px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgb(var(--accent) / 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition:
        border-color 300ms ease,
        box-shadow 300ms ease;
}

.floating-shortcut:hover .floating-shortcut-panel,
.floating-shortcut:focus-visible .floating-shortcut-panel {
    border-color: rgb(var(--accent) / 0.5);
    box-shadow:
        0 32px 54px rgba(0, 0, 0, 0.36),
        0 0 28px rgb(var(--accent) / 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.floating-shortcut-panel::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02));
}

.floating-shortcut-panel::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -130%;
    width: 58%;
    height: 180%;
    z-index: 2;
    pointer-events: none;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transition: left 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-shortcut:hover .floating-shortcut-panel::after,
.floating-shortcut:focus-visible .floating-shortcut-panel::after {
    left: 150%;
}

.floating-shortcut-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 24px rgba(0, 0, 0, 0.18);
}

.floating-shortcut-icon-wrap::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgb(var(--accent) / 0.42), rgba(255, 255, 255, 0.05));
    opacity: 0.75;
    z-index: 0;
}

.floating-shortcut-icon-wrap::after {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: 0;
    border: 1px solid rgb(var(--accent) / 0.6);
    border-radius: 21px;
    opacity: 0;
    pointer-events: none;
    animation: shortcutHalo 3.4s ease-out infinite;
}

.floating-discord .floating-shortcut-icon-wrap::after {
    animation-delay: 1.1s;
}

.floating-telegram .floating-shortcut-icon-wrap::after {
    animation-delay: 2.2s;
}

@keyframes shortcutHalo {
    0% {
        transform: scale(0.86);
        opacity: 0;
    }
    30% {
        opacity: 0.7;
    }
    100% {
        transform: scale(1.34);
        opacity: 0;
    }
}

.floating-shortcut-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 17px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(180deg, #6773ff, #4655f1);
    box-shadow:
        0 14px 22px rgba(88, 101, 242, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition:
        transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 340ms ease;
}

.floating-shortcut:hover .floating-shortcut-icon,
.floating-shortcut:focus-visible .floating-shortcut-icon {
    transform: translateY(-3px) scale(1.07);
    box-shadow:
        0 20px 30px rgb(var(--accent) / 0.4),
        0 0 22px rgb(var(--accent) / 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.floating-player-icon {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(180deg, #f2c15c, #c98a1d);
    box-shadow:
        0 14px 22px rgba(216, 170, 88, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.floating-telegram-icon {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 42%),
        linear-gradient(180deg, #4380e9, #2461cb);
    box-shadow:
        0 14px 22px rgba(50, 116, 230, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.floating-discord-icon svg,
.floating-telegram-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.floating-telegram-icon svg {
    margin-right: 2px;
}

.floating-player-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

.floating-shortcut-label {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    text-align: center;
}

.floating-shortcut-label strong {
    color: #f7f2e7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        color 300ms ease,
        text-shadow 300ms ease;
}

.floating-shortcut:hover .floating-shortcut-label strong,
.floating-shortcut:focus-visible .floating-shortcut-label strong {
    color: #ffffff;
    text-shadow: 0 0 14px rgb(var(--accent) / 0.75);
}

.floating-shortcut-label small {
    color: #aeb8d4;
    font-size: 11px;
    line-height: 1.2;
}

@keyframes discordFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.floating-shortcut-aura,
.floating-shortcut-panel {
    animation: discordFloat 6.4s ease-in-out infinite;
}

.floating-discord .floating-shortcut-aura,
.floating-discord .floating-shortcut-panel {
    animation-delay: 0.5s;
}

.floating-telegram .floating-shortcut-aura,
.floating-telegram .floating-shortcut-panel {
    animation-delay: 1s;
}

@media (prefers-reduced-motion: reduce) {
    .floating-shortcut-aura,
    .floating-shortcut-panel,
    .floating-shortcut-icon-wrap::after {
        animation: none;
    }

    .floating-shortcut-icon-wrap::after {
        opacity: 0;
    }

    .floating-shortcut:hover .floating-shortcut-icon,
    .floating-shortcut:focus-visible .floating-shortcut-icon {
        transform: none;
    }
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.page-shell {
    padding-top: 88px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px 14px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: 999px;
    background: rgba(216, 170, 88, 0.08);
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(12, 10, 8, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text strong,
h1,
h2,
h3 {
    font-family: "Cinzel", serif;
    letter-spacing: 0.02em;
}

.brand-text strong {
    font-size: 26px;
    line-height: 1;
    color: var(--text);
}

.site-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    color: #d4deee;
    font-size: 13px;
    white-space: nowrap;
    transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-soft);
}

.site-nav .nav-link-featured {
    position: relative;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: #fff1cf;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: none;
    text-shadow:
        0 0 10px rgba(216, 170, 88, 0.22),
        0 0 18px rgba(216, 170, 88, 0.08);
    animation: marketplacePulse 2.8s ease-in-out infinite;
}

.site-nav .nav-link-featured::before {
    content: none;
}

.site-nav .nav-link-featured:hover,
.site-nav .nav-link-featured.active {
    background: transparent;
    color: #fff6e5;
    box-shadow: none;
    text-shadow:
        0 0 12px rgba(216, 170, 88, 0.28),
        0 0 22px rgba(216, 170, 88, 0.12);
}

@keyframes marketplacePulse {
    0%,
    100% {
        transform: scale(1);
        text-shadow:
            0 0 10px rgba(216, 170, 88, 0.22),
            0 0 18px rgba(216, 170, 88, 0.08);
    }

    50% {
        transform: scale(1.04);
        text-shadow:
            0 0 14px rgba(216, 170, 88, 0.3),
            0 0 24px rgba(216, 170, 88, 0.14);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-nav .nav-link-featured {
        animation: none;
    }
}

.header-actions,
.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.header-actions {
    margin-left: auto;
    align-items: center;
    gap: 8px;
}

.header-actions .button {
    padding: 0 14px;
    font-size: 12px;
}

.header-account {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(216, 170, 88, 0.3);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(38, 32, 26, 0.9), rgba(21, 17, 13, 0.95));
    overflow: hidden;
}

.header-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    transition: background 180ms ease;
}

.header-user:hover {
    background: rgba(216, 170, 88, 0.1);
}

.header-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(216, 170, 88, 0.4);
    background: rgba(14, 11, 8, 0.85);
    overflow: hidden;
    flex-shrink: 0;
}

.header-user-avatar img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.header-user-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-user-copy small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-user-copy strong {
    color: #f2e6c8;
    font-family: "Cinzel", serif;
    font-size: 14px;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-logout-form {
    margin: 0;
    display: inline-flex;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.header-logout {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: var(--site-cursor-active), pointer;
    transition: color 180ms ease, background 180ms ease;
}

.header-logout svg {
    width: 16px;
    height: 16px;
}

.header-logout:hover {
    color: #ff8f8f;
    background: rgba(120, 26, 26, 0.35);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #120e05;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 18px 30px rgba(216, 170, 88, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(216, 170, 88, 0.24);
}

.button-muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero-section,
.page-intro {
    padding: 0 0 8px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
}

.hero-video-wrap,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-video-wrap {
    z-index: 0;
}

.hero-video-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) brightness(0.9);
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(11, 9, 6, 0.78) 0%, rgba(11, 9, 6, 0.7) 40%, rgba(11, 9, 6, 0.5) 62%, rgba(11, 9, 6, 0.3) 100%),
        radial-gradient(circle at 18% 24%, rgba(216, 170, 88, 0.18), transparent 26%),
        radial-gradient(circle at 78% 24%, rgba(107, 159, 249, 0.16), transparent 22%);
}

/* Nas paginas internas o texto do hero atravessa quase toda a largura,
   entao a faixa escura precisa ir mais longe antes de abrir. */
.page-hero .hero-overlay {
    background:
        linear-gradient(90deg, rgba(11, 9, 6, 0.8) 0%, rgba(11, 9, 6, 0.74) 55%, rgba(11, 9, 6, 0.62) 80%, rgba(11, 9, 6, 0.44) 100%),
        radial-gradient(circle at 18% 24%, rgba(216, 170, 88, 0.18), transparent 26%),
        radial-gradient(circle at 78% 24%, rgba(107, 159, 249, 0.16), transparent 22%);
}

.hero-grid,
.split-highlight,
.split-panels,
.page-intro-grid,
.dual-list-grid {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: stretch;
    position: relative;
    z-index: 2;
    padding: 20px 0 12px;
}

.hero-copy h1,
.page-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5.2vw, 64px);
    line-height: 0.96;
}

.hero-logo-title {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    margin-bottom: 10px;
    isolation: isolate;
}

.hero-logo-image {
    width: min(100%, 500px);
    height: auto;
    display: block;
    object-fit: contain;
    transform-origin: center left;
    will-change: transform, filter;
    filter:
        drop-shadow(0 20px 38px rgba(0, 0, 0, 0.4))
        drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18))
        drop-shadow(0 0 6px rgba(245, 223, 171, 0.2))
        drop-shadow(0 0 14px rgba(216, 170, 88, 0.18))
        drop-shadow(0 0 24px rgba(107, 159, 249, 0.1));
    animation: heroLogoFloat 7s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        filter:
            drop-shadow(0 20px 38px rgba(0, 0, 0, 0.4))
            drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18))
            drop-shadow(0 0 6px rgba(245, 223, 171, 0.2))
            drop-shadow(0 0 14px rgba(216, 170, 88, 0.18))
            drop-shadow(0 0 24px rgba(107, 159, 249, 0.1));
    }

    50% {
        transform: translate3d(0, -7px, 0) scale(1.012);
        filter:
            drop-shadow(0 24px 42px rgba(0, 0, 0, 0.44))
            drop-shadow(0 10px 22px rgba(0, 0, 0, 0.2))
            drop-shadow(0 0 8px rgba(245, 223, 171, 0.3))
            drop-shadow(0 0 18px rgba(216, 170, 88, 0.26))
            drop-shadow(0 0 30px rgba(107, 159, 249, 0.14));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo-image {
        animation: none;
    }
}

.hero-title-subtitle {
    margin: 0 0 14px;
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.05;
    letter-spacing: 0.03em;
}

.hero-text {
    max-width: 580px;
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.75;
}

.hero-text,
.page-intro-copy,
.section-head p,
.detail-panel p,
.feature-card p,
.data-table-card,
.stack-card p,
.news-body p,
.callout p,
.footer-copy,
.roadmap-card li,
.list-card li {
    color: var(--muted);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 620px;
    min-height: min(76vh, 690px);
}

.hero-panel,
.feature-card,
.data-table-card,
.stack-card,
.news-card,
.metric-card,
.detail-panel,
.roadmap-card,
.list-card,
.callout {
    background: linear-gradient(180deg, rgba(36, 30, 24, 0.9), rgba(19, 16, 12, 0.95));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-panel {
    position: relative;
    display: flex;
    padding: 0;
    backdrop-filter: blur(8px);
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: calc(100vh - 76px);
    overflow: visible;
    perspective: 1800px;
}

.hero-panel img,
.highlight-media img,
.news-card img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.hero-panel img {
    max-height: min(64vh, 560px);
    object-position: center top;
}

.hero-flip-card-inner {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: min(76vh, 690px);
    transform-style: preserve-3d;
    transition: transform 900ms ease;
}

.hero-flip-card.is-flipped .hero-flip-card-inner {
    transform: rotateY(180deg);
}

.hero-flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(36, 30, 24, 0.9), rgba(19, 16, 12, 0.95));
    box-shadow: var(--shadow);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.hero-flip-front {
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(36, 30, 24, 0.76), rgba(19, 16, 12, 0.94));
}

.hero-flip-front::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 9, 6, 0) 0%, rgba(11, 9, 6, 0.18) 45%, rgba(11, 9, 6, 0.84) 100%);
}

.hero-flip-front [data-flip-front-image] {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    border-radius: inherit;
    object-fit: cover;
    display: block;
}

.hero-flip-front-shell {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex: 1;
    align-items: flex-end;
    min-height: 100%;
    height: 100%;
    padding: 0 16px 16px;
    box-sizing: border-box;
}

.hero-flip-back {
    box-sizing: border-box;
    display: flex;
    padding: 22px 20px;
    transform: rotateY(180deg);
    justify-content: stretch;
    align-items: stretch;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.18), transparent 26%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(36, 30, 24, 0.95), rgba(19, 16, 12, 0.98));
}

.hero-flip-back-shell {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    height: 100%;
    padding: 4px;
}

.hero-panel-copy {
    padding: 12px 6px 4px;
}

.hero-flip-front .hero-panel-copy {
    width: 100%;
    padding: 16px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(29, 24, 19, 0.82), rgba(19, 16, 12, 0.92)),
        rgba(22, 18, 14, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-panel-eyebrow {
    margin-bottom: 12px;
}

.hero-flip-front .hero-panel-eyebrow {
    margin-bottom: 10px;
}

.hero-panel-copy h2,
.section-head h2,
.detail-panel h2,
.callout h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
}

.hero-panel-copy h2 {
    margin-bottom: 8px;
    font-size: clamp(20px, 1.8vw, 30px);
}

.hero-panel-copy p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.hero-flip-front .hero-panel-copy h2 {
    margin-bottom: 10px;
    max-width: 90%;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.08;
    color: #fff8ea;
}

.hero-flip-front-summary {
    max-width: 92%;
    color: #d9e1ee;
    font-size: 14px;
    line-height: 1.55;
}

.hero-flip-back .hero-panel-copy {
    padding: 0;
}

.hero-flip-back .hero-panel-copy h2 {
    margin-bottom: 10px;
    font-size: clamp(22px, 2.1vw, 31px);
    line-height: 1.12;
}

.hero-flip-back .hero-panel-copy p {
    font-size: 14px;
    line-height: 1.6;
}

.hero-flip-back-summary {
    max-width: 95%;
    color: #dae2f0;
}

.hero-flip-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.5), rgba(255, 255, 255, 0.08), rgba(107, 159, 249, 0.4));
}

.hero-flip-benefits {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-flip-benefits-title {
    margin: 0 0 12px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-panel-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-panel-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
        rgba(17, 14, 10, 0.7);
    color: #dde5f3;
    font-size: 14px;
    line-height: 1.55;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-panel-list li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, #ffe8b2, #d8aa58 60%, #8a6422 100%);
    box-shadow: 0 0 14px rgba(216, 170, 88, 0.28);
}

.hero-panel-list li::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 21px;
    width: 8px;
    height: 4px;
    border-left: 2px solid #1b1407;
    border-bottom: 2px solid #1b1407;
    transform: rotate(-45deg);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.stat-chip,
.metric-card {
    padding: 16px 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(35, 29, 23, 0.9), rgba(19, 16, 12, 0.96)),
        rgba(255, 255, 255, 0.03);
}

.hero-quickstart-label {
    margin: 18px 0 10px;
    color: rgba(255, 240, 213, 0.86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.stat-chip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 116px;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-chip:hover,
.stat-chip:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(216, 170, 88, 0.32);
    background:
        linear-gradient(180deg, rgba(44, 37, 30, 0.96), rgba(24, 19, 14, 0.98)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stat-chip:focus-visible {
    outline: 2px solid rgba(216, 170, 88, 0.45);
    outline-offset: 2px;
}

.stat-chip strong,
.metric-card strong {
    display: block;
    margin-bottom: 0;
    color: var(--gold-soft);
    font-size: 18px;
    line-height: 1.2;
}

.stat-chip span,
.metric-card span {
    color: #d9e1ee;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
}

.content-section {
    position: relative;
    padding: 56px 0;
}

.content-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 140px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
    opacity: 0.7;
}

.alt-surface {
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.07), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-head p {
    max-width: 640px;
}

.section-head h2 {
    margin-top: 0;
    color: #f8f4ea;
}

.section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head-center p {
    margin-left: auto;
    margin-right: auto;
}

.section-head-center h2::after {
    margin-left: auto;
    margin-right: auto;
}

.card-grid,
.table-grid,
.news-grid,
.roadmap-grid,
.metric-band {
    display: grid;
    gap: 20px;
}

.card-grid-3,
.table-grid,
.roadmap-grid,
.metric-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.detail-panel,
.roadmap-card,
.list-card {
    padding: 28px;
}

.feature-card,
.data-table-card,
.stack-card,
.news-card,
.detail-panel,
.roadmap-card,
.list-card,
.callout {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.feature-card::before,
.data-table-card::before,
.stack-card::before,
.news-card::before,
.detail-panel::before,
.roadmap-card::before,
.list-card::before,
.callout::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.12), transparent 32%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.1), transparent 28%);
    opacity: 0.9;
}

.feature-card::after,
.data-table-card::after,
.stack-card::after,
.news-card::after,
.detail-panel::after,
.roadmap-card::after,
.list-card::after,
.callout::after {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 1px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
}

.feature-card:hover,
.news-card:hover,
.stack-card:hover,
.data-table-card:hover,
.detail-panel:hover,
.roadmap-card:hover,
.list-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 170, 88, 0.34);
    box-shadow:
        0 26px 56px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.feature-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 36px;
    padding: 0 12px;
    margin-bottom: 20px;
    border-radius: 999px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.18), rgba(216, 170, 88, 0.08)),
        rgba(255, 255, 255, 0.02);
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 24px rgba(216, 170, 88, 0.08);
}

.feature-card h3,
.stack-card h3,
.news-body h3,
.list-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #fbf7ee;
}

.table-grid {
    align-items: start;
}

.data-table-card {
    overflow: hidden;
}

.data-table-head,
.data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.data-table-head {
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        rgba(255, 255, 255, 0.015);
}

.data-table-head h3 {
    margin: 0;
    font-size: 22px;
}

.data-table-head span,
.roadmap-label {
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.data-row {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 180ms ease, transform 180ms ease;
}

.data-row:hover {
    background: rgba(255, 255, 255, 0.025);
}

.data-row:last-child {
    border-bottom: 0;
}

.data-row strong {
    font-size: 15px;
}

.split-highlight,
.split-panels,
.page-intro-grid,
.dual-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlight-copy,
.highlight-media {
    align-self: center;
}

.market-shell-section {
    position: relative;
    padding: 18px 0 34px;
}

.market-shell-section-module {
    padding: 0;
}

.market-topbar-wrap {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 14px;
}

.market-shell {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at top center, rgba(216, 170, 88, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(33, 27, 21, 0.97), rgba(17, 14, 10, 0.99));
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.market-shell-kicker,
.market-card-kicker {
    margin: 0 0 8px;
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.market-sidebar,
.market-featured-panel,
.market-mini-panel,
.market-card {
    border: 1px solid rgba(216, 170, 88, 0.2);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(35, 29, 23, 0.96), rgba(19, 15, 11, 0.98)),
        rgba(255, 255, 255, 0.015);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 14px 30px rgba(0, 0, 0, 0.2);
}

.market-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 13px 10px;
}

.market-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0 6px;
}

.market-sidebar-logo {
    width: min(100%, 104px);
    height: auto;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28))
        drop-shadow(0 0 10px rgba(216, 170, 88, 0.12));
}

.market-sidebar-nav {
    display: grid;
    gap: 8px;
}

.market-sidebar-link {
    appearance: none;
    width: 100%;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    color: #ced8e9;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    cursor: var(--site-cursor-sell), pointer;
    transition: 180ms ease;
}

.market-sidebar-link:hover,
.market-sidebar-link.is-active {
    border-color: rgba(216, 170, 88, 0.2);
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.16), rgba(216, 170, 88, 0.05)),
        rgba(255, 255, 255, 0.03);
    color: #fff0cb;
}

.market-sidebar-note {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.1), transparent 34%),
        rgba(21, 16, 11, 0.72);
}

.market-sidebar-note strong {
    color: #fff0cd;
    font-size: 15px;
}

.market-sidebar-note span {
    color: #d0dbee;
    font-size: 12px;
    line-height: 1.65;
}

.market-main {
    display: grid;
    gap: 14px;
    align-self: start;
}

.market-topbar {
    grid-column: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 16px;
    align-items: start;
}

.market-topbar-copy {
    display: grid;
    gap: 10px;
    align-content: start;
}

.market-topbar-copy h2 {
    margin: 0;
    max-width: 700px;
    color: #fbf7ee;
    font-size: clamp(21px, 1.9vw, 27px);
    line-height: 1.1;
}

.market-topbar-text {
    max-width: 700px;
    margin: 0;
    color: #ced8e9;
    font-size: 13px;
    line-height: 1.65;
    min-height: 58px;
}

.market-topbar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.market-topbar-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(216, 170, 88, 0.18);
    background: rgba(216, 170, 88, 0.08);
    color: #ffeecd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-topbar-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.market-tabbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.market-tabbar-button {
    appearance: none;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #d8e3f5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: var(--site-cursor-sell), pointer;
    transition: 180ms ease;
}

.market-tabbar-button:hover,
.market-tabbar-button.is-active {
    border-color: rgba(216, 170, 88, 0.2);
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.16), rgba(216, 170, 88, 0.05)),
        rgba(255, 255, 255, 0.03);
    color: #fff0cb;
}

.market-topbar-benefit {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 100%;
    padding: 11px 13px;
    border: 1px solid rgba(216, 170, 88, 0.16);
    border-radius: 13px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(35, 29, 23, 0.95), rgba(19, 15, 11, 0.99));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 24px rgba(0, 0, 0, 0.18);
}

.market-topbar-benefit strong {
    display: block;
    color: #fff0cd;
    font-size: 14px;
    line-height: 1.15;
}

.market-topbar-benefit p {
    margin: 0;
    color: #c8d0e2;
    font-size: 12px;
    line-height: 1.55;
}

.market-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.market-featured-panel {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
}

.market-featured-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 18px;
    object-fit: cover;
}

.market-featured-body {
    display: grid;
    gap: 12px;
}

.market-featured-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.market-featured-head h3,
.market-subsection-head h3,
.market-card h3,
.market-mini-panel h3 {
    margin: 0;
    color: #fbf7ee;
    font-size: 24px;
    line-height: 1.08;
}

.market-card-status,
.market-item-badge,
.market-subsection-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    background: rgba(216, 170, 88, 0.1);
    color: #fff0ce;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.market-featured-meta,
.market-character-meta,
.market-item-meta,
.market-mini-list {
    display: grid;
    gap: 8px;
}

.market-featured-meta span,
.market-character-meta span,
.market-item-meta span,
.market-mini-list li {
    display: block;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(18, 14, 10, 0.6);
    color: #ced8e9;
    font-size: 11px;
    line-height: 1.5;
}

.market-featured-footer,
.market-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px 12px;
    flex-wrap: wrap;
}

.market-item-badge {
    max-width: 100%;
    white-space: nowrap;
}

.market-price {
    color: #fff1cf;
    font-size: 15px;
    white-space: nowrap;
}

.market-side-stack {
    display: grid;
    gap: 12px;
}

.market-mini-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.market-subsection {
    display: grid;
    gap: 14px;
    padding-top: 2px;
}

.market-subsection[hidden] {
    display: none;
}

.market-mini-panel img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
}

.market-mini-panel p {
    margin: 0;
    color: #d5deee;
    font-size: 13px;
    line-height: 1.65;
}

.market-mini-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.market-subsection-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.market-subsection-head-bare {
    justify-content: flex-end;
    padding-bottom: 0;
    border-bottom: 0;
}

.market-compact-grid {
    display: grid;
    gap: 10px;
}

.market-character-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-item-grid {
    grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
}

.market-class-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.market-class-chip {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(216, 170, 88, 0.2);
    border-radius: 9px;
    background: rgba(19, 16, 12, 0.85);
    overflow: hidden;
    cursor: var(--site-cursor-sell), pointer;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.market-class-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.market-class-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 170, 88, 0.5);
}

.market-class-chip.is-active {
    border-color: rgba(216, 170, 88, 0.85);
    box-shadow:
        0 0 12px rgba(216, 170, 88, 0.3),
        inset 0 0 0 1px rgba(216, 170, 88, 0.4);
}

.market-class-chip[data-market-class-filter-btn="0"] {
    width: auto;
    padding: 0 14px;
}

.market-class-chip-all {
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.market-character-card.is-filtered-out {
    display: none;
}

.market-sub-filter .market-class-chip {
    width: auto;
    height: 40px;
    padding: 0 11px;
}

.market-item-card.is-filtered-out {
    display: none;
}

.market-card.is-paged-out {
    display: none;
}

.market-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
    padding: 6px 0 2px;
}

.market-pager[hidden] {
    display: none;
}

.market-pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(216, 170, 88, 0.35);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(48, 38, 28, 0.9), rgba(25, 19, 13, 0.95));
    color: #d8aa58;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.market-pager-btn:hover:not(:disabled) {
    border-color: rgba(216, 170, 88, 0.75);
    background: linear-gradient(180deg, rgba(32, 47, 72, 0.95), rgba(33, 26, 19, 0.98));
    transform: translateY(-1px);
}

.market-pager-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.market-pager-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.market-pager-status {
    min-width: 62px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(234, 239, 249, 0.78);
}

.market-character-scroll {
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 6px 6px 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.5) rgba(255, 255, 255, 0.04);
}

.market-character-scroll::-webkit-scrollbar {
    width: 8px;
}

.market-character-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.market-character-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.6), rgba(216, 170, 88, 0.3));
    border-radius: 999px;
}

.market-character-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(216, 170, 88, 0.75);
}

.market-module-page .market-character-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 6px 8px 0;
}

.market-item-scroll {
    overscroll-behavior: contain;
    padding: 6px 6px 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.5) rgba(255, 255, 255, 0.04);
}

.market-item-scroll::-webkit-scrollbar {
    width: 8px;
}

.market-item-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.market-item-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.6), rgba(216, 170, 88, 0.3));
    border-radius: 999px;
}

.market-item-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(216, 170, 88, 0.75);
}

.market-module-page .market-item-scroll {
    display: contents;
}

.market-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.market-card-link {
    appearance: none;
    color: inherit;
    width: 100%;
    padding: 0;
    text-align: left;
    cursor: var(--site-cursor-sell), pointer;
}

.market-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 170, 88, 0.24);
    box-shadow:
        0 24px 42px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.market-card-media {
    position: relative;
    padding: 7px 7px 0;
}

.market-card-media img {
    width: 100%;
    border-radius: 11px;
    object-fit: cover;
}

.market-character-card .market-card-media img {
    aspect-ratio: 4 / 4.2;
}

.market-character-card[data-rarity] {
    --rarity: 148, 163, 184;
}

.market-character-card[data-rarity="raro"] {
    --rarity: 95, 151, 248;
}

.market-character-card[data-rarity="epico"] {
    --rarity: 190, 116, 255;
}

.market-character-card[data-rarity="lendario"] {
    --rarity: 255, 196, 84;
}

.market-character-card[data-rarity="raro"],
.market-character-card[data-rarity="epico"],
.market-character-card[data-rarity="lendario"] {
    border-color: rgba(var(--rarity), 0.7);
    box-shadow:
        0 0 0 1px rgba(var(--rarity), 0.35),
        0 0 22px rgba(var(--rarity), 0.42),
        0 0 46px rgba(var(--rarity), 0.22),
        inset 0 0 26px rgba(var(--rarity), 0.16);
}

.market-character-card[data-rarity="raro"]::after,
.market-character-card[data-rarity="epico"]::after,
.market-character-card[data-rarity="lendario"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(120% 60% at 50% -10%, rgba(var(--rarity), 0.4), rgba(var(--rarity), 0) 60%);
    z-index: 2;
    mix-blend-mode: screen;
}

.market-character-card[data-rarity="raro"] .market-card-media img,
.market-character-card[data-rarity="epico"] .market-card-media img,
.market-character-card[data-rarity="lendario"] .market-card-media img {
    box-shadow:
        0 0 0 1px rgba(var(--rarity), 0.6),
        0 0 18px rgba(var(--rarity), 0.45),
        inset 0 0 20px rgba(var(--rarity), 0.2);
}

.market-character-card[data-rarity="raro"]:hover,
.market-character-card[data-rarity="epico"]:hover,
.market-character-card[data-rarity="lendario"]:hover {
    border-color: rgba(var(--rarity), 1);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(var(--rarity), 0.5),
        0 0 30px rgba(var(--rarity), 0.6),
        0 0 60px rgba(var(--rarity), 0.32),
        inset 0 0 30px rgba(var(--rarity), 0.22);
}

.market-character-card[data-rarity="epico"] {
    animation: market-rarity-pulse 3.2s ease-in-out infinite;
}

.market-character-card[data-rarity="lendario"] {
    animation: market-rarity-pulse 2.4s ease-in-out infinite;
}

@keyframes market-rarity-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(var(--rarity), 0.35),
            0 0 20px rgba(var(--rarity), 0.38),
            0 0 42px rgba(var(--rarity), 0.2),
            inset 0 0 26px rgba(var(--rarity), 0.16);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(var(--rarity), 0.6),
            0 0 34px rgba(var(--rarity), 0.68),
            0 0 66px rgba(var(--rarity), 0.36),
            inset 0 0 32px rgba(var(--rarity), 0.24);
    }
}

@media (prefers-reduced-motion: reduce) {
    .market-character-card[data-rarity="epico"],
    .market-character-card[data-rarity="lendario"] {
        animation: none;
    }
}

.market-card-rarity {
    position: relative;
    overflow: hidden;
    z-index: 3;
    border-color: rgba(var(--rarity), 0.6);
    background: linear-gradient(180deg, rgba(var(--rarity), 0.32), rgba(var(--rarity), 0.12));
    color: #ffffff;
    text-shadow: 0 0 9px rgba(var(--rarity), 0.95), 0 1px 2px rgba(0, 0, 0, 0.65);
    box-shadow:
        0 0 12px rgba(var(--rarity), 0.5),
        inset 0 0 8px rgba(var(--rarity), 0.28);
}

.market-character-card[data-rarity="epico"] .market-card-rarity::after,
.market-character-card[data-rarity="lendario"] .market-card-rarity::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: market-rarity-shine 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes market-rarity-shine {
    0% {
        transform: translateX(-120%);
    }
    60%, 100% {
        transform: translateX(120%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .market-card-rarity::after {
        animation: none;
    }
}

.market-item-media img {
    aspect-ratio: 1 / 0.72;
    object-fit: contain;
    padding: 8px;
    image-rendering: pixelated;
}

.market-item-card {
    background: #000000;
}

.market-item-card .market-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.market-item-card h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.5em;
    line-height: 1.25;
}

.market-item-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-height: 21px;
}

.market-card-tag {
    --tag: 148, 163, 184;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(var(--tag), 0.55);
    background: linear-gradient(150deg, rgba(var(--tag), 0.22), rgba(26, 19, 12, 0.94));
    color: rgb(var(--tag));
    font-size: 8px;
    line-height: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-card-tag-aging {
    --tag: 255, 196, 84;
}

.market-card-tag-job {
    --tag: 127, 172, 250;
}

.market-card-tag-mix {
    --tag: 190, 116, 255;
}

.market-item-action {
    margin-top: auto;
}

.market-item-card .market-buy-button {
    --buy: 62, 207, 122;
    position: relative;
    width: 100%;
    justify-content: center;
    gap: 7px;
    padding: 0 8px;
    overflow: hidden;
    border-color: rgba(var(--buy), 0.55);
    background:
        linear-gradient(180deg, rgba(var(--buy), 0.32), rgba(10, 42, 24, 0.96));
    color: #e9ffef;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 6px 16px rgba(var(--buy), 0.16);
}

.market-buy-price {
    color: #e9ffef;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.market-buy-icon {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.market-item-card .market-buy-button.is-buy .market-buy-icon {
    color: #b9ffd0;
}

.market-item-card .market-buy-button.is-buy:hover,
.market-item-card .market-buy-button.is-buy:focus-visible {
    border-color: rgba(var(--buy), 1);
    background:
        linear-gradient(180deg, rgba(var(--buy), 0.5), rgba(14, 58, 32, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 10px 24px rgba(var(--buy), 0.34);
}

.market-buy-button.is-buy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.28) 50%, transparent 64%);
    transform: translateX(-120%);
    pointer-events: none;
}

.market-buy-button.is-buy:hover::after {
    animation: market-rarity-shine 900ms ease-out;
}

.market-item-card .market-buy-button[disabled] {
    --buy: 148, 163, 184;
    background: linear-gradient(180deg, rgba(50, 43, 36, 0.96), rgba(24, 20, 16, 0.96));
    color: #9aa4b6;
    box-shadow: none;
}

.market-item-card .market-buy-button[disabled] .market-buy-price,
.market-item-card .market-buy-button[disabled] .market-buy-icon {
    color: #b9c2d2;
}

.market-item-card[data-rarity] {
    --rarity: 148, 163, 184;
    border-color: rgba(var(--rarity), 0.55);
}

.market-item-card[data-rarity="normal"] {
    --rarity: 148, 163, 184;
}

.market-item-card[data-rarity="comum"] {
    --rarity: 120, 214, 138;
}

.market-item-card[data-rarity="raro"] {
    --rarity: 95, 151, 248;
}

.market-item-card[data-rarity="especial"] {
    --rarity: 61, 214, 161;
}

.market-item-card[data-rarity="heroico"],
.market-item-card[data-rarity="epico"] {
    --rarity: 190, 116, 255;
}

.market-item-card[data-rarity="mitico"] {
    --rarity: 255, 106, 106;
}

.market-item-card[data-rarity="lendario"] {
    --rarity: 255, 196, 84;
}

.market-item-card[data-rarity]:not([data-rarity="normal"]):not([data-rarity="comum"]) {
    box-shadow:
        0 0 0 1px rgba(var(--rarity), 0.3),
        0 0 16px rgba(var(--rarity), 0.22);
}

.market-item-card[data-rarity="lendario"] {
    box-shadow:
        0 0 0 1px rgba(var(--rarity), 0.45),
        0 0 22px rgba(var(--rarity), 0.35),
        inset 0 0 18px rgba(var(--rarity), 0.12);
}

.market-item-card[data-rarity]:hover {
    border-color: rgba(var(--rarity), 0.92);
}

.market-item-card[data-rarity] .market-card-status {
    border-color: rgba(var(--rarity), 0.5);
    background: rgba(var(--rarity), 0.16);
    color: rgba(var(--rarity), 1);
}

.market-item-card h3,
.market-item-card .market-price {
    font-size: 13px;
}

.market-item-card .market-card-body {
    gap: 5px;
    padding: 8px 9px 9px;
}

.market-item-card .market-card-status {
    top: 9px;
    right: 9px;
    padding: 3px 6px;
    font-size: 8px;
}

.market-item-card .market-action-button {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
}

.market-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
}

.market-card-aging {
    position: absolute;
    top: 12px;
    left: 12px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 3px 6px;
    border-radius: 7px;
    border: 1px solid rgba(255, 226, 169, 0.6);
    background: linear-gradient(160deg, rgba(72, 48, 12, 0.95), rgba(30, 24, 18, 0.92));
    color: #ffe2a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 0 8px rgba(255, 196, 84, 0.75);
    animation: market-aging-pulse 2.6s ease-in-out infinite;
}

.market-card-aging::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.65) 50%, transparent 68%);
    animation: market-rarity-shine 3.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes market-aging-pulse {
    0%, 100% {
        border-color: rgba(255, 226, 169, 0.5);
        box-shadow: 0 0 8px rgba(255, 196, 84, 0.3);
    }
    50% {
        border-color: rgba(255, 236, 192, 0.95);
        box-shadow:
            0 0 16px rgba(255, 196, 84, 0.7),
            0 0 30px rgba(255, 196, 84, 0.28);
    }
}

.market-item-aging,
.market-listings-aging {
    color: #ffe2a9;
    font-weight: 800;
    animation: market-aging-text 2.6s ease-in-out infinite;
}

@keyframes market-aging-text {
    0%, 100% {
        text-shadow: 0 0 6px rgba(255, 196, 84, 0.35);
    }
    50% {
        text-shadow:
            0 0 10px rgba(255, 196, 84, 0.85),
            0 0 22px rgba(255, 196, 84, 0.4);
    }
}

.market-card-awaken {
    --awaken: 78, 126, 208;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(var(--awaken), 0.7);
    background: linear-gradient(150deg, rgba(62, 45, 28, 0.96), rgba(26, 19, 12, 0.94));
    color: #c5dafd;
    font-size: 8px;
    line-height: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    animation: market-awaken-pulse 2.1s ease-in-out infinite;
}

.market-card-awaken::before {
    content: "\2726";
    font-size: 9px;
    line-height: 1;
    color: rgba(var(--awaken), 1);
    animation: market-awaken-star 2.1s ease-in-out infinite;
}

@keyframes market-awaken-pulse {
    0%, 100% {
        border-color: rgba(var(--awaken), 0.55);
        box-shadow: 0 0 10px rgba(var(--awaken), 0.3);
    }
    50% {
        border-color: rgba(var(--awaken), 1);
        box-shadow:
            0 0 18px rgba(var(--awaken), 0.7),
            0 0 34px rgba(var(--awaken), 0.3);
    }
}

@keyframes market-awaken-star {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 6px rgba(78, 126, 208, 0.5);
    }
    50% {
        transform: scale(1.25) rotate(90deg);
        text-shadow: 0 0 12px rgba(143, 182, 250, 1);
    }
}

.market-listings-item-info .market-listings-awaken {
    color: #8fb6fa;
    font-weight: 700;
    animation: market-awaken-text 2.1s ease-in-out infinite;
}

@keyframes market-awaken-text {
    0%, 100% {
        text-shadow: 0 0 6px rgba(78, 126, 208, 0.35);
    }
    50% {
        text-shadow:
            0 0 10px rgba(78, 126, 208, 0.9),
            0 0 22px rgba(78, 126, 208, 0.45);
    }
}

@media (prefers-reduced-motion: reduce) {
    .market-card-aging,
    .market-card-aging::after,
    .market-item-aging,
    .market-listings-aging,
    .market-card-awaken,
    .market-card-awaken::before,
    .market-listings-awaken {
        animation: none;
    }
}

.market-card-body {
    display: grid;
    gap: 7px;
    padding: 11px;
}

.market-card h3 {
    font-size: 16px;
}

.market-item-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-cash-stage,
.market-wallet-stage {
    display: grid;
    gap: 16px;
}

.market-wallet-page {
    display: grid;
    gap: 16px;
}

.market-wallet-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 10px;
    align-items: start;
}

.market-wallet-nav-button,
.market-wallet-secondary-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(90, 139, 224, 0.18);
    border-radius: 12px;
    background: rgba(22, 17, 12, 0.82);
    color: #e0e8f5;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: var(--site-cursor-sell), pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.market-wallet-nav-button:hover,
.market-wallet-nav-button.is-active,
.market-wallet-secondary-button:hover,
.market-wallet-secondary-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(216, 170, 88, 0.36);
    background: rgba(46, 37, 27, 0.94);
    color: #fff0cd;
    outline: none;
}

.market-cash-grid {
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
}

.market-cash-card .market-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    padding: 12px;
}

.market-cash-card .market-card-kicker {
    min-height: 0;
}

.market-cash-tier {
    margin: 0;
    color: #fff0cd;
    font-family: "Cinzel", serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.market-cash-card .market-cash-offer {
    min-height: 32px;
}

.market-cash-card .market-item-meta {
    margin-top: auto;
}

.market-cash-card .market-item-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.market-cash-card .market-item-badge {
    white-space: normal;
    text-align: center;
}

.market-cash-card .market-cash-buy-form {
    margin-top: auto;
}

.market-module-page .market-cash-card .market-card-kicker,
.market-module-page .market-cash-card .market-cash-offer {
    min-height: 0;
}

.market-cash-card .market-card-media img {
    aspect-ratio: 468 / 260;
}

.market-cash-hero,
.market-wallet-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(90, 139, 224, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(56, 41, 26, 0.96), rgba(26, 20, 14, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 20px 44px rgba(0, 0, 0, 0.22);
}

.market-cash-hero h4,
.market-wallet-card h4 {
    margin: 0;
    color: #fbf7ee;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.08;
}

.market-cash-hero .market-shell-kicker {
    font-size: 10px;
    margin-bottom: 0;
}

.market-cash-hero p,
.market-wallet-copy {
    margin: 0;
    color: #d1dcee;
    font-size: 15px;
    line-height: 1.6;
}

.market-cash-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.market-cash-rate-card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 239, 204, 0.06), rgba(255, 255, 255, 0.012)),
        rgba(27, 21, 15, 0.82);
}

.market-cash-rate-card span {
    color: #b0bfda;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.market-cash-rate-card strong {
    color: #fff0cd;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.market-cash-offer {
    margin: 0;
    color: #9aa3c4;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.market-cash-offer strong {
    color: #9fe7b6;
    font-weight: 800;
}

.market-cash-benefits span,
.market-wallet-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(216, 170, 88, 0.18);
    border-radius: 999px;
    background: rgba(30, 23, 15, 0.82);
    color: #f2e3be;
    font-size: 12px;
    font-weight: 700;
}

.market-action-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(216, 170, 88, 0.26);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(46, 64, 96, 0.98), rgba(34, 27, 20, 0.98)),
        rgba(255, 255, 255, 0.04);
    color: #fff0cd;
    font-size: 13px;
    font-weight: 800;
    cursor: var(--site-cursor-active), pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.market-action-button:hover,
.market-action-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(216, 170, 88, 0.42);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
    outline: none;
}

.market-cash-buy-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.market-cash-buy-form .market-action-button {
    flex: 1;
}

.market-confirm-coupon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(216, 170, 88, 0.4);
    background: rgba(216, 170, 88, 0.06);
    text-align: left;
}

.market-confirm-coupon label {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.market-confirm-coupon input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.65);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-confirm-coupon input::placeholder {
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--muted);
}

.market-confirm-coupon input:focus {
    outline: none;
    border-color: rgba(216, 170, 88, 0.75);
    box-shadow: 0 0 0 3px rgba(216, 170, 88, 0.14);
}

.market-confirm-coupon-status {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--muted);
}

.market-confirm-coupon-status.is-ok {
    color: #7ed99a;
}

.market-confirm-coupon-status.is-error {
    color: #ffb3b3;
}

.wallet-streamer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.wallet-highlight {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(216, 170, 88, 0.32);
    background: rgba(216, 170, 88, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wallet-highlight span {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.wallet-highlight strong {
    font-family: "Cinzel", serif;
    font-size: 1.2rem;
    color: var(--gold-soft);
}

.wallet-copy {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.wallet-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-form-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.wallet-chart {
    margin: 0 0 4px;
}

.wallet-chart-plot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2px;
    height: 132px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.wallet-chart-col {
    position: relative;
    flex: 1 1 0;
    max-width: 24px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.wallet-chart-bar {
    display: block;
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: #b3843c;
    transition: background 0.15s ease;
}

.wallet-chart-col:hover .wallet-chart-bar {
    background: var(--gold);
}

.wallet-chart-bar.is-zero {
    height: 1px !important;
    border-radius: 0;
    background: var(--line);
}

.wallet-chart-cap {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text);
}

.wallet-chart-cap.is-start {
    left: 0;
    transform: none;
}

.wallet-chart-cap.is-end {
    left: auto;
    right: 0;
    transform: none;
}

.wallet-chart-axis {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.wallet-streamer-form {
    margin-bottom: 20px;
}

.wallet-streamer-form input[name="streamer_coupon"] {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.market-wallet-balance-wrap,
.market-wallet-layout {
    display: grid;
    gap: 14px;
}

.market-wallet-quick-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.market-wallet-balance-wrap {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.market-wallet-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-wallet-purchase {
    grid-column: 1 / -1;
}

.market-wallet-home {
    max-width: 760px;
}

.market-wallet-rate-banner {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 239, 204, 0.06), rgba(255, 255, 255, 0.012)),
        rgba(27, 21, 15, 0.82);
}

.market-wallet-rate-banner span {
    color: #b0bfda;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.market-wallet-rate-banner strong {
    color: #fff0cd;
    font-size: 20px;
    line-height: 1.2;
}

.market-wallet-form {
    display: grid;
    gap: 14px;
}

.market-wallet-field {
    display: grid;
    gap: 8px;
}

.market-wallet-field span {
    color: #e0e8f5;
    font-size: 13px;
    font-weight: 700;
}

.market-wallet-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(90, 139, 224, 0.2);
    border-radius: 16px;
    background: rgba(18, 14, 10, 0.72);
    color: #fbf7ee;
    font: inherit;
}

.market-wallet-field input:focus {
    outline: none;
    border-color: rgba(216, 170, 88, 0.34);
    box-shadow: 0 0 0 2px rgba(216, 170, 88, 0.12);
}

.market-wallet-form-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.market-wallet-meta-card {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(18, 14, 10, 0.72);
}

.market-wallet-meta-card span {
    color: #b0bfda;
    font-size: 12px;
}

.market-wallet-meta-card strong {
    color: #fff0cd;
    font-size: 18px;
    line-height: 1.2;
}

.market-wallet-submit {
    justify-self: start;
    min-width: 220px;
}

.market-wallet-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.market-wallet-balance,
.market-wallet-side-balance,
.market-wallet-package-item,
.market-wallet-quick-card,
.market-wallet-highlight,
.market-wallet-history-item {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(18, 14, 10, 0.72);
}

.market-wallet-balance span,
.market-wallet-side-balance span,
.market-wallet-package-item span,
.market-wallet-quick-card span,
.market-wallet-highlight span,
.market-wallet-history-item span {
    color: #b0bfda;
    font-size: 12px;
}

.market-wallet-balance strong {
    color: #fff0cd;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1;
}

.market-wallet-package-item strong {
    color: #fff0cd;
    font-size: 20px;
    line-height: 1.2;
}

.market-wallet-side-balance strong,
.market-wallet-quick-card strong,
.market-wallet-highlight strong,
.market-wallet-history-item strong,
.market-wallet-history-item em {
    color: #fbf7ee;
    font-size: 16px;
    font-style: normal;
    line-height: 1.3;
}

.market-wallet-package-item em {
    color: #fbf7ee;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
}

.market-wallet-meta,
.market-wallet-highlights,
.market-wallet-history {
    display: grid;
    gap: 10px;
}

.market-wallet-meta {
    display: flex;
    flex-wrap: wrap;
}

.market-wallet-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-wallet-history-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
}

.market-wallet-history-item > div {
    display: grid;
    gap: 4px;
}

.market-character-browser,
.market-sub-browser {
    display: grid;
    gap: 16px;
}

.market-character-stage {
    display: grid;
}

.market-character-trigger.is-active {
    border-color: rgba(216, 170, 88, 0.28);
}

.market-character-detail {
    display: grid;
    gap: 18px;
}

.market-character-browser.is-character-detail .market-class-filter {
    display: none;
}

.market-group-stage,
.market-group-detail {
    display: grid;
    gap: 12px;
    min-height: 0;
}

.market-sub-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.market-rarity-filter,
.market-sort-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.market-filter-chip {
    --chip: 216, 170, 88;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(var(--chip), 0.24);
    border-radius: 9px;
    background: rgba(19, 16, 12, 0.85);
    color: rgba(var(--chip), 0.78);
    font-family: "Cinzel", serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: var(--site-cursor-sell), pointer;
    transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.market-filter-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--chip), 0.55);
    color: rgb(var(--chip));
}

.market-filter-chip.is-active {
    border-color: rgba(var(--chip), 0.85);
    color: rgb(var(--chip));
    box-shadow:
        0 0 12px rgba(var(--chip), 0.3),
        inset 0 0 0 1px rgba(var(--chip), 0.4);
}

.market-item-card.is-rarity-first[data-rarity] {
    box-shadow:
        0 0 0 1px rgba(var(--rarity), 0.6),
        0 0 20px rgba(var(--rarity), 0.3);
}

.market-item-card .market-buy-button.is-gold {
    --buy: 255, 196, 84;
    border-color: rgba(var(--buy), 0.55);
    background: linear-gradient(180deg, rgba(var(--buy), 0.3), rgba(48, 33, 8, 0.96));
    color: #fff3d6;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 6px 16px rgba(var(--buy), 0.16);
}

.market-item-card .market-buy-button.is-gold .market-buy-price,
.market-item-card .market-buy-button.is-gold .market-buy-icon {
    color: #ffe6ac;
}

.market-item-card .market-buy-button.is-gold[data-market-shop-open]:hover,
.market-item-card .market-buy-button.is-gold[data-market-shop-open]:focus-visible {
    border-color: rgba(var(--buy), 1);
    background: linear-gradient(180deg, rgba(var(--buy), 0.45), rgba(60, 42, 10, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 10px 24px rgba(var(--buy), 0.34);
}

.market-shop-overlay {
    align-items: center;
    justify-content: center;
}

.market-shop-box {
    display: grid;
    gap: 10px;
    width: min(420px, 92vw);
    padding: 16px;
    border: 1px solid rgba(216, 170, 88, 0.35);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(30, 24, 18, 0.98), rgba(18, 14, 10, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.market-shop-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.market-shop-head h3 {
    font-size: 15px;
    line-height: 1.2;
}

.market-shop-price {
    flex: 0 0 auto;
    padding: 5px 10px;
    border: 1px solid rgba(255, 196, 84, 0.5);
    border-radius: 999px;
    background: rgba(255, 196, 84, 0.12);
    color: #ffe6ac;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.market-shop-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: 14px;
    background: rgba(16, 12, 8, 0.9);
}

.market-shop-stage img {
    display: block;
    width: 100%;
    height: auto;
}

.market-shop-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    border: 2px solid #fff3d6;
    background: rgba(255, 76, 76, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 76, 76, 0.3);
    animation: market-shop-pin-pulse 1.6s ease-in-out infinite;
}

@keyframes market-shop-pin-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(255, 76, 76, 0.28);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(255, 76, 76, 0.08);
    }
}

.market-shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: rgba(220, 233, 254, 0.7);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.market-shop-meta strong {
    color: #fff0cd;
}

.market-shop-title {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(220, 233, 254, 0.82);
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
}

.market-shop-hint {
    color: rgba(220, 233, 254, 0.6);
    font-size: 11px;
    line-height: 1.35;
}

.market-module-page .market-shop-box {
    width: min(320px, 92vw);
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
}

.market-module-page .market-shop-head h3 {
    font-size: 11px;
}

.market-module-page .market-shop-price,
.market-module-page .market-shop-title {
    font-size: 9px;
}

.market-module-page .market-shop-meta,
.market-module-page .market-shop-hint {
    font-size: 8px;
}

.market-module-page .market-shop-stage {
    width: 200px;
    margin: 0 auto;
}

.market-module-page .market-shop-pin {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
}

.market-rarity-chip[data-rarity="normal"] {
    --chip: 148, 163, 184;
}

.market-rarity-chip[data-rarity="comum"] {
    --chip: 120, 214, 138;
}

.market-rarity-chip[data-rarity="raro"] {
    --chip: 95, 151, 248;
}

.market-rarity-chip[data-rarity="especial"] {
    --chip: 61, 214, 161;
}

.market-rarity-chip[data-rarity="heroico"],
.market-rarity-chip[data-rarity="epico"] {
    --chip: 190, 116, 255;
}

.market-rarity-chip[data-rarity="mitico"] {
    --chip: 255, 106, 106;
}

.market-rarity-chip[data-rarity="lendario"] {
    --chip: 255, 196, 84;
}

.market-sort-filter .market-filter-chip {
    --chip: 127, 172, 250;
}

.market-module-page .market-sub-toolbar {
    gap: 5px;
    margin-bottom: 0;
}

.market-module-page .market-filter-chip {
    height: 22px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 8px;
}

.market-group-card {
    text-align: left;
}

.market-group-count {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 3px 6px;
    border-radius: 7px;
    border: 1px solid rgba(90, 139, 224, 0.55);
    background: linear-gradient(160deg, rgba(27, 51, 93, 0.95), rgba(28, 22, 16, 0.92));
    color: #dce9fe;
    font-size: 11px;
    font-weight: 800;
}

.market-group-offers {
    color: rgba(220, 233, 254, 0.75);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.market-item-card .market-group-price {
    width: 100%;
    min-height: 38px;
    flex-direction: column;
    gap: 1px;
    padding: 4px 8px;
}

.market-group-price-label {
    color: rgba(255, 240, 205, 0.62);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-group-price .market-buy-price {
    color: #fff0cd;
}

.market-group-detail-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.market-group-detail-title {
    flex: 1 1 auto;
    min-width: 0;
}

.market-group-detail-title h3 {
    font-size: 16px;
    line-height: 1.2;
}

.market-group-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid rgba(90, 139, 224, 0.42);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(90, 139, 224, 0.24), rgba(49, 36, 23, 0.82));
    color: #dce9fe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: var(--site-cursor-sell), pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.market-group-back:hover {
    border-color: rgba(90, 139, 224, 0.85);
    background: linear-gradient(180deg, rgba(90, 139, 224, 0.36), rgba(49, 36, 23, 0.9));
    box-shadow: 0 0 18px rgba(90, 139, 224, 0.35);
    transform: translateY(-1px);
}

.market-module-page .market-group-stage,
.market-module-page .market-group-detail {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    gap: 6px;
    overflow: hidden;
}

.market-module-page .market-group-detail-head {
    gap: 6px;
    padding-bottom: 4px;
}

.market-module-page .market-group-detail-title h3 {
    font-size: 11px;
}

.market-module-page .market-group-back {
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 9px;
}

.market-module-page .market-group-count {
    top: 9px;
    left: 9px;
    min-width: 16px;
    padding: 2px 4px;
    font-size: 8px;
}

.market-module-page .market-group-offers {
    font-size: 7px;
}

.market-module-page .market-item-card .market-group-price {
    min-height: 25px;
    padding: 2px 6px;
}

.market-module-page .market-group-price-label {
    font-size: 6px;
}

.market-character-detail-back {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border: 1px solid rgba(90, 139, 224, 0.42);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(90, 139, 224, 0.24), rgba(49, 36, 23, 0.82));
    color: #dce9fe;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 1px rgba(90, 139, 224, 0.12);
    backdrop-filter: blur(4px);
    cursor: var(--site-cursor-sell), pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.market-character-detail-back:hover {
    border-color: rgba(90, 139, 224, 0.85);
    background: linear-gradient(180deg, rgba(90, 139, 224, 0.36), rgba(49, 36, 23, 0.9));
    box-shadow: 0 0 18px rgba(90, 139, 224, 0.35), inset 0 0 0 1px rgba(90, 139, 224, 0.25);
    transform: translateY(-1px);
}

.market-character-detail-grid,
.market-character-detail-columns {
    grid-template-columns: minmax(0, 1.1fr) 320px;
}

.market-character-detail-grid .character-detail-card,
.market-character-detail-grid .character-side-panel,
.market-character-detail-columns .character-detail-panel {
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.1), transparent 28%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(49, 36, 23, 0.98), rgba(24, 18, 12, 0.99));
}

.character-detail-section {
    padding: 12px 0 42px;
}

.character-detail-topbar {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.character-detail-back {
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 700;
}

.character-detail-grid,
.character-detail-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 320px;
    gap: 22px;
}

.character-detail-grid {
    grid-template-columns: minmax(0, 1fr);
}

.character-detail-card,
.character-detail-setup,
.character-side-panel,
.character-detail-panel {
    border: 1px solid rgba(90, 139, 224, 0.24);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.1), transparent 28%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(60, 44, 28, 0.96), rgba(25, 19, 12, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 20px 44px rgba(0, 0, 0, 0.22);
}

.character-detail-card {
    position: relative;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
}

.character-detail-media {
    position: relative;
}

.character-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 20px;
    object-fit: cover;
}

.character-detail-status {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    background: rgba(216, 170, 88, 0.12);
    color: #fff0cd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.character-detail-body {
    display: grid;
    align-content: start;
    gap: 14px;
}

.character-detail-class,
.character-side-kicker {
    margin: 0;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.character-detail-body h1,
.character-detail-panel h2,
.character-detail-setup-head h2 {
    margin: 0;
    color: #fbf7ee;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 0.98;
}

.character-detail-description {
    margin: 0;
    color: #d1dcee;
    font-size: 15px;
    line-height: 1.7;
}

.character-detail-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.character-detail-setup {
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
    margin-top: 2px;
}

.character-detail-setup-head {
    display: grid;
    gap: 6px;
}

.character-detail-setup-head h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.05;
}

.character-mini-card,
.character-side-stat,
.character-equipment-item {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(18, 14, 10, 0.68);
}

.character-mini-card span,
.character-side-stat span,
.character-equipment-item span {
    color: #b0bfda;
    font-size: 12px;
}

.character-mini-card strong,
.character-side-stat strong,
.character-equipment-item strong {
    color: #fbf7ee;
    font-size: 16px;
    line-height: 1.35;
}

.character-detail-side {
    display: grid;
    align-content: start;
}

.character-side-panel,
.character-detail-setup,
.character-detail-panel {
    padding: 18px;
}

.character-side-stats,
.character-equipment-list,
.character-detail-list {
    display: grid;
    gap: 12px;
}

.character-equipment-list-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.character-detail-columns {
    margin-top: 22px;
}

.character-detail-panel h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    margin-bottom: 14px;
}

.character-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.character-detail-list li {
    position: relative;
    padding: 14px 14px 14px 42px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(18, 14, 10, 0.68);
    color: #d1dcee;
    font-size: 14px;
    line-height: 1.65;
}

.character-detail-list li::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 16px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #fff0c7, #d8aa58 58%, #815917 100%);
    box-shadow: 0 0 12px rgba(216, 170, 88, 0.24);
}

.register-hero-section {
    position: relative;
    overflow: hidden;
    padding: 18px 0 38px;
}

.register-hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 24%, rgba(216, 170, 88, 0.14), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(107, 159, 249, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.register-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
    gap: 28px;
    align-items: stretch;
}

.register-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(66vh, 650px);
}

.register-hero-copy h1 {
    max-width: 680px;
    margin: 0 0 16px;
    font-size: clamp(40px, 5.6vw, 68px);
    line-height: 0.95;
    color: #f8f4ea;
}

.register-hero-text {
    max-width: 620px;
    margin: 0 0 22px;
    color: #d6e0f0;
    font-size: 17px;
    line-height: 1.78;
}

.register-feature-list {
    display: grid;
    gap: 14px;
    max-width: 620px;
}

.register-feature-card {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(36, 30, 24, 0.88), rgba(19, 16, 12, 0.95));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 30px rgba(0, 0, 0, 0.16);
}

.register-feature-card p {
    margin: 0;
    color: #e1e8f4;
    font-size: 15px;
    line-height: 1.65;
}

.register-feature-mark {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, #fff1cb, #d8aa58 58%, #7f5816 100%);
    box-shadow:
        0 0 16px rgba(216, 170, 88, 0.26),
        0 0 26px rgba(107, 159, 249, 0.08);
}

.register-mini-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
    max-width: 700px;
}

.register-mini-card {
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(36, 30, 24, 0.9), rgba(19, 16, 12, 0.96)),
        rgba(255, 255, 255, 0.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 32px rgba(0, 0, 0, 0.16);
}

.register-mini-card strong {
    display: block;
    margin-bottom: 8px;
    color: #fff0cd;
    font-size: 16px;
}

.register-mini-card span {
    color: #cbd6ea;
    font-size: 13px;
    line-height: 1.6;
}

.highlight-copy {
    max-width: 620px;
}

.highlight-media {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: calc(var(--radius-lg) + 2px);
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(36, 30, 24, 0.92), rgba(19, 16, 12, 0.98));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stack-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.stack-card {
    padding: 18px 20px;
    border-color: rgba(255, 255, 255, 0.08);
}

.register-form-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(33, 27, 21, 0.94), rgba(17, 14, 10, 0.99));
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.register-form-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 32%),
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.04), transparent 34%);
}

.register-form-shell-head {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    text-align: center;
    align-items: center;
}

.register-form-logo {
    width: min(100%, 230px);
    height: auto;
    margin: 0 auto 14px;
    object-fit: contain;
    filter:
        drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34))
        drop-shadow(0 0 8px rgba(245, 223, 171, 0.16))
        drop-shadow(0 0 16px rgba(216, 170, 88, 0.14))
        drop-shadow(0 0 24px rgba(107, 159, 249, 0.08));
}

.register-kicker {
    margin: 0 0 12px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.register-form-shell-head h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.02;
    color: #fbf6ea;
}

.register-form-shell-head p,
.register-form-note span,
.register-submit-row p {
    margin: 0;
    color: #d4deef;
    font-size: 15px;
    line-height: 1.72;
}

.register-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.register-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field span {
    color: #fff3d2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-field small {
    color: #aeb9d0;
    font-size: 12px;
    line-height: 1.55;
}

.form-field .form-field-error {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid rgba(255, 96, 96, 0.45);
    border-radius: 12px;
    background: rgba(255, 60, 60, 0.12);
    color: #ffd0d0;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
}

.form-field .form-field-error::before {
    content: "⚠";
    color: #ff8a8a;
    font-weight: 800;
}

.form-field.is-invalid > span:first-child {
    color: #ff9d9d;
}

.form-field input.is-invalid,
.form-field input.is-invalid:focus {
    border-color: rgba(255, 86, 86, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 60, 60, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 80, 80, 0.1), rgba(255, 80, 80, 0.02)),
        rgba(16, 13, 9, 0.9);
}

.register-error-list {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0 0 0 18px;
    font-size: 13px;
    line-height: 1.55;
}

.register-error-list strong {
    color: #ffd0d0;
}

.register-form-note-alert {
    border-color: rgba(255, 96, 96, 0.35);
    background: rgba(255, 60, 60, 0.08);
}

.form-field input {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
        rgba(16, 13, 9, 0.9);
    color: var(--text);
    outline: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        transform 180ms ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-field input[type="date"] {
    color-scheme: dark;
}

.form-field input::placeholder {
    color: #8d9ab6;
}

.form-field input:hover {
    border-color: rgba(216, 170, 88, 0.24);
}

.form-field input:focus {
    border-color: rgba(216, 170, 88, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(22, 18, 13, 0.94);
    box-shadow:
        0 0 0 4px rgba(216, 170, 88, 0.08),
        0 18px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px #18130e inset;
    caret-color: var(--text);
    transition: background-color 9999s ease-out 0s;
}

.form-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow:
        0 0 0 1000px #18130e inset,
        0 0 0 4px rgba(216, 170, 88, 0.12);
}

.form-field input:autofill {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px #18130e inset;
}

.register-form-note {
    display: grid;
    gap: 8px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(36, 30, 24, 0.78), rgba(19, 16, 12, 0.88));
}

.register-form-note strong {
    color: #fff0ce;
    font-size: 15px;
}

.register-terms {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.register-terms-head h3 {
    margin: 0 0 8px;
    color: #fbf6ea;
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.15;
}

.register-terms-head p {
    margin: 0;
    color: #d4deef;
    font-size: 14.5px;
    line-height: 1.65;
}

.register-terms-scroll {
    max-height: 320px;
    overflow-y: auto;
    padding: 18px 20px;
    border: 1px solid rgba(216, 170, 88, 0.24);
    border-radius: 8px;
    background: rgba(16, 13, 9, 0.75);
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.72) rgba(28, 21, 14, 0.9);
}

.register-terms-scroll::-webkit-scrollbar {
    width: 10px;
}

.register-terms-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(28, 21, 14, 0.94), rgba(16, 12, 8, 0.98));
}

.register-terms-scroll::-webkit-scrollbar-thumb {
    border: 2px solid rgba(28, 21, 14, 0.95);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 226, 169, 0.96), rgba(216, 170, 88, 0.84));
}

.register-terms-scroll h4 {
    margin: 18px 0 6px;
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 15px;
    letter-spacing: 0.03em;
}

.register-terms-scroll h4:first-child {
    margin-top: 0;
}

.register-terms-scroll p {
    margin: 0;
    color: #c3cde2;
    font-size: 13.5px;
    line-height: 1.65;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(216, 170, 88, 0.24);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.08), rgba(216, 170, 88, 0.02));
    cursor: var(--site-cursor-sell), pointer;
    transition: border-color 180ms ease, background 180ms ease;
}

.terms-check:hover {
    border-color: rgba(216, 170, 88, 0.45);
}

.terms-check input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--gold);
    cursor: var(--site-cursor-sell), pointer;
}

.terms-check span {
    color: #eadfc4;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.button[disabled] {
    opacity: 0.45;
    filter: grayscale(0.5);
    cursor: not-allowed;
    transform: none;
}

.pw-meter {
    display: grid;
    gap: 6px;
    margin-top: 2px;
}

.pw-meter-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.pw-meter-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: #ff6b6b;
    transition: width 220ms ease, background 220ms ease;
}

.pw-meter-label {
    font-size: 12px;
    color: #aeb9d0;
}

.pw-meter.is-weak .pw-meter-bar span {
    background: #ff6b6b;
}

.pw-meter.is-weak .pw-meter-label {
    color: #ff9d9d;
}

.pw-meter.is-fair .pw-meter-bar span {
    background: #e6a54b;
}

.pw-meter.is-fair .pw-meter-label {
    color: #e6b866;
}

.pw-meter.is-good .pw-meter-bar span {
    background: #d8aa58;
}

.pw-meter.is-good .pw-meter-label {
    color: #f5dfab;
}

.pw-meter.is-strong .pw-meter-bar span {
    background: #4fd88a;
}

.pw-meter.is-strong .pw-meter-label {
    color: #7ed99a;
}

.pw-match {
    display: block;
    min-height: 1em;
    font-size: 12px;
    font-weight: 600;
}

.pw-match.is-match {
    color: #7ed99a;
}

.pw-match.is-mismatch {
    color: #ff9d9d;
}

.pw-match.is-checking {
    color: #aeb9d0;
}

.panel-feedback,
.panel-session-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(44, 37, 30, 0.94), rgba(24, 19, 14, 0.98)),
        rgba(255, 255, 255, 0.02);
}

.panel-feedback {
    margin-bottom: 18px;
}

.panel-feedback strong,
.panel-session-card h3 {
    margin: 0;
    color: #fff2d6;
}

.panel-feedback span {
    color: #d8e2f3;
}

.panel-feedback-success {
    border-color: rgba(120, 214, 164, 0.3);
}

.panel-feedback-warning {
    border-color: rgba(216, 170, 88, 0.3);
}

.panel-feedback-error {
    border-color: rgba(255, 107, 107, 0.28);
}

.panel-session-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.panel-session-item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.panel-session-item span {
    color: #9fb0cd;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.panel-session-item strong {
    color: #f7f4ed;
    font-size: 15px;
    word-break: break-word;
}

.register-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.form-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -6px;
}

.form-forgot-link {
    color: #d8aa58;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(216, 170, 88, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.form-forgot-link:hover,
.form-forgot-link:focus-visible {
    color: #f2d79a;
    border-color: rgba(242, 215, 154, 0.7);
}

.register-submit-row p {
    max-width: 320px;
    font-size: 14px;
}

.register-submit-row .button {
    min-width: 190px;
}

.register-support-section {
    padding-top: 18px;
}

.register-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.register-support-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.1), transparent 30%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(36, 30, 24, 0.92), rgba(19, 16, 12, 0.97));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 22px 42px rgba(0, 0, 0, 0.2);
}

.register-support-kicker {
    margin: 0 0 12px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.register-support-card h3 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.1;
    color: #fbf7ee;
}

.register-support-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.register-support-list li {
    position: relative;
    padding: 14px 16px 14px 46px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(17, 14, 10, 0.62);
    color: #d9e1f0;
    font-size: 14px;
    line-height: 1.6;
}

.register-support-list li::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 16px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, #fff0c8, #d8aa58 58%, #815917 100%);
    box-shadow: 0 0 14px rgba(216, 170, 88, 0.24);
}

.news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-card {
    overflow: hidden;
}

.news-card img {
    aspect-ratio: 16 / 10;
    filter: saturate(1.02) contrast(1.03);
}

.news-body {
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.metric-band {
    align-items: stretch;
}

.metric-card p {
    margin-bottom: 0;
}

.roadmap-card ul,
.list-card ul,
.list-card ol,
.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.roadmap-card li,
.list-card li,
.footer-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.roadmap-card li:last-child,
.list-card li:last-child,
.footer-list li:last-child {
    border-bottom: 0;
}

.roadmap-label.is-done {
    color: #7dffae;
}

.roadmap-label.is-progress {
    color: #ffd57b;
}

.roadmap-label.is-next {
    color: #85b0fa;
}

.accent-panel {
    background:
        linear-gradient(140deg, rgba(216, 170, 88, 0.16), rgba(107, 159, 249, 0.08)),
        linear-gradient(180deg, rgba(36, 30, 24, 0.94), rgba(19, 16, 12, 0.97));
}

.callout {
    padding: 38px;
    text-align: center;
    background:
        radial-gradient(circle at top center, rgba(216, 170, 88, 0.18), transparent 32%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(36, 30, 24, 0.95), rgba(19, 16, 12, 0.99));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.callout p {
    max-width: 740px;
    margin-right: auto;
    margin-left: auto;
}

.callout .hero-actions {
    justify-content: center;
    margin-top: 24px;
}

.site-footer {
    padding: 22px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 8, 5, 0.65);
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 28px;
    padding-bottom: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 46px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.footer-brand-copy strong {
    color: #f2e6c8;
    font-family: "Cinzel", serif;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.footer-brand-copy span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
}

.footer-nav a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.footer-nav a:hover {
    color: var(--gold-soft);
}

.footer-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-quick a {
    padding: 7px 14px;
    border: 1px solid rgba(216, 170, 88, 0.3);
    border-radius: 999px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 160ms ease, background 160ms ease;
}

.footer-quick a:hover {
    border-color: rgba(216, 170, 88, 0.6);
    background: rgba(216, 170, 88, 0.1);
}

.footer-kicker {
    margin: 0 0 12px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 13px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .floating-shortcuts {
        right: 16px;
    }

    .floating-shortcut-panel {
        width: 74px;
        min-height: 122px;
        padding: 12px 9px 14px;
    }

    .floating-shortcut-icon-wrap {
        width: 46px;
        height: 46px;
    }

    .floating-shortcut-icon {
        width: 44px;
        height: 44px;
    }

    .floating-shortcut-label strong {
        font-size: 11px;
    }

    .floating-shortcut-label small {
        font-size: 10px;
    }

    .header-inner {
        display: flex;
    }

    .site-nav,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .site-nav.is-open {
        position: absolute;
        top: calc(100% + 10px);
        right: 24px;
        left: 24px;
        display: grid;
        gap: 8px;
        padding: 18px;
        background: rgba(18, 14, 10, 0.96);
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open a {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .hero-grid,
    .split-highlight,
    .split-panels,
    .market-topbar-wrap,
    .market-shell,
    .market-dashboard-grid,
    .market-featured-panel,
    .character-detail-grid,
    .character-detail-columns,
    .register-hero-grid,
    .register-support-grid,
    .page-intro-grid,
    .dual-list-grid,
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-grid-3,
    .table-grid,
    .market-character-grid,
    .market-item-grid,
    .roadmap-grid,
    .metric-band,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-shell {
        padding-top: 96px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-panel {
        max-height: none;
    }

    .hero-panel img {
        max-height: 460px;
    }

    .hero-flip-card-inner {
        min-height: min(72vh, 620px);
    }


    .hero-copy {
        max-width: none;
    }

    .market-topbar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .market-topbar-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-tabbar {
        gap: 6px;
    }

    .market-featured-media img {
        min-height: 240px;
    }

    .market-sidebar {
        padding: 16px;
    }

    .character-detail-card {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .character-detail-media img {
        min-height: 360px;
    }

    .register-mini-band {
        grid-template-columns: 1fr;
    }

    .register-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .register-submit-row .button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    :root {
        --container: min(100vw - 32px, 1000px);
    }

    .floating-shortcuts {
        top: auto;
        right: 14px;
        bottom: 18px;
        transform: none;
    }

    .floating-shortcut:hover,
    .floating-shortcut:focus-visible {
        transform: scale(1.04);
    }

    .floating-shortcut-panel {
        width: 62px;
        min-height: 68px;
        padding: 8px;
        border-radius: 22px;
    }

    .floating-shortcut-label {
        display: none;
    }

    .floating-shortcut-aura {
        inset: -6px;
    }

    .floating-shortcut-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }

    .floating-shortcut-icon {
        width: 42px;
        height: 42px;
        border-radius: 15px;
    }

    .floating-discord-icon svg {
        width: 21px;
        height: 21px;
    }

    .floating-player-icon img {
        width: 24px;
        height: 24px;
    }

    .hero-copy h1,
    .page-intro h1,
    .section-head h2,
    .detail-panel h2,
    .callout h2 {
        font-size: clamp(30px, 9vw, 46px);
    }

    .hero-logo-image {
        width: min(100%, 500px);
    }

    .hero-title-subtitle {
        font-size: clamp(18px, 5vw, 26px);
    }

    .card-grid-3,
    .table-grid,
    .market-character-grid,
    .market-item-grid,
    .roadmap-grid,
    .metric-band,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .feature-card,
    .detail-panel,
    .roadmap-card,
    .list-card,
    .callout {
        padding: 22px;
    }

    .register-form-shell,
    .register-support-card {
        padding: 22px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .market-topbar-benefits {
        grid-template-columns: 1fr;
    }

    .market-featured-head,
    .market-subsection-head,
    .market-featured-footer,
    .market-item-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .market-topbar-copy h2 {
        font-size: clamp(28px, 8vw, 42px);
    }

    .market-tabbar-button {
        width: 100%;
        justify-content: center;
    }

    .character-detail-card {
        grid-template-columns: 1fr;
    }

    .character-detail-media img {
        min-height: 320px;
    }

    .character-detail-mini-grid {
        grid-template-columns: 1fr;
    }

    .character-detail-body h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .market-item-meta {
        grid-template-columns: 1fr;
    }

    .market-shell {
        padding: 14px;
    }

    .register-form-grid {
        grid-template-columns: 1fr;
    }

    .register-hero-copy h1 {
        font-size: clamp(34px, 10vw, 52px);
    }

    .register-hero-text {
        font-size: 15px;
    }

    .hero-flip-back {
        padding: 18px;
    }

    .hero-flip-front-shell {
        padding: 0 12px 12px;
    }

    .hero-flip-front .hero-panel-copy {
        padding: 14px 14px 16px;
    }

    .hero-flip-card-inner {
        min-height: 560px;
    }

    .hero-panel-list li {
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* Ajuste final travado para o modulo do mercado no game */
.market-module-page .market-shell {
    grid-template-columns: 94px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 6px !important;
}

.market-module-page .market-character-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px !important;
    grid-auto-rows: min-content !important;
    align-content: start !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
}

.market-module-page .market-character-card {
    border-radius: 20px;
    height: 100% !important;
}

.market-module-page .market-character-card .market-card-media {
    padding: 8px 8px 0 !important;
}

.market-module-page .market-character-card .market-card-media img {
    aspect-ratio: 4 / 2.9 !important;
    min-height: 76px;
    max-height: 76px;
    object-fit: cover;
}

.market-module-page .market-character-card .market-card-body {
    gap: 5px !important;
    padding: 7px !important;
}

.market-module-page .market-character-card .market-card-kicker {
    font-size: 8px !important;
}

.market-module-page .market-character-card h3 {
    font-size: 12px !important;
    line-height: 1.12 !important;
}

.market-module-page .market-character-card .market-character-meta {
    gap: 5px !important;
}

.market-module-page .market-character-card .market-character-meta span {
    padding: 5px 6px !important;
    font-size: 8px !important;
}

.market-module-page .market-character-card .market-item-footer {
    gap: 5px !important;
}

.market-module-page .market-character-card .market-price {
    font-size: 12px !important;
}

.market-module-page .market-character-card .market-item-badge,
.market-module-page .market-character-card .market-card-status {
    font-size: 7px !important;
}

.market-module-page .market-character-detail {
    gap: 10px !important;
}

.market-module-page .market-character-detail-topbar {
    gap: 8px !important;
}

.market-module-page .market-character-detail-back {
    font-size: 11px !important;
}

.market-module-page .market-character-detail-grid,
.market-module-page .market-character-detail-columns,
.market-module-page .character-detail-grid,
.market-module-page .character-detail-columns {
    gap: 10px !important;
    grid-template-columns: minmax(0, 1fr) 220px !important;
}

.market-module-page .character-detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
}

.market-module-page .character-detail-card,
.market-module-page .character-side-panel,
.market-module-page .character-detail-setup,
.market-module-page .character-detail-panel {
    border-radius: 18px !important;
}

.market-module-page .character-detail-card {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
}

.market-module-page .character-detail-media img {
    min-height: 260px !important;
    max-height: 260px !important;
    border-radius: 14px !important;
}

.market-module-page .character-detail-status {
    top: 10px !important;
    right: 10px !important;
    padding: 6px 10px !important;
    font-size: 9px !important;
}

.market-module-page .character-detail-body {
    gap: 10px !important;
}

.market-module-page .character-detail-class,
.market-module-page .character-side-kicker {
    font-size: 10px !important;
}

.market-module-page .character-detail-body h1 {
    font-size: 28px !important;
    line-height: 1 !important;
}

.market-module-page .character-detail-panel h2,
.market-module-page .character-detail-setup-head h2 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
}

.market-module-page .character-detail-description {
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.market-module-page .character-detail-mini-grid {
    gap: 8px !important;
}

.market-module-page .character-detail-setup {
    gap: 8px !important;
    grid-column: 1 / -1 !important;
    padding: 10px !important;
}

.market-module-page .character-detail-setup-head {
    gap: 3px !important;
}

.market-module-page .character-mini-card,
.market-module-page .character-side-stat,
.market-module-page .character-equipment-item {
    gap: 4px !important;
    padding: 10px !important;
    border-radius: 14px !important;
}

.market-module-page .character-mini-card span,
.market-module-page .character-side-stat span,
.market-module-page .character-equipment-item span {
    font-size: 10px !important;
}

.market-module-page .character-mini-card strong,
.market-module-page .character-side-stat strong,
.market-module-page .character-equipment-item strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

.market-module-page .character-side-panel,
.market-module-page .character-detail-setup,
.market-module-page .character-detail-panel {
    padding: 10px !important;
}

.market-module-page .character-side-stats,
.market-module-page .character-equipment-list,
.market-module-page .character-detail-list {
    gap: 8px !important;
}

.market-module-page .character-equipment-list-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
}

.market-module-page .character-equipment-item {
    min-height: 0 !important;
}

.market-module-page .character-detail-columns {
    margin-top: 10px !important;
}

/* ============================================================
   Infinity Wallet — carteira crypto
   ============================================================ */

.wallet-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.wallet-flash {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    font-size: 0.92rem;
    font-weight: 600;
}

.wallet-flash-success {
    border-color: rgba(126, 217, 154, 0.45);
    background: rgba(35, 84, 56, 0.35);
    color: #9fe7b6;
}

.wallet-flash-error {
    border-color: rgba(255, 128, 128, 0.4);
    background: rgba(96, 34, 38, 0.35);
    color: #ffb3b3;
}

/* --- Conectar carteira --- */

.wallet-connect-card {
    position: relative;
    overflow: hidden;
    padding: 34px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(107, 159, 249, 0.14), transparent 55%),
        radial-gradient(circle at bottom left, rgba(216, 170, 88, 0.12), transparent 55%),
        var(--panel-strong);
    text-align: center;
}

.wallet-connect-coin {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, #8a6a2f 100%);
    box-shadow: 0 0 0 6px rgba(216, 170, 88, 0.15), 0 12px 30px rgba(216, 170, 88, 0.25);
}

.wallet-coin-mark {
    font-family: "Cinzel", serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #171006;
    letter-spacing: 0.04em;
}

.wallet-connect-card h4 {
    margin: 6px 0 8px;
    font-family: "Cinzel", serif;
    font-size: 1.35rem;
}

.wallet-connect-copy {
    margin: 0 auto 20px;
    max-width: 440px;
    color: var(--muted);
    font-size: 0.95rem;
}

.wallet-connect-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    margin: 0 auto;
    text-align: left;
}

.wallet-connect-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.wallet-connect-meta span {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

/* --- Campos e botoes --- */

.wallet-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wallet-field span {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.wallet-field input {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.75);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wallet-field input:focus {
    border-color: rgba(107, 159, 249, 0.6);
    box-shadow: 0 0 0 3px rgba(107, 159, 249, 0.15);
}

.wallet-primary-button {
    padding: 13px 22px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold) 0%, #b0813a 100%);
    color: #171006;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    cursor: var(--site-cursor-sell), pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wallet-primary-button:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 26px rgba(216, 170, 88, 0.3);
    transform: translateY(-1px);
}

.wallet-primary-button:disabled {
    opacity: 0.45;
    filter: grayscale(0.5);
    box-shadow: none;
    transform: none;
    cursor: var(--site-cursor), not-allowed;
}

.wallet-secondary-button {
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(107, 159, 249, 0.45);
    background: rgba(107, 159, 249, 0.1);
    color: var(--blue);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: var(--site-cursor-sell), pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.wallet-secondary-button:hover {
    background: rgba(107, 159, 249, 0.2);
    transform: translateY(-1px);
}

.wallet-ghost-button {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: var(--site-cursor-sell), pointer;
    transition: background 0.2s ease;
}

.wallet-ghost-button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.wallet-link-button {
    border: none;
    background: none;
    padding: 0;
    color: var(--blue);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: var(--site-cursor-sell), pointer;
}

.wallet-link-button:hover {
    text-decoration: underline;
}

/* --- Hero de saldo --- */

.wallet-hero {
    position: relative;
    overflow: hidden;
    padding: 24px 26px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(216, 170, 88, 0.35);
    background:
        radial-gradient(circle at 85% 15%, rgba(107, 159, 249, 0.18), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(216, 170, 88, 0.2), transparent 55%),
        linear-gradient(150deg, #221c16 0%, #18130e 60%, #131120 100%);
    box-shadow: var(--shadow);
}

.wallet-hero::after {
    content: "IC";
    position: absolute;
    right: -18px;
    bottom: -36px;
    font-family: "Cinzel", serif;
    font-size: 9rem;
    font-weight: 800;
    color: rgba(216, 170, 88, 0.07);
    pointer-events: none;
}

.wallet-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.wallet-hero-balances {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.wallet-hero-balance {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wallet-hero-cash {
    text-align: right;
}

.wallet-hero-cash .wallet-hero-amount {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.wallet-hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.wallet-hero-amount {
    font-family: "Cinzel", serif;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--gold-soft);
    line-height: 1.15;
}

.wallet-hero-fiat {
    color: var(--muted);
    font-size: 0.95rem;
}

.wallet-owner {
    color: var(--muted);
    font-size: 0.82rem;
}

/* --- Navegacao interna --- */

.wallet-nav {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.55);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}

.wallet-nav-button {
    padding: 9px 20px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: var(--site-cursor-sell), pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.wallet-nav-button:hover {
    color: var(--text);
}

.wallet-nav-button.is-active {
    background: linear-gradient(135deg, rgba(216, 170, 88, 0.9) 0%, rgba(176, 129, 58, 0.9) 100%);
    color: #171006;
}

.wallet-page {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.wallet-page.is-active {
    display: flex;
}

.wallet-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

@media (min-width: 1200px) {
    .wallet-page-split.is-active {
        flex-direction: row;
        align-items: flex-start;
    }

    .wallet-page-split > .wallet-col {
        flex: 1 1 0;
    }
}

/* --- Cards e paineis --- */

.wallet-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.wallet-stat-card {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--panel);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wallet-stat-card span {
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.wallet-stat-card strong {
    font-size: 1.02rem;
    color: var(--gold-soft);
}

.wallet-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wallet-panel {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--panel-strong);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wallet-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wallet-panel-head h5 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 1.02rem;
    color: var(--text);
}

.wallet-rate-chip {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(216, 170, 88, 0.4);
    background: rgba(216, 170, 88, 0.12);
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

/* --- Compra e trade --- */

.wallet-buy-form,
.wallet-trade-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wallet-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wallet-chip {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: var(--site-cursor-sell), pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.wallet-chip:hover {
    border-color: rgba(216, 170, 88, 0.55);
    background: rgba(216, 170, 88, 0.12);
}

.wallet-swap-arrow {
    align-self: center;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.7);
    color: var(--blue);
    font-size: 1rem;
    margin: -4px 0;
}

.wallet-receive-box {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(107, 159, 249, 0.35);
    background: rgba(107, 159, 249, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wallet-receive-box span {
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.wallet-receive-box strong {
    font-family: "Cinzel", serif;
    font-size: 1.35rem;
    color: var(--blue);
}

.wallet-receive-bonus {
    color: #4fd8c4;
    font-size: 0.76rem;
    font-weight: 600;
}

.wallet-buy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted);
    font-size: 0.8rem;
}

/* --- Transacoes --- */

.wallet-tx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.wallet-tx-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-tx-item:last-child {
    border-bottom: none;
}

.wallet-pager {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.wallet-pager-numbers {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wallet-pager-button,
.wallet-pager-arrow {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.55);
    color: var(--muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: var(--site-cursor-sell), pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wallet-pager-button:hover:not(.is-active),
.wallet-pager-arrow:hover:not(:disabled) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.wallet-pager-button.is-active {
    color: #171006;
    border-color: transparent;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.wallet-pager-arrow:disabled {
    opacity: 0.35;
    cursor: var(--site-cursor), not-allowed;
}

.wallet-pager-status {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.8rem;
}

.market-module-page .wallet-pager-button,
.market-module-page .wallet-pager-arrow {
    min-width: 24px;
    height: 24px;
    font-size: 0.72rem;
}

.market-module-page .wallet-pager-status {
    font-size: 0.68rem;
}

.wallet-tx-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
}

.wallet-tx-icon-in {
    border: 1px solid rgba(126, 217, 154, 0.4);
    background: rgba(35, 84, 56, 0.3);
    color: #7ed99a;
}

.wallet-tx-icon-out {
    border: 1px solid rgba(255, 141, 141, 0.35);
    background: rgba(96, 34, 38, 0.3);
    color: #ff9d9d;
}

.wallet-tx-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wallet-tx-info strong {
    font-size: 0.92rem;
    color: var(--text);
}

.wallet-tx-info span {
    font-size: 0.78rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wallet-tx-side {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.wallet-tx-value {
    margin-left: auto;
    font-style: normal;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
}

.wallet-tx-side .wallet-tx-value {
    margin-left: 0;
}

.wallet-tx-value-in {
    color: #7ed99a;
}

.wallet-tx-value-out {
    color: #ff9d9d;
}

.wallet-tx-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--muted);
}

.wallet-tx-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
}

.wallet-tx-status-wait {
    color: #f0c064;
    border-color: rgba(240, 192, 100, 0.38);
    background: rgba(240, 192, 100, 0.1);
}

.wallet-tx-status-wait::before {
    animation: wallet-status-pulse 1.8s ease-out infinite;
}

.wallet-tx-status-paid {
    color: #6fe0a0;
    border-color: rgba(111, 224, 160, 0.42);
    background: rgba(111, 224, 160, 0.13);
    box-shadow: 0 0 14px rgba(111, 224, 160, 0.16);
}

.wallet-tx-status-paid::before {
    content: "\2713";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.wallet-tx-status-ok {
    color: #9fb0c8;
    border-color: rgba(159, 176, 200, 0.24);
    background: rgba(159, 176, 200, 0.08);
}

@keyframes wallet-status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 192, 100, 0.55);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(240, 192, 100, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(240, 192, 100, 0);
    }
}

.wallet-rate-chip-wait {
    border-color: rgba(240, 192, 100, 0.4);
    background: rgba(240, 192, 100, 0.12);
    color: #f0c064;
}

.wallet-empty {
    margin: 0;
    padding: 18px 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.wallet-pix-note {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(50, 188, 173, 0.35);
    background: rgba(50, 188, 173, 0.08);
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.wallet-pix-badge {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(50, 188, 173, 0.5);
    background: rgba(50, 188, 173, 0.16);
    color: #4fd8c4;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
}

.wallet-hero .wallet-pix-note {
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

/* --- Compacto para o modulo dentro do jogo (800x600) --- */

.market-module-page .wallet-shell {
    gap: 10px;
    max-width: none;
}

.market-module-page .wallet-hero {
    padding: 12px 14px;
}

.market-module-page .wallet-hero::after {
    font-size: 5.5rem;
    right: -10px;
    bottom: -20px;
}

.market-module-page .wallet-hero-top {
    margin-bottom: 8px;
}

.market-module-page .wallet-hero-label {
    font-size: 0.68rem;
}

.market-module-page .wallet-hero-amount {
    font-size: 1.4rem;
}

.market-module-page .wallet-hero-fiat {
    font-size: 0.78rem;
}

.market-module-page .wallet-hero-balances {
    margin-bottom: 8px;
    gap: 12px;
}

.market-module-page .wallet-hero-cash .wallet-hero-amount {
    font-size: 1.1rem;
}

.market-module-page .wallet-ghost-button {
    padding: 4px 11px;
    font-size: 0.74rem;
}

.market-module-page .wallet-connect-card {
    padding: 22px 18px;
}

.market-module-page .wallet-page {
    gap: 10px;
}

.market-module-page .wallet-panel {
    padding: 11px 13px;
    gap: 9px;
}

.market-module-page .wallet-panel-head h5 {
    font-size: 0.88rem;
}

.market-module-page .wallet-rate-chip {
    padding: 3px 9px;
    font-size: 0.7rem;
}

.market-module-page .wallet-nav {
    padding: 4px;
}

.market-module-page .wallet-nav-button {
    padding: 6px 12px;
    font-size: 0.76rem;
}

.market-module-page .wallet-stat-grid {
    gap: 7px;
}

.market-module-page .wallet-stat-card {
    padding: 8px 10px;
    gap: 2px;
}

.market-module-page .wallet-stat-card span {
    font-size: 0.64rem;
}

.market-module-page .wallet-stat-card strong {
    font-size: 0.84rem;
}

.market-module-page .wallet-quick-actions {
    gap: 8px;
}

.market-module-page .wallet-primary-button,
.market-module-page .wallet-secondary-button {
    padding: 9px 16px;
    font-size: 0.82rem;
}

.market-module-page .wallet-tx-item {
    padding: 8px 2px;
    gap: 9px;
}

.market-module-page .wallet-tx-icon {
    width: 26px;
    height: 26px;
}

.market-module-page .wallet-tx-info strong {
    font-size: 0.8rem;
}

.market-module-page .wallet-tx-info span {
    font-size: 0.7rem;
}

.market-module-page .wallet-tx-value {
    font-size: 0.78rem;
}

.market-module-page .wallet-receive-bonus {
    font-size: 0.66rem;
}

.market-module-page .wallet-pix-note {
    padding: 6px 10px;
    font-size: 0.72rem;
    gap: 8px;
}

.market-module-page .wallet-pix-note .wallet-pix-badge {
    padding: 2px 8px;
    font-size: 0.62rem;
}

.market-module-page .wallet-hero .wallet-pix-note {
    margin-top: 10px;
}

.market-module-page .wallet-owner {
    font-size: 0.72rem;
}

.market-module-page .wallet-shell {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.72) rgba(28, 21, 14, 0.92);
}

.market-module-page .wallet-shell > * {
    flex-shrink: 0;
}

.market-module-page .wallet-shell::-webkit-scrollbar {
    width: 10px;
}

.market-module-page .wallet-shell::-webkit-scrollbar-track {
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(28, 21, 14, 0.94), rgba(16, 12, 8, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(90, 139, 224, 0.14),
        inset 0 2px 6px rgba(0, 0, 0, 0.28);
}

.market-module-page .wallet-shell::-webkit-scrollbar-thumb {
    border: 2px solid rgba(28, 21, 14, 0.95);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 226, 169, 0.96), rgba(216, 170, 88, 0.84));
    box-shadow:
        0 0 14px rgba(216, 170, 88, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.market-module-page .wallet-shell::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(255, 236, 192, 0.98), rgba(228, 183, 95, 0.92));
}

@media (max-width: 640px) {
    .wallet-stat-grid {
        grid-template-columns: 1fr;
    }

    .wallet-owner {
        margin-left: 0;
    }
}

/* ============================================================
   Tela de entrada do modulo (login dentro do jogo)
   ============================================================ */

.market-gate {
    position: relative;
    width: min(430px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 30px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(216, 170, 88, 0.35);
    background:
        radial-gradient(circle at 85% 10%, rgba(107, 159, 249, 0.15), transparent 55%),
        radial-gradient(circle at 10% 95%, rgba(216, 170, 88, 0.16), transparent 55%),
        var(--panel-strong);
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.market-gate-close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.market-gate-logo {
    width: 130px;
    margin: 0 auto 4px;
    display: block;
}

.market-gate h2 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 1.3rem;
    color: var(--text);
}

.market-gate-copy {
    margin: 0 auto 10px;
    max-width: 340px;
    color: var(--muted);
    font-size: 0.9rem;
}

.market-gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.market-gate .wallet-connect-meta {
    margin-top: 14px;
}

.market-module-page .market-gate {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
}

.market-module-page .market-gate-logo {
    width: 104px;
}

.market-module-page .market-gate {
    padding: 22px 22px;
}

.market-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 8, 5, 0.72);
    backdrop-filter: blur(4px);
}

.market-confirm-box {
    width: min(430px, 100%);
    padding: 26px 26px 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(216, 170, 88, 0.45);
    background:
        radial-gradient(circle at 85% 10%, rgba(107, 159, 249, 0.14), transparent 55%),
        radial-gradient(circle at 10% 95%, rgba(216, 170, 88, 0.15), transparent 55%),
        var(--panel-strong);
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.market-confirm-box.is-success {
    border-color: rgba(126, 217, 154, 0.55);
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 216, 138, 0.16), transparent 60%),
        var(--panel-strong);
}

.market-confirm-box.is-success h4 {
    color: #7ed99a;
}

.market-confirm-box h4 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 1.15rem;
    color: var(--gold-soft);
}

.market-confirm-text {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

.market-confirm-meta {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.6);
    color: var(--muted);
    font-size: 0.82rem;
}

.market-confirm-meta.is-insufficient {
    border-color: rgba(255, 128, 128, 0.4);
    background: rgba(96, 34, 38, 0.35);
    color: #ffb3b3;
}

.market-confirm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    text-align: left;
}

.market-confirm-field span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.market-confirm-field input {
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.7);
    color: var(--text);
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    outline: none;
}

.market-confirm-field input:focus {
    border-color: rgba(216, 170, 88, 0.5);
}

.market-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.market-confirm-actions .wallet-primary-button,
.market-confirm-actions .wallet-secondary-button {
    flex: 1;
    max-width: 190px;
}

.market-module-page .market-confirm-box {
    padding: 20px 18px 16px;
}

.pix-box {
    width: min(380px, 100%);
    gap: 8px;
}

.pix-qr-frame {
    position: relative;
    align-self: center;
    width: 216px;
    height: 216px;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(216, 170, 88, 0.35);
    background: #ffffff;
}

.pix-qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pix-qr-done {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(9, 16, 12, 0.92);
    color: #7ed99a;
    font-size: 76px;
    line-height: 1;
}

.pix-copy-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.pix-copy-row input {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.6);
    color: var(--muted);
    font-size: 0.78rem;
    font-family: Consolas, "Courier New", monospace;
    text-overflow: ellipsis;
}

.pix-copy-button {
    flex: 0 0 auto;
    min-width: 92px;
}

.pix-status {
    margin: 6px 0 0;
    color: var(--gold-soft);
    font-size: 0.88rem;
    font-weight: 600;
}

.pix-status.is-paid {
    color: #7ed99a;
}

.pix-status.is-error {
    color: #ffb3b3;
}

.pix-status.is-waiting::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--gold-soft);
    animation: pix-pulse 1.4s ease-in-out infinite;
}

@keyframes pix-pulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}

.pix-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .pix-qr-frame {
        width: 190px;
        height: 190px;
    }
}

.market-store-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.market-store-description {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: help;
}

.market-store-card .market-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.market-store-card .market-item-meta {
    margin-top: auto;
}

.market-kit-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.market-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.market-kit-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(216, 170, 88, 0.4);
    background:
        radial-gradient(130% 120% at 88% 0%, rgba(216, 170, 88, 0.16) 0%, transparent 55%),
        var(--panel-strong);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.market-kit-art {
    position: absolute;
    right: -14px;
    bottom: 0;
    height: 116%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0.26;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(-6px 4px 10px rgba(0, 0, 0, 0.45));
    -webkit-mask-image: linear-gradient(to left, #000000 45%, transparent 82%);
    mask-image: linear-gradient(to left, #000000 45%, transparent 82%);
}

.market-kit-card > .market-kit-head,
.market-kit-card > .market-kit-desc,
.market-kit-card > .market-kit-items,
.market-kit-card > .market-kit-foot {
    position: relative;
    z-index: 1;
}

.market-kit-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.market-kit-headline {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.market-kit-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.market-kit-head h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1;
    color: var(--text);
}

.market-kit-duration {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--gold-soft);
    background: rgba(216, 170, 88, 0.14);
    border: 1px solid rgba(216, 170, 88, 0.4);
    border-radius: 999px;
    padding: 3px 12px;
}

.market-kit-badge {
    flex: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #201502;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-radius: 999px;
    padding: 6px 13px;
}

.market-kit-desc {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
}

.market-kit-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.market-kit-item {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(19, 16, 12, 0.85);
    border: 1px solid var(--line);
}

.market-kit-item img {
    max-width: 74%;
    max-height: 74%;
    image-rendering: pixelated;
}

.market-kit-qty {
    position: absolute;
    right: -5px;
    bottom: -5px;
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
    color: #201502;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-radius: 999px;
    padding: 1px 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.market-kit-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 4px;
}

.market-kit-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.market-kit-price strong {
    font-size: 22px;
    color: var(--text);
}

.market-kit-price span {
    font-size: 13px;
    font-weight: 700;
    color: rgba(167, 178, 203, 0.9);
}

.market-kit-button {
    width: auto;
    padding: 10px 20px;
}

.market-kit-form {
    margin: 0;
}

.market-kit-card.is-sold-out {
    opacity: 0.55;
}

.market-kit-card.is-sold-out .market-kit-button {
    cursor: not-allowed;
    filter: grayscale(0.6);
}

.market-store-placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 70% 20%, rgba(107, 159, 249, 0.18), transparent 55%),
        radial-gradient(circle at 20% 85%, rgba(216, 170, 88, 0.2), transparent 55%),
        linear-gradient(150deg, #272019 0%, #18130e 100%);
}

.market-store-placeholder span {
    font-family: "Cinzel", serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(216, 170, 88, 0.55);
}

.market-store-card.is-sold-out {
    opacity: 0.55;
}

.market-store-card.is-sold-out .market-action-button {
    cursor: not-allowed;
    filter: grayscale(0.6);
}

.market-store-card .market-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    margin: 10px 10px 0;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(216, 170, 88, 0.3);
    background: #000000;
    overflow: hidden;
}

.market-store-card .market-card-media img {
    width: auto !important;
    height: auto !important;
    max-width: 56% !important;
    max-height: 56% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    image-rendering: pixelated;
    border-radius: 0;
}

.market-store-card .market-store-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: transparent;
}

.market-cashstore-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.market-cashstore-nav-inline {
    flex: 1;
    justify-content: center;
    margin-bottom: 0;
}

.market-cashstore-tab {
    appearance: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #ced8e9;
    font-size: 13px;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.market-cashstore-tab:hover {
    background: rgba(255, 255, 255, 0.07);
}

.market-cashstore-tab.is-active {
    color: #1a1205;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-color: transparent;
}

.market-mercado-stage {
    display: flex;
    flex-direction: column;
}

.market-mercado-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.market-mercado-nav-inline {
    flex: 1;
    justify-content: center;
    margin-bottom: 0;
}

.market-mercado-tab {
    appearance: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #ced8e9;
    font-size: 13px;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.market-mercado-tab:hover {
    background: rgba(255, 255, 255, 0.07);
}

.market-mercado-tab.is-active {
    color: #1a1205;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-color: transparent;
}

.market-mercado-panel {
    display: flex;
    flex-direction: column;
}

.market-mercado-panel[hidden] {
    display: none;
}

.market-module-page .market-mercado-stage,
.market-module-page .market-mercado-panel {
    flex: 1;
    min-height: 0;
}

.market-cashstore-panel,
.market-infinity-panel {
    max-height: 62vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.45) transparent;
}

.market-cashstore-panel::-webkit-scrollbar,
.market-infinity-panel::-webkit-scrollbar {
    width: 8px;
}

.market-cashstore-panel::-webkit-scrollbar-thumb,
.market-infinity-panel::-webkit-scrollbar-thumb {
    background: rgba(216, 170, 88, 0.4);
    border-radius: 999px;
}

.market-cashstore-panel::-webkit-scrollbar-track,
.market-infinity-panel::-webkit-scrollbar-track {
    background: transparent;
}

.market-cashstore-panel[hidden] {
    display: none;
}

.market-vip-wrap {
    display: grid;
    gap: 16px;
}

.market-vip-card {
    --vip-surface:
        radial-gradient(120% 140% at 82% 12%, rgba(255, 255, 255, 0.35) 0%, transparent 42%),
        linear-gradient(150deg, #f7e2ad 0%, #e4bd6e 38%, #c69339 70%, #9c6e1c 100%);
    --vip-edge: rgba(216, 170, 88, 0.65);
    --vip-ink: #241804;
    --vip-ink-strong: #201502;
    --vip-ink-soft: rgba(58, 39, 7, 0.74);
    --vip-ink-dim: rgba(58, 39, 7, 0.62);
    --vip-ink-body: rgba(36, 24, 4, 0.84);
    --vip-mark: rgba(58, 39, 7, 0.14);
    --vip-chip-ink: var(--gold-soft);
    --vip-tone: var(--gold);
    --vip-tone-soft: var(--gold-soft);
    --vip-tone-bg: rgba(216, 170, 88, 0.14);
    --vip-tone-edge: rgba(216, 170, 88, 0.35);
}

.market-vip-card-novel {
    --vip-surface:
        radial-gradient(120% 140% at 82% 12%, rgba(255, 255, 255, 0.42) 0%, transparent 42%),
        linear-gradient(150deg, #e8edf7 0%, #c7d3e4 38%, #9aa9bf 70%, #6b7a8f 100%);
    --vip-edge: rgba(188, 202, 227, 0.7);
    --vip-ink: #28221c;
    --vip-ink-strong: #201b15;
    --vip-ink-soft: rgba(41, 34, 27, 0.74);
    --vip-ink-dim: rgba(41, 34, 27, 0.6);
    --vip-ink-body: rgba(38, 31, 24, 0.84);
    --vip-mark: rgba(41, 34, 27, 0.12);
    --vip-chip-ink: #dce5f4;
    --vip-tone: #a1b3d2;
    --vip-tone-soft: #c7d4e9;
    --vip-tone-bg: rgba(161, 179, 210, 0.14);
    --vip-tone-edge: rgba(161, 179, 210, 0.35);
}

.market-vip-card-pass {
    --vip-surface:
        radial-gradient(120% 140% at 82% 12%, rgba(255, 255, 255, 0.32) 0%, transparent 42%),
        linear-gradient(150deg, #f0dcff 0%, #cca4f0 38%, #9a5fd0 70%, #62318e 100%);
    --vip-edge: rgba(186, 140, 232, 0.7);
    --vip-ink: #24103a;
    --vip-ink-strong: #1c0b2e;
    --vip-ink-soft: rgba(40, 16, 64, 0.74);
    --vip-ink-dim: rgba(40, 16, 64, 0.6);
    --vip-ink-body: rgba(38, 15, 60, 0.84);
    --vip-mark: rgba(40, 16, 64, 0.13);
    --vip-chip-ink: #e6d4ff;
    --vip-tone: #b98cf0;
    --vip-tone-soft: #d9bdff;
    --vip-tone-bg: rgba(185, 140, 240, 0.14);
    --vip-tone-edge: rgba(185, 140, 240, 0.35);
}

.market-vip-card {
    position: relative;
    display: flex;
    min-height: 250px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--vip-edge);
    background: var(--vip-surface);
    color: var(--vip-ink);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.market-vip-ticket-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.42) 47%, transparent 60%);
    pointer-events: none;
}

.market-vip-card-mark {
    position: absolute;
    right: 18px;
    bottom: -14px;
    font-family: "Cinzel", serif;
    font-weight: 800;
    font-size: 108px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--vip-mark);
    pointer-events: none;
    user-select: none;
}

.market-vip-card-art {
    position: absolute;
    right: -6px;
    bottom: 0;
    height: 108%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(-8px 6px 14px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to left, #000000 62%, transparent 96%);
    mask-image: linear-gradient(to left, #000000 62%, transparent 96%);
}

.market-vip-card-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
    padding: 24px 26px;
    max-width: 68%;
}

.market-vip-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.market-vip-ticket-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--vip-ink-soft);
}

.market-vip-card-chip {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vip-chip-ink);
    background: var(--vip-ink);
    border-radius: 999px;
    padding: 4px 12px;
}

.market-vip-card-holder {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.market-vip-card-holder span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vip-ink-dim);
}

.market-vip-card-holder strong {
    font-family: "Cinzel", serif;
    font-size: 27px;
    line-height: 1.05;
    color: var(--vip-ink-strong);
    word-break: break-word;
}

.market-vip-card-intro {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--vip-ink-body);
}

.market-vip-card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.market-vip-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.market-vip-price strong {
    font-size: 25px;
    color: var(--vip-ink-strong);
    white-space: nowrap;
}

.market-vip-price span {
    font-size: 13px;
    font-weight: 700;
    color: var(--vip-ink-soft);
    white-space: nowrap;
}

.market-vip-button {
    flex: none;
    white-space: nowrap;
    background: var(--vip-ink);
    color: var(--vip-chip-ink);
    border: none;
    width: auto;
    padding: 11px 22px;
    font-weight: 700;
}

.market-vip-button:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.market-listings-stage {
    display: flex;
    flex-direction: column;
    height: min(640px, 72vh);
}

.market-listings-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.market-listings-head span:nth-child(2),
.market-listings-row .market-listings-price {
    justify-content: center;
    text-align: center;
}

.market-listings-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.55) rgba(255, 255, 255, 0.04);
}

.market-module-page .market-listings-stage {
    flex: 1;
    min-height: 0;
    height: auto;
}

.market-module-page .market-listings-list {
    flex: 1;
    min-height: 0;
    max-height: none;
}

.market-listings-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.market-listings-tab {
    appearance: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #ced8e9;
    font-size: 13px;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.market-listings-tab:hover {
    background: rgba(255, 255, 255, 0.07);
}

.market-listings-tab.is-active {
    color: #1a1205;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-color: transparent;
}

.market-listings-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.market-listings-view[hidden] {
    display: none;
}

.market-module-page .market-listings-view {
    flex: 1;
    min-height: 0;
}

.market-listings-price.is-earned strong {
    color: #7fe0a6;
}

.market-listings-dash {
    color: var(--muted, #9aa0aa);
    font-weight: 700;
}

.market-listings-result {
    font-weight: 800;
    font-size: 12px;
}

.market-listings-result.is-sold {
    color: #7fe0a6;
}

.market-listings-result.is-back {
    color: var(--gold-soft);
}

.market-listings-earned-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.market-listings-earned-grid:empty {
    display: none;
}

.market-listings-earned-grid .market-listings-earned {
    margin-bottom: 12px;
}

.market-listings-earned {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 14px;
    border: 1px solid rgba(216, 170, 88, 0.3);
    background:
        radial-gradient(circle at 12% 20%, rgba(216, 170, 88, 0.16), transparent 60%),
        linear-gradient(150deg, rgba(216, 170, 88, 0.1), rgba(255, 255, 255, 0.02));
}

.market-listings-earned-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(216, 170, 88, 0.16);
    border: 1px solid rgba(216, 170, 88, 0.35);
    font-size: 1.4rem;
}

.market-listings-earned-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.market-listings-earned-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted, #9aa0aa);
}

.market-listings-earned-value {
    font-size: 22px;
    color: var(--gold-soft);
}

.market-listings-earned-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted, #9aa0aa);
}

.market-listings-earned.is-potential {
    border-color: rgba(107, 159, 249, 0.28);
    background:
        radial-gradient(circle at 12% 20%, rgba(107, 159, 249, 0.14), transparent 60%),
        linear-gradient(150deg, rgba(107, 159, 249, 0.08), rgba(255, 255, 255, 0.02));
}

.market-listings-earned.is-potential .market-listings-earned-icon {
    background: rgba(107, 159, 249, 0.14);
    border-color: rgba(107, 159, 249, 0.32);
}

.market-listings-earned.is-potential .market-listings-earned-value {
    color: #acc9fc;
}

.market-module-page .market-listings-earned-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 6px;
}

.market-listings-list::-webkit-scrollbar {
    width: 8px;
}

.market-listings-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.market-listings-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.6), rgba(216, 170, 88, 0.3));
    border-radius: 999px;
}

.market-listings-redeem.is-locked {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted, #9aa0aa);
    cursor: not-allowed;
}

.market-listings-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 160ms ease;
}

.market-listings-row:hover {
    background: rgba(255, 255, 255, 0.025);
}

.market-listings-row.is-paged-out {
    display: none;
}

.market-listings-pager {
    margin-top: 10px;
}

.market-module-page .market-listings-pager {
    margin-top: 6px;
}

.market-listings-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.market-listings-icon {
    flex: none;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    background: linear-gradient(150deg, #29221b, #18130e);
    overflow: hidden;
}

.market-listings-icon img {
    width: 70%;
    image-rendering: pixelated;
}

.market-listings-icon span {
    font-family: "Cinzel", serif;
    font-weight: 800;
    color: rgba(216, 170, 88, 0.6);
}

.market-listings-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.market-listings-item-info strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-listings-item-info span {
    font-size: 12px;
    color: var(--muted, #9aa0aa);
}

.market-listings-item-info .market-listings-rarity {
    --rarity: 148, 163, 184;
    font-weight: 700;
    color: rgba(var(--rarity), 1);
}

.market-listings-rarity[data-rarity="comum"] {
    --rarity: 120, 214, 138;
}

.market-listings-rarity[data-rarity="raro"] {
    --rarity: 95, 151, 248;
}

.market-listings-rarity[data-rarity="epico"] {
    --rarity: 190, 116, 255;
}

.market-listings-rarity[data-rarity="lendario"] {
    --rarity: 255, 196, 84;
}

.market-listings-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.market-listings-price strong {
    font-size: 16px;
    color: #fff1cf;
}

.market-listings-price span {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-soft);
}

.market-listings-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.market-listings-info-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: var(--muted, #9aa0aa);
}

.market-listings-status {
    color: #7fe0a6;
    font-weight: 700;
}

.market-listings-h-icon {
    margin-right: 6px;
    font-size: 13px;
}

.market-listings-redeem-form {
    margin: 0;
}

.market-listings-redeem {
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(216, 170, 88, 0.4);
    background: linear-gradient(135deg, rgba(216, 170, 88, 0.18), rgba(216, 170, 88, 0.06));
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    transition: background 160ms ease, border-color 160ms ease;
}

.market-listings-redeem:hover {
    background: linear-gradient(135deg, rgba(216, 170, 88, 0.3), rgba(216, 170, 88, 0.12));
    border-color: rgba(216, 170, 88, 0.6);
}

.market-listings-redeem:disabled {
    opacity: 0.6;
    cursor: default;
}

.market-module-page .market-listings-redeem {
    gap: 4px;
    padding: 5px 9px;
    font-size: 10px;
}

.market-listings-empty[hidden],
.market-listings-list[hidden] {
    display: none;
}

.market-listings-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 20px;
    text-align: center;
}

.market-listings-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, rgba(216, 170, 88, 0.22), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(216, 170, 88, 0.3);
    font-family: "Cinzel", serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gold-soft);
}

.market-listings-empty p {
    margin: 0;
    color: var(--muted, #9aa0aa);
    font-size: 14px;
}

.market-listings-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.market-listings-foot span {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted, #9aa0aa);
}

.market-listings-foot strong {
    font-size: 15px;
    color: var(--gold-soft);
}

.market-vip-tip-wrap {
    position: static;
    display: flex;
}

.market-vip-tip-trigger {
    appearance: none;
    cursor: help;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--vip-ink-dim);
    background: transparent;
    color: var(--vip-ink-soft);
    font-size: 12px;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.market-vip-tip-trigger svg {
    width: 15px;
    height: 15px;
}

.market-vip-tip-wrap:hover .market-vip-tip-trigger,
.market-vip-tip-wrap:focus-within .market-vip-tip-trigger {
    background: var(--vip-ink);
    border-color: var(--vip-ink);
    color: var(--vip-chip-ink);
}

.market-vip-tip {
    position: absolute;
    inset: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--vip-tone-edge);
    background: rgba(16, 13, 10, 0.97);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
    pointer-events: none;
}

.market-vip-tip-wrap:hover .market-vip-tip,
.market-vip-tip-wrap:focus-within .market-vip-tip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.market-vip-tip-title {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vip-tone-soft);
}

.market-vip-tip .market-vip-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 6px 18px;
}

.market-vip-tip .market-vip-perk {
    gap: 11px;
    padding: 6px 0;
    border-bottom: none;
}

.market-vip-tip .market-vip-perk-icon {
    width: 28px;
    height: 28px;
}

.market-vip-tip .market-vip-perk-icon svg {
    width: 15px;
    height: 15px;
}

.market-vip-tip .market-vip-perk-text strong {
    font-size: 13px;
}

.market-vip-tip .market-vip-perk-text p {
    font-size: 11.5px;
    line-height: 1.4;
}

.market-vip-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.market-vip-perk {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.market-vip-perk:last-child {
    border-bottom: none;
}

.market-vip-perk-icon {
    flex: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vip-tone-bg);
    border: 1px solid var(--vip-tone-edge);
    color: var(--vip-tone);
    margin-top: 1px;
}

.market-vip-perk-icon svg {
    width: 18px;
    height: 18px;
}

.market-vip-perk-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.market-vip-perk-text strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
}

.market-vip-perk-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

@media (max-width: 560px) {
    .market-vip-card-info {
        max-width: 100%;
    }

    .market-vip-card-art {
        opacity: 0.28;
        height: 100%;
    }

    .market-vip-card-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .market-vip-tip-trigger {
        width: 100%;
        justify-content: center;
    }

    .market-vip-button {
        width: 100%;
    }
}

/* VIP compacto dentro do modulo do jogo (800x600) */
.market-module-page .market-vip-wrap {
    gap: 10px;
}

.market-module-page .market-vip-card {
    min-height: 0;
    border-radius: 14px;
}

.market-module-page .market-vip-card-info {
    gap: 6px;
    padding: 12px 14px;
}

.market-module-page .market-vip-ticket-kicker,
.market-module-page .market-vip-card-chip {
    font-size: 8px;
}

.market-module-page .market-vip-card-holder span {
    font-size: 7px;
}

.market-module-page .market-vip-card-holder strong {
    font-size: 16px;
}

.market-module-page .market-vip-card-intro {
    font-size: 9px;
    line-height: 1.35;
}

.market-module-page .market-vip-price strong {
    font-size: 16px;
}

.market-module-page .market-vip-price span {
    font-size: 9px;
}

.market-module-page .market-vip-button {
    padding: 8px 14px;
}

.market-module-page .market-vip-tip-trigger {
    padding: 6px 10px;
    font-size: 9px;
    gap: 5px;
}

.market-module-page .market-vip-tip-trigger svg {
    width: 12px;
    height: 12px;
}

.market-module-page .market-vip-tip {
    inset: 8px;
    padding: 9px 12px;
    gap: 4px;
    border-radius: 11px;
}

.market-module-page .market-vip-tip-title {
    display: none;
}

.market-module-page .market-vip-tip .market-vip-perks {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2px 12px;
}

.market-module-page .market-vip-tip .market-vip-perk {
    gap: 8px;
    padding: 4px 0;
}

.market-module-page .market-vip-tip .market-vip-perk-icon {
    width: 20px;
    height: 20px;
}

.market-module-page .market-vip-tip .market-vip-perk-icon svg {
    width: 11px;
    height: 11px;
}

.market-module-page .market-vip-tip .market-vip-perk-text strong {
    font-size: 10px;
}

.market-module-page .market-vip-tip .market-vip-perk-text p {
    display: none;
}

.market-module-page .market-vip-perk-icon {
    width: 24px;
    height: 24px;
}

.market-module-page .market-vip-perk-icon svg {
    width: 13px;
    height: 13px;
}

.market-module-page .market-vip-perk-text strong {
    font-size: 10.5px;
}

.market-module-page .market-vip-perk-text p {
    font-size: 8.5px;
    line-height: 1.35;
}

.market-store-buy-form {
    margin-top: auto;
}

.wallet-pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wallet-pay-method {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.55);
    cursor: var(--site-cursor-sell), pointer;
}

.wallet-pay-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wallet-pay-method.is-active {
    border-color: rgba(126, 217, 154, 0.5);
    background: rgba(35, 84, 56, 0.18);
}

.wallet-pay-method.is-soon {
    opacity: 0.75;
    cursor: not-allowed;
}

.wallet-pay-method-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.wallet-pay-method-head strong {
    font-size: 0.88rem;
    color: var(--text);
}

.wallet-pay-method-note {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.4;
}

.wallet-binance-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f3ba2f 0%, #d99e0b 100%);
    color: #181205;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.wallet-soon-chip {
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid rgba(107, 159, 249, 0.4);
    background: rgba(107, 159, 249, 0.12);
    color: var(--blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 560px) {
    .wallet-pay-methods {
        grid-template-columns: 1fr;
    }
}

.wallet-receive-usdt {
    color: #f3ba2f;
    font-size: 0.8rem;
    font-weight: 600;
}

.wallet-pay-method.is-soon {
    opacity: 1;
    cursor: var(--site-cursor-sell), pointer;
}

.market-item-badge-bonus {
    border-color: rgba(126, 217, 154, 0.5);
    background: rgba(35, 84, 56, 0.3);
    color: #9fe7b6;
}

/* ============================================================
   Tema epico dark fantasy
   ============================================================ */

:root {
    --radius-lg: 12px;
    --radius-md: 9px;
    --radius-sm: 6px;
    --gold: #dfb166;
    --gold-soft: #f6e3b4;
}

::selection {
    background: rgba(216, 170, 88, 0.4);
    color: #fff8e8;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #110e0a, #0b0906);
    box-shadow: inset 0 0 0 1px rgba(216, 170, 88, 0.1);
}

body::-webkit-scrollbar-thumb {
    border: 2px solid #110e0a;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(246, 227, 180, 0.9), rgba(193, 137, 63, 0.85));
}

h1,
h2,
h3 {
    letter-spacing: 0.018em;
    font-weight: 800;
}

.hero-copy h1,
.page-intro h1,
.section-head h2,
.detail-panel h2,
.hero-panel-copy h2 {
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 40%, #dcae5c 76%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter:
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 22px rgba(216, 170, 88, 0.14));
}

.section-head h2::after {
    content: "◆";
    display: block;
    width: 250px;
    margin-top: 16px;
    color: var(--gold);
    font-size: 10px;
    line-height: 1;
    text-align: center;
    background: linear-gradient(90deg, transparent 0%, rgba(216, 170, 88, 0.6) 22%, transparent 45%, transparent 55%, rgba(216, 170, 88, 0.6) 78%, transparent 100%) center / 100% 1px no-repeat;
}

.feature-card h3,
.stack-card h3,
.news-body h3,
.list-card h3,
.data-table-head h3,
.roadmap-card h3 {
    color: #f4e8cd;
    letter-spacing: 0.03em;
}

.eyebrow {
    padding: 8px 18px 7px;
    border-radius: 2px;
    border: 1px solid rgba(216, 170, 88, 0.5);
    outline: 1px solid rgba(216, 170, 88, 0.16);
    outline-offset: 3px;
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.16), rgba(216, 170, 88, 0.03));
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-shadow: 0 0 12px rgba(216, 170, 88, 0.4);
}

.site-header {
    border-bottom: 1px solid rgba(216, 170, 88, 0.22);
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.05), rgba(216, 170, 88, 0) 40%),
        rgba(11, 9, 6, 0.82);
}

.brand-text strong {
    letter-spacing: 0.03em;
    background-image:
        linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.8) 49%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, #fffaf0 0%, #f4dfae 42%, #e0b464 68%, #b8862f 100%);
    background-size: 250% 100%, 100% 100%;
    background-position: 160% 0, 0 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter:
        drop-shadow(0 1px 0 rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 18px rgba(216, 170, 88, 0.35));
    animation: brand-shine 7s ease-in-out infinite;
}

@keyframes brand-shine {
    0%,
    62% {
        background-position: 160% 0, 0 0;
    }

    100% {
        background-position: -60% 0, 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-text strong {
        animation: none;
    }
}

.site-nav {
    gap: 2px;
}

.site-nav a {
    padding: 10px 6px;
    border-radius: 3px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(216, 170, 88, 0.08);
    color: var(--gold-soft);
    text-shadow: 0 0 12px rgba(216, 170, 88, 0.45);
    box-shadow: inset 0 -2px 0 rgba(216, 170, 88, 0.55);
}

.site-nav .nav-link-featured {
    padding: 10px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.site-nav .nav-link-featured,
.site-nav .nav-link-featured:hover,
.site-nav .nav-link-featured.active {
    box-shadow: none;
    background: transparent;
}

.button {
    border: 1px solid rgba(122, 88, 34, 0.95);
    border-radius: 4px;
    background: linear-gradient(180deg, #f8e7bc 0%, #e5ba73 38%, #c48c40 64%, #a3722e 100%);
    color: #221704;
    font-family: "Cinzel", serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 0 rgba(255, 244, 214, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -3px 7px rgba(88, 56, 12, 0.5),
        0 0 20px rgba(216, 170, 88, 0.26),
        0 14px 28px rgba(0, 0, 0, 0.4);
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -3px 7px rgba(88, 56, 12, 0.45),
        0 0 30px rgba(216, 170, 88, 0.4),
        0 18px 32px rgba(0, 0, 0, 0.45);
}

.button-muted {
    border: 1px solid rgba(216, 170, 88, 0.32);
    background: linear-gradient(180deg, rgba(55, 48, 40, 0.96), rgba(26, 21, 16, 0.98));
    color: #f2e6c8;
    text-shadow: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 22px rgba(0, 0, 0, 0.35);
}

.button-muted:hover {
    filter: none;
    border-color: rgba(216, 170, 88, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(216, 170, 88, 0.18),
        0 14px 26px rgba(0, 0, 0, 0.4);
}

.feature-card,
.data-table-card,
.stack-card,
.news-card,
.metric-card,
.detail-panel,
.roadmap-card,
.list-card,
.callout {
    border-color: rgba(216, 170, 88, 0.2);
}

.feature-card,
.detail-panel,
.data-table-card {
    background:
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px top 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px top 12px / 1px 16px,
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px top 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px top 12px / 1px 16px,
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px bottom 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px bottom 12px / 1px 16px,
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px bottom 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px bottom 12px / 1px 16px,
        linear-gradient(180deg, rgba(35, 30, 24, 0.92), rgba(19, 16, 12, 0.96));
}

.register-form-shell {
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(216, 170, 88, 0.24);
    background:
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px top 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px top 12px / 1px 16px,
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px top 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px top 12px / 1px 16px,
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px bottom 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat left 12px bottom 12px / 1px 16px,
        linear-gradient(90deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px bottom 12px / 16px 1px,
        linear-gradient(180deg, rgba(226, 184, 106, 0.55), rgba(226, 184, 106, 0.55)) no-repeat right 12px bottom 12px / 1px 16px,
        linear-gradient(180deg, rgba(35, 30, 24, 0.94), rgba(17, 14, 10, 0.99));
}

.feature-card::after,
.data-table-card::after,
.stack-card::after,
.news-card::after,
.detail-panel::after,
.roadmap-card::after,
.list-card::after,
.callout::after {
    background: linear-gradient(90deg, rgba(232, 190, 108, 0.55), rgba(232, 190, 108, 0.04));
}

.feature-card:hover,
.news-card:hover,
.stack-card:hover,
.data-table-card:hover,
.detail-panel:hover,
.roadmap-card:hover,
.list-card:hover {
    border-color: rgba(216, 170, 88, 0.5);
    box-shadow:
        0 0 26px rgba(216, 170, 88, 0.12),
        0 26px 56px rgba(0, 0, 0, 0.34);
}

.feature-code {
    min-width: 50px;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 4px;
    border: 1px solid rgba(216, 170, 88, 0.42);
    outline: 1px solid rgba(216, 170, 88, 0.14);
    outline-offset: 3px;
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.2), rgba(216, 170, 88, 0.04)),
        rgba(13, 11, 8, 0.6);
    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.data-table-head {
    border-bottom: 1px solid rgba(216, 170, 88, 0.28);
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.08), rgba(216, 170, 88, 0)),
        rgba(255, 255, 255, 0.012);
}

.alt-surface {
    border-top: 1px solid rgba(216, 170, 88, 0.1);
    border-bottom: 1px solid rgba(216, 170, 88, 0.1);
}

.menu-toggle {
    border-radius: 4px;
    border-color: rgba(216, 170, 88, 0.3);
}

.page-hero {
    min-height: min(56vh, 520px);
}

.page-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 40px 0;
}

.page-hero-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.03;
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 40%, #dcae5c 76%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter:
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 22px rgba(216, 170, 88, 0.14));
}

.compact-cards .feature-card {
    padding: 18px 20px;
}

.compact-cards .feature-code {
    min-height: 40px;
    margin-bottom: 12px;
}

.compact-cards .feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.compact-cards .feature-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
}

.info-strip {
    display: block;
    margin: 18px 0 0;
    padding: 13px 18px;
    border: 1px solid rgba(216, 170, 88, 0.24);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.08), rgba(216, 170, 88, 0.02));
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.info-strip strong {
    color: var(--gold-soft);
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(216, 170, 88, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(33, 28, 22, 0.9), rgba(19, 16, 12, 0.94));
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.info-list li strong {
    display: block;
    margin-bottom: 2px;
    color: #f2e6c8;
    font-size: 13.5px;
    letter-spacing: 0.02em;
}

.info-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border: 1px solid rgba(216, 170, 88, 0.35);
    border-radius: 5px;
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.16), rgba(216, 170, 88, 0.03)),
        rgba(13, 11, 8, 0.6);
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 15px;
    font-weight: 700;
}

.system-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-subhead {
    margin: 30px auto 16px;
}

.section-subhead h3 {
    margin: 0 0 6px;
    color: #f2e6c8;
    font-size: 21px;
}

.section-subhead p {
    margin: 0;
    max-width: 640px;
    color: var(--muted);
    font-size: 14px;
}

.ranking-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.ranking-tab {
    padding: 10px 16px;
    border: 1px solid rgba(216, 170, 88, 0.25);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(38, 32, 26, 0.95), rgba(21, 17, 13, 0.98));
    color: #d4deee;
    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: var(--site-cursor-active), pointer;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ranking-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 170, 88, 0.5);
    color: var(--gold-soft);
}

.ranking-tab.is-active {
    border-color: rgba(216, 170, 88, 0.65);
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.22), rgba(216, 170, 88, 0.06));
    color: var(--gold-soft);
    text-shadow: 0 0 10px rgba(216, 170, 88, 0.4);
}

.class-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.class-filter-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(216, 170, 88, 0.2);
    border-radius: 6px;
    background: rgba(19, 16, 12, 0.85);
    overflow: hidden;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.class-filter-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.class-filter-item:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 170, 88, 0.55);
}

.class-filter-item.is-active {
    border-color: rgba(216, 170, 88, 0.85);
    box-shadow:
        0 0 14px rgba(216, 170, 88, 0.35),
        inset 0 0 0 1px rgba(216, 170, 88, 0.4);
}

.class-filter-all {
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.ranking-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(216, 170, 88, 0.22);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(33, 28, 22, 0.92), rgba(19, 16, 12, 0.96));
    box-shadow: var(--shadow);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.ranking-table thead th {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(216, 170, 88, 0.3);
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.1), rgba(216, 170, 88, 0.02));
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

.ranking-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d5deee;
}

.ranking-table tbody tr {
    transition: background 160ms ease;
}

.ranking-table tbody tr:hover {
    background: rgba(216, 170, 88, 0.05);
}

.ranking-table tbody tr:last-child td {
    border-bottom: 0;
}

.rank-col-pos {
    width: 64px;
    text-align: center;
}

.rank-col-class {
    width: 72px;
    text-align: center;
}

.rank-col-level {
    width: 90px;
}

.rank-col-clan {
    width: 160px;
}

.rank-col-name {
    width: 220px;
}

.rank-col-xp {
    white-space: nowrap;
}

.rank-xp {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 420px;
    padding-right: 24px;
}

.rank-xp-tip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    padding: 8px 14px;
    border: 1px solid rgba(216, 170, 88, 0.45);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(44, 37, 30, 0.98), rgba(22, 18, 14, 0.98));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    color: #d4deee;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
    pointer-events: none;
    z-index: 6;
}

.rank-xp-tip strong {
    color: var(--gold-soft);
}

.rank-xp-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 22px;
    border: 6px solid transparent;
    border-top-color: rgba(216, 170, 88, 0.45);
}

.rank-xp:hover .rank-xp-tip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rank-xp-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.rank-xp-value {
    color: #d4deee;
    font-variant-numeric: tabular-nums;
}

.rank-xp-percent {
    color: #6fce7f;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rank-xp-bar {
    height: 7px;
    border: 1px solid rgba(111, 206, 127, 0.25);
    border-radius: 999px;
    background: rgba(19, 16, 12, 0.9);
    overflow: hidden;
}

.rank-xp-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2e8f4a, #6fce7f);
    box-shadow: 0 0 8px rgba(111, 206, 127, 0.45);
}

.rank-season {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 420px;
    margin-top: 7px;
    padding-right: 24px;
}

.rank-season-tip {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 3;
    padding: 8px 14px;
    border: 1px solid rgba(244, 163, 203, 0.45);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(44, 37, 30, 0.98), rgba(22, 18, 14, 0.98));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    color: #d4deee;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.rank-season-tip strong {
    color: #f4a3cb;
}

.rank-season-tip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 22px;
    border: 6px solid transparent;
    border-bottom-color: rgba(244, 163, 203, 0.45);
}

.rank-season:hover .rank-season-tip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rank-season-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
}

.rank-season-label {
    color: #94a0ba;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rank-season-label strong {
    color: #f4a3cb;
    font-variant-numeric: tabular-nums;
}

.rank-season-percent {
    color: #f4a3cb;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rank-season-bar {
    height: 6px;
    border: 1px solid rgba(244, 163, 203, 0.25);
    border-radius: 999px;
    background: rgba(19, 16, 12, 0.9);
    overflow: hidden;
}

.rank-season-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #a83a73, #f4a3cb);
    box-shadow: 0 0 8px rgba(244, 163, 203, 0.45);
}

.rank-no-clan {
    color: var(--muted);
}

#rankings {
    scroll-margin-top: 108px;
}

.roadmap-overview {
    display: grid;
    gap: 22px;
    margin-bottom: 46px;
    padding: 26px 30px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: var(--radius-md);
    background:
        radial-gradient(120% 160% at 50% -30%, rgba(216, 170, 88, 0.12), transparent 60%),
        linear-gradient(180deg, rgba(36, 30, 24, 0.95), rgba(19, 16, 12, 0.98));
    --phase-color: #ffd57b;
    --phase-glow: rgba(216, 170, 88, 0.45);
}

.roadmap-overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    text-align: center;
}

.roadmap-stat-value {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 40%, #dcae5c 76%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.roadmap-stat-value small {
    font-size: 20px;
}

.roadmap-stat-label {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.roadmap-overview-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.roadmap-progress-track {
    position: relative;
    height: 9px;
    border: 1px solid var(--phase-soft, rgba(216, 170, 88, 0.3));
    border-radius: 999px;
    background: rgba(14, 11, 8, 0.9);
    overflow: hidden;
}

.roadmap-progress-fill {
    display: block;
    position: relative;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--phase-deep, #9a7127), var(--phase-color));
    box-shadow: 0 0 8px var(--phase-glow);
    transition: width 1200ms cubic-bezier(0.22, 0.61, 0.36, 1) 250ms;
}

.roadmap-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: roadmap-shimmer 2.6s ease infinite;
}

.is-visible .roadmap-progress-fill {
    width: var(--progress);
}

.roadmap-phase-progress .roadmap-progress-fill::after {
    display: none;
}

.roadmap-ambient {
    position: relative;
    overflow: hidden;
}

.roadmap-ambient > .container {
    position: relative;
    z-index: 1;
}

.roadmap-ambient::before {
    content: "";
    position: absolute;
    top: 22%;
    left: 50%;
    width: 940px;
    height: 940px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(216, 170, 88, 0.09), transparent 62%);
    pointer-events: none;
}

.roadmap-ambient::after {
    content: "";
    position: absolute;
    bottom: -14%;
    left: 12%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(107, 159, 249, 0.07), transparent 60%);
    pointer-events: none;
}

.roadmap-embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.roadmap-embers::before {
    content: "";
    position: absolute;
    top: 6%;
    right: 8%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(255, 213, 123, 0.07), transparent 60%);
}

.roadmap-embers::after {
    content: "";
    position: absolute;
    top: 48%;
    left: 4%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(125, 255, 174, 0.055), transparent 60%);
}

.roadmap-embers span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd57b;
    box-shadow: 0 0 12px 2px rgba(255, 213, 123, 0.7);
    opacity: 0;
    animation: roadmap-ember 11s ease-in-out infinite;
}

.roadmap-embers span:nth-child(1) { left: 6%; top: 92%; animation-delay: 0s; animation-duration: 12s; }
.roadmap-embers span:nth-child(2) { left: 14%; top: 34%; animation-delay: 3.2s; width: 4px; height: 4px; }
.roadmap-embers span:nth-child(3) { left: 24%; top: 68%; animation-delay: 6.5s; animation-duration: 14s; }
.roadmap-embers span:nth-child(4) { left: 33%; top: 12%; animation-delay: 1.6s; width: 3px; height: 3px; animation-duration: 9s; }
.roadmap-embers span:nth-child(5) { left: 42%; top: 82%; animation-delay: 8.4s; }
.roadmap-embers span:nth-child(6) { left: 51%; top: 46%; animation-delay: 4.8s; width: 6px; height: 6px; animation-duration: 15s; }
.roadmap-embers span:nth-child(7) { left: 60%; top: 22%; animation-delay: 2.4s; width: 4px; height: 4px; }
.roadmap-embers span:nth-child(8) { left: 68%; top: 74%; animation-delay: 7.3s; animation-duration: 13s; }
.roadmap-embers span:nth-child(9) { left: 76%; top: 40%; animation-delay: 0.9s; width: 3px; height: 3px; animation-duration: 10s; }
.roadmap-embers span:nth-child(10) { left: 84%; top: 88%; animation-delay: 5.6s; }
.roadmap-embers span:nth-child(11) { left: 91%; top: 18%; animation-delay: 9.1s; width: 4px; height: 4px; animation-duration: 14s; }
.roadmap-embers span:nth-child(12) { left: 97%; top: 58%; animation-delay: 3.9s; animation-duration: 12s; }

.roadmap-embers span:nth-child(3n) {
    background: #7dffae;
    box-shadow: 0 0 8px rgba(125, 255, 174, 0.6);
}

.roadmap-embers span:nth-child(4n) {
    background: #85b0fa;
    box-shadow: 0 0 8px rgba(133, 176, 250, 0.6);
}

@keyframes roadmap-ember {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    8% {
        opacity: 0.95;
    }
    30% {
        transform: translate(14px, -32vh) scale(0.92);
    }
    55% {
        transform: translate(-10px, -58vh) scale(0.8);
        opacity: 0.65;
    }
    80% {
        transform: translate(10px, -86vh) scale(0.6);
        opacity: 0.4;
    }
    100% {
        transform: translate(-4px, -108vh) scale(0.3);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .roadmap-embers span,
    .roadmap-progress-fill::after,
    .roadmap-milestone.is-progress .roadmap-node::after,
    .roadmap-milestone.is-final .roadmap-node::after,
    .roadmap-milestone.is-final .roadmap-phase-card,
    .roadmap-milestone.is-final .roadmap-phase-card::before {
        animation: none;
    }
}

#downloads,
#streamers,
#cadastro,
#painel {
    scroll-margin-top: 108px;
}

.register-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.panel-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-summary-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 18px;
    background: rgba(14, 11, 8, 0.5);
}

.panel-summary-icon {
    font-size: 20px;
}

.panel-summary-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.panel-summary-text strong {
    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 700;
    color: #f2e6c8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-summary-text small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel-dashboard {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid rgba(216, 170, 88, 0.26);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(33, 27, 21, 0.95), rgba(17, 14, 10, 0.98));
    overflow: hidden;
}

.panel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(14, 11, 8, 0.6);
}

.panel-tab {
    flex: 1;
    min-width: 150px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #d4deee;
    font-family: "Cinzel", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: var(--site-cursor-active), pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.panel-tab:hover {
    color: var(--gold-soft);
}

.panel-tab.is-active {
    border-color: rgba(216, 170, 88, 0.5);
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.2), rgba(216, 170, 88, 0.05));
    color: var(--gold-soft);
    text-shadow: 0 0 10px rgba(216, 170, 88, 0.35);
}

.panel-tab-panel {
    display: none;
    padding: 30px;
}

.panel-tab-panel.is-active {
    display: block;
}

.panel-tab-panel h3 {
    margin: 0 0 6px;
    color: #f8f4ea;
    font-size: 22px;
}

.panel-panel-hint {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    max-width: 620px;
}

.panel-panel-hint strong {
    color: #e7edf7;
}

.panel-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.panel-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    background: rgba(14, 11, 8, 0.6);
}

.panel-info-item span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel-info-item strong {
    color: #f2e6c8;
    font-size: 15px;
    word-break: break-word;
}

.panel-form {
    display: grid;
    gap: 16px;
    max-width: 460px;
}

.panel-inline-form {
    margin-top: 4px;
}

@media (max-width: 700px) {
    .panel-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-summary-item:nth-child(1),
    .panel-summary-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .panel-info-grid {
        grid-template-columns: 1fr;
    }

    .panel-tab {
        flex-basis: 100%;
    }
}

.download-mirrors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    max-width: 900px;
    margin: 0 auto 26px;
}

.download-mirror {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 34px 28px 30px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: var(--radius-md);
    background:
        radial-gradient(120% 130% at 50% -25%, rgba(216, 170, 88, 0.1), transparent 62%),
        linear-gradient(180deg, rgba(33, 27, 21, 0.96), rgba(17, 14, 10, 0.98));
    text-align: center;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.download-mirror:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 170, 88, 0.6);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.5), 0 0 24px rgba(216, 170, 88, 0.25);
}

.download-mirror-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(14, 11, 8, 0.85);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
}

.download-mirror-icon svg {
    width: 44px;
    height: 44px;
}

.download-mirror h3 {
    margin: 0;
    color: #f8f4ea;
    font-size: 26px;
}

.download-mirror-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.download-mirror-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 4px 0 10px;
}

.download-mirror-meta span {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(14, 11, 8, 0.7);
    color: var(--muted);
    font-size: 12px;
}

.download-mirror-button {
    width: 100%;
    max-width: 280px;
}

.download-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.download-step {
    position: relative;
    padding: 26px 22px 24px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(33, 27, 21, 0.95), rgba(17, 14, 10, 0.97));
    transition: transform 220ms ease, border-color 220ms ease;
}

.download-step:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 170, 88, 0.5);
}

.download-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border: 1px solid rgba(216, 170, 88, 0.5);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.2), rgba(216, 170, 88, 0.05));
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 19px;
    font-weight: 700;
}

.download-step h3 {
    margin: 0 0 8px;
    color: #f2e6c8;
    font-size: 18px;
}

.download-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.download-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.download-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 18px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(33, 27, 21, 0.95), rgba(17, 14, 10, 0.97));
    text-align: center;
    transition: transform 220ms ease, border-color 220ms ease;
}

.download-spec:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 170, 88, 0.5);
}

.download-spec-icon {
    font-size: 30px;
}

.download-spec-label {
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.download-spec-value {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .download-steps,
    .download-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .download-mirrors {
        grid-template-columns: 1fr;
    }

    .download-steps,
    .download-specs {
        grid-template-columns: 1fr;
    }
}

@keyframes roadmap-shimmer {
    0% { transform: translateX(-100%); }
    55% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.roadmap-seasons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.roadmap-seasons-hint {
    margin: -14px 0 2px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.roadmap-season {
    border: 1px solid var(--phase-soft);
    border-radius: var(--radius-md);
    background:
        radial-gradient(120% 200% at 50% -60%, var(--phase-faint), transparent 60%),
        linear-gradient(180deg, rgba(28, 24, 19, 0.95), rgba(17, 14, 10, 0.98));
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.roadmap-season:hover {
    border-color: var(--phase-color);
}

.roadmap-season.is-open {
    box-shadow: 0 0 30px var(--phase-faint);
}

.roadmap-season.is-done {
    --phase-color: #7dffae;
    --phase-deep: #2e8f4a;
    --phase-soft: rgba(125, 255, 174, 0.4);
    --phase-faint: rgba(125, 255, 174, 0.1);
    --phase-glow: rgba(125, 255, 174, 0.35);
}

.roadmap-season.is-progress {
    --phase-color: #ffd57b;
    --phase-deep: #9a7127;
    --phase-soft: rgba(255, 213, 123, 0.45);
    --phase-faint: rgba(255, 213, 123, 0.1);
    --phase-glow: rgba(255, 213, 123, 0.35);
}

.roadmap-season.is-next {
    --phase-color: #85b0fa;
    --phase-deep: #32538b;
    --phase-soft: rgba(133, 176, 250, 0.4);
    --phase-faint: rgba(133, 176, 250, 0.1);
    --phase-glow: rgba(133, 176, 250, 0.3);
}

.roadmap-season-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    width: 100%;
    padding: 24px 28px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.roadmap-season-head:focus-visible {
    outline: 2px solid var(--phase-color);
    outline-offset: -5px;
}

.roadmap-season-headline {
    display: block;
    min-width: 0;
}

.roadmap-season-headline .eyebrow {
    display: inline-block;
    margin: 0;
    color: var(--phase-color);
}

.roadmap-season-title {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-family: "Cinzel", serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    transition: color 200ms ease;
}

.roadmap-season-head:hover .roadmap-season-title,
.roadmap-season-head:focus-visible .roadmap-season-title {
    color: var(--phase-color);
}

.roadmap-season-text {
    display: block;
    max-width: 640px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.roadmap-season-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.roadmap-season-badge {
    padding: 6px 16px;
    border: 1px solid var(--phase-soft);
    border-radius: 999px;
    background: var(--phase-faint);
    color: var(--phase-color);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.roadmap-season-count {
    color: var(--text);
    font-family: "Cinzel", serif;
    font-size: 16px;
    font-weight: 700;
}

.roadmap-season-phases {
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.roadmap-season-chevron {
    position: relative;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid var(--phase-soft);
    border-radius: 50%;
    background: var(--phase-faint);
    transition: transform 260ms ease, background 200ms ease;
}

.roadmap-season-chevron::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--phase-color);
    border-bottom: 2px solid var(--phase-color);
    transform: translate(-50%, -70%) rotate(45deg);
}

.roadmap-season-head:hover .roadmap-season-chevron {
    background: var(--phase-soft);
}

.roadmap-season.is-open .roadmap-season-chevron {
    transform: rotate(180deg);
}

.roadmap-season-panel {
    padding: 4px 28px 32px;
}

.roadmap-season-panel .roadmap-timeline {
    padding-top: 0;
}

.roadmap-timeline {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    padding: 14px 0 4px;
}

.roadmap-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, rgba(216, 170, 88, 0.55) 8%, rgba(216, 170, 88, 0.55) 92%, transparent);
    box-shadow: 0 0 14px rgba(216, 170, 88, 0.35);
}

.roadmap-highlights {
    position: absolute;
    top: 24px;
    left: calc(100% + 58px);
    width: calc(100% - 66px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roadmap-milestone:nth-child(even) .roadmap-highlights {
    left: auto;
    right: calc(100% + 58px);
}

.roadmap-highlight {
    padding: 18px 22px 18px 26px;
    border-left: 2px solid var(--phase-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: linear-gradient(90deg, var(--phase-faint), transparent 75%);
    color: #ced8e9;
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
}

.roadmap-highlight::before {
    content: "❝";
    display: block;
    margin-bottom: 10px;
    color: var(--phase-color);
    font-size: 28px;
    font-style: normal;
    line-height: 1;
    text-shadow: 0 0 14px var(--phase-glow);
}

.roadmap-milestone:nth-child(even) .roadmap-highlight {
    padding: 18px 26px 18px 22px;
    border-left: 0;
    border-right: 2px solid var(--phase-soft);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: linear-gradient(270deg, var(--phase-faint), transparent 75%);
    text-align: right;
}

.roadmap-milestone {
    position: relative;
    width: 50%;
    padding-right: 58px;
    margin-bottom: 38px;
}

.roadmap-milestone:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 58px;
}

.roadmap-milestone:last-child {
    margin-bottom: 0;
}

.roadmap-milestone.is-done {
    --phase-color: #7dffae;
    --phase-deep: #2e8f4a;
    --phase-soft: rgba(125, 255, 174, 0.4);
    --phase-faint: rgba(125, 255, 174, 0.1);
    --phase-glow: rgba(125, 255, 174, 0.35);
}

.roadmap-milestone.is-progress {
    --phase-color: #ffd57b;
    --phase-deep: #9a7127;
    --phase-soft: rgba(255, 213, 123, 0.45);
    --phase-faint: rgba(255, 213, 123, 0.1);
    --phase-glow: rgba(255, 213, 123, 0.35);
}

.roadmap-milestone.is-next {
    --phase-color: #85b0fa;
    --phase-deep: #32538b;
    --phase-soft: rgba(133, 176, 250, 0.4);
    --phase-faint: rgba(133, 176, 250, 0.1);
    --phase-glow: rgba(133, 176, 250, 0.3);
}

.roadmap-milestone.is-final {
    --phase-color: #f2d492;
    --phase-deep: #a9803a;
    --phase-soft: rgba(216, 170, 88, 0.65);
    --phase-faint: rgba(216, 170, 88, 0.14);
    --phase-glow: rgba(216, 170, 88, 0.5);
}

.roadmap-milestone.is-final .roadmap-phase-card {
    overflow: hidden;
    border: 1px solid rgba(216, 170, 88, 0.75);
    background:
        radial-gradient(140% 120% at 50% -30%, rgba(216, 170, 88, 0.22), transparent 65%),
        linear-gradient(180deg, rgba(26, 21, 11, 0.97), rgba(10, 8, 4, 0.99));
    animation: roadmap-final-glow 3.4s ease-in-out infinite alternate;
}

.roadmap-milestone.is-final .roadmap-phase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 232, 178, 0.09) 50%, transparent 68%);
    background-size: 260% 100%;
    animation: roadmap-final-sheen 4.4s linear infinite;
    pointer-events: none;
}

@keyframes roadmap-final-glow {
    from { box-shadow: 0 0 18px rgba(216, 170, 88, 0.18); }
    to { box-shadow: 0 0 42px rgba(216, 170, 88, 0.42); }
}

@keyframes roadmap-final-sheen {
    0% { background-position: 130% 0; }
    100% { background-position: -130% 0; }
}

.roadmap-milestone.is-final .roadmap-phase-head h3 {
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 40%, #dcae5c 76%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.roadmap-milestone.is-final .roadmap-status-badge {
    border-color: rgba(255, 232, 178, 0.8);
    background: linear-gradient(180deg, #f4e1b0, #bd8e42);
    color: #241a08;
    text-shadow: none;
}

.roadmap-milestone.is-final .roadmap-node {
    border-color: rgba(216, 170, 88, 0.9);
    box-shadow: 0 0 26px rgba(216, 170, 88, 0.6);
}

.roadmap-milestone.is-final .roadmap-node::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(216, 170, 88, 0.6);
    border-radius: 50%;
    animation: roadmap-pulse 2.2s ease-out infinite;
}

.roadmap-node {
    position: absolute;
    top: 4px;
    right: -29px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 2px solid var(--phase-soft);
    border-radius: 50%;
    background:
        radial-gradient(100% 100% at 50% 20%, rgba(216, 170, 88, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(38, 32, 26, 0.98), rgba(19, 16, 12, 1));
    box-shadow: 0 0 18px var(--phase-glow);
    font-size: 24px;
}

.roadmap-milestone:nth-child(even) .roadmap-node {
    right: auto;
    left: -29px;
}

.roadmap-milestone.is-progress .roadmap-node::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid var(--phase-soft);
    border-radius: 50%;
    animation: roadmap-pulse 2.4s ease-out infinite;
}

@keyframes roadmap-pulse {
    0% { transform: scale(0.82); opacity: 0.9; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

.roadmap-phase-card {
    position: relative;
    padding: 24px 26px;
    border: 1px solid var(--phase-soft);
    border-radius: var(--radius-md);
    background:
        radial-gradient(140% 120% at 50% -30%, var(--phase-faint), transparent 65%),
        linear-gradient(180deg, rgba(33, 27, 21, 0.96), rgba(17, 14, 10, 0.98));
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.roadmap-phase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45), 0 0 22px var(--phase-glow);
}

.roadmap-phase-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.roadmap-phase-kicker {
    margin: 0 0 4px;
    color: var(--phase-color);
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.roadmap-phase-head h3 {
    margin: 0;
    color: #f8f4ea;
    font-size: 24px;
    line-height: 1.1;
}

.roadmap-status-badge {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid var(--phase-soft);
    border-radius: 999px;
    background: var(--phase-faint);
    color: var(--phase-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.roadmap-phase-text {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.roadmap-phase-items {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.roadmap-phase-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 14px;
}

.roadmap-phase-items li:last-child {
    border-bottom: 0;
}

.roadmap-phase-items li.is-checked {
    color: #e7edf7;
}

.roadmap-item-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
}

.roadmap-phase-items li.is-checked .roadmap-item-mark {
    border-color: rgba(125, 255, 174, 0.55);
    background: rgba(125, 255, 174, 0.12);
    color: #7dffae;
}

.roadmap-phase-progress {
    display: flex;
    align-items: center;
    gap: 14px;
}

.roadmap-phase-progress .roadmap-progress-track {
    flex: 1;
    height: 8px;
}

.roadmap-phase-percent {
    flex-shrink: 0;
    min-width: 44px;
    color: var(--phase-color);
    font-family: "Cinzel", serif;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

@media (max-width: 900px) {
    .roadmap-timeline::before {
        left: 28px;
    }

    .roadmap-milestone,
    .roadmap-milestone:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-right: 0;
        padding-left: 74px;
    }

    .roadmap-node,
    .roadmap-milestone:nth-child(even) .roadmap-node {
        right: auto;
        left: 0;
        width: 56px;
        height: 56px;
    }

    .roadmap-highlights {
        display: none;
    }

    .roadmap-overview-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .roadmap-season-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 22px 18px;
    }

    .roadmap-season-title {
        font-size: 22px;
    }

    .roadmap-season-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .roadmap-season-panel {
        padding: 4px 18px 26px;
    }
}

.rank-pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-family: "Cinzel", serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #aab4cc;
}

.rank-1 .rank-pos {
    border-color: rgba(246, 227, 180, 0.8);
    background: linear-gradient(180deg, rgba(246, 227, 180, 0.35), rgba(193, 137, 63, 0.25));
    color: #ffedc2;
    box-shadow: 0 0 12px rgba(216, 170, 88, 0.45);
}

.rank-2 .rank-pos {
    border-color: rgba(210, 218, 230, 0.6);
    background: linear-gradient(180deg, rgba(210, 218, 230, 0.28), rgba(130, 140, 155, 0.2));
    color: #e9edf4;
}

.rank-3 .rank-pos {
    border-color: rgba(205, 137, 80, 0.6);
    background: linear-gradient(180deg, rgba(205, 137, 80, 0.28), rgba(140, 85, 45, 0.2));
    color: #f0c19a;
}

.rank-class-img {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    border: 1px solid rgba(216, 170, 88, 0.25);
    object-fit: cover;
    object-position: top center;
    vertical-align: middle;
}

.rank-empty {
    padding: 28px 16px;
    text-align: center;
    color: var(--muted);
}

.ranking-soon {
    padding: 48px 24px;
    border: 1px dashed rgba(216, 170, 88, 0.35);
    border-radius: var(--radius-md);
    background: rgba(22, 18, 14, 0.7);
    text-align: center;
}

.ranking-soon-icon {
    display: block;
    margin-bottom: 8px;
    font-size: 30px;
}

.ranking-soon h3 {
    margin: 0 0 8px;
    color: #f2e6c8;
    font-size: 22px;
}

.ranking-soon p {
    margin: 0 auto;
    max-width: 460px;
    color: var(--muted);
    font-size: 14px;
}

.sod-note {
    margin-bottom: 18px;
}

.rank-col-mark {
    width: 72px;
    text-align: center;
}

.rank-col-members,
.rank-col-kills {
    width: 110px;
    text-align: center;
}

.rank-col-points {
    width: 230px;
}

.rank-col-date {
    width: 160px;
    white-space: nowrap;
}

.ranking-table thead th.rank-col-pos,
.ranking-table thead th.rank-col-mark,
.ranking-table thead th.rank-col-class,
.ranking-table thead th.rank-col-members,
.ranking-table thead th.rank-col-kills {
    text-align: center;
}

.tower-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border-radius: 5px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    background: rgba(216, 170, 88, 0.08);
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 13px;
    font-weight: 700;
}

.ranking-table tbody td {
    vertical-align: middle;
}

.rank-entry-name {
    color: #f4efe2;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.rank-top .rank-entry-name {
    color: var(--gold-soft);
}

.clan-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    background: rgba(19, 16, 12, 0.85);
    image-rendering: pixelated;
    vertical-align: middle;
}

.rank-clan {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.clan-mark-sm {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    flex-shrink: 0;
}

.clan-mark-empty {
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 16px;
    font-weight: 700;
}

.sod-points {
    display: block;
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 15px;
    letter-spacing: 0.03em;
}

.sod-points-tip {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11.5px;
    white-space: nowrap;
}

.rank-1 .sod-points {
    text-shadow: 0 0 12px rgba(216, 170, 88, 0.45);
}

@media (max-width: 900px) {
    .rank-col-leader,
    .rank-col-date {
        display: none;
    }
}

@media (max-width: 640px) {
    .rank-col-xp {
        display: none;
    }
}

@media (max-width: 1024px) {
    .system-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .info-list,
    .system-list {
        grid-template-columns: 1fr;
    }
}

.character-detail-season {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(216, 170, 88, 0.14);
}

.market-season {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.market-season-summary {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.market-season-level {
    display: grid;
    gap: 5px;
    align-content: center;
    flex: 1 1 220px;
}

.market-season-level-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.market-season-level-row strong {
    font-family: "Cinzel", serif;
    font-size: 15px;
    color: #fff0cd;
}

.market-season-level-row span {
    font-size: 12px;
    color: rgba(216, 170, 88, 0.9);
    font-weight: 700;
}

.market-season-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(19, 16, 12, 0.85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.market-season-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.9), rgba(255, 226, 169, 0.95));
}

.market-season-exp {
    font-size: 11px;
    color: rgba(206, 216, 233, 0.7);
}

.market-season-points {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    padding: 8px 16px;
    border: 1px solid rgba(216, 170, 88, 0.24);
    border-radius: 12px;
    background: rgba(19, 16, 12, 0.7);
}

.market-season-points strong {
    font-family: "Cinzel", serif;
    font-size: 22px;
    color: var(--gold-soft);
    line-height: 1;
}

.market-season-points span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(206, 216, 233, 0.6);
}

.market-season-attrs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.market-season-attrs-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(206, 216, 233, 0.6);
}

.market-season-attrs-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.market-season-attr-chip {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(216, 170, 88, 0.4);
    background: rgba(216, 170, 88, 0.12);
    color: #fff0cd;
    font-size: 11px;
    font-weight: 700;
}

.market-season-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.market-season-col {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 12px 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(18, 14, 10, 0.55);
    position: relative;
    overflow: hidden;
}

.market-season-col::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
}

.market-season-col-verde::before { background: linear-gradient(90deg, transparent, #6fce74, transparent); }
.market-season-col-vermelha::before { background: linear-gradient(90deg, transparent, #d96b6b, transparent); }
.market-season-col-azul::before { background: linear-gradient(90deg, transparent, #749adb, transparent); }

.market-season-col-head {
    display: grid;
    justify-items: center;
    gap: 1px;
    margin-bottom: 2px;
    text-align: center;
}

.market-season-col-head strong {
    font-family: "Cinzel", serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.market-season-col-verde .market-season-col-head strong { color: #7ee081; }
.market-season-col-vermelha .market-season-col-head strong { color: #e98a8a; }
.market-season-col-azul .market-season-col-head strong { color: #8bb4fa; }

.market-season-col-head span {
    font-size: 9.5px;
    color: rgba(206, 216, 233, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.market-season-tier {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.market-season-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(27, 22, 17, 0.9);
    cursor: help;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.market-season-node i {
    font-size: 9px;
    font-style: normal;
    color: rgba(19, 16, 12, 0.9);
}

.market-season-node:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.market-season-node.is-attr {
    box-shadow: inset 0 0 0 1px rgba(216, 170, 88, 0.75);
    border-color: rgba(216, 170, 88, 0.75);
}

.market-season-col-verde .market-season-node.is-learned {
    background: linear-gradient(180deg, #6fce74, #2f7d33);
    border-color: rgba(126, 224, 129, 0.7);
}

.market-season-col-vermelha .market-season-node.is-learned {
    background: linear-gradient(180deg, #d96b6b, #8a2f2f);
    border-color: rgba(232, 136, 136, 0.7);
}

.market-season-col-azul .market-season-node.is-learned {
    background: linear-gradient(180deg, #749adb, #335186);
    border-color: rgba(139, 180, 250, 0.7);
}

.market-season-node.is-attr.is-learned i {
    color: #fff8e6;
}

.market-season-link {
    width: 2px;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
}

.market-season-counter {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(19, 16, 12, 0.7);
}

.market-season-counter.is-ok { color: #6fe074; border: 1px solid rgba(111, 224, 116, 0.4); }
.market-season-counter.is-no { color: #e07a7a; border: 1px solid rgba(224, 122, 122, 0.35); }

.market-season-big {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 30px;
    padding: 6px 8px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 19, 14, 0.85);
    font-size: 10px;
    line-height: 1.25;
    color: rgba(206, 216, 233, 0.5);
}

.market-season-big.is-learned {
    color: #fff0cd;
    font-weight: 700;
}

.market-season-col-verde .market-season-big.is-learned { border-color: rgba(111, 206, 116, 0.55); box-shadow: inset 0 0 12px rgba(111, 206, 116, 0.14); }
.market-season-col-vermelha .market-season-big.is-learned { border-color: rgba(217, 107, 107, 0.55); box-shadow: inset 0 0 12px rgba(217, 107, 107, 0.14); }
.market-season-col-azul .market-season-big.is-learned { border-color: rgba(116, 154, 219, 0.55); box-shadow: inset 0 0 12px rgba(116, 154, 219, 0.14); }

.market-season-big-final.is-learned {
    border-color: rgba(216, 170, 88, 0.6);
    box-shadow: inset 0 0 14px rgba(216, 170, 88, 0.18);
}

@media (max-width: 720px) {
    .market-season-grid {
        grid-template-columns: 1fr;
    }
}

.character-detail-relics {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(216, 170, 88, 0.14);
}

.market-relics {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.market-relics-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.market-relics-count {
    font-family: "Cinzel", serif;
    font-size: 16px;
    color: var(--gold-soft);
}

.market-relics-count span {
    color: rgba(255, 240, 205, 0.5);
    font-size: 12px;
}

.market-relics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.market-relics-slot {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 9px 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(18, 14, 10, 0.55);
    cursor: help;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.market-relics-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.market-relics-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-relics-icon img {
    max-width: 100%;
    max-height: 100%;
}

.market-relics-name {
    font-size: 9.5px;
    text-align: center;
    line-height: 1.15;
    color: rgba(206, 216, 233, 0.72);
}

.market-relics-slot.is-owned {
    border-color: rgba(216, 170, 88, 0.45);
    background: rgba(216, 170, 88, 0.08);
    box-shadow: inset 0 0 14px rgba(216, 170, 88, 0.1);
}

.market-relics-slot.is-owned .market-relics-name {
    color: #fff0cd;
    font-weight: 700;
}

.market-relics-slot.is-owned .market-relics-icon img {
    filter: drop-shadow(0 0 6px rgba(216, 170, 88, 0.4));
}

.market-relics-slot.is-locked .market-relics-icon img {
    filter: grayscale(1) brightness(0.5);
    opacity: 0.5;
}

@media (max-width: 720px) {
    .market-relics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.character-detail-hero,
.character-detail-setup {
    grid-column: 1 / -1;
}

.character-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.character-detail-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    container-type: size;
}

.character-detail-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    z-index: 1;
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.55));
}

.character-detail-stage .character-detail-status {
    z-index: 5;
}

.character-orbit-ring {
    position: absolute;
    top: 47%;
    left: 50%;
    width: 84cqmin;
    height: 84cqmin;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(216, 170, 88, 0.28);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.character-orbit {
    position: absolute;
    top: 47%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 3;
}

.character-orbit-node {
    position: absolute;
    top: 0;
    left: 0;
    width: 15cqmin;
    height: 15cqmin;
    margin: -7.5cqmin 0 0 -7.5cqmin;
    transform: rotate(var(--a)) translateY(-42cqmin) rotate(calc(-1 * var(--a)));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 14, 10, 0.82);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    cursor: help;
    transition: transform 160ms ease;
}

.character-orbit-node {
    position: absolute;
}

.character-orbit-job {
    position: absolute;
    left: 50%;
    bottom: 3px;
    z-index: 2;
    transform: translateX(-50%);
    max-width: 92%;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid rgba(127, 172, 250, 0.5);
    background: linear-gradient(150deg, rgba(127, 172, 250, 0.24), rgba(26, 19, 12, 0.95));
    color: rgb(127, 172, 250);
    font-size: 7.5px;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.character-orbit-node img {
    margin-bottom: 6px;
}

.character-orbit-aging {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    padding: 1px 4px;
    border-radius: 6px;
    border: 1px solid rgba(255, 226, 169, 0.6);
    background: linear-gradient(160deg, rgba(72, 48, 12, 0.95), rgba(30, 24, 18, 0.92));
    color: #ffe2a9;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 6px rgba(255, 196, 84, 0.45);
}

.character-orbit-node img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.character-orbit-node.is-owned {
    border-color: rgba(216, 170, 88, 0.6);
    box-shadow: 0 0 14px rgba(216, 170, 88, 0.35), 0 4px 10px rgba(0, 0, 0, 0.4);
}

.character-orbit-node.is-owned img {
    filter: drop-shadow(0 0 4px rgba(216, 170, 88, 0.45));
}

.character-orbit-node.is-owned[data-rarity="raro"] {
    --rarity: 95, 151, 248;
}

.character-orbit-node.is-owned[data-rarity="epico"] {
    --rarity: 190, 116, 255;
}

.character-orbit-node.is-owned[data-rarity="lendario"] {
    --rarity: 255, 196, 84;
}

.character-orbit-node.is-owned[data-rarity="raro"],
.character-orbit-node.is-owned[data-rarity="epico"],
.character-orbit-node.is-owned[data-rarity="lendario"] {
    border-color: rgba(var(--rarity), 0.8);
    box-shadow:
        0 0 0 1px rgba(var(--rarity), 0.35),
        0 0 16px rgba(var(--rarity), 0.4),
        0 4px 10px rgba(0, 0, 0, 0.4);
}

.character-orbit-node.is-owned[data-rarity="raro"] img,
.character-orbit-node.is-owned[data-rarity="epico"] img,
.character-orbit-node.is-owned[data-rarity="lendario"] img {
    filter: drop-shadow(0 0 5px rgba(var(--rarity), 0.55));
}

.character-orbit-node.is-owned[data-rarity="normal"],
.character-orbit-node.is-owned[data-rarity="comum"] {
    border-color: rgba(226, 232, 240, 0.4);
    box-shadow: 0 0 10px rgba(226, 232, 240, 0.14), 0 4px 10px rgba(0, 0, 0, 0.4);
}

.character-orbit-node.is-owned[data-rarity="normal"] img,
.character-orbit-node.is-owned[data-rarity="comum"] img {
    filter: none;
}

.character-orbit-node.is-locked img {
    filter: grayscale(1) brightness(0.5);
    opacity: 0.5;
}

.character-detail-hero .character-detail-panel {
    padding: 22px 24px;
    align-content: center;
}

.character-detail-plus {
    color: rgba(216, 170, 88, 0.85);
    font-size: 0.5em;
    vertical-align: middle;
    font-family: "Cinzel", serif;
}

.character-buy {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(216, 170, 88, 0.35);
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 50% -20%, rgba(216, 170, 88, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(38, 32, 26, 0.92), rgba(21, 17, 13, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.character-buy-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.character-buy-price span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.character-buy-price strong {
    color: #ffe2a9;
    font-family: "Cinzel", serif;
    font-size: 24px;
    line-height: 1;
    text-shadow: 0 0 14px rgba(216, 170, 88, 0.35);
}

.character-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 226, 169, 0.55);
    border-radius: 999px;
    background: linear-gradient(180deg, #e8c98a, #b98f43);
    color: #1a1206;
    font-family: "Cinzel", serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: var(--site-cursor-active), pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    box-shadow: 0 8px 20px rgba(184, 143, 67, 0.35);
}

.character-buy-button em {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(26, 18, 6, 0.22);
    font-style: normal;
    font-size: 13px;
}

.character-buy-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 12px 26px rgba(184, 143, 67, 0.45);
}

.character-buy-button.is-cancel {
    background: linear-gradient(180deg, rgba(40, 52, 78, 0.95), rgba(35, 29, 23, 0.95));
    border-color: rgba(226, 116, 116, 0.45);
    color: #f0bcbc;
    box-shadow: none;
}

.character-buy-button.is-cancel:hover {
    border-color: rgba(226, 116, 116, 0.75);
    color: #ffd9d9;
    box-shadow: 0 8px 20px rgba(226, 116, 116, 0.18);
}

.character-buy-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 620px) {
    .character-buy-price strong {
        font-size: 20px;
    }

    .character-buy-button {
        padding: 12px 14px;
        font-size: 13px;
    }
}

.character-detail-stat-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 8px;
    border: 1px solid rgba(90, 139, 224, 0.18);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(90, 139, 224, 0.14);
}

.character-detail-stat {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    background: rgba(25, 19, 12, 0.78);
}

.character-detail-stat span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(206, 216, 233, 0.6);
}

.character-detail-stat strong {
    font-family: "Cinzel", serif;
    font-size: 17px;
    color: #fff0cd;
}

.character-rarity {
    --rarity: 148, 163, 184;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(var(--rarity), 0.4);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(var(--rarity), 0.16), rgba(25, 19, 12, 0.72));
    box-shadow: inset 0 0 0 1px rgba(var(--rarity), 0.08), 0 0 18px rgba(var(--rarity), 0.14);
}

.character-rarity[data-rarity="raro"] {
    --rarity: 90, 139, 224;
}

.character-rarity[data-rarity="epico"] {
    --rarity: 168, 106, 232;
}

.character-rarity[data-rarity="lendario"] {
    --rarity: 216, 170, 88;
}

.character-rarity-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.character-rarity-badge {
    font-family: "Cinzel", serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(var(--rarity));
    text-shadow: 0 0 12px rgba(var(--rarity), 0.5);
}

.character-rarity-total {
    font-family: "Cinzel", serif;
    font-size: 20px;
    color: #fff0cd;
}

.character-rarity-total small {
    font-size: 11px;
    color: rgba(206, 216, 233, 0.55);
}

.character-rarity-axes {
    display: grid;
    gap: 7px;
    margin-top: 10px;
}

.character-rarity-axis {
    display: grid;
    grid-template-columns: 66px 1fr 34px;
    align-items: center;
    gap: 9px;
}

.character-rarity-axis-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(206, 216, 233, 0.62);
}

.character-rarity-meter {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.character-rarity-meter > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: rgb(var(--rarity));
    box-shadow: 0 0 10px rgba(var(--rarity), 0.55);
    transition: width 320ms ease;
}

.character-rarity-axis-score {
    font-family: "Cinzel", serif;
    font-size: 12px;
    color: #fff0cd;
    text-align: right;
}

@media (max-width: 640px) {
    .character-detail-hero {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .character-detail-stage {
        max-width: 360px;
        margin: 0 auto;
    }
}

.market-module-page .character-detail-hero {
    grid-template-columns: 1fr;
    gap: 10px;
}

.market-module-page .character-detail-stage {
    max-width: 300px;
    margin: 0 auto;
}

/* Loja do Infinito - vitrine do evento Torre Infinita */
.market-infinity-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.market-infinity-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(150, 110, 232, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(168, 120, 255, 0.16), transparent 32%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(22, 20, 54, 0.96), rgba(8, 10, 26, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 44px rgba(0, 0, 0, 0.24);
}

.market-infinity-hero-copy {
    display: grid;
    gap: 10px;
}

.market-infinity-hero-copy .market-shell-kicker {
    margin-bottom: 0;
    font-size: 10px;
    color: #c9aaff;
}

.market-infinity-hero-copy h4 {
    margin: 0;
    color: #f6f2ff;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.08;
}

.market-infinity-hero-copy p {
    margin: 0;
    color: #d4deef;
    font-size: 15px;
    line-height: 1.6;
}

.market-infinity-balance {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(168, 120, 255, 0.3);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(214, 196, 255, 0.08), rgba(255, 255, 255, 0.012)),
        rgba(12, 12, 30, 0.84);
}

.market-infinity-balance > span {
    color: #b7aede;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.market-infinity-balance strong {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #e6d8ff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.market-infinity-balance-value {
    display: inline-block;
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, #dcc6ff 45%, #9b6cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: infinityPointsGlow 3.4s ease-in-out infinite;
}

@keyframes infinityPointsGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(168, 120, 255, 0.35));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(190, 150, 255, 0.7));
    }
}

.market-infinity-balance .market-infinity-balance-value.is-balance-bump {
    animation: infinityPointsBump 0.7s cubic-bezier(0.22, 1.2, 0.36, 1);
}

@keyframes infinityPointsBump {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(168, 120, 255, 0.35));
    }

    30% {
        transform: scale(1.16);
        filter: drop-shadow(0 0 30px rgba(214, 190, 255, 0.95));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(168, 120, 255, 0.35));
    }
}

.market-cash-balance {
    display: grid;
    gap: 2px;
    padding: 8px 14px;
    border: 1px solid rgba(216, 170, 88, 0.32);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.14), rgba(255, 255, 255, 0.012)),
        rgba(18, 14, 6, 0.86);
    text-align: right;
}

.market-cash-balance > span {
    color: #d9c69a;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.market-cash-balance strong {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    color: #ffeec6;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.market-cash-balance-value {
    display: inline-block;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff8e6 0%, #f3d79a 45%, #d8a94f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: cashBalanceGlow 3.4s ease-in-out infinite;
}

@keyframes cashBalanceGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 6px rgba(216, 170, 88, 0.32));
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(240, 205, 130, 0.62));
    }
}

.market-cash-balance .market-cash-balance-value.is-balance-bump {
    animation: cashBalanceBump 0.7s cubic-bezier(0.22, 1.2, 0.36, 1);
}

@keyframes cashBalanceBump {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(216, 170, 88, 0.32));
    }

    30% {
        transform: scale(1.16);
        filter: drop-shadow(0 0 26px rgba(255, 226, 160, 0.95));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(216, 170, 88, 0.32));
    }
}

.market-coin-balance {
    display: grid;
    gap: 2px;
    padding: 8px 14px;
    border: 1px solid rgba(107, 159, 249, 0.32);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(107, 159, 249, 0.14), rgba(255, 255, 255, 0.012)),
        rgba(23, 17, 11, 0.86);
    text-align: right;
}

.market-coin-balance > span {
    color: #aabfe4;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.market-coin-balance strong {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    color: #dde9fe;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.market-coin-balance-value {
    display: inline-block;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #f2fbff 0%, #acc9fc 45%, #5586da 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: coinBalanceGlow 3.4s ease-in-out infinite;
}

@keyframes coinBalanceGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 6px rgba(107, 159, 249, 0.32));
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(154, 190, 251, 0.62));
    }
}

.market-coin-balance .market-coin-balance-value.is-balance-bump {
    animation: coinBalanceBump 0.7s cubic-bezier(0.22, 1.2, 0.36, 1);
}

@keyframes coinBalanceBump {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(107, 159, 249, 0.32));
    }

    30% {
        transform: scale(1.16);
        filter: drop-shadow(0 0 26px rgba(183, 208, 252, 0.95));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(107, 159, 249, 0.32));
    }
}

.market-module-page .market-coin-balance,
.market-module-page .market-cash-balance {
    padding: 4px 8px;
    border-radius: 10px;
}

.market-module-page .market-coin-balance > span {
    font-size: 7px;
    letter-spacing: 0.08em;
}

.market-module-page .market-coin-balance strong {
    gap: 4px;
    font-size: 8px;
}

.market-module-page .market-coin-balance-value {
    font-size: 15px;
}

.market-module-page .market-cash-balance > span {
    font-size: 7px;
    letter-spacing: 0.08em;
}

.market-module-page .market-cash-balance strong {
    gap: 4px;
    font-size: 8px;
}

.market-module-page .market-cash-balance-value {
    font-size: 15px;
}

[data-balance-field].is-balance-bump {
    animation: balanceFieldBump 0.7s ease;
}

@keyframes balanceFieldBump {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.35;
    }

    100% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .market-infinity-balance-value,
    .market-infinity-balance .market-infinity-balance-value.is-balance-bump,
    [data-balance-field].is-balance-bump {
        animation: none;
        filter: drop-shadow(0 0 10px rgba(168, 120, 255, 0.4));
    }

    .market-cash-balance-value,
    .market-cash-balance .market-cash-balance-value.is-balance-bump {
        animation: none;
        filter: drop-shadow(0 0 8px rgba(216, 170, 88, 0.4));
    }

    .market-coin-balance-value,
    .market-coin-balance .market-coin-balance-value.is-balance-bump {
        animation: none;
        filter: drop-shadow(0 0 8px rgba(107, 159, 249, 0.4));
    }
}

.market-infinity-balance strong.market-infinity-balance-soon {
    font-size: 18px;
    color: #c9aaff;
}

.market-infinity-balance small {
    color: #9aa3c4;
    font-size: 12px;
    line-height: 1.45;
}

.market-infinity-card {
    --rarity: 148, 163, 184;
    border-color: rgba(var(--rarity), 0.5);
    background:
        radial-gradient(120% 70% at 50% -20%, rgba(var(--rarity), 0.12), transparent 60%),
        linear-gradient(180deg, rgba(28, 22, 10, 0.9), rgba(10, 10, 16, 0.96));
    box-shadow:
        0 0 0 1px rgba(var(--rarity), 0.22),
        0 0 20px rgba(var(--rarity), 0.22),
        inset 0 0 26px rgba(var(--rarity), 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.market-infinity-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--rarity), 0.95);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(var(--rarity), 0.45),
        0 0 28px rgba(var(--rarity), 0.5),
        0 0 56px rgba(var(--rarity), 0.26),
        inset 0 0 30px rgba(var(--rarity), 0.14);
}

.market-infinity-card .market-card-media {
    border-color: rgba(var(--rarity), 0.42);
    background: #000000;
}

.market-infinity-card .market-card-media img {
    width: min(58%, 104px) !important;
    height: auto !important;
    max-width: 58% !important;
    max-height: 58% !important;
}

.market-infinity-card .market-card-kicker {
    color: rgba(var(--rarity), 0.85);
}

.market-infinity-card[data-rarity="lendario"] {
    --rarity: 255, 196, 84;
}

.market-infinity-card[data-rarity="epico"] {
    --rarity: 190, 116, 255;
}

.market-infinity-card[data-rarity="raro"] {
    --rarity: 95, 151, 248;
}

.market-infinity-card[data-rarity="especial"] {
    --rarity: 88, 214, 178;
}

.market-infinity-chips {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.market-infinity-chip {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(var(--rarity), 0.45);
    background: rgba(6, 6, 10, 0.9);
    color: rgba(var(--rarity), 0.95);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.market-infinity-chip-temp {
    border-color: rgba(107, 159, 249, 0.5);
    color: #bcd3fc;
}

.market-infinity-rarity {
    overflow: hidden;
    color: #0b0a06;
    background: linear-gradient(135deg, rgba(var(--rarity), 1), rgba(var(--rarity), 0.72));
    border-color: transparent;
    box-shadow: 0 0 14px rgba(var(--rarity), 0.5);
}

.market-infinity-card[data-rarity="lendario"] .market-infinity-rarity::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: market-rarity-shine 2.8s ease-in-out infinite;
    pointer-events: none;
}

.market-infinity-price {
    color: rgba(var(--rarity), 1);
    text-shadow: 0 0 12px rgba(var(--rarity), 0.4);
}

.market-infinity-badge {
    color: rgba(var(--rarity), 0.92);
    border-color: rgba(var(--rarity), 0.34);
}

.market-infinity-button {
    color: #0b0a06;
    background: linear-gradient(135deg, rgba(var(--rarity), 1), rgba(var(--rarity), 0.74));
    border: 1px solid rgba(var(--rarity), 0.6);
    box-shadow: 0 0 16px rgba(var(--rarity), 0.28);
}

.market-infinity-button:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(var(--rarity), 1), rgba(var(--rarity), 0.92));
    box-shadow: 0 0 24px rgba(var(--rarity), 0.5);
}

.market-infinity-button:disabled {
    cursor: not-allowed;
    color: rgba(var(--rarity), 0.7);
    background: rgba(var(--rarity), 0.12);
    border: 1px solid rgba(var(--rarity), 0.28);
    box-shadow: none;
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .market-infinity-rarity::after {
        animation: none;
    }
}

@media (max-width: 760px) {
    .market-infinity-hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    flex-shrink: 0;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(38, 32, 26, 0.85), rgba(21, 17, 13, 0.92));
    color: #f2e6c8;
    line-height: 1;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease;
}

.lang-current:hover,
.lang-switcher.is-open .lang-current {
    border-color: rgba(216, 170, 88, 0.55);
    background: linear-gradient(180deg, rgba(55, 47, 39, 0.9), rgba(30, 25, 19, 0.95));
}

.lang-current svg:first-child {
    display: block;
    width: 22px;
    height: 15px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.lang-caret {
    width: 11px;
    height: 11px;
    opacity: 0.7;
    transition: transform 180ms ease;
}

.lang-switcher.is-open .lang-caret {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 210px;
    padding: 6px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(35, 29, 23, 0.98), rgba(21, 17, 13, 0.98));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55);
}

.lang-menu[hidden] {
    display: none;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lang-option svg {
    display: block;
    width: 22px;
    height: 15px;
    flex-shrink: 0;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.lang-option-label {
    font-size: 12.5px;
    color: #e7eefa;
    white-space: nowrap;
}

.lang-option:hover {
    opacity: 1;
    border-color: rgba(216, 170, 88, 0.35);
    background: rgba(216, 170, 88, 0.08);
}

.lang-option.is-active {
    opacity: 1;
    border-color: rgba(216, 170, 88, 0.55);
    background: rgba(216, 170, 88, 0.14);
}

@media (max-width: 980px) {
    .lang-switcher {
        order: 2;
        margin-left: auto;
        margin-right: 10px;
    }

    .menu-toggle {
        order: 3;
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    .lang-switcher {
        margin-left: 6px;
        margin-right: 8px;
    }

    .lang-current {
        padding: 5px 8px;
        gap: 5px;
    }

    .lang-current svg:first-child {
        width: 19px;
        height: 13px;
    }

    .lang-menu {
        min-width: 190px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .header-inner {
        gap: 8px;
    }

    .brand {
        min-width: 0;
        flex-shrink: 1;
    }

    .brand-text strong {
        font-size: 17px;
    }
}

.community-section {
    position: relative;
    overflow: hidden;
}

.community-aura {
    position: absolute;
    inset: -180px -10% auto;
    height: 760px;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 18% 24%, rgba(216, 170, 88, 0.16), transparent 55%),
        radial-gradient(ellipse at 84% 8%, rgba(107, 159, 249, 0.14), transparent 52%),
        radial-gradient(ellipse at 50% 100%, rgba(216, 170, 88, 0.07), transparent 60%);
    filter: blur(10px);
    opacity: 0.9;
}

.community-section > .container {
    position: relative;
    z-index: 1;
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.community-story,
.community-support {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(216, 170, 88, 0.2);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(33, 28, 22, 0.94), rgba(17, 13, 9, 0.97));
    box-shadow: var(--shadow);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.community-story::before,
.community-support::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.12), transparent 30%);
}

.community-story::after,
.community-support::after {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02));
}

.community-story:hover,
.community-support:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 170, 88, 0.36);
    box-shadow:
        0 30px 62px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.community-watermark {
    position: absolute;
    right: -18px;
    bottom: -66px;
    z-index: -1;
    font-family: "Cinzel", serif;
    font-size: 240px;
    line-height: 1;
    color: rgba(216, 170, 88, 0.05);
    pointer-events: none;
    user-select: none;
}

.community-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    margin-bottom: 18px;
    border: 1px solid rgba(216, 170, 88, 0.32);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.18), rgba(216, 170, 88, 0.05)),
        rgba(13, 11, 8, 0.6);
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.community-story h3 {
    margin: 0 0 14px;
    font-size: 24px;
    color: #fbf7ee;
    line-height: 1.35;
}

.community-story p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.75;
}

.community-marks {
    position: relative;
    display: grid;
    gap: 16px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.community-marks::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(
        180deg,
        rgba(216, 170, 88, 0),
        rgba(216, 170, 88, 0.55),
        rgba(107, 159, 249, 0.4),
        rgba(107, 159, 249, 0)
    );
}

.community-marks li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.community-marks li strong {
    display: block;
    margin-bottom: 3px;
    color: #f2e6c8;
    font-size: 14.5px;
    letter-spacing: 0.02em;
}

.community-mark-n {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(216, 170, 88, 0.42);
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 26%, rgba(216, 170, 88, 0.3), rgba(17, 13, 9, 0.96) 72%);
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 14px;
    font-weight: 700;
    box-shadow:
        0 0 0 5px rgba(13, 11, 8, 0.95),
        0 0 20px rgba(216, 170, 88, 0.2);
}

.community-support {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(28, 22, 14, 0.86), rgba(17, 13, 9, 0.97));
    border-color: rgba(216, 170, 88, 0.28);
}

.community-support-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.community-support-head strong {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 21px;
    color: #fbf7ee;
    letter-spacing: 0.01em;
}

.community-support-head > div > span {
    display: block;
    margin-top: 2px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.85;
}

.community-halo {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(216, 170, 88, 0.45);
    border-radius: 999px;
    background:
        radial-gradient(circle at 34% 28%, rgba(216, 170, 88, 0.34), rgba(19, 16, 12, 0.96) 74%);
    color: #ffd68f;
    font-size: 21px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 26px rgba(216, 170, 88, 0.22);
}

.community-halo::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(216, 170, 88, 0.3);
    border-radius: 999px;
    animation: community-pulse 3.6s ease-in-out infinite;
}

@keyframes community-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.12;
    }
}

.community-support > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.community-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.community-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 8px;
    border: 1px solid rgba(216, 170, 88, 0.2);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.1), rgba(255, 255, 255, 0.01));
    text-align: center;
}

.community-pill strong {
    font-family: "Cinzel", serif;
    font-size: 25px;
    line-height: 1.1;
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 42%, #dcae5c 78%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.community-pill > span {
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
}

.community-note {
    margin: 0;
    padding: 13px 16px;
    border: 1px solid rgba(216, 170, 88, 0.22);
    border-left: 2px solid rgba(216, 170, 88, 0.6);
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.1), rgba(216, 170, 88, 0.01));
    color: #f0e3c6;
    font-size: 13px;
    line-height: 1.65;
}

.community-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 56px;
    margin-bottom: 44px;
}

.community-divider span {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(216, 170, 88, 0),
        rgba(216, 170, 88, 0.35),
        rgba(216, 170, 88, 0)
    );
}

.community-divider span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: linear-gradient(135deg, #f5dfab, #bd8e42);
    box-shadow: 0 0 16px rgba(216, 170, 88, 0.5);
}

.econ-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.econ-step {
    position: relative;
    isolation: isolate;
    padding: 44px 22px 26px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(33, 27, 21, 0.92), rgba(17, 13, 9, 0.96));
    text-align: center;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.econ-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 1.5px;
    left: calc(50% + 28px);
    width: calc(100% - 38px);
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(216, 170, 88, 0),
        rgba(216, 170, 88, 0.5),
        rgba(107, 159, 249, 0.42),
        rgba(107, 159, 249, 0)
    );
}

.econ-step:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 170, 88, 0.34);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.3);
}

.econ-orb {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(216, 170, 88, 0.4);
    border-radius: 999px;
    background:
        radial-gradient(circle at 34% 26%, rgba(216, 170, 88, 0.26), rgba(17, 13, 9, 0.98) 72%);
    font-size: 22px;
    line-height: 1;
    box-shadow:
        0 0 0 6px rgba(13, 11, 8, 0.96),
        0 0 26px rgba(216, 170, 88, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.econ-step-n {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    opacity: 0.8;
}

.econ-step h3 {
    margin: 0 0 10px;
    font-size: 19px;
    color: #fbf7ee;
}

.econ-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.68;
}

.econ-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.econ-metric {
    padding: 22px 16px;
    border: 1px solid rgba(216, 170, 88, 0.2);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.09), rgba(255, 255, 255, 0.01)),
        rgba(17, 13, 9, 0.6);
    text-align: center;
    transition:
        border-color 220ms ease,
        transform 220ms ease;
}

.econ-metric:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 170, 88, 0.4);
}

.econ-metric strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Cinzel", serif;
    font-size: 34px;
    line-height: 1.05;
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 40%, #dcae5c 76%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.econ-metric span {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.45;
}

.community-foot {
    margin-top: 26px;
}

.community-foot .hero-actions {
    margin-top: 22px;
    justify-content: center;
}

@media (max-width: 1040px) {
    .community-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .econ-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 46px;
    }

    .econ-step:nth-child(2n)::before {
        display: none;
    }

    .econ-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .community-story,
    .community-support {
        padding: 24px 20px;
    }

    .community-watermark {
        font-size: 170px;
        bottom: -48px;
    }

    .community-story h3 {
        font-size: 21px;
    }

    .econ-flow {
        grid-template-columns: minmax(0, 1fr);
    }

    .econ-step::before {
        display: none;
    }

    .econ-metric strong {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .community-pills {
        grid-template-columns: minmax(0, 1fr);
    }

    .econ-metrics {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-halo::after {
        animation: none;
    }

    .community-story:hover,
    .community-support:hover,
    .econ-step:hover,
    .econ-metric:hover {
        transform: none;
    }
}

.community-aura {
    animation: community-aura-breathe 14s ease-in-out infinite;
}

@keyframes community-aura-breathe {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

.community-embers {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.community-embers::before {
    content: "";
    position: absolute;
    bottom: -8%;
    right: 6%;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(255, 213, 123, 0.07), transparent 60%);
}

.community-embers::after {
    content: "";
    position: absolute;
    bottom: 12%;
    left: 2%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(107, 159, 249, 0.06), transparent 60%);
}

.community-embers span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd57b;
    box-shadow: 0 0 12px 2px rgba(255, 213, 123, 0.7);
    opacity: 0;
    animation: community-ember-rise 13s ease-in-out infinite;
}

.community-embers span:nth-child(3n) {
    background: #7dffae;
    box-shadow: 0 0 8px rgba(125, 255, 174, 0.6);
}

.community-embers span:nth-child(4n) {
    background: #85b0fa;
    box-shadow: 0 0 8px rgba(133, 176, 250, 0.6);
}

.community-embers span:nth-child(1) { left: 4%; top: 97%; animation-delay: 0s; animation-duration: 14s; }
.community-embers span:nth-child(2) { left: 11%; top: 78%; animation-delay: 3.4s; width: 4px; height: 4px; animation-duration: 12s; }
.community-embers span:nth-child(3) { left: 17%; top: 92%; animation-delay: 7.1s; animation-duration: 16s; }
.community-embers span:nth-child(4) { left: 23%; top: 64%; animation-delay: 1.8s; width: 3px; height: 3px; animation-duration: 11s; }
.community-embers span:nth-child(5) { left: 29%; top: 88%; animation-delay: 9.6s; animation-duration: 13s; }
.community-embers span:nth-child(6) { left: 35%; top: 71%; animation-delay: 5.2s; width: 5px; height: 5px; animation-duration: 15s; }
.community-embers span:nth-child(7) { left: 41%; top: 96%; animation-delay: 2.6s; width: 4px; height: 4px; animation-duration: 12s; }
.community-embers span:nth-child(8) { left: 47%; top: 82%; animation-delay: 11.4s; animation-duration: 14s; }
.community-embers span:nth-child(9) { left: 52%; top: 59%; animation-delay: 6.3s; width: 3px; height: 3px; animation-duration: 10s; }
.community-embers span:nth-child(10) { left: 58%; top: 94%; animation-delay: 0.9s; animation-duration: 16s; }
.community-embers span:nth-child(11) { left: 63%; top: 74%; animation-delay: 8.7s; width: 5px; height: 5px; animation-duration: 13s; }
.community-embers span:nth-child(12) { left: 69%; top: 90%; animation-delay: 4.1s; animation-duration: 15s; }
.community-embers span:nth-child(13) { left: 74%; top: 67%; animation-delay: 12.2s; width: 4px; height: 4px; animation-duration: 11s; }
.community-embers span:nth-child(14) { left: 79%; top: 85%; animation-delay: 2.1s; animation-duration: 14s; }
.community-embers span:nth-child(15) { left: 84%; top: 98%; animation-delay: 7.8s; width: 3px; height: 3px; animation-duration: 12s; }
.community-embers span:nth-child(16) { left: 88%; top: 76%; animation-delay: 10.5s; animation-duration: 16s; }
.community-embers span:nth-child(17) { left: 93%; top: 91%; animation-delay: 5.7s; width: 5px; height: 5px; animation-duration: 13s; }
.community-embers span:nth-child(18) { left: 97%; top: 69%; animation-delay: 1.3s; animation-duration: 15s; }
.community-embers span:nth-child(19) { left: 8%; top: 55%; animation-delay: 13.1s; width: 4px; height: 4px; animation-duration: 14s; }
.community-embers span:nth-child(20) { left: 26%; top: 48%; animation-delay: 3.9s; animation-duration: 16s; }
.community-embers span:nth-child(21) { left: 44%; top: 52%; animation-delay: 9.2s; width: 3px; height: 3px; animation-duration: 12s; }
.community-embers span:nth-child(22) { left: 61%; top: 45%; animation-delay: 6.8s; animation-duration: 15s; }
.community-embers span:nth-child(23) { left: 81%; top: 51%; animation-delay: 11.9s; width: 5px; height: 5px; animation-duration: 13s; }
.community-embers span:nth-child(24) { left: 96%; top: 43%; animation-delay: 4.6s; animation-duration: 16s; }

@keyframes community-ember-rise {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    8% {
        opacity: 0.95;
    }
    30% {
        transform: translate(16px, -34vh) scale(0.92);
    }
    55% {
        transform: translate(-12px, -62vh) scale(0.8);
        opacity: 0.65;
    }
    80% {
        transform: translate(12px, -92vh) scale(0.6);
        opacity: 0.4;
    }
    100% {
        transform: translate(-6px, -118vh) scale(0.3);
        opacity: 0;
    }
}


.community-story,
.community-support,
.econ-step,
.econ-metric {
    --fx-x: 50%;
    --fx-y: 0%;
}

.community-story .community-fx,
.community-support .community-fx,
.econ-step .community-fx,
.econ-metric .community-fx {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 320ms ease;
    background: radial-gradient(
        380px circle at var(--fx-x) var(--fx-y),
        rgba(216, 170, 88, 0.16),
        rgba(107, 159, 249, 0.06) 42%,
        transparent 62%
    );
}

.community-story:hover .community-fx,
.community-support:hover .community-fx,
.econ-step:hover .community-fx,
.econ-metric:hover .community-fx {
    opacity: 1;
}

.community-badge {
    position: relative;
    overflow: hidden;
}

.community-badge::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 248, 227, 0.55),
        transparent
    );
    animation: community-shimmer 4.6s ease-in-out infinite;
}

@keyframes community-shimmer {
    0%,
    62% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(420%);
    }
}

.community-marks::before {
    background: linear-gradient(
        180deg,
        rgba(216, 170, 88, 0) 0%,
        rgba(216, 170, 88, 0.55) 22%,
        rgba(107, 159, 249, 0.45) 60%,
        rgba(107, 159, 249, 0) 100%
    );
    background-size: 100% 220%;
    animation: community-rail-flow 7s linear infinite;
}

@keyframes community-rail-flow {
    from {
        background-position: 0 -110%;
    }
    to {
        background-position: 0 110%;
    }
}

.community-marks li {
    transition: transform 240ms ease;
}

.community-marks li:hover {
    transform: translateX(5px);
}

.community-mark-n {
    transition:
        border-color 240ms ease,
        box-shadow 240ms ease,
        transform 240ms ease;
}

.community-marks li:hover .community-mark-n {
    transform: scale(1.06);
    border-color: rgba(216, 170, 88, 0.75);
    box-shadow:
        0 0 0 5px rgba(13, 11, 8, 0.95),
        0 0 26px rgba(216, 170, 88, 0.42);
}

.community-support {
    position: relative;
}

.community-pill {
    transition:
        transform 240ms ease,
        border-color 240ms ease,
        box-shadow 240ms ease;
}

.community-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 170, 88, 0.45);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.community-note {
    position: relative;
    overflow: hidden;
}

.community-note::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 240, 205, 0.9), rgba(216, 170, 88, 0));
    animation: community-note-sweep 3.8s ease-in-out infinite;
}

@keyframes community-note-sweep {
    0%,
    100% {
        opacity: 0.25;
        transform: translateY(-40%);
    }
    50% {
        opacity: 1;
        transform: translateY(40%);
    }
}

.community-divider span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 1px;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255, 240, 205, 0.8), transparent);
    animation: community-divider-run 6s ease-in-out infinite;
}

@keyframes community-divider-run {
    0% {
        transform: translateX(-10%);
        opacity: 0;
    }
    18%,
    82% {
        opacity: 1;
    }
    100% {
        transform: translateX(280%);
        opacity: 0;
    }
}

.community-divider span::after {
    animation: community-diamond-pulse 4.2s ease-in-out infinite;
}

@keyframes community-diamond-pulse {
    0%,
    100% {
        box-shadow: 0 0 14px rgba(216, 170, 88, 0.42);
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(216, 170, 88, 0.85);
        transform: translate(-50%, -50%) rotate(45deg) scale(1.28);
    }
}

.econ-flow .econ-step {
    transform: translateY(18px);
    opacity: 0;
    transition:
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 620ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.econ-flow.is-visible .econ-step {
    transform: translateY(0);
    opacity: 1;
}

.econ-flow.is-visible .econ-step:nth-child(1) {
    transition-delay: 60ms;
}
.econ-flow.is-visible .econ-step:nth-child(2) {
    transition-delay: 180ms;
}
.econ-flow.is-visible .econ-step:nth-child(3) {
    transition-delay: 300ms;
}
.econ-flow.is-visible .econ-step:nth-child(4) {
    transition-delay: 420ms;
}

.econ-step .econ-pulse {
    position: absolute;
    top: 1.5px;
    left: calc(50% + 28px);
    width: calc(100% - 38px);
    height: 1px;
    pointer-events: none;
}

.econ-step:last-child .econ-pulse {
    display: none;
}

.econ-step .econ-pulse::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 999px;
    background: radial-gradient(circle, #fff6dd, rgba(216, 170, 88, 0));
    box-shadow: 0 0 14px rgba(255, 226, 168, 0.9);
    opacity: 0;
}

.econ-flow.is-visible .econ-step .econ-pulse::before {
    animation: community-pulse-run 4.2s ease-in-out infinite;
}

.econ-flow.is-visible .econ-step:nth-child(1) .econ-pulse::before {
    animation-delay: 0.4s;
}
.econ-flow.is-visible .econ-step:nth-child(2) .econ-pulse::before {
    animation-delay: 1.6s;
}
.econ-flow.is-visible .econ-step:nth-child(3) .econ-pulse::before {
    animation-delay: 2.8s;
}

@keyframes community-pulse-run {
    0% {
        left: 0;
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    62% {
        opacity: 1;
    }
    72%,
    100% {
        left: 100%;
        opacity: 0;
    }
}

.econ-orb {
    animation: community-orb-glow 5.6s ease-in-out infinite;
    transition:
        border-color 240ms ease,
        box-shadow 240ms ease;
}

.econ-step:nth-child(2) .econ-orb {
    animation-delay: 0.7s;
}
.econ-step:nth-child(3) .econ-orb {
    animation-delay: 1.4s;
}
.econ-step:nth-child(4) .econ-orb {
    animation-delay: 2.1s;
}

@keyframes community-orb-glow {
    0%,
    100% {
        border-color: rgba(216, 170, 88, 0.4);
        box-shadow:
            0 0 0 6px rgba(13, 11, 8, 0.96),
            0 0 22px rgba(216, 170, 88, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }
    50% {
        border-color: rgba(216, 170, 88, 0.62);
        box-shadow:
            0 0 0 6px rgba(13, 11, 8, 0.96),
            0 0 34px rgba(216, 170, 88, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.econ-step:hover .econ-orb {
    border-color: rgba(216, 170, 88, 0.8);
    box-shadow:
        0 0 0 6px rgba(13, 11, 8, 0.96),
        0 0 40px rgba(216, 170, 88, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.econ-metric {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.econ-metric::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(255, 248, 227, 0.14) 48%,
        transparent 62%
    );
    transform: translateX(-120%);
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.econ-metric:hover::after {
    transform: translateX(120%);
}

.econ-metric strong {
    transition: filter 240ms ease;
}

.econ-metric:hover strong {
    filter:
        drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45))
        drop-shadow(0 0 22px rgba(216, 170, 88, 0.4));
}

@media (max-width: 1040px) {
    .econ-step .econ-pulse {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-aura,
    .community-embers span,
    .community-badge::after,
    .community-marks::before,
    .community-note::after,
    .community-divider span::before,
    .community-divider span::after,
    .econ-orb,
    .econ-step .econ-pulse::before {
        animation: none !important;
    }

    .community-embers span,
    .community-badge::after,
    .econ-step .econ-pulse::before {
        opacity: 0;
    }

    .econ-flow .econ-step {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .community-marks li:hover,
    .community-pill:hover {
        transform: none;
    }
}

.community-support-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.community-support-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.community-support-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 7px;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #f5dfab, #bd8e42);
    box-shadow: 0 0 10px rgba(216, 170, 88, 0.45);
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.live-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(33, 28, 22, 0.94), rgba(17, 13, 9, 0.97));
    box-shadow: var(--shadow);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.live-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(216, 170, 88, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(107, 159, 249, 0.1), transparent 30%);
}

.live-card::after {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02));
}

.live-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 170, 88, 0.34);
    box-shadow:
        0 30px 62px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.live-card-rank {
    border-color: rgba(216, 170, 88, 0.24);
}

.live-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
}

.live-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(216, 170, 88, 0.32);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.18), rgba(216, 170, 88, 0.04)),
        rgba(13, 11, 8, 0.6);
    font-size: 19px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.live-head-copy {
    flex: 1;
    min-width: 0;
}

.live-head-copy h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.2;
    color: #fbf7ee;
}

.live-head-copy p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.live-badge {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.live-badge.is-on {
    border-color: rgba(120, 214, 150, 0.4);
    background: rgba(120, 214, 150, 0.1);
    color: #a7e8bd;
}

.live-badge i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.55;
}

.live-badge.is-on i {
    opacity: 1;
    box-shadow: 0 0 10px rgba(120, 214, 150, 0.9);
    animation: live-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes live-dot-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.45);
        opacity: 0.45;
    }
}

.live-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.rank-row,
.live-row {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition:
        background 200ms ease,
        padding-left 200ms ease;
}

.rank-row:last-child,
.live-row:last-child {
    border-bottom: 0;
}

.rank-row:hover,
.live-row:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 24px;
}

.rank-medal {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.rank-pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-family: "Cinzel", serif;
    font-size: 14px;
    font-weight: 700;
}

.rank-crown {
    position: absolute;
    top: -13px;
    left: 50%;
    width: 23px;
    height: 23px;
    transform: translateX(-50%) rotate(-7deg);
    fill: var(--medal, #e0ae5c);
    stroke: var(--medal, #e0ae5c);
    stroke-width: 1.6;
    stroke-linejoin: round;
    filter:
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 6px rgba(0, 0, 0, 0.45));
    z-index: 2;
}

.rank-crown .rank-crown-gem {
    fill: rgba(17, 13, 9, 0.5);
    stroke: none;
}

.rank-pos-1 .rank-crown {
    filter:
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 8px rgba(216, 170, 88, 0.55));
}

.live-icon-svg {
    font-size: 0;
}

.live-icon-svg svg {
    width: 24px;
    height: 24px;
    fill: var(--gold-soft);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.live-card-pvp .live-icon-svg svg {
    fill: #ffd0c0;
}

.live-card-tower .live-icon-svg svg {
    fill: #bfd5fc;
}

.rank-medal-avatar {
    width: 42px;
    height: 42px;
}

.rank-avatar {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    border: 1px solid var(--medal, rgba(216, 170, 88, 0.3));
    object-fit: cover;
    object-position: top center;
    background: rgba(19, 16, 12, 0.9);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.rank-avatar-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-family: "Cinzel", serif;
    font-size: 16px;
    font-weight: 700;
}

.rank-medal-avatar .rank-pos {
    position: absolute;
    right: -7px;
    bottom: -7px;
    width: 21px;
    height: 21px;
    font-size: 11px;
    border: 1px solid rgba(17, 13, 9, 0.9);
}

.rank-medal-avatar .rank-crown {
    top: -15px;
    width: 28px;
    height: 21px;
    stroke: none;
}

.rank-crown-body,
.rank-crown-band,
.rank-crown-tip {
    fill: var(--medal, #e0ae5c);
}

.rank-crown-shine {
    fill: rgba(255, 255, 255, 0.32);
}

.rank-crown-gem {
    fill: rgba(17, 13, 9, 0.55);
}

.clan-mark-xs {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border-width: 0;
    flex-shrink: 0;
}

.rank-tags .rank-clan {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px 2px 3px;
}

.rank-info {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 5px;
}

.rank-name {
    display: block;
    min-width: 0;
    color: #f4efe2;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rank-tags span {
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rank-tags .rank-clan {
    border-color: rgba(107, 159, 249, 0.26);
    background: rgba(107, 159, 249, 0.08);
    color: #bad2fc;
}

.rank-bar {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.rank-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.35), var(--medal, #e0ae5c));
    box-shadow: 0 0 12px rgba(216, 170, 88, 0.35);
}

.rank-level {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
}

.rank-level strong {
    font-family: "Cinzel", serif;
    font-size: 22px;
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 42%, #dcae5c 80%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rank-level small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rank-pos-1 {
    --medal: #e0ae5c;
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.14), transparent 62%);
}

.rank-pos-2 {
    --medal: #cbd0d8;
    background: linear-gradient(90deg, rgba(203, 208, 216, 0.12), transparent 62%);
}

.rank-pos-3 {
    --medal: #cd7f32;
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.12), transparent 62%);
}

.rank-row.is-podium {
    box-shadow: inset 3px 0 0 var(--medal);
}

.rank-row.is-podium .rank-pos {
    color: #12100d;
    background: linear-gradient(135deg, var(--medal), rgba(255, 255, 255, 0.65));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.35);
}

.rank-row.rank-pos-1 .rank-name {
    color: #fff3d6;
}

.live-row strong {
    flex: 1;
    min-width: 0;
    color: #eee7d8;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-mark {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #f5dfab, #bd8e42);
    box-shadow: 0 0 10px rgba(216, 170, 88, 0.4);
}

.live-card-events .live-mark {
    border-radius: 999px;
    transform: none;
    background: linear-gradient(135deg, #a3c3fb, #446cb0);
    box-shadow: 0 0 10px rgba(107, 159, 249, 0.45);
}

.live-row.is-first .live-mark,
.live-row.is-live .live-mark {
    animation: live-mark-pulse 2.8s ease-in-out infinite;
}

.live-row.is-live + .live-row.is-live .live-mark {
    animation-delay: 1.4s;
}

.live-card-events .live-row.is-live .live-mark {
    background: linear-gradient(135deg, #b6f0cd, #3f9f66);
    box-shadow: 0 0 10px rgba(120, 214, 150, 0.55);
}

.live-card-events .live-row.is-live .live-meta {
    border-color: rgba(120, 214, 150, 0.34);
    background: rgba(120, 214, 150, 0.12);
    color: #bff0d1;
}

@keyframes live-mark-pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(216, 170, 88, 0.4);
    }
    50% {
        opacity: 0.55;
        box-shadow: 0 0 20px rgba(216, 170, 88, 0.8);
    }
}

.live-meta {
    flex: 0 0 auto;
    padding: 4px 11px;
    border: 1px solid rgba(216, 170, 88, 0.2);
    border-radius: 999px;
    background: rgba(216, 170, 88, 0.07);
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.live-card-events .live-meta {
    border-color: rgba(107, 159, 249, 0.22);
    background: rgba(107, 159, 249, 0.08);
    color: #d1e1fd;
}

.live-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(216, 170, 88, 0.05));
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        background 220ms ease,
        color 220ms ease;
}

.live-foot span {
    transition: transform 220ms ease;
}

.live-foot:hover {
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.06), rgba(216, 170, 88, 0.12));
    color: #fff3d6;
}

.live-foot:hover span {
    transform: translateX(4px);
}

@media (max-width: 1040px) {
    .live-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .live-card-rank {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .live-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .live-head {
        padding: 16px 18px;
    }

    .rank-row,
    .live-row {
        padding: 12px 16px;
    }

    .rank-row:hover,
    .live-row:hover {
        padding-left: 18px;
    }

    .live-foot {
        padding: 14px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .live-badge.is-on i,
    .live-row.is-first .live-mark {
        animation: none;
    }

    .live-card:hover {
        transform: none;
    }

    .rank-row:hover,
    .live-row:hover {
        padding-left: 20px;
    }
}

.kelvezu-flight {
    --kelvezu-frames: 5;
    --kelvezu-frame-w: 209px;
    --kelvezu-frame-h: 141px;
    --kelvezu-scale: 0.82;
    --kelvezu-frame-rate: 0.62s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 900ms ease;
}

.kelvezu-flight.is-flying {
    opacity: 1;
}

.kelvezu-path {
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.kelvezu-bob {
    animation: kelvezu-bob 5.5s ease-in-out infinite;
    will-change: transform;
}

@keyframes kelvezu-bob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
}

.kelvezu-sprite {
    --kelvezu-tilt: 0deg;
    width: var(--kelvezu-frame-w);
    height: var(--kelvezu-frame-h);
    transform: scale(var(--kelvezu-scale)) rotate(var(--kelvezu-tilt));
    transform-origin: center;
    background-image: var(--kelvezu-image, none);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: calc(var(--kelvezu-frame-w) * var(--kelvezu-frames)) var(--kelvezu-frame-h);
    image-rendering: pixelated;
    filter:
        drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45))
        drop-shadow(0 0 22px rgba(216, 88, 48, 0.22));
    opacity: 0.62;
    transition: transform 600ms ease-out;
    animation: kelvezu-frames var(--kelvezu-frame-rate) steps(var(--kelvezu-frames)) infinite;
    will-change: background-position, transform;
}

.kelvezu-flight.is-reverse .kelvezu-sprite {
    transform: scale(var(--kelvezu-scale)) scaleX(-1) rotate(calc(-1 * var(--kelvezu-tilt)));
}

@keyframes kelvezu-frames {
    to {
        background-position: calc(-1 * var(--kelvezu-frame-w) * var(--kelvezu-frames)) 0;
    }
}

@media (max-width: 720px) {
    .kelvezu-flight {
        --kelvezu-scale: 0.62;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kelvezu-flight {
        display: none;
    }
}

.launch-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
}

.launch-modal[hidden] {
    display: none;
}

.launch-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 5, 0.82);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    animation: launch-fade 420ms ease both;
}

@keyframes launch-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.launch-card {
    position: relative;
    isolation: isolate;
    width: min(660px, 100%);
    margin: auto;
    padding: 38px 40px 30px;
    overflow: hidden;
    border: 1px solid rgba(216, 170, 88, 0.34);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(42, 35, 28, 0.97), rgba(17, 13, 9, 0.99));
    box-shadow:
        0 44px 90px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(216, 170, 88, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    animation: launch-rise 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes launch-rise {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.launch-glow {
    position: absolute;
    top: -160px;
    left: 50%;
    width: 620px;
    height: 420px;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(216, 170, 88, 0.22), transparent 62%),
        radial-gradient(circle at 70% 40%, rgba(107, 159, 249, 0.14), transparent 58%);
    animation: launch-glow-breathe 9s ease-in-out infinite;
}

@keyframes launch-glow-breathe {
    0%,
    100% {
        opacity: 0.75;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

.launch-embers {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.launch-embers span {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #ffd57b;
    box-shadow: 0 0 10px rgba(255, 213, 123, 0.7);
    opacity: 0;
    animation: launch-ember 12s linear infinite;
}

.launch-embers span:nth-child(1) { left: 7%; animation-delay: 0s; }
.launch-embers span:nth-child(2) { left: 17%; animation-delay: 4.2s; width: 3px; height: 3px; }
.launch-embers span:nth-child(3) { left: 27%; animation-delay: 8.1s; animation-duration: 14s; }
.launch-embers span:nth-child(4) { left: 38%; animation-delay: 2.3s; width: 5px; height: 5px; }
.launch-embers span:nth-child(5) { left: 48%; animation-delay: 6.4s; animation-duration: 15s; }
.launch-embers span:nth-child(6) { left: 59%; animation-delay: 10.2s; width: 3px; height: 3px; }
.launch-embers span:nth-child(7) { left: 69%; animation-delay: 1.4s; animation-duration: 13s; }
.launch-embers span:nth-child(8) { left: 79%; animation-delay: 5.6s; width: 5px; height: 5px; }
.launch-embers span:nth-child(9) { left: 88%; animation-delay: 9.3s; animation-duration: 16s; }
.launch-embers span:nth-child(10) { left: 95%; animation-delay: 3.1s; width: 3px; height: 3px; }

.launch-embers span:nth-child(3n) {
    background: #7dffae;
    box-shadow: 0 0 8px rgba(125, 255, 174, 0.6);
}

.launch-embers span:nth-child(4n) {
    background: #85b0fa;
    box-shadow: 0 0 8px rgba(133, 176, 250, 0.6);
}

@keyframes launch-ember {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    60% {
        transform: translate(14px, -320px) scale(0.75);
        opacity: 0.5;
    }
    100% {
        transform: translate(-8px, -560px) scale(0.4);
        opacity: 0;
    }
}

.launch-dragon {
    --kelvezu-frames: 5;
    --kelvezu-frame-w: 209px;
    --kelvezu-frame-h: 141px;
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.launch-dragon-path {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    will-change: transform;
}

.launch-dragon-bob {
    display: block;
    animation: launch-dragon-bob 4.4s ease-in-out infinite;
    will-change: transform;
}

@keyframes launch-dragon-bob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -9px, 0);
    }
}

.launch-dragon-sprite {
    --kelvezu-tilt: 0deg;
    display: block;
    width: var(--kelvezu-frame-w);
    height: var(--kelvezu-frame-h);
    transform: scale(0.46) rotate(var(--kelvezu-tilt));
    transform-origin: center;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: calc(var(--kelvezu-frame-w) * var(--kelvezu-frames)) var(--kelvezu-frame-h);
    image-rendering: pixelated;
    opacity: 0.34;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
    transition: transform 600ms ease-out;
    animation: kelvezu-frames 0.62s steps(var(--kelvezu-frames)) infinite;
    will-change: background-position, transform;
}

.launch-dragon.is-reverse .launch-dragon-sprite {
    transform: scale(0.46) scaleX(-1) rotate(calc(-1 * var(--kelvezu-tilt)));
}

.launch-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #e8dfc9;
    font-size: 20px;
    line-height: 1;
    transition:
        border-color 220ms ease,
        background 220ms ease,
        color 220ms ease;
}

.launch-close:hover {
    border-color: rgba(216, 170, 88, 0.5);
    background: rgba(216, 170, 88, 0.14);
    color: #fff3d6;
}

.launch-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.launch-eyebrow {
    margin: 0;
}

.launch-head .lang-switcher {
    margin: 0;
    flex: 0 0 auto;
}

.launch-head .lang-menu {
    left: auto;
    right: 0;
}

.launch-title {
    margin: 0 0 22px;
    font-size: clamp(23px, 3.4vw, 31px);
    line-height: 1.25;
    color: #fbf7ee;
}

.launch-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.launch-unit {
    position: relative;
    padding: 16px 8px 12px;
    border: 1px solid rgba(216, 170, 88, 0.26);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(180deg, rgba(216, 170, 88, 0.12), rgba(255, 255, 255, 0.01)),
        rgba(17, 13, 9, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.launch-unit strong {
    display: block;
    font-family: "Cinzel", serif;
    font-size: clamp(30px, 5vw, 42px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fdf8e9 0%, #f4e1b0 40%, #dcae5c 78%, #bd8e42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.launch-unit span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.launch-unit[data-tick] strong {
    animation: launch-tick 420ms ease;
}

@keyframes launch-tick {
    0% {
        transform: translateY(-4px);
        opacity: 0.35;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.launch-date {
    margin: 0 0 22px;
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.launch-live {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid rgba(120, 214, 150, 0.34);
    border-radius: 12px;
    background: rgba(120, 214, 150, 0.12);
    color: #bff0d1;
    font-size: 14px;
    font-weight: 700;
}

.launch-live[hidden] {
    display: none;
}

.launch-story {
    display: grid;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.launch-story p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.72;
}

.launch-beta {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(216, 170, 88, 0.24);
    border-left: 2px solid rgba(216, 170, 88, 0.62);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.1), rgba(216, 170, 88, 0.01));
    text-align: left;
}

.launch-beta p {
    margin: 0;
    color: #f0e3c6;
    font-size: 12.5px;
    line-height: 1.65;
}

.launch-beta-tag {
    flex: 0 0 auto;
    padding: 5px 11px;
    border: 1px solid rgba(216, 170, 88, 0.4);
    border-radius: 999px;
    background: rgba(216, 170, 88, 0.16);
    color: var(--gold-soft);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.launch-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.launch-dismiss {
    margin-top: 16px;
    padding: 6px 4px;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 220ms ease;
}

.launch-dismiss:hover {
    color: var(--gold-soft);
}

body.has-launch-modal,
body.has-modal-open {
    overflow: hidden;
}

@media (max-width: 620px) {
    .launch-modal {
        padding: 14px 12px;
    }

    .launch-card {
        padding: 26px 18px 20px;
    }

    .launch-title {
        margin-bottom: 16px;
        font-size: 21px;
    }

    .launch-countdown {
        gap: 8px;
        margin-bottom: 10px;
    }

    .launch-unit {
        padding: 11px 4px 9px;
    }

    .launch-unit span {
        margin-top: 6px;
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .launch-date {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .launch-story {
        gap: 10px;
        padding-top: 14px;
    }

    .launch-story p {
        font-size: 12.5px;
        line-height: 1.65;
    }

    .launch-beta {
        flex-direction: column;
        gap: 8px;
        margin-top: 14px;
        padding: 12px 14px;
    }

    .launch-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
        gap: 10px;
    }

    .launch-actions .button {
        width: 100%;
    }

    .launch-actions .button:first-child {
        grid-column: 1 / -1;
    }

    .launch-dragon {
        top: 157px;
    }

    .launch-dismiss {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .launch-backdrop,
    .launch-card,
    .launch-glow,
    .launch-embers span,
    .launch-unit[data-tick] strong,
    .launch-dragon-bob,
    .launch-dragon-sprite {
        animation: none;
    }

    .launch-embers span,
    .launch-dragon {
        opacity: 0;
    }
}

.header-admin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(216, 170, 88, 0.45);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.18), rgba(30, 25, 19, 0.92));
    color: #f5dfab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-admin svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.header-admin:hover,
.header-admin.is-active {
    border-color: rgba(216, 170, 88, 0.8);
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.3), rgba(38, 32, 26, 0.95));
    color: #fff4d8;
}

@media (min-width: 1041px) {
    .header-inner.is-gm {
        width: min(1360px, calc(100vw - 32px));
        gap: 6px;
    }
}

@media (min-width: 1041px) and (max-width: 1319px) {
    .header-inner.is-gm .header-admin {
        padding: 7px 10px;
    }

    .header-inner.is-gm .header-admin span {
        display: none;
    }
}

@media (min-width: 1041px) and (max-width: 1159px) {
    .header-inner.is-gm .brand-text strong {
        font-size: 20px;
    }

    .header-inner.is-gm .header-user {
        padding: 6px 10px 6px 6px;
    }

    .header-inner.is-gm .header-user-copy {
        display: none;
    }
}

.admin-shell {
    padding: 56px 0 72px;
}

.admin-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.admin-head-copy h1 {
    margin: 6px 0 8px;
    font-size: clamp(26px, 3vw, 36px);
}

.admin-head-copy p {
    margin: 0;
    max-width: 62ch;
    color: var(--muted);
}

.admin-head-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.admin-level {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid rgba(216, 170, 88, 0.45);
    border-radius: 999px;
    background: rgba(216, 170, 88, 0.12);
    color: #f5dfab;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-head-user {
    font-family: "Cinzel", serif;
    font-size: 15px;
    color: #eef2ff;
}

.admin-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.admin-option {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-option:hover {
    border-color: rgba(216, 170, 88, 0.5);
    background: var(--panel-strong);
    transform: translateY(-3px);
}

.admin-option.is-locked {
    opacity: 0.45;
}

.admin-option.is-locked:hover {
    border-color: var(--line);
    background: var(--panel);
    transform: none;
}

.admin-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(216, 170, 88, 0.3);
    border-radius: 14px;
    background: rgba(14, 11, 8, 0.7);
    font-size: 22px;
}

.admin-option-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-option-copy strong {
    font-family: "Cinzel", serif;
    font-size: 19px;
    color: #f2e6c8;
}

.admin-option-copy small {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

.admin-option-cta {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.admin-option.is-locked .admin-option-cta {
    color: var(--muted);
}

.admin-panel {
    margin-top: 28px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
}

.admin-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 34px 16px;
    text-align: center;
}

.admin-soon-icon {
    font-size: 34px;
    opacity: 0.8;
}

.admin-soon strong {
    font-family: "Cinzel", serif;
    font-size: 20px;
    color: #f2e6c8;
}

.admin-soon p {
    margin: 0;
    max-width: 48ch;
    color: var(--muted);
}

.admin-back {
    display: inline-flex;
}

@media (max-width: 980px) {
    .header-admin {
        order: 2;
        margin-left: 0;
        margin-right: 10px;
    }

    .admin-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-shell {
        padding: 36px 0 56px;
    }

    .admin-head {
        align-items: flex-start;
    }

    .admin-head-side {
        align-items: flex-start;
    }

    .admin-options {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .header-admin {
        padding: 6px 10px;
        margin-right: 8px;
    }

    .header-admin span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-option:hover {
        transform: none;
    }
}

.admin-finance {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-toolbar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-period {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.6);
    flex-wrap: wrap;
}

.admin-period-item {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    transition: background 140ms ease, color 140ms ease;
}

.admin-period-item:hover {
    color: #f2e6c8;
    background: rgba(216, 170, 88, 0.1);
}

.admin-period-item.is-active {
    color: #14110d;
    background: linear-gradient(180deg, #f5dfab, #d8aa58);
}

.admin-search {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(19, 15, 11, 0.75);
}

.admin-search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 320px;
    min-width: 0;
}

.admin-search-field span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-search-field input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.7);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.admin-search-field input::placeholder {
    color: #6f7a92;
}

.admin-search-field input:focus {
    border-color: rgba(216, 170, 88, 0.42);
    box-shadow: 0 0 0 4px rgba(216, 170, 88, 0.08);
}

.admin-search-field select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.7);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.admin-search-field select:focus {
    border-color: rgba(216, 170, 88, 0.42);
    box-shadow: 0 0 0 4px rgba(216, 170, 88, 0.08);
}

.admin-search-field.is-slim {
    flex: 0 1 220px;
}

.admin-search-send {
    box-sizing: border-box;
    height: 46px;
    min-height: 46px;
    padding: 0 24px;
    font-size: 13.5px;
}

a.admin-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-search a.admin-copy {
    height: 46px;
}

@media (max-width: 640px) {
    .admin-search-send,
    .admin-search a.admin-copy {
        width: 100%;
    }
}

.admin-warning {
    margin: 0;
    padding: 12px 16px;
    border: 1px solid rgba(216, 170, 88, 0.35);
    border-radius: 12px;
    background: rgba(216, 170, 88, 0.08);
    color: #f5dfab;
    font-size: 13px;
}

.admin-warning code {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 12px;
    opacity: 0.85;
}

.admin-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 17px;
    color: #f2e6c8;
}

.admin-block h4 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 15px;
    color: #f2e6c8;
}

.admin-block-sub {
    margin-top: 6px;
}

.admin-chip-aging-up {
    border-color: rgba(143, 227, 176, 0.4);
    color: #8fe3b0;
}

.admin-chip-aging-try {
    border-color: rgba(107, 159, 249, 0.4);
    color: #bcd3fc;
}

.admin-chip-aging-fail {
    border-color: rgba(255, 159, 143, 0.4);
    color: #ff9f8f;
}

.admin-chip-aging-restore {
    border-color: rgba(216, 170, 88, 0.45);
    color: #f5dfab;
}

.admin-chip-vendido {
    border-color: rgba(143, 227, 176, 0.4);
    color: #8fe3b0;
}

.admin-chip-ativo,
.admin-chip-disponivel {
    border-color: rgba(107, 159, 249, 0.4);
    color: #bcd3fc;
}

.admin-chip-cancelado,
.admin-chip-expirado {
    border-color: rgba(255, 159, 143, 0.4);
    color: #ff9f8f;
}

.admin-block-tag {
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-block-hint {
    margin: -6px 0 0;
    max-width: 78ch;
    font-size: 13px;
    color: var(--muted);
}

.admin-kpis {
    display: grid;
    gap: 12px;
}

.admin-kpis-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-kpis-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-kpi {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(19, 15, 11, 0.72);
}

.admin-kpi-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-kpi-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.1;
    color: #eef2ff;
    word-break: break-word;
}

.admin-kpi-value em {
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-kpi-sub {
    font-size: 12px;
    color: var(--muted);
}

.admin-kpi-gold {
    border-color: rgba(216, 170, 88, 0.4);
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.1), rgba(19, 15, 11, 0.8));
}

.admin-kpi-gold .admin-kpi-value {
    color: #f5dfab;
}

.admin-kpi-blue {
    border-color: rgba(107, 159, 249, 0.32);
}

.admin-kpi-blue .admin-kpi-value {
    color: #bcd3fc;
}

.admin-kpi-warn .admin-kpi-value {
    color: #ffb4a2;
}

.admin-pending {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.55);
    font-size: 12.5px;
    color: var(--muted);
}

.admin-pending-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5dfab;
}

.admin-pending strong {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    color: #eef2ff;
}

.admin-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-chart {
    margin: 0;
    padding: 16px 18px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(19, 15, 11, 0.72);
}

.admin-chart figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.admin-chart figcaption strong {
    font-size: 14px;
    color: #f2e6c8;
}

.admin-chart figcaption small {
    font-size: 11.5px;
    color: var(--muted);
}

.admin-chart-canvas svg {
    display: block;
    width: 100%;
    height: 210px;
}

.admin-chart-grid {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

.admin-chart-tick,
.admin-chart-day {
    fill: #7f8aa3;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
}

.admin-chart-value {
    fill: #eef2ff;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.admin-chart-bar {
    fill: #d8aa58;
    transition: fill 140ms ease;
}

.admin-chart-bar:hover {
    fill: #f5dfab;
}

.admin-chart-blue .admin-chart-bar {
    fill: #6b9ff9;
}

.admin-chart-blue .admin-chart-bar:hover {
    fill: #bcd3fc;
}

.admin-chart-empty {
    margin: 0;
    padding: 60px 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.admin-tables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-table-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(19, 15, 11, 0.72);
}

.admin-table-scroll {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.admin-table td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d9e2f1;
    white-space: nowrap;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table .is-num {
    text-align: right;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.admin-table .is-mono {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    color: #f2e6c8;
}

.admin-table .is-strong {
    color: #f5dfab;
    font-weight: 700;
}

.admin-table .is-pos {
    color: #8fe3b0;
}

.admin-table .is-neg {
    color: #ff9f8f;
}

.admin-table .is-empty {
    padding: 22px 10px;
    text-align: center;
    color: var(--muted);
}

.admin-table .is-note {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Precisa vencer o `.admin-tool small`, que pinta os textos de cinza. */
.admin-tool small.admin-tool-price {
    margin-top: 2px;
    color: #ff8d7a;
    font-weight: 800;
}

.admin-tool.is-active small.admin-tool-price {
    color: #ff9f8f;
}

.admin-give-alert-soft {
    margin: 0;
    padding: 9px 13px;
    border: 1px solid rgba(216, 170, 88, 0.4);
    border-radius: 11px;
    background: rgba(216, 170, 88, 0.08);
    color: #f5dfab;
    font-size: 12.5px;
    font-weight: 600;
}

.admin-empty-note {
    margin: 0;
    padding: 26px 20px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: rgba(19, 15, 11, 0.5);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.admin-mini-button {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid rgba(216, 170, 88, 0.45);
    border-radius: 999px;
    background: rgba(216, 170, 88, 0.1);
    color: #f5dfab;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease;
}

.admin-mini-button:hover {
    border-color: rgba(216, 170, 88, 0.7);
    background: rgba(216, 170, 88, 0.18);
}

.admin-inline-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.admin-inline-code,
.admin-inline-qty {
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: rgba(14, 11, 8, 0.7);
    color: var(--text);
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 12.5px;
    outline: none;
}

.admin-inline-code {
    width: 110px;
    text-transform: uppercase;
}

.admin-inline-qty {
    width: 68px;
}

.admin-inline-code:focus,
.admin-inline-qty:focus {
    border-color: rgba(216, 170, 88, 0.5);
}

.admin-mini-send {
    height: 34px;
    min-height: 34px;
    padding: 0 16px;
    font-size: 11px;
    white-space: nowrap;
}

.admin-hint-num {
    border-bottom: 1px dotted rgba(216, 170, 88, 0.5);
    cursor: help;
}

.admin-hint-num.is-tool {
    margin-left: 8px;
    border-bottom-color: rgba(255, 255, 255, 0.25);
    color: var(--muted);
    font-size: 11px;
}

.admin-table .is-restore {
    max-width: 250px;
    white-space: normal;
    word-break: break-word;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--muted);
}

.admin-chip {
    display: inline-flex;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-chip-compra {
    border-color: rgba(143, 227, 176, 0.4);
    color: #8fe3b0;
}

.admin-chip-saque {
    border-color: rgba(255, 159, 143, 0.4);
    color: #ff9f8f;
}

.admin-chip-cash,
.admin-chip-item {
    border-color: rgba(107, 159, 249, 0.4);
    color: #bcd3fc;
}

.admin-chip-comissao,
.admin-chip-recebimento {
    border-color: rgba(216, 170, 88, 0.4);
    color: #f5dfab;
}

.admin-chip-pix,
.admin-chip-binance {
    border-color: rgba(143, 227, 176, 0.4);
    color: #8fe3b0;
}

.admin-chip-carteira,
.admin-chip-loja {
    border-color: rgba(216, 170, 88, 0.4);
    color: #f5dfab;
}

@media (max-width: 1100px) {
    .admin-kpis-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-charts,
    .admin-tables {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .admin-kpis-3,
    .admin-kpis-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-chart-canvas svg {
        height: 180px;
    }
}

.admin-subnav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(14, 11, 8, 0.6);
}

.admin-subnav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    transition: background 140ms ease, color 140ms ease;
}

.admin-subnav-item span {
    font-size: 14px;
    line-height: 1;
}

.admin-subnav-item:hover {
    color: #f2e6c8;
    background: rgba(216, 170, 88, 0.1);
}

.admin-subnav-item.is-active {
    color: #14110d;
    background: linear-gradient(180deg, #f5dfab, #d8aa58);
}

.admin-subnav-back {
    margin-left: auto;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    transition: color 140ms ease, background 140ms ease;
}

.admin-subnav-back:hover {
    color: #f2e6c8;
    background: rgba(255, 255, 255, 0.05);
}

.admin-subnav + .admin-panel {
    margin-top: 16px;
}

@media (max-width: 720px) {
    .admin-subnav {
        gap: 2px;
    }

    .admin-subnav-item {
        padding: 8px 11px;
        font-size: 12.5px;
    }

    .admin-subnav-back {
        margin-left: 0;
    }
}

.admin-kpi-good {
    border-color: rgba(143, 227, 176, 0.38);
    background: linear-gradient(180deg, rgba(143, 227, 176, 0.08), rgba(19, 15, 11, 0.8));
}

.admin-kpi-good .admin-kpi-value {
    color: #8fe3b0;
}

.admin-kpi-warn {
    border-color: rgba(255, 180, 162, 0.32);
}

.admin-formula {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.55);
    font-size: 12.5px;
    color: var(--muted);
}

.admin-formula-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5dfab;
}

.admin-formula strong {
    margin-left: 6px;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    color: #eef2ff;
}

.admin-formula-op {
    color: #7f8aa3;
    font-size: 14px;
}

.admin-formula-total strong {
    margin-left: 0;
    color: #8fe3b0;
    font-size: 15px;
}

.admin-formula small {
    margin-left: auto;
    font-size: 11.5px;
    color: var(--muted);
}

.admin-flow {
    display: flex;
    align-items: stretch;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(14, 11, 8, 0.55);
}

.admin-flow-side {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 220px;
    flex: 1 1 220px;
}

.admin-flow-side > span {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 12.5px;
    color: var(--muted);
}

.admin-flow-side > span strong {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    color: #d9e2f1;
}

.admin-flow-side > span.is-warn strong {
    color: #ffcf8b;
}

.admin-flow-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-flow-in {
    color: #8fe3b0;
}

.admin-flow-out {
    color: #ff9f8f;
}

.admin-flow-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
    min-width: 180px;
}

.admin-flow-result span {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-flow-result strong {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 19px;
    color: #f5dfab;
}

.admin-flow p {
    flex: 1 1 100%;
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 720px) {
    .admin-flow-result {
        padding-left: 0;
        padding-top: 12px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .admin-formula small {
        margin-left: 0;
    }
}

.admin-withdraw {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.bg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.bg-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease;
}

.bg-option:hover {
    border-color: rgba(216, 170, 88, 0.45);
}

.bg-option.is-active {
    border-color: rgba(216, 170, 88, 0.7);
    background: rgba(216, 170, 88, 0.07);
}

.bg-option img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.4);
}

.bg-option input {
    position: absolute;
    top: 18px;
    left: 18px;
    accent-color: var(--gold);
}

.bg-info {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.bg-info strong {
    color: var(--text);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.bg-info span {
    color: var(--muted);
    font-size: 11.5px;
}

.bg-mark {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(216, 170, 88, 0.9);
    color: #241a08;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bg-upload {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

.bg-upload-field {
    display: grid;
    gap: 6px;
    min-width: 260px;
}

.bg-upload-field span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bg-upload-field input {
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 13px;
}

.bg-remove {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bg-remove .button {
    font-size: 11.5px;
    padding: 7px 14px;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.palette-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease;
}

.palette-option:hover {
    border-color: rgba(216, 170, 88, 0.45);
}

.palette-option.is-active {
    border-color: rgba(216, 170, 88, 0.7);
    background: rgba(216, 170, 88, 0.07);
}

.palette-option input {
    flex: 0 0 auto;
    accent-color: var(--gold);
}

.palette-swatch {
    flex: 0 0 auto;
    display: flex;
    gap: 3px;
}

.palette-swatch i {
    width: 18px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.palette-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 3px;
}

.palette-copy strong {
    color: var(--text);
    font-size: 14px;
}

.palette-copy span {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.palette-mark {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.palette-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.palette-note {
    flex: 1;
    min-width: 220px;
    color: var(--muted);
    font-size: 12.5px;
}

@media (max-width: 620px) {
    .palette-option {
        flex-wrap: wrap;
    }

    .palette-copy {
        flex-basis: 100%;
        order: 3;
    }
}

.admin-flash {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.6);
    font-size: 13.5px;
    color: #d9e2f1;
}

.admin-flash-success {
    border-color: rgba(143, 227, 176, 0.45);
    background: rgba(143, 227, 176, 0.1);
    color: #8fe3b0;
}

.admin-flash-error {
    border-color: rgba(255, 159, 143, 0.45);
    background: rgba(255, 159, 143, 0.1);
    color: #ff9f8f;
}

.admin-order {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(19, 15, 11, 0.75);
}

.admin-order.is-late {
    border-color: rgba(255, 159, 143, 0.42);
    background: linear-gradient(180deg, rgba(255, 159, 143, 0.07), rgba(19, 15, 11, 0.8));
}

.admin-order-head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.admin-order-head > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.admin-order-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-order-head strong {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 20px;
    color: #eef2ff;
    word-break: break-word;
}

.admin-order-id {
    font-size: 24px !important;
    color: #f2e6c8 !important;
}

.admin-order-amount strong {
    font-size: 26px;
    color: #8fe3b0;
}

.admin-order-head small {
    font-size: 12.5px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-order-when strong {
    font-size: 16px;
}

.is-late-text {
    color: #ff9f8f !important;
}

.admin-order-key {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border: 1px dashed rgba(216, 170, 88, 0.4);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.6);
}

.admin-order-key code {
    flex: 1 1 240px;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 17px;
    color: #f5dfab;
    word-break: break-all;
}

.admin-copy {
    padding: 9px 16px;
    border: 1px solid rgba(216, 170, 88, 0.45);
    border-radius: 10px;
    background: rgba(216, 170, 88, 0.12);
    color: #f5dfab;
    font-family: "Manrope", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.admin-copy:hover {
    background: rgba(216, 170, 88, 0.22);
    color: #fff4d8;
}

.admin-copy.is-done {
    border-color: rgba(143, 227, 176, 0.5);
    background: rgba(143, 227, 176, 0.16);
    color: #8fe3b0;
}

.admin-order-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-order-foot form {
    margin: 0;
}

.admin-order-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-order-refund {
    border-color: rgba(226, 116, 116, 0.45);
    color: #f0bcbc;
}

.admin-order-refund:hover {
    border-color: rgba(226, 116, 116, 0.8);
    color: #ffd9d9;
}

.admin-order-tx {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 11.5px;
    color: #6f7a92;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.admin-order-send {
    padding: 0 22px;
    height: 44px;
    font-size: 13.5px;
}

.admin-table form {
    margin: 0;
}

.admin-run {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-run-alert {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 105, 97, 0.45);
    border-left-width: 3px;
    border-radius: 14px;
    background: rgba(255, 105, 97, 0.08);
}

.admin-run-alert strong {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff9f8f;
}

.admin-run-steps {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding-left: 20px;
    color: #ffcbc3;
    font-size: 13px;
    line-height: 1.5;
}

.admin-run-steps li::marker {
    color: #ff9f8f;
    font-weight: 700;
}

.admin-run-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.admin-run-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    align-items: end;
}

.admin-run-form .admin-search-field {
    flex: none;
}

.admin-run-dup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    border: 1px solid rgba(216, 170, 88, 0.45);
    border-left-width: 3px;
    border-radius: 14px;
    background: rgba(216, 170, 88, 0.08);
}

.admin-run-dup strong {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f5dfab;
}

.admin-run-dup ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
    color: #f0e2c2;
    font-size: 13px;
    line-height: 1.5;
}

.admin-run-dup span {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.admin-run-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
    cursor: pointer;
}

.admin-run-check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: #d8aa58;
}

.admin-run-send {
    box-sizing: border-box;
    align-self: flex-start;
    min-width: 260px;
    height: 46px;
    min-height: 46px;
}

.admin-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.admin-tool {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(19, 15, 11, 0.75);
    color: var(--muted);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.admin-tool:hover {
    border-color: rgba(216, 170, 88, 0.35);
    color: var(--text);
}

.admin-tool.is-active {
    border-color: rgba(216, 170, 88, 0.55);
    background: rgba(216, 170, 88, 0.1);
    color: var(--text);
}

.admin-tool-icon {
    font-size: 20px;
    line-height: 1;
}

.admin-tool strong {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
}

.admin-tool small {
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--muted);
}

.admin-give {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}


.admin-give-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(19, 15, 11, 0.75);
}

.admin-give-icon {
    font-size: 26px;
    line-height: 1;
}

.admin-give-title {
    font-size: 17px;
    color: #f2e6c8;
}

.admin-give-text {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.admin-give-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.admin-give-card .admin-search-field {
    flex: none;
}

@media (max-width: 640px) {
    .admin-give-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.admin-give-card select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(14, 11, 8, 0.7);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    outline: none;
}

.admin-give-card select:focus {
    border-color: rgba(216, 170, 88, 0.42);
}

.admin-give-send {
    box-sizing: border-box;
    height: 46px;
    min-height: 46px;
    margin-top: auto;
    font-size: 13.5px;
}

.admin-give-wide {
    grid-column: 1 / -1;
}

.admin-give-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
    cursor: pointer;
}

.admin-give-check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: #d8aa58;
}

.admin-chip-good {
    border-color: rgba(143, 227, 176, 0.4);
    color: #8fe3b0;
}

.admin-chip-warn {
    border-color: rgba(216, 170, 88, 0.45);
    color: #f5dfab;
}

.admin-chip-bad {
    border-color: rgba(255, 159, 143, 0.45);
    color: #ff9f8f;
}

.admin-last-send {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border: 1px solid rgba(216, 170, 88, 0.35);
    border-radius: 14px;
    background: rgba(216, 170, 88, 0.08);
    font-size: 13px;
    color: #d9e2f1;
}

.admin-last-send-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-last-send-gm {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 15px;
    color: #f5dfab;
}

.admin-last-send-what {
    color: #eef2ff;
}

.admin-last-send-to strong {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    color: #f2e6c8;
}

.admin-last-send-when {
    margin-left: auto;
    color: var(--muted);
}

@media (max-width: 720px) {
    .admin-last-send-when {
        margin-left: 0;
    }
}

.admin-dist-thumb {
    width: 46px;
}

.admin-dist-thumb img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    image-rendering: pixelated;
}

.admin-block-tag.is-on-tag {
    border-color: rgba(143, 227, 176, 0.45);
    color: #8fe3b0;
}

.admin-block-tag.is-warn-tag {
    border-color: rgba(255, 159, 143, 0.45);
    color: #ff9f8f;
}

.admin-chip-item {
    border-color: rgba(107, 159, 249, 0.4);
    color: #bcd3fc;
}

.admin-chip-vip {
    border-color: rgba(216, 170, 88, 0.4);
    color: #f5dfab;
}

.admin-chip-ic {
    border-color: rgba(107, 159, 249, 0.4);
    color: #bcd3fc;
}

.admin-chip-migracao {
    border-color: rgba(179, 152, 255, 0.4);
    color: #d3c4ff;
}

.admin-chip-ban {
    border-color: rgba(255, 159, 143, 0.4);
    color: #ff9f8f;
}

.admin-chip-unban {
    border-color: rgba(143, 227, 176, 0.4);
    color: #8fe3b0;
}

.admin-ban-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
}

.admin-ban-state strong {
    font-size: 13px;
    color: #8fe3b0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-ban-send {
    border-color: rgba(255, 159, 143, 0.55) !important;
    background: linear-gradient(180deg, rgba(255, 159, 143, 0.22), rgba(255, 159, 143, 0.08)) !important;
    color: #ffd7cf !important;
}

.admin-ban-send:hover {
    background: linear-gradient(180deg, rgba(255, 159, 143, 0.32), rgba(255, 159, 143, 0.14)) !important;
}

@media (max-width: 860px) {
    .admin-order-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .admin-order-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-order-send {
        width: 100%;
    }
}

.market-vip-card.is-owned {
    border-color: rgba(143, 227, 176, 0.75);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(143, 227, 176, 0.35);
}

.market-vip-chip-active {
    color: #8fe3b0 !important;
    background: #1b2a20 !important;
}

.market-vip-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--vip-ink), #16100a);
    box-shadow: inset 0 0 0 1px rgba(143, 227, 176, 0.28);
}

.market-vip-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #8fe3b0;
    box-shadow: 0 0 0 4px rgba(143, 227, 176, 0.2);
    flex-shrink: 0;
}

.market-vip-status-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.market-vip-status-copy strong {
    font-size: 13px;
    font-weight: 700;
    color: #8fe3b0;
}

.market-vip-status-copy small {
    font-size: 11.5px;
    color: rgba(245, 223, 171, 0.72);
}

@media (max-width: 560px) {
    .market-vip-status {
        padding: 9px 12px;
    }

    .market-vip-status-copy strong {
        font-size: 12px;
    }
}

.pvp-search {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin: 0 0 18px;
}

.pvp-search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 260px;
    min-width: 0;
}

.pvp-search-field span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pvp-search-field input {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: 999px;
    background: rgba(21, 17, 13, 0.9);
    color: var(--text);
    font-size: 14px;
}

.pvp-search-field input:focus {
    outline: none;
    border-color: rgba(216, 170, 88, 0.65);
}

.pvp-search-clear {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-decoration: underline;
}

.pvp-search-clear:hover {
    color: var(--gold-soft);
}

.pvp-log-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 14px;
}

.pvp-log-search input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid rgba(216, 170, 88, 0.28);
    border-radius: 999px;
    background: rgba(21, 17, 13, 0.9);
    color: var(--text);
    font-size: 13px;
}

.pvp-log-search input:focus {
    outline: none;
    border-color: rgba(216, 170, 88, 0.65);
}

.pvp-log-search .wallet-secondary-button {
    flex-shrink: 0;
}

.pvp-log-search-clear {
    flex-shrink: 0;
    padding: 0 6px;
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
    cursor: var(--site-cursor-active), pointer;
}

.pvp-log-search-clear:hover {
    color: var(--gold-soft);
}

.pvp-log-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: 0.02em;
    text-align: center;
}

.pvp-row {
    cursor: var(--site-cursor-active), pointer;
}

.pvp-row.is-found {
    background: rgba(216, 170, 88, 0.14);
    box-shadow: inset 3px 0 0 rgba(216, 170, 88, 0.75);
}

.pvp-row:hover,
.pvp-row:focus-visible {
    background: rgba(216, 170, 88, 0.09);
    outline: none;
}

.pvp-row:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(216, 170, 88, 0.5);
}

.pvp-row-hint {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 160ms ease;
}

.pvp-row:hover .pvp-row-hint,
.pvp-row:focus-visible .pvp-row-hint {
    opacity: 1;
    color: var(--gold-soft);
}

.pvp-table .rank-col-kills,
.pvp-table .rank-col-members {
    text-align: center;
}

.pvp-kills,
.pvp-deaths,
.pvp-kd {
    font-family: "Cinzel", serif;
    font-size: 15px;
}

.pvp-kills {
    color: #8fe3b0;
}

.pvp-deaths {
    color: #ff9d9d;
}

.pvp-kd {
    color: var(--gold-soft);
}

.pvp-box {
    width: min(720px, 100%);
    max-height: min(86vh, 720px);
    text-align: left;
    gap: 14px;
    overflow: hidden;
}

.pvp-box-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pvp-box-class {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    border: 1px solid rgba(216, 170, 88, 0.3);
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
}

.pvp-box-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pvp-box-title h4 {
    text-align: left;
    font-size: 1.2rem;
}

.pvp-box-meta {
    color: var(--muted);
    font-size: 12.5px;
}

.pvp-box-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pvp-stat {
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.6);
    text-align: center;
}

.pvp-stat strong {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 20px;
    color: var(--gold-soft);
}

.pvp-stat span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pvp-stat.is-kill strong {
    color: #8fe3b0;
}

.pvp-stat.is-death strong {
    color: #ff9d9d;
}

.pvp-feedback {
    margin: 0;
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(216, 170, 88, 0.3);
    background: rgba(13, 11, 8, 0.5);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.pvp-log {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(13, 11, 8, 0.55);
    overflow: hidden;
}

.pvp-log-head,
.pvp-log-row {
    display: grid;
    grid-template-columns: 130px 108px minmax(0, 1fr) 130px;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
}

.pvp-log-head {
    border-bottom: 1px solid rgba(216, 170, 88, 0.25);
    background: linear-gradient(180deg, rgba(216, 170, 88, 0.1), rgba(216, 170, 88, 0.02));
    color: var(--gold-soft);
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pvp-log-rows {
    overflow-y: auto;
    max-height: 320px;
}

.pvp-log-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #d5deee;
}

.pvp-log-row:last-child {
    border-bottom: 0;
}

.pvp-log-date {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.pvp-log-type {
    font-family: "Cinzel", serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pvp-log-row.is-kill .pvp-log-type {
    color: #8fe3b0;
}

.pvp-log-row.is-death .pvp-log-type {
    color: #ff9d9d;
}

.pvp-log-rival {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pvp-log-rival img {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    border: 1px solid rgba(216, 170, 88, 0.25);
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
}

.pvp-log-rival strong {
    color: #f4efe2;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pvp-log-rival em {
    color: var(--muted);
    font-size: 11.5px;
    font-style: normal;
    white-space: nowrap;
}

.pvp-log-map {
    color: var(--muted);
    font-size: 12px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .pvp-log-head,
    .pvp-log-row {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 4px 10px;
    }

    .pvp-log-head span:nth-child(3),
    .pvp-log-head span:nth-child(4) {
        display: none;
    }

    .pvp-log-rival {
        grid-column: 1 / -1;
    }

    .pvp-log-map {
        grid-column: 1 / -1;
        text-align: left;
    }
}
