:root {

    --bg: #f3efe4;

    --card: #ffffff;

    --card-soft: #fbf8ef;

    --text: #142018;

    --muted: #65736a;

    --green: #0f5132;

    --green-dark: #0a3722;

    --green-soft: #e5f1ea;

    --gold: #c99a2e;

    --gold-soft: #fff4d6;

    --border: #ded7c8;

    --danger: #9f2d2d;

    --danger-dark: #7a2020;

    --shadow: 0 10px 28px rgba(20, 32, 24, .08);

}



* { box-sizing: border-box; }



body {

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    background:

        radial-gradient(circle at top left, rgba(201,154,46,.18), transparent 34rem),

        linear-gradient(180deg, #f8f4eb, var(--bg));

    color: var(--text);

}



.hero {

    background:

        linear-gradient(135deg, rgba(15,81,50,.98), rgba(10,55,34,.98)),

        radial-gradient(circle at top right, rgba(201,154,46,.35), transparent 20rem);

    color: white;

    border-bottom: 5px solid var(--gold);

}



.hero-inner {

    max-width: 1180px;

    margin: 0 auto;

    padding: 14px 20px;

    display: flex;

    justify-content: space-between;

    gap: 22px;

    align-items: center;

}



.brand-kicker {

    color: var(--gold-soft);

    font-size: 13px;

    letter-spacing: .12em;

    text-transform: uppercase;

    font-weight: bold;

}



.hero h1 {

    margin: 4px 0 6px;

    font-size: clamp(28px, 4vw, 42px);

    margin-bottom: 2px;

    line-height: 1;

}



.hero p {

    margin: 0;

    color: #e6e0cf;

    font-size: 14px;

}



.hero-badge {

    min-width: 112px;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 18px;

    padding: 14px 16px;

    text-align: center;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);

}



.hero-badge span {

    display: block;

    color: #e6e0cf;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .08em;

}



.hero-badge strong {

    display: block;

    font-size: 26px;

    color: white;

}



.top-nav {

    position: sticky;

    top: 0;

    z-index: 10;

    background: rgba(255,255,255,.94);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--border);

    padding: 12px 24px;

    display: flex;

    gap: 10px;

    justify-content: center;

    flex-wrap: wrap;

}



.top-nav a {

    color: var(--green);

    text-decoration: none;

    font-weight: bold;

    padding: 9px 12px;

    border-radius: 999px;

}



.top-nav a:hover {

    background: var(--green-soft);

}



main {

    max-width: 1180px;

    margin: 28px auto;

    padding: 0 20px;

}



.card {

    background: rgba(255,255,255,.94);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 22px;

    margin-bottom: 22px;

    box-shadow: var(--shadow);

}



.card h2, .card h3 {

    margin-top: 0;

}



.dashboard-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 18px;

    margin-bottom: 22px;

}



.stat-card {

    background:

        linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,248,239,.98));

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 18px;

    box-shadow: var(--shadow);

}



.stat-card strong {

    display: block;

    color: var(--green);

    font-size: 38px;

    line-height: 1;

    margin: 8px 0;

}



.stat-label {

    color: var(--muted);

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: .08em;

    font-size: 12px;

}



.action-grid,

.roadmap-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));

    gap: 16px;

}



.action-card {

    display: block;

    text-decoration: none;

    color: var(--text);

    background: var(--card-soft);

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 18px;

}



.action-card:hover {

    border-color: var(--gold);

    transform: translateY(-1px);

}



.action-card strong {

    display: block;

    color: var(--green);

    font-size: 18px;

    margin-bottom: 5px;

}



.action-card span {

    color: var(--muted);

}



.section-title {

    display: flex;

    justify-content: space-between;

    gap: 16px;

    align-items: center;

    margin-bottom: 10px;

}



label {

    display: block;

    font-weight: bold;

    margin-top: 14px;

}



input, select, textarea {

    width: 100%;

    padding: 11px 12px;

    border: 1px solid var(--border);

    border-radius: 10px;

    margin-top: 5px;

    font-size: 16px;

    background: white;

}



input:focus, select:focus, textarea:focus {

    outline: 3px solid rgba(201,154,46,.22);

    border-color: var(--gold);

}



button, .button {

    display: inline-block;

    margin: 8px 6px 0 0;

    background: var(--green);

    color: white;

    border: 0;

    border-radius: 999px;

    padding: 10px 15px;

    text-decoration: none;

    font-weight: bold;

    cursor: pointer;

    font-family: inherit;

    box-shadow: 0 5px 14px rgba(15,81,50,.18);

}



button:hover, .button:hover {

    background: var(--green-dark);

}



.button.secondary {

    background: #5d665f;

}



.button.secondary:hover {

    background: #414944;

}



.button.danger,

button.danger,

.danger {

    background: var(--danger) !important;

    color: white !important;

}



.button.danger:hover,

button.danger:hover,

.danger:hover {

    background: var(--danger-dark) !important;

}



.small-btn {

    padding: 7px 11px;

    font-size: 14px;

}



.table-wrap {

    overflow-x: auto;

}



table {

    width: 100%;

    border-collapse: collapse;

    margin-top: 16px;

    min-width: 720px;

}



th, td {

    border-bottom: 1px solid var(--border);

    padding: 11px;

    text-align: left;

    vertical-align: middle;

}



th {

    background: #faf8f0;

    color: #2a382f;

    font-size: 14px;

}



tr:hover td {

    background: rgba(229,241,234,.45);

}



.score-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));

    gap: 10px;

}



.score-grid input {

    text-align: center;

}



.small {

    color: var(--muted);

    font-size: 14px;

}



