/* ============================================================
   Scouts Dashboard — Premium UI Redesign
   Design system: #D60000 red, #D4AF37 gold, #050505 bg
   ============================================================ */

:root {
    --scout-red: #D60000;
    --scout-red-glow: rgba(214, 0, 0, 0.45);
    --scout-gold: #D4AF37;
    --scout-gold-dim: rgba(212, 175, 55, 0.35);
    --scout-bg: #050505;
    --scout-bg-2: #0A0A0A;
    --scout-bg-3: #111111;
    --scout-text: #FFFFFF;
    --scout-text-muted: #BFBFBF;
    --scout-glass: rgba(10, 10, 10, 0.72);
    --scout-glass-border: rgba(255, 255, 255, 0.08);
    --scout-header-h: 84px;
    --scout-font: 'Montserrat', 'Roboto', sans-serif;
    --scout-heading: 'Oswald', 'Bebas Neue', sans-serif;
}

/* ---- Scout App Shell ---- */
#scout-app {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    background: var(--scout-bg);
    color: var(--scout-text);
    font-family: var(--scout-font);
    overflow: hidden;
}

#scout-app.hidden {
    display: none !important;
}

.scout-app-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('assets/scout-dashboard/scout-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ---- Header (reference replica — left-to-right flex) ---- */
.scout-header {
    height: 84px;
    min-height: 84px;
    max-height: 84px;
}

.scout-dash-header {
    position: relative;
    z-index: 20;
    flex: 0 0 var(--scout-header-h);
    height: var(--scout-header-h);
    display: flex;
    align-items: center;
    padding: 0 20px 0 24px;
    background: #000000;
    border-bottom: 2px solid var(--scout-red);
    box-sizing: border-box;
}

.scout-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.scout-header-logo,
.scout-header-logo img {
    display: block;
    height: 72px;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: initial;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.scout-header-logo {
    transform: scale(2.58);
    transform-origin: left center;
    margin-left: -23px;
    margin-right: 75px;
}

.scout-header-divider {
    flex-shrink: 0;
    width: 1px;
    height: 36px;
    background: var(--scout-red);
}

.scout-header-title {
    font-family: var(--scout-font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--scout-text);
    white-space: nowrap;
    line-height: 1;
    margin-left: 9px;
}

.scout-header-spacer {
    flex: 1 1 auto;
    min-width: 16px;
    height: 1px;
}

.scout-header-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 14px;
}

.scout-header-welcome-wrap {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.scout-header-welcome {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    font-family: var(--scout-font);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.scout-header-welcome-label {
    color: var(--scout-red);
    font-weight: 700;
    text-transform: uppercase;
}

.scout-header-welcome-name {
    color: var(--scout-text);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
}

.scout-header-team {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.scout-header-team-name {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    font-family: var(--scout-font);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: right;
    line-height: 1.2;
    color: var(--scout-text);
}

.scout-header-team-line {
    display: block;
    white-space: nowrap;
}

.scout-header-team-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.scout-header-guest {
    font-family: var(--scout-font);
    font-size: 0.6875rem;
    color: var(--scout-text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---- Loading Bar ---- */
.scout-loading-bar-wrap {
    position: absolute;
    top: 81px;
    left: 0;
    width: 100%;
    z-index: 25;
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    flex-shrink: 0;
}

.scout-loading-bar-wrap.is-hidden {
    height: 0;
    opacity: 0;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.scout-loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--scout-red) 0%, #ff3333 50%, var(--scout-red) 100%);
    box-shadow: 0 0 12px var(--scout-red-glow), 0 0 4px var(--scout-red);
    transition: width 0.25s ease-out;
    border-radius: 0 2px 2px 0;
}

.scout-loading-bar.is-indeterminate {
    width: 35% !important;
    animation: scoutLoadingSlide 1.1s ease-in-out infinite;
}

@keyframes scoutLoadingSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* ---- Page Layout ---- */
.scout-page {
    position: relative;
    z-index: 10;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.scout-page.hidden {
    display: none !important;
}

.scout-auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--scout-header-h) - 3px);
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

/* ---- Hero (Left) ---- */
.scout-hero {
    animation: scoutFadeUp 0.7s ease both;
}

.scout-hero-eyebrow {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--scout-red);
    margin: 0 0 8px;
}

.scout-hero-title {
    font-family: var(--scout-heading);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--scout-text);
    margin: 0;
}

.scout-hero-accent {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--scout-red);
    margin: 16px 0 24px;
    box-shadow: 0 0 8px var(--scout-red-glow);
}

.scout-hero-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.65;
    color: var(--scout-text);
    max-width: 420px;
    margin: 0 0 36px;
    opacity: 0.92;
}

.scout-hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: scoutFadeUp 0.7s 0.15s ease both;
}

.scout-hero-shield {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--scout-red);
    border-radius: 8px;
    color: var(--scout-red);
    font-size: 1.1rem;
    background: rgba(214, 0, 0, 0.08);
    box-shadow: 0 0 16px rgba(214, 0, 0, 0.15);
}

.scout-hero-feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--scout-text);
    margin: 0 0 4px;
}

