* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

/* GBE Academy — shared design tokens (landing + app pages) */
:root {
    --gbe-orange: #ff5c2b;
    --gbe-orange-deep: #e84a1f;
    --gbe-gradient: linear-gradient(135deg, #ff5c2b 0%, #e84a1f 100%);
    --gbe-bg: linear-gradient(180deg, #0a0a0a 0%, #141414 45%, #0a0a0a 100%);
    --gbe-surface: rgba(22, 22, 24, 0.92);
    --gbe-border: rgba(255, 255, 255, 0.08);
}

body {
    background: var(--gbe-bg);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Login Page Styles */
.login {
    width: min(450px, 100% - 2rem);
    max-width: 450px;
    background: var(--gbe-surface);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    margin: 100px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gbe-border);
}
.login h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    font-style: italic;
    padding: 40px 0 30px 0;
    background: var(--gbe-gradient);
    color: #0a0a0a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 30px;
    background: rgba(10, 10, 10, 0.35);
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 55px;
    background: var(--gbe-gradient);
    color: #0a0a0a;
    border-radius: 8px 0 0 8px;
}
.login form input[type="password"], .login form input[type="text"], .login form input[type="email"], .login form input[type="date"] {
    width: 340px;
    max-width: 100%;
    height: 55px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 25px;
    padding: 0 20px;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
    transition: border-color 0.3s;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
}
.login form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.login form input[type="password"]:focus, .login form input[type="text"]:focus, .login form input[type="email"]:focus, .login form input[type="date"]:focus {
    outline: none;
    border-color: var(--gbe-orange);
}
.login form input[type="submit"] {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
    background: var(--gbe-gradient);
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #0a0a0a;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.login form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 92, 43, 0.45);
}

/* OAuth button styles */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 30px 30px;
}

.oauth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    gap: 10px;
}

.google-button {
    background-color: #db4437;
    color: white;
}

.google-button:hover {
    background-color: #c23321;
}

.github-button {
    background-color: #333;
    color: white;
}

.github-button:hover {
    background-color: #24292e;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 30px;
    color: rgba(255, 255, 255, 0.5);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.divider span {
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
}

/* Switch login link */
.switch-login {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--gbe-border);
    background: rgba(10, 10, 10, 0.35);
}

.switch-login p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.switch-login a {
    color: var(--gbe-orange);
    text-decoration: none;
    font-weight: 600;
}

.switch-login a:hover {
    text-decoration: underline;
}

/* —— GBE Academy split login (player-login / coach-login) —— */
body.gbe-academy-login {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 92, 43, 0.24) 0%, rgba(255, 92, 43, 0) 34%),
        radial-gradient(circle at bottom right, rgba(255, 140, 66, 0.18) 0%, rgba(255, 140, 66, 0) 30%),
        linear-gradient(180deg, #18110f 0%, #090909 48%, #050505 100%);
    color: #fff;
}

.gbe-auth-global-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem clamp(1.1rem, 4vw, 3rem);
    flex-shrink: 0;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
}

.gbe-auth-logo {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.06em;
    color: #fff;
}

.gbe-auth-back {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gbe-auth-back:hover {
    color: var(--gbe-orange);
    border-color: rgba(255, 92, 43, 0.35);
    background: rgba(255, 92, 43, 0.08);
}

.gbe-auth-split {
    display: grid;
    grid-template-columns: minmax(360px, 1.06fr) minmax(440px, 0.94fr);
    column-gap: 0;
    flex: 1;
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: min(calc((100vw - clamp(1.25rem, 3vw, 2.5rem)) * 9 / 16), calc(100vh - 9.25rem));
    width: min(calc((100vh - 9.25rem) * 16 / 9), calc(100% - clamp(1.25rem, 3vw, 2.5rem)));
    margin: clamp(0.85rem, 2vh, 1.4rem) auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(18, 18, 22, 0.96) 0%, rgba(8, 8, 10, 0.98) 100%);
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(16px);
}

@media (max-width: 960px) {
    .gbe-auth-split {
        aspect-ratio: auto;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(270px, 36vh) auto;
        column-gap: 0;
        width: calc(100% - 1rem);
        margin: 0 auto 0.75rem;
        border-radius: 22px;
        min-height: 0;
    }
}

.gbe-auth-hero-stack {
    min-height: 0;
    position: relative;
    z-index: 1;
}

.gbe-auth-hero-stack .gbe-auth-hero {
    min-height: 100%;
}

.gbe-auth-hero {
    position: relative;
    padding: clamp(1.8rem, 3.8vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    isolation: isolate;
    background-color: #111;
    text-align: left;
}

.gbe-auth-hero-stack::after {
    content: '';
    position: absolute;
    top: 0;
    right: -48px;
    width: clamp(140px, 12vw, 220px);
    height: 100%;
    pointer-events: none;
    z-index: 5;
    background:
        linear-gradient(90deg, rgba(8, 8, 10, 0) 0%, rgba(8, 8, 10, 0.08) 16%, rgba(8, 8, 10, 0.22) 34%, rgba(8, 8, 10, 0.48) 58%, rgba(8, 8, 10, 0.82) 100%);
    filter: blur(28px);
    opacity: 1;
}

.gbe-auth-hero--player {
}

.gbe-auth-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -3;
}

.gbe-auth-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gbe-auth-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 8, 10, 0.98) 0%, rgba(8, 8, 10, 0.82) 38%, rgba(8, 8, 10, 0.42) 72%, rgba(8, 8, 10, 0.16) 88%, rgba(8, 8, 10, 0.03) 100%),
        radial-gradient(circle at top right, rgba(255, 132, 56, 0.34) 0%, rgba(255, 132, 56, 0.08) 26%, rgba(255, 132, 56, 0) 52%);
}

.gbe-auth-hero--player .gbe-auth-hero-scrim {
    background:
        linear-gradient(90deg, rgba(8, 8, 10, 0.98) 0%, rgba(8, 8, 10, 0.82) 38%, rgba(8, 8, 10, 0.42) 72%, rgba(8, 8, 10, 0.16) 88%, rgba(8, 8, 10, 0.03) 100%),
        radial-gradient(circle at top right, rgba(255, 174, 84, 0.34) 0%, rgba(255, 174, 84, 0.08) 26%, rgba(255, 174, 84, 0) 52%);
}

.gbe-auth-hero--coach .gbe-auth-hero-scrim {
    background:
        linear-gradient(90deg, rgba(8, 8, 10, 0.98) 0%, rgba(8, 8, 10, 0.82) 38%, rgba(8, 8, 10, 0.42) 72%, rgba(8, 8, 10, 0.16) 88%, rgba(8, 8, 10, 0.03) 100%),
        radial-gradient(circle at top right, rgba(255, 92, 43, 0.42) 0%, rgba(255, 92, 43, 0.08) 26%, rgba(255, 92, 43, 0) 52%);
}

.gbe-auth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 18%),
        linear-gradient(140deg, rgba(255, 92, 43, 0.18) 0%, rgba(255, 92, 43, 0) 42%);
    pointer-events: none;
    z-index: -1;
}

.gbe-auth-hero::after {
    content: none;
}

.gbe-auth-hero-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 0;
    border-radius: 999px;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
    background: none;
    margin-bottom: 0.85rem;
    box-shadow: none;
}

.gbe-auth-hero--player .gbe-auth-hero-pill {
    color: #ff8a4a;
}

.gbe-auth-hero--coach .gbe-auth-hero-pill {
    color: #ff6b38;
}

.gbe-auth-hero-title {
    position: relative;
    z-index: 1;
    font-size: clamp(3.8rem, 7vw, 6.2rem);
    font-weight: 900;
    font-style: normal;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 0;
    max-width: 8ch;
    text-wrap: normal;
}

.gbe-auth-hero-title .line2 {
    display: block;
    font-size: 1em;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: var(--gbe-orange);
    margin-top: 0.08em;
    text-shadow: none;
    white-space: nowrap;
}

.gbe-auth-hero--coach .gbe-auth-hero-title {
    max-width: 13.5ch;
    font-size: clamp(2.8rem, 4.9vw, 4.6rem);
}

.gbe-auth-hero-sub {
    display: none;
}

.gbe-auth-dots {
    display: none;
}

.gbe-auth-dots span {
    width: 1.75rem;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.gbe-auth-dots span.is-active {
    background: var(--gbe-orange);
}

.gbe-auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(1.6rem, 3.2vw, 2.4rem) clamp(1.8rem, 3.8vw, 3rem) clamp(1.6rem, 3.2vw, 2.4rem) clamp(1.45rem, 2.8vw, 2.2rem);
    border-left: none;
    position: relative;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.06) 0%, rgba(10, 10, 10, 0.2) 12%, rgba(10, 10, 10, 0.52) 22%, rgba(10, 10, 10, 0.9) 38%, rgba(10, 10, 10, 0.98) 100%),
        radial-gradient(circle at top right, rgba(255, 92, 43, 0.12) 0%, rgba(255, 92, 43, 0) 30%),
        linear-gradient(180deg, rgba(14, 14, 14, 0.97) 0%, rgba(5, 5, 5, 1) 100%);
}

.gbe-auth-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -46px;
    width: clamp(132px, 11vw, 208px);
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.58) 0%, rgba(12, 12, 12, 0.28) 38%, rgba(16, 16, 16, 0.04) 76%, rgba(16, 16, 16, 0) 100%);
    filter: blur(22px);
    opacity: 0.95;
}

.gbe-auth-card {
    width: 100%;
    max-width: 560px;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.gbe-auth-brand-lockup {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    margin: 0 auto 1.2rem;
    text-align: center;
}

.gbe-auth-brand-badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.24) 0%, rgba(255, 92, 43, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 40px rgba(0, 0, 0, 0.28);
}

.gbe-auth-brand-badge::before {
    content: 'GBE';
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #fff;
}

.gbe-auth-brand-text {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.gbe-auth-card h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 0.35rem 0;
    color: #fff;
    text-align: center;
}

.gbe-auth-card .gbe-auth-lead {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.58);
    margin: 0 0 1.1rem 0;
    line-height: 1.45;
    text-align: center;
}

.gbe-auth-role {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    padding: 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gbe-auth-role a,
.gbe-auth-role span,
.gbe-auth-role button {
    flex: 1;
    text-align: center;
    padding: 0.8rem 0.5rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.gbe-auth-role [data-role] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.gbe-auth-role [data-role] .fas {
    font-size: 0.8rem;
    opacity: 0.75;
}

.gbe-auth-role span.is-active,
.gbe-auth-role button.is-active {
    background: var(--gbe-gradient);
    color: #0a0a0a;
}

.gbe-auth-role span.is-active .fas,
.gbe-auth-role button.is-active .fas {
    opacity: 1;
}

.gbe-auth-role a:hover:not(.is-active),
.gbe-auth-role button:hover:not(.is-active) {
    color: rgba(255, 255, 255, 0.85);
}

.gbe-auth-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 0.35rem;
}

.gbe-auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
}

.gbe-auth-label-row .gbe-auth-label {
    margin-bottom: 0;
}

.gbe-auth-forgot {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gbe-orange);
    text-decoration: none;
}

.gbe-auth-forgot:hover {
    text-decoration: underline;
}

.gbe-auth-field {
    display: flex;
    align-items: stretch;
    margin-bottom: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.gbe-auth-field:focus-within {
    border-color: rgba(255, 92, 43, 0.55);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 0 0 1px rgba(255, 92, 43, 0.14);
}

.gbe-auth-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    color: rgba(255, 255, 255, 0.3);
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.gbe-auth-field input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.98rem;
    padding: 0.95rem 1rem;
    outline: none;
}

.gbe-auth-field input::placeholder {
    color: rgba(255, 255, 255, 0.24);
}

.gbe-auth-submit {
    width: 100%;
    margin-top: 0.1rem;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: var(--gbe-gradient);
    box-shadow: 0 14px 30px rgba(255, 92, 43, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gbe-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(255, 92, 43, 0.45);
}

.gbe-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.35rem 0 1rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gbe-auth-divider::before,
.gbe-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.gbe-auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gbe-auth-google:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

.gbe-auth-google .fab {
    font-size: 1.1rem;
    color: #fff;
}

.gbe-auth-new {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.gbe-auth-card > .gbe-auth-role,
.gbe-auth-card > .gbe-auth-form,
.gbe-auth-card > .gbe-social-stack,
.gbe-auth-card > .gbe-auth-new,
.gbe-auth-card > .gbe-auth-alert,
.gbe-auth-card > .gbe-signup-alt,
.gbe-auth-card > .gbe-auth-form-wrap {
    width: 100%;
}

.gbe-auth-form {
    display: grid;
    gap: 0.85rem;
}

.gbe-auth-form .gbe-auth-label-row {
    margin-bottom: -0.1rem;
}

.gbe-auth-form .gbe-auth-field + .gbe-auth-label,
.gbe-auth-form .gbe-auth-field + .gbe-auth-label-row {
    margin-top: 0.05rem;
}

.gbe-social-stack {
    margin-top: 0.95rem;
}

.gbe-auth-new a {
    color: var(--gbe-orange);
    font-weight: 700;
    text-decoration: none;
}

.gbe-auth-new a:hover {
    text-decoration: underline;
}

.gbe-auth-global-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem clamp(1.1rem, 4vw, 3rem);
    border-top: none;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    background: transparent;
}

.gbe-auth-global-footer a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-left: 1rem;
}

