:root {
    --bg: #05070d;
    --bg-soft: #0a1019;
    --panel: rgba(16, 22, 36, 0.8);
    --panel-strong: rgba(12, 18, 31, 0.95);
    --line: rgba(255, 255, 255, 0.1);
    --text: #eef2ff;
    --muted: #a7b2cb;
    --gold: #d8aa58;
    --gold-soft: #f5dfab;
    --blue: #65b7ff;
    --blue-soft: rgba(101, 183, 255, 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;
}

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(101, 183, 255, 0.14), transparent 24%),
        linear-gradient(180deg, #04060b 0%, #060910 45%, #04060b 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(30, 41, 73, 0.96), rgba(10, 16, 30, 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(48, 63, 108, 0.98), rgba(14, 20, 38, 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 {
    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(8, 15, 32, 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(8, 15, 32, 0.94), rgba(4, 8, 18, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(84, 123, 230, 0.14),
        inset 0 2px 6px rgba(0, 0, 0, 0.28);
}

.market-module-page .market-main::-webkit-scrollbar-thumb {
    border: 2px solid rgba(8, 15, 32, 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,
.market-module-page .market-item-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.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.82;
}

.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 {
    flex: 1 1 auto;
    min-height: 0;
    gap: 8px;
}

.market-module-page .market-cashstore-panel {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

.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 {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.market-module-page .market-character-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%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.72) rgba(8, 15, 32, 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(8, 15, 32, 0.94), rgba(4, 8, 18, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(84, 123, 230, 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(8, 15, 32, 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(101, 183, 255, 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 220ms ease, filter 220ms ease;
}

.floating-shortcut:hover,
.floating-shortcut:focus-visible {
    transform: translateX(-4px);
}

.floating-shortcut:focus-visible {
    outline: none;
}

.floating-shortcut-aura,
.floating-shortcut-panel {
    position: absolute;
    inset: 0;
}

.floating-shortcut-aura {
    inset: -8px -10px;
    border-radius: 30px;
    filter: blur(16px);
    opacity: 0.9;
    pointer-events: none;
}

.floating-discord-aura {
    background:
        radial-gradient(circle at center, rgba(88, 101, 242, 0.22), transparent 58%),
        radial-gradient(circle at 25% 20%, rgba(216, 170, 88, 0.1), transparent 32%);
}

.floating-player-aura {
    background:
        radial-gradient(circle at center, rgba(216, 170, 88, 0.24), transparent 58%),
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.12), transparent 34%);
}

.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(24, 32, 52, 0.96), rgba(8, 12, 22, 0.99)),
        rgba(255, 255, 255, 0.02);
    box-shadow:
        0 30px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(88, 101, 242, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.floating-shortcut-panel::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02));
}

.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, rgba(216, 170, 88, 0.22), rgba(88, 101, 242, 0.16));
    opacity: 0.7;
    z-index: 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);
}

.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-discord-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.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;
}

.floating-shortcut-label small {
    color: #aeb8d4;
    font-size: 11px;
    line-height: 1.2;
}

