:root {
    --bg-main: #0b0f19;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(51, 65, 85, 0.8);
    --bg-input: rgba(15, 23, 42, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: #38bdf8;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-green: #10b981;
    --accent-gold: #f59e0b;
    --accent-blue: #38bdf8;
    --accent-red: #ef4444;
    --accent-purple: #a855f7;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Ambient Glows */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.glow-1 {
    width: 350px;
    height: 350px;
    background: #10b981;
    top: -50px;
    left: -50px;
}
.glow-2 {
    width: 400px;
    height: 400px;
    background: #38bdf8;
    bottom: 50px;
    right: -50px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 16px 20px 80px 20px;
    position: relative;
    z-index: 1;
}

/* Navigation Header */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(11, 15, 25, 0.85);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    max-width: 1150px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.brand-icon {
    font-size: 1.7rem;
}

.brand-badge {
    background: #f59e0b;
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.btn-new-game {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.nav-link.btn-new-game:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Page Titles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}

.kpi-grid,
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
    gap: 14px;
}

/* Metric KPI Card */
.kpi-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.05);
}

.kpi-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.kpi-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ========================================================================== */
/* Custom Scrollbars (Global & Component-Level)                              */
/* ========================================================================== */

/* Firefox standard scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.25) rgba(15, 23, 42, 0.3);
}

/* Chrome, Edge, Safari, WebKit Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.25);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Horizontal Ribbon & Table Scrollbars */
.horizontal-scroll,
.ribbon-scroll,
.table-responsive {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.4) rgba(15, 23, 42, 0.3);
    -webkit-overflow-scrolling: touch;
}

.table-responsive {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.horizontal-scroll::-webkit-scrollbar,
.ribbon-scroll::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
    height: 5px;
    width: 5px;
}

.horizontal-scroll::-webkit-scrollbar-track,
.ribbon-scroll::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 6px;
}

.horizontal-scroll::-webkit-scrollbar-thumb,
.ribbon-scroll::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.4), rgba(56, 189, 248, 0.4));
    border-radius: 6px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover,
.ribbon-scroll::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

table.data-table th {
    background: rgba(15, 23, 42, 0.8);
    padding: 10px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

table.data-table td {
    padding: 10px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    white-space: nowrap;
}

table.data-table tr:last-child td {
    border-bottom: none;
}

table.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Sortable Table Headers & Indicator Badges */
table.data-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

table.data-table th.sortable:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.sort-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    color: var(--text-muted);
    opacity: 0.25;
    transition: all 0.15s ease;
}

.sort-icon {
    font-size: 0.85rem !important;
}

table.data-table th.sortable:hover .sort-indicator {
    opacity: 0.8;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

table.data-table th.sort-asc,
table.data-table th.sort-desc {
    color: #fff !important;
    background: rgba(16, 185, 129, 0.05);
}

table.data-table th.sort-asc .sort-indicator,
table.data-table th.sort-desc .sort-indicator {
    opacity: 1;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* Form Controls */
.form-group {
    margin-bottom: 18px;
}

label.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-green {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-blue {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.badge-gray {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

/* Player Avatar Chip */
.player-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.avatar-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Floating Action Button (Mobile) */
.fab-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: #fff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    z-index: 99;
}

/* Clean, Elegant Score Matrix Styling */
table.data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

table.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.score-cell {
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 32px;
    font-size: 0.95rem;
    transition: all 0.12s ease;
}

.score-ace {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-weight: 800;
}

.score-best {
    background: rgba(16, 185, 129, 0.10);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-weight: 800;
}

.score-normal {
    color: var(--text-secondary);
    background: transparent;
}

.score-max {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Sticky First Column for Wide Tables */
table.table-sticky-col th:first-child,
table.table-sticky-col td:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.35);
}

/* Touch & Interaction Improvements */
button, .btn, .nav-link, .fab-btn, select, a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Active Navigation Indicator */
.nav-link.active {
    color: #fff;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.nav-link.active .material-symbols-outlined {
    color: var(--accent-green);
}

/* Desktop vs Mobile Navigation */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-quick-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.hamburger-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: all 0.2s ease;
}

.hamburger-btn:hover, .hamburger-btn:active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background: #cbd5e1;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Drawer & Backdrop */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    background: rgba(56, 189, 248, 0.15);
    color: #fff;
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateX(4px);
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
    .container {
        padding: 12px 14px 90px 14px;
    }
    .desktop-nav {
        display: none !important;
    }
    .mobile-header-actions {
        display: flex;
    }
    .fab-btn {
        display: flex;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .kpi-card {
        padding: 12px 14px;
        gap: 10px;
    }
    .kpi-icon {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }
    .kpi-val {
        font-size: 1.3rem;
    }
    .glass-card {
        padding: 18px 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px 10px 85px 10px;
    }
    .brand-link span:not(.brand-icon) {
        font-size: 1.05rem;
    }
    .brand-badge {
        display: none;
    }
    .glass-card {
        padding: 14px 10px;
        border-radius: var(--radius-md);
    }
    .page-title {
        font-size: 1.35rem;
    }
}

/* Course Showcase Cards */
.course-card-showcase {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.course-card-showcase:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.course-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 18px 0;
}

@media (max-width: 768px) {
    .course-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.course-metric-tile {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-metric-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-metric-val {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
}

/* Practice Layout & Mobile Optimization */
.practice-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
}

@media (max-width: 920px) {
    .practice-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.quickpad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

@media (max-width: 440px) {
    .quickpad-grid {
        gap: 6px;
    }
    .quickpad-grid .btn-stroke {
        padding: 14px 0 !important;
        font-size: 1.35rem !important;
    }
}

/* Mobile Games Cards View */
.desktop-games-table {
    display: block;
}
.mobile-games-cards {
    display: none;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .desktop-games-table {
        display: none !important;
    }
    .mobile-games-cards {
        display: flex !important;
    }
}

.mobile-game-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s ease;
}

.mobile-game-card:active {
    border-color: rgba(56, 189, 248, 0.4);
}

.mobile-game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-game-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.mobile-game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mobile-game-card-players {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

/* ========================================================================== */
/* Hole Ribbon & Active Hole Banner (Shared for Live Game & Practice Hub)     */
/* ========================================================================== */

.hole-ribbon-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 4px 14px 4px;
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
}

.hole-tile {
    flex: 0 0 auto;
    width: 58px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.15s ease;
    user-select: none;
}

.hole-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    color: #fff;
}

.hole-tile .tile-num {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.hole-tile .tile-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.hole-tile.tile-active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.4));
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
    transform: scale(1.05);
}

.hole-tile.tile-active .tile-sub {
    color: #38bdf8;
    font-weight: 800;
}

.hole-banner {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-hole-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-blue), #0284c7);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    flex-shrink: 0;
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 800;
}

.banner-par {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

