/* ============================================================================
   NERDDSPORTS v4 — "CLEAN SCRIM" HERO + FADE-OFF EXCERPTS
   ============================================================================
   Loads AFTER nerddsports_v3.css. Two jobs, nothing else:

   1. HERO — remove the dark text panel that was sitting on top of the
      photo (the "text overlapping the article" look). Type now sits
      directly on a single tall cinematic scrim baked into the card, with
      hard line limits so no story can ever climb up and cover the image.

   2. EXCERPTS — every card excerpt is now a fixed word count (set in PHP,
      excerptWords) clamped to 2 lines that fade off at the bottom instead
      of ending in a chopped "..." — uniform height, uniform rhythm, on the
      hero, the article list, and JS-loaded cards alike.

   Rollback = delete the <link> to this file.
   ============================================================================ */

/* ============================================================
   1. HERO LEAD STORY — one full-width feature, no side cards
   ============================================================ */

/* Single-article hero: the grid is gone, the lead story owns the row. */
.hero { display: block; }
.hero-main { min-height: 460px; }
.hero-main-image { height: 460px; }

/* Kill the legacy dark box + blur behind the text. This is the fix. */
.hero-main-content {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 34px 36px 30px;
}

/* One tall, smooth scrim carries all the readability instead.
   Eased stops (no visible gradient "band") — image stays clean in the
   top half, type zone is anchored at the bottom. */
.hero-main::before {
    background: linear-gradient(
        180deg,
        rgba(6, 10, 15, 0)    0%,
        rgba(6, 10, 15, 0)    36%,
        rgba(6, 10, 15, 0.18) 50%,
        rgba(6, 10, 15, 0.52) 64%,
        rgba(6, 10, 15, 0.82) 80%,
        rgba(6, 10, 15, 0.96) 100%
    ) !important;
}

/* Full-strength photo — the old 0.8 opacity was flattening every image. */
.hero-main-image { opacity: 1 !important; }
.hero-main:hover .hero-main-image { opacity: 1 !important; transform: scale(1.02); }

/* Headline: max 3 lines, balanced ragging, never floods the image. */
.hero-main-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: balance;
    max-width: 26ch;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.04;
    margin-bottom: 12px;
    text-shadow: 0 2px 18px rgba(6, 10, 15, 0.65);
}

/* Excerpt: fixed 2-line block that fades off — no "..." clutter. */
.hero-main-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 64ch;
    font-size: 15px;
    line-height: 1.55;
    color: #D9E0E6;
    margin-bottom: 14px;
    -webkit-mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0.28) 100%);
            mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0.28) 100%);
}

/* Meta: one tidy line, never wraps into a pile under the excerpt. */
.hero-meta {
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
}
.hero-meta span { flex-shrink: 0; }
.hero-meta span:first-child {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   2. ARTICLE LIST — uniform rows: clamped title, fading excerpt
   ============================================================ */
.list-article-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: pretty;
}
.list-article-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
    -webkit-mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0.3) 100%);
            mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0.3) 100%);
}
/* Fixed thumbnail + centered text block = every row the same height. */
.list-article { align-items: center; }

/* ============================================================
   3. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero-main-content { padding: 26px 26px 24px; }
    .hero-main-title { max-width: 100%; }
}

@media (max-width: 768px) {
    .hero-main-content { padding: 18px 18px 16px; }
    .hero-main-title {
        font-size: 24px;
        -webkit-line-clamp: 3;
    }
    /* On phones the photo is short — drop the excerpt entirely so the
       headline owns the card. The story is one tap away. */
    .hero-main-excerpt { display: none; }
    .hero-main::before {
        background: linear-gradient(
            180deg,
            rgba(6, 10, 15, 0)    0%,
            rgba(6, 10, 15, 0)    30%,
            rgba(6, 10, 15, 0.55) 62%,
            rgba(6, 10, 15, 0.96) 100%
        ) !important;
    }
}

