/* ============================================================
   FANTASY LEAGUE - Clean Esports Design (Twire-inspired)
   ============================================================ */

/* ---------- CSS Variables ---------- */
.fantasy-page {
    --f-bg-deep: #0d0d0d;
    --f-bg-dark: #141414;
    --f-bg-card: rgba(255, 255, 255, 0.03);
    --f-bg-card-hover: rgba(255, 255, 255, 0.06);
    --f-bg-surface: rgba(255, 255, 255, 0.05);
    --f-border: rgba(255, 255, 255, 0.08);
    --f-border-hover: rgba(255, 255, 255, 0.15);
    --f-accent: #1e1e1e;
    --f-gold: #f2aa04;
    --f-gold-glow: rgba(242, 170, 4, 0.25);
    --f-gold-soft: rgba(242, 170, 4, 0.08);
    --f-text: #e0e4ec;
    --f-text-dim: #8a92a4;
    --f-text-muted: #555d70;
    --f-green: #4caf50;
    --f-red: #e74c60;
    --f-grey: #6c757d;
    --f-silver: #c0c0c0;
    --f-bronze: #cd7f32;
    --f-radius: 4px;
    --f-transition: all 0.25s ease;
}

/* ---------- Base Overrides ---------- */
.fantasy-page .content {
    background: var(--f-bg-deep) !important;
}

.fantasy-page .bg-secondary {
    background: transparent !important;
}

/* ---------- Contest List Background Image ---------- */
#contest-list {
    position: relative;
    overflow: hidden;
}

.f-list-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

#contest-list > *:not(.f-list-bg) {
    position: relative;
    z-index: 1;
}

/* ---------- Player Avatar ---------- */
.f-player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--f-border-hover);
}

.f-player-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--f-border-hover);
}

.f-player-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--f-bg-surface);
    border: 2px solid var(--f-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--f-text-muted);
    font-size: 0.75rem;
}

/* ---------- Team Logo Large ---------- */
.f-team-logo-lg {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ---------- Tab Navigation ---------- */
.f-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    background: var(--f-bg-card);
    border-bottom: 2px solid var(--f-border);
    margin-bottom: 0;
}

.f-tab {
    padding: 14px 28px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--f-text-dim);
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--f-transition);
}

.f-tab:hover {
    color: var(--f-text);
}

.f-tab.active {
    color: var(--f-gold);
    border-bottom-color: var(--f-gold);
}

/* ---------- Contest Row (Twire Style) ---------- */
.f-contest-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--f-border);
    transition: var(--f-transition);
    text-decoration: none !important;
}

.f-contest-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.f-contest-row:first-child {
    border-top: 1px solid var(--f-border);
}

.f-contest-banner {
    width: 180px;
    height: 110px;
    background: var(--f-bg-surface);
    border-radius: var(--f-radius);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-contest-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.f-contest-banner .f-banner-placeholder {
    color: var(--f-text-muted);
    font-size: 2rem;
}

.f-contest-banner .f-status {
    position: absolute;
    top: 8px;
    left: 8px;
}

.f-contest-info {
    flex: 1;
    min-width: 0;
}

.f-contest-name {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.f-contest-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.f-contest-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--f-text-dim);
    font-size: 0.82rem;
}

.f-contest-detail i {
    color: var(--f-text-muted);
    font-size: 0.75rem;
}

.f-contest-detail .cyan {
    color: var(--f-gold);
}

.f-contest-actions {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.f-contest-entries {
    color: var(--f-text-dim);
    font-size: 0.78rem;
}

/* ---------- Buttons ---------- */
.f-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--f-radius);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: var(--f-transition);
    letter-spacing: 0.3px;
}