.site-footer {

    max-width: 1180px;

    margin: 20px auto 40px;

    padding: 0 20px;

    color: var(--muted);

    text-align: center;

}



.roadmap-card ul {

    margin: 0;

    padding-left: 20px;

}



.roadmap-card li {

    margin: 6px 0;

}



.roadmap-card.complete {

    border-color: rgba(15,81,50,.35);

    background: linear-gradient(180deg, white, var(--green-soft));

}



.roadmap-card.active {

    border-color: rgba(201,154,46,.6);

    background: linear-gradient(180deg, white, var(--gold-soft));

}



@media (max-width: 820px) {

    .hero-inner,

    .section-title {

        flex-direction: column;

        align-items: flex-start;

    }



    .dashboard-grid {

        grid-template-columns: 1fr;

    }



    main {

        padding: 0 12px;

    }



    .card,

    .stat-card {

        border-radius: 14px;

        padding: 18px;

    }



    .top-nav {

        justify-content: flex-start;

        overflow-x: auto;

    }

}



/* ====================== HERO LOGO ====================== */

.logo-wrapper {

    text-align: center;

    margin-bottom: 20px;

    flex-shrink: 0;

}



.hero-logo {

    max-width: 180px;

    height: auto;

    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));

    transition: all 0.4s ease;

    border-radius: 12px;           /* Soft rounded corners */

}



.hero-logo:hover {

    transform: scale(1.05) rotate(2deg);

    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4));

}



/* Make sure the hero layout works well with the logo */

.hero-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 20px;

}



@media (min-width: 821px) {

    .hero-inner {

        flex-direction: row;

        justify-content: space-between;

        align-items: center;

        text-align: left;

        gap: 40px;

    }

    

    .logo-wrapper {

        margin-bottom: 0;

        margin-right: 20px;

    }

    

    .hero-logo {

        max-width: 320px;

    }

}



/* Optional: Slight adjustment to brand-kicker */

.brand-kicker {

    margin-top: 10px;

}





/* ====================== HERO & LOGO ====================== */

.hero-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 24px;

}



.logo-wrapper {

    flex-shrink: 0;

}



.hero-logo {

    max-width: 360px;

    height: auto;

    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));

    transition: all 0.4s ease;

    border-radius: 16px;

}



.hero-logo:hover {

    transform: scale(1.05) rotate(2deg);

    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.4));

}



.hero-copy {

    max-width: 520px;

}



/* Desktop Layout */

@media (min-width: 821px) {

    .hero-inner {

        flex-direction: row;

        justify-content: space-between;

        text-align: left;

        gap: 40px;

    }

    

    .hero-copy {

        text-align: left;

    }

}



/* Navigation Active State */

.top-nav .nav-link.active {

    background: var(--green);

    color: white !important;

    box-shadow: 0 4px 12px rgba(15,81,50,.3);

}



/* ====================== GENERAL IMPROVEMENTS ====================== */

main {

    max-width: 1180px;

    margin: 32px auto;

    padding: 0 20px;

}



.site-footer {

    text-align: center;

    padding: 40px 20px;

    color: var(--muted);

    font-size: 14px;

}



.user-bar {

    background: #f7f5ed;

    border-bottom: 1px solid #ddd3bd;

    padding: 10px 24px;

    text-align: right;

    font-size: 14px;

    color: #183c2c;

}



.user-bar a {

    color: #0f5132;

    font-weight: 700;

    text-decoration: none;

}



.user-bar a:hover {

    text-decoration: underline;

}



.button-group {

    margin-top: 18px;

}



.button-group h4 {

    margin: 0 0 8px;

    color: #64748b;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1px;

}



.button-group .button {

    margin: 4px 6px 4px 0;

}



.pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    margin-top:20px;

}





@media (max-width: 820px) {

    .hero-badge {

        display: none;

    }

}



@media (max-width: 820px) {



    .top-nav {

        flex-wrap: nowrap;

        overflow-x: auto;

        justify-content: flex-start;

        padding: 10px;

        gap: 6px;

    }



    .top-nav a {

        white-space: nowrap;

        font-size: 14px;

        padding: 8px 10px;

    }



}





/* ====================== APP STYLE HEADER ====================== */



.app-header {

    background:

        linear-gradient(135deg, rgba(15,81,50,.98), rgba(10,55,34,.98));

    color: white;

    border-bottom: 4px solid var(--gold);

}



.app-header-inner {

    max-width: 1180px;

    margin: 0 auto;

    padding: 14px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

}



.app-brand {

    display: flex;

    align-items: center;

    gap: 14px;

    color: white;

    text-decoration: none;

    min-width: 0;

}



.app-logo {

    width: 88px;

    height: 58px;

    object-fit: cover;

    border-radius: 12px;

    flex-shrink: 0;

    box-shadow: 0 8px 18px rgba(0,0,0,.25);

}



.app-title-wrap {

    min-width: 0;

}



.app-title-wrap h1 {

    margin: 2px 0 0;

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1;

}



.app-version {

    background: rgba(255,255,255,.13);

    border: 1px solid rgba(255,255,255,.2);

    color: var(--gold-soft);

    border-radius: 999px;

    padding: 7px 11px;

    font-weight: bold;

    font-size: 14px;

    flex-shrink: 0;

}



@media (max-width: 600px) {

    .app-header-inner {

        padding: 10px 12px;

    }



    .app-logo {

        width: 64px;

        height: 44px;

        border-radius: 10px;

    }



    .brand-kicker {

        font-size: 10px;

        letter-spacing: .08em;

    }



    .app-title-wrap h1 {

        font-size: 28px;

    }



    .app-version {

        display: none;

    }

}





/* ====================== AUTH LINKS ====================== */