@keyframes discordFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes shortcutPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 14px 22px rgba(88, 101, 242, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: scale(1.08);
        box-shadow:
            0 18px 30px rgba(88, 101, 242, 0.34),
            0 0 22px rgba(88, 101, 242, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
}

.floating-shortcut-aura {
    animation: discordFloat 6s ease-in-out infinite;
}

.floating-discord-icon,
.floating-player-icon {
    animation: shortcutPulse 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .floating-shortcut-aura,
    .floating-discord-icon,
    .floating-player-icon {
        animation: 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(5, 7, 13, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.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);
}

.brand-text small {
    color: var(--muted);
    font-size: 13px;
}

.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: #d3dbef;
    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;
}

.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(20, 27, 42, 0.9), rgba(9, 13, 23, 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(5, 8, 15, 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 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) brightness(0.55);
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 6, 11, 0.9) 0%, rgba(4, 6, 11, 0.76) 44%, rgba(4, 6, 11, 0.55) 100%),
        radial-gradient(circle at 18% 24%, rgba(216, 170, 88, 0.18), transparent 26%),
        radial-gradient(circle at 78% 24%, rgba(101, 183, 255, 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(101, 183, 255, 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(101, 183, 255, 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(101, 183, 255, 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(18, 25, 39, 0.9), rgba(8, 12, 21, 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(18, 25, 39, 0.9), rgba(8, 12, 21, 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(18, 25, 39, 0.76), rgba(8, 12, 21, 0.94));
}

.hero-flip-front::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 6, 11, 0) 0%, rgba(4, 6, 11, 0.18) 45%, rgba(4, 6, 11, 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(101, 183, 255, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(18, 25, 39, 0.95), rgba(8, 12, 21, 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(14, 19, 32, 0.82), rgba(8, 12, 21, 0.92)),
        rgba(10, 14, 24, 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: #d8dfef;
    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: #d9e0f1;
}

.hero-flip-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.5), rgba(255, 255, 255, 0.08), rgba(101, 183, 255, 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(7, 11, 18, 0.7);
    color: #dce3f4;
    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(18, 24, 38, 0.9), rgba(8, 12, 21, 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(24, 31, 48, 0.96), rgba(10, 15, 26, 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: #d8deef;
    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(101, 183, 255, 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(101, 183, 255, 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(16, 22, 36, 0.97), rgba(7, 10, 18, 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(18, 24, 38, 0.96), rgba(8, 12, 20, 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: #cdd6ea;
    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(6, 11, 24, 0.72);
}

.market-sidebar-note strong {
    color: #fff0cd;
    font-size: 15px;
}

.market-sidebar-note span {
    color: #cfd9ef;
    font-size: 12px;
    line-height: 1.65;
}

.market-main {
    display: grid;
    gap: 14px;
}

.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: #cdd6ea;
    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: #d7e1f6;
    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(18, 24, 38, 0.95), rgba(8, 12, 20, 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(6, 10, 20, 0.6);
    color: #cdd6ea;
    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: #d4ddef;
    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-compact-grid {
    display: grid;
    gap: 10px;
}

.market-character-grid,
.market-item-grid {
    grid-template-columns: repeat(4, minmax(0, 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(8, 12, 21, 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-character-scroll {
    max-height: min(72vh, 760px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding-right: 6px;
    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-right: 6px;
}

.market-item-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    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: 88, 150, 255;
}

.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: #fff;
    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 / 1;
}

.market-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
}

.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(84, 123, 230, 0.18);
    border-radius: 12px;
    background: rgba(7, 12, 24, 0.82);
    color: #dfe7f6;
    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(19, 29, 52, 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-cash-buy-form {
    margin-top: auto;
}

.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(84, 123, 230, 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(101, 183, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(14, 30, 66, 0.96), rgba(8, 14, 30, 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: #d0daef;
    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(10, 16, 30, 0.82);
}

.market-cash-rate-card span {
    color: #aebcdc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.market-cash-rate-card strong,
.market-cash-offer {
    color: #fff0cd;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.market-cash-offer {
    margin: 0;
}

.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(9, 16, 34, 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(44, 58, 98, 0.98), rgba(14, 20, 38, 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;
}

.market-cash-buy-form .market-action-button {
    flex: 1;
}

.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(10, 16, 30, 0.82);
}

.market-wallet-rate-banner span {
    color: #aebcdc;
    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: #dfe7f6;
    font-size: 13px;
    font-weight: 700;
}

.market-wallet-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(84, 123, 230, 0.2);
    border-radius: 16px;
    background: rgba(6, 10, 20, 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(6, 10, 20, 0.72);
}

.market-wallet-meta-card span {
    color: #aebcdc;
    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(6, 10, 20, 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: #aebcdc;
    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 {
    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-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(84, 123, 230, 0.42);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(84, 123, 230, 0.24), rgba(12, 25, 58, 0.82));
    color: #dbe6ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 1px rgba(84, 123, 230, 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(84, 123, 230, 0.85);
    background: linear-gradient(180deg, rgba(84, 123, 230, 0.36), rgba(12, 25, 58, 0.9));
    box-shadow: 0 0 18px rgba(84, 123, 230, 0.35), inset 0 0 0 1px rgba(84, 123, 230, 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(101, 183, 255, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(12, 25, 58, 0.98), rgba(6, 12, 28, 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(84, 123, 230, 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(101, 183, 255, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(15, 31, 71, 0.96), rgba(7, 13, 28, 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: #d0daef;
    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(6, 10, 20, 0.68);
}

.character-mini-card span,
.character-side-stat span,
.character-equipment-item span {
    color: #aebcdc;
    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(6, 10, 20, 0.68);
    color: #d0daef;
    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(101, 183, 255, 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: #d5def1;
    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(18, 25, 39, 0.88), rgba(8, 12, 21, 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: #e0e6f5;
    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(101, 183, 255, 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(18, 25, 39, 0.9), rgba(8, 12, 21, 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: #cad5eb;
    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(101, 183, 255, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(18, 25, 39, 0.92), rgba(8, 12, 21, 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(101, 183, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(16, 22, 36, 0.94), rgba(7, 10, 18, 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(101, 183, 255, 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: #d3dcf0;
    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(6, 10, 17, 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(6, 10, 17, 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(9, 14, 24, 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 #0a0f1a 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 #0a0f1a 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 #0a0f1a 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(18, 25, 39, 0.78), rgba(8, 12, 21, 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: #d3dcf0;
    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(6, 10, 17, 0.75);
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 170, 88, 0.72) rgba(8, 15, 32, 0.9);
}

.register-terms-scroll::-webkit-scrollbar {
    width: 10px;
}

.register-terms-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(8, 15, 32, 0.94), rgba(4, 8, 18, 0.98));
}

.register-terms-scroll::-webkit-scrollbar-thumb {
    border: 2px solid rgba(8, 15, 32, 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(24, 30, 48, 0.94), rgba(10, 14, 26, 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: #d7e0f4;
}

.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;
}

.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(101, 183, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(18, 25, 39, 0.92), rgba(8, 12, 21, 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(7, 11, 18, 0.62);
    color: #d8e0f1;
    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: #80c6ff;
}

.accent-panel {
    background:
        linear-gradient(140deg, rgba(216, 170, 88, 0.16), rgba(101, 183, 255, 0.08)),
        linear-gradient(180deg, rgba(18, 25, 39, 0.94), rgba(8, 12, 21, 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(101, 183, 255, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(18, 25, 39, 0.95), rgba(8, 12, 21, 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(3, 5, 10, 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(7, 11, 19, 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: 122px;
    max-height: 122px;
    object-fit: cover;
}

.market-module-page .market-character-card .market-card-body {
    gap: 8px !important;
    padding: 10px !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;
    max-width: 720px;
}

.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(101, 183, 255, 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(5, 8, 14, 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(101, 183, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(101, 183, 255, 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(101, 183, 255, 0.45);
    background: rgba(101, 183, 255, 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(101, 183, 255, 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(101, 183, 255, 0.18), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(216, 170, 88, 0.2), transparent 55%),
        linear-gradient(150deg, #101625 0%, #0a0f1a 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(5, 8, 14, 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;
}

/* --- Cards e paineis --- */

.wallet-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 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(5, 8, 14, 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(101, 183, 255, 0.35);
    background: rgba(101, 183, 255, 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-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: 2px;
}

.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 {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.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(8, 15, 32, 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(8, 15, 32, 0.94), rgba(4, 8, 18, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(84, 123, 230, 0.14),
        inset 0 2px 6px rgba(0, 0, 0, 0.28);
}

.market-module-page .wallet-shell::-webkit-scrollbar-thumb {
    border: 2px solid rgba(8, 15, 32, 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(101, 183, 255, 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(3, 5, 10, 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(101, 183, 255, 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(5, 8, 14, 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-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;
}

.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, #000 45%, transparent 82%);
    mask-image: linear-gradient(to left, #000 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(8, 12, 21, 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(101, 183, 255, 0.18), transparent 55%),
        radial-gradient(circle at 20% 85%, rgba(216, 170, 88, 0.2), transparent 55%),
        linear-gradient(150deg, #131a2b 0%, #0a0f1a 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:
        radial-gradient(circle at 50% 32%, rgba(216, 170, 88, 0.16), transparent 62%),
        linear-gradient(150deg, #141c2e 0%, #0a0f1a 100%);
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.5);
    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-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: #cdd6ea;
    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: #cdd6ea;
    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 {
    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 {
    width: 8px;
}

.market-cashstore-panel::-webkit-scrollbar-thumb {
    background: rgba(216, 170, 88, 0.4);
    border-radius: 999px;
}

.market-cashstore-panel::-webkit-scrollbar-track {
    background: transparent;
}

.market-cashstore-panel[hidden] {
    display: none;
}

.market-vip-wrap {
    display: grid;
    gap: 16px;
}

.market-vip-card {
    position: relative;
    display: flex;
    min-height: 232px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(216, 170, 88, 0.65);
    background:
        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%);
    color: #241804;
    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: rgba(58, 39, 7, 0.14);
    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, #000 62%, transparent 96%);
    mask-image: linear-gradient(to left, #000 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: rgba(58, 39, 7, 0.72);
}

.market-vip-card-chip {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-soft);
    background: #241804;
    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: rgba(58, 39, 7, 0.62);
}

.market-vip-card-holder strong {
    font-family: "Cinzel", serif;
    font-size: 27px;
    line-height: 1.05;
    color: #201502;
    word-break: break-word;
}

.market-vip-card-intro {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(36, 24, 4, 0.84);
}

.market-vip-card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.market-vip-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.market-vip-price strong {
    font-size: 25px;
    color: #201502;
}

.market-vip-price span {
    font-size: 13px;
    font-weight: 700;
    color: rgba(58, 39, 7, 0.75);
}

.market-vip-button {
    flex: none;
    background: #241804;
    color: var(--gold-soft);
    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: #cdd6ea;
    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 {
    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(101, 183, 255, 0.28);
    background:
        radial-gradient(circle at 12% 20%, rgba(101, 183, 255, 0.14), transparent 60%),
        linear-gradient(150deg, rgba(101, 183, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.market-listings-earned.is-potential .market-listings-earned-icon {
    background: rgba(101, 183, 255, 0.14);
    border-color: rgba(101, 183, 255, 0.32);
}

.market-listings-earned.is-potential .market-listings-earned-value {
    color: #a9d4ff;
}

.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-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, #141c2e, #0a0f1a);
    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-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;
    gap: 6px;
    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-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-benefits {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0 22px;
}

.market-vip-benefits-title {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-soft);
    padding: 18px 0 14px;
    border-bottom: 1px solid var(--line);
}

.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: 15px;
    padding: 16px 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: rgba(216, 170, 88, 0.14);
    border: 1px solid rgba(216, 170, 88, 0.35);
    color: var(--gold);
    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-button {
        width: 100%;
    }
}

/* VIP compacto dentro do modulo do jogo (800x600) */
.market-module-page .market-vip-wrap {
    gap: 8px;
}

.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-benefits {
    padding: 0 12px;
    border-radius: 12px;
}

.market-module-page .market-vip-benefits-title {
    padding: 10px 0 8px;
    font-size: 8px;
}

.market-module-page .market-vip-perk {
    gap: 9px;
    padding: 8px 0;
}

.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(5, 8, 14, 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(101, 183, 255, 0.4);
    background: rgba(101, 183, 255, 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, #070a12, #04060b);
    box-shadow: inset 0 0 0 1px rgba(216, 170, 88, 0.1);
}

body::-webkit-scrollbar-thumb {
    border: 2px solid #070a12;
    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(4, 6, 11, 0.82);
}

.brand-text strong {
    background: linear-gradient(180deg, #fdf8e9 0%, #f0d9a0 48%, #cf9c4c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(216, 170, 88, 0.25));
}

.site-nav {
    gap: 2px;
}

.site-nav a {
    padding: 10px 9px;
    border-radius: 3px;
    font-family: "Cinzel", serif;
    font-size: 11.5px;
    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 9px;
    font-size: 11.5px;
    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(33, 41, 60, 0.96), rgba(12, 17, 28, 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(19, 25, 38, 0.92), rgba(8, 12, 21, 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(19, 25, 38, 0.94), rgba(7, 10, 18, 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(5, 8, 14, 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);
}

.showcase-actions {
    justify-content: center;
    margin-top: 28px;
}

.market-showcase-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.market-showcase-grid .market-card-media {
    padding: 8px 8px 0;
}

.market-showcase-grid .market-card-media img {
    aspect-ratio: 1 / 0.92;
    border-radius: 10px;
}

.market-showcase-grid .market-card-body {
    padding: 12px;
    gap: 8px;
}

.market-showcase-grid .market-card h3 {
    font-size: 16px;
}

.market-showcase-grid .market-card-kicker {
    font-size: 10px;
}

.market-showcase-grid .market-character-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.market-showcase-grid .market-character-meta span {
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
}

.market-showcase-grid .market-price {
    font-size: 15px;
}

.market-showcase-grid .market-item-badge {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
}

.market-showcase-grid .market-card-status {
    top: 14px;
    right: 14px;
    font-size: 9px;
}

.market-showcase-grid .market-card {
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        opacity 340ms ease;
}

.market-showcase-grid .market-card.is-swapping {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition:
        transform 340ms ease,
        opacity 340ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .market-showcase-grid .market-card.is-swapping {
        transform: none;
        transition: opacity 200ms ease;
    }
}

@media (max-width: 1024px) {
    .market-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .market-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.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(17, 23, 36, 0.9), rgba(8, 12, 21, 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(5, 8, 14, 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(20, 27, 42, 0.95), rgba(9, 13, 23, 0.98));
    color: #d3dbef;
    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(8, 12, 21, 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(17, 23, 36, 0.92), rgba(8, 12, 21, 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: #d4deef;
}

.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(24, 31, 48, 0.98), rgba(10, 14, 24, 0.98));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    color: #d3dbef;
    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: #d3dbef;
    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(8, 12, 21, 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-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(18, 25, 39, 0.95), rgba(8, 12, 21, 0.98));
    --phase-color: #ffd57b;
    --phase-glow: rgba(216, 170, 88, 0.45);
}

.roadmap-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 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(5, 8, 15, 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(101, 183, 255, 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: #80c6ff;
    box-shadow: 0 0 8px rgba(128, 198, 255, 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(5, 8, 15, 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(16, 22, 36, 0.95), rgba(7, 10, 18, 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(5, 8, 15, 0.6);
}

.panel-tab {
    flex: 1;
    min-width: 150px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #d3dbef;
    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: #e6ecf8;
}

.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(5, 8, 15, 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(16, 22, 36, 0.96), rgba(7, 10, 18, 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(5, 8, 15, 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(5, 8, 15, 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(16, 22, 36, 0.95), rgba(7, 10, 18, 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(16, 22, 36, 0.95), rgba(7, 10, 18, 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-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: #cdd6ea;
    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: #80c6ff;
    --phase-deep: #2e5d8f;
    --phase-soft: rgba(128, 198, 255, 0.4);
    --phase-faint: rgba(128, 198, 255, 0.1);
    --phase-glow: rgba(128, 198, 255, 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(20, 27, 42, 0.98), rgba(8, 12, 21, 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(16, 22, 36, 0.96), rgba(7, 10, 18, 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: #e6ecf8;
}

.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;
    }
}

.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-top .rank-name {
    color: var(--gold-soft);
    font-weight: 700;
}

.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: #e8edf5;
}

.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(10, 14, 24, 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;
}

@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;
    }
}

.rankboard {
    padding: 16px 0 8px;
}

.rankboard-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 180ms ease, transform 180ms ease;
}

.rankboard-row:last-child {
    border-bottom: 0;
}

.rankboard-row:hover {
    background: rgba(255, 255, 255, 0.025);
    transform: translateX(2px);
}

.rankboard-badge {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.rankboard-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, #9aa0aa);
    font-size: 14px;
    font-weight: 800;
}

.rankboard-crown {
    position: absolute;
    top: -11px;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translateX(-50%) rotate(-8deg);
    fill: var(--medal, var(--gold));
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
    z-index: 2;
}

.rankboard-name {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rankboard-level {
    flex: none;
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.rankboard-pos-1 {
    --medal: var(--gold);
    background: linear-gradient(90deg, rgba(216, 170, 88, 0.14), transparent 62%);
}

.rankboard-pos-2 {
    --medal: #cbd0d8;
    background: linear-gradient(90deg, rgba(203, 208, 216, 0.12), transparent 62%);
}

.rankboard-pos-3 {
    --medal: #cd7f32;
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.12), transparent 62%);
}

.rankboard-row.is-podium {
    box-shadow: inset 3px 0 0 var(--medal);
}

.rankboard-row.is-podium .rankboard-pos {
    color: #0b0d12;
    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);
}

.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(8, 12, 21, 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(205, 214, 234, 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(8, 12, 21, 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(205, 214, 234, 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(205, 214, 234, 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(6, 10, 20, 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, #6f9ee0, 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: #86b5ff; }

.market-season-col-head span {
    font-size: 9.5px;
    color: rgba(205, 214, 234, 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(12, 18, 30, 0.9);
    cursor: help;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.market-season-node i {
    font-size: 9px;
    font-style: normal;
    color: rgba(8, 12, 21, 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, #6f9ee0, #2f4f8a);
    border-color: rgba(134, 181, 255, 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(8, 12, 21, 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(10, 15, 26, 0.85);
    font-size: 10px;
    line-height: 1.25;
    color: rgba(205, 214, 234, 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(111, 158, 224, 0.55); box-shadow: inset 0 0 12px rgba(111, 158, 224, 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(6, 10, 20, 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(205, 214, 234, 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(6, 10, 20, 0.82);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    cursor: help;
    transition: transform 160ms ease;
}

.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-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-detail-stat-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 8px;
    border: 1px solid rgba(84, 123, 230, 0.18);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(84, 123, 230, 0.14);
}

.character-detail-stat {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    background: rgba(7, 13, 28, 0.78);
}

.character-detail-stat span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(205, 214, 234, 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(7, 13, 28, 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: 84, 123, 230;
}

.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(205, 214, 234, 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(205, 214, 234, 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;
}