/* Respect users who turn motion off. */
@media (prefers-reduced-motion: reduce) {
    .hero-main, .hero-main-image { transition: none !important; }
    .hero-main:hover .hero-main-image { transform: none; }
}

/* ============================================================
   4. LIVE SCOREBOARD — compact ticker, not a billboard
   ============================================================
   Roughly 40% shorter: slimmer header bar, tighter cards, smaller
   digits. Same data, less real estate before the lead story. */
.scoreboard-header-main {
    padding: 8px 16px;
    gap: 12px;
}
.scoreboard-header-main .scoreboard-title h2 { font-size: 16px; }
.scoreboard-header-main .scoreboard-title { gap: 8px; }
.live-pulse { width: 8px; height: 8px; }
.scoreboard-nav { gap: 6px; }
.scoreboard-nav-btn {
    padding: 4px 12px;
    font-size: 12px;
}
.scoreboard-more-link { font-size: 12px; }

#mainScoreboardGames {
    padding: 12px 14px;
    gap: 10px;
}
.score-game-card {
    width: 216px;
    padding: 10px 12px;
    margin-right: 0; /* the flex gap handles spacing */
    border-radius: var(--v3-radius, 6px);
}
.score-game-card.live, .score-game-card.final, .score-game-card.upcoming {
    border-left-width: 3px;
}
.game-card-header { margin-bottom: 8px; font-size: 11px; }
.game-card-status { padding: 2px 8px; font-size: 10px; }
.game-card-teams { gap: 7px; }
.game-card-team-info { gap: 8px; }
.game-card-team-logo { width: 24px; height: 24px; font-size: 10px; }
.game-card-team-logo-img { width: 24px; height: 24px; }
.game-card-team-name { font-size: 13px; }
.game-card-team-record { font-size: 10px; }
.game-card-team-score { font-size: 18px; min-width: 32px; }
.game-card-footer { margin-top: 8px; padding-top: 8px; font-size: 10px; }
.scoreboard-loading { padding: 18px; font-size: 13px; }
.live-scoreboard-section { margin-bottom: 22px; }

@media (max-width: 768px) {
    .scoreboard-header-main { padding: 8px 12px; }
    .scoreboard-more-link { display: none; } /* "All/NFL/..." tabs already link the intent */
    .score-game-card { width: 190px; }
    #mainScoreboardGames { padding: 10px 12px; }
}

/* ============================================================
   5. BREAKING TICKER — slim bar, compact preview screen
   ============================================================
   Back to the optimized desktop banner: original slim height, LIVE
   badge removed, and the compact screen that syncs with the front
   headline (click opens the article). */
.breaking-inner { padding-left: 8px; }

.ticker-screen {
    flex-shrink: 0;
    align-self: center;
    width: 64px;
    height: 36px;               /* fits the slim bar */
    margin: 4px 12px 4px 0;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ticker-screen:hover {
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.5);
}
.ticker-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.16s ease;
}

@media (max-width: 768px) {
    .ticker-screen { width: 50px; height: 30px; margin-right: 9px; }
}

/* ============================================================
   6. MAIN PAGE HEADER — slimmer masthead
   ============================================================
   Same header, less vertical real estate: tighter padding,
   smaller logo lockup, slimmer sports nav. */
.header-main { padding: 8px 20px; }
.logo-icon { width: 36px; height: 36px; }
.logo { gap: 10px; }
.logo-text { font-size: 24px; }
.header-search .search-input { padding-top: 8px; padding-bottom: 8px; }
.sports-nav-link { padding: 9px 16px; font-size: 13px; }

@media (max-width: 768px) {
    .header-main { padding: 7px 14px; }
    .logo-icon { width: 30px; height: 30px; }
    .logo-text { font-size: 20px; }
    .sports-nav-link { padding: 8px 13px; font-size: 12px; }
}

/* ============================================================
   7. GUEST DRAWER — hamburger nav for signed-out visitors
   ============================================================ */