.auth-links {

    margin-top: 18px;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}



.auth-links a {

    background: #f7f5ed;

    border: 1px solid var(--border);

    color: var(--green);

    text-decoration: none;

    padding: 8px 14px;

    border-radius: 999px;

    font-weight: bold;

}



.auth-links a:hover {

    background: var(--green-soft);

}





.footer-support {

    margin-top: 8px;

}



.footer-support a {

    color: var(--green);

    text-decoration: none;

    font-weight: 600;

}



.footer-support a:hover {

    text-decoration: underline;

}



.home-hero {

    background:

        linear-gradient(135deg, rgba(15, 81, 50, 0.98), rgba(7, 54, 32, 0.98));

    border-radius: 18px;

    padding: 46px 34px;

    margin: 28px auto 30px;

    color: #fff;

    border-bottom: 5px solid #d8a82f;

    box-shadow: 0 18px 35px rgba(0,0,0,.12);

}



.home-hero-content {

    max-width: 780px;

}



.beta-pill {

    display: inline-block;

    background: rgba(255,255,255,.14);

    color: #f5e8c5;

    border: 1px solid rgba(245,232,197,.45);

    padding: 7px 13px;

    border-radius: 999px;

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .04em;

    text-transform: uppercase;

    margin-bottom: 18px;

}



.home-hero h1 {

    margin: 0 0 10px;

    font-size: clamp(2.4rem, 5vw, 4rem);

    color: #fff;

}



.hero-subtitle {

    font-size: clamp(1.15rem, 2vw, 1.45rem);

    max-width: 720px;

    line-height: 1.35;

    margin: 0 0 14px;

    color: #fff;

}



.hero-note {

    color: #f5e8c5;

    margin: 0 0 26px;

    font-weight: 700;

}



.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}



.hero-button {

    font-size: 1rem;

    padding: 12px 20px;

}





button:disabled {

    background: #c7c2b5;

    color: #7a756a;

    border-color: #c7c2b5;

    cursor: not-allowed;

    box-shadow: none;

}





.legal-page {

    max-width: 900px;

    margin: 0 auto 30px auto;

}



.legal-page h1 {

    margin-bottom: 5px;

}



.legal-content h2 {

    margin-top: 28px;

    margin-bottom: 10px;

}



.legal-content p,

.legal-content li {

    line-height: 1.65;

}



.legal-content ul {

    margin-left: 22px;

}





.badge-success {

    background:#198754;

    color:#fff;

    padding:4px 8px;

    border-radius:12px;

    font-size:.85rem;

}



.badge-danger {

    background:#dc3545;

    color:#fff;

    padding:4px 8px;

    border-radius:12px;

    font-size:.85rem;

}



.badge-warning {

    background:#ffc107;

    color:#000;

    padding:4px 8px;

    border-radius:12px;

    font-size:.85rem;

}



.founder-warning {

    color: #ffb703;

    font-weight: bold;

}



.founder-critical {

    color: #ff4d4d;

    font-weight: bold;

}



.footer-links {

    margin-bottom: 18px;

    text-align: center;

    font-size: 0.9rem;

}



.footer-links a {

    color: #0f5132;

    font-weight: 700;

    text-decoration: none;

}



.footer-links a:hover {

    text-decoration: underline;

}



.footer-links span {

    color: #8a8170;

    margin: 0 6px;

}



.mobile-escape-home {

    display: none;

}



@media (max-width: 700px) {

    .mobile-escape-home {

        display: flex;

        position: fixed;

        right: 18px;

        bottom: 18px;

        width: 54px;

        height: 54px;

        border-radius: 50%;

        background: #0f5132;

        color: #fff;

        align-items: center;

        justify-content: center;

        font-size: 24px;

        text-decoration: none;

        z-index: 99999;

        box-shadow: 0 4px 12px rgba(0,0,0,0.25);

        border: 2px solid rgba(255,255,255,0.85);

    }

}

@media (max-width: 700px) {

    .top-nav {

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;

        padding: 10px;

        overflow-x: visible;

        white-space: normal;

    }



    .top-nav a,

    .top-nav .nav-link {

        display: block;

        text-align: center;

        padding: 10px 8px;

        border-radius: 999px;

        background: #ffffff;

        border: 1px solid #d8cdb8;

        font-size: 14px;

        line-height: 1.2;

    }

}



.mobile-menu-toggle {

    display: none;

}



@media (max-width: 700px) {

    .mobile-menu-toggle {

        display: block;

        width: calc(100% - 24px);

        margin: 10px auto;

        padding: 12px 16px;

        border-radius: 999px;

        border: 1px solid #d8cdb8;

        background: #0f5132;

        color: #fff;

        font-weight: bold;

        font-size: 16px;

    }



    .top-nav {

        display: none;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;

        padding: 10px;

        overflow-x: visible;

        white-space: normal;

    }



    .top-nav.mobile-nav-open {

        display: grid;

    }



    .top-nav a,

    .top-nav .nav-link {

        display: block;

        text-align: center;

        padding: 10px 8px;

        border-radius: 999px;

        background: #ffffff;

        border: 1px solid #d8cdb8;

        font-size: 14px;

        line-height: 1.2;

    }

}

@media (max-width: 700px) {

    .tournaments-table th:nth-child(3),

    .tournaments-table td:nth-child(3),

    .tournaments-table th:nth-child(4),

    .tournaments-table td:nth-child(4) {

        display: none;

    }

}



.tournament-mobile-list {

    display: none;

}