.scout-hero-feature-sub {
    font-size: 0.88rem;
    color: var(--scout-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ---- Glass Card ---- */
.scout-glass-card {
    background: var(--scout-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--scout-glass-border);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 40px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: scoutFadeUp 0.7s 0.1s ease both;
    max-width: 460px;
    width: 100%;
    justify-self: center;
}

.scout-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--scout-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--scout-red);
    font-size: 1.25rem;
    margin: 0 auto 16px;
    background: rgba(214, 0, 0, 0.1);
}

.scout-card-title {
    font-family: var(--scout-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 8px;
    color: var(--scout-text);
}

.scout-card-subtitle {
    font-size: 0.82rem;
    color: var(--scout-text-muted);
    text-align: center;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* ---- Form Fields ---- */
.scout-field {
    margin-bottom: 18px;
}

.scout-field label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--scout-text-muted);
    margin-bottom: 8px;
}

.scout-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.scout-input-wrap > i.field-icon {
    position: absolute;
    left: 14px;
    color: var(--scout-red);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}

.scout-input-wrap input,
.scout-input-wrap select {
    width: 100%;
    padding: 14px 14px 14px 42px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--scout-text);
    font-family: var(--scout-font);
    font-size: 0.9rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.scout-input-wrap input::placeholder {
    color: rgba(191, 191, 191, 0.55);
}

.scout-input-wrap input:focus,
.scout-input-wrap select:focus {
    border-color: rgba(214, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(214, 0, 0, 0.12);
}

.scout-input-wrap .scout-toggle-pw {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--scout-text-muted);
    cursor: pointer;
    padding: 6px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.scout-input-wrap .scout-toggle-pw:hover {
    color: var(--scout-text);
}

.scout-input-wrap.has-toggle input {
    padding-right: 42px;
}

.scout-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    font-size: 0.82rem;
}

.scout-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--scout-text-muted);
    cursor: pointer;
}

.scout-checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--scout-red);
}