.gbe-auth-global-footer a:hover {
    color: var(--gbe-orange);
}

.gbe-auth-alert {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 92, 43, 0.45);
    background: rgba(255, 92, 43, 0.12);
    color: #ffc8a8;
    font-size: 0.88rem;
    line-height: 1.45;
}

.gbe-auth-alert[hidden] {
    display: none !important;
}

.gbe-auth-panel--signup {
    justify-content: flex-start;
    align-items: center;
}

.gbe-auth-card--signup {
    margin-bottom: 2rem;
}

/* Signup page: fit one viewport (no page scroll) on typical desktop / tablet landscape */
body.gbe-academy-login.gbe-signup-page {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.gbe-signup-page .gbe-auth-split {
    flex: 1;
    align-items: stretch;
}

.gbe-signup-page .gbe-auth-hero-stack {
    min-height: 0;
    overflow: hidden;
}

.gbe-signup-page .gbe-auth-hero {
    padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3.5vw, 2.5rem);
    justify-content: flex-end;
}

.gbe-signup-page .gbe-auth-hero-pill {
    margin-bottom: 0.45rem;
    padding: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.gbe-signup-page .gbe-auth-hero-title {
    font-size: clamp(3.6rem, 6vw, 5.4rem);
    margin-bottom: 0;
}

.gbe-signup-page .gbe-auth-hero-title,
.gbe-signup-page .gbe-auth-hero-title .line2 {
    font-family: inherit;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.gbe-signup-page .gbe-auth-hero-sub {
    display: none;
}

.gbe-signup-page .gbe-auth-dots {
    display: none;
}

.gbe-signup-page .gbe-auth-global-header {
    padding: 1rem clamp(1.1rem, 4vw, 3rem);
}

.gbe-signup-page .gbe-auth-logo {
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
}

.gbe-signup-page .gbe-auth-back {
    font-size: 0.78rem;
}

.gbe-signup-page .gbe-auth-global-footer {
    padding: 0.8rem clamp(1.1rem, 4vw, 3rem);
    flex-shrink: 0;
    font-size: 0.68rem;
}

.gbe-signup-page .gbe-auth-panel--signup {
    overflow: auto;
    justify-content: center;
    padding: 1.6rem clamp(1.8rem, 3.8vw, 3rem) 1.6rem clamp(1rem, 2vw, 1.5rem);
    min-height: 0;
    align-items: center;
}

.gbe-signup-page .gbe-auth-card--signup {
    margin-bottom: 0;
    padding: 0;
    max-width: min(100%, 860px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 0;
    margin-inline: auto;
    width: min(100%, 860px);
}

.gbe-signup-page .gbe-auth-form-wrap {
    width: 100%;
}

.gbe-signup-page .gbe-auth-card--signup h2 {
    font-size: clamp(2rem, 3.2vw, 2.85rem);
}

.gbe-signup-page .gbe-auth-card--signup .gbe-auth-lead {
    margin: 0 0 0.7rem 0;
    font-size: 1rem;
}

.gbe-signup-page .gbe-auth-card--signup .gbe-auth-role {
    margin-bottom: 0.8rem;
    padding: 5px;
}

.gbe-signup-page .gbe-auth-card--signup .gbe-auth-role button {
    padding: 0.65rem 0.6rem;
    font-size: 0.8rem;
}

.gbe-signup-page .gbe-auth-card--signup .gbe-auth-alert {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
}

.gbe-signup-page .gbe-auth-brand-lockup {
    margin-bottom: 1rem;
}

.gbe-signup-page .gbe-auth-label,
.gbe-signup-page .gbe-auth-field-group .gbe-auth-label {
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
}

.gbe-signup-page .gbe-auth-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
    margin-bottom: 0.55rem;
}

.gbe-signup-page .gbe-auth-row--2 .gbe-auth-field {
    margin-bottom: 0;
}

.gbe-signup-page .gbe-auth-field-group {
    min-width: 0;
}

.gbe-signup-page .gbe-auth-form > .gbe-auth-label {
    margin-top: 0.2rem;
}

.gbe-signup-page .gbe-auth-field {
    margin-bottom: 0.8rem;
    border-radius: 14px;
}

.gbe-signup-page .gbe-auth-field-icon {
    width: 48px;
    font-size: 1rem;
}

.gbe-signup-page .gbe-auth-field input {
    padding: 0.9rem 1rem;
    font-size: 1rem;
}

.gbe-signup-page .gbe-auth-submit {
    margin-top: 0.35rem;
    padding: 1rem 1rem;
    font-size: 0.92rem;
    border-radius: 14px;
}

.gbe-signup-page .gbe-auth-divider {
    margin: 0.85rem 0 0.65rem;
    font-size: 0.72rem;
}

.gbe-signup-page .gbe-auth-google {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border-radius: 12px;
}

.gbe-signup-page .gbe-auth-new {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.gbe-auth-optional {
    opacity: 0.55;
    font-weight: 500;
}

@media (max-width: 520px) {
    .gbe-signup-page .gbe-auth-row--2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px), (max-height: 780px) {
    body.gbe-academy-login.gbe-signup-page {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-y: auto;
    }

    .gbe-signup-page .gbe-auth-split {
        aspect-ratio: auto;
        height: auto;
    }

    .gbe-signup-page .gbe-auth-panel--signup {
        overflow-y: visible;
    }
}

@media (max-width: 960px) {
    .gbe-auth-hero-stack::after {
        top: auto;
        right: 0;
        bottom: -1px;
        width: 100%;
        height: 64px;
        background: linear-gradient(180deg, rgba(8, 8, 10, 0) 0%, rgba(8, 8, 10, 0.24) 28%, rgba(8, 8, 10, 0.82) 100%);
        filter: blur(20px);
    }

    .gbe-auth-panel {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.35rem;
    }

    .gbe-auth-panel::before {
        top: -56px;
        left: 0;
        width: 100%;
        height: 108px;
        background: linear-gradient(180deg, rgba(8, 8, 10, 0.96) 0%, rgba(18, 18, 22, 0.46) 48%, rgba(18, 18, 22, 0) 100%);
        filter: blur(24px);
    }

    .gbe-auth-global-header {
        padding-top: 0.95rem;
    }

    .gbe-auth-hero {
        min-height: 270px;
    }

    .gbe-auth-hero::after {
        content: none;
    }

    .gbe-auth-card,
    .gbe-signup-page .gbe-auth-card--signup {
        max-width: none;
    }
}

@media (max-height: 640px) and (min-width: 961px) {
    body.gbe-academy-login.gbe-signup-page {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-y: auto;
    }

    .gbe-signup-page .gbe-auth-panel--signup {
        overflow-y: visible;
    }
}

.gbe-auth-helper {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.4;
    margin: -0.35rem 0 0.65rem 0;
    font-style: italic;
}

.gbe-auth-form-wrap {
    display: none;
}

.gbe-auth-form-wrap.is-visible {
    display: block;
}

/* Signup wizard (multi-step story) */
.gbe-signup-wizard {
    min-height: 0;
}

.gbe-signup-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 0.55rem;
}

.gbe-signup-progress-seg {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease;
}

.gbe-signup-progress-seg.is-active {
    background: var(--gbe-orange);
}

.gbe-signup-progress-seg.is-done {
    background: rgba(255, 92, 43, 0.55);
}

.gbe-signup-step-meta {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 0.45rem 0;
}

h3.gbe-signup-step-title {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    color: #fff;
    line-height: 1.2;
}

.gbe-signup-step-lead {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
    margin: 0 0 0.85rem 0;
}

.gbe-signup-step-hint {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: -0.25rem 0 0.55rem 0;
    line-height: 1.45;
}

.gbe-signup-step[hidden] {
    display: none !important;
}

.gbe-signup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.gbe-signup-actions--split {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.65rem;
}

.gbe-signup-actions--split .gbe-auth-submit,
.gbe-signup-actions--split .gbe-signup-btn-back {
    flex: 1;
    min-width: 6.5rem;
}

.gbe-signup-btn-back {
    padding: 0.9rem 1.15rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
}

.gbe-signup-btn-back:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

.gbe-signup-alt[hidden] {
    display: none !important;
}

/* Dashboard styles */
.dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.dashboard .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dashboard .header h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-secondary {
    background: var(--gbe-gradient);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 92, 43, 0.4);
}

.logout-btn {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.logout-btn:hover {
    background: rgba(200, 35, 51, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
}

.welcome {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.welcome h2 {
    color: #ffffff;
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.welcome h2 span {
    color: #ff5c2b;
    font-weight: 700;
    font-size: 28px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 92, 43, 0.3);
}

.card h3 {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 i {
    color: #ff5c2b;
    font-size: 24px;
}

.big-number {
    font-size: 64px;
    font-weight: 800;
    background: var(--gbe-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
    text-align: center;
}

.practice-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #ff5c2b;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.practice-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #e84a1f;
    transform: translateX(5px);
}

.practice-item p {
    margin: 8px 0;
    color: #e0e0e0;
    font-size: 15px;
}

.practice-item strong {
    color: #ffffff;
    font-weight: 600;
}

.practice-item button {
    background: var(--gbe-gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}
.practice-item button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 92, 43, 0.4);
}

.practice-item button:disabled {
    background: rgba(128, 128, 128, 0.5);
    cursor: not-allowed;
    transform: none;
}

.practice-item-past {
    border-left-color: #9e9e9e;
    opacity: 0.95;
}

.muted {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card form input,
.card form button {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.card form input:focus {
    outline: none;
    border-color: #ff5c2b;
}

.card form button {
    background: var(--gbe-gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 92, 43, 0.4);
}

/* Calendar styles - improved visibility */
.calendar-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}
.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.calendar-header h2 {
    background: var(--gbe-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 700;
    margin: 0 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.calendar-nav-btn {
    background: var(--gbe-gradient);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 92, 43, 0.3);
}
.calendar-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 92, 43, 0.5);
}
.calendar-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    justify-content: center;
}
.legend-box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: inline-block;
}
.legend-box.available { background: #28a745; }
/* Player calendar: booked upcoming (distinct from open spots) */
.legend-box.booked { background: #3b82f6; }
.legend-box.full { background: #dc3545; }
.legend-box.my-practice { background: #28a745; }
.legend-box.coach-past { background: #757575; }
.legend-box.almost-full { background: #ffc107; }
.legend-box.past-attended { background: #5a9e8f; }

.legend-item {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}
.calendar-day-header {
    text-align: center;
    font-weight: 700;
    color: #ff5c2b;
    padding: 12px;
    background: rgba(255, 92, 43, 0.1);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}
.calendar-day {
    aspect-ratio: 1;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
}
.calendar-day.empty {
    border: none;
    cursor: default;
    background: transparent;
}
.calendar-day:not(.empty):hover {
    border-color: #ff5c2b;
    box-shadow: 0 8px 25px rgba(255, 92, 43, 0.3);
    z-index: 2;
    transform: scale(1.05);
}
.calendar-day.today {
    border-color: #ff5c2b;
    background: rgba(255, 92, 43, 0.15);
    box-shadow: 0 0 20px rgba(255, 92, 43, 0.3);
}
.calendar-day.has-practices {
    background: rgba(40, 167, 69, 0.15);
    border-color: #28a745;
}
.calendar-day.has-booked {
    background: rgba(59, 130, 246, 0.22);
    border-color: #3b82f6;
    font-weight: bold;
}
.calendar-day.has-booked .practice-count {
    color: #3b82f6;
}
.calendar-day.coach-practice {
    background: rgba(40, 167, 69, 0.15);
    border-color: #28a745;
}
.calendar-day.coach-practice:not(.coach-day-past) .practice-count {
    color: #28a745;
}
.calendar-day.coach-day-past {
    background: rgba(90, 90, 100, 0.35) !important;
    border-color: #757575 !important;
}
.calendar-day.coach-day-past .practice-count {
    color: #bdbdbd;
}
.calendar-day.has-almost-full {
    background: #fff3cd;
    border-color: #ffc107;
}
.calendar-day.has-full {
    background: #f8d7da;
    border-color: #dc3545;
}

/* Player calendar: day also has attended history */
.calendar-day.has-past-attended {
    box-shadow: inset 0 -5px 0 0 rgba(90, 158, 143, 0.95);
}

.calendar-day.has-past-attended .practice-count {
    color: #8fd4c4;
}

.day-number {
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}
.practice-count {
    font-size: 11px;
    color: #ff5c2b;
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
    text-transform: uppercase;
}
.practice-details {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 25px;
}
.practice-details h3 {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 700;
}
.practice-details h4 {
    color: #ff5c2b;
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.credits-info {
    background: rgba(255, 92, 43, 0.15);
    padding: 15px;
    border-radius: 8px;
    color: #ff5c2b;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 92, 43, 0.3);
}
.calendar-practice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #ff5c2b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.calendar-practice-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}
.calendar-practice-item.full {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}
.calendar-practice-item.almost-full {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}
.practice-info {
    flex: 1;
}
.practice-info h5 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #ff5c2b;
    font-weight: 700;
}
.practice-info p {
    margin: 6px 0;
    color: #e0e0e0;
    font-size: 15px;
}
.practice-info strong {
    color: #ffffff;
}
.practice-status {
    margin-top: 8px !important;
}
.status-full {
    background: #dc3545;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.status-almost-full {
    background: #ffc107;
    color: #856404;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.status-available {
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.book-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}
.book-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}
.book-btn:disabled {
    background: rgba(128, 128, 128, 0.5);
    cursor: not-allowed;
    transform: none;
}
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}
.btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4) !important;
}
.practice-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.btn-info {
    background: #17a2b8;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-info:hover {
    background: #138496;
}
.btn-danger {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-danger:hover {
    background: #c82333;
}
.btn-secondary {
    background: #6c757d;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-secondary:hover {
    background: #5a6268;
}
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}
/* Highlights Styles */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 92, 43, 0.3);
}

.highlight-video {
    width: 100%;
    background: #000;
}

.highlight-video video {
    width: 100%;
    display: block;
}

.highlight-info {
    padding: 20px;
}

.highlight-info h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.highlight-meta {
    color: #ff5c2b;
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.6;
}

.highlight-desc {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 10px;
}

/* Upload Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--gbe-surface);
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 56px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px 8px;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff5c2b;
    background: var(--gbe-surface);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.btn-primary {
    background: var(--gbe-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 92, 43, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Player Search/Tagging */
.player-suggestions {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.player-suggestions:not(:empty) {
    display: block;
}

.player-tag-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    margin-bottom: 8px;
}

.player-tag-all-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.player-tag-all-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 92, 43, 0.45);
}

.player-tag-all-btn i {
    margin-right: 5px;
    color: #ff5c2b;
}

.player-suggestion-item {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 15px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 0;
}

.player-suggestion-item:last-child {
    border-bottom: none;
}

.player-suggestion-item:hover {
    background: rgba(255, 92, 43, 0.2);
}

.player-suggestion-item i {
    color: #ff5c2b;
    margin-right: 8px;
}

.no-results {
    padding: 15px;
    color: #999;
    text-align: center;
}

.tagged-players {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.player-tag {
    background: rgba(255, 92, 43, 0.2);
    border: 1px solid rgba(255, 92, 43, 0.5);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.player-tag button {
    background: none;
    border: none;
    color: #ff5c2b;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 12px;
}

.player-tag button:hover {
    color: #fff;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gbe-gradient);
    width: 0%;
    transition: width 0.3s ease;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
}

/* Highlight Items List */
.highlight-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    align-items: center;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 92, 43, 0.3);
}

.highlight-video-thumb video {
    border-radius: 8px;
    background: #000;
}

.highlight-details {
    flex: 1;
}

.highlight-details h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.highlight-details p {
    color: #e0e0e0;
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.6;
}

.highlight-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 92, 43, 0.45);
}