.f-btn-primary {
    background: linear-gradient(135deg, var(--f-gold) 0%, #e09900 100%);
    color: #000 !important;
    font-weight: 700;
}

.f-btn-primary:hover {
    background: linear-gradient(135deg, #ffbb20 0%, var(--f-gold) 100%);
    color: #000 !important;
}

.f-btn-gold {
    background: linear-gradient(135deg, var(--f-gold) 0%, #e09900 100%);
    color: #000 !important;
}

.f-btn-gold:hover {
    background: linear-gradient(135deg, #ffbb20 0%, var(--f-gold) 100%);
    color: #000 !important;
}

.f-btn-outline {
    background: transparent;
    color: var(--f-text-dim) !important;
    border: 1px solid var(--f-border-hover);
}

.f-btn-outline:hover {
    border-color: var(--f-gold);
    color: var(--f-gold) !important;
}

.f-btn-view {
    background: linear-gradient(135deg, var(--f-gold) 0%, #e09900 100%);
    color: #000 !important;
    padding: 10px 36px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.f-btn-view:hover {
    background: linear-gradient(135deg, #ffbb20 0%, var(--f-gold) 100%);
    color: #000 !important;
}

.f-btn-sm {
    padding: 6px 16px;
    font-size: 0.78rem;
}

.f-btn-block {
    width: 100%;
    justify-content: center;
}

.f-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---------- Section Headers ---------- */
.f-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--f-text-dim);
    margin-bottom: 20px;
}

.f-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--f-border);
}

.f-section-label .icon {
    color: var(--f-gold);
}

/* ---------- Cards ---------- */
.f-card {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 20px;
    transition: var(--f-transition);
    position: relative;
    overflow: hidden;
}

.f-card:hover {
    border-color: var(--f-border-hover);
}

.f-card-flat {
    transition: var(--f-transition);
}

.f-card-flat:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(242, 170, 3, 0.2);
    border-color: rgba(242, 170, 3, 0.3);
}

/* ---------- Contest Title / Tournament ---------- */
.f-contest-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.f-contest-tournament {
    color: var(--f-gold);
    font-size: 0.8rem;
    font-weight: 500;
}

.f-contest-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.f-contest-meta span {
    color: var(--f-text-dim);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.f-contest-meta span i {
    color: var(--f-text-muted);
    font-size: 0.7rem;
}

/* ---------- Status Badges ---------- */
.f-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.f-status-live {
    background: var(--f-green);
    color: #fff;
}

.f-status-live::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.f-status-open {
    background: var(--f-gold);
    color: #000;
}

.f-status-completed {
    background: var(--f-red);
    color: #fff;
}

/* ---------- Player Cards ---------- */
.f-player {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 12px 14px;
    cursor: pointer;
    transition: var(--f-transition);
    position: relative;
    overflow: hidden;
}

.f-player::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--f-text-muted);
    transition: var(--f-transition);
}

.f-player:hover {
    border-color: var(--f-border-hover);
    background: var(--f-bg-card-hover);
}

.f-player:hover::after {
    background: var(--f-gold);
}

.f-player.selected {
    border-color: var(--f-gold);
    background: rgba(242, 170, 4, 0.06);
}

.f-player.selected::after {
    background: var(--f-gold);
}

.f-player.captain {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.06);
}

.f-player.captain::after {
    background: #ffd700;
}

.f-player.vice-captain {
    border-color: var(--f-silver);
    background: rgba(192, 192, 192, 0.04);
}

.f-player.vice-captain::after {
    background: var(--f-silver);
}

.f-player-ign {
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
}

.f-player-team {
    color: var(--f-text-dim);
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 1px;
}

.f-player-role {
    color: var(--f-text-muted);
    font-size: 0.68rem;
}

.f-player-cost {
    color: var(--f-gold);
    font-weight: 800;
    font-size: 1rem;
}

.f-player-cost-unit {
    font-size: 0.65rem;
    color: var(--f-text-muted);
    font-weight: 400;
}

/* ---------- Team Logo ---------- */
.f-team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.f-tag-logo {
    width: 14px;
    height: 14px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 2px;
}

/* ---------- Roster Slots ---------- */
.f-roster-slot {
    background: var(--f-bg-card);
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--f-radius);
    padding: 12px 14px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--f-transition);
}

.f-roster-slot.filled {
    border-style: solid;
    border-color: var(--f-border-hover);
    background: var(--f-bg-card-hover);
}

.f-roster-slot.captain-slot {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.04);
}

.f-roster-slot.vice-slot {
    border-color: var(--f-silver);
    background: rgba(192, 192, 192, 0.03);
}

.f-roster-empty {
    color: var(--f-text-muted);
    font-size: 0.8rem;
    font-style: italic;
}

