:root {
    --bg-dark: #080511;
    --card-bg: rgba(22, 16, 41, 0.75);
    --card-border: rgba(184, 137, 255, 0.2);
    --gold-glow: #f5c453;
    --purple-neon: #a855f7;
    --purple-deep: #3b0764;
    --text-light: #f1f5f9;
    --text-muted: #cbd5e1;
    --green-active: #22c55e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.25), transparent 70%),
        radial-gradient(circle at 80% 40%, rgba(59, 7, 100, 0.4), transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Header */
header {
    background: rgba(8, 5, 17, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
}

.logo-group img {
    width: 38px;
    height: 38px;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-glow);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-glow);
    text-shadow: 0 0 8px rgba(245, 196, 83, 0.5);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 40px 20px 10px;
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-title span {
    color: var(--gold-glow);
    text-shadow: 0 0 12px rgba(245, 196, 83, 0.4);
}

/* Hero Banner Section */
.hero {
    position: relative;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(8, 5, 17, 0.3) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.banner-container {
    max-width: 950px;
    margin: 0 auto 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.35), 0 0 15px rgba(245, 196, 83, 0.2);
    border: 1px solid rgba(245, 196, 83, 0.3);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.tagline {
    font-size: 1.3rem;
    color: var(--gold-glow);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(245, 196, 83, 0.5);
}

/* Buttons */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-discord {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-glow);
    border: 1px solid var(--gold-glow);
}

.btn-secondary:hover {
    background: rgba(245, 196, 83, 0.15);
    transform: translateY(-2px);
}

/* Main Content Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    width: 100%;
    flex: 1;
}

/* Gallery Container Variant */
.container.gallery-container {
    max-width: 1300px;
    padding-top: 20px;
}

/* Quick Stats Banner */
.stats-banner {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--gold-glow);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Wise Old Man Competitions Section */
.wom-section {
    margin-bottom: 50px;
}

.wom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.wom-header h2 {
    font-size: 1.6rem;
    color: var(--gold-glow);
    letter-spacing: 1px;
}

.wom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.comp-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.comp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 196, 83, 0.4);
}

.comp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.comp-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.comp-title:hover {
    color: var(--gold-glow);
}

.comp-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-active {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green-active);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.badge-upcoming {
    background: rgba(245, 196, 83, 0.2);
    color: var(--gold-glow);
    border: 1px solid rgba(245, 196, 83, 0.4);
}

.comp-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.comp-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.comp-details {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.comp-details span {
    display: block;
}

.btn-wom {
    display: inline-block;
    text-align: center;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-glow);
    background: rgba(245, 196, 83, 0.1);
    border: 1px solid var(--gold-glow);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-wom:hover {
    background: var(--gold-glow);
    color: var(--bg-dark);
}

/* Grid Section */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-top: 3px solid var(--purple-neon);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card.gold-header {
    border-top-color: var(--gold-glow);
}

.card h2 {
    color: var(--gold-glow);
    font-size: 1.4rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card ul {
    list-style: none;
}

.card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.card li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--purple-neon);
}

/* Gallery-Specific Controls & Cards */
.checkbox-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    padding: 18px 25px;
    border-radius: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
    user-select: none;
    transition: color 0.2s;
}

.checkbox-label:hover {
    color: var(--gold-glow);
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--purple-neon);
    border-color: var(--purple-neon);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.checkbox-label input[type="checkbox"]:checked::before {
    content: "✓";
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
}

.category-section {
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: var(--gold-glow);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 8px;
}

.gallery-grid-wrapper {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    padding: 10px 5px 20px;
}

.gallery-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-top: 3px solid var(--purple-neon);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-card[hidden] {
    display: none;
}