.btn-delete {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

/* Avatar Customization Styles */
.avatar-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    margin-top: 20px;
    min-width: 0;
}

.avatar-preview-section {
    position: sticky;
    top: 20px;
    height: fit-content;
    min-width: 0;
}

.customization-panel {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.customization-panel > .card,
.avatar-preview-section {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.avatar-3d-preview {
    width: 100%;
    height: 400px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.avatar-3d-preview:active {
    cursor: grabbing;
}

.avatar-3d-preview canvas {
    border-radius: 15px;
}

.avatar-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.control-btn {
    background: rgba(255, 92, 43, 0.2);
    border: 2px solid rgba(255, 92, 43, 0.4);
    color: #ff5c2b;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.control-btn:hover {
    background: rgba(255, 92, 43, 0.3);
    border-color: #ff5c2b;
    transform: translateY(-2px);
}

.control-btn i {
    margin-right: 8px;
}

.avatar-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    border-top: 2px solid rgba(255, 92, 43, 0.2);
    margin-top: 20px;
}

.avatar-stats p {
    font-size: 14px;
    color: #e0e0e0;
}

.avatar-stats strong {
    color: #ff5c2b;
    display: block;
    margin-bottom: 5px;
}

/* Wardrobe Tabs */
.wardrobe-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 92, 43, 0.2);
    padding-bottom: 10px;
}

.tab-btn {
    background: transparent;
    color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab-btn:hover {
    background: rgba(255, 92, 43, 0.1);
    color: #ff5c2b;
}

.tab-btn.active {
    background: var(--gbe-gradient);
    color: white;
}

.tab-btn i {
    margin-right: 8px;
}

/* Wardrobe Grid */
.wardrobe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.wardrobe-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 92, 43, 0.2);
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.wardrobe-item:hover {
    transform: translateY(-5px);
    border-color: #ff5c2b;
    box-shadow: 0 8px 20px rgba(255, 92, 43, 0.3);
}

.wardrobe-item.common {
    border-color: rgba(149, 165, 166, 0.3);
}

.wardrobe-item.rare {
    border-color: rgba(52, 152, 219, 0.3);
    background: rgba(52, 152, 219, 0.05);
}

.wardrobe-item.epic {
    border-color: rgba(155, 89, 182, 0.3);
    background: rgba(155, 89, 182, 0.05);
}

.wardrobe-item.legendary {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.item-icon {
    font-size: 48px;
    color: #ff5c2b;
    margin-bottom: 10px;
}

.wardrobe-item.rare .item-icon {
    color: #3498db;
}

.wardrobe-item.epic .item-icon {
    color: #9b59b6;
}

.wardrobe-item.legendary .item-icon {
    color: #ffd700;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    color: #e0e0e0;
    margin: 10px 0;
}

.rarity-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rarity-badge.common {
    background: #95a5a6;
    color: white;
}

.rarity-badge.rare {
    background: #3498db;
    color: white;
}

.rarity-badge.epic {
    background: #9b59b6;
    color: white;
}

.rarity-badge.legendary {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #0a0a0a;
}

.equipped-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gbe-gradient);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Pack Styles */
#packsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.pack-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 92, 43, 0.2);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.pack-item.opened {
    opacity: 0.6;
    border-color: rgba(255, 255, 255, 0.1);
}

.pack-item:not(.opened):hover {
    transform: translateX(5px);
    border-color: #ff5c2b;
    box-shadow: 0 5px 15px rgba(255, 92, 43, 0.2);
}

.pack-thumb-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 92, 43, 0.25);
}

.pack-thumb-wrap--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pack-thumb-wrap--placeholder .pack-icon {
    margin: 0;
}

.pack-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pack-qty {
    position: absolute;
    right: 4px;
    bottom: 4px;
    min-width: 1.5rem;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    line-height: 1.2;
    text-align: center;
}

.pack-icon {
    font-size: 36px;
    color: #ff5c2b;
    width: 60px;
    text-align: center;
}

.pack-item.rare .pack-icon {
    color: #3498db;
}

.pack-item.epic .pack-icon {
    color: #9b59b6;
}

.pack-item.legendary .pack-icon {
    color: #ffd700;
}

.pack-info {
    flex: 1;
}

.pack-info h4 {
    margin: 0 0 8px 0;
    color: #ff5c2b;
    font-size: 16px;
}

.pack-info p {
    margin: 4px 0;
    color: #e0e0e0;
    font-size: 13px;
}

.pack-date {
    color: #999 !important;
    font-size: 12px !important;
}

.btn-open-pack {
    background: var(--gbe-gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-open-pack:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 92, 43, 0.4);
}

.opened-label {
    color: #999;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Pack Opening Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 24px 16px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
    margin: 5% auto;
    padding: 40px;
    border: 2px solid #ff5c2b;
    border-radius: 20px;
    width: 80%;
    max-width: 800px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

/* Coach - Create practice modal should scroll */
.gbe-create-practice-modal {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

.modal-header {
    padding-right: 40px;
}

.gbe-create-practice-modal .modal-header {
    flex: 0 0 auto;
}

.gbe-create-practice-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0; /* required for flex overflow scrolling */
    overflow-y: auto;
    padding-right: 10px; /* keep content clear of scrollbar */
}

.gbe-edit-video-modal {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
    max-width: 640px;
    width: calc(100% - 32px);
}

.gbe-edit-video-modal .modal-header {
    flex: 0 0 auto;
}

.gbe-edit-video-modal .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding-right: 10px;
}

.gbe-edit-video-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.gbe-player-parental-modal {
    max-width: 520px;
    width: calc(100% - 32px);
}

.gbe-player-parental-copy {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.gbe-player-parental-status {
    margin: 0;
    min-height: 1.2em;
    color: #ff8d8d;
    font-size: 0.92rem;
}

.gbe-player-parental-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    color: #ff5c2b;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.close {
    color: #aaa;
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover {
    color: #ff5c2b;
}

.gbe-alert-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 5000;
}

.gbe-alert-modal.is-open {
    display: block;
}

.gbe-alert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.gbe-alert-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 420px);
    transform: translate(-50%, -50%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(20, 20, 24, 0.98), rgba(10, 10, 12, 0.98));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.gbe-alert-header {
    padding: 1rem 1.25rem 0.35rem;
}

.gbe-alert-header h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #fff;
}

.gbe-alert-body {
    padding: 0.5rem 1.25rem 1rem;
}

.gbe-alert-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    font-size: 0.96rem;
}

.gbe-alert-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
}

.pack-rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.reward-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 92, 43, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    animation: rewardPop 0.5s ease;
}

@keyframes rewardPop {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(0deg);
    }
    70% {
        transform: scale(1.1) rotateY(360deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(360deg);
    }
}

.reward-item.rare {
    border-color: rgba(52, 152, 219, 0.5);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.reward-item.epic {
    border-color: rgba(155, 89, 182, 0.5);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}

.reward-item.legendary {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.reward-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.reward-item.common .reward-icon {
    color: #95a5a6;
}

.reward-item.rare .reward-icon {
    color: #3498db;
}

.reward-item.epic .reward-icon {
    color: #9b59b6;
}

.reward-item.legendary .reward-icon {
    color: #ffd700;
}

.reward-name {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    margin: 10px 0;
}

/* Coach Pack Award Styles */
.packs-award-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    align-items: start;
    gap: 30px;
    margin-top: 20px;
}

.packs-award-container > .card:first-child {
    grid-column: 1 / -1;
}

.packs-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 10px;
}

.pack-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 92, 43, 0.2);
    border-radius: 22px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pack-card:hover {
    transform: translateY(-5px);
    border-color: #ff5c2b;
    box-shadow: 0 8px 20px rgba(255, 92, 43, 0.3);
}

.pack-card.rare {
    border-color: rgba(52, 152, 219, 0.3);
}

.pack-card.epic {
    border-color: rgba(155, 89, 182, 0.3);
}

.pack-card.legendary {
    border-color: rgba(255, 215, 0, 0.3);
}

.pack-card .pack-icon {
    font-size: 48px;
    color: #ff5c2b;
    margin-bottom: 15px;
}

.pack-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.pack-card-media--placeholder {
    padding: 16px;
}

.pack-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(1.08);
    transform-origin: center;
}

.pack-card.rare .pack-icon {
    color: #3498db;
}

.pack-card.epic .pack-icon {
    color: #9b59b6;
}

.pack-card.legendary .pack-icon {
    color: #ffd700;
}

.pack-card h4 {
    color: #e0e0e0;
    margin: 0;
    font-size: 16px;
}

.pack-description {
    color: #999;
    font-size: 12px;
    margin: 0;
}