.nsp-guest-tgl {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 10px; margin-left: 10px;
    background: none; border: 1px solid var(--border, #27323F);
    border-radius: 6px; cursor: pointer; flex-shrink: 0;
    transition: border-color 0.15s ease;
}
.nsp-guest-tgl:hover, .nsp-guest-tgl:focus-visible { border-color: var(--accent, #F2A71B); }
.nsp-guest-tgl span {
    display: block; height: 2px; width: 100%; border-radius: 2px;
    background: var(--text-primary, #F4F6F2);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
[data-theme="light"] .nsp-guest-tgl span { background: #0f172a; }
.nsp-guest-tgl[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nsp-guest-tgl[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nsp-guest-tgl[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.guest-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2147483000;
    width: min(320px, 86vw);
    background: var(--bg-secondary, #151C24);
    border-left: 1px solid var(--border, #27323F);
    box-shadow: -18px 0 40px rgba(3, 8, 14, 0.5);
    transform: translateX(102%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
}
.guest-drawer.open { transform: translateX(0); }
.guest-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--border, #27323F);
}
.guest-drawer-head img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.guest-drawer-close {
    width: 38px; height: 38px; background: none; cursor: pointer;
    border: 1px solid var(--border, #27323F); border-radius: 6px;
    color: var(--text-primary, #F4F6F2); font-size: 16px; line-height: 1;
}
.guest-drawer-close:hover { border-color: var(--accent, #F2A71B); }
.guest-drawer-label {
    font-family: var(--v3-mono, monospace); font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted, #7F8C99); padding: 18px 20px 8px;
}
.guest-drawer nav { display: flex; flex-direction: column; padding: 0 10px; }
.guest-drawer nav a {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--v3-display, 'Barlow Condensed', sans-serif);
    text-transform: uppercase; letter-spacing: 0.05em;
    font-weight: 600; font-size: 19px;
    color: var(--text-secondary, #C4CDD6); text-decoration: none;
    padding: 13px 12px; border-radius: 6px;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease;
}
.guest-drawer nav a i { width: 20px; text-align: center; font-size: 15px; color: var(--text-muted, #7F8C99); }
.guest-drawer nav a:hover { background: var(--bg-tertiary, #1D2733); color: var(--text-primary, #F4F6F2); }
.guest-drawer nav a.active {
    color: var(--text-primary, #F4F6F2);
    background: var(--bg-tertiary, #1D2733);
    border-left-color: var(--accent, #F2A71B);
}
.guest-drawer nav a.active i { color: var(--accent, #F2A71B); }
.guest-drawer-foot {
    margin-top: auto; padding: 16px 18px;
    border-top: 1px solid var(--border, #27323F);
}
.guest-drawer-login {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent, #F2A71B); color: #10161C; text-decoration: none;
    font-family: var(--v3-display, 'Barlow Condensed', sans-serif);
    text-transform: uppercase; letter-spacing: 0.05em;
    font-weight: 700; font-size: 17px; padding: 12px; border-radius: 6px;
}
.guest-overlay {
    position: fixed; inset: 0; z-index: 2147482900;
    background: rgba(3, 8, 14, 0.62);
    opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.guest-overlay.open { opacity: 1; pointer-events: auto; }
html.nerdd-drawer-lock, html.nerdd-drawer-lock body { overflow: hidden !important; }
[data-theme="light"] .guest-drawer { background: #ffffff; border-left-color: #e2e8f0; }
[data-theme="light"] .guest-drawer nav a { color: #334155; }
[data-theme="light"] .guest-drawer nav a:hover, [data-theme="light"] .guest-drawer nav a.active { background: #f1f5f9; color: #0f172a; }
@media (prefers-reduced-motion: reduce) {
    .guest-drawer, .guest-overlay, .nsp-guest-tgl span { transition: none !important; }
}

/* ============================================================
   8. AVATAR FIX — kill the baseline gap
   ============================================================
   The avatar img was inline, so it sat on the text baseline and the
   gradient ring peeked through below it (most visible on mobile). */
.user-avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-avatar { display: block; }

/* ============================================================
   9. MY TEAMS STRIP — starred teams' games on the homepage
   ============================================================ */
.myteams-strip {
    max-width: 1400px; margin: 0 auto 18px; padding: 0 20px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.myteams-head {
    font-family: var(--v3-display, 'Barlow Condensed', sans-serif);
    font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
    color: var(--accent, #F2A71B); white-space: nowrap;
}
.myteams-head i { margin-right: 4px; }
.myteams-games { display: flex; gap: 10px; flex-wrap: wrap; }
.mt-chip {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-secondary, #151C24);
    border: 1px solid var(--border, #27323F);
    border-radius: 8px; padding: 7px 12px;
    text-decoration: none; font-size: 13px;
    color: var(--text-secondary, #C4CDD6);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.mt-chip:hover { border-color: var(--accent, #F2A71B); transform: translateY(-1px); }
.mt-chip img { width: 22px; height: 22px; object-fit: contain; }
.mt-team { font-weight: 800; color: var(--text-primary, #F4F6F2); }
.mt-mid b { color: var(--text-primary, #F4F6F2); }
.mt-mid em, .mt-note { font-style: normal; font-size: 11px; color: var(--text-muted, #7F8C99); }
.mt-live { color: #ef4444 !important; font-weight: 800; }
.mt-live-chip { border-color: rgba(239, 68, 68, 0.5); }
.mt-idle { opacity: 0.8; }
@media (max-width: 768px) {
    .myteams-strip { padding: 0 12px; gap: 10px; }
    .mt-chip { padding: 6px 10px; font-size: 12px; }
}

/* ============================================================
   10. ONE-SITE FEEL — unified brand frame on the homepage
   ============================================================
   Homepage now carries the same wordmark, the same red->amber
   signature strip, and section links in the top bar, so moving
   between News and the stat pages feels like one site. */
.header::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, var(--accent, #F2A71B) 45%, transparent 92%);
}
.logo-wordmark {
    height: 44px; width: auto; max-width: min(280px, 46vw);
    object-fit: contain; display: block;
    filter: drop-shadow(0 3px 10px rgba(3, 8, 14, 0.45));
}
.logo-wordmark-link { display: flex; align-items: center; }
.top-bar-sections { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.top-bar-sections a {
    margin-left: 0 !important;
    padding: 2px 9px;
    border-radius: 4px;
    font-family: var(--v3-display, 'Barlow Condensed', sans-serif);
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 13px;
}
.top-bar-sections a:hover { color: var(--accent, #F2A71B) !important; }
.top-bar-sections a.tb-active { color: var(--accent, #F2A71B) !important; }
.tb-sep { width: 1px; height: 14px; background: #334155; margin: 0 8px; }
@media (max-width: 768px) {
    .logo-wordmark { height: 34px; }
    .top-bar-sections a { font-size: 12px; padding: 2px 6px; }
    .tb-sep, .top-bar-sections a[href*="nerddixworld"], .top-bar-sections a[href*="messages"] { display: none; }
}

/* ============================================================
   11. SCOREBOARD GAME MODAL — deep-data blocks
   ============================================================
   Win probability, line score, stat bars, top performers, and
   scoring plays inside the homepage game modal. */
.game-modal-live-data { padding: 0 22px; }
.gm-loading { text-align: center; color: var(--text-muted, #7F8C99); font-size: 13px; padding: 16px 0; }
.gm-block { margin-bottom: 18px; }
.gm-block-title {
    font-family: var(--v3-mono, monospace);
    font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--text-muted, #7F8C99); margin-bottom: 8px;
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.gm-wp-lead { color: var(--accent, #F2A71B); font-size: 12px; }

/* win probability bar */
.gm-wp-bar {
    display: flex; height: 24px; border-radius: 6px; overflow: hidden;
    border: 1px solid var(--border, #27323F); font-size: 11px; font-weight: 800;
}
.gm-wp-away, .gm-wp-home {
    display: flex; align-items: center; padding: 0 8px;
    white-space: nowrap; transition: width 0.4s ease; min-width: 0; overflow: hidden;
}
.gm-wp-away { background: linear-gradient(90deg, #1d4ed8, #3b82f6); color: #fff; }
.gm-wp-home { background: linear-gradient(90deg, #b45309, var(--accent, #F2A71B)); color: #10161C; justify-content: flex-end; }

/* line score */
.gm-linescore { width: 100%; border-collapse: collapse; }
.gm-linescore th, .gm-linescore td { text-align: center; padding: 5px 7px; font-size: 13px; border-bottom: 1px solid var(--border, #27323F); }
.gm-linescore th { color: var(--text-muted, #7F8C99); font-size: 10px; }
.gm-ls-team { text-align: left !important; font-weight: 700; color: var(--text-primary, #F4F6F2); white-space: nowrap; }
.gm-ls-team img { width: 18px; height: 18px; vertical-align: -4px; margin-right: 5px; }
.gm-ls-total { font-weight: 800; color: var(--accent, #F2A71B); }

/* stat comparison bars */
.gm-stat-head span { font-weight: 800; }
.gm-stat-row { padding: 5px 0; }
.gm-stat-nums { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--text-primary, #F4F6F2); }
.gm-stat-label { flex: 1; text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted, #7F8C99); font-weight: 600; }
.gm-stat-win { color: #22c55e; }
.gm-stat-bar { height: 4px; border-radius: 2px; background: var(--accent, #F2A71B); overflow: hidden; margin-top: 4px; }
.gm-stat-bar i { display: block; height: 100%; background: #3b82f6; }

/* top performers */
.gm-perf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .gm-perf-grid { grid-template-columns: 1fr; } }
.gm-perf {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-tertiary, #1D2733); border: 1px solid var(--border, #27323F);
    border-radius: 6px; padding: 8px 10px; cursor: pointer;
    transition: border-color 0.15s ease;
}
.gm-perf:hover { border-color: var(--accent, #F2A71B); }
.gm-perf img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--bg-primary, #0E1319); flex-shrink: 0; }
.gm-perf-info { flex: 1; min-width: 0; }
.gm-perf-info b { display: block; font-size: 12px; color: var(--text-primary, #F4F6F2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-perf-info span { font-size: 9px; color: var(--text-muted, #7F8C99); letter-spacing: 0.06em; }
.gm-perf-val { font-size: 11px; font-weight: 800; color: var(--accent, #F2A71B); white-space: nowrap; }

/* scoring plays */
.gm-play {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; font-size: 12px; color: var(--text-secondary, #C4CDD6);
    border-bottom: 1px solid var(--border, #27323F);
}
.gm-play:last-child { border-bottom: none; }
.gm-play img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.gm-play-txt { flex: 1; min-width: 0; }
.gm-play-score { font-weight: 800; color: var(--text-primary, #F4F6F2); white-space: nowrap; }

/* ============================================================
   12. GAME MODAL SIZING FIX — always closable, scrolls inside
   ============================================================ */
.game-modal-overlay {
    padding: 24px 14px !important;
    align-items: flex-start !important;   /* never clip the top (where the X lives) */
    overflow-y: auto;
}
.game-modal {
    max-height: calc(100vh - 48px);
    overflow-y: auto !important;          /* content scrolls inside the card */
    overscroll-behavior: contain;
    margin: auto 0;
}
@media (max-width: 600px) {
    .game-modal-overlay { padding: 12px 8px !important; }
    .game-modal { max-height: calc(100vh - 24px); border-radius: 14px; }
}

/* homepage brand text next to the wordmark */
.logo-brand-text {
    font-family: var(--v3-display, 'Barlow Condensed', sans-serif);
    font-weight: 700; font-size: 26px; line-height: 1;
    text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--text-primary, #F4F6F2);
    margin-left: 10px; white-space: nowrap;
}
.logo-brand-text span { color: var(--accent, #F2A71B); }
@media (max-width: 768px) {
    .logo-brand-text { font-size: 20px; margin-left: 7px; }
    .logo-wordmark { max-width: 34vw; }
}

/* news page: hamburger stays in its classic top-right corner, framed or not */

/* ============================================================
   13. PROFILE MENU — quick-links grid + polish
   ============================================================ */
.dropdown-section-label {
    font-family: var(--v3-mono, monospace);
    font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted, #7F8C99); padding: 8px 16px 4px;
}
.dropdown-quick-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 6px; padding: 4px 12px 12px;
}
.dqg-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 10px 4px; border-radius: 8px; text-decoration: none;
    background: var(--bg-tertiary, #1D2733); border: 1px solid var(--border, #27323F);
    color: var(--text-secondary, #C4CDD6); font-size: 10.5px; font-weight: 600;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.dqg-item i { font-size: 15px; color: var(--accent, #F2A71B); }
.dqg-item:hover { border-color: var(--accent, #F2A71B); color: var(--text-primary, #F4F6F2); transform: translateY(-1px); }
.dqg-new { position: relative; }
.dqg-new::after {
    content: 'NEW'; position: absolute; top: 4px; right: 4px;
    font-size: 7px; font-weight: 800; letter-spacing: 0.08em;
    background: #dc2626; color: #fff; border-radius: 3px; padding: 1px 4px;
}
[data-theme="light"] .dqg-item { background: #f1f5f9; border-color: #e2e8f0; color: #334155; }
[data-theme="light"] .dqg-item:hover { color: #0f172a; }

/* ============================================================
   13. PROFILE MENU POLISH — broadcast-grade dropdown
   ============================================================ */
.profile-dropdown {
    width: 292px !important;
    border-radius: 12px !important;
    border-top: 3px solid var(--accent, #F2A71B) !important;
    box-shadow: 0 16px 48px rgba(3, 8, 14, 0.55) !important;
}
.dropdown-header {
    background: linear-gradient(135deg, rgba(242, 167, 27, 0.10), transparent 65%);
    padding: 14px 16px !important;
}
.dropdown-header img {
    border: 2px solid var(--accent, #F2A71B);
    border-radius: 50%;
}
.dropdown-header strong {
    font-family: var(--v3-display, 'Barlow Condensed', sans-serif);
    font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase;
}
.dropdown-section-label {
    font-family: var(--v3-mono, monospace);
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted, #7F8C99);
    padding: 10px 16px 4px;
}
.dropdown-item { transition: background 0.12s ease, padding-left 0.12s ease !important; }
.dropdown-item:hover { padding-left: 20px !important; }
.dropdown-item:hover i { color: var(--accent, #F2A71B) !important; }
.dropdown-quick-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
    padding: 8px 12px 10px;
}
.dqg-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 9px 4px; border-radius: 8px; text-decoration: none;
    background: var(--bg-secondary, #151C24);
    border: 1px solid var(--border, #27323F);
    color: var(--text-secondary, #C4CDD6);
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    transition: border-color 0.12s ease, transform 0.12s ease;
}
.dqg-item i { font-size: 15px; color: var(--accent, #F2A71B); }
.dqg-item:hover { border-color: var(--accent, #F2A71B); transform: translateY(-1px); color: var(--text-primary, #F4F6F2); }
[data-theme="light"] .dqg-item { background: #f8fafc; border-color: #e2e8f0; color: #334155; }
.dqg-myteams { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 16px 2px; }
.dqg-team {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(242, 167, 27, 0.10);
    border: 1px solid var(--accent, #F2A71B);
    border-radius: 20px; padding: 4px 10px 4px 5px;
    font-size: 11px; font-weight: 800; color: var(--text-primary, #F4F6F2);
    text-decoration: none;
}
.dqg-team img { width: 18px; height: 18px; object-fit: contain; }
[data-theme="light"] .dqg-team { color: #0f172a; }