.scout-link {
    color: var(--scout-red);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.scout-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.scout-error {
    color: #ff6b6b;
    font-size: 0.82rem;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scout-error.hidden {
    display: none;
}

/* ---- Buttons ---- */
.scout-btn-primary {
    width: 100%;
    padding: 15px 24px;
    background: var(--scout-red);
    border: none;
    border-radius: 10px;
    color: var(--scout-text);
    font-family: var(--scout-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(214, 0, 0, 0.35);
}

.scout-btn-primary:hover {
    background: #e60000;
    box-shadow: 0 6px 28px rgba(214, 0, 0, 0.5);
    transform: translateY(-1px);
}

.scout-btn-primary:active {
    transform: translateY(0);
}

.scout-btn-ghost {
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 1.5px solid var(--scout-red);
    border-radius: 10px;
    color: var(--scout-red);
    font-family: var(--scout-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.scout-btn-ghost:hover {
    background: rgba(214, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(214, 0, 0, 0.2);
}

.scout-or-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--scout-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.scout-or-divider::before,
.scout-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.scout-card-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--scout-text-muted);
}

/* ---- MLB Team Grid ---- */
.scout-mlb-select-wrap {
    margin-bottom: 18px;
}

.scout-mlb-dropdown {
    width: 100%;
    padding: 14px 42px 14px 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--scout-text-muted);
    font-family: var(--scout-font);
    font-size: 0.9rem;
    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 fill='%23BFBFBF' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    outline: none;
}

.scout-mlb-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.scout-mlb-grid-btn {
    aspect-ratio: 1;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scout-mlb-grid-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scout-mlb-grid-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.scout-mlb-grid-btn.is-selected {
    border-color: var(--scout-gold);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.scout-pw-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.scout-pw-req {
    font-size: 0.68rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--scout-text-muted);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.scout-pw-req.is-valid {
    border-color: rgba(76, 175, 80, 0.5);
    color: #81c784;
}

/* ---- Dashboard ---- */
.scout-dashboard-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px) 64px;
    animation: scoutFadeUp 0.6s ease both;
}

.scout-dashboard-hero {
    text-align: center;
    margin-bottom: 32px;
}

.scout-dashboard-title {
    font-family: var(--scout-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 12px;
    line-height: 1.1;
}

.scout-dashboard-title .gold {
    color: var(--scout-gold);
}

.scout-dashboard-title .white {
    color: var(--scout-text);
}

.scout-dashboard-subtitle {
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: var(--scout-text);
    opacity: 0.88;
    margin: 0 0 20px;
    line-height: 1.55;
}

.scout-lang-toggle {
    display: inline-flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 28px;
}

.scout-lang-toggle button {
    padding: 8px 18px;
    border: none;
    background: transparent;
    color: var(--scout-text-muted);
    font-family: var(--scout-font);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.scout-lang-toggle button.active {
    background: var(--scout-red);
    color: var(--scout-text);
}

body.scout-app-active {
    overflow: hidden;
}

body.scout-app-active #main-header,
body.scout-app-active #main-footer,
body.scout-app-active #public-view {
    visibility: hidden;
    pointer-events: none;
}

/* Scout report + video modals must stack above the full-screen scout shell */
body.scout-app-active #scout-full-report-modal:not(.hidden),
body.scout-app-active #scout-videos-watch-modal:not(.hidden),
body.scout-app-active #scout-videos-play-modal:not(.hidden) {
    z-index: 10050;
}

/* Scout report + video player: approved cinematic composition */
body.scout-app-active #scout-full-report-modal,
body.scout-app-active #scout-videos-watch-modal {
    padding: 20px;
    background:
        radial-gradient(circle at 50% 16%, rgba(38, 50, 59, 0.22), transparent 34%),
        rgba(2, 5, 8, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.scout-app-active #scout-full-report-modal .scout-report-modal {
    width: min(1460px, 94vw) !important;
    max-width: none !important;
    max-height: 93vh;
    padding: 20px !important;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(184, 196, 205, 0.38) !important;
    border-radius: 24px;
    color: #f5f6f7;
    background:
        radial-gradient(circle at 72% 8%, rgba(102, 0, 6, 0.24), transparent 25%),
        linear-gradient(115deg, rgba(18, 24, 29, 0.98), rgba(4, 8, 12, 0.99) 58%, rgba(11, 16, 20, 0.99)) !important;
    box-shadow: 0 30px 85px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
    scrollbar-color: rgba(238, 240, 242, 0.9) rgba(255, 255, 255, 0.06);
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::-webkit-scrollbar {
    width: 10px;
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::-webkit-scrollbar-track {
    margin: 260px 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(238, 240, 242, 0.92);
    background-clip: padding-box;
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 255px;
    pointer-events: none;
    background:
        radial-gradient(circle at 7% 25%, rgba(200, 215, 225, 0.1) 0 2px, transparent 3px) 0 0 / 14px 14px,
        linear-gradient(142deg, transparent 34%, rgba(190, 0, 14, 0.32) 34.2%, transparent 34.8%),
        linear-gradient(142deg, transparent 40%, rgba(120, 0, 8, 0.22) 40.2%, transparent 40.8%);
    opacity: 0.7;
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::after {
    background: linear-gradient(112deg, transparent 57%, rgba(103, 0, 8, 0.12));
}

body.scout-app-active #scout-full-report-modal .scout-report-header {
    position: relative;
    min-height: 228px;
    margin: 0 0 18px;
    padding: 4px 34px 28px 12px;
    overflow: hidden;
    border: 0;
    align-items: flex-start;
    flex-wrap: nowrap;
}

body.scout-app-active #scout-full-report-modal .scout-report-identity {
    position: relative;
    z-index: 3;
    display: block;
    width: min(720px, 63%);
    padding-top: 2px;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar-wrap {
    position: absolute;
    z-index: 0;
    top: -58px;
    right: -610px;
    width: 410px;
    height: 320px;
    opacity: 0.16;
    pointer-events: none;
    filter: grayscale(1) brightness(0.48) contrast(1.25);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 80%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 80%, transparent 100%);
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar,
body.scout-app-active #scout-full-report-modal .scout-report-avatar img {
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: cover;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar-overlay {
    display: none;
}

body.scout-app-active #scout-full-report-modal .scout-report-name-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

body.scout-app-active #scout-full-report-modal .scout-report-pos-badge {
    order: -1;
    min-width: 58px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(214, 166, 79, 0.7);
    border-radius: 6px;
    color: #d9ad61;
    background: rgba(8, 12, 15, 0.74);
    box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.26);
    font-family: 'Oswald', sans-serif;
    font-size: 1.22rem;
    letter-spacing: 0.14em;
}

body.scout-app-active #scout-full-report-modal .scout-report-header h2 {
    margin: 0 !important;
    color: #f7f7f7;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(3.2rem, 5vw, 4.5rem) !important;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0.065em;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.8);
}

body.scout-app-active #scout-full-report-modal .scout-report-subtitle {
    margin-top: 16px;
    color: #b7b9bc;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.015em;
}

body.scout-app-active #scout-full-report-modal .scout-report-meta {
    position: relative;
    z-index: 4;
    width: 350px;
    flex: 0 0 350px;
    gap: 22px;
    padding: 4px 38px 0 0;
}

body.scout-app-active #scout-full-report-modal .scout-report-updated {
    color: #8e9297;
    font-family: 'Oswald', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.07em;
}

body.scout-app-active #scout-full-report-modal .btn-scout-watch,
body.scout-app-active #scout-full-report-modal #scout-report-edit-toggle {
    width: 100%;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #ec1b29;
    border-radius: 10px;
    color: #fff;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

body.scout-app-active #scout-full-report-modal .btn-scout-watch {
    width: 225px;
    align-self: center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(136, 0, 7, 0.96), rgba(80, 0, 5, 0.98));
    box-shadow: 0 0 26px rgba(255, 20, 31, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.scout-app-active #scout-full-report-modal #scout-report-edit-toggle {
    border-color: #d9242f;
    background: rgba(17, 22, 27, 0.78);
}

body.scout-app-active #scout-full-report-modal .close-btn,
body.scout-app-active #scout-videos-watch-modal .close-btn {
    position: absolute;
    z-index: 20;
    top: 18px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    color: #bfc3c7;
    background: rgba(8, 12, 15, 0.76);
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