.pack-price {
    background: var(--gbe-gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    position: absolute;
    right: 12px;
    bottom: 12px;
    margin: 0;
    text-align: right;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.pack-buy-row {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: auto;
    margin: 12px auto 0;
}

.pack-qty-input {
    width: 58px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(18, 18, 22, 0.9);
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
}

.pack-buy-btn {
    min-width: 112px;
    padding: 11px 16px !important;
    font-size: 15px !important;
    line-height: 1.1;
    border-radius: 12px;
}

.player-search-results {
    max-height: 200px;
    overflow-y: auto;
    border: 2px solid rgba(255, 92, 43, 0.2);
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.player-search-results:not(:empty) {
    display: block;
}

.player-result-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 92, 43, 0.1);
    transition: all 0.2s ease;
}

.player-result-item:hover {
    background: rgba(255, 92, 43, 0.1);
}

.player-result-item .player-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.player-result-item strong {
    color: #e0e0e0;
    font-size: 14px;
}

.player-result-item span {
    color: #999;
    font-size: 12px;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #999;
}

.selected-player {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 92, 43, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    border: 2px solid #ff5c2b;
}

.selected-player i {
    color: #ff5c2b;
    font-size: 18px;
}

.selected-player span {
    flex: 1;
    color: #e0e0e0;
    font-weight: 600;
}

.clear-btn {
    background: none;
    border: none;
    color: #ff5c2b;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    color: #e84a1f;
    transform: scale(1.2);
}

.recent-awards-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 92, 43, 0.1);
    border-radius: 12px;
    padding: 15px;
}

.award-icon {
    font-size: 28px;
    color: #ff5c2b;
    width: 50px;
    text-align: center;
}

.award-details {
    flex: 1;
}

.award-details strong {
    color: #ff5c2b;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.award-details p {
    margin: 3px 0;
    color: #e0e0e0;
    font-size: 12px;
}

.award-date {
    color: #999 !important;
    font-size: 11px !important;
}

.award-practice {
    color: #3498db !important;
}

.award-practice i {
    margin-right: 5px;
}

.award-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.award-status.unopened {
    background: var(--gbe-gradient);
    color: white;
}

.award-status.opened {
    background: rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Coach packs: collapsible “Award pack to player” panel */
.gbe-award-expand {
    padding: 0;
    align-self: start;
    height: fit-content;
}
.gbe-award-expand > summary.gbe-award-expand-summary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
}
.gbe-award-expand-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    flex: 1 1 auto;
    min-width: 0;
}
.gbe-award-expand > summary::-webkit-details-marker {
    display: none;
}
.gbe-award-expand-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.gbe-award-expand-hint {
    flex: 1 1 auto;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    min-width: 0;
}
.gbe-award-expand-chevron {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.45);
    transition: transform 0.2s ease;
}
.gbe-award-expand[open] .gbe-award-expand-chevron {
    transform: rotate(180deg);
}
.gbe-award-expand .gbe-award-now-btn {
    width: min(100%, 320px);
    margin: 0;
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 16px;
}
.gbe-award-expand[open] .gbe-award-now-btn {
    display: none;
}
.gbe-award-expand-body {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.packs-award-container > .card:last-child {
    align-self: start;
}

@media (max-width: 900px) {
    .gbe-award-expand .gbe-award-now-btn {
        align-self: stretch;
        width: 100%;
    }
}
.gbe-award-expand-body .form-group:first-child {
    margin-top: 1rem;
}

@media (max-width: 1200px) {
    .avatar-container {
        grid-template-columns: 1fr;
    }

    .avatar-preview-section {
        position: static;
        top: auto;
    }

    .packs-award-container {
        grid-template-columns: 1fr;
    }
}

/* Practice Details Modal */
.detail-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-section h3 {
    color: #ff5c2b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section p {
    color: #e0e0e0;
    margin: 10px 0;
    font-size: 15px;
}

.detail-section strong {
    color: #ff5c2b;
    display: inline-block;
    min-width: 60px;
}

.player-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.player-detail-item:hover {
    background: rgba(255, 92, 43, 0.1);
    border-color: rgba(255, 92, 43, 0.3);
}

.player-info-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.player-info-detail i {
    font-size: 32px;
    color: #ff5c2b;
}

.player-info-detail div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.player-info-detail strong {
    color: #ffffff;
    font-size: 16px;
    min-width: auto;
}

.player-info-detail span {
    color: #999;
    font-size: 13px;
}

.player-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.booked-time {
    color: #ff5c2b;
    font-size: 12px;
    font-weight: 600;
}

.attendance-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.attendance-badge.is-confirmed {
    background: rgba(46, 204, 113, 0.18);
    color: #7dffb1;
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.attendance-badge.is-pending {
    background: rgba(255, 184, 77, 0.16);
    color: #ffd17c;
    border: 1px solid rgba(255, 184, 77, 0.32);
}

.attendance-badge.is-denied {
    background: rgba(220, 53, 69, 0.16);
    color: #ff9aa5;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.player-checkin-btn {
    min-width: 108px;
}

.coach-analytics-overview {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.coach-analytics-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.coach-analytics-hero-copy h2 {
    margin: 0.25rem 0 0.5rem;
    font-size: 1.45rem;
}

.coach-analytics-hero-copy p {
    margin: 0;
    max-width: 46rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.6;
}

.coach-analytics-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.72);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coach-analytics-hero-actions {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.coach-analytics-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.coach-analytics-stat {
    padding: 1rem 1.05rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.coach-analytics-stat strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.8rem;
    line-height: 1;
}

.coach-analytics-stat-label {
    display: block;
    color: rgba(255,255,255,0.58);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coach-payouts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.coach-balance-card {
    margin-bottom: 1.2rem;
}

.coach-revenue-card {
    margin-bottom: 1.2rem;
}

.coach-revenue-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.coach-revenue-title {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 800;
}

.coach-revenue-title i {
    color: #ff5c2b;
    margin-right: 0.55rem;
}

.coach-revenue-sub {
    margin: 0;
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
}

.coach-revenue-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: rgba(255,255,255,0.62);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coach-revenue-select {
    min-width: 180px;
    padding: 0.65rem 2.75rem 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(0, 0, 0, 0.35);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 12px 8px;
}

.coach-revenue-select:focus {
    outline: none;
    border-color: #ff5c2b;
    background-color: var(--gbe-surface);
}

.coach-revenue-summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.coach-revenue-summary strong {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.coach-revenue-summary span {
    color: rgba(255,255,255,0.56);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coach-revenue-chart-wrap {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding: 0.9rem 0.9rem 0.55rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
        radial-gradient(circle at top, rgba(255,122,31,0.14), transparent 58%),
        linear-gradient(180deg, rgba(8,8,10,0.95), rgba(14,14,18,0.88));
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.coach-revenue-chart {
    display: block;
    width: 100%;
    height: 300px;
}

.coach-balance-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}

.coach-balance-title {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.coach-balance-title i {
    color: #ff5c2b;
    margin-right: 0.55rem;
}

.coach-balance-sub {
    margin: 0;
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
    max-width: 42rem;
}

.coach-balance-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.78);
    font-size: 0.84rem;
    font-weight: 700;
}

.coach-balance-pill.is-connected {
    color: #9af0ad;
    border-color: rgba(40,167,69,0.38);
    background: rgba(40,167,69,0.12);
}

.coach-balance-pill.is-pending {
    color: #ffd08f;
    border-color: rgba(255,193,7,0.34);
    background: rgba(255,193,7,0.1);
}

.coach-balance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.coach-balance-stat {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    padding: 1rem 1.05rem;
}

.coach-balance-stat span {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.coach-balance-stat strong {
    display: block;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

.coach-balance-actions {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
}

.coach-balance-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.86rem;
    font-weight: 600;
}

.coach-balance-field input {
    width: 100%;
    min-height: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.34);
    color: #fff;
    padding: 0.85rem 1rem;
    font: inherit;
}

.coach-balance-field input:focus {
    outline: none;
    border-color: #ff5c2b;
    background: var(--gbe-surface);
}

.coach-balance-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.coach-balance-status {
    margin: 0.95rem 0 0;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.coach-payouts-title {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.coach-payouts-title i {
    color: #ff5c2b;
    margin-right: 0.55rem;
}

.coach-payouts-refresh {
    padding: 0.55rem 0.7rem;
    min-width: 0;
    margin-left: auto;
}

.coach-payouts-note {
    margin: 0.35rem 0 0;
    color: rgba(255,255,255,0.6);
    max-width: 44rem;
    line-height: 1.5;
}

.coach-payouts-filter-note {
    margin: 0 0 1rem;
    color: rgba(255,255,255,0.54);
    line-height: 1.5;
}

.coach-payouts-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin: 0 0 1.1rem;
}

.coach-payouts-filter-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    font-weight: 600;
}

.coach-payouts-filter-select {
    min-width: 200px;
    padding: 0.65rem 2.75rem 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(0, 0, 0, 0.35);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 12px 8px;
}

.coach-payouts-filter-select:focus {
    outline: none;
    border-color: #ff5c2b;
    background-color: var(--gbe-surface);
}

@media (max-width: 700px) {
    .coach-revenue-head {
        flex-direction: column;
    }

    .coach-balance-grid {
        grid-template-columns: 1fr;
    }

    .coach-balance-actions {
        grid-template-columns: 1fr;
    }

    .coach-payouts-filter-row {
        justify-content: flex-start;
    }

    .avatar-container {
        gap: 1rem;
    }

    .avatar-3d-preview {
        height: 320px;
        margin: 1rem 0 0.85rem;
    }

    .avatar-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .control-btn {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 0.78rem;
    }

    .avatar-stats {
        flex-direction: column;
        gap: 0.85rem;
        align-items: flex-start;
        padding: 1rem 0 0;
        margin-top: 1rem;
    }

    .wardrobe-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.8rem;
        margin-left: -0.15rem;
        margin-right: -0.15rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .wardrobe-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.75rem 0.95rem;
        font-size: 0.74rem;
    }

    .tab-btn i {
        margin-right: 0.4rem;
    }

    .wardrobe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        max-height: none;
        overflow-y: visible;
        padding: 0.25rem 0 0;
    }

    .wardrobe-item {
        padding: 0.9rem 0.65rem;
        min-width: 0;
    }

    .wardrobe-item:hover {
        transform: none;
    }

    .item-icon {
        font-size: 2rem;
        margin-bottom: 0.55rem;
    }

    .item-name {
        font-size: 0.76rem;
        margin: 0.45rem 0;
        word-break: break-word;
    }

    #packsContainer {
        max-height: none;
        overflow-y: visible;
    }

    .pack-card {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .pack-card:hover {
        transform: none;
    }
}

.coach-payout-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    margin-top: 0.9rem;
}

.coach-payout-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.coach-payout-card-top h4 {
    margin: 0;
    font-size: 1.05rem;
}

.coach-payout-card-top p {
    margin: 0.35rem 0 0;
    color: rgba(255,255,255,0.62);
}

.coach-pack-balance-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.coach-pack-balance-banner span {
    color: rgba(255,255,255,0.62);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coach-pack-balance-banner strong {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

.coach-payout-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.38rem 0.72rem;
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.coach-payout-status.is-paid {
    color: #7ff0bb;
    border-color: rgba(53,209,138,0.42);
    background: rgba(53,209,138,0.16);
}

.coach-payout-status.is-failed {
    color: #ff8f96;
    border-color: rgba(255,92,108,0.42);
    background: rgba(255,92,108,0.16);
}

.coach-payout-status.is-setup {
    color: #ffd37a;
    border-color: rgba(240,173,78,0.4);
    background: rgba(240,173,78,0.12);
}

.coach-payout-status.is-pending,
.coach-payout-status.is-neutral {
    color: #ffd36b;
    border-color: rgba(255,193,7,0.42);
    background: rgba(255,193,7,0.16);
}

.coach-payout-status.is-cash {
    color: #9dd4ff;
    border-color: rgba(100,180,255,0.4);
    background: rgba(100,180,255,0.12);
}

.coach-payout-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
}

.coach-payout-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.coach-payout-table th,
.coach-payout-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}

.coach-payout-table th {
    color: rgba(255,255,255,0.58);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.04);
}

.coach-payout-table td {
    color: #fff;
    font-size: 0.95rem;
}

.coach-payout-table tbody tr:last-child td {
    border-bottom: none;
}

.coach-payout-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

.coach-analytics-empty {
    padding: 1.35rem 1.25rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.12);
}

.coach-analytics-empty h4 {
    margin: 0 0 0.45rem;
}

.coach-analytics-empty p {
    margin: 0;
    color: rgba(255,255,255,0.62);
    line-height: 1.6;
}

