/* ---------------------------------------------------------
           EDIT ATHLETE CANCEL BUTTON
        --------------------------------------------------------- */

        .edit-cancel-button,
        a.edit-cancel-button,
        .profile-form-actions .cancel-button,
        .profile-form-actions a.cancel-button,
        .form-actions .cancel-button,
        .form-actions a.cancel-button {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;

            min-height: 44px;

            padding: 10px 18px !important;

            border: 1px solid #cfd8d1 !important;
            border-radius: 10px !important;

            background: #ffffff !important;

            color: #294333 !important;

            text-decoration: none !important;

            font-size: 13px !important;
            font-weight: 800 !important;

            cursor: pointer;

            transition: 0.2s ease;
        }


        .edit-cancel-button:hover,
        a.edit-cancel-button:hover,
        .profile-form-actions .cancel-button:hover,
        .profile-form-actions a.cancel-button:hover,
        .form-actions .cancel-button:hover,
        .form-actions a.cancel-button:hover {
            background: #f2f7f3 !important;

            border-color: #8eb49a !important;

            color: #145224 !important;

            transform: translateY(-1px);
        }


        /* ---------------------------------------------------------
           REGISTER ROLE CARDS
        --------------------------------------------------------- */

        .role-option {
            position: relative;

            display: flex;
            align-items: center;

            min-height: 54px;

            padding: 0 !important;

            overflow: hidden;

            cursor: pointer;
        }


        .role-option input[type="radio"] {
            position: absolute;

            left: 16px;
            top: 50%;

            transform: translateY(-50%);

            z-index: 2;

            pointer-events: none;
        }


        .role-option label {
            display: flex;
            align-items: center;

            width: 100%;
            min-height: 54px;

            box-sizing: border-box;

            margin: 0 !important;

            padding: 15px 16px 15px 44px !important;

            cursor: pointer;
        }


        .role-option:hover {
            border-color: #86efac;

            background: #f0fdf4;
        }


        .role-option:has(input[type="radio"]:checked) {
            border-color: #145224;

            background: #f0fdf4;

            box-shadow:
                0 0 0 2px
                rgba(20, 82, 36, 0.08);
        }


        /* ---------------------------------------------------------
           HOMEPAGE JOIN PLATFORM
        --------------------------------------------------------- */

        .hero-content .primary-button {
            position: relative;

            z-index: 10;

            pointer-events: auto;
        }


        .hero-content .primary-button::before,
        .hero-content .primary-button::after {
            pointer-events: none;
        }


        /* ---------------------------------------------------------
           GENDER + WEIGHT
        --------------------------------------------------------- */

        .profile-extra-field-row {
            display: grid;

            grid-template-columns:
                repeat(
                    2,
                    minmax(0, 1fr)
                );

            gap: 14px;

            margin-bottom: 16px;
        }


        .profile-extra-field-row .form-group {
            margin-bottom: 0;
        }


        /* ---------------------------------------------------------
           LEGAL CONSENT
        --------------------------------------------------------- */

        .legal-consent-box {
            display: flex;
            align-items: flex-start;

            gap: 10px;

            margin: 16px 0;

            padding: 12px 14px;

            border: 1px solid #dce6de;
            border-radius: 10px;

            background: #f8fbf9;

            font-size: 12px;
            line-height: 1.5;
        }


        .legal-consent-box input {
            width: auto !important;

            margin-top: 3px;

            flex: 0 0 auto;
        }


        .legal-consent-box a {
            color: #145224;

            font-weight: 800;
        }


        /* ---------------------------------------------------------
           FOOTER
        --------------------------------------------------------- */

        .sports-legal-footer {
            margin-top: 40px;

            padding: 20px 16px;

            border-top: 1px solid #e2e8e3;

            text-align: center;

            color: #6b776f;

            font-size: 12px;
            line-height: 1.7;
        }


        .sports-legal-footer a {
            color: #145224;

            text-decoration: none;

            font-weight: 800;

            margin: 0 7px;
        }


        .sports-legal-footer a:hover {
            text-decoration: underline;
        }


        /* ---------------------------------------------------------
           ABOUT / STORY PAGE
        --------------------------------------------------------- */

        .about-profile-page {
            width:
                min(
                    1050px,
                    calc(100% - 32px)
                );

            margin:
                32px auto 60px;
        }


        .about-profile-grid {
            display: grid;

            grid-template-columns:
                minmax(0, 1.1fr)
                minmax(300px, 0.9fr);

            gap: 18px;
        }


        .about-profile-card {
            padding: 22px;

            border: 1px solid #dfe7e1;
            border-radius: 16px;

            background: #ffffff;

            box-shadow:
                0 8px 24px
                rgba(20, 82, 36, 0.06);
        }


        .about-profile-card h1,
        .about-profile-card h2,
        .about-profile-card h3 {
            color: #145224;
        }


        .about-profile-card textarea,
        .about-profile-card input,
        .about-profile-card select {
            width: 100%;

            box-sizing: border-box;
        }


        /* ---------------------------------------------------------
           CERTIFICATES
        --------------------------------------------------------- */

        .certificate-list {
            display: grid;

            grid-template-columns:
                repeat(
                    2,
                    minmax(0, 1fr)
                );

            gap: 12px;

            margin-top: 14px;
        }


        .certificate-card {
            overflow: hidden;

            border: 1px solid #dfe7e1;
            border-radius: 12px;

            background: #ffffff;
        }


        .certificate-card img {
            display: block;

            width: 100%;
            height: 170px;

            object-fit: cover;

            background: #f3f6f4;
        }


        .certificate-card-body {
            padding: 10px 12px;
        }


        .certificate-card-body h4 {
            margin: 0 0 4px;

            color: #145224;

            font-size: 13px;
        }


        .certificate-card-body p {
            margin: 2px 0;

            color: #6b776f;

            font-size: 11px;
        }


        .certificate-card-actions {
            margin-top: 8px;
        }


        .certificate-delete-button {
            padding: 6px 9px;

            border: 1px solid #fecaca;
            border-radius: 7px;

            background: #fff1f2;

            color: #b91c1c;

            cursor: pointer;

            font-size: 10px;
            font-weight: 800;
        }


        /* ---------------------------------------------------------
           STORY PREVIEW
        --------------------------------------------------------- */

        .about-preview-box {
            margin-top: 12px;

            padding: 12px;

            border: 1px solid #e2e8e3;
            border-radius: 10px;

            background: #fafcfb;
        }


        .about-preview-box p {
            white-space: pre-wrap;
        }


        /* ---------------------------------------------------------
           ATHLETE PHYSICAL INFO
        --------------------------------------------------------- */

        .profile-physical-strip {
            display: flex;
            flex-wrap: wrap;

            gap: 8px;

            margin: 10px 0;
        }


        .profile-physical-chip {
            padding: 6px 9px;

            border-radius: 999px;

            background: #f0fdf4;

            border: 1px solid #bbf7d0;

            color: #166534;

            font-size: 11px;
            font-weight: 800;
        }


        /* ---------------------------------------------------------
           ATHLETE MODERATION STATUS
        --------------------------------------------------------- */

        .athlete-moderation-notice {
            width:
                min(
                    1000px,
                    calc(100% - 32px)
                );

            box-sizing: border-box;

            margin:
                18px auto;

            padding:
                16px 18px;

            border:
                1px solid transparent;

            border-radius:
                14px;

            line-height:
                1.55;
        }


        .athlete-moderation-notice strong {
            display: block;

            margin-bottom:
                4px;

            font-size:
                14px;

            font-weight:
                900;
        }


        .athlete-moderation-notice p {
            margin:
                4px 0 0;

            font-size:
                12px;
        }


        .athlete-moderation-notice.pending {
            border-color:
                #fde68a;

            background:
                #fffbeb;

            color:
                #854d0e;
        }


        .athlete-moderation-notice.approved {
            border-color:
                #bbf7d0;

            background:
                #f0fdf4;

            color:
                #166534;
        }


        .athlete-moderation-notice.rejected {
            border-color:
                #fecaca;

            background:
                #fff1f2;

            color:
                #991b1b;
        }


        .athlete-moderation-notice.pending-edit {
            border-color:
                #bfdbfe;

            background:
                #eff6ff;

            color:
                #1e40af;
        }


        .moderation-reason {
            margin-top:
                10px !important;

            padding-top:
                10px;

            border-top:
                1px solid
                rgba(
                    153,
                    27,
                    27,
                    0.15
                );
        }


        /* ---------------------------------------------------------
           MODERATION BADGES
        --------------------------------------------------------- */

        .approval-badge {
            display:
                inline-flex;

            align-items:
                center;

            justify-content:
                center;

            min-height:
                26px;

            padding:
                4px 10px;

            border:
                1px solid transparent;

            border-radius:
                999px;

            font-size:
                10px;

            font-weight:
                900;

            line-height:
                1;

            text-transform:
                uppercase;

            letter-spacing:
                0.04em;
        }


        .approval-badge.pending {
            border-color:
                #fde68a;

            background:
                #fffbeb;

            color:
                #854d0e;
        }


        .approval-badge.approved {
            border-color:
                #bbf7d0;

            background:
                #f0fdf4;

            color:
                #166534;
        }


        .approval-badge.rejected {
            border-color:
                #fecaca;

            background:
                #fff1f2;

            color:
                #991b1b;
        }


        .approval-badge.pending-edit {
            border-color:
                #bfdbfe;

            background:
                #eff6ff;

            color:
                #1e40af;
        }


        /* ---------------------------------------------------------
           ADMIN ATHLETE MODERATION
        --------------------------------------------------------- */

        .admin-athlete-status-row {
            display:
                flex;

            flex-wrap:
                wrap;

            align-items:
                center;

            gap:
                8px;

            margin-top:
                8px;
        }


        .admin-athlete-review-box {
            margin-top:
                14px;

            padding:
                14px;

            border:
                1px solid #dfe7e1;

            border-radius:
                12px;

            background:
                #f8fbf9;
        }


        .admin-athlete-review-box h4 {
            margin:
                0 0 10px;

            color:
                #145224;

            font-size:
                13px;
        }


        .admin-athlete-review-actions {
            display:
                flex;

            flex-wrap:
                wrap;

            gap:
                8px;

            margin-top:
                12px;
        }


        .admin-athlete-approve-button,
        .admin-athlete-reject-button {
            min-height:
                36px;

            padding:
                8px 13px;

            border-radius:
                8px;

            cursor:
                pointer;

            font-size:
                11px;

            font-weight:
                900;

            transition:
                0.2s ease;
        }


        .admin-athlete-approve-button {
            border:
                1px solid #16a34a;

            background:
                #166534;

            color:
                #ffffff;
        }


        .admin-athlete-approve-button:hover {
            background:
                #14532d;

            transform:
                translateY(-1px);
        }


        .admin-athlete-reject-button {
            border:
                1px solid #ef4444;

            background:
                #ffffff;

            color:
                #b91c1c;
        }


        .admin-athlete-reject-button:hover {
            background:
                #fff1f2;

            transform:
                translateY(-1px);
        }


        .admin-athlete-approve-button:disabled,
        .admin-athlete-reject-button:disabled {
            opacity:
                0.55;

            cursor:
                not-allowed;

            transform:
                none;
        }


        .admin-athlete-rejection-input {
            width:
                100%;

            box-sizing:
                border-box;

            min-height:
                82px;

            margin-top:
                10px;

            padding:
                10px 12px;

            border:
                1px solid #d1d5db;

            border-radius:
                8px;

            resize:
                vertical;

            font:
                inherit;
        }


        .admin-athlete-rejection-input:focus {
            outline:
                none;

            border-color:
                #145224;

            box-shadow:
                0 0 0 3px
                rgba(
                    20,
                    82,
                    36,
                    0.08
                );
        }


        .admin-pending-submission-grid {
            display:
                grid;

            grid-template-columns:
                repeat(
                    2,
                    minmax(0, 1fr)
                );

            gap:
                8px 14px;

            margin-top:
                10px;
        }


        .admin-pending-submission-field {
            padding:
                8px 10px;

            border:
                1px solid #e5e7eb;

            border-radius:
                8px;

            background:
                #ffffff;
        }


        .admin-pending-submission-field span {
            display:
                block;

            margin-bottom:
                3px;

            color:
                #6b7280;

            font-size:
                9px;

            font-weight:
                800;

            text-transform:
                uppercase;
        }


        .admin-pending-submission-field strong {
            color:
                #1f2937;

            font-size:
                11px;
        }


        /* ---------------------------------------------------------
           COACH EXTRA FILTERS
        --------------------------------------------------------- */

        .runtime-filter-row {
            display:
                grid;

            grid-template-columns:
                repeat(
                    3,
                    minmax(0, 1fr)
                );

            gap:
                10px;

            margin:
                10px 0 14px;
        }


        /* ---------------------------------------------------------
           RESPONSIVE
        --------------------------------------------------------- */

        @media (
            max-width:
                800px
        ) {

            .about-profile-grid,
            .profile-extra-field-row,
            .runtime-filter-row,
            .admin-pending-submission-grid {
                grid-template-columns:
                    1fr;
            }


            .certificate-list {
                grid-template-columns:
                    1fr;
            }


            .admin-athlete-review-actions {
                flex-direction:
                    column;
            }


            .admin-athlete-approve-button,
            .admin-athlete-reject-button {
                width:
                    100%;
            }

        }

        /* ---------------------------------------------------------
           TALENTTRACK DARK THEME — FINAL RUNTIME OVERRIDES
           These rules intentionally come last so runtime CSS never
           re-introduces white cards over the main TalentTrack theme.
        --------------------------------------------------------- */

        .edit-cancel-button,
        a.edit-cancel-button,
        .profile-form-actions .cancel-button,
        .profile-form-actions a.cancel-button,
        .form-actions .cancel-button,
        .form-actions a.cancel-button {
            background: var(--tt-surface, #102c1b) !important;
            border-color: var(--tt-line, #315f40) !important;
            color: var(--tt-ink, #eaffef) !important;
        }

        .edit-cancel-button:hover,
        a.edit-cancel-button:hover,
        .profile-form-actions .cancel-button:hover,
        .profile-form-actions a.cancel-button:hover,
        .form-actions .cancel-button:hover,
        .form-actions a.cancel-button:hover {
            background: var(--tt-success-bg, #173b24) !important;
            border-color: var(--tt-primary, #65d77a) !important;
            color: var(--tt-success, #b9ffbd) !important;
        }

        .role-option:hover,
        .role-option:has(input[type="radio"]:checked),
        .legal-consent-box,
        .about-profile-card,
        .certificate-card,
        .about-preview-box,
        .admin-pending-submission-field {
            background: var(--tt-surface, #102c1b) !important;
            border-color: var(--tt-line, #315f40) !important;
            color: var(--tt-ink, #eaffef) !important;
        }

        .legal-consent-box a,
        .sports-legal-footer a,
        .about-profile-card h1,
        .about-profile-card h2,
        .about-profile-card h3,
        .admin-pending-submission-field strong {
            color: var(--tt-success, #b9ffbd) !important;
        }

        .sports-legal-footer,
        .admin-pending-submission-field span {
            color: var(--tt-muted, #a8b9ad) !important;
        }

        .profile-physical-chip {
            background: var(--tt-success-bg, #173b24) !important;
            border-color: var(--tt-line, #315f40) !important;
            color: var(--tt-success, #b9ffbd) !important;
        }

        .athlete-moderation-notice.pending {
            background: var(--tt-warning-bg, #332b12) !important;
            border-color: var(--tt-warning-line, #8a7428) !important;
            color: var(--tt-warning, #ffe58a) !important;
        }

        .athlete-moderation-notice.approved {
            background: var(--tt-surface, #102c1b) !important;
            border-color: var(--tt-success-line, #2f7d45) !important;
            color: var(--tt-success, #b9ffbd) !important;
        }

        .athlete-moderation-notice.rejected {
            background: var(--tt-error-bg, #351719) !important;
            border-color: var(--tt-error-line, #8b3539) !important;
            color: var(--tt-error, #ffc7ca) !important;
        }

        .athlete-moderation-notice.pending-edit {
            background: var(--tt-info-bg, #14253a) !important;
            border-color: var(--tt-info-line, #315d8b) !important;
            color: var(--tt-info, #c5ddff) !important;
        }

        .admin-athlete-reject-button {
            background: var(--tt-error-bg, #351719) !important;
            border-color: var(--tt-error-line, #8b3539) !important;
            color: var(--tt-error, #ffc7ca) !important;
        }

        .admin-athlete-reject-button:hover {
            background: var(--tt-error-bg, #4a1d20) !important;
        }

        .admin-athlete-rejection-input {
            background: var(--tt-inset, #0b2115) !important;
            border-color: var(--tt-line, #315f40) !important;
            color: var(--tt-ink, #eaffef) !important;
        }


        /* ---------------------------------------------------------
           COACH DISCOVERY VISUAL DASHBOARD
        --------------------------------------------------------- */

        .discovery-visual-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
            margin: 18px 0 22px;
        }

        .discovery-visual-card {
            min-width: 0;
            min-height: 238px;
            padding: 16px;
            border: 1px solid var(--tt-line, #315f40);
            border-radius: 16px;
            background:
                linear-gradient(
                    145deg,
                    var(--tt-surface, #102c1b) 0%,
                    var(--tt-inset, #0b2115) 100%
                );
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
            overflow: hidden;
        }

        .discovery-visual-title {
            display: block;
            margin-bottom: 3px;
            color: var(--tt-ink, #eaffef) !important;
            font-size: 13px;
            font-weight: 900;
        }

        .discovery-visual-subtitle {
            display: block;
            min-height: 32px;
            margin-bottom: 12px;
            color: var(--tt-muted, #91aa99);
            font-size: 10px;
            font-weight: 700;
            line-height: 1.45;
        }

        /* GRAPH 1 — TOTAL DISCOVERY SCORE */

        .discovery-score-donut {
            --score-angle: calc(var(--discovery-score) * 3.6deg);
            position: relative;
            width: 132px;
            aspect-ratio: 1;
            margin: 8px auto 12px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: conic-gradient(
                var(--tt-primary, #65d77a) 0deg var(--score-angle),
                var(--tt-line, #244331) var(--score-angle) 360deg
            );
            box-shadow:
                0 12px 30px rgba(0, 0, 0, 0.22),
                0 0 24px rgba(101, 215, 122, 0.08);
        }

        .discovery-score-donut::before {
            content: "";
            position: absolute;
            inset: 13px;
            border-radius: 50%;
            background: var(--tt-surface, #102c1b);
            border: 1px solid var(--tt-line, #315f40);
        }

        .discovery-score-donut-center {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        .discovery-score-donut-center strong {
            color: var(--tt-ink, #eaffef) !important;
            font-size: 32px;
            font-weight: 900;
        }

        .discovery-score-donut-center span {
            margin-top: 5px;
            color: var(--tt-muted, #9fb3a5);
            font-size: 11px;
            font-weight: 800;
        }

        .discovery-donut-level {
            display: block;
            text-align: center;
            color: var(--tt-success, #b9ffbd);
            font-size: 11px;
            font-weight: 900;
        }

        /* GRAPH 2 — SCORE COMPOSITION DONUT */

        .discovery-composition-donut {
            --validation-end: calc(var(--validation-share) * 3.6deg);
            --competition-end: calc((var(--validation-share) + var(--competition-share)) * 3.6deg);
            --evidence-end: calc((var(--validation-share) + var(--competition-share) + var(--evidence-share)) * 3.6deg);

            position: relative;
            width: 142px;
            aspect-ratio: 1;
            margin: 7px auto 13px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background:
                conic-gradient(
                    #a78bfa 0deg var(--validation-end),
                    #38bdf8 var(--validation-end) var(--competition-end),
                    #c9f23b var(--competition-end) var(--evidence-end),
                    #fb923c var(--evidence-end) 360deg
                );
            box-shadow:
                0 14px 34px rgba(0, 0, 0, 0.35),
                0 0 24px rgba(201, 242, 59, 0.12),
                inset 0 0 16px rgba(0, 0, 0, 0.4);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .discovery-composition-donut:hover {
            transform: scale(1.02);
            box-shadow:
                0 18px 40px rgba(0, 0, 0, 0.45),
                0 0 32px rgba(201, 242, 59, 0.2);
        }

        .discovery-composition-donut::before {
            content: "";
            position: absolute;
            inset: 24px;
            border-radius: 50%;
            background: radial-gradient(circle at 50% 40%, #153722 0%, #0c2014 100%);
            border: 1px solid rgba(201, 242, 59, 0.25);
            box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
        }

        .discovery-composition-center {
            position: relative;
            z-index: 1;
            display: grid;
            place-items: center;
            text-align: center;
        }

        .discovery-composition-center strong {
            color: #ffffff !important;
            font-size: 24px;
            font-weight: 900;
            line-height: 1;
            letter-spacing: -0.02em;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        }

        .discovery-composition-center span {
            margin-top: 4px;
            color: #a4beaf;
            font-size: 8.5px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .discovery-composition-legend {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 7px 8px;
        }

        .discovery-composition-item {
            display: grid;
            grid-template-columns: 8px minmax(0, 1fr) auto;
            align-items: center;
            gap: 6px;
            min-width: 0;
            color: #b7cebf;
            font-size: 9px;
            font-weight: 800;
            padding: 5px 8px;
            background: rgba(8, 26, 17, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 8px;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .discovery-composition-item:hover {
            background: rgba(16, 42, 28, 0.75);
            border-color: rgba(201, 242, 59, 0.2);
        }

        .discovery-composition-item i {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .discovery-composition-item strong {
            color: #ffffff !important;
            font-size: 10px;
            font-weight: 900;
        }

        .discovery-composition-item.evidence i {
            background: #c9f23b !important;
            box-shadow: 0 0 10px rgba(201, 242, 59, 0.65) !important;
        }

        .discovery-composition-item.competition i {
            background: #38bdf8 !important;
            box-shadow: 0 0 10px rgba(56, 189, 248, 0.65) !important;
        }

        .discovery-composition-item.profile i {
            background: #fb923c !important;
            box-shadow: 0 0 10px rgba(251, 146, 60, 0.65) !important;
        }

        .discovery-composition-item.validation i {
            background: #a78bfa !important;
            box-shadow: 0 0 10px rgba(167, 139, 250, 0.65) !important;
        }

        .tt-score-bonus-pill {
            display: inline-block;
            margin-left: 6px;
            padding: 1px 7px;
            font-size: 9.5px;
            font-weight: 750;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #c4b5fd;
            background: rgba(167, 139, 250, 0.15);
            border: 1px solid rgba(167, 139, 250, 0.35);
            border-radius: 999px;
            vertical-align: middle;
        }

        /* GRAPH 3 — NEXT LEVEL PATH */

        .discovery-level-ladder {
            position: relative;
            height: 142px;
            margin: 6px 10px 12px 14px;
        }

        .discovery-level-track {
            position: absolute;
            left: 18px;
            top: 6px;
            bottom: 6px;
            width: 8px;
            border-radius: 999px;
            background:
                linear-gradient(
                    to top,
                    var(--tt-line, #244331) 0%,
                    var(--tt-line, #315f40) 100%
                );
            overflow: hidden;
        }

        .discovery-level-fill {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: var(--ladder-score);
            border-radius: 999px;
            background:
                linear-gradient(
                    to top,
                    var(--tt-primary, #65d77a),
                    #d7ff7a
                );
            box-shadow: 0 0 14px rgba(101, 215, 122, 0.35);
        }

        .discovery-level-marker {
            position: absolute;
            left: 12px;
            bottom: calc(var(--ladder-score) - 7px);
            width: 20px;
            height: 20px;
            border: 4px solid var(--tt-inset, #0b2115);
            border-radius: 50%;
            background: var(--tt-ink, #eaffef);
            box-shadow: 0 0 0 2px var(--tt-primary, #65d77a);
            z-index: 3;
        }

        .discovery-ladder-step {
            position: absolute;
            left: 42px;
            right: 0;
            bottom: var(--step);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            transform: translateY(50%);
            color: var(--tt-muted, #91aa99);
            font-size: 9px;
            font-weight: 800;
        }

        .discovery-ladder-step::before {
            content: "";
            position: absolute;
            left: -14px;
            width: 9px;
            height: 1px;
            background: var(--tt-line, #315f40);
        }

        main.two-column-page > #page-pending-changes,
        main.two-column-page > #athlete-moderation-notice {
            grid-column: 1 / -1;
            width: 100%;
            max-width: none;
            margin-inline: 0;
            min-width: 0;
            box-sizing: border-box;
        }

        .discovery-ladder-step strong {
            color: var(--tt-muted, #c9d8ce) !important;
            font-size: 9px;
        }

        .discovery-next-target {
            padding: 9px 10px;
            border: 1px solid var(--tt-line, #315f40);
            border-radius: 10px;
            background: rgba(101, 215, 122, 0.05);
            text-align: center;
        }

        .discovery-next-target strong {
            display: block;
            color: var(--tt-success, #b9ffbd) !important;
            font-size: 12px;
            font-weight: 900;
        }

        .discovery-next-target span {
            display: block;
            margin-top: 3px;
            color: var(--tt-muted, #9fb3a5);
            font-size: 9px;
            font-weight: 700;
        }

        @media (max-width: 900px) {
            .discovery-visual-grid {
                grid-template-columns: 1fr;
            }

            .discovery-visual-card {
                min-height: 0;
            }
        }

        @media (min-width: 621px) and (max-width: 900px) {
            .discovery-visual-card {
                max-width: 520px;
                width: 100%;
                margin-inline: auto;
            }
        }

        /* ---------------------------------------------------------
           PERFORMANCE & YOUTUBE VIDEO BOXES
        --------------------------------------------------------- */

        .video-box {
            position: relative;
            margin-top: 14px;
            padding: 16px 18px;
            border-radius: 14px;
            transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .video-box-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 6px;
        }

        .video-channel-pill {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2.5px 9.5px;
            font-size: 10.5px;
            font-weight: 850;
            letter-spacing: 0.03em;
            color: #ff5252;
            background: rgba(239, 68, 68, 0.12);
            border: 1px solid rgba(239, 68, 68, 0.38);
            border-radius: 999px;
            line-height: 1.3;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .video-clip-pill {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2.5px 9.5px;
            font-size: 10.5px;
            font-weight: 850;
            letter-spacing: 0.03em;
            color: #34d399;
            background: rgba(52, 211, 153, 0.10);
            border: 1px solid rgba(52, 211, 153, 0.30);
            border-radius: 999px;
            line-height: 1.3;
            white-space: nowrap;
            flex-shrink: 0;
        }

        /* Regular Performance Video (Subtle Emerald Glass & Radial Glow) */
        .video-box.video-box-regular,
        .video-box:not(.video-box-channel) {
            border: 1px solid rgba(52, 211, 153, 0.28) !important;
            background:
                radial-gradient(
                    circle at 100% 0%,
                    rgba(52, 211, 153, 0.12),
                    transparent 48%
                ),
                rgba(10, 28, 22, 0.42) !important;
            box-shadow:
                0 4px 18px rgba(0, 0, 0, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
        }

        .video-box.video-box-regular:hover,
        .video-box:not(.video-box-channel):hover {
            border-color: rgba(52, 211, 153, 0.48) !important;
            box-shadow:
                0 8px 26px rgba(0, 0, 0, 0.30),
                0 0 18px rgba(52, 211, 153, 0.10) !important;
            transform: translateY(-1px);
        }

        .video-box.video-box-regular strong,
        .video-box:not(.video-box-channel) strong {
            color: #ffffff !important;
            font-size: 15px;
            font-weight: 700;
        }

        .video-box.video-box-regular .text-link,
        .video-box:not(.video-box-channel) .text-link {
            color: #6ee7b7 !important;
            font-weight: 700;
            font-size: 13.5px;
            text-decoration: none;
            transition: color 0.15s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            width: fit-content;
        }

        .video-box.video-box-regular .text-link:hover,
        .video-box:not(.video-box-channel) .text-link:hover {
            color: #a7f3d0 !important;
            text-decoration: underline;
        }

        /* YouTube Channel Card (Vibrant Red Accent) */
        .video-box.video-box-channel {
            border: 1px solid rgba(239, 68, 68, 0.42) !important;
            background:
                radial-gradient(
                    circle at 100% 0%,
                    rgba(239, 68, 68, 0.14),
                    transparent 45%
                ),
                rgba(35, 10, 10, 0.35) !important;
            box-shadow:
                0 4px 18px rgba(0, 0, 0, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
        }

        .video-box.video-box-channel:hover {
            border-color: rgba(239, 68, 68, 0.62) !important;
            box-shadow:
                0 8px 26px rgba(0, 0, 0, 0.30),
                0 0 18px rgba(239, 68, 68, 0.12) !important;
            transform: translateY(-1px);
        }

        .video-box.video-box-channel strong {
            color: #ffffff !important;
            font-size: 15px;
            font-weight: 700;
        }

        .video-box.video-box-channel .text-link {
            color: #ff7878 !important;
            font-weight: 700;
            font-size: 13.5px;
            text-decoration: none;
            transition: color 0.15s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            width: fit-content;
        }

        .video-box.video-box-channel .text-link:hover {
            color: #fca5a5 !important;
            text-decoration: underline;
        }