body.scout-app-active #scout-full-report-modal .close-btn:hover,
body.scout-app-active #scout-videos-watch-modal .close-btn:hover {
    color: #fff;
    border-color: #df1f2b;
    background: rgba(112, 0, 7, 0.86);
}

body.scout-app-active #scout-full-report-modal .scout-report-section {
    position: relative;
    margin-bottom: 24px;
    padding: 22px 20px 24px;
    overflow: hidden;
    border: 1px solid rgba(203, 214, 222, 0.15);
    border-left: 1px solid rgba(210, 165, 82, 0.28);
    border-radius: 13px;
    background: linear-gradient(120deg, rgba(14, 20, 25, 0.96), rgba(7, 12, 16, 0.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 18px 30px rgba(0, 0, 0, 0.18);
}

body.scout-app-active #scout-full-report-modal .scout-report-section h3 {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    color: #d2a452 !important;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.12em;
}

body.scout-app-active #scout-full-report-modal .scout-report-section h3 i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 10px;
    color: #cf2630;
    background: linear-gradient(145deg, rgba(160, 28, 36, 0.22), rgba(22, 20, 23, 0.62));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

body.scout-app-active #scout-full-report-modal .scout-report-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px 20px;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item {
    position: relative;
    min-height: 106px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 14px;
    padding: 16px 18px 16px 14px;
    overflow: hidden;
    border: 1px solid rgba(201, 211, 219, 0.16);
    border-left: 3px solid #d11d28;
    border-radius: 12px;
    background: linear-gradient(115deg, rgba(25, 31, 36, 0.94), rgba(11, 16, 20, 0.97)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item::before {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    content: '\f007';
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    color: #d13a42;
    font-family: 'Font Awesome 5 Free';
    font-size: 1.65rem;
    font-weight: 900;
    background: rgba(12, 16, 20, 0.68);
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(2)::before { content: '\f005'; }
body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(3)::before { content: '\f073'; }
body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(4)::before { content: '\f545'; }
body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(5)::before { content: '\f496'; }
body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(6)::before { content: '\f70c'; }
body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(7)::before { content: '\f3fd'; }
body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(8)::before { content: '\f2f2'; }
body.scout-app-active #scout-full-report-modal .scout-report-info-item:nth-child(9)::before { content: '\f135'; }

body.scout-app-active #scout-full-report-modal .scout-report-info-item .label,
body.scout-app-active #scout-full-report-modal .scout-report-info-item .value {
    grid-column: 2;
    min-width: 0;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item .label {
    align-self: end;
    margin: 0 0 5px;
    color: #93989d;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.075em;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item .value {
    align-self: start;
    color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    font-size: 1.35rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

body.scout-app-active #scout-full-report-modal .scout-report-text {
    position: relative;
    z-index: 2;
    color: #eef0f1;
    font-family: 'Roboto', sans-serif;
    font-size: 1.08rem;
    line-height: 1.65;
}

body.scout-app-active #scout-full-report-modal .scout-report-list li {
    color: #e4e6e8;
    border-left-color: #c69c4a;
    background: rgba(255, 255, 255, 0.035);
}

/* Scout video player */
body.scout-app-active #scout-videos-watch-modal .modal-content.cubbies-premium-panel {
    width: min(1480px, 97vw) !important;
    max-width: none !important;
    max-height: 96vh;
    padding: 0 0 22px;
    overflow: auto;
    border: 1px solid rgba(191, 203, 211, 0.16);
    border-radius: 22px;
    color: #f5f6f7;
    background: linear-gradient(115deg, rgba(15, 20, 24, 0.99), rgba(4, 7, 10, 0.995));
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-header {
    position: relative !important;
    min-height: 132px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 100px 18px 20px;
    background: transparent !important;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-identity {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-pos {
    min-width: 58px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(214, 166, 79, 0.75);
    border-radius: 6px;
    color: #d9ad61;
    background: rgba(7, 10, 13, 0.8);
    font-family: 'Oswald', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-copy {
    min-width: 0;
}

body.scout-app-active #scout-videos-watch-modal #scout-videos-watch-title {
    margin: 0 0 6px;
    color: #f5f5f5;
    text-align: left;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(2.35rem, 4vw, 3.35rem);
    line-height: 1;
    letter-spacing: 0.055em;
}

body.scout-app-active #scout-videos-watch-modal #scout-videos-watch-subtitle {
    margin: 0;
    color: #b2b5b8;
    font-family: 'Roboto', sans-serif;
    font-size: 1.02rem;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-updated {
    min-height: 18px;
    color: #92969a;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-status {
    min-width: 215px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid #ef1c2c;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, rgba(125, 0, 7, 0.94), rgba(70, 0, 4, 0.98));
    box-shadow: 0 0 24px rgba(255, 22, 35, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.17);
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.07em;
}

body.scout-app-active #scout-videos-watch-modal .scout-videos-watch-player {
    width: calc(100% - 2px);
    margin: 0 1px 22px;
    border: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 54px rgba(0, 0, 0, 0.5);
}

body.scout-app-active #scout-videos-watch-modal .scout-mlb-player::before {
    display: none;
}

body.scout-app-active #scout-videos-watch-modal .scout-mlb-player-stage {
    height: clamp(360px, 53vh, 565px);
    padding: 0;
}