@media (max-width: 700px) {
    .coach-payout-table {
        min-width: 640px;
    }

    .coach-payout-table th,
    .coach-payout-table td {
        padding: 0.8rem 0.85rem;
        font-size: 0.9rem;
    }
}

.player-shop-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.player-shop-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.player-shop-subhead .gbe-page-sub {
    margin: 0;
}

.player-shop-refresh {
    padding: 0.55rem 0.7rem;
    min-width: 0;
    flex: 0 0 auto;
}

.player-shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.player-shop-banner {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.player-shop-banner.is-success {
    background: rgba(40,167,69,0.22);
    border-color: rgba(40,167,69,0.55);
}

.player-shop-banner.is-warning {
    background: rgba(240,173,78,0.22);
    border-color: rgba(240,173,78,0.55);
}

.player-shop-banner.is-info {
    background: rgba(70,130,220,0.2);
    border-color: rgba(70,130,220,0.45);
}

.player-gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.player-gear-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1rem;
}

.player-gear-card h4 {
    margin: 0 0 0.45rem;
}

.player-gear-card p {
    color: rgba(255,255,255,0.64);
    line-height: 1.5;
}

.player-gear-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    background: rgba(255,92,43,0.14);
    color: #ff7f57;
    font-size: 1.2rem;
}

.player-shop-detail-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.player-shop-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.player-shop-detail-item span {
    color: rgba(255,255,255,0.58);
    text-transform: capitalize;
}

.player-shop-layout .gbe-btn-primary,
.player-shop-layout .gbe-btn-primary:hover,
.player-shop-layout .gbe-btn-primary:focus,
.player-shop-layout .gbe-btn-primary:visited {
    color: #fff;
}

/* Practice Action Buttons */
.practice-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-view {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-delete-small {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-delete-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* --- GBE Academy landing (/) --- */
.landing-body {
    margin: 0;
    min-height: 100vh;
    color: #ffffff;
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 45%, #0a0a0a 100%);
    line-height: 1.5;
    scroll-behavior: smooth;
}

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

[data-reveal],
.landing-feature-card,
.landing-info-card,
.landing-web-preview-card,
.landing-app-preview-frame,
.landing-pack-card,
.landing-beta-card--inline,
.landing-cta-card {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.985);
    filter: blur(10px);
    transition:
        opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

[data-reveal].is-visible,
.landing-feature-card.is-visible,
.landing-info-card.is-visible,
.landing-web-preview-card.is-visible,
.landing-app-preview-frame.is-visible,
.landing-pack-card.is-visible,
.landing-beta-card--inline.is-visible,
.landing-cta-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.landing-hero.is-visible .landing-hero-content {
    animation: landing-hero-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    position: relative;
    z-index: 20;
    background: rgba(12, 12, 12, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-logo {
    text-decoration: none;
}

.landing-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    font-style: italic;
    color: #ff5c2b;
    letter-spacing: -0.02em;
}

.landing-logo-text--footer {
    display: block;
    margin-bottom: 0.25rem;
}

.landing-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.landing-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-right: 0.5rem;
}

.landing-nav-link {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-nav-link:hover {
    color: #ffffff;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.landing-btn--primary {
    background: var(--gbe-gradient);
    color: #fff;
    border-color: transparent;
}

.landing-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 92, 43, 0.35);
}

.landing-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.landing-btn--ghost:hover {
    border-color: rgba(255, 92, 43, 0.6);
    color: #fff;
}

.landing-btn--outline {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.landing-btn--outline:hover {
    border-color: #ff5c2b;
    color: #ff5c2b;
}

.landing-btn--lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 12px;
}

.landing-btn--xl {
    padding: 1rem 1.9rem;
    font-size: 0.92rem;
    min-width: 240px;
}

.landing-hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

.landing-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.landing-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.landing-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.55) 0%,
        rgba(10, 10, 10, 0.75) 40%,
        rgba(10, 10, 10, 0.92) 100%
    );
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 42rem;
    padding: 3rem 1.5rem 4rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.landing-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.landing-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin: 0 0 1rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.landing-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 36rem;
    margin: 0 0 1.75rem;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.landing-coach-hint {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.landing-coach-hint a {
    color: #ff5c2b;
    font-weight: 600;
    text-decoration: none;
}

.landing-coach-hint a:hover {
    text-decoration: underline;
}

.landing-beta-card {
    width: 100%;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 92, 43, 0.16) 0%, rgba(255, 92, 43, 0.04) 42%, rgba(255, 255, 255, 0.03) 100%),
        rgba(12, 12, 14, 0.96);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.9fr);
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.landing-beta-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff9d7b;
    margin-bottom: 0.75rem;
}

.landing-beta-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.01em;
    line-height: 1.08;
    margin: 0 0 0.8rem;
}

.landing-beta-text {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.landing-beta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.landing-beta-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.48);
}

.landing-beta-card--inline {
    margin-top: 1rem;
    padding: 1.15rem;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.landing-section {
    padding: 2rem 1.5rem 0;
}

.landing-section--app {
    padding-top: 1.75rem;
}

.landing-section--alt {
    padding-bottom: 0.5rem;
}

.landing-section--packs {
    padding-bottom: 0.5rem;
}

.landing-section--cta {
    padding-bottom: 2rem;
}

.landing-section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.landing-section-heading,
.landing-section-copy {
    max-width: 50rem;
}

.landing-section-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff9d7b;
    margin-bottom: 0.85rem;
}

.landing-section-title {
    font-size: clamp(1.8rem, 3.4vw, 2.85rem);
    line-height: 1.08;
    font-weight: 900;
    font-style: italic;
    margin: 0 0 0.9rem;
}

.landing-section-lead {
    font-size: 1.03rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.landing-app-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    grid-template-areas:
        "intro preview"
        "details preview";
}

.landing-app-intro {
    grid-area: intro;
}

.landing-app-preview {
    grid-area: preview;
}

.landing-app-details {
    grid-area: details;
}

.landing-feature-list,
.landing-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}

.landing-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-web-preview {
    position: relative;
    min-height: 32rem;
    margin: 1.75rem 0;
    padding-bottom: 4.5rem;
}

.landing-web-preview-card {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    filter: blur(10px);
    transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
}

.landing-web-preview-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    filter: blur(0);
}

.landing-web-preview-card img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
    object-position: top center;
}

.landing-web-preview-copy {
    padding: 1rem 1.05rem 1.15rem;
}

.landing-web-preview-copy h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.landing-web-preview-copy p {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
}

.landing-web-preview-controls {
    position: absolute;
    left: 50%;
    bottom: 0.9rem;
    z-index: 4;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: rgba(10, 10, 12, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.landing-web-preview-nav,
.landing-web-preview-dot {
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.landing-web-preview-nav {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1;
}

.landing-web-preview-nav:hover {
    background: rgba(255, 92, 43, 0.22);
}

.landing-web-preview-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.landing-web-preview-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.landing-web-preview-dot.is-active {
    background: var(--gbe-orange);
    box-shadow: 0 0 0 4px rgba(255, 92, 43, 0.16);
}

.landing-feature-card,
.landing-info-card,
.landing-cta-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.landing-feature-card,
.landing-info-card {
    padding: 1.25rem;
}

.landing-feature-card h3,
.landing-info-card h3,
.landing-beta-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.landing-feature-card p,
.landing-info-card p {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}

.landing-app-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
    padding-top: clamp(2rem, 5vw, 4rem);
}

.landing-app-preview-frame {
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.landing-app-preview-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.landing-packs-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    grid-template-areas:
        "visual intro"
        "visual details";
}

.landing-packs-intro {
    grid-area: intro;
}

.landing-packs-visual {
    grid-area: visual;
}

.landing-packs-details {
    grid-area: details;
}

.landing-packs-visual {
    display: flex;
    justify-content: center;
}

.landing-pack-card {
    width: min(420px, 100%);
    padding: 1rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 45%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
    transform-origin: 50% 85%;
    animation: landing-pack-shake 4.5s ease-in-out infinite;
}

.landing-pack-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.landing-cta-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background:
        radial-gradient(circle at top right, rgba(255, 92, 43, 0.18), transparent 32%),
        rgba(255, 255, 255, 0.04);
}

.landing-cta-card .landing-hero-actions {
    margin-top: 1.5rem;
}

@keyframes landing-pack-shake {
    0%, 100% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }

    10% {
        transform: rotate(-1.25deg) translate3d(-2px, 0, 0);
    }

    20% {
        transform: rotate(1.1deg) translate3d(2px, -1px, 0);
    }

    30% {
        transform: rotate(-0.85deg) translate3d(-1px, 1px, 0);
    }

    40% {
        transform: rotate(0.7deg) translate3d(1px, 0, 0);
    }

    50%, 90% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }
}

@keyframes landing-hero-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 34px, 0);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    [data-reveal],
    .landing-feature-card,
    .landing-info-card,
    .landing-app-preview-frame,
    .landing-pack-card,
    .landing-beta-card--inline,
    .landing-cta-card {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        animation: none;
    }

    .landing-pack-card {
        animation: none;
    }

    .landing-hero.is-visible .landing-hero-content {
        animation: none;
    }
}

.landing-footer {
    padding: 1.5rem;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.landing-footer-tagline {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.35rem;
}

.landing-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    text-align: right;
}

.landing-footer-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 20rem;
}

.landing-footer-links a {
    color: #ff5c2b;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.landing-footer-links a:hover {
    text-decoration: underline;
}

.landing-support {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.landing-support-toggle {
    border: 0;
    border-radius: 18px;
    padding: 0.9rem 1rem;
    min-width: 220px;
    background:
        linear-gradient(135deg, rgba(255, 92, 43, 0.96), rgba(255, 177, 45, 0.96));
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    display: grid;
    gap: 0.15rem;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.landing-support-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 55px rgba(255, 92, 43, 0.28);
}

.landing-support-toggle-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.72;
}

.landing-support-toggle-title {
    font-size: 1rem;
    font-weight: 800;
}