@media (max-width: 700px) {

    .tournaments-table {

        display: none;

    }



    .tournament-mobile-list {

        display: block;

    }



    .tournament-mobile-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 12px;

        margin-bottom: 10px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .tm-card-top {

        display: flex;

        justify-content: space-between;

        gap: 10px;

        align-items: flex-start;

        font-size: 16px;

        color: #0f5132;

    }



    .tm-card-top span {

        color: #6b7280;

        font-size: 12px;

        white-space: nowrap;

    }



    .tm-card-meta {

        font-size: 13px;

        color: #374151;

        margin-top: 4px;

        line-height: 1.25;

    }



    .tm-card-actions {

        display: flex;

        flex-wrap: wrap;

        gap: 6px;

        margin-top: 10px;

    }



    .tm-card-actions .button,

    .tm-card-actions a {

        font-size: 12px;

        padding: 7px 9px;

        margin: 0;

    }

}





@media (max-width: 700px) {

    table {

        display: block;

        width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;

    }



    .table-wrap {

        width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;

    }



    main,

    .card,

    .page-wrap,

    .container,

    .wrap {

        max-width: 100%;

        box-sizing: border-box;

    }

}



.leaderboard-mobile-list {

    display: none;

}



@media (max-width: 700px) {

    .leaderboard-table {

        display: none;

    }



    .leaderboard-mobile-list {

        display: block;

    }



    .leaderboard-mobile-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 12px;

        margin-bottom: 10px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .lm-card-top {

        display: flex;

        justify-content: space-between;

        gap: 10px;

        align-items: flex-start;

        font-size: 15px;

        color: #0f5132;

    }



    .lm-card-top span {

        color: #6b7280;

        font-size: 12px;

        white-space: nowrap;

    }



    .lm-card-meta {

        font-size: 13px;

        color: #374151;

        margin-top: 4px;

    }



    .lm-card-stats {

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 4px 10px;

        margin-top: 8px;

        font-size: 13px;

        color: #111827;

    }

}



.individual-mobile-list {

    display: none;

}



@media (max-width: 700px) {



    .individual-leaderboard-table {

        display: none;

    }



    .individual-mobile-list {

        display: block;

    }



    .individual-mobile-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 12px;

        margin-bottom: 10px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .im-card-top {

        display: flex;

        justify-content: space-between;

        gap: 10px;

        align-items: flex-start;

        color: #0f5132;

        font-size: 15px;

    }



    .im-card-top span {

        color: #6b7280;

        font-size: 12px;

        white-space: nowrap;

    }



    .im-card-stats {

        display: grid;

        grid-template-columns: repeat(2, minmax(0,1fr));

        gap: 4px 10px;

        margin-top: 8px;

        font-size: 13px;

    }

}



.players-mobile-list {

    display: none;

}



@media (max-width: 700px) {

    .players-table {

        display: none;

    }



    .players-mobile-list {

        display: block;

    }



    .player-mobile-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 12px;

        margin-bottom: 10px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .pm-card-top {

        display: flex;

        justify-content: space-between;

        gap: 10px;

        align-items: flex-start;

        color: #0f5132;

        font-size: 15px;

    }



    .pm-card-top span {

        color: #6b7280;

        font-size: 12px;

        white-space: nowrap;

    }



    .pm-card-meta {

        font-size: 13px;

        color: #374151;

        margin-top: 4px;

        line-height: 1.25;

    }



    .pm-card-contact {

        font-size: 12px;

        color: #6b7280;

        margin-top: 6px;

        line-height: 1.25;

    }



    .pm-card-actions {

        display: flex;

        flex-wrap: wrap;

        gap: 6px;

        margin-top: 10px;

    }



    .pm-card-actions .button,

    .pm-card-actions a {

        font-size: 12px;

        padding: 7px 9px;

        margin: 0;

    }

}





.courses-mobile-list {

    display: none;

}



@media (max-width: 700px) {

    .courses-table {

        display: none;

    }



    .courses-mobile-list {

        display: block;

    }



    .course-mobile-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 12px;

        margin-bottom: 10px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .cm-card-top {

        display: flex;

        justify-content: space-between;

        gap: 10px;

        color: #0f5132;

        font-size: 15px;

    }



    .cm-card-top span {

        color: #6b7280;

        font-size: 12px;

        white-space: nowrap;

    }



    .cm-card-meta,

    .cm-card-notes {

        font-size: 13px;

        color: #374151;

        margin-top: 4px;

        line-height: 1.25;

    }



    .cm-card-notes {

        color: #6b7280;

    }



    .cm-card-actions {

        margin-top: 10px;

    }



    .cm-card-actions .button {

        font-size: 12px;

        padding: 7px 9px;

        margin: 0;

    }

}



