        /* ══════════════════════════════════════════
           TOKENS — del artesano, ampliados
        ══════════════════════════════════════════ */
        :root {
            --forge-black:   #0a0a0a;
            --iron-grey:     #2a2a2a;
            --steel-blue:    #3d5a80;
            --bronze-glow:   #c67b3e;
            --copper-accent: #b87333;
            --gold-highlight:#d4af37;
            --smoke-white:   #e8e8e8;
            --ash-grey:      #8d8d8d;
            /* arena-specific */
            --blood-deep:    #1a0505;
            --cosmos-blue:   #0d1b3e;
            --void:          #06060e;
        }

        /* ══════════════════════════════════════════
           RESET & BASE
        ══════════════════════════════════════════ */
        *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Cormorant Garamond', serif;
            color: var(--smoke-white);
            line-height: 1.8;
            overflow-x: hidden;
            position: relative;
            cursor: crosshair;
        }

        /* ambient radial glows */
        body::before {
            content: '';
            position: fixed; inset: 0;
           
            pointer-events: none;
            z-index: 0;
        }

        /* grid texture */
        body::after {
            content: '';
            position: fixed; inset: 0;
            
            pointer-events: none;
            z-index: 1;
            opacity: 0.3;
        }

        /* ══════════════════════════════════════════
           PARTICLE STARS
        ══════════════════════════════════════════ */
        .starfield {
            position: fixed; inset: 0;
            pointer-events: none;
            z-index: 2;
        }
        .star-dot {
            position: absolute;
            border-radius: 50%;
            background: white;
            animation: starPulse var(--sd, 3s) var(--sy, 0s) infinite ease-in-out;
        }
        @keyframes starPulse {
            0%,100% { opacity: 0.08; transform: scale(1); }
            50%      { opacity: 0.7;  transform: scale(1.5); }
        }

        /* ══════════════════════════════════════════
           LAYOUT WRAPPER
        ══════════════════════════════════════════ */
        .container {
            max-width: 960px;
            margin: 0 auto;
            padding: 0 auto;
            position: relative;
            z-index: 3;
        }

        /* ══════════════════════════════════════════
           DECORATIVE LINE (del artesano)
        ══════════════════════════════════════════ */
        .decorative-line {
            width: 220px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--bronze-glow), transparent);
            margin: 36px auto;
            position: relative;
            opacity: 0;
            animation: expandLine 1.2s ease-out forwards;
        }
        .decorative-line::before,
        .decorative-line::after {
            content: '◆';
            position: absolute;
            top: 50%; transform: translateY(-50%);
            color: var(--bronze-glow);
            font-size: 0.65rem;
        }
        .decorative-line::before { left: -20px; }
        .decorative-line::after  { right: -20px; }

        .decorative-line.wide {
            width: 320px;
        }
        .decorative-line.gold {
            background: linear-gradient(90deg, transparent, var(--gold-highlight), transparent);
        }
        .decorative-line.gold::before,
        .decorative-line.gold::after { color: var(--gold-highlight); }

        /* ══════════════════════════════════════════
           HERO SECTION
        ══════════════════════════════════════════ */
        .hero {
            text-align: center;
            position: relative;
        }

        /* VS clash flash on load */
        .hero::before {
            content: '';
            position: absolute;
            inset: -40px;
            background: radial-gradient(ellipse at 50% 50%, rgba(212,175,55,0.06) 0%, transparent 70%);
            animation: heroGlow 4s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes heroGlow {
            0%,100% { opacity: 0.5; }
            50%      { opacity: 1; }
        }

        .hero-eyebrow {
            font-family: 'Cinzel', serif;
            font-size: 0.75rem;
            letter-spacing: 8px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            opacity: 0;
            animation: fadeIn 1s ease-out 0.2s forwards;
        }

        .hero-title {
            font-family: 'Cinzel', serif;
            font-size: clamp(2.8rem, 7vw, 5.5rem);
            font-weight: 900;
            line-height: 1.05;
            color: var(--gold-highlight);
            letter-spacing: 3px;
            text-shadow:
                0 0 20px rgba(212,175,55,0.55),
                0 0 50px rgba(212,175,55,0.25),
                3px 3px 0px rgba(0,0,0,0.9);
            opacity: 0;
            animation: glowIn 1.6s ease-out 0.5s forwards;
        }

        .hero-title span {
            display: flex;
            font-size: 0.45em;
            letter-spacing: 14px;
            color: var(--smoke-white);
            font-weight: 400;
            text-shadow: none;
            margin-top: 6px;
            opacity: 0.75;
        }

        .hero-subtitle {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.15rem;
            font-style: italic;
            color: var(--ash-grey);
            width: 100%;
            max-width: none;
            margin: 0;
            padding: 0;
            opacity: 0;
            animation: fadeIn 1s ease-out 1.2s forwards;
        }

        /* ══════════════════════════════════════════
           VS DIVIDER
        ══════════════════════════════════════════ */
        .vs-divider {
            display: flex;
            align-items: center;
            gap: 0;
            margin: 50px 0;
            opacity: 0;
            animation: fadeIn 1s ease-out 1.4s forwards;
        }
        .vs-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4));
        }
        .vs-line.right {
            background: linear-gradient(90deg, rgba(212,175,55,0.4), transparent);
        }
        .vs-badge {
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            font-weight: 900;
            color: var(--gold-highlight);
            padding: 0 28px;
            text-shadow:
                0 0 15px rgba(212,175,55,0.8),
                0 0 35px rgba(212,175,55,0.4);
            letter-spacing: 6px;
            animation: vsPulse 2.5s ease-in-out infinite;
        }
        @keyframes vsPulse {
            0%,100% { text-shadow: 0 0 15px rgba(212,175,55,0.8), 0 0 35px rgba(212,175,55,0.4); }
            50%      { text-shadow: 0 0 30px rgba(212,175,55,1),   0 0 70px rgba(212,175,55,0.6); }
        }

        /* ══════════════════════════════════════════
           FIGHTERS PANEL
        ══════════════════════════════════════════ */
        .fighters-grid {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 0;
            align-items: start;
            margin: 10px 0 60px;
        }

        .fighter-card {
            position: relative;
            padding: 32px 28px;
            opacity: 0;
            animation: fighterReveal 0.9s ease-out forwards;
        }
        .fighter-card.left  { animation-delay: 1.5s; text-align: left; }
        .fighter-card.right { animation-delay: 1.7s; text-align: right; }

        /* card ink border */
        .fighter-card::before {
            content: '';
            position: absolute; inset: 0;
            border: 1px solid rgba(212,175,55,0.15);
            pointer-events: none;
        }
        .fighter-card.left::before  { border-right: none; }
        .fighter-card.right::before { border-left: none; }

        /* corner accent */
        .fighter-card.left::after {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 40px; height: 2px;
            background: var(--gold-highlight);
        }
        .fighter-card.right::after {
            content: '';
            position: absolute;
            top: 0; right: 0;
            width: 40px; height: 2px;
            background: var(--gold-highlight);
        }

        @keyframes fighterReveal {
            from { opacity: 0; transform: translateX(var(--fx, -20px)); }
            to   { opacity: 1; transform: translateX(0); }
        }
        .fighter-card.left  { --fx: -30px; }
        .fighter-card.right { --fx:  30px; }

        .fighter-rank {
            font-family: 'Cinzel', serif;
            font-size: 0.65rem;
            letter-spacing: 5px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            margin-bottom: 8px;
        }
        .fighter-name {
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--smoke-white);
            letter-spacing: 2px;
            margin-bottom: 6px;
        }
        .fighter-constellation {
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.95rem;
            font-style: italic;
            color: var(--ash-grey);
            margin-bottom: 18px;
        }

        .stat-bar {
            margin-bottom: 10px;
        }
        .stat-label {
            font-family: 'Cinzel', serif;
            font-size: 0.6rem;
            letter-spacing: 3px;
            color: var(--ash-grey);
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        .stat-track {
            width: 100%;
            height: 4px;
            background: rgba(255,255,255,0.07);
            border-radius: 2px;
            overflow: hidden;
        }
        .stat-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--bronze-glow), var(--gold-highlight));
            border-radius: 2px;
            width: 0;
            transition: width 1.6s cubic-bezier(0.22,1,0.36,1);
        }
        .fighter-card.right .stat-track { direction: rtl; }

        .fighter-cosmos {
            display: inline-block;
            margin-top: 16px;
            font-family: 'Cinzel', serif;
            font-size: 0.7rem;
            letter-spacing: 4px;
            color: var(--gold-highlight);
            border: 1px solid rgba(212,175,55,0.3);
            padding: 4px 14px;
            text-transform: uppercase;
        }

        /* center pillar */
        .vs-pillar {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 32px 20px;
            gap: 10px;
        }
        .vs-pillar-line {
            width: 1px;
            flex: 1;
            min-height: 40px;
            background: linear-gradient(180deg, transparent, rgba(212,175,55,0.3), transparent);
        }
        .vs-pillar-badge {
            font-family: 'Cinzel', serif;
            font-size: 1.4rem;
            font-weight: 900;
            color: var(--gold-highlight);
            text-shadow: 0 0 18px rgba(212,175,55,0.7);
            letter-spacing: 2px;
        }

        /* ══════════════════════════════════════════
           SECTION HEADINGS
        ══════════════════════════════════════════ */
        .section-heading {
            font-family: 'Cinzel', serif;
            font-size: 0.8rem;
            letter-spacing: 7px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            text-align: center;
            margin-bottom: 10px;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
        }

        .section-title {
            font-family: 'Cinzel', serif;
            font-size: clamp(1.6rem, 3.5vw, 2.4rem);
            font-weight: 700;
            color: var(--gold-highlight);
            text-align: center;
            letter-spacing: 2px;
            text-shadow:
                0 0 20px rgba(212,175,55,0.4),
                2px 2px 4px rgba(0,0,0,0.8);
            opacity: 0;
            animation: glowIn 1.2s ease-out forwards;
        }

        /* ══════════════════════════════════════════
           RULES SECTION
        ══════════════════════════════════════════ */
        .rules-section {
            margin: 70px 0;
        }

        .rules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 2px;
            margin-top: 40px;
        }

        .rule-card {
            position: relative;
            padding: 32px 28px;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(212,175,55,0.12);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease-out forwards;
            transition: background 0.3s, border-color 0.3s;
        }
        .rule-card:hover {
            background: rgba(212,175,55,0.04);
            border-color: rgba(212,175,55,0.3);
        }

        /* top accent bar */
        .rule-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--bronze-glow), transparent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }
        .rule-card:hover::before { transform: scaleX(1); }

        .rule-number {
            font-family: 'Cinzel', serif;
            font-size: 2.5rem;
            font-weight: 900;
            color: rgba(212,175,55,0.12);
            line-height: 1;
            margin-bottom: 12px;
            letter-spacing: -1px;
        }
        .rule-title {
            font-family: 'Cinzel', serif;
            font-size: 0.85rem;
            letter-spacing: 3px;
            color: var(--smoke-white);
            text-transform: uppercase;
            margin-bottom: 10px;
        }
        .rule-desc {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1rem;
            color: var(--ash-grey);
            line-height: 1.7;
        }

        /* ══════════════════════════════════════════
           REWARDS SECTION
        ══════════════════════════════════════════ */
        .rewards-section {
            margin: 70px 0;
        }

        .rewards-row {
            display: flex;
            gap: 2px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .reward-item {
            flex: 1;
            min-width: 150px;
            padding: 28px 20px;
            text-align: center;
            border: 1px solid rgba(212,175,55,0.12);
            background: rgba(255,255,255,0.015);
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
            transition: transform 0.3s, background 0.3s;
        }
        .reward-item:hover {
            transform: translateY(-4px);
            background: rgba(212,175,55,0.05);
        }

        .reward-icon {
            font-size: 2rem;
            margin-bottom: 12px;
            display: block;
            filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
        }
        .reward-name {
            font-family: 'Cinzel', serif;
            font-size: 0.7rem;
            letter-spacing: 4px;
            color: var(--gold-highlight);
            text-transform: uppercase;
            margin-bottom: 6px;
        }
        .reward-desc {
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.9rem;
            color: var(--ash-grey);
            font-style: italic;
        }

        /* ══════════════════════════════════════════
           RANKINGS SECTION
        ══════════════════════════════════════════ */
        .rankings-section {
            margin: 70px 0;
        }

        .ranking-table {
            margin-top: 40px;
            width: 100%;
            border-collapse: collapse;
        }
        .ranking-table thead tr {
            border-bottom: 2px solid rgba(212,175,55,0.3);
        }
        .ranking-table th {
            font-family: 'Cinzel', serif;
            font-size: 0.6rem;
            letter-spacing: 4px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            padding: 10px 16px;
            text-align: left;
            font-weight: 400;
        }
        .ranking-table tbody tr {
            border-bottom: 1px solid rgba(255,255,255,0.04);
            transition: background 0.2s;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }
        .ranking-table tbody tr:hover {
            background: rgba(212,175,55,0.04);
        }
        .ranking-table td {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.05rem;
            color: var(--smoke-white);
            padding: 14px 16px;
        }
        .rank-pos {
            font-family: 'Cinzel', serif;
            font-size: 0.75rem;
            color: var(--ash-grey);
            font-weight: 600;
        }
        .rank-pos.gold   { color: var(--gold-highlight); text-shadow: 0 0 8px rgba(212,175,55,0.5); }
        .rank-pos.silver { color: #b0bec5; }
        .rank-pos.bronze { color: var(--bronze-glow); }

        .rank-name {
            font-family: 'Cinzel', serif;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }
        .rank-wins {
            font-family: 'Cinzel', serif;
            font-size: 0.8rem;
            color: var(--gold-highlight);
        }
        .rank-cosmos {
            font-style: italic;
            color: var(--ash-grey);
            font-size: 0.95rem;
        }
        .rank-badge {
            display: inline-block;
            font-family: 'Cinzel', serif;
            font-size: 0.55rem;
            letter-spacing: 2px;
            padding: 3px 8px;
            border: 1px solid;
            text-transform: uppercase;
        }
        .rank-badge.saint   { border-color: var(--gold-highlight); color: var(--gold-highlight); }
        .rank-badge.silver  { border-color: #b0bec5; color: #b0bec5; }
        .rank-badge.bronze  { border-color: var(--bronze-glow); color: var(--bronze-glow); }

        /* ══════════════════════════════════════════
           CTA
        ══════════════════════════════════════════ */
        .cta-section {
            text-align: center;
            margin: 80px 0 40px;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
        }

        .cta-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.25rem;
            font-style: italic;
            color: var(--ash-grey);
            max-width: 500px;
            margin: 0 auto 36px;
            line-height: 1.8;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            font-family: 'Cinzel', serif;
            font-size: 0.7rem;
            letter-spacing: 5px;
            text-transform: uppercase;
            text-decoration: none;
            padding: 14px 36px;
            position: relative;
            transition: all 0.3s;
            display: inline-block;
        }

        .btn-primary {
            background: transparent;
            color: var(--gold-highlight);
            border: 1px solid var(--gold-highlight);
        }
        .btn-primary::before {
            content: '';
            position: absolute; inset: 0;
            background: var(--gold-highlight);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
            z-index: -1;
        }
        .btn-primary:hover {
            color: var(--forge-black);
        }
        .btn-primary:hover::before { transform: scaleX(1); }

        .btn-secondary {
            background: transparent;
            color: var(--ash-grey);
            border: 1px solid rgba(212,175,55,0.2);
        }
        .btn-secondary:hover {
            color: var(--smoke-white);
            border-color: rgba(212,175,55,0.5);
        }

        /* ══════════════════════════════════════════
           LORE QUOTE
        ══════════════════════════════════════════ */
        .lore-quote {
            margin: 60px 0;
            padding: 36px 40px;
            border-left: 3px solid var(--copper-accent);
            background: rgba(198,123,62,0.04);
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
        }
        .lore-quote::before {
            content: '"';
            position: absolute;
            top: -20px; left: 30px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 6rem;
            color: var(--bronze-glow);
            opacity: 0.15;
            line-height: 1;
        }
        .lore-quote p {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem;
            font-style: italic;
            color: var(--bronze-glow);
            line-height: 1.8;
        }
        .lore-quote cite {
            display: block;
            margin-top: 14px;
            font-family: 'Cinzel', serif;
            font-size: 0.65rem;
            letter-spacing: 4px;
            color: var(--ash-grey);
            text-transform: uppercase;
            font-style: normal;
        }

        /* ══════════════════════════════════════════
           FOOTER
        ══════════════════════════════════════════ */
        .page-footer {
            margin-top: 80px;
            text-align: center;
            padding-bottom: 60px;
        }
        .page-footer .cosmos-symbol {
            font-size: 2.5rem;
            color: var(--gold-highlight);
            opacity: 0.4;
            display: block;
            margin: 0 auto 10px;
        }
        .page-footer p {
            font-family: 'Cinzel', serif;
            font-size: 0.6rem;
            letter-spacing: 5px;
            color: var(--ash-grey);
            text-transform: uppercase;
            opacity: 0.5;
        }

        /* ══════════════════════════════════════════
           KEYFRAMES (del artesano + nuevos)
        ══════════════════════════════════════════ */
        @keyframes fadeIn {
            from { opacity: 0; }
            to   { opacity: 1; }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes glowIn {
            from {
                opacity: 0;
                text-shadow: 0 0 0 rgba(212,175,55,0);
            }
            to {
                opacity: 1;
                text-shadow:
                    0 0 20px rgba(212,175,55,0.5),
                    0 0 40px rgba(212,175,55,0.3),
                    2px 2px 4px rgba(0,0,0,0.8);
            }
        }
        @keyframes expandLine {
            from { opacity: 0; width: 0; }
            to   { opacity: 1; width: 220px; }
        }
        @keyframes expandLineWide {
            from { opacity: 0; width: 0; }
            to   { opacity: 1; width: 320px; }
        }

        /* ══════════════════════════════════════════
           SCROLL REVEAL UTILITY
        ══════════════════════════════════════════ */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* stagger delays for cards */
        .rule-card:nth-child(1) { animation-delay: 0.1s; }
        .rule-card:nth-child(2) { animation-delay: 0.25s; }
        .rule-card:nth-child(3) { animation-delay: 0.4s; }
        .rule-card:nth-child(4) { animation-delay: 0.55s; }

        .reward-item:nth-child(1) { animation-delay: 0.1s; }
        .reward-item:nth-child(2) { animation-delay: 0.2s; }
        .reward-item:nth-child(3) { animation-delay: 0.3s; }
        .reward-item:nth-child(4) { animation-delay: 0.4s; }
        .reward-item:nth-child(5) { animation-delay: 0.5s; }

        .ranking-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
        .ranking-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
        .ranking-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
        .ranking-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
        .ranking-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

        /* ══════════════════════════════════════════
           RESPONSIVE
        ══════════════════════════════════════════ */
        @media (max-width: 700px) {
            .container { padding: 60px 22px 12px; }
            .fighters-grid { grid-template-columns: 1fr; gap: 2px; }
            .vs-pillar { flex-direction: row; padding: 16px 0; }
            .vs-pillar-line { min-height: unset; min-width: 40px; height: 1px;
                background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent); }
            .fighter-card.right { text-align: left; }
            .fighter-card.right::after { right: unset; left: 0; }
            .fighter-card.right .stat-track { direction: ltr; }
            .hero-title { font-size: 2.4rem; }
            .rewards-row { flex-direction: column; }
            .ranking-table { font-size: 0.85rem; }
            .ranking-table th,
            .ranking-table td { padding: 10px 10px; }
        }


        /* ── Impact words ── */
.impact-words {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.iw {
    display: inline-block;
    opacity: 0;
    transform: scale(2.4) translateX(calc(var(--i) * 60px - 60px));
    filter: blur(6px);
    animation: wordImpact 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.9s + var(--i) * 0.18s);
    text-shadow:
        0 0 20px rgba(212,175,55,0.9),
        0 0 40px rgba(212,175,55,0.5);
}

.iw-sep {
    opacity: 0;
    color: var(--bronze-glow);
    animation: fadeIn 0.4s ease-out forwards;
    animation-delay: calc(1.4s);
}

@keyframes wordImpact {
    0% {
        opacity: 0;
        transform: scale(2.4) translateX(calc(var(--i) * 60px - 60px));
        filter: blur(8px);
    }
    /* primer impacto */
    40% {
        opacity: 1;
        transform: scale(1.08);
        filter: blur(0px);
    }
    48% { transform: scale(0.93); }

    /* segundo impacto */
    58% { transform: scale(1.12); }
    66% { transform: scale(0.96); }

    /* tercer impacto */
    76% { transform: scale(1.06); }
    84% { transform: scale(0.98); }

    /* reposo */
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}
/* NAVBAR COSMOS */
.sidebar-nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.cosmos-nav {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 0;
    min-width: 0;
}

.cosmos-nav-primary {
    flex: 1 1 auto;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cosmos-nav-secondary {
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    margin-left: auto;
}

.cosmos-nav > a {
    display: flex;
    color: var(--smoke-white);
    text-decoration: none;
    flex: 0 0 auto;
}

.cosmos-nav > a:focus-visible {
    outline: none;
}

.cosmos-nav > a .menu-item {
    width: 100%;
}

.menu-item {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 90px;
    min-height: 92px;
    padding: 14px 16px 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    background: rgba(8, 8, 8, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 8px 22px rgba(0, 0, 0, 0.18);
    color: var(--smoke-white);
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.76rem;
    letter-spacing: 0.35px;
    line-height: 1.08;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

.menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 2px;
    background: linear-gradient(90deg, var(--bronze-glow), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.menu-item::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold-highlight), transparent);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.menu-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-height: 24px;
    font-size: 1.22rem;
    line-height: 1;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

.menu-item .label {
    display: block;
    max-width: 100%;
    color: inherit;
    line-height: 1.08;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-menu-item {
    min-height: 58px;
    padding: 14px 18px;
}

.auth-menu-item .label,
.auth-menu-item:hover .label {
    overflow: visible;
    text-overflow: clip;
}

.menu-item:hover,
.menu-item:focus-visible,
.cosmos-nav > a:focus-visible .menu-item {
    color: var(--gold-highlight);
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.46);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.menu-item.active {
    color: var(--gold-highlight);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.52);
    box-shadow:
        inset 0 0 0 1px rgba(212, 175, 55, 0.08),
        0 10px 26px rgba(0, 0, 0, 0.26);
}

.menu-item:focus-visible,
.cosmos-nav > a:focus-visible .menu-item {
    outline: 1px solid rgba(212, 175, 55, 0.5);
    outline-offset: 3px;
}

.menu-item:hover::before,
.menu-item:focus-visible::before,
.cosmos-nav > a:focus-visible .menu-item::before,
.menu-item.active::before {
    transform: scaleX(1);
}

.menu-item:hover::after,
.menu-item:focus-visible::after,
.cosmos-nav > a:focus-visible .menu-item::after,
.menu-item.active::after {
    width: 68%;
}

.desktop-more-menu {
    position: relative;
    display: flex;
    flex: 0 0 auto;
}

.desktop-more-toggle {
    width: 100%;
}

.desktop-more-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 2200;
    width: min(360px, calc(100vw - 48px));
    padding: 14px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 10px;
    background: rgba(6, 6, 8, 0.98);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
}

.desktop-more-panel[hidden] {
    display: none;
}

.desktop-more-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.desktop-more-grid .menu-item {
    min-width: 0;
    min-height: 72px;
    padding: 12px 10px;
    opacity: 1;
    animation: none;
}

.desktop-more-grid .menu-item .label {
    white-space: normal;
}

.mobile-app-header,
.mobile-bottom-nav,
.mobile-actions-layer,
.mobile-more-layer {
    display: none;
}

.desktop-menu-minimize {
    display: none;
}

.desktop-header-logo,
.desktop-header-copy,
.desktop-header-markers {
    display: none;
}

.header-banner-toggle {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    background: rgba(8, 8, 8, 0.94);
    color: var(--gold-highlight);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-family: "Cinzel", serif;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.header-banner-toggle:hover,
.header-banner-toggle:focus-visible {
    border-color: rgba(212, 175, 55, 0.58);
    background: rgba(18, 18, 18, 0.98);
    outline: none;
}

@media (max-width: 1100px) {
    .sidebar-nav {
        gap: 12px;
    }

    .cosmos-nav {
        gap: 8px;
    }

    .menu-item {
        min-width: 84px;
        min-height: 86px;
        padding: 12px 13px 10px;
        font-size: 0.7rem;
    }

    .menu-item .icon {
        font-size: 1.08rem;
    }
}

/* TIEMPOS DRAWER */
.tiempos-modal {
    position: fixed;
    inset: 0;
    z-index: 2600;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tiempos-modal[data-open="true"] {
    visibility: visible;
    opacity: 1;
    pointer-events: none;
}

.tiempos-modal-overlay {
    display: none;
}

.tiempos-modal-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.tiempos-panel {
    position: fixed;
    top: 12px;
    left: auto;
    right: 24px;
    width: min(420px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 24px);
    display: flex;
    flex-direction: column;
    background: #12141b;
    border: 1px solid #c67b3e;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(198, 123, 62, 0.25),
        0 0 80px rgba(198, 123, 62, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.8);
    animation: tiemposDrawerIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}

.tiempos-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
    pointer-events: none;
}

@keyframes tiemposDrawerIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.tiempos-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: #0a0a0a;
    color: #d4af37;
    cursor: pointer;
    z-index: 2;
    font-size: 22px;
    line-height: 1;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 10px rgba(212, 175, 55, 0.15);
}

.tiempos-modal-close:hover {
    background: #1a1a1a;
    border-color: #d4af37;
    color: #fff;
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35), 0 4px 16px rgba(0, 0, 0, 0.6);
}

.tiempos-modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 48px;
    padding: 10px 56px 10px 16px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid rgba(198, 123, 62, 0.22);
    background: #171a22;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.tiempos-modal-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c67b3e, transparent);
}

.tiempos-modal-header:hover {
    background: #1d212b;
}

.tiempos-drag-grip {
    width: 28px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(212, 175, 55, 0.7) 1.2px, transparent 1.4px) 0 0 / 7px 6px repeat;
    opacity: 0.9;
}