.landing-support-panel {
    width: min(360px, calc(100vw - 2rem));
    border-radius: 24px;
    padding: 1.15rem;
    background: rgba(8, 8, 8, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.landing-support-panel-header h2 {
    margin: 0.2rem 0 0.45rem;
    font-size: 1.35rem;
}

.landing-support-panel-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.landing-support-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffb12d !important;
}

.landing-support-form {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.landing-support-field {
    display: grid;
    gap: 0.35rem;
}

.landing-support-field span {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.84);
}

.landing-support-field input,
.landing-support-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.landing-support-field input::placeholder,
.landing-support-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.landing-support-field input:focus,
.landing-support-field textarea:focus {
    outline: none;
    border-color: rgba(255, 177, 45, 0.72);
    box-shadow: 0 0 0 3px rgba(255, 177, 45, 0.16);
}

.landing-support-status {
    min-height: 1.25rem;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.landing-support-status[data-state="pending"] {
    color: #ffd06a;
}

.landing-support-status[data-state="success"] {
    color: #8ae8ae;
}

.landing-support-status[data-state="error"] {
    color: #ff9d9d;
}

.landing-support-actions {
    display: flex;
    justify-content: flex-end;
}

.landing-support-submit {
    width: 100%;
}

.landing-support-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 700px) {
    .landing-support {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
        align-items: stretch;
    }

    .landing-support-toggle,
    .landing-support-panel {
        width: 100%;
    }

    .landing-support-toggle {
        min-width: 0;
    }
}

/* ——— GBE app shell (player + coach dashboards / calendars) ——— */
.gbe-app-shell {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: var(--gbe-bg);
    color: #fff;
}

.gbe-sidebar {
    width: 88px;
    flex-shrink: 0;
    background: rgba(8, 8, 10, 0.95);
    border-right: 1px solid var(--gbe-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0 1.1rem;
    position: relative;
    z-index: 30;
    overflow: visible;
}

.gbe-sidebar-brand {
    width: 100%;
    padding: 0 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
}

.gbe-sidebar-brand .gbe-logo {
    font-weight: 900;
    font-style: italic;
    font-size: 0;
    background: var(--gbe-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        rgba(255, 92, 43, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.09);
    position: relative;
    overflow: hidden;
}

.gbe-sidebar-brand .gbe-logo::after {
    content: 'GBE';
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.gbe-sidebar-profile {
    display: none;
}

.gbe-sidebar-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gbe-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 1.25rem;
    font-weight: 800;
}

.gbe-sidebar-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gbe-sidebar-name {
    font-weight: 800;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.gbe-sidebar-tag {
    font-size: 0.56rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gbe-sidebar-nav {
    flex: 1;
    width: 100%;
    padding: 0.6rem 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    overflow: visible;
}

.gbe-sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 0;
    transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    position: relative;
}

.gbe-sidebar-nav a:hover {
    background: rgba(255, 92, 43, 0.14);
    color: #fff;
    transform: translateY(-1px);
}

.gbe-sidebar-nav a.is-active {
    background: var(--gbe-gradient);
    color: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(255, 92, 43, 0.28);
}

.gbe-sidebar-nav a i {
    font-size: 1rem;
}

.gbe-sidebar-nav-label {
    display: none;
    font-size: 0.9rem;
}

.gbe-sidebar-nav a::after {
    content: attr(data-nav-label);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: rgba(10, 10, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    z-index: 4;
}

.gbe-sidebar-nav a:hover::after,
.gbe-sidebar-nav a:focus-visible::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.gbe-sidebar-footer {
    padding: 1rem 1.25rem 0;
    border-top: 1px solid var(--gbe-border);
}

.gbe-sidebar-footer .logout-btn {
    width: 100%;
    text-align: center;
}

.gbe-main-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.gbe-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gbe-border);
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(12px);
}

.gbe-topbar-runner-host {
    position: relative;
    overflow: hidden;
}

.gbe-topbar-runner {
    position: absolute;
    left: -72px;
    top: calc(var(--runner-lane, 0.5) * 100%);
    width: var(--runner-size, 56px);
    height: var(--runner-size, 56px);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    animation: gbe-runner-travel var(--runner-travel-seconds, 18s) linear infinite;
    animation-delay: var(--runner-delay-seconds, 0s);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.gbe-topbar-runner-sprite {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 280px 280px;
}

.gbe-topbar-profile {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.gbe-topbar-avatar-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gbe-gradient);
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.gbe-topbar-avatar-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.gbe-topbar-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gbe-topbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 1;
    min-width: 0;
}

.gbe-topbar-nav a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
}

.gbe-topbar-nav a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.gbe-topbar-nav a.is-active {
    color: #0a0a0a;
    border-color: transparent;
    background: var(--gbe-gradient);
}

.landing-header.gbe-topbar-runner-host {
    overflow: hidden;
}

.landing-header .gbe-topbar-runner {
    top: 50%;
}

@keyframes gbe-runner-travel {
    0% {
        left: -72px;
    }
    100% {
        left: calc(100% + 72px);
    }
}

@media (max-width: 720px) {
    .gbe-topbar-runner {
        top: 34%;
        width: calc(var(--runner-size, 56px) * 0.82);
        height: calc(var(--runner-size, 56px) * 0.82);
    }
}

.gbe-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gbe-main-inner {
    flex: 1;
    padding: 1.25rem 1.5rem 2rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.gbe-profile-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(90deg, rgba(4, 4, 6, 0.98) 0%, rgba(6, 6, 8, 0.95) 34%, rgba(8, 8, 10, 0.84) 58%, rgba(8, 8, 10, 0.36) 82%, rgba(8, 8, 10, 0.08) 100%),
        linear-gradient(140deg, rgba(255, 92, 43, 0.14), rgba(255, 92, 43, 0.03) 26%, transparent 44%),
        radial-gradient(circle at 18% 82%, rgba(255, 92, 43, 0.18), transparent 32%),
        radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(16, 16, 18, 0.92), rgba(8, 8, 10, 0.98));
    background-size: auto;
    background-position: center;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.gbe-profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%, rgba(255, 92, 43, 0.1) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 24%, transparent 100%);
    pointer-events: none;
}

.gbe-profile-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    min-height: 360px;
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

.gbe-profile-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    min-width: 0;
    padding: 0.25rem 0 0.5rem;
    position: relative;
    z-index: 2;
    max-width: min(54%, 42rem);
}

.gbe-profile-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    align-self: flex-start;
    padding: 0.72rem 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(22, 22, 26, 0.78), rgba(10, 10, 12, 0.62));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.gbe-profile-hero-chip-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gbe-gradient);
    color: #0a0a0a;
    font-weight: 900;
    font-size: 1.15rem;
}

.gbe-profile-hero-chip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gbe-profile-hero-chip-initials {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gbe-profile-hero-chip-img:not([hidden]) + .gbe-profile-hero-chip-initials {
    display: none;
}

.gbe-profile-hero-chip-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gbe-profile-hero-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gbe-profile-hero-role {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gbe-profile-hero-text .gbe-page-title {
    margin: 0 0 0.55rem;
    max-width: 14ch;
    font-size: clamp(2.25rem, 4.8vw, 4rem);
    line-height: 0.96;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.gbe-profile-hero-text .gbe-page-sub {
    margin: 0;
    max-width: 36rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.gbe-profile-hero-visual {
    position: absolute;
    inset: 0 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: min(52%, 540px);
    min-height: 100%;
    padding-right: 0;
    pointer-events: none;
}

.gbe-profile-hero-portrait-wrap {
    position: absolute;
    inset: 0 0 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.gbe-profile-hero-portrait-wrap::before {
    content: '';
    position: absolute;
    inset: 6% 4% 0 10%;
    border-radius: 999px 0 0 0;
    background:
        radial-gradient(circle at 62% 16%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 24%, transparent 50%),
        radial-gradient(circle at 68% 72%, rgba(255, 92, 43, 0.2), transparent 46%);
    filter: blur(14px);
}

.gbe-profile-hero-portrait,
.gbe-profile-hero-portrait-fallback {
    position: relative;
    z-index: 1;
}

.gbe-profile-hero-portrait[hidden],
.gbe-profile-hero-portrait-fallback[hidden] {
    display: none !important;
}

.gbe-profile-hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 18%, rgba(0,0,0,0.92) 42%, rgba(0,0,0,1) 58%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 18%, rgba(0,0,0,0.92) 42%, rgba(0,0,0,1) 58%, rgba(0,0,0,1) 100%);
}

.gbe-profile-hero-portrait-fallback {
    width: min(84%, 360px);
    height: 100%;
    border-radius: 120px 0 0 0;
    display: block;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 28px 60px rgba(255, 92, 43, 0.22);
    margin-left: auto;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 18%, rgba(0,0,0,0.9) 42%, rgba(0,0,0,1) 58%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 18%, rgba(0,0,0,0.9) 42%, rgba(0,0,0,1) 58%, rgba(0,0,0,1) 100%);
}

.gbe-page-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.35rem;
}

.gbe-page-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
    max-width: 42rem;
}

/* Calendar + side panel */
.gbe-calendar-page-header {
    margin-bottom: 1rem;
}

.gbe-calendar-layout {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 420px);
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .gbe-calendar-layout {
        grid-template-columns: 1fr;
    }
}

.gbe-calendar-main {
    min-width: 0;
}

.gbe-calendar-main .calendar-container {
    margin-bottom: 0;
}

.gbe-session-panel {
    background: rgba(18, 18, 22, 0.85);
    border: 1px solid var(--gbe-border);
    border-radius: 16px;
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
}