.recent-tournament-list {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.recent-tournament-card {

    background: #fff;

    border: 1px solid #ded3bd;

    border-radius: 14px;

    padding: 12px;

}



.rt-card-top {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    color: #0f5132;

    font-size: 15px;

}



.rt-card-top span {

    color: #6b7280;

    font-size: 12px;

}



.rt-card-meta {

    margin-top: 4px;

    font-size: 13px;

    color: #374151;

}



.rt-card-actions {

    margin-top: 10px;

}



.roster-mobile-list {

    display: none;

}



@media (max-width: 700px) {

    .roster-table {

        display: none;

    }



    .roster-mobile-list {

        display: block;

    }



    .roster-mobile-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 12px;

        margin-bottom: 10px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .rm-card-top {

        display: flex;

        justify-content: space-between;

        gap: 10px;

        color: #0f5132;

        font-size: 15px;

    }



    .rm-card-top span {

        color: #6b7280;

        font-size: 12px;

        white-space: nowrap;

    }



    .rm-card-meta {

        font-size: 13px;

        color: #374151;

        margin-top: 4px;

    }



    .rm-remove {

        display: flex;

        align-items: center;

        gap: 8px;

        font-size: 13px;

        margin-top: 8px;

        font-weight: bold;

        color: #374151;

    }



    .rm-remove input {

        width: auto;

        margin: 0;

    }



    .rm-card-actions {

        display: flex;

        flex-wrap: wrap;

        gap: 6px;

        margin-top: 10px;

    }



    .rm-card-actions .button,

    .rm-card-actions a {

        font-size: 12px;

        padding: 7px 9px;

        margin: 0;

    }

}



.templates-mobile-list {

    display: none;

}



@media (max-width: 700px) {

    .templates-table {

        display: none;

    }



    .templates-mobile-list {

        display: block;

    }



    .template-mobile-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 12px;

        margin-bottom: 10px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .tpl-card-top {

        display: flex;

        justify-content: space-between;

        gap: 10px;

        color: #0f5132;

        font-size: 15px;

    }



    .tpl-card-top span {

        color: #6b7280;

        font-size: 12px;

        white-space: nowrap;

    }



    .tpl-card-meta,

    .tpl-card-notes {

        font-size: 13px;

        color: #374151;

        margin-top: 4px;

        line-height: 1.25;

    }



    .tpl-card-notes {

        color: #6b7280;

    }

}



input[type="checkbox"],

input[type="radio"] {

    width: auto;

    margin: 0 8px 0 0;

}



.check-row {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;

    font-weight: bold;

}



.check-row input[type="checkbox"] {

    width: auto;

    margin: 0;

    flex-shrink: 0;

}



.check-row span {

    line-height: 1.2;

}



/* Course Requests */



.course-requests-mobile {

    display: none;

}



.course-requests-table {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

}



.course-requests-table .table {

    width: 100%;

    border-collapse: collapse;

}



.course-requests-table th,

.course-requests-table td {

    padding: 10px 8px;

    vertical-align: middle;

    white-space: nowrap;

}



.course-requests-table th:nth-child(7),

.course-requests-table td:nth-child(7) {

    white-space: normal;

    min-width: 160px;

    max-width: 200px;

}



.course-requests-table .request-actions {

    min-width: 210px;

}



.course-requests-table .status-form {

    display: grid;

    grid-template-columns: 1fr 80px;

    gap: 8px;

    align-items: center;

}



.course-requests-table .status-form select,

.course-requests-table .status-form button,

.course-requests-table .delete-form button {

    height: 42px;

}



.course-requests-table .delete-form {

    margin-top: 8px;

}



.course-requests-table .delete-form button {

    width: 100%;

}



/* Mobile course request cards */

@media (max-width: 700px) {

    .course-requests-table {

        display: none;

    }



    .course-requests-mobile {

        display: block;

    }



    .course-request-card {

        background: #fff;

        border: 1px solid #ded3bd;

        border-radius: 14px;

        padding: 14px;

        margin-bottom: 14px;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    }



    .course-request-card h3 {

        margin-top: 0;

        color: #0f5132;

    }



    .course-request-actions {

        display: flex;

        flex-direction: column;

        gap: 8px;

        margin-top: 12px;

    }



    .course-request-actions select,

    .course-request-actions button,

    .full-width {

        width: 100%;

    }

}





.home-info-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-top: 18px;

}



.home-small-card h2 {

    font-size: 22px;

    margin-bottom: 10px;

}



.home-mini-list {

    list-style: none;

    padding: 0;

    margin: 0;

    font-size: 14px;

}



.home-mini-list li {

    padding: 8px 0;

    border-bottom: 1px solid #e0d6c2;

}



.home-mini-list li:last-child {

    border-bottom: none;

}



.home-mini-list span {

    color: #4b5b52;

    font-size: 13px;

}



@media (max-width: 700px) {

    .home-info-grid {

        grid-template-columns: 1fr;

    }

}



.updates-timeline {

    list-style: none;

    padding: 0;

    margin: 0;

}



.updates-timeline li {

    padding: 14px 0;

    border-bottom: 1px solid #ded3bd;

}



.updates-timeline li:last-child {

    border-bottom: none;

}



.updates-timeline strong {

    display: block;

    color: #0f5132;

    margin-bottom: 4px;

}



.updates-timeline span {

    display: block;

}



.course-actions button,

.course-actions .button {

    font-size: 16px;

    font-weight: 700;

}



.course-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 12px;

}



.course-actions .button,

.course-actions button.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 42px;

    min-width: 150px;

    padding: 0 18px;

    font-size: 15px;

    font-weight: 700;

    line-height: 1;

    box-sizing: border-box;

    text-decoration: none;

}



@media (max-width: 700px) {

    .course-actions .button,

    .course-actions button.button {

        width: 100%;

    }

}





.collapsible-card .collapse-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    cursor: pointer;

}



.collapsible-card .collapse-header h2 {

    margin: 0;

}



.collapse-toggle {

    width: 42px;

    height: 36px;

    padding: 0;

    border-radius: 999px;

    font-size: 16px;

    line-height: 1;

}



.collapsible-card.collapsed .collapse-body {

    display: none;

}



.collapsible-card {

    transition: box-shadow 0.2s ease;

}



.collapsible-card .collapse-header:hover h2 {

    color: #0f5132;

}



.hero-banner {

    background: linear-gradient(

        135deg,

        #0f5132,

        #198754

    );



    color: white;

    text-align: center;

    padding: 80px 20px;

}



.hero-banner h1 {

    font-size: 3rem;

    margin-bottom: 15px;

}



.hero-banner p {

    font-size: 1.2rem;

    max-width: 700px;

    margin: auto;

}