.tiempos-drag-text {
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 235, 185, 0.92);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.22);
}

.tiempos-modal-header h2 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #d4af37;
    text-shadow:
        0 0 18px rgba(212, 175, 55, 0.45),
        0 0 36px rgba(212, 175, 55, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.tiempos-modal-user {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 244, 212, 0.92);
    white-space: nowrap;
    text-shadow:
        0 0 14px rgba(212, 175, 55, 0.12),
        1px 1px 3px rgba(0, 0, 0, 0.7);
}

.tiempos-modal-frame {
    width: 100%;
    height: 240px;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
}

.tiempos-panel.dragging {
    cursor: grabbing;
    box-shadow:
        0 0 50px rgba(212, 175, 55, 0.18),
        0 24px 70px rgba(0, 0, 0, 0.85);
}

.tiempos-panel.dragging .tiempos-modal-header {
    cursor: grabbing;
    background: #212632;
}

body.tiempos-modal-open {
    overflow: auto;
}

@media (max-width: 768px) {
    .tiempos-modal-container {
        inset: 0;
    }

    .tiempos-panel {
        top: 6px;
        bottom: auto;
        left: 6px !important;
        right: 6px !important;
        width: auto;
        height: auto;
        min-height: 0;
        max-width: none;
        max-height: calc(100dvh - 12px);
        border-radius: 10px;
    }

    .tiempos-modal-frame {
        height: auto;
        min-height: 0;
        flex: 0 0 auto;
    }

    .tiempos-modal-header {
        min-height: 44px;
        padding: 8px 48px 8px 12px;
        flex-wrap: wrap;
    }

    .tiempos-modal-header h2 {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    .tiempos-modal-user {
        font-size: 1rem;
    }
}

.presentation-shortcuts {
    margin: 18px 0 58px;
}

.events-section {
    margin: 72px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.event-card {
    position: relative;
    padding: 28px 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
        radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 45%);
    border: 1px solid rgba(212, 175, 55, 0.16);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.34);
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(212, 175, 55, 0.08);
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.65), transparent);
}