@media (max-width: 1024px) {
    .gbe-app-shell {
        flex-direction: column;
    }

    .gbe-profile-hero-inner {
        min-height: 300px;
    }

    .gbe-profile-hero-visual {
        width: min(50%, 360px);
        justify-content: flex-end;
    }

    .gbe-profile-hero-portrait-wrap {
        width: 100%;
    }

    .gbe-profile-hero-copy {
        max-width: min(62%, 30rem);
    }

    .gbe-sidebar {
        width: 100%;
        padding: 0.85rem 0;
        border-right: none;
        border-bottom: none;
        align-items: stretch;
        position: sticky;
        top: 0;
        z-index: 25;
        background: rgba(8, 8, 10, 0.97);
        backdrop-filter: blur(14px);
    }

    .gbe-sidebar-brand {
        padding: 0 1rem 0.8rem;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .gbe-sidebar-profile {
        display: none;
    }

    .gbe-sidebar-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.55rem;
        overflow-x: auto;
        padding: 0 0.9rem 0.1rem;
        align-items: stretch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gbe-sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .gbe-sidebar-nav a {
        flex: 0 0 auto;
        width: auto;
        height: auto;
        padding: 0.7rem 0.95rem;
        white-space: nowrap;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
        gap: 0.55rem;
        justify-content: flex-start;
    }

    .gbe-sidebar-nav-label {
        display: inline;
    }

    .gbe-sidebar-nav a::after {
        display: none;
    }

    .gbe-sidebar-nav.gbe-mobile-topnav {
        flex: none;
        padding: 0.15rem 1rem 0.35rem;
        margin-bottom: 0.35rem;
        border-bottom: 1px solid var(--gbe-border);
        background: rgba(8, 8, 10, 0.97);
        backdrop-filter: blur(14px);
    }

    .gbe-topbar {
        padding: 0.85rem 1rem;
        justify-content: space-between;
        margin-bottom: 0;
        border-bottom: none;
    }

    .gbe-generated-topbar-nav {
        display: none;
    }

    .gbe-topbar-profile.gbe-mobile-brand-profile {
        margin-left: auto;
    }

    .gbe-topbar-profile.gbe-mobile-brand-profile .gbe-topbar-avatar-wrap {
        width: 36px;
        height: 36px;
    }

    .gbe-main-inner {
        padding: 1rem 1rem 1.5rem;
    }

    .dashboard {
        padding: 1rem;
    }

    .dashboard .header {
        padding: 1rem 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .dashboard .header h1 {
        font-size: 1.7rem;
        letter-spacing: 0.08em;
    }

    .dashboard-content {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .card {
        padding: 1.1rem;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .calendar-container {
        padding: 1rem;
        overflow-x: visible;
    }

    .calendar-header {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .calendar-header h2 {
        font-size: 1.35rem;
        margin: 0 0.5rem;
        letter-spacing: 0.08em;
    }

    .calendar-nav-btn {
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .calendar-legend {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0.75rem;
    }

    .calendar-grid {
        min-width: 0;
        gap: 8px;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .calendar-day-header,
    .calendar-day {
        padding: 0.55rem;
        border-radius: 10px;
        min-width: 0;
    }

    .day-number {
        font-size: 1rem;
    }

    .practice-count {
        font-size: 0.6rem;
    }

    .calendar-practice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1rem;
    }

    .calendar-practice-item:hover {
        transform: none;
    }

    .practice-info h5 {
        font-size: 1.05rem;
    }

    .gbe-session-panel {
        position: static;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }

    .practice-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .practice-actions > * {
        flex: 1 1 180px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .highlight-info {
        padding: 1rem;
    }

    .landing-nav-links {
        width: 100%;
        order: 3;
        margin-right: 0;
    }

    .landing-app-layout,
    .landing-packs-layout,
    .landing-web-preview,
    .landing-grid--three,
    .landing-grid--two {
        grid-template-columns: 1fr;
    }

    .landing-app-layout {
        grid-template-areas:
            "intro"
            "preview"
            "details";
    }

    .landing-packs-layout {
        grid-template-areas:
            "intro"
            "visual"
            "details";
    }

    .landing-app-preview {
        padding-top: 0;
        margin-bottom: 0.75rem;
    }

    .landing-header {
        align-items: flex-start;
        gap: 0.85rem;
    }

    .landing-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .landing-section {
        padding-top: 1.5rem;
    }

    .landing-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .landing-footer-links {
        align-items: flex-start;
    }

    .gbe-team-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 700px) {
    .gbe-topbar {
        gap: 0.65rem;
    }

    .gbe-topbar-profile {
        margin-left: auto;
    }

    .gbe-page-sub {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .card {
        border-radius: 14px;
    }

    .practice-item {
        padding: 1rem;
    }

    .practice-item:hover {
        transform: none;
    }

    .practice-item button {
        width: 100%;
    }

    .landing-hero {
        min-height: 68vh;
        padding: 1.25rem;
    }

    .landing-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .landing-lead {
        font-size: 0.98rem;
    }

    .landing-hero-actions {
        width: 100%;
    }

    .landing-hero-actions .landing-btn {
        width: 100%;
    }

    .landing-section,
    .landing-section--cta {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .landing-beta-actions,
    .landing-app-preview,
    .landing-nav-links {
        width: 100%;
    }

    .landing-beta-actions .landing-btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .gbe-auth-global-header,
    .gbe-auth-global-footer,
    .gbe-topbar,
    .gbe-main-inner,
    .landing-header,
    .landing-footer {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .gbe-sidebar-brand {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        justify-content: space-between;
    }

    .gbe-sidebar-nav {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .gbe-sidebar-nav.gbe-mobile-topnav {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .dashboard .header {
        padding: 0.9rem 1rem;
    }

    .calendar-container {
        padding: 0.85rem;
    }

    .calendar-header {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        align-items: center;
    }

    .calendar-header h2 {
        font-size: 1.05rem;
        margin: 0;
        text-align: center;
        letter-spacing: 0.04em;
        line-height: 1.2;
    }

    .calendar-nav-btn {
        width: 40px;
        height: 40px;
    }

    .calendar-legend {
        gap: 0.5rem 0.75rem;
        padding: 0.6rem 0.65rem;
    }

    .legend-item {
        font-size: 0.72rem;
    }

    .legend-box {
        width: 14px;
        height: 14px;
    }

    .calendar-grid {
        min-width: 0;
        gap: 4px;
    }

    .calendar-day-header {
        padding: 0.35rem 0.1rem;
        font-size: 0.62rem;
        letter-spacing: 0.04em;
    }

    .calendar-day {
        aspect-ratio: auto;
        min-height: 52px;
        padding: 0.45rem 0.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
    }

    .day-number {
        font-size: 0.92rem;
        line-height: 1;
    }

    .practice-count {
        margin-top: 0;
        font-size: 0.5rem;
        line-height: 1.15;
        word-break: break-word;
        text-wrap: balance;
    }

    .gbe-session-panel {
        padding: 1rem 0.9rem;
        border-radius: 14px;
    }

    .gbe-session-panel-header {
        gap: 0.4rem;
        align-items: flex-start;
    }

    .gbe-session-card {
        padding: 0.9rem 0.85rem 0.9rem 0.7rem;
    }

    .avatar-container {
        margin-top: 1rem;
    }

    .avatar-preview-section,
    .customization-panel > .card {
        padding: 0.95rem;
    }

    .avatar-preview-section h3,
    .customization-panel .card h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .avatar-3d-preview {
        height: 260px;
        border-radius: 12px;
    }

    .avatar-3d-preview canvas {
        border-radius: 12px;
    }

    .control-btn {
        padding: 0.8rem 0.9rem;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .avatar-stats p {
        font-size: 0.82rem;
    }

    .wardrobe-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .tab-btn {
        padding: 0.68rem 0.82rem;
        font-size: 0.68rem;
    }

    .tab-btn i {
        margin-right: 0.3rem;
    }

    .rarity-badge {
        font-size: 0.52rem;
        padding: 0.22rem 0.45rem;
    }

    .pack-card h4 {
        font-size: 0.95rem;
    }

    .pack-card .pack-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .pack-rewards-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .reward-item {
        padding: 0.9rem;
    }

    .landing-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .landing-nav .landing-btn {
        width: 100%;
    }

    .gbe-profile-hero {
        border-radius: 20px;
    }

    .gbe-profile-hero-inner {
        padding: 1rem;
        min-height: 0;
    }

    .gbe-profile-hero-copy {
        max-width: 100%;
    }

    .gbe-profile-hero-chip {
        width: 100%;
    }

    .gbe-profile-hero-text .gbe-page-title {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .gbe-profile-hero-role {
        font-size: 0.66rem;
    }

    .gbe-profile-hero-visual {
        width: min(58%, 240px);
        opacity: 0.28;
    }
}

.gbe-session-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gbe-border);
}

.gbe-session-panel-header h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.gbe-date-pill {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 92, 43, 0.15);
    color: var(--gbe-orange);
    border: 1px solid rgba(255, 92, 43, 0.35);
}

.calendar-day.calendar-day--selected {
    background: rgba(255, 92, 43, 0.28) !important;
    border-color: rgba(255, 140, 94, 0.9) !important;
    box-shadow: 0 0 0 2px rgba(255, 92, 43, 0.35);
}

.gbe-session-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1rem 1rem 0.85rem;
    margin-bottom: 0.85rem;
    border-left: 4px solid var(--gbe-orange);
}

.gbe-session-card--upcoming {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.12);
    border-color: rgba(40, 167, 69, 0.35);
}

.gbe-session-card--booked-upcoming {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.38);
}

.gbe-session-subheading {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 12px 0 8px;
}

.gbe-session-subheading--booked {
    color: #3b82f6;
}

.gbe-session-booked-label {
    color: #3b82f6 !important;
    font-weight: 700;
}

.gbe-session-card.is-full {
    border-left-color: #5b7cff;
    opacity: 0.92;
}

.gbe-session-card.is-waitlist {
    border-left-color: #5b7cff;
}

.gbe-session-card--past-attended {
    border-left-color: #5a9e8f;
    background: rgba(90, 158, 143, 0.1);
}

.gbe-session-card--past-attended .gbe-session-meta i {
    color: #5a9e8f;
}

.gbe-session-past-label {
    color: #8fd4c4 !important;
    font-weight: 700;
}

.gbe-session-time {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.gbe-session-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0.2rem 0;
}

.gbe-session-meta i {
    margin-right: 0.35rem;
    color: var(--gbe-orange);
}

.gbe-session-actions {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gbe-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: none;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--gbe-gradient);
    color: #fff;
    text-decoration: none;
}

.gbe-btn-primary:disabled,
.gbe-btn-ghost:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.gbe-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    cursor: pointer;
}

.gbe-coach-profile-readonly {
    max-width: 42rem;
}

.gbe-profile-readonly-row {
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr;
    gap: 0.75rem 1rem;
    margin-bottom: 0.85rem;
    align-items: start;
}

.gbe-profile-readonly-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gbe-profile-readonly-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
    word-break: break-word;
    white-space: pre-wrap;
}

.gbe-profile-readonly-value a {
    color: var(--gbe-orange);
    text-decoration: none;
}

.gbe-profile-readonly-value a:hover {
    text-decoration: underline;
}

/* Coach create practice form */
.gbe-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.gbe-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.gbe-form-grid input,
.gbe-form-grid textarea,
.gbe-form-grid select {
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
}

.gbe-form-grid select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 3.3rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px 8px;
}

.gbe-form-grid input[type="date"]::-webkit-calendar-picker-indicator,
.gbe-form-grid input[type="time"]::-webkit-calendar-picker-indicator,
.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.8);
    opacity: 0.92;
    cursor: pointer;
}

.gbe-form-grid input[type="date"]::-webkit-clear-button,
.gbe-form-grid input[type="time"]::-webkit-clear-button,
.form-group input[type="date"]::-webkit-clear-button,
.form-group input[type="time"]::-webkit-clear-button {
    filter: invert(1) brightness(1.8);
}

.gbe-form-grid textarea {
    min-height: 72px;
    resize: vertical;
}

.gbe-manual-add-wrap {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
}

.gbe-manual-add-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gbe-manual-add-select {
    flex: 1;
    min-width: 220px;
    padding: 0.8rem 2.75rem 0.8rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #f3f4f6;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #ff8a5c 50%),
        linear-gradient(135deg, #ff8a5c 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.gbe-manual-add-select:focus {
    outline: none;
    border-color: #ff5c2b;
    background-color: var(--gbe-surface);
    box-shadow: 0 0 0 3px rgba(255, 92, 43, 0.18);
}

.gbe-manual-add-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .gbe-manual-add-controls {
        flex-direction: column;
    }

    .gbe-manual-add-select {
        width: 100%;
        min-width: 0;
    }
}

.gbe-weekday-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.35rem;
}

.gbe-weekday-row label {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.gbe-weekday-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.gbe-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gbe-border);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gbe-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.gbe-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gbe-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    transition: 0.2s;
}

.gbe-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}

.gbe-switch input:checked + .gbe-switch-slider {
    background: var(--gbe-orange);
}

.gbe-switch input:focus-visible + .gbe-switch-slider {
    outline: 2px solid var(--gbe-orange);
    outline-offset: 2px;
}

.gbe-switch input:checked + .gbe-switch-slider:before {
    transform: translateX(22px);
}

.gbe-session-panel-actions {
    padding: 0 0 0.75rem;
}

.gbe-session-panel-create-btn {
    width: 100%;
}

.gbe-create-practice-modal {
    max-width: 520px;
    width: 100%;
}

.gbe-places-field {
    position: relative;
    margin-top: 0.35rem;
}

.gbe-places-field > input[type="text"] {
    width: 100%;
}

.gbe-places-suggestions {
    position: fixed;
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    background: rgba(12, 12, 14, 0.98);
    border: 1px solid var(--gbe-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.gbe-places-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.gbe-places-item:last-child {
    border-bottom: none;
}

.gbe-places-item:hover,
.gbe-places-item:focus-visible {
    background: rgba(255, 92, 43, 0.12);
    outline: none;
}

.gbe-places-item .fas {
    color: var(--gbe-orange);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.gbe-places-item span {
    flex: 1;
    min-width: 0;
}

.gbe-places-msg {
    cursor: default;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.gbe-places-msg--error {
    color: rgba(255, 140, 120, 0.95);
}

.gbe-card-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gbe-border);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.gbe-card-block h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 800;
}

.gbe-profile-account {
    margin-top: 0.5rem;
}

.gbe-profile-account-hint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    max-width: 36rem;
    margin: 0 0 1.5rem;
    line-height: 1.45;
}

.gbe-invite-code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.gbe-invite-code {
    display: inline-block;
    padding: 0.6rem 1rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--gbe-border);
    border-radius: 10px;
    color: var(--gbe-orange);
}

.gbe-team-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.gbe-team-table th,
.gbe-team-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gbe-border);
}

.gbe-team-table th {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gbe-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
    vertical-align: middle;
}

.gbe-badge--guest {
    background: rgba(255, 92, 43, 0.2);
    color: var(--gbe-orange);
}

.gbe-badge-success {
    background: rgba(53, 209, 138, 0.18);
    color: #7ff0bb;
}

.gbe-badge-muted {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.gbe-btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
}

/* Workouts / Highlights tabs (player + coach media pages) */
.gbe-media-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.gbe-media-tab {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--gbe-border);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gbe-media-tab:hover {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 92, 43, 0.35);
}

.gbe-media-tab.is-active {
    border-color: var(--gbe-orange);
    color: #fff;
    background: rgba(255, 92, 43, 0.12);
}

.gbe-media-tab.is-active .fas {
    color: var(--gbe-orange);
}

.highlight-card--locked .highlight-video-lock {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    text-align: center;
}

/* Coach highlights — collapsible upload */
.gbe-upload-collapsible-card {
    margin-bottom: 30px;
}

.gbe-upload-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.gbe-upload-toggle .gbe-upload-chevron {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    font-size: 0.85em;
    opacity: 0.9;
}

.gbe-upload-toggle[aria-expanded="true"] .gbe-upload-chevron {
    transform: rotate(180deg);
}

.gbe-upload-panel[hidden] {
    display: none !important;
}

.gbe-upload-panel {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gbe-player-home-shell {
    background:
        radial-gradient(circle at top left, rgba(255, 92, 43, 0.12), transparent 26%),
        linear-gradient(180deg, #08090b 0%, #0f1116 100%);
}

.gbe-player-home-topbar {
}

.gbe-player-home-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.gbe-player-home-brand-meta {
    padding: 0;
    background: transparent;
    border: 0;
}

.gbe-player-home-nav {
    margin: 0;
}

.gbe-player-home-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gbe-coach-home-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gbe-player-home-kicker,
.gbe-player-home-section-kicker {
    margin: 0 0 0.45rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gbe-page-title #coachHeroName,
.gbe-page-title #playerName {
    display: inline;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

.gbe-coach-home-hero .gbe-page-title,
.gbe-player-home-hero .gbe-page-title {
    display: block;
}

.gbe-coach-home-hero .gbe-page-title span,
.gbe-player-home-hero .gbe-page-title span {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

.gbe-player-home-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gbe-player-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    gap: 1.25rem;
    align-items: start;
}

.gbe-coach-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 1.25rem;
    align-items: start;
}

.gbe-player-home-main,
.gbe-player-home-side {
    min-width: 0;
}

.gbe-player-home-main {
    display: grid;
    gap: 1.25rem;
}

.gbe-coach-home-main,
.gbe-coach-home-side {
    min-width: 0;
    display: grid;
    gap: 1.25rem;
}

.gbe-player-home-secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.gbe-player-home-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gbe-player-home-section-head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.gbe-dashboard-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 92, 43, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.2);
}

.gbe-dashboard-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(255, 122, 47, 0.85), rgba(255, 122, 47, 0));
    opacity: 0.75;
}

.gbe-dashboard-card > * {
    position: relative;
    z-index: 1;
}

.gbe-dashboard-side-card {
    min-height: 100%;
}

.gbe-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.gbe-inline-link:hover,
.gbe-inline-link:focus-visible {
    color: #fff;
    border-color: rgba(255, 92, 43, 0.34);
    background: rgba(255, 92, 43, 0.12);
    transform: translateY(-1px);
}