/* ---------- Budget Bar ---------- */
.f-budget-bar {
    background: rgba(255, 255, 255, 0.06);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.f-budget-fill {
    background: linear-gradient(90deg, var(--f-gold), #ffcc40);
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.f-budget-fill.over {
    background: linear-gradient(90deg, var(--f-red), #ff6680);
}

.f-budget-text {
    font-size: 0.78rem;
    color: var(--f-text-dim);
}

.f-budget-amount {
    color: var(--f-gold);
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* ---------- Team Filters ---------- */
.f-team-filter {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    color: var(--f-text-dim);
    background: transparent;
    cursor: pointer;
    margin: 3px;
    transition: var(--f-transition);
}

.f-team-filter:hover {
    border-color: var(--f-border-hover);
    color: var(--f-text);
}

.f-team-filter.active {
    border-color: var(--f-gold);
    color: var(--f-gold);
    background: rgba(242, 170, 4, 0.08);
}

/* ---------- Countdown Timer ---------- */
.f-timer {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--f-gold);
    letter-spacing: 2px;
}

.f-timer-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--f-text-muted);
    font-weight: 600;
}

/* ---------- Leaderboard ---------- */
.f-lb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--f-bg-card);
    border-bottom: 1px solid var(--f-border);
    transition: var(--f-transition);
}

.f-lb-row:first-child {
    border-top: 1px solid var(--f-border);
}

.f-lb-row:hover {
    background: var(--f-bg-card-hover);
}