.event-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.event-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: rgba(255,255,255,0.03);
    font-family: "Cinzel", serif;
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--smoke-white);
}

.event-chip.en-curso {
    color: #ebffcf;
    border-color: rgba(182, 217, 104, 0.45);
    background: rgba(136, 177, 72, 0.16);
}

.event-chip.programado {
    color: #ffe7a8;
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.14);
}

.event-chip.finalizado {
    color: #d7d7d7;
    border-color: rgba(180, 180, 180, 0.32);
    background: rgba(255,255,255,0.06);
}

.event-chip.desactivado {
    color: #f5c6c6;
    border-color: rgba(200, 90, 90, 0.4);
    background: rgba(200, 90, 90, 0.12);
}

.event-chip.premium {
    color: var(--gold-highlight);
}

.event-name {
    font-family: "Cinzel", serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--gold-highlight);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.event-zone,
.event-schedule,
.event-window,
.event-desc {
    margin: 0 0 10px;
    color: var(--ash-grey);
}

.event-zone {
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--smoke-white);
}

.event-schedule {
    font-style: italic;
    color: var(--bronze-glow);
}

.event-window {
    font-size: 0.95rem;
    color: var(--smoke-white);
}

.event-desc {
    line-height: 1.7;
}

.event-cta {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.event-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(212, 175, 55, 0.32);
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-highlight);
    font-family: "Cinzel", serif;
    font-size: 0.68rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.event-cta-button:hover {
    transform: translateY(-1px);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.18);
}