body.scout-app-active #scout-videos-watch-modal .scout-mlb-player-stage iframe,
body.scout-app-active #scout-videos-watch-modal .scout-mlb-player-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    accent-color: #e31d2d;
}

body.scout-app-active #scout-videos-watch-modal #scout-videos-watch-grid {
    padding: 0 20px;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-browser {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0 0 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile {
    position: relative;
    min-width: 0;
    min-height: 148px;
    flex: 0 0 calc((100% - 24px) / 3);
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 18px;
    padding: 18px 24px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(211, 219, 225, 0.14);
    border-radius: 9px;
    color: #f7f7f7;
    background: linear-gradient(125deg, rgba(21, 26, 31, 0.98), rgba(9, 13, 17, 0.99));
    box-shadow: none;
    transform: none;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile::after {
    content: '';
    position: absolute;
    left: 38%;
    right: 38%;
    bottom: -1px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile:hover,
body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile:focus-visible,
body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile.active {
    transform: none;
    border-color: #e11d2c;
    background:
        radial-gradient(circle at 18% 48%, rgba(164, 0, 12, 0.32), transparent 43%),
        linear-gradient(125deg, rgba(33, 17, 21, 0.99), rgba(12, 13, 17, 0.99));
    box-shadow: inset 0 0 30px rgba(146, 0, 10, 0.09), 0 0 24px rgba(210, 0, 17, 0.12);
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile.active::after {
    background: #e51d2d;
    box-shadow: 0 0 16px rgba(229, 29, 45, 0.8);
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-icon {
    width: 96px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(235, 238, 240, 0.48);
    border-radius: 50%;
    color: #f3f3f3;
    background: rgba(4, 7, 10, 0.44);
    font-size: 2.25rem;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile.active .scout-video-section-icon {
    border-color: #e31b2b;
    box-shadow: inset 0 0 26px rgba(130, 0, 9, 0.25);
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-copy strong {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.045em;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-copy em {
    color: #b1b4b7;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-style: normal;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-copy small {
    color: #92969a;
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile.active .scout-video-section-copy small {
    color: #f02031;
}

body.scout-app-active #scout-videos-watch-modal .scout-videos-cat-section {
    padding-top: 4px;
}

body.scout-app-active #scout-videos-watch-modal .scout-videos-cat-title {
    margin: 8px 0;
    color: #d3a958;
    font-size: 1.25rem;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-thumb-card {
    flex-basis: 220px;
}

@media (max-width: 980px) {
    body.scout-app-active #scout-full-report-modal .scout-report-header {
        min-height: 0;
        flex-direction: column;
        gap: 22px;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-identity,
    body.scout-app-active #scout-full-report-modal .scout-report-meta {
        width: 100%;
        max-width: none;
        flex-basis: auto;
        align-items: flex-start;
        text-align: left;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-avatar-wrap {
        display: none;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.scout-app-active #scout-videos-watch-modal .scout-video-watch-header {
        min-height: 0;
        flex-direction: column;
        padding-right: 74px;
    }

    body.scout-app-active #scout-videos-watch-modal .scout-video-watch-meta {
        align-items: flex-start;
    }

    body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile {
        flex-basis: min(78vw, 420px);
    }
}

@media (max-width: 620px) {
    body.scout-app-active #scout-full-report-modal,
    body.scout-app-active #scout-videos-watch-modal {
        padding: 8px;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-modal {
        width: 100% !important;
        max-height: 97vh;
        padding: 14px !important;
        border-radius: 16px;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-header h2 {
        font-size: clamp(2.5rem, 13vw, 3.5rem) !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-info-grid,
    body.scout-app-active #scout-full-report-modal .scout-report-two-col {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-info-item {
        min-height: 92px;
    }

    body.scout-app-active #scout-videos-watch-modal .modal-content.cubbies-premium-panel {
        width: 100% !important;
        max-height: 97vh;
        border-radius: 16px;
    }

    body.scout-app-active #scout-videos-watch-modal .scout-video-watch-identity {
        flex-direction: column;
    }

    body.scout-app-active #scout-videos-watch-modal .scout-mlb-player-stage {
        height: 54vw;
        min-height: 220px;
    }

    body.scout-app-active #scout-videos-watch-modal .scout-video-section-tile {
        min-height: 128px;
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 14px;
    }

    body.scout-app-active #scout-videos-watch-modal .scout-video-section-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
}

.scout-search-bar {
    position: relative;
    max-width: 720px;
    margin: 0 auto 40px;
}

.scout-search-bar i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--scout-gold);
    font-size: 1rem;
}

.scout-search-bar input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--scout-gold-dim);
    border-radius: 12px;
    color: var(--scout-text);
    font-family: var(--scout-font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.scout-search-bar input::placeholder {
    color: rgba(191, 191, 191, 0.55);
}

.scout-search-bar input:focus {
    border-color: var(--scout-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* ---- Player Cards ---- */
.scout-grid-v2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.scout-card-v2 {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.95) 0%, rgba(8, 8, 8, 0.98) 100%);
    border: 1px solid rgba(214, 0, 0, 0.35);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 28px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(214, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: scoutFadeUp 0.5s ease both;
}

.scout-card-v2:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 0, 0, 0.55);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(214, 0, 0, 0.12);
}

.scout-card-v2-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.scout-card-v2-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--scout-gold);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(214, 0, 0, 0.2), #111);
    color: var(--scout-red);
    font-size: 1.8rem;
}