.hero-badge {

    display: inline-block;

    background: gold;

    color: #000;

    font-weight: bold;

    padding: 8px 16px;

    border-radius: 30px;

    margin-bottom: 20px;

}



.site-announcement {

    background: #ffc107;

    color: #000;

    text-align: center;

    padding: 10px;

    font-weight: bold;

}



.hero-banner,

.comparison,

.value-statement,

.feature-grid,

.founders-callout {

    max-width: 1120px;

    margin: 0 auto 24px;

}



.hero-banner {

    margin-top: 34px;

    padding: 80px 30px;

    border-radius: 18px;

    text-align: center;

    color: white;

    background: linear-gradient(135deg, #064b2c, #16894f);

    box-shadow: 0 18px 40px rgba(0,0,0,.14);

}



.hero-badge {

    display: inline-block;

    background: #ffc107;

    color: #06351f;

    padding: 9px 18px;

    border-radius: 999px;

    font-weight: 800;

    margin-bottom: 24px;

}



.hero-banner h1 {

    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1.05;

    margin: 0 0 16px;

}



.hero-banner h2 {

    font-size: clamp(1.1rem, 2.4vw, 1.7rem);

    margin: 0 0 18px;

}



.hero-banner p {

    max-width: 760px;

    margin: 0 auto 24px;

    font-size: 1.08rem;

}



.hero-buttons {

    display: flex;

    gap: 14px;

    justify-content: center;

    flex-wrap: wrap;

}



.btn-primary,

.btn-secondary {

    display: inline-block;

    padding: 12px 20px;

    border-radius: 999px;

    font-weight: 800;

    text-decoration: none;

}



.btn-primary {

    background: #ffc107;

    color: #06351f;

}



.btn-secondary {

    background: rgba(255,255,255,.18);

    color: white;

    border: 1px solid rgba(255,255,255,.45);

}



.comparison,

.value-statement,

.founders-callout {

    background: #fff;

    border: 1px solid #ded6c5;

    border-radius: 18px;

    padding: 28px;

    box-shadow: 0 10px 24px rgba(0,0,0,.06);

}



.comparison h2,

.founders-callout h2 {

    margin-top: 0;

}



.comparison-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;

}



.comparison-grid > div {

    background: #faf7ef;

    border: 1px solid #e4dccb;

    border-radius: 16px;

    padding: 22px;

}



.comparison-grid ul {

    margin-bottom: 0;

}



.value-statement {

    font-size: 1.15rem;

    line-height: 1.6;

    text-align: center;

    background: #fff8df;

}



.value-statement p {

    max-width: 900px;

    margin: 0 auto;

}



.feature-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

}



.feature-card {

    background: #fff;

    border: 1px solid #ded6c5;

    border-radius: 18px;

    padding: 24px;

    box-shadow: 0 10px 24px rgba(0,0,0,.05);

}



.feature-card h3 {

    margin-top: 0;

    color: #064b2c;

}



.feature-card p {

    margin-bottom: 0;

}



.founders-callout {

    background: linear-gradient(135deg, #064b2c, #0f6b3f);

    color: white;

}



.founders-callout p {

    max-width: 850px;

}



.dashboard-grid,

.home-info-grid,

.quick-actions,

.card {

    max-width: 1120px;

    margin-left: auto;

    margin-right: auto;

}



@media (max-width: 800px) {

    .comparison-grid,

    .feature-grid {

        grid-template-columns: 1fr;

    }



    .hero-banner {

        margin-top: 20px;

        padding: 55px 22px;

        border-radius: 14px;

    }

}



.page-hero,

.template-preview-grid,

.template-cta {

    max-width: 1120px;

    margin-left: auto;

    margin-right: auto;

}



.page-hero {

    margin-top: 34px;

    margin-bottom: 26px;

    padding: 70px 30px;

    text-align: center;

    color: white;

    border-radius: 18px;

    background: linear-gradient(135deg, #064b2c, #16894f);

    box-shadow: 0 18px 40px rgba(0,0,0,.14);

}



.page-hero h1 {

    font-size: clamp(2.2rem, 5vw, 4rem);

    margin: 0 0 18px;

}



.page-hero p {

    max-width: 800px;

    margin: 0 auto 24px;

    font-size: 1.12rem;

    line-height: 1.6;

}



.template-preview-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin-bottom: 28px;

}



.template-preview-card {

    background: #fff;

    border: 1px solid #ded6c5;

    border-radius: 18px;

    padding: 26px;

    box-shadow: 0 10px 24px rgba(0,0,0,.06);

}



.template-preview-card h2 {

    margin-top: 12px;

    color: #064b2c;

}



.template-preview-card ul {

    margin-bottom: 0;

    padding-left: 20px;

}



.template-badge {

    display: inline-block;

    background: #ffc107;

    color: #06351f;

    padding: 7px 13px;

    border-radius: 999px;

    font-weight: 800;

    font-size: .78rem;

    text-transform: uppercase;

}



.template-cta {

    text-align: center;

    margin-bottom: 34px;

}



.template-cta p {

    max-width: 800px;

    margin: 0 auto 24px;

}



.template-cta .btn-secondary {

    color: #064b2c;

    border-color: #064b2c;

}



@media (max-width: 900px) {

    .template-preview-grid {

        grid-template-columns: 1fr;

    }



    .page-hero {

        margin-top: 20px;

        padding: 52px 22px;

    }

}



.custom-format-card {

    max-width: 1120px;

    margin: 0 auto 28px;

    padding: 32px;

}



.custom-format-card blockquote {

    margin: 24px 0;

    padding: 20px;

    border-left: 5px solid #0f5132;

    background: #f6f8f6;

    font-size: 1.2rem;

    font-style: italic;

    font-weight: 600;

}



.bracket-wrap {

    display: flex;

    gap: 24px;

    overflow-x: auto;

    padding: 15px 0;

}



.bracket-round {

    min-width: 240px;

}



.bracket-round h3 {

    text-align: center;

    margin-bottom: 12px;

}



.match-card {

    background: #fff;

    border: 1px solid #d9e2dc;

    border-radius: 12px;

    padding: 12px;

    margin-bottom: 16px;

    box-shadow: 0 2px 8px rgba(0,0,0,.06);

}



.match-title {

    font-size: 13px;

    font-weight: 700;

    color: #666;

    margin-bottom: 8px;

}



.match-player {

    padding: 8px 10px;

    border-radius: 8px;

    background: #f3f5f4;

    margin-bottom: 6px;

    font-weight: 600;

}



.match-player.winner {

    background: #d9f2df;

    border-left: 4px solid #198754;

}



.champion-banner {

    background: #ffc107;

    color: #123524;

    border: 2px solid #0f5132;

    border-radius: 14px;

    padding: 18px 22px;

    margin: 16px 0 22px;

    font-size: 26px;

    font-weight: 800;

    text-align: center;

    box-shadow: 0 4px 14px rgba(0,0,0,.18);

}



.bracket-wrap {

    display: flex;

    gap: 28px;

    overflow-x: auto;

    padding: 20px 0;

}



.bracket-round {

    min-width: 260px;

}



.bracket-round h3 {

    text-align: center;

    margin-bottom: 16px;

    color: #0f5132;

}



.bracket-match {

    background: #fff;

    border: 1px solid #d8cdbb;

    border-radius: 14px;

    padding: 12px;

    margin-bottom: 22px;

    box-shadow: 0 3px 10px rgba(0,0,0,.08);

}



.match-label {

    font-size: 12px;

    font-weight: 700;

    color: #666;

    margin-bottom: 8px;

}



.bracket-player {

    background: #f7f4ed;

    padding: 9px 10px;

    border-radius: 8px;

    margin-bottom: 6px;

    font-weight: 700;

}



.bracket-player.winner {

    background: #d9f2df;

    border-left: 5px solid #0f5132;

}



.match-actions {

    margin-top: 10px;

}



.match-actions form {

    margin-bottom: 6px;

}



.match-actions button {

    width: 100%;

    font-size: 13px;

    padding: 7px 10px;

}



.complete-pill {

    display: inline-block;

    background: #e8efe9;

    color: #0f5132;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 700;

}



.champion-title {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 8px;

}



.champion-name {

    font-size: 42px;

    font-weight: 900;

    line-height: 1.1;

}



.runner-up {

    margin-top: 10px;

    font-size: 18px;

    opacity: .85;

}



.audience-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    max-width: 1200px;

    margin: 28px auto;

}