.gallery-toggle {
    display: block;
    margin: 4px auto 0;
    padding: 10px 24px;
    color: var(--gold-glow);
    background: rgba(245, 196, 83, 0.08);
    border: 1px solid var(--gold-glow);
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gallery-toggle:hover {
    color: var(--bg-dark);
    background: var(--gold-glow);
    transform: translateY(-2px);
}

.gallery-toggle:focus-visible {
    outline: 3px solid var(--purple-neon);
    outline-offset: 3px;
}

.gallery-toggle[hidden] {
    display: none;
}

.gallery-card.gold-border {
    border-top-color: var(--gold-glow);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #000;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .img-wrapper img {
    transform: scale(1.08);
}

.item-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.item-title {
    color: var(--gold-glow);
    font-size: 1.1rem;
    font-weight: 700;
}

.item-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}
/* About Clan Card */
.about-clan-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-top: 3px solid var(--gold-glow);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.about-clan-card:hover {
    transform: translateY(-4px);
}

.about-clan-card h2 {
    color: var(--gold-glow);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.about-clan-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.about-clan-card strong {
    color: var(--text-light);
}

@media (max-width: 1050px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Leaderboard Styles */
        .boss-search-input {
            width: 100%;
            max-width: 400px;
            margin: 0 auto 20px auto;
            display: block;
            background: rgba(20, 24, 42, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.2s;
        }
        .boss-search-input:focus {
            border-color: var(--gold-glow, #ffd700);
        }
        .boss-selector-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 30px;
            max-height: 280px;
            overflow-y: auto;
            padding: 5px;
            scrollbar-width: thin;
            scrollbar-color: var(--gold-glow, #ffd700) rgba(20, 24, 42, 0.5);
        }
        .boss-btn {
            background: rgba(20, 24, 42, 0.9);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 8px 14px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.88rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
        }
        .boss-btn img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }
        .boss-btn:hover, .boss-btn.active {
            border-color: var(--gold-glow, #ffd700);
            background: rgba(255, 215, 0, 0.15);
            color: var(--gold-glow, #ffd700);
            transform: translateY(-2px);
        }
        .lb-card {
            background: rgba(20, 24, 42, 0.9);
            border: 1px solid rgba(255, 215, 0, 0.35);
            border-radius: 12px;
            padding: 25px;
            max-width: 850px;
            margin: 0 auto;
        }
        .lb-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
        }
        .lb-header-title {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .lb-header-title img {
            width: 34px;
            height: 34px;
        }
        .lb-table {
            width: 100%;
            border-collapse: collapse;
        }
        .lb-table th, .lb-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .lb-table th {
            color: var(--text-muted, #a0aec0);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .lb-table tr:hover {
            background: rgba(255, 255, 255, 0.04);
        }
        .rank-1 { color: #ffd700; font-weight: 800; }
        .rank-2 { color: #c0c0c0; font-weight: 700; }
        .rank-3 { color: #cd7f32; font-weight: 700; }
        .kc-val {
            font-weight: 700;
            color: var(--gold-glow, #ffd700);
            text-align: right;
        }
        .player-link {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
        }
        .player-link:hover {
            color: var(--gold-glow, #ffd700);
            text-decoration: underline;
        }
        /* End of Leaderboard Styles */

        /** Split Calculator Styles **/
       .calc-wrapper {
            max-width: 720px;
            margin: 0 auto;
            background: rgba(20, 24, 42, 0.92);
            border: 1px solid rgba(255, 215, 0, 0.4);
            border-radius: 14px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        .calc-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .form-group label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff;
        }
        .form-group input, .form-group select {
            background: rgba(10, 12, 24, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            padding: 12px 14px;
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.2s;
        }
        .form-group input:focus, .form-group select:focus {
            border-color: var(--gold-glow, #ffd700);
        }
        .input-hint {
            font-size: 0.78rem;
            color: var(--text-muted, #a0aec0);
        }
        .checkbox-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 25px;
            cursor: pointer;
            font-size: 0.95rem;
        }
        .results-box {
            background: rgba(10, 12, 24, 0.85);
            border: 1px solid rgba(255, 215, 0, 0.3);
            border-radius: 10px;
            padding: 20px;
        }
        .result-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 0.95rem;
        }
        .result-row:last-child {
            border-bottom: none;
        }
        .payout-highlight {
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--gold-glow, #ffd700);
        }
        .copy-split-btn {
            width: 100%;
            margin-top: 20px;
            padding: 12px;
            background: var(--gold-glow, #ffd700);
            color: #0b0d17;
            font-weight: 800;
            font-size: 1rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.15s ease, opacity 0.15s ease;
        }
        .copy-split-btn:hover {
            opacity: 0.92;
            transform: translateY(-1px);
        }
        .preset-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 6px;
        }

        .preset-btn {
            background: rgba(255, 255, 255, 0.06);
            color: var(--text-light);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 6px;
            padding: 5px 10px;
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.18s ease;
        }

        .preset-btn:hover {
            border-color: var(--gold-glow);
            color: var(--gold-glow);
            background: rgba(245, 196, 83, 0.12);
        }

        .mode-tabs {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px;
            margin-bottom: 22px;
            background: rgba(10, 12, 24, 0.75);
            padding: 6px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.12);
        }

        .mode-tab {
            background: transparent;
            color: var(--text-muted);
            border: none;
            border-radius: 7px;
            padding: 9px 10px;
            font-size: 0.88rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .mode-tab.active {
            background: var(--gold-glow);
            color: #0b0d17;
        }

        .coffer-combo {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .coffer-combo select {
            flex: 1;
        }

        .coffer-custom-wrap {
            display: flex;
            align-items: center;
            gap: 4px;
            width: 96px;
            background: rgba(10, 12, 24, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 0 10px;
        }

        .coffer-custom-wrap input {
            width: 100%;
            background: transparent;
            border: none;
            padding: 12px 0;
            font-size: 0.95rem;
            text-align: right;
        }

        .coffer-custom-wrap input:focus {
            outline: none;
        }

        .custom-split-panel {
            background: rgba(10, 12, 24, 0.72);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 10px;
            padding: 16px;
            margin-bottom: 22px;
        }

        .custom-split-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .custom-split-header h3 {
            font-size: 1rem;
            color: var(--gold-glow);
        }

        .pct-status {
            font-size: 0.82rem;
            font-weight: 700;
            padding: 3px 9px;
            border-radius: 12px;
        }

        .pct-valid {
            background: rgba(34, 197, 94, 0.16);
            color: #4ade80;
            border: 1px solid rgba(34, 197, 94, 0.35);
        }

        .pct-warn {
            background: rgba(245, 196, 83, 0.16);
            color: var(--gold-glow);
            border: 1px solid rgba(245, 196, 83, 0.35);
        }

        .participant-rows {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .participant-row {
            display: grid;
            grid-template-columns: minmax(120px, 1.4fr) minmax(85px, 0.9fr) minmax(110px, 1fr) auto;
            gap: 8px;
            align-items: center;
        }

        .participant-row input {
            background: rgba(8, 5, 17, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: var(--text-light);
            padding: 9px 10px;
            border-radius: 7px;
            font-size: 0.88rem;
            width: 100%;
        }

        .participant-row input:focus {
            outline: none;
            border-color: var(--gold-glow);
        }

        .remove-row-btn {
            background: rgba(239, 68, 68, 0.14);
            color: #fca5a5;
            border: 1px solid rgba(239, 68, 68, 0.35);
            border-radius: 7px;
            padding: 8px 10px;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
        }

        .remove-row-btn:hover {
            background: rgba(239, 68, 68, 0.28);
        }

        .add-row-btn {
            margin-top: 12px;
            background: rgba(168, 85, 247, 0.18);
            color: #e9d5ff;
            border: 1px solid rgba(168, 85, 247, 0.45);
            border-radius: 7px;
            padding: 8px 14px;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
        }

        .add-row-btn:hover {
            background: rgba(168, 85, 247, 0.3);
        }

        .breakdown-list {
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .breakdown-item {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 12px;
            font-size: 0.92rem;
        }

        .breakdown-meta {
            color: var(--text-muted);
            font-size: 0.8rem;
        }

        .breakdown-amount {
            color: var(--gold-glow);
            font-weight: 700;
            text-align: right;
            white-space: nowrap;
        }

        @media (max-width: 600px) {
            .mode-tabs {
                grid-template-columns: 1fr;
            }

            .participant-row {
                grid-template-columns: 1fr 1fr;
            }

            .participant-row .p-name {
                grid-column: 1 / -1;
            }
        }
        /** End of Split Calculator Styles **/