.scout-card-v2-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scout-card-v2-info h3 {
    font-family: var(--scout-heading);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 4px;
    color: var(--scout-text);
}

.scout-card-v2-info p {
    font-size: 0.78rem;
    color: var(--scout-text-muted);
    margin: 0;
}

.scout-card-v2-pos {
    padding: 6px 12px;
    border: 1px solid var(--scout-gold-dim);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--scout-gold);
    align-self: flex-start;
}

.scout-card-v2-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.scout-metric-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.scout-metric-row i {
    color: var(--scout-gold);
    font-size: 1rem;
    text-align: center;
}

.scout-metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--scout-text-muted);
}

.scout-metric-value {
    font-family: var(--scout-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--scout-text);
    text-align: right;
    line-height: 1;
}

.scout-metric-value small {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--scout-gold);
    margin-left: 4px;
    letter-spacing: 0.06em;
}

.scout-card-v2-cta {
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: 1.5px solid var(--scout-red);
    border-radius: 10px;
    color: var(--scout-red);
    font-family: var(--scout-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 3;
    pointer-events: auto;
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.scout-card-v2-cta:hover {
    background: rgba(214, 0, 0, 0.12);
    box-shadow: 0 0 20px rgba(214, 0, 0, 0.25);
}

.scout-card-v2-cta i {
    font-size: 0.75rem;
}

.scout-exit-btn {
    flex: 0 0 auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.22);
    font-family: var(--scout-font);
    font-size: 0.675rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 6px;
    margin: 0;
    transition: color 0.2s ease;
}

.scout-exit-btn:hover,
.scout-exit-btn:focus-visible {
    color: rgba(255, 255, 255, 0.55);
    outline: none;
}

/* ---- Animations ---- */
@keyframes scoutFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 1024px) {
    .scout-auth-layout {
        grid-template-columns: 1fr;
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .scout-hero {
        text-align: center;
        max-width: 520px;
        margin: 0 auto;
    }

    .scout-hero-accent {
        margin-left: auto;
        margin-right: auto;
    }

    .scout-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .scout-hero-feature {
        justify-content: center;
        text-align: left;
    }

    .scout-mlb-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .scout-dash-header {
        padding: 0 16px 0 14px;
    }

    .scout-header-left {
        gap: 12px;
    }

    .scout-header-title {
        font-size: 0.625rem;
        letter-spacing: 0.16em;
    }

    .scout-header-right {
        gap: 12px;
    }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 640px) {
    .scout-header-title {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }

    .scout-header-left {
        gap: 10px;
    }

    .scout-header-divider {
        height: 28px;
    }

    .scout-header-welcome {
        font-size: 0.58rem;
    }

    .scout-header-welcome-name {
        max-width: 22vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .scout-header-team-name {
        font-size: 0.55rem;
    }

    .scout-header-team-logo {
        width: 32px;
        height: 32px;
    }

    .scout-header-team {
        gap: 10px;
    }

    .scout-header-right {
        gap: 10px;
    }

    .scout-dash-header {
        padding: 0 10px 0 10px;
    }

    .scout-exit-btn {
        font-size: 0.55rem;
    }

    .scout-glass-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .scout-hero-title {
        font-size: 2.8rem;
    }

    .scout-mlb-grid {
        grid-template-columns: repeat(5, 1fr);
        max-height: 160px;
    }

    .scout-card-v2-header {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .scout-card-v2-pos {
        grid-column: 2;
        justify-self: start;
        margin-top: -4px;
    }

    .scout-metric-row {
        grid-template-columns: 28px 1fr auto;
        padding: 10px 12px;
    }

    .scout-metric-value {
        font-size: 1.25rem;
    }

    .scout-dashboard-content {
        padding-top: 24px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .scout-header-title {
        font-size: 0.65rem;
    }
}

/* Complete Scouting Report — official elyte prospect (2) composition */
body.scout-app-active #scout-full-report-modal {
    padding: 25px 22px !important;
    background: rgba(1, 3, 5, 0.94) !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-modal {
    width: min(1516px, calc(100vw - 44px)) !important;
    height: calc(100vh - 50px);
    max-width: none !important;
    max-height: 950px !important;
    padding: 0 9px 14px !important;
    border: 1px solid rgba(220, 18, 28, 0.68) !important;
    border-radius: 17px !important;
    background: linear-gradient(116deg, #080c0f 0%, #06090c 58%, #0c080b 100%) !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.88), 0 0 34px rgba(174, 0, 10, 0.08) !important;
    scrollbar-color: #c91a25 rgba(255, 255, 255, 0.035);
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::-webkit-scrollbar {
    width: 7px;
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::-webkit-scrollbar-track {
    margin: 244px 0 12px;
    background: rgba(255, 255, 255, 0.025);
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::-webkit-scrollbar-thumb {
    border: 0;
    border-radius: 999px;
    background: #cf1c27;
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::before {
    height: 242px;
    background:
        linear-gradient(142deg, transparent 58%, rgba(214, 0, 13, 0.38) 58.12%, transparent 58.55%),
        linear-gradient(142deg, transparent 63%, rgba(150, 0, 9, 0.25) 63.12%, transparent 63.7%),
        radial-gradient(ellipse at 80% 52%, rgba(176, 0, 12, 0.18), transparent 27%) !important;
    opacity: 0.92;
}

body.scout-app-active #scout-full-report-modal .scout-report-modal::after {
    background: linear-gradient(110deg, transparent 60%, rgba(165, 0, 11, 0.09)) !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-header {
    min-height: 242px !important;
    margin: 0 !important;
    padding: 32px 48px 20px 36px !important;
    align-items: flex-start !important;
    border: 0 !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-identity {
    display: flex !important;
    align-items: center !important;
    width: min(910px, 68%) !important;
    min-width: 0;
    padding: 0 !important;
    gap: 40px;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar-wrap {
    position: relative !important;
    inset: auto !important;
    z-index: 3 !important;
    width: 194px !important;
    height: 194px !important;
    flex: 0 0 194px;
    overflow: hidden !important;
    border: 2px solid #f01825 !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 50% 36%, #252a2f, #080b0e 72%) !important;
    box-shadow: 0 0 25px rgba(239, 20, 32, 0.42), inset 0 0 22px rgba(0, 0, 0, 0.5) !important;
    filter: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar,
body.scout-app-active #scout-full-report-modal .scout-report-avatar img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    filter: none !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar.is-placeholder {
    display: grid;
    place-items: center;
    color: #d9202c;
    font-size: 4rem;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar-overlay {
    border-radius: 50%;
}

body.scout-app-active #scout-full-report-modal .scout-report-name-block {
    min-width: 0;
    padding-top: 2px;
}

body.scout-app-active #scout-full-report-modal .scout-report-name-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 22px !important;
    white-space: nowrap;
}

body.scout-app-active #scout-full-report-modal .scout-report-header h2 {
    max-width: 520px;
    margin: 0 !important;
    overflow: hidden;
    color: #f7f7f7 !important;
    font-size: clamp(3.15rem, 4vw, 4.05rem) !important;
    line-height: 0.95 !important;
    letter-spacing: 0.035em !important;
    text-overflow: ellipsis;
}

body.scout-app-active #scout-full-report-modal .scout-report-position-stack {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    padding-left: 27px;
    border-left: 2px solid rgba(224, 228, 230, 0.82);
}

body.scout-app-active #scout-full-report-modal .scout-report-pos-badge {
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #f31322 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: 'Bebas Neue', 'Oswald', sans-serif !important;
    font-size: 2rem !important;
    line-height: 0.95 !important;
    letter-spacing: 0.04em !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-position-name {
    color: #d7d7d8;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.035em;
}

body.scout-app-active #scout-full-report-modal .scout-report-subtitle {
    margin: 20px 0 0 !important;
    color: #c4c5c7 !important;
    font-size: 1.23rem !important;
    font-weight: 500;
}

body.scout-app-active #scout-full-report-modal .scout-report-meta {
    width: 326px !important;
    flex: 0 0 326px !important;
    align-items: stretch !important;
    gap: 20px !important;
    padding: 0 0 0 12px !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-updated {
    padding-right: 15px;
    color: #c1c2c4 !important;
    font-size: 0.94rem !important;
    text-align: right;
}

body.scout-app-active #scout-full-report-modal .btn-scout-watch,
body.scout-app-active #scout-full-report-modal #scout-report-edit-toggle {
    min-height: 64px !important;
    font-size: 1.42rem !important;
    letter-spacing: 0.055em !important;
}

body.scout-app-active #scout-full-report-modal .btn-scout-watch {
    width: 218px !important;
    align-self: flex-end !important;
    border: 1px solid #ff1724 !important;
    background: linear-gradient(180deg, #9d080e, #650006) !important;
    box-shadow: 0 0 28px rgba(255, 20, 31, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.scout-app-active #scout-full-report-modal #scout-report-edit-toggle {
    width: 100% !important;
    border: 1px solid #ed1b27 !important;
    border-radius: 10px !important;
    color: #f4f4f4 !important;
    background: linear-gradient(110deg, rgba(19, 23, 27, 0.96), rgba(8, 12, 15, 0.98)) !important;
}

body.scout-app-active #scout-full-report-modal .close-btn {
    top: 16px !important;
    right: 20px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 9px !important;
    color: #f2f2f2 !important;
    font-size: 2rem !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-body {
    position: relative;
    z-index: 2;
}

body.scout-app-active #scout-full-report-modal .scout-report-section {
    margin: 0 0 23px !important;
    padding: 27px 18px 24px !important;
    border: 1px solid rgba(191, 201, 207, 0.16) !important;
    border-radius: 11px !important;
    background: linear-gradient(112deg, rgba(12, 17, 21, 0.985), rgba(7, 11, 14, 0.99)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 14px 28px rgba(0, 0, 0, 0.18) !important;
}

body.scout-app-active #scout-full-report-modal #scout-report-view-mode > .scout-report-section:first-child {
    min-height: 476px;
}

body.scout-app-active #scout-full-report-modal #scout-report-view-mode > .scout-report-section:nth-child(2) {
    min-height: 196px;
    padding: 30px 40px 26px !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-section h3 {
    gap: 28px !important;
    margin: 0 18px 0 !important;
    color: #f0f0f1 !important;
    font-size: 1.75rem !important;
    letter-spacing: 0.055em !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-section h3::after {
    content: '';
    position: absolute;
    left: 69px;
    bottom: -14px;
    width: 42px;
    height: 2px;
    background: #e91825;
}

body.scout-app-active #scout-full-report-modal .scout-report-section h3 i {
    width: 40px !important;
    height: 40px !important;
    border-radius: 5px !important;
    color: #e91a26 !important;
    background: rgba(135, 11, 20, 0.22) !important;
    font-size: 1.55rem !important;
}

body.scout-app-active #scout-full-report-modal #scout-report-view-mode > .scout-report-section:nth-child(2) h3 {
    margin-left: 0 !important;
}

body.scout-app-active #scout-full-report-modal #scout-report-view-mode > .scout-report-section:nth-child(2) h3 i {
    background: transparent !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 15px 23px !important;
    margin-top: 31px;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item {
    min-height: 108px !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    padding: 16px 17px !important;
    border: 1px solid rgba(193, 202, 208, 0.18) !important;
    border-left: 2px solid #ec1724 !important;
    border-radius: 11px !important;
    background: linear-gradient(112deg, rgba(20, 25, 29, 0.98), rgba(10, 14, 17, 0.99)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 8px 18px rgba(0, 0, 0, 0.14) !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item::before {
    width: 68px !important;
    height: 68px !important;
    border: 1px solid rgba(202, 211, 216, 0.17) !important;
    color: #ed1d29 !important;
    background: rgba(11, 15, 18, 0.78) !important;
    font-size: 1.85rem !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item .label {
    margin-bottom: 7px !important;
    color: #c3c5c7 !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.025em !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-info-item .value {
    color: #f6f6f6 !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
}

body.scout-app-active #scout-full-report-modal #scout-report-technical {
    margin: 43px 0 0 !important;
    color: #f1f1f2 !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 500;
    line-height: 1.55 !important;
    letter-spacing: 0.015em;
}

body.scout-app-active #scout-full-report-modal #scout-report-view-mode > .scout-report-section:nth-child(2)::after {
    content: '\f140';
    position: absolute;
    right: 38px;
    bottom: -9px;
    color: rgba(173, 22, 32, 0.12);
    font-family: 'Font Awesome 5 Free';
    font-size: 11rem;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 1100px) {
    body.scout-app-active #scout-full-report-modal .scout-report-header {
        min-height: 0 !important;
        flex-direction: column !important;
        gap: 22px;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-identity,
    body.scout-app-active #scout-full-report-modal .scout-report-meta {
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-meta {
        align-items: flex-start !important;
        padding-left: 0 !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-updated {
        text-align: left;
    }

    body.scout-app-active #scout-full-report-modal .btn-scout-watch {
        align-self: flex-start !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    body.scout-app-active #scout-full-report-modal {
        padding: 8px !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-modal {
        width: 100% !important;
        height: calc(100vh - 16px);
        max-height: none !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-header {
        padding: 24px 16px !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-identity {
        align-items: flex-start !important;
        gap: 18px;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-avatar-wrap {
        width: 92px !important;
        height: 92px !important;
        flex-basis: 92px;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-name-row {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 10px !important;
        white-space: normal;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-position-stack {
        min-height: 0;
        padding: 0;
        border: 0;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-header h2 {
        font-size: clamp(2.25rem, 10vw, 3rem) !important;
    }

    body.scout-app-active #scout-full-report-modal .scout-report-info-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.scout-app-active #scout-full-report-modal #scout-report-view-mode > .scout-report-section:first-child,
    body.scout-app-active #scout-full-report-modal #scout-report-view-mode > .scout-report-section:nth-child(2) {
        min-height: 0;
    }
}

/* Complete report micro-fixes: photo clarity, divider clearance, video state */
body.scout-app-active #scout-full-report-modal .scout-report-avatar-wrap,
body.scout-app-active #scout-full-report-modal .scout-report-avatar,
body.scout-app-active #scout-full-report-modal .scout-report-avatar img {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar-wrap {
    isolation: isolate;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar,
body.scout-app-active #scout-full-report-modal .scout-report-avatar img {
    filter: none !important;
    -webkit-filter: none !important;
}

body.scout-app-active #scout-full-report-modal .scout-report-avatar-overlay {
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
}

body.scout-app-active #scout-full-report-modal #scout-report-tools,
body.scout-app-active #scout-full-report-modal #scout-report-observations,
body.scout-app-active #scout-full-report-modal #scout-report-strengths,
body.scout-app-active #scout-full-report-modal #scout-report-weaknesses {
    margin-top: 40px !important;
}

body.scout-app-active #scout-full-report-modal #scout-report-strengths,
body.scout-app-active #scout-full-report-modal #scout-report-weaknesses {
    padding-top: 0 !important;
}

body.scout-app-active #scout-videos-watch-modal .scout-video-watch-status {
    display: none !important;
}