.audience-grid .feature-card {

    min-height: 150px;

}



@media (max-width: 900px) {

    .audience-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 520px) {

    .audience-grid {

        grid-template-columns: 1fr;

    }

}



.section-intro {

    max-width: 780px;

    margin: 0 0 22px;

    font-size: 1.08rem;

    line-height: 1.6;

    color: #304436;

}



.comparison-card.highlight {

    border-color: #0f5132;

    background: #f3fff7;

}



.comparison-card.muted {

    background: #faf7ef;

}



.audience-section,

.custom-format-card {

    max-width: 1120px;

    margin: 0 auto 24px;

}



.audience-section {

    background: #fff;

    border: 1px solid #ded6c5;

    border-radius: 18px;

    padding: 28px;

    box-shadow: 0 10px 24px rgba(0,0,0,.06);

}



.audience-section h2,

.custom-format-card h2 {

    margin-top: 0;

}



.audience-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}



.custom-format-card {

    background: linear-gradient(135deg, #064b2c, #0f6b3f);

    color: white;

    border-radius: 18px;

    padding: 34px;

    box-shadow: 0 18px 40px rgba(0,0,0,.14);

}



.custom-format-card p {

    max-width: 850px;

    line-height: 1.6;

}



.custom-format-card blockquote {

    margin: 24px 0;

    padding: 20px;

    border-left: 5px solid #ffc107;

    background: rgba(255,255,255,.12);

    font-size: 1.25rem;

    font-style: italic;

    font-weight: 800;

}



.custom-format-card .button {

    background: #ffc107;

    color: #06351f;

}



@media (max-width: 900px) {

    .audience-grid {

        grid-template-columns: 1fr;

    }

}



.user-bar {

    text-align: center;

    padding: 10px 0;

}



.user-bar a {

    display: inline-block;

    padding: 8px 16px;

    border-radius: 999px;

    text-decoration: none;

    margin: 0 4px;

}



.user-bar a[href*="register"] {

    background: #ffc107;

    color: #06351f;

    font-weight: 700;

}



.user-bar a[href*="login"] {

    border: 1px solid #0f5132;

}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 18px 20px;
    text-align: center;
}

.footer-links a {
    text-decoration: none;
}

.footer-format-links {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 20px;
}

.footer-format-links strong {
    display: block;
    margin-bottom: 10px;
    color: #0f5132;
    font-size: 1.1rem;
}

.footer-format-links a {
    margin: 0 4px;
}

.footer-format-links a {
    margin: 0 6px;
    text-decoration: none;
}

.updates-scroll {
    max-height: 700px;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 15px;
}

.updates-scroll::-webkit-scrollbar {
    width: 8px;
}

.updates-scroll::-webkit-scrollbar-thumb {
    background: #0f5132;
    border-radius: 10px;
}