.event-cta-button.secondary {
    background: rgba(255,255,255,0.03);
    color: var(--smoke-white);
}

.event-cta-note {
    color: var(--ash-grey);
    font-size: 0.95rem;
    line-height: 1.45;
}

.event-empty {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    background: rgba(255,255,255,0.02);
    text-align: center;
    color: var(--ash-grey);
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }
.event-card:nth-child(4) { animation-delay: 0.4s; }
.event-card:nth-child(5) { animation-delay: 0.5s; }
.event-card:nth-child(6) { animation-delay: 0.6s; }

@media (min-width: 701px) {
    body {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 12px 16px 16px;
        cursor: auto;
        background:
            linear-gradient(180deg, #080808 0%, #0d0f15 48%, #070707 100%);
    }

    body.is-authenticated {
        --desktop-floating-nav-height: 104px;
        --desktop-floating-nav-offset: calc(12px + env(safe-area-inset-bottom, 0px));
        padding-bottom: calc(var(--desktop-floating-nav-height) + var(--desktop-floating-nav-offset) + 16px);
    }

    body.is-authenticated.desktop-menu-collapsed {
        --desktop-floating-nav-height: 50px;
    }

    body.is-guest {
        padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
    }

    body.is-authenticated > .container,
    body.is-guest > .container {
        display: none;
    }

    .main-wrapper {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .main-wrapper > .header-section,
    .discord-badge {
        display: none;
    }

    .sidebar-nav {
        display: block;
        width: 100%;
    }

    body.is-authenticated .sidebar-nav {
        position: fixed;
        left: 50%;
        bottom: var(--desktop-floating-nav-offset);
        z-index: 2300;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        min-height: 78px;
        padding: 6px 6px 6px 48px;
        border: 1px solid rgba(212, 175, 55, 0.24);
        border-radius: 10px;
        background: rgba(6, 6, 8, 0.96);
        box-shadow:
            0 -14px 36px rgba(0, 0, 0, 0.48),
            0 10px 34px rgba(0, 0, 0, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(12px);
        transform: translateX(-50%);
        box-sizing: border-box;
        isolation: isolate;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        transition:
            left 0.28s ease,
            width 0.28s ease,
            max-width 0.28s ease,
            min-height 0.28s ease,
            padding 0.28s ease,
            border-radius 0.28s ease,
            transform 0.28s ease,
            background 0.28s ease,
            box-shadow 0.28s ease;
    }

    body.is-authenticated .desktop-menu-minimize {
        position: absolute;
        left: 7px;
        top: 50%;
        flex: 0 0 auto;
        width: 40px;
        min-width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        border: 1px solid rgba(212, 175, 55, 0.24);
        border-radius: 8px;
        background: rgba(212, 175, 55, 0.06);
        color: rgba(232, 232, 232, 0.82);
        box-shadow: none;
        cursor: pointer;
        font-family: "Cinzel", serif;
        font-size: 1rem;
        line-height: 1;
        transition:
            width 0.2s ease,
            height 0.2s ease,
            margin 0.2s ease,
            color 0.2s ease,
            border-color 0.2s ease,
            background 0.2s ease,
            transform 0.2s ease;
        transform: translateY(-50%);
    }

    body.is-authenticated .desktop-menu-minimize:hover,
    body.is-authenticated .desktop-menu-minimize:focus-visible {
        color: var(--gold-highlight);
        border-color: rgba(212, 175, 55, 0.46);
        background: rgba(212, 175, 55, 0.12);
        outline: none;
        transform: translateY(calc(-50% - 1px));
    }

    body.is-authenticated .desktop-menu-minimize-icon {
        display: block;
        letter-spacing: 0;
        line-height: 1;
    }

    body.is-authenticated.desktop-menu-collapsed .sidebar-nav {
        left: 16px;
        bottom: var(--desktop-floating-nav-offset);
        width: 52px;
        max-width: 52px;
        min-height: 78px;
        padding: 6px;
        border-radius: 10px;
        transform: none;
        overflow: visible;
    }

    body.is-authenticated.desktop-menu-collapsed .desktop-menu-minimize {
        left: 50%;
        top: 44%;
        width: 42px;
        min-width: 42px;
        height: 42px;
        margin-right: 0;
        border-radius: 8px;
        color: var(--gold-highlight);
        transform: translate(-50%, -50%);
    }

    body.is-authenticated.desktop-menu-collapsed .desktop-menu-minimize:hover,
    body.is-authenticated.desktop-menu-collapsed .desktop-menu-minimize:focus-visible {
        transform: translate(-50%, -50%);
    }

    body.is-authenticated .mobile-actions-header .desktop-menu-minimize {
        position: static;
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
        height: 40px;
        transform: none;
    }

    body.is-authenticated .mobile-actions-header .desktop-menu-minimize:hover,
    body.is-authenticated .mobile-actions-header .desktop-menu-minimize:focus-visible {
        transform: translateY(-1px);
    }

    body.is-authenticated.desktop-menu-collapsed .cosmos-nav {
        display: none;
    }

    body.is-authenticated .sidebar-nav::before {
        content: none;
    }

    body.is-authenticated .sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .cosmos-nav {
        width: 100%;
    }

    body.is-authenticated .cosmos-nav {
        width: 100%;
        min-width: 0;
        align-items: stretch;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .cosmos-nav-primary {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
        gap: 12px;
        width: 100%;
    }

    body.is-authenticated .cosmos-nav-primary {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        gap: 6px;
        justify-content: center;
        overflow: visible;
        padding: 0;
    }

    .cosmos-nav-primary > a,
    .cosmos-nav-primary > .menu-item {
        width: 100%;
        min-width: 0;
    }

    body.is-authenticated .cosmos-nav-primary > a,
    body.is-authenticated .cosmos-nav-primary > .menu-item,
    body.is-authenticated .cosmos-nav > .desktop-more-menu {
        flex: 0 0 auto;
        width: auto;
    }

    .cosmos-nav-primary .menu-item {
        width: 100%;
        min-width: 0;
    }

    body.is-authenticated .cosmos-nav-primary .menu-item {
        width: auto;
        min-width: 96px;
    }

    .cosmos-nav-secondary {
        display: none;
    }

    body.is-authenticated .sidebar-nav .menu-item {
        flex: 0 0 96px;
        width: 96px;
        min-width: 96px;
        max-width: 96px;
        min-height: 0;
        height: 66px;
        padding: 7px 8px;
        gap: 6px;
        border: 1px solid transparent;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        color: rgba(232, 232, 232, 0.76);
        font-size: 0.62rem;
        letter-spacing: 0;
        line-height: 1.05;
        opacity: 1;
        animation: none;
        transform: none;
    }

    body.is-authenticated .sidebar-nav .menu-item::before,
    body.is-authenticated .sidebar-nav .menu-item::after {
        display: none;
    }

    body.is-authenticated .sidebar-nav .menu-item .icon {
        width: auto;
        min-height: 20px;
        font-size: 1.12rem;
        line-height: 1;
    }

    body.is-authenticated .sidebar-nav .menu-item .label {
        display: block;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.is-authenticated .sidebar-nav .menu-item:hover,
    body.is-authenticated .sidebar-nav .menu-item:focus-visible,
    body.is-authenticated .sidebar-nav .menu-item.active,
    body.is-authenticated .sidebar-nav .cosmos-nav > a:focus-visible .menu-item {
        color: var(--gold-highlight);
        border-color: rgba(212, 175, 55, 0.3);
        background: rgba(212, 175, 55, 0.1);
        box-shadow: none;
        transform: translateY(-1px);
    }

    body.is-authenticated .sidebar-nav .menu-item:focus-visible,
    body.is-authenticated .sidebar-nav .cosmos-nav > a:focus-visible .menu-item {
        outline: 1px solid rgba(212, 175, 55, 0.48);
        outline-offset: 2px;
    }

    .game-layout {
        width: 100%;
        max-width: none;
        min-height: calc(100dvh - 116px);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-app-header {
        position: relative;
        top: auto;
        z-index: 1800;
        display: grid;
        grid-template-columns: minmax(260px, 1fr) minmax(360px, auto);
        align-items: center;
        justify-content: stretch;
        gap: 12px 18px;
        min-height: 0;
        padding: 14px 18px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 8px;
        background: rgba(8, 8, 8, 0.94);
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(12px);
        overflow: hidden;
        transition:
            min-height 0.55s ease,
            padding 0.55s ease,
            gap 0.55s ease,
            box-shadow 0.55s ease;
    }

    .desktop-header-logo {
        position: relative;
        display: block;
        grid-column: 1 / -1;
        flex: 0 0 auto;
        width: 100%;
        height: 340px;
        border: 1px solid rgba(212, 175, 55, 0.24);
        border-radius: 8px;
        overflow: hidden;
        background: #050505;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 10px 28px rgba(0, 0, 0, 0.24);
        transition:
            flex-basis 0.55s ease,
            width 0.55s ease,
            height 0.55s ease,
            opacity 0.35s ease,
            border-color 0.35s ease,
            margin 0.55s ease;
    }

    .desktop-header-logo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        filter: saturate(1.08) contrast(1.06);
    }

    .desktop-header-logo::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.2)),
            linear-gradient(180deg, transparent 64%, rgba(0, 0, 0, 0.36));
        pointer-events: none;
    }

    .mobile-app-title {
        display: grid;
        flex: 1 1 auto;
        gap: 4px;
        width: auto;
        min-width: 0;
        justify-self: start;
        text-align: left;
        transition: gap 0.45s ease;
    }

    .mobile-app-title span {
        font-family: "Cinzel", serif;
        font-size: 0.72rem;
        letter-spacing: 2.8px;
        text-transform: uppercase;
        color: var(--bronze-glow);
        transition:
            font-size 0.45s ease,
            letter-spacing 0.45s ease;
    }

    .mobile-app-title strong {
        display: block;
        font-family: "Cinzel", serif;
        font-size: clamp(1.52rem, 2.4vw, 2rem);
        line-height: 1.05;
        color: var(--gold-highlight);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-shadow: 0 0 18px rgba(212, 175, 55, 0.28);
        transition:
            font-size 0.5s ease,
            text-shadow 0.5s ease;
    }

    .header-discord-link {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        text-decoration: none;
        line-height: 0;
        transition: transform 0.18s ease, filter 0.18s ease;
    }

    .header-discord-link:hover,
    .header-discord-link:focus-visible {
        outline: none;
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

    .header-discord-link__badge {
        display: block;
        width: auto;
        max-width: 100%;
        height: 20px;
    }

    .desktop-header-copy {
        display: block;
        max-width: min(860px, 100%);
        max-height: 42px;
        margin: 0;
        color: rgba(232, 232, 232, 0.76);
        font-family: "Cormorant Garamond", serif;
        font-size: 1.03rem;
        font-style: italic;
        line-height: 1.25;
        overflow: hidden;
        transition:
            max-height 0.45s ease,
            opacity 0.35s ease,
            transform 0.45s ease;
    }

    .desktop-header-markers {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: 100%;
        max-width: 360px;
        max-height: 34px;
        overflow: hidden;
        transition:
            max-width 0.5s ease,
            max-height 0.45s ease,
            opacity 0.35s ease,
            transform 0.45s ease;
    }

    .desktop-header-markers span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 30px;
        padding: 6px 10px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.025);
        color: rgba(255, 235, 185, 0.82);
        font-family: "Cinzel", serif;
        font-size: 0.58rem;
        letter-spacing: 1.1px;
        line-height: 1;
        text-transform: uppercase;
    }

    .mobile-app-user-summary {
        display: grid;
        justify-self: end;
        width: min(780px, 100%);
        grid-template-columns: auto minmax(0, 1fr);
        gap: 6px 4px;
        align-items: stretch;
        padding: 10px 12px;
        border: 1px solid rgba(212, 175, 55, 0.22);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.025);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .mobile-app-user-identity {
        min-width: 0;
        display: grid;
        grid-template-rows: auto auto;
        align-self: center;
        align-content: center;
        gap: 2px;
        padding: 0;
        width: fit-content(188px);
        max-width: 188px;
        justify-self: start;
    }

    .mobile-app-user-title,
    .mobile-app-user-zone {
        min-width: 0;
        display: block;
        max-width: 188px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-app-user-title {
        color: var(--gold-highlight);
        font-family: "Cinzel", serif;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.9px;
        line-height: 1.08;
        text-transform: uppercase;
    }

    .mobile-app-user-zone {
        color: rgba(255, 235, 185, 0.74);
        font-family: "Cinzel", serif;
        font-size: 1.02rem;
        font-weight: 700;
        letter-spacing: 0.9px;
        line-height: 1.08;
        text-transform: uppercase;
        opacity: 0.92;
    }

    .mobile-app-user-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(112px, 1fr));
        gap: 6px;
    }

    .mobile-app-stat {
        --stat-color: var(--gold-highlight);
        min-width: 0;
        min-height: 58px;
        display: grid;
        align-content: center;
        gap: 3px;
        padding: 7px 8px;
        border: 1px solid rgba(212, 175, 55, 0.14);
        border-radius: 6px;
        background: rgba(0, 0, 0, 0.18);
    }

    .mobile-app-stat > span:first-child {
        color: var(--bronze-glow);
        font-family: "Cinzel", serif;
        font-size: 0.55rem;
        letter-spacing: 0.9px;
        line-height: 1;
        text-transform: uppercase;
    }

    .mobile-app-stat strong {
        min-width: 0;
        color: var(--smoke-white);
        font-family: "Cinzel", serif;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-app-stat-bar {
        display: block;
        width: 100%;
        height: 4px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-app-stat-fill {
        display: block;
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--stat-color), rgba(255, 255, 255, 0.82));
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.16);
    }

    .mobile-app-stat--level { --stat-color: #d4af37; }
    .mobile-app-stat--exp { --stat-color: #f5c542; }
    .mobile-app-stat--life { --stat-color: #d95050; }
    .mobile-app-stat--cosmo { --stat-color: #4aa3ff; }
    .mobile-app-stat--sense { --stat-color: #a879ff; }
    .mobile-app-stat--armor { --stat-color: #c67b3e; }

    .content-area {
        flex: 1 1 auto;
        min-height: 0;
        margin-top: 0;
        border-radius: 8px;
        border-color: rgba(212, 175, 55, 0.14);
        background: rgba(255, 255, 255, 0.015);
        box-shadow:
            0 18px 46px rgba(0, 0, 0, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .iframe-wrapper,
    .main-iframe {
        height: clamp(520px, 76vh, 1100px);
        min-height: clamp(520px, 76vh, 1100px);
        transition: height 0.55s ease, min-height 0.55s ease;
    }

    .iframe-wrapper {
        overflow: hidden;
    }

    body.desktop-header-condensed .mobile-app-header {
        min-height: 0;
        padding: 10px 18px;
        gap: 6px;
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    body.desktop-header-condensed .desktop-header-logo {
        flex-basis: auto;
        width: 100%;
        height: 44px;
        margin-right: 0;
        border-color: rgba(212, 175, 55, 0.16);
        background: rgba(5, 5, 5, 0.32);
        box-shadow: none;
        overflow: visible;
    }

    body.desktop-header-condensed .desktop-header-logo img,
    body.desktop-header-condensed .desktop-header-logo::after {
        opacity: 0;
        pointer-events: none;
    }

    body.desktop-header-condensed .header-banner-toggle {
        top: 3px;
        right: 12px;
        bottom: auto;
    }

    body.desktop-header-condensed .mobile-app-title {
        gap: 2px;
    }

    body.desktop-header-condensed .mobile-app-title span {
        font-size: 0.68rem;
        letter-spacing: 2.4px;
    }

    body.desktop-header-condensed .mobile-app-title strong {
        font-size: clamp(1.08rem, 1.4vw, 1.32rem);
        text-shadow: 0 0 18px rgba(212, 175, 55, 0.28);
    }

    body.desktop-header-condensed .header-discord-link {
        transform-origin: left center;
    }

    body.desktop-header-condensed .header-discord-link__badge {
        height: 18px;
    }

    body.desktop-header-condensed .desktop-header-copy,
    body.desktop-header-condensed .desktop-header-markers {
        max-width: 0;
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
    }

    body.desktop-header-condensed .mobile-app-user-summary {
        gap: 6px;
        padding: 8px 10px;
    }

    body.desktop-header-condensed .mobile-app-user-title {
        font-size: 0.72rem;
    }

    body.desktop-header-condensed .mobile-app-user-zone {
        font-size: 0.68rem;
    }

    body.desktop-header-condensed .mobile-app-stat {
        min-height: 42px;
        padding: 6px 7px;
    }

    body.desktop-header-condensed .mobile-app-stat > span:first-child {
        font-size: 0.52rem;
    }

    body.desktop-header-condensed .mobile-app-stat strong {
        font-size: 0.72rem;
    }

    body.desktop-header-condensed .iframe-wrapper,
    body.desktop-header-condensed .main-iframe {
        height: clamp(520px, 76vh, 1100px);
        min-height: clamp(520px, 76vh, 1100px);
    }

    .mobile-bottom-nav {
        display: none !important;
    }

    body.is-guest .sidebar-nav {
        display: none;
    }

    body.is-guest .mobile-bottom-nav {
        display: grid !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 50%;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 2300;
        display: grid;
        grid-template-columns: repeat(5, minmax(96px, 1fr));
        gap: 6px;
        width: min(880px, calc(100vw - 32px));
        min-height: 78px;
        padding: 6px;
        border: 1px solid rgba(212, 175, 55, 0.24);
        border-radius: 10px;
        background: rgba(6, 6, 8, 0.96);
        box-shadow:
            0 -14px 36px rgba(0, 0, 0, 0.48),
            0 10px 34px rgba(0, 0, 0, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
        transform: translateX(-50%);
        backdrop-filter: blur(12px);
        transition: opacity 0.18s ease, visibility 0.18s ease;
    }

    .mobile-bottom-nav .menu-item,
    .mobile-nav-more,
    .mobile-nav-discord {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: 66px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 7px 8px;
        border: 1px solid transparent;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        color: rgba(232, 232, 232, 0.76);
        font-family: "Cinzel", serif;
        font-size: 0.62rem;
        letter-spacing: 0;
        line-height: 1.05;
        opacity: 1;
        overflow: hidden;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        animation: none;
        cursor: pointer;
        transition:
            background 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
    }

    .mobile-bottom-nav .menu-item::before,
    .mobile-bottom-nav .menu-item::after {
        display: none;
    }

    .mobile-bottom-nav .icon,
    .mobile-nav-more .icon,
    .mobile-nav-discord .icon {
        width: auto;
        min-height: 20px;
        font-size: 1.12rem;
        line-height: 1;
    }

    .mobile-bottom-nav .label,
    .mobile-nav-more .label,
    .mobile-nav-discord .label {
        display: block;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bottom-nav .menu-item:hover,
    .mobile-bottom-nav .menu-item:focus-visible,
    .mobile-bottom-nav .menu-item.active,
    .mobile-nav-more:hover,
    .mobile-nav-more:focus-visible,
    .mobile-nav-more.active,
    .mobile-nav-discord:hover,
    .mobile-nav-discord:focus-visible {
        color: var(--gold-highlight);
        border-color: rgba(212, 175, 55, 0.3);
        background: rgba(212, 175, 55, 0.1);
        transform: translateY(-1px);
    }

    .mobile-bottom-nav .menu-item:focus-visible,
    .mobile-nav-more:focus-visible,
    .mobile-nav-discord:focus-visible {
        outline: 1px solid rgba(212, 175, 55, 0.48);
        outline-offset: 2px;
    }

    .mobile-nav-discord .discord-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        min-height: 22px;
        border-radius: 50%;
        background: #5865f2;
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 0.82rem;
        font-weight: 700;
        box-shadow: 0 0 12px rgba(88, 101, 242, 0.38);
    }

    body.mobile-actions-open .mobile-bottom-nav,
    body.mobile-more-open .mobile-bottom-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.mobile-actions-open .mobile-actions-sheet,
    body.mobile-more-open .mobile-more-sheet {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        max-height: min(calc(100dvh - 24px), 652px);
    }

    .mobile-actions-layer,
    .mobile-more-layer {
        position: fixed;
        inset: 0;
        z-index: 2400;
        display: block;
    }

    .mobile-actions-layer {
        pointer-events: none;
    }

    .mobile-actions-layer[hidden],
    .mobile-more-layer[hidden] {
        display: none !important;
    }

    .mobile-actions-backdrop,
    .mobile-more-backdrop {
        position: absolute;
        inset: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.42);
        cursor: pointer;
    }

    .mobile-actions-backdrop {
        display: none;
        pointer-events: none;
    }

    .mobile-actions-sheet,
    .mobile-more-sheet {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: calc(104px + env(safe-area-inset-bottom, 0px));
        width: min(1120px, calc(100vw - 20px));
        max-height: min(62vh, 560px);
        padding: 14px 10px 10px;
        border: 1px solid rgba(212, 175, 55, 0.26);
        border-radius: 12px;
        background: rgba(9, 9, 11, 0.98);
        box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.58);
        overflow-y: auto;
        transform: translateX(-50%);
    }

    .mobile-actions-sheet {
        pointer-events: auto;
    }

    .mobile-more-sheet {
        width: min(620px, calc(100vw - 32px));
    }

    .mobile-actions-sheet {
        left: 50%;
        right: auto;
        width: calc(100vw - 32px);
        max-width: none;
        transform: translateX(-50%);
    }

    .mobile-actions-header,
    .mobile-more-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        padding: 0 8px;
    }

    .mobile-actions-header .mobile-actions-sector-list {
        flex: 1 1 auto;
        min-width: 0;
        padding-bottom: 0;
    }

    .mobile-actions-header h2,
    .mobile-more-header h2 {
        margin: 0;
        color: var(--gold-highlight);
        font-family: "Cinzel", serif;
        font-size: 0.9rem;
        letter-spacing: 1.8px;
        text-transform: uppercase;
    }

    .mobile-actions-close,
    .mobile-more-close {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03);
        color: var(--gold-highlight);
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-actions-section {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 18px 8px 10px;
        color: var(--bronze-glow);
        font-family: "Cinzel", serif;
        font-size: 0.62rem;
        letter-spacing: 1.8px;
        text-transform: uppercase;
    }

    .mobile-actions-section::before,
    .mobile-actions-section::after {
        content: "";
        flex: 1 1 auto;
        height: 1px;
        background: linear-gradient(90deg, rgba(198, 123, 62, 0.16), rgba(212, 175, 55, 0.52), rgba(198, 123, 62, 0.08));
    }

    .mobile-actions-section::before {
        max-width: 54px;
    }

    .mobile-actions-grid,
    .mobile-more-grid {
        display: grid;
    }

    .mobile-actions-grid {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(108px, 118px));
        justify-content: center;
        align-content: start;
        gap: 7px 8px;
        margin-bottom: 6px;
    }

    .mobile-more-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
    }

    .mobile-actions-grid .menu-item {
        min-width: 0;
        min-height: 70px;
        height: auto;
        padding: 9px 8px 8px;
        opacity: 1;
        animation: none;
        font-size: 0.58rem;
        letter-spacing: 0;
    }

    .mobile-actions-grid .mobile-action-item {
        --action-accent: rgba(212, 175, 55, 0.95);
        gap: 7px;
        border-radius: 10px;
        border-color: rgba(212, 175, 55, 0.24);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
            radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 72%),
            rgba(9, 9, 11, 0.96);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 10px 18px rgba(0, 0, 0, 0.22);
    }

    .mobile-actions-grid .mobile-action-item--library {
        --action-accent: rgba(125, 167, 224, 0.95);
        border-color: rgba(61, 90, 128, 0.4);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
            radial-gradient(circle at top, rgba(61, 90, 128, 0.22), transparent 70%),
            rgba(9, 9, 11, 0.96);
    }

    .mobile-actions-grid .mobile-action-item--chronicle {
        --action-accent: rgba(198, 123, 62, 0.95);
        border-color: rgba(198, 123, 62, 0.42);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
            radial-gradient(circle at top, rgba(198, 123, 62, 0.2), transparent 70%),
            rgba(9, 9, 11, 0.96);
    }

    .mobile-actions-grid .mobile-action-item .label {
        width: min(100%, 12ch);
        margin: 0 auto;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-wrap: balance;
        line-height: 1.12;
    }

    .mobile-actions-grid .icon {
        width: 36px;
        min-height: 36px;
        border-radius: 50%;
        background:
            radial-gradient(circle at top, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 6px 12px rgba(0, 0, 0, 0.18);
        font-size: 1.08rem;
    }

    .mobile-actions-grid .mobile-action-item--library .icon {
        background:
            radial-gradient(circle at top, rgba(61, 90, 128, 0.3), rgba(255, 255, 255, 0.02));
    }

    .mobile-actions-grid .mobile-action-item--chronicle .icon {
        background:
            radial-gradient(circle at top, rgba(198, 123, 62, 0.28), rgba(255, 255, 255, 0.02));
    }

    .mobile-more-grid .menu-item {
        min-width: 0;
        min-height: 0;
        height: 66px;
        padding: 7px 6px;
        opacity: 1;
        animation: none;
        border-color: rgba(212, 175, 55, 0.18);
        background: rgba(255, 255, 255, 0.025);
        font-size: 0.52rem;
        letter-spacing: 0;
    }

    .mobile-more-grid .icon {
        width: auto;
        min-height: 18px;
        font-size: 1rem;
    }

    .mobile-actions-grid .mobile-action-item::before,
    .mobile-actions-grid .mobile-action-item::after {
        display: block;
    }

    .mobile-actions-grid .mobile-action-item::before {
        transform: scaleX(1);
        background: linear-gradient(90deg, var(--action-accent), transparent);
        opacity: 0.58;
    }

    .mobile-actions-grid .mobile-action-item::after {
        width: 48%;
        background: linear-gradient(90deg, transparent, var(--action-accent), transparent);
        opacity: 0.72;
    }

    .mobile-actions-grid .mobile-action-item:hover::before,
    .mobile-actions-grid .mobile-action-item:focus-visible::before,
    .mobile-actions-grid .mobile-action-item.active::before {
        opacity: 1;
    }

    .mobile-actions-grid .mobile-action-item:hover::after,
    .mobile-actions-grid .mobile-action-item:focus-visible::after,
    .mobile-actions-grid .mobile-action-item.active::after {
        width: 72%;
    }

    .mobile-actions-browser {
        display: grid;
        gap: 12px;
    }

    .mobile-actions-sector-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .mobile-actions-sector-list::-webkit-scrollbar {
        display: none;
    }

    .mobile-actions-sector-chip {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 7px 12px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.025);
        color: rgba(232, 232, 232, 0.78);
        font-family: "Cinzel", serif;
        font-size: 0.6rem;
        letter-spacing: 1.4px;
        line-height: 1;
        text-transform: uppercase;
        cursor: pointer;
        transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    }

    .mobile-actions-sector-chip.active,
    .mobile-actions-sector-chip:hover,
    .mobile-actions-sector-chip:focus-visible {
        border-color: rgba(212, 175, 55, 0.48);
        background: rgba(212, 175, 55, 0.12);
        color: var(--gold-highlight);
        outline: none;
    }

    .mobile-actions-panels {
        min-height: 0;
        width: 100%;
    }

    .mobile-actions-panel {
        display: none;
    }

    .mobile-actions-panel.is-active {
        display: block;
        animation: fadeIn 0.18s ease-out;
    }

    .mobile-actions-panel .mobile-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(108px, 118px));
        justify-content: center;
        gap: 7px 8px;
        margin-bottom: 0;
    }

    .mobile-actions-panel .menu-item {
        min-height: 68px;
        height: auto;
        padding: 8px 8px 7px;
        gap: 5px;
        font-size: 0.46rem;
        letter-spacing: 0;
    }

    .mobile-actions-panel .icon {
        width: 28px;
        min-height: 28px;
        font-size: 0.92rem;
    }

    .mobile-actions-panel .label {
        width: min(100%, 12ch);
        margin: 0 auto;
        line-height: 1.06;
    }

    .mobile-more-grid .menu-item::before,
    .mobile-more-grid .menu-item::after {
        display: none;
    }

    body.mobile-actions-open,
    body.mobile-more-open {
        overflow: hidden;
    }
}

@media (min-width: 701px) and (max-width: 980px) {
    .mobile-app-header {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
        align-items: center;
        gap: 10px 14px;
    }

    .desktop-header-logo img {
        object-fit: cover;
    }

    .desktop-header-logo {
        flex-basis: auto;
        width: 100%;
        height: 300px;
    }

    .mobile-app-title strong {
        font-size: clamp(1.24rem, 3vw, 1.6rem);
    }

    .desktop-header-copy {
        max-width: none;
        font-size: 0.96rem;
    }

    .desktop-header-markers {
        display: none;
    }

    .mobile-app-user-summary {
        justify-self: end;
        align-self: center;
        width: min(410px, 100%);
        grid-template-columns: auto minmax(0, 1fr);
    }

    .mobile-app-user-identity {
        width: fit-content(120px);
        max-width: 120px;
    }

    .mobile-app-user-title,
    .mobile-app-user-zone {
        max-width: 120px;
    }

    .mobile-app-user-stats {
        grid-template-columns: repeat(3, minmax(74px, 1fr));
    }

    .mobile-app-user-title {
        font-size: 0.68rem;
    }

    .mobile-app-user-zone {
        font-size: 0.62rem;
    }
}

@media (min-width: 701px) and (max-width: 1100px) and (orientation: landscape) {
    body.is-authenticated .sidebar-nav {
        width: calc(100vw - 10px);
        max-width: calc(100vw - 10px);
        min-height: 66px;
        padding: 5px 5px 5px 46px;
        overflow-x: hidden;
    }

    body.is-authenticated .desktop-menu-minimize {
        left: 5px;
        width: 36px;
        min-width: 36px;
        height: 36px;
        font-size: 0.92rem;
    }

    body.is-authenticated .cosmos-nav,
    body.is-authenticated .cosmos-nav-primary {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        gap: 3px;
    }

    body.is-authenticated .cosmos-nav-primary {
        justify-content: stretch;
    }

    body.is-authenticated .cosmos-nav-primary > .menu-item,
    body.is-authenticated .cosmos-nav-primary .menu-item,
    body.is-authenticated .sidebar-nav .menu-item {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    body.is-authenticated .sidebar-nav .menu-item {
        height: 56px;
        padding: 5px 3px;
        gap: 3px;
        font-size: 0.48rem;
        line-height: 1.02;
    }

    body.is-authenticated .sidebar-nav .menu-item .icon {
        min-height: 18px;
        font-size: 0.98rem;
    }

    body.is-authenticated .sidebar-nav .menu-item .label {
        min-width: 0;
        font-size: 0.9em;
    }

    body.is-authenticated.desktop-menu-collapsed .sidebar-nav {
        width: 52px;
        max-width: 52px;
        min-height: 52px;
        padding: 4px;
        overflow: visible;
    }

    body.is-authenticated.desktop-menu-collapsed .desktop-menu-minimize {
        left: 50%;
        width: 42px;
        min-width: 42px;
        height: 42px;
    }
}

@media (max-width: 700px) {
    #siteBanner,
    #toggleBanner {
        display: none !important;
    }

    #heroBlock,
    #heroBlock.hidden {
        display: block !important;
    }

    #heroBlock {
        margin: 0 auto 10px;
    }

    #heroBlock::before,
    #heroBlock .decorative-line,
    #heroBlock .hero-eyebrow,
    #heroBlock .impact-words,
    #heroBlock .hero-subtitle {
        display: none !important;
    }

    #heroBlock .hero-title {
        margin: 0;
        font-size: clamp(1.9rem, 9vw, 2.7rem);
        letter-spacing: 1px;
        text-shadow:
            0 0 16px rgba(212, 175, 55, 0.42),
            2px 2px 0 rgba(0, 0, 0, 0.88);
    }

    .presentation-shortcuts {
        margin: 8px 0 46px;
    }

    .hero-subtitle {
        padding: 0 10px;
    }

    .hero-title span {
        letter-spacing: 7px;
    }

    .iw-sep {
        display: none;
    }

    .sidebar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .cosmos-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding: 0 2px 6px;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    .cosmos-nav-secondary {
        justify-content: center;
        margin-left: 0;
    }

    .cosmos-nav > a,
    .cosmos-nav > .menu-item,
    .cosmos-nav > .desktop-more-menu {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }

    .menu-item {
        justify-content: center;
        min-width: 82px;
        min-height: 82px;
        padding: 12px 14px 10px;
    }

    .menu-item .label,
    .menu-item > span:not(.icon) {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        padding: 24px 20px;
    }

    .ranking-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ranking-table thead,
    .ranking-table tbody {
        width: max-content;
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .menu-item .icon {
        font-size: 17px;
    }

    #heroBlock .hero-title {
        font-size: clamp(2rem, 9vw, 2.6rem);
        letter-spacing: 1px;
    }

    .decorative-line.wide {
        width: min(220px, 72vw);
    }
}