.gbe-coach-profit-card {
    position: relative;
}

.gbe-coach-profit-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gbe-coach-profit-label {
    margin: 0 0 0.3rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.gbe-coach-profit-hero strong {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1;
}

.gbe-coach-profit-badge {
    align-self: flex-start;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 92, 43, 0.12);
    border: 1px solid rgba(255, 92, 43, 0.24);
    color: var(--gbe-orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gbe-coach-profit-chart-wrap {
    border-radius: 22px;
    padding: 0.9rem;
    margin-bottom: 0.9rem;
    background:
        radial-gradient(circle at top left, rgba(255, 92, 43, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gbe-coach-profit-chart {
    display: block;
    width: 100%;
    height: auto;
}

.gbe-coach-profit-grid line {
    stroke: rgba(255,255,255,0.08);
    stroke-width: 1;
}

.gbe-coach-profit-area {
    fill: url(#gbeCoachProfitFill);
}

.gbe-coach-profit-line {
    fill: none;
    stroke: var(--gbe-orange);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gbe-coach-profit-dots circle {
    fill: #fff;
    stroke: var(--gbe-orange);
    stroke-width: 3;
}

.gbe-coach-profit-dots text {
    fill: rgba(255,255,255,0.56);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gbe-coach-profit-stats {
    margin-bottom: 0.75rem;
}

.gbe-booking-list {
    display: grid;
    gap: 0.9rem;
}

.gbe-practice-booking-card {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr) minmax(250px, 1.2fr) auto;
    align-items: start;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(255, 92, 43, 0.08), transparent 45%);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.gbe-practice-booking-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0.2rem;
    min-width: 0;
    text-align: center;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.gbe-practice-booking-dayname {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gbe-practice-booking-daynum {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
}

.gbe-player-roster-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 92, 43, 0.24), rgba(255, 92, 43, 0.08));
    border: 1px solid rgba(255, 92, 43, 0.35);
    color: #fff;
    font-size: 1rem;
}

.gbe-player-roster-tag {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Coach home — My players: icon | name + email only (no third column / actions) */
.gbe-coach-my-player-card {
    grid-template-columns: 72px minmax(0, 1fr);
}

.gbe-coach-my-player-card .gbe-practice-booking-actions {
    display: none !important;
}

.gbe-coach-my-player-card .gbe-practice-booking-date {
    padding-right: 0.75rem;
}

.gbe-coach-my-player-card .gbe-practice-booking-body {
    border-right: none;
    padding-right: 0;
}

.gbe-coach-my-player-card .gbe-coach-my-player-name {
    font-weight: 800;
    color: #fff;
}

.gbe-coach-my-player-card .gbe-coach-my-player-email span {
    word-break: break-word;
}

.gbe-coach-action-item-row .gbe-coach-action-playercol {
    align-items: flex-start;
    text-align: left;
}

.gbe-coach-action-item-row .gbe-coach-action-statuscol {
    align-self: center;
}

.gbe-coach-action-item-row .gbe-coach-action-details {
    align-self: center;
}

.gbe-coach-action-item-row .gbe-coach-action-practice-detail {
    margin: 0;
}

.gbe-coach-action-item-row .gbe-coach-action-practice-detail span {
    word-break: break-word;
}

.gbe-coach-action-playername {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.gbe-practice-booking-body,
.gbe-practice-booking-details {
    min-width: 0;
}

.gbe-practice-booking-body {
    display: grid;
    gap: 0.45rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.gbe-practice-booking-details h3 {
    margin: 0;
    font-size: 0.98rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gbe-practice-booking-details {
    display: flex;
    align-items: center;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.gbe-practice-booking-details--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.gbe-practice-booking-coach-head {
    display: flex;
    align-items: stretch;
    gap: 0.7rem;
    width: 100%;
}

.gbe-practice-booking-coach-image,
.gbe-practice-booking-coach-fallback {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    flex: 0 0 56px;
}

.gbe-practice-booking-coach-image {
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gbe-practice-booking-coach-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 92, 43, 0.24), rgba(255, 92, 43, 0.08));
    border: 1px solid rgba(255, 92, 43, 0.35);
    color: var(--gbe-orange);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.gbe-practice-booking-coach-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 100%;
}

.gbe-coach-pill-icon {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 92, 43, 0.26), rgba(255, 92, 43, 0.08));
    border: 1px solid rgba(255, 92, 43, 0.4);
}

.gbe-coach-pill-icon i {
    font-size: 0.95rem;
}

.gbe-practice-booking-location {
    margin: 0 0 0.32rem;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
}

.gbe-practice-booking-line {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.gbe-practice-booking-line i {
    width: 16px;
    text-align: center;
    color: var(--gbe-orange);
    flex: 0 0 16px;
}

.gbe-practice-booking-line--subtle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.87rem;
    font-weight: 600;
}

.gbe-practice-booking-meta,
.gbe-practice-booking-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
    font-size: 0.86rem;
}

.gbe-practice-booking-note {
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.62);
}

.gbe-practice-booking-meta--secondary {
    margin-top: 0.22rem;
    color: rgba(255, 255, 255, 0.52);
}

.gbe-practice-booking-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    margin: 0 0.45rem;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.32);
}

.gbe-practice-booking-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    align-self: center;
    gap: 0.65rem;
    min-width: 128px;
    padding-left: 0.15rem;
}

.gbe-practice-booking-actions .gbe-btn-ghost,
.gbe-practice-booking-actions .gbe-btn-primary,
.gbe-practice-booking-actions .btn-danger,
.gbe-player-home-hero-actions .gbe-btn-ghost,
.gbe-player-home-section-head .gbe-btn-primary {
    text-decoration: none;
}

.gbe-practice-booking-actions .gbe-btn-ghost {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    width: 100%;
}

.gbe-practice-booking-actions .btn-danger,
.gbe-practice-booking-actions button:not(.gbe-btn-ghost):not(:disabled) {
    border-radius: 12px;
    padding: 0.58rem 1rem;
    width: 100%;
}

.gbe-practice-booking-actions .gbe-practice-booking-cta {
    background: var(--gbe-gradient);
    color: #0a0a0a;
    border: none;
    box-shadow: 0 10px 22px rgba(255, 92, 43, 0.24);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.gbe-practice-booking-actions .gbe-practice-booking-cta:hover:not(:disabled) {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.gbe-practice-booking-actions .gbe-practice-booking-cta:disabled {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.gbe-player-home-avatar-card {
    position: sticky;
    top: 1rem;
}

.gbe-home-avatar-preview {
    height: 300px;
    max-height: min(300px, 42vh);
    margin: 0.5rem 0 1rem;
}

.gbe-home-avatar-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.gbe-home-avatar-stat {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.gbe-home-avatar-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.gbe-home-avatar-stat strong {
    color: #fff;
    font-size: 1.35rem;
}

@media (max-width: 1180px) {
    .gbe-player-home-topbar {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .gbe-player-home-nav {
        order: 3;
        width: 100%;
        margin: 0;
    }

    .gbe-topbar-actions {
        justify-self: end;
    }

    .gbe-player-home-grid {
        grid-template-columns: 1fr;
    }

    .gbe-coach-home-grid {
        grid-template-columns: 1fr;
    }

    .gbe-player-home-avatar-card {
        position: static;
    }

    .gbe-coach-profit-card {
        position: static;
    }

    .gbe-practice-booking-card {
        grid-template-columns: 1fr;
        border-radius: 24px;
        gap: 0;
        padding: 1rem 1.05rem;
    }

    .gbe-practice-booking-date {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0.85rem;
        width: 100%;
        padding-right: 0;
        padding-bottom: 0.85rem;
        margin-bottom: 0.65rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        text-align: left;
    }

    .gbe-practice-booking-daynum {
        font-size: 1.65rem;
    }

    .gbe-practice-booking-body {
        padding-right: 0;
        border-right: none;
        padding-bottom: 0.75rem;
        margin-bottom: 0.65rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .gbe-practice-booking-details {
        border-right: none;
        padding-right: 0;
        width: 100%;
        align-items: flex-start;
    }

    .gbe-practice-booking-actions {
        justify-content: flex-start;
        min-width: 0;
        padding-left: 0;
        padding-top: 0.35rem;
    }

    .gbe-coach-my-player-card .gbe-practice-booking-date {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Keep icon + text side-by-side (only 2 grid areas). */
    .gbe-practice-booking-card.gbe-coach-my-player-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0.85rem;
        align-items: center;
        padding: 1rem 1.05rem;
    }

    .gbe-practice-booking-card.gbe-coach-my-player-card .gbe-practice-booking-date {
        flex-direction: column;
        justify-content: center;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0.75rem;
        width: auto;
    }

    .gbe-practice-booking-card.gbe-coach-my-player-card .gbe-practice-booking-body {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 760px) {
    .gbe-player-home-hero,
    .gbe-coach-home-hero,
    .gbe-player-home-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .gbe-player-home-secondary {
        grid-template-columns: 1fr;
    }

    .gbe-home-avatar-stats {
        grid-template-columns: 1fr;
    }

    .gbe-home-avatar-preview {
        height: 240px;
        max-height: min(240px, 38vh);
    }

    .gbe-player-home-brand,
    .gbe-topbar-actions {
        justify-content: center;
    }
}

/* Player + coach dashboards — readability on small screens */
@media (max-width: 768px) {
    .gbe-player-home-shell {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .gbe-player-home-shell .gbe-main-inner {
        padding-top: 1rem;
        padding-bottom: 1.75rem;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .gbe-player-home-shell .gbe-page-sub {
        color: rgba(255, 255, 255, 0.76);
        font-size: 1.02rem;
        line-height: 1.6;
        max-width: none;
    }

    .gbe-player-home-shell .gbe-page-title {
        font-size: clamp(1.38rem, 5.2vw, 1.85rem);
        line-height: 1.14;
        letter-spacing: 0.045em;
    }

    .gbe-player-home-shell .gbe-player-home-kicker,
    .gbe-player-home-shell .gbe-player-home-section-kicker {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.76rem;
    }

    .gbe-player-home-shell .gbe-player-home-section-head h2 {
        font-size: 1.22rem;
        line-height: 1.28;
    }

    .gbe-player-home-shell .gbe-dashboard-card.card,
    .gbe-player-home-shell section.card.gbe-dashboard-card {
        padding: 1.2rem 1.1rem;
    }

    .gbe-player-home-shell .gbe-inline-link {
        font-size: 0.84rem;
        min-height: 44px;
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    .gbe-player-home-shell .gbe-player-home-hero-actions {
        gap: 0.65rem;
    }

    .gbe-player-home-shell .gbe-player-home-hero-actions .gbe-btn-ghost,
    .gbe-player-home-shell .gbe-player-home-hero-actions .gbe-btn-primary,
    .gbe-player-home-shell .gbe-coach-home-hero .gbe-btn-primary {
        min-height: 46px;
        padding: 0.68rem 1.05rem;
        font-size: 0.96rem;
        justify-content: center;
    }

    .gbe-player-home-shell .gbe-booking-list > p,
    .gbe-player-home-shell .gbe-booking-list .muted {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .gbe-player-home-shell .gbe-practice-booking-meta,
    .gbe-player-home-shell .gbe-practice-booking-note {
        font-size: 0.93rem;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.78);
    }

    .gbe-player-home-shell .gbe-practice-booking-line {
        font-size: 1rem;
    }

    .gbe-player-home-shell .gbe-practice-booking-line--subtle {
        font-size: 0.92rem;
        color: rgba(255, 255, 255, 0.78);
    }

    .gbe-player-home-shell .gbe-coach-profit-label {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.62);
    }

    .gbe-player-home-shell .gbe-coach-profit-hero strong {
        font-size: clamp(1.7rem, 7vw, 2.15rem);
    }

    .gbe-player-home-shell .gbe-coach-profit-badge {
        font-size: 0.74rem;
    }

    .gbe-player-home-shell .coach-revenue-select {
        min-height: 44px;
        font-size: 1rem;
    }

    .gbe-player-home-shell .gbe-player-home-section-head .gbe-btn-primary {
        min-height: 44px;
        font-size: 0.9rem;
    }

    .gbe-player-home-shell .control-btn {
        min-height: 44px;
        font-size: 0.92rem;
    }

    .gbe-player-home-shell .gbe-home-avatar-stat-label {
        font-size: 0.74rem;
    }

    .gbe-player-home-shell .gbe-home-avatar-stat strong {
        font-size: 1.28rem;
    }
}

@media (max-width: 520px) {
    .gbe-player-home-shell .gbe-main-inner {
        padding-left: max(0.95rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.95rem, env(safe-area-inset-right, 0px));
    }
}