.updates-scroll::-webkit-scrollbar-track {
    background: #ece8dd;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.feature-list div {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

.course-library-growth {
    text-align: center;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.feature-list div {
    background: #f7f5ef;
    border: 1px solid #ddd4bc;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
}

.growth-footer {
    margin-top: 20px;
}

.growth-stats {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 700px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

.growth-substats {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #777;
}

.footer-tagline {
    margin-bottom: 6px;
}

.footer-company {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 12px;
}

.footer-support {
    margin-top: 0;
}

.footer-company {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 12px;
}

.footer-company a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.footer-company a:hover {
    text-decoration: underline;
}

.admin-section {
    border: 1px solid #d8cdb7;
    border-radius: 14px;
    margin: 16px 0;
    background: #fffaf0;
    overflow: hidden;
}

.admin-section summary {
    cursor: pointer;
    padding: 14px 18px;
    font-weight: bold;
    color: #064b2b;
    font-size: 18px;
    background: #f6efe0;
}

.admin-section summary:hover {
    background: #efe3cc;
}

.admin-section .action-grid {
    padding: 16px;
}

.admin-badge {
    float: right;
    background: #0f5132;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
}

.admin-badge {
    float: right;
    background: #0f5132;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 999px;
}

.topics-scroll {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.tournament-dashboard {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.readiness-card {
    flex: 0 0 320px;
}

.overview-card {
    flex: 1;
}

@media (max-width: 900px) {
    .tournament-dashboard {
        display: block;
    }

    .readiness-card,
    .overview-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

.tournament-dashboard {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.readiness-card {
    flex: 0 0 320px;
}

.overview-card {
    flex: 1;
}

@media (max-width: 900px) {
    .tournament-dashboard {
        display: block;
    }

    .readiness-card,
    .overview-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

.table {
    width: 100%;
    table-layout: fixed;
}

.table th,
.table td {
    vertical-align: middle;
    word-break: break-word;
}

.table .small-btn,
.small-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    line-height: 1.1;
    min-width: 72px;
    text-align: center;
}

.small-btn {
    display: inline-block;
    min-width: 78px;
    padding: 6px 10px;
    font-size: 0.85rem;
    line-height: 1.15;
    white-space: nowrap;
}

.admin-wide-card {
    max-width: 1200px;
    width: calc(100% - 40px);
}

.admin-wide-card .table {
    width: 100%;
    table-layout: auto;
}

.admin-wide-card th,
.admin-wide-card td {
    white-space: nowrap;
    vertical-align: middle;
}

.admin-wide-card td:first-child {
    white-space: normal;
}

.stat-card strong {
    font-size: 2rem;
    display: block;
    margin-top: 8px;
}

.activity-log-scroll {
    max-height: 650px;
    overflow-y: auto;
}

.settings-mini-input {
    max-width: 80px;
}

.update-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.update-popup {
    background: #fffaf0;
    border: 1px solid #d7c7aa;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.update-popup h2 {
    margin-top: 0;
}

.update-popup ul {
    margin-left: 20px;
}

.update-popup-actions {
    margin-top: 20px;
    text-align: right;
}

.popup-close {
    float: right;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f5132;
}

.status-good {
    color: #0f5132;
}

.status-bad {
    color: #9f2d2d;
}

.updates-scroll {
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #d7c7aa;
    border-radius: 12px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.section-title .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    max-width: 720px;
}

.button-group .button {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .section-title {
        display: block;
    }

    .section-title .button-group {
        justify-content: flex-start;
        margin-top: 14px;
    }
}

.game-action-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.game-action-panel .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.game-action-panel .button {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 800px) {
    .game-action-panel {
        align-items: flex-start;
        margin-top: 14px;
    }

    .game-action-panel .button-group {
        justify-content: flex-start;
    }
}

body.scoring-screen {
    background: #f6f1e7;
}

body.scoring-screen .card {
    max-width: 720px;
    margin: 18px auto;
}

body.scoring-screen .section-title {
    margin-bottom: 12px;
}

body.scoring-screen h2 {
    font-size: 2rem;
    margin-bottom: 6px;
}

body.scoring-screen .score-player-card {
    padding: 14px 16px;
    margin-bottom: 10px;
}

body.scoring-screen .score-player-card label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

body.scoring-screen input[type="number"] {
    font-size: 2rem;
    width: 110px;
    padding: 8px 10px;
}

body.scoring-screen .button-group {
    gap: 8px;
    flex-wrap: wrap;
}

.score-hole-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 20px 22px;
    margin-bottom: 14px;
    background: rgba(252, 252, 252, 0.94);
    border: 1px solid var(--line);
}

.score-hole-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/golf-fairway-bg.png');
    background-size: cover;
    background-position: center;
    opacity: .35;
    pointer-events: none;
}

.score-hole-hero > * {
    position: relative;
    z-index: 2;
}

.score-hole-hero h2 {
    margin: 4px 0 2px;
    font-size: 2.2rem;
}

.score-game-name {
    margin: 0 0 3px;
}

.score-course-name {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--dark-green, #064b2f);
}

.score-hole-info {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.score-compact-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.score-compact-nav .button,
.score-compact-nav span.button {
    margin: 0;
    white-space: nowrap;
}

body.scoring-screen .notice {
    margin-bottom: 12px;
}

body.scoring-screen .score-player-card {
    padding: 12px 16px;
    margin-bottom: 10px;
}

body.scoring-screen .score-player-card label {
    margin-bottom: 6px;
}

body.scoring-screen input[type="number"] {
    font-size: 1.8rem;
    width: 100px;
    padding: 6px 10px;
}

.hole-progress-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 0 14px;
}

.hole-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fffaf0;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.hole-pill.active {
    background: #0f5132;
    color: #fff;
    border-color: #0f5132;
}