.f-rank {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.f-rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.f-rank-2 {
    background: linear-gradient(135deg, #e0e0e0, #b0b0b0);
    color: #000;
}

.f-rank-3 {
    background: linear-gradient(135deg, #cd7f32, #a06020);
    color: #fff;
}

.f-rank-default {
    background: rgba(255, 255, 255, 0.06);
    color: var(--f-text-dim);
}

.f-points {
    color: var(--f-gold);
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

.f-points-unit {
    font-size: 0.65rem;
    color: var(--f-text-muted);
    font-weight: 400;
    margin-left: 2px;
}

/* ---------- Roster Tags ---------- */
.f-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 0.3px;
}

.f-tag-captain {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.f-tag-vice {
    background: rgba(192, 192, 192, 0.12);
    color: var(--f-silver);
    border: 1px solid rgba(192, 192, 192, 0.25);
}

.f-tag-player {
    background: rgba(255, 255, 255, 0.04);
    color: var(--f-text-dim);
    border: 1px solid var(--f-border);
}

/* ---------- Stat Boxes ---------- */
.f-stat-box {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 20px;
    text-align: center;
}

.f-stat-value {
    color: var(--f-gold);
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.f-stat-label {
    color: var(--f-text-muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-top: 6px;
}

/* ---------- Tables ---------- */
.f-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.f-table th {
    color: var(--f-text-muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 8px 12px;
    border-bottom: 1px solid var(--f-border);
    text-align: left;
}

.f-table td {
    color: var(--f-text);
    font-size: 0.85rem;
    padding: 10px 12px;
    border-bottom: 1px solid var(--f-border);
}

.f-table tbody tr:hover {
    background: var(--f-bg-card-hover);
}

.f-table .text-center {
    text-align: center;
}

/* ---------- Scoring Table ---------- */
.f-score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--f-border);
}

.f-score-row:last-child {
    border-bottom: none;
}

.f-score-action {
    color: var(--f-text);
    font-size: 0.85rem;
}

.f-score-pts {
    color: var(--f-gold);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* ---------- How It Works Steps ---------- */
.f-step {
    text-align: center;
    padding: 20px 15px;
}

.f-step-num {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    background: var(--f-gold);
    color: #000;
    border-radius: 50%;
    margin-bottom: 12px;
}

.f-step-text {
    color: var(--f-text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ---------- Back Link ---------- */
.f-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--f-text-muted) !important;
    font-size: 0.82rem;
    text-decoration: none !important;
    transition: var(--f-transition);
}

.f-back:hover {
    color: var(--f-gold) !important;
}

/* ---------- Divider ---------- */
.f-divider {
    border: none;
    height: 1px;
    background: var(--f-border);
    margin: 20px 0;
}

/* ---------- Role Badge ---------- */
.f-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--f-transition);
}

.f-role-badge.captain {
    background: #ffd700;
    color: #000;
}

.f-role-badge.vice {
    background: var(--f-silver);
    color: #000;
}

.f-role-badge.player {
    background: rgba(255, 255, 255, 0.1);
    color: var(--f-text-dim);
}

/* ---------- Entry Card ---------- */
.f-entry-card {
    background: var(--f-bg-card);
    border-bottom: 1px solid var(--f-border);
    padding: 18px 20px;
    transition: var(--f-transition);
}

.f-entry-card:hover {
    background: var(--f-bg-card-hover);
}

/* ---------- Alert Banner ---------- */
.f-alert-success {
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: var(--f-radius);
    padding: 14px 18px;
}

/* ---------- Remove Button ---------- */
.f-remove-btn {
    background: rgba(231, 76, 96, 0.1);
    border: 1px solid rgba(231, 76, 96, 0.2);
    color: var(--f-red);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--f-radius);
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--f-transition);
}

.f-remove-btn:hover {
    background: rgba(231, 76, 96, 0.25);
    border-color: var(--f-red);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .f-contest-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .f-contest-banner {
        width: 100%;
        height: 80px;
    }

    .f-contest-actions {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .f-tabs {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .f-tab {
        white-space: nowrap;
        padding: 12px 18px;
        font-size: 0.7rem;
    }

    .f-points {
        font-size: 0.95rem;
    }

    .f-stat-value {
        font-size: 1.4rem;
    }

    .f-player-avatar {
        width: 32px;
        height: 32px;
    }

    .f-player-avatar-placeholder {
        width: 32px;
        height: 32px;
    }

    .f-team-logo-lg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================================
   FANTASY SHOP
   ============================================================ */

/* ---------- Coin Balance ---------- */
.f-coin-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(242, 170, 4, 0.08);
    border: 1px solid rgba(242, 170, 4, 0.25);
    border-radius: var(--f-radius);
    color: var(--f-gold);
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.f-coin-balance i {
    font-size: 0.9rem;
}

/* ---------- Equipped Tag ---------- */
.f-equipped-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid var(--f-border-hover);
    border-radius: var(--f-radius);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
}

/* ---------- Shop Cards ---------- */
.f-shop-card {
    background: var(--f-bg-card);
    border: 1px solid var(--f-border);
    border-radius: var(--f-radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--f-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.f-shop-card:hover {
    border-color: var(--f-border-hover);
    transform: translateY(-2px);
}

.f-shop-card.f-rarity-common {
    border-top: 2px solid #b0b0b0;
}

.f-shop-card.f-rarity-rare {
    border-top: 2px solid #4da6ff;
}

.f-shop-card.f-rarity-epic {
    border-top: 2px solid #b266ff;
}

.f-shop-card.f-rarity-legendary {
    border-top: 2px solid #ff9900;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.08);
}

.f-shop-card.f-rarity-legendary:hover {
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.15);
}

.f-shop-rarity {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 2px 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--f-text-muted);
}

.f-rarity-common .f-shop-rarity { color: #b0b0b0; }
.f-rarity-rare .f-shop-rarity { color: #4da6ff; }
.f-rarity-epic .f-shop-rarity { color: #b266ff; }
.f-rarity-legendary .f-shop-rarity { color: #ff9900; }

.f-shop-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--f-text-dim);
}

/* ---------- Shop Preview ---------- */
.f-shop-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    margin: 20px 0 14px;
}

.f-title-preview {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 12px currentColor;
}

.f-frame-preview {
    padding: 10px 24px;
    border: 2px solid #fff;
    border-radius: var(--f-radius);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ---------- Shop Item Info ---------- */
.f-shop-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.f-shop-desc {
    color: var(--f-text-muted);
    font-size: 0.75rem;
    margin-bottom: 14px;
    flex: 1;
}

.f-shop-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--f-border);
}

.f-shop-price {
    color: var(--f-gold);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.f-shop-price i {
    font-size: 0.8rem;
    margin-right: 4px;
}

/* ---------- Leaderboard Titles & Frames ---------- */
.f-lb-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px currentColor;
}

.f-lb-frame {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border: 2px solid #fff;
    border-radius: var(--f-radius);
}

/* ---------- Shop Responsive ---------- */
@media (max-width: 768px) {
    .f-shop-card {
        padding: 16px;
    }

    .f-shop-preview {
        min-height: 50px;
        margin: 14px 0 10px;
    }

    .f-title-preview {
        font-size: 1rem;
    }

    .f-coin-balance {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
}