@media (max-width: 700px) {
    body {
        cursor: auto;
        padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
    }

    body.is-authenticated > .container,
    body.is-guest > .container {
        display: none;
    }

    .main-wrapper {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 8px 8px 0;
    }

    .game-layout {
        width: 100%;
        max-width: none;
        gap: 8px;
        min-height: calc(100svh - 8px);
    }

    .mobile-app-header {
        position: sticky;
        top: 0;
        z-index: 1800;
        display: grid;
        align-items: start;
        justify-content: stretch;
        gap: 10px;
        min-height: 54px;
        padding: 9px 12px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 8px;
        background: rgba(8, 8, 8, 0.94);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }

    .mobile-app-title {
        display: grid;
        gap: 1px;
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    .mobile-app-title span {
        font-family: "Cinzel", serif;
        font-size: 0.62rem;
        letter-spacing: 1.8px;
        text-transform: uppercase;
        color: var(--bronze-glow);
    }

    .mobile-app-title strong {
        display: block;
        font-family: "Cinzel", serif;
        font-size: clamp(0.92rem, 4.6vw, 1.15rem);
        line-height: 1.05;
        color: var(--gold-highlight);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-discord-link {
        transform-origin: left center;
    }

    .header-discord-link__badge {
        height: 18px;
    }

    .mobile-app-user-summary {
        display: none;
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 4px;
        align-items: stretch;
        padding: 8px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.025);
    }

    .mobile-app-user-identity {
        min-width: 0;
        display: grid;
        grid-template-rows: auto auto;
        align-self: center;
        align-content: center;
        gap: 2px;
        padding: 0;
        width: fit-content(124px);
        max-width: 124px;
        justify-self: start;
    }

    .mobile-app-user-title,
    .mobile-app-user-zone {
        min-width: 0;
        display: block;
        max-width: 124px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-app-user-title {
        color: var(--gold-highlight);
        font-family: "Cinzel", serif;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.55px;
        line-height: 1.05;
        text-transform: uppercase;
    }

    .mobile-app-user-zone {
        color: rgba(255, 235, 185, 0.72);
        font-family: "Cinzel", serif;
        font-size: 0.84rem;
        font-weight: 700;
        letter-spacing: 0.55px;
        line-height: 1.05;
        text-transform: uppercase;
        opacity: 0.92;
    }

    .mobile-app-user-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }

    .mobile-app-stat {
        --stat-color: var(--gold-highlight);
        min-width: 0;
        min-height: 48px;
        display: grid;
        align-content: center;
        gap: 2px;
        padding: 5px;
        border: 1px solid rgba(212, 175, 55, 0.14);
        border-radius: 6px;
        background: rgba(0, 0, 0, 0.18);
    }

    .mobile-app-stat > span:first-child {
        color: var(--bronze-glow);
        font-family: "Cinzel", serif;
        font-size: 0.5rem;
        letter-spacing: 0.7px;
        line-height: 1;
        text-transform: uppercase;
    }

    .mobile-app-stat strong {
        min-width: 0;
        color: var(--smoke-white);
        font-family: "Cinzel", serif;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-app-stat-bar {
        display: block;
        width: 100%;
        height: 3px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-app-stat-fill {
        display: block;
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--stat-color), rgba(255, 255, 255, 0.82));
    }

    .mobile-app-stat--level { --stat-color: #d4af37; }
    .mobile-app-stat--exp { --stat-color: #f5c542; }
    .mobile-app-stat--life { --stat-color: #d95050; }
    .mobile-app-stat--cosmo { --stat-color: #4aa3ff; }
    .mobile-app-stat--sense { --stat-color: #a879ff; }
    .mobile-app-stat--armor { --stat-color: #c67b3e; }

    .discord-badge,
    .sidebar-nav {
        display: none;
    }

    .content-area {
        margin-top: 0;
        border-radius: 8px;
        border-color: rgba(212, 175, 55, 0.12);
        background: rgba(255, 255, 255, 0.015);
    }

    .iframe-wrapper,
    .main-iframe {
        height: calc(100svh - 154px - env(safe-area-inset-bottom, 0px));
        min-height: 430px;
    }

    .iframe-wrapper {
        overflow: hidden;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        z-index: 2300;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        min-height: 72px;
        padding: 5px;
        border: 1px solid rgba(212, 175, 55, 0.24);
        border-radius: 10px;
        background: rgba(6, 6, 8, 0.96);
        box-shadow:
            0 -12px 32px rgba(0, 0, 0, 0.48),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
        transition: opacity 0.18s ease, visibility 0.18s ease;
    }

    .mobile-bottom-nav .menu-item,
    .mobile-nav-more,
    .mobile-nav-discord {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: 62px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 6px 3px;
        border: 1px solid transparent;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        color: rgba(232, 232, 232, 0.74);
        font-family: "Cinzel", serif;
        font-size: 0.58rem;
        letter-spacing: 0;
        line-height: 1.05;
        opacity: 1;
        overflow: hidden;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        animation: none;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .mobile-bottom-nav .menu-item::before,
    .mobile-bottom-nav .menu-item::after {
        display: none;
    }

    .mobile-bottom-nav .icon,
    .mobile-nav-more .icon,
    .mobile-nav-discord .icon {
        width: auto;
        min-height: 20px;
        font-size: 1.05rem;
        line-height: 1;
    }

    .mobile-bottom-nav .label,
    .mobile-nav-more .label,
    .mobile-nav-discord .label {
        display: block;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bottom-nav .menu-item:hover,
    .mobile-bottom-nav .menu-item:focus-visible,
    .mobile-bottom-nav .menu-item.active,
    .mobile-nav-more:hover,
    .mobile-nav-more:focus-visible,
    .mobile-nav-more.active,
    .mobile-nav-discord:hover,
    .mobile-nav-discord:focus-visible {
        color: var(--gold-highlight);
        border-color: rgba(212, 175, 55, 0.28);
        background: rgba(212, 175, 55, 0.1);
        transform: none;
    }

    .mobile-nav-discord .discord-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        min-height: 20px;
        border-radius: 50%;
        background: #5865f2;
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 0.76rem;
        font-weight: 700;
        box-shadow: 0 0 10px rgba(88, 101, 242, 0.36);
    }

    body.mobile-actions-open .mobile-bottom-nav,
    body.mobile-more-open .mobile-bottom-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.mobile-actions-open .mobile-actions-sheet,
    body.mobile-more-open .mobile-more-sheet {
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        max-height: min(calc(100svh - 16px), 600px);
    }

    .mobile-actions-layer,
    .mobile-more-layer {
        position: fixed;
        inset: 0;
        z-index: 2400;
        display: block;
    }

    .mobile-actions-layer {
        pointer-events: none;
    }

    .mobile-actions-layer[hidden],
    .mobile-more-layer[hidden] {
        display: none !important;
    }

    .mobile-actions-backdrop,
    .mobile-more-backdrop {
        position: absolute;
        inset: 0;
        border: 0;
        background: rgba(0, 0, 0, 0.56);
    }

    .mobile-actions-backdrop {
        display: none;
        pointer-events: none;
    }

    .mobile-actions-sheet,
    .mobile-more-sheet {
        position: absolute;
        left: 4px;
        right: 4px;
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        padding: 12px 4px 8px;
        border: 1px solid rgba(212, 175, 55, 0.26);
        border-radius: 12px;
        background: rgba(9, 9, 11, 0.98);
        box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.58);
    }

    .mobile-actions-sheet {
        max-height: min(70svh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto;
    }

    .mobile-actions-header,
    .mobile-more-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        padding: 0 9px;
    }

    .mobile-actions-header .mobile-actions-sector-list {
        flex: 1 1 auto;
        min-width: 0;
        padding-bottom: 0;
    }

    .mobile-actions-header h2,
    .mobile-more-header h2 {
        margin: 0;
        color: var(--gold-highlight);
        font-family: "Cinzel", serif;
        font-size: 0.88rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .mobile-actions-close,
    .mobile-more-close {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03);
        color: var(--gold-highlight);
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-actions-section {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 14px 9px 8px;
        color: var(--bronze-glow);
        font-family: "Cinzel", serif;
        font-size: 0.58rem;
        letter-spacing: 1.6px;
        text-transform: uppercase;
    }

    .mobile-actions-section::before,
    .mobile-actions-section::after {
        content: "";
        flex: 1 1 auto;
        height: 1px;
        background: linear-gradient(90deg, rgba(198, 123, 62, 0.14), rgba(212, 175, 55, 0.5), rgba(198, 123, 62, 0.08));
    }

    .mobile-actions-section::before {
        max-width: 42px;
    }

    .mobile-actions-grid,
    .mobile-more-grid {
        display: grid;
    }

    .mobile-actions-grid {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(94px, 104px));
        justify-content: center;
        align-content: start;
        gap: 5px 6px;
        margin-bottom: 4px;
    }

    .mobile-more-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
    }

    .mobile-actions-grid .menu-item {
        min-width: 0;
        min-height: 64px;
        height: auto;
        padding: 7px 5px 6px;
        opacity: 1;
        animation: none;
        font-size: 0.48rem;
        letter-spacing: 0;
    }

    .mobile-actions-grid .mobile-action-item {
        --action-accent: rgba(212, 175, 55, 0.92);
        gap: 5px;
        border-radius: 10px;
        border-color: rgba(212, 175, 55, 0.24);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
            radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 72%),
            rgba(9, 9, 11, 0.96);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .mobile-actions-grid .mobile-action-item--library {
        --action-accent: rgba(125, 167, 224, 0.92);
        border-color: rgba(61, 90, 128, 0.38);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
            radial-gradient(circle at top, rgba(61, 90, 128, 0.22), transparent 70%),
            rgba(9, 9, 11, 0.96);
    }

    .mobile-actions-grid .mobile-action-item--chronicle {
        --action-accent: rgba(198, 123, 62, 0.92);
        border-color: rgba(198, 123, 62, 0.4);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
            radial-gradient(circle at top, rgba(198, 123, 62, 0.2), transparent 70%),
            rgba(9, 9, 11, 0.96);
    }

    .mobile-actions-grid .mobile-action-item .label {
        width: min(100%, 10.5ch);
        margin: 0 auto;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-wrap: balance;
        line-height: 1.1;
    }

    .mobile-actions-grid .icon {
        width: 30px;
        min-height: 30px;
        border-radius: 50%;
        background:
            radial-gradient(circle at top, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 5px 10px rgba(0, 0, 0, 0.18);
        font-size: 0.96rem;
    }

    .mobile-actions-grid .mobile-action-item--library .icon {
        background:
            radial-gradient(circle at top, rgba(61, 90, 128, 0.3), rgba(255, 255, 255, 0.02));
    }

    .mobile-actions-grid .mobile-action-item--chronicle .icon {
        background:
            radial-gradient(circle at top, rgba(198, 123, 62, 0.28), rgba(255, 255, 255, 0.02));
    }

    .mobile-more-grid .menu-item {
        min-width: 0;
        min-height: 0;
        height: 62px;
        padding: 6px 3px;
        opacity: 1;
        animation: none;
        border-color: rgba(212, 175, 55, 0.18);
        background: rgba(255, 255, 255, 0.025);
        font-size: 0.48rem;
        letter-spacing: 0;
    }

    .mobile-more-grid .icon {
        width: auto;
        min-height: 18px;
        font-size: 0.95rem;
    }

    .mobile-actions-grid .mobile-action-item::before,
    .mobile-actions-grid .mobile-action-item::after {
        display: block;
    }

    .mobile-actions-grid .mobile-action-item::before {
        transform: scaleX(1);
        background: linear-gradient(90deg, var(--action-accent), transparent);
        opacity: 0.54;
    }

    .mobile-actions-grid .mobile-action-item::after {
        width: 46%;
        background: linear-gradient(90deg, transparent, var(--action-accent), transparent);
        opacity: 0.68;
    }

    .mobile-actions-grid .mobile-action-item:hover::before,
    .mobile-actions-grid .mobile-action-item:focus-visible::before,
    .mobile-actions-grid .mobile-action-item.active::before {
        opacity: 1;
    }

    .mobile-actions-grid .mobile-action-item:hover::after,
    .mobile-actions-grid .mobile-action-item:focus-visible::after,
    .mobile-actions-grid .mobile-action-item.active::after {
        width: 72%;
    }

    .mobile-actions-browser {
        display: grid;
        gap: 10px;
    }

    .mobile-actions-sector-list {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .mobile-actions-sector-list::-webkit-scrollbar {
        display: none;
    }

    .mobile-actions-sector-chip {
        flex: 0 0 auto;
        min-height: 28px;
        padding: 6px 10px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.025);
        color: rgba(232, 232, 232, 0.76);
        font-family: "Cinzel", serif;
        font-size: 0.52rem;
        letter-spacing: 1.1px;
        line-height: 1;
        text-transform: uppercase;
        cursor: pointer;
        transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    }

    .mobile-actions-sector-chip.active,
    .mobile-actions-sector-chip:hover,
    .mobile-actions-sector-chip:focus-visible {
        border-color: rgba(212, 175, 55, 0.46);
        background: rgba(212, 175, 55, 0.12);
        color: var(--gold-highlight);
        outline: none;
    }

    .mobile-actions-panels {
        min-height: 0;
        width: 100%;
    }

    .mobile-actions-panel {
        display: none;
    }

    .mobile-actions-panel.is-active {
        display: block;
        animation: fadeIn 0.18s ease-out;
    }

    .mobile-actions-panel .mobile-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(94px, 104px));
        justify-content: center;
        gap: 5px 6px;
        margin-bottom: 0;
    }

    .mobile-actions-panel .menu-item {
        min-height: 58px;
        height: auto;
        padding: 6px 5px;
        gap: 4px;
        font-size: 0.42rem;
        letter-spacing: 0;
    }

    .mobile-actions-panel .icon {
        width: 24px;
        min-height: 24px;
        font-size: 0.84rem;
    }

    .mobile-actions-panel .label {
        width: min(100%, 10.5ch);
        margin: 0 auto;
        line-height: 1.04;
    }

    .mobile-more-grid .menu-item::before,
    .mobile-more-grid .menu-item::after {
        display: none;
    }

    body.mobile-actions-open,
    body.mobile-more-open {
        overflow: hidden;
    }
}

@media (max-width: 380px) {
    .mobile-bottom-nav {
        left: 5px;
        right: 5px;
    }

    .mobile-bottom-nav .menu-item,
    .mobile-nav-more,
    .mobile-nav-discord {
        font-size: 0.52rem;
    }

    .mobile-actions-sheet,
    .mobile-more-sheet {
        left: 5px;
        right: 5px;
    }

    .mobile-actions-grid .menu-item {
        font-size: 0.4rem;
    }
}
