/* =========================================================
   DIGITAL DEN – NFL NEWS
   Vollständig bereinigte Stylesheet-Version
   ========================================================= */


/* =========================================================
   1. THEME / BASIS
   ========================================================= */

:root {
    --nfl-primary: #013369;
    --nfl-accent: #d50a0a;

    --nfl-text: #f7f8fb;
    --nfl-text-soft: rgba(247, 248, 251, 0.76);
    --nfl-text-muted: rgba(247, 248, 251, 0.56);

    --nfl-surface: rgba(13, 17, 27, 0.88);
    --nfl-surface-soft: rgba(20, 25, 38, 0.78);
    --nfl-surface-light: rgba(255, 255, 255, 0.055);

    --nfl-border: rgba(255, 255, 255, 0.11);
    --nfl-border-strong: rgba(255, 255, 255, 0.18);

    --nfl-radius-small: 10px;
    --nfl-radius: 16px;
    --nfl-radius-large: 22px;

    --nfl-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28);

    --nfl-shadow-small:
        0 8px 24px rgba(0, 0, 0, 0.22);

    --nfl-transition:
        160ms ease;
}


* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
}


body.nfl-page {
    position: relative;
    min-height: 100vh;
    margin: 0;

    color: var(--nfl-text);

    background:
        #090c13;

    overflow-x: hidden;
}


/* =========================================================
   2. HINTERGRUND
   ========================================================= */

.nfl-background {
    position: fixed;
    inset: 0;
    z-index: -3;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0;

    transform: scale(1.015);

    transition:
        opacity 300ms ease,
        background-image 300ms ease;
}


.nfl-background.has-image {
    opacity: 1;
}


.nfl-background-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(5, 8, 14, 0.72) 0%,
            rgba(7, 10, 17, 0.83) 36%,
            rgba(7, 10, 17, 0.95) 100%
        );
}


/* =========================================================
   3. DASHBOARD BUTTON
   ========================================================= */

.nfl-dashboard-fixed {
    position: fixed;
    top: 22px;
    left: 24px;
    z-index: 80;
}


.nfl-dashboard-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 42px;
    padding: 0 15px;

    color: var(--nfl-text);
    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 700;

    border: 1px solid var(--nfl-border);
    border-radius: 999px;

    background:
        rgba(10, 14, 22, 0.9);

    box-shadow:
        var(--nfl-shadow-small);

    transition:
        transform var(--nfl-transition),
        border-color var(--nfl-transition),
        background var(--nfl-transition);
}


.nfl-dashboard-button:hover {
    transform: translateY(-2px);

    border-color:
        color-mix(
            in srgb,
            var(--nfl-accent) 55%,
            white 10%
        );

    background:
        rgba(19, 24, 36, 0.96);
}


/* =========================================================
   4. APP CONTAINER
   ========================================================= */

.nfl-app {
    position: relative;
    z-index: 1;

    width: min(1460px, calc(100% - 48px));
    margin: 0 auto;

    padding:
        32px
        0
        80px;
}


/* =========================================================
   5. HEADER
   ========================================================= */

.nfl-header {
    position: relative;

    padding:
        16px
        0
        28px;

    margin-bottom: 22px;
}


.nfl-header-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-height: 54px;

    margin-bottom: 48px;
}


/* =========================================================
   6. HEADER LOGO
   ========================================================= */

.nfl-header-logo-area {
    display: flex;
    align-items: center;
    gap: 20px;

    position: absolute;
    left: 50%;
    top: 20px;

    transform: translateX(-50%);
}


.nfl-header-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex: 0 0 auto;
}


.nfl-header-logo {
    display: block;

    max-width: 150px;
    max-height: 150px;

    object-fit: contain;
}


.nfl-logo-placeholder {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--nfl-primary),
            var(--nfl-accent)
        );
}


.nfl-header-logo-text {
    min-width: 0;
    display: none;
}


.nfl-header-logo-text strong {
    display: block;

    max-width: 260px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 0.95rem;
    font-weight: 800;

    letter-spacing: 0.02em;
}


/* =========================================================
   7. TEAM SELECTOR
   ========================================================= */

.nfl-team-selector {
    position: relative;
    z-index: 40;

    width: min(320px, 100%);
}


.nfl-team-native-select {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


.nfl-team-dropdown {
    position: relative;

    width: 100%;
}


.nfl-team-dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

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

    padding:
        9px
        16px;

    color: var(--nfl-text);

    cursor: pointer;

    border:
        1px solid
        var(--nfl-border);

    border-radius:
        var(--nfl-radius);

    background:
        rgba(13, 17, 27, 0.94);

    box-shadow:
        var(--nfl-shadow-small);

    transition:
        border-color var(--nfl-transition),
        background var(--nfl-transition);
}


.nfl-team-dropdown-button:hover,
.nfl-team-dropdown.open
.nfl-team-dropdown-button {
    border-color:
        color-mix(
            in srgb,
            var(--nfl-accent) 55%,
            white 10%
        );

    background:
        rgba(20, 25, 38, 0.97);
}


.nfl-team-dropdown-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
}


.nfl-team-dropdown-label {
    margin-bottom: 3px;

    color: var(--nfl-text-muted);

    font-size: 0.64rem;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.nfl-team-dropdown-value {
    width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 0.94rem;
    font-weight: 750;
}


.nfl-team-dropdown-arrow {
    width: 9px;
    height: 9px;

    flex: 0 0 auto;

    border-right:
        2px solid
        var(--nfl-text-soft);

    border-bottom:
        2px solid
        var(--nfl-text-soft);

    transform:
        rotate(45deg)
        translateY(-2px);

    transition:
        transform var(--nfl-transition);
}


.nfl-team-dropdown.open
.nfl-team-dropdown-arrow {
    transform:
        rotate(225deg)
        translate(-2px, -2px);
}


.nfl-team-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;

    width: 100%;
    max-height: 360px;

    overflow-y: auto;

    padding: 7px;

    border:
        1px solid
        var(--nfl-border);

    border-radius:
        var(--nfl-radius);

    background:
        rgba(10, 14, 22, 0.985);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4);

    overscroll-behavior: contain;
}


.nfl-team-dropdown-menu[hidden] {
    display: none;
}


.nfl-team-dropdown-option {
    display: block;

    width: 100%;

    padding:
        11px
        12px;

    color:
        var(--nfl-text-soft);

    text-align: left;

    font: inherit;
    font-size: 0.88rem;
    font-weight: 650;

    cursor: pointer;

    border: 0;
    border-radius: 10px;

    background: transparent;

    transition:
        color var(--nfl-transition),
        background var(--nfl-transition);
}


.nfl-team-dropdown-option:hover {
    color:
        var(--nfl-text);

    background:
        rgba(255, 255, 255, 0.07);
}


.nfl-team-dropdown-option.active {
    color:
        #fff;

    background:
        linear-gradient(
            135deg,
            color-mix(
                in srgb,
                var(--nfl-primary) 76%,
                transparent
            ),
            color-mix(
                in srgb,
                var(--nfl-accent) 65%,
                transparent
            )
        );
}


/* =========================================================
   8. HERO
   ========================================================= */

.nfl-hero {
    max-width: 820px;

    padding:
        28px
        0
        34px;
}


.nfl-team-kicker,
.nfl-section-kicker {
    display: block;

    margin-bottom: 8px;

    color:
        color-mix(
            in srgb,
            var(--nfl-accent) 75%,
            white 25%
        );

    font-size: 0.7rem;
    font-weight: 900;

    letter-spacing: 0.17em;
}


.nfl-team-name {
    margin:
        0
        0
        12px;

    font-size:
        clamp(
            2.8rem,
            6vw,
            5.8rem
        );

    line-height: 0.94;

    font-weight: 900;

    letter-spacing: -0.055em;

    text-shadow:
        0 10px 30px rgba(0, 0, 0, 0.28);
}


.nfl-team-subtitle {
    max-width: 680px;

    margin: 0;

    color:
        var(--nfl-text-soft);

    font-size:
        clamp(
            1rem,
            2vw,
            1.18rem
        );

    line-height: 1.65;
}


/* =========================================================
   9. KATEGORIEN
   ========================================================= */

.nfl-category-nav {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;

    overflow-x: auto;

    padding:
        6px
        0
        8px;

    scrollbar-width: none;
}


.nfl-category-nav::-webkit-scrollbar {
    display: none;
}


.nfl-category-button {
    flex: 0 0 auto;

    min-height: 40px;

    padding:
        0
        16px;

    color:
        var(--nfl-text-soft);

    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;

    cursor: pointer;

    border:
        1px solid
        var(--nfl-border);

    border-radius: 999px;

    background:
        rgba(13, 17, 27, 0.76);

    transition:
        color var(--nfl-transition),
        background var(--nfl-transition),
        border-color var(--nfl-transition),
        transform var(--nfl-transition);
}


.nfl-category-button:hover {
    color: #fff;

    transform:
        translateY(-1px);

    border-color:
        var(--nfl-border-strong);

    background:
        rgba(255, 255, 255, 0.075);
}


.nfl-category-button.active {
    color: #fff;

    border-color:
        color-mix(
            in srgb,
            var(--nfl-accent) 58%,
            white 8%
        );

    background:
        linear-gradient(
            135deg,
            color-mix(
                in srgb,
                var(--nfl-primary) 82%,
                transparent
            ),
            color-mix(
                in srgb,
                var(--nfl-accent) 66%,
                transparent
            )
        );

    box-shadow:
        0 7px 20px
        color-mix(
            in srgb,
            var(--nfl-accent) 16%,
            transparent
        );
}


/* =========================================================
   10. GEMEINSAME PANELS
   ========================================================= */

.nfl-games-panel,
.nfl-news-section {
    border:
        1px solid
        var(--nfl-border);

    border-radius:
        var(--nfl-radius-large);

    background:
        rgba(11, 15, 24, 0.9);

    box-shadow:
        var(--nfl-shadow);
}


.nfl-games-panel[hidden] {
    display: none;
}


/* =========================================================
   11. SPIELE / SPOILERSCHUTZ PANEL
   ========================================================= */

.nfl-games-panel {
    margin-bottom: 24px;

    overflow: hidden;
}


.nfl-games-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 80px;

    padding:
        16px
        20px;

    border-bottom:
        1px solid
        var(--nfl-border);
}


.nfl-games-panel.collapsed
.nfl-games-toolbar {
    border-bottom-color:
        transparent;
}


.nfl-games-heading-group {
    min-width: 0;
}


.nfl-games-heading-group
.nfl-section-kicker {
    margin-bottom: 4px;
}


.nfl-games-heading-group h2 {
    margin: 0;

    font-size:
        clamp(
            1.2rem,
            2vw,
            1.55rem
        );

    line-height: 1.2;
}


.nfl-games-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    flex: 0 0 auto;
}


.nfl-games-status {
    color:
        var(--nfl-text-muted);

    font-size: 0.78rem;
}


.nfl-games-panel-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 auto;

    padding: 0;

    color:
        var(--nfl-text);

    cursor: pointer;

    border:
        1px solid
        var(--nfl-border);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.055);

    transition:
        background var(--nfl-transition),
        border-color var(--nfl-transition),
        transform var(--nfl-transition);
}


.nfl-games-panel-toggle:hover {
    border-color:
        var(--nfl-border-strong);

    background:
        rgba(255, 255, 255, 0.095);
}


.nfl-games-panel-toggle-icon {
    display: block;

    font-size: 1.5rem;
    line-height: 1;

    transform:
        rotate(90deg);

    transition:
        transform var(--nfl-transition);
}


.nfl-games-panel-toggle.collapsed
.nfl-games-panel-toggle-icon {
    transform:
        rotate(0deg);
}


.nfl-games-panel-content {
    padding:
        18px
        20px
        20px;
}


.nfl-games-panel-content[hidden] {
    display: none;
}


.nfl-games-intro {
    margin:
        0
        0
        16px;

    color:
        var(--nfl-text-muted);

    font-size: 0.84rem;
    line-height: 1.55;
}


.nfl-games-loading {
    padding:
        20px
        0;

    color:
        var(--nfl-text-soft);

    text-align: center;
}


.nfl-games-grid {
    display: flex;
    flex-direction: column;
    gap: 9px;
}


/* =========================================================
   12. SPIELWOCHEN
   ========================================================= */

.nfl-game-week-group {
    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.085);

    border-radius:
        13px;

    background:
        rgba(255, 255, 255, 0.025);
}


.nfl-game-week-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

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

    padding:
        0
        15px;

    color:
        var(--nfl-text);

    font: inherit;

    cursor: pointer;

    border: 0;

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        background var(--nfl-transition);
}


.nfl-game-week-header:hover {
    background:
        rgba(255, 255, 255, 0.065);
}


.nfl-game-week-header-title {
    display: flex;
    align-items: center;
    gap: 9px;

    min-width: 0;

    font-size: 0.88rem;
    font-weight: 800;
}


.nfl-game-current-badge {
    display: inline-flex;
    align-items: center;

    min-height: 21px;

    padding:
        0
        8px;

    color: #fff;

    font-size: 0.61rem;
    font-weight: 900;

    letter-spacing: 0.08em;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--nfl-accent) 62%,
            white 10%
        );

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--nfl-accent) 35%,
            transparent
        );
}


.nfl-game-week-header-icon {
    color:
        var(--nfl-text-soft);

    font-size: 1.15rem;
    font-weight: 600;
}


.nfl-game-week-content {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 8px;

    padding: 9px;
}


.nfl-game-week-content[hidden] {
    display: none;
}


/* =========================================================
   13. SPIELKARTEN
   ========================================================= */

.nfl-game-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    column-gap: 14px;
    row-gap: 5px;

    min-width: 0;

    padding:
        11px
        12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius:
        11px;

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        border-color var(--nfl-transition),
        background var(--nfl-transition);
}


.nfl-game-card:hover {
    border-color:
        rgba(255, 255, 255, 0.14);

    background:
        rgba(255, 255, 255, 0.052);
}


.nfl-game-card.watched {
    border-color:
        rgba(80, 210, 135, 0.28);

    background:
        rgba(80, 210, 135, 0.055);
}


.nfl-game-compact-main {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}


.nfl-game-compact-matchup {
    display: flex;
    align-items: center;
    gap: 6px;

    flex: 0 0 auto;
}


.nfl-game-team-code {
    color: #fff;

    font-size: 0.88rem;
    font-weight: 900;

    letter-spacing: 0.025em;
}


.nfl-game-at {
    color:
        var(--nfl-text-muted);

    font-size: 0.76rem;
}


.nfl-game-compact-kickoff {
    display: flex;
    align-items: center;
    gap: 5px;

    min-width: 0;

    color:
        var(--nfl-text-soft);

    font-size: 0.76rem;

    white-space: nowrap;
}


.nfl-game-compact-separator {
    color:
        var(--nfl-text-muted);
}


.nfl-game-compact-location {
    grid-column: 1;

    overflow: hidden;

    color:
        var(--nfl-text-muted);

    font-size: 0.69rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.nfl-game-watched-button {
    grid-column: 2;
    grid-row: 1 / span 2;

    min-width: 104px;
    min-height: 34px;

    padding:
        0
        11px;

    color:
        var(--nfl-text-soft);

    font: inherit;
    font-size: 0.73rem;
    font-weight: 750;

    cursor: pointer;

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.055);

    transition:
        color var(--nfl-transition),
        background var(--nfl-transition),
        border-color var(--nfl-transition);
}


.nfl-game-watched-button:hover {
    color: #fff;

    border-color:
        rgba(255, 255, 255, 0.22);

    background:
        rgba(255, 255, 255, 0.095);
}


.nfl-game-watched-button.watched {
    color:
        rgb(155, 241, 188);

    border-color:
        rgba(80, 210, 135, 0.32);

    background:
        rgba(80, 210, 135, 0.1);
}


.nfl-game-watched-button:disabled {
    opacity: 0.55;
    cursor: wait;
}


.nfl-game-not-started {
    grid-column: 2;
    grid-row: 1 / span 2;

    min-width: 104px;

    color:
        var(--nfl-text-muted);

    font-size: 0.69rem;
    font-weight: 650;

    text-align: right;
}


/* =========================================================
   14. NEWS SECTION
   ========================================================= */

.nfl-news-section {
    padding:
        20px;
}


.nfl-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
}


.nfl-news-heading-group {
    min-width: 0;
}


.nfl-news-heading-group
.nfl-section-kicker {
    margin-bottom: 4px;
}


.nfl-news-heading-group h2 {
    margin: 0;

    font-size:
        clamp(
            1.35rem,
            2.5vw,
            1.9rem
        );

    line-height: 1.2;
}


.nfl-article-count {
    flex: 0 0 auto;

    color:
        var(--nfl-text-muted);

    font-size: 0.8rem;
}


/* =========================================================
   15. NEWS GRID
   ========================================================= */

.nfl-news-grid {
    display: grid;

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

    gap: 16px;
}


/* =========================================================
   16. NEWS CARD
   ========================================================= */

.nfl-news-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 390px;

    overflow: hidden;

    cursor: pointer;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius:
        var(--nfl-radius);

    background:
        rgba(18, 23, 34, 0.96);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18);

    transition:
        transform var(--nfl-transition),
        border-color var(--nfl-transition),
        box-shadow var(--nfl-transition);

    content-visibility: auto;
    contain-intrinsic-size: 390px;
}


.nfl-news-card:hover {
    transform:
        translateY(-3px);

    border-color:
        color-mix(
            in srgb,
            var(--nfl-accent) 42%,
            rgba(255, 255, 255, 0.14)
        );

    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.24);
}


/* =========================================================
   17. NEWS CARD IMAGE
   ========================================================= */

.nfl-card-image {
    position: relative;

    width: 100%;
    height: 190px;

    flex: 0 0 auto;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.04);
}


.nfl-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 300ms ease;
}


.nfl-news-card:hover
.nfl-card-image img {
    transform:
        scale(1.025);
}


.nfl-card-image-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(5, 8, 14, 0.04) 20%,
            rgba(8, 11, 18, 0.76) 100%
        );
}


.nfl-card-category {
    position: absolute;
    left: 12px;
    bottom: 12px;

    max-width:
        calc(100% - 24px);

    padding:
        6px
        9px;

    color: #fff;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 0.66rem;
    font-weight: 850;

    letter-spacing: 0.035em;

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 999px;

    background:
        rgba(9, 13, 21, 0.88);
}


/* =========================================================
   18. NEWS CARD CONTENT
   ========================================================= */

.nfl-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding:
        16px;
}


.nfl-card-title {
    margin:
        0
        0
        10px;

    color:
        var(--nfl-text);

    font-size: 1.04rem;
    line-height: 1.35;

    font-weight: 800;

    letter-spacing: -0.012em;
}


.nfl-card-summary {
    display: -webkit-box;

    margin:
        0
        0
        18px;

    overflow: hidden;

    color:
        var(--nfl-text-soft);

    font-size: 0.82rem;
    line-height: 1.55;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


.nfl-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;

    width: 100%;

    margin-top: auto;
    padding-top: 12px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.075);
}


.nfl-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;

    min-width: 0;

    color:
        var(--nfl-text-muted);

    font-size: 0.68rem;
    line-height: 1.4;
}


.nfl-card-source {
    color:
        var(--nfl-text-soft);

    font-weight: 700;
}


.nfl-card-meta-separator {
    color:
        rgba(255, 255, 255, 0.3);
}


.nfl-card-read {
    flex: 0 0 auto;

    color:
        color-mix(
            in srgb,
            var(--nfl-accent) 62%,
            white 38%
        );

    font-size: 0.69rem;
    font-weight: 750;

    white-space: nowrap;
}


/* =========================================================
   19. SPOILER CARD
   ========================================================= */

.nfl-news-card.spoiler-hidden {
    align-items: center;
    justify-content: center;

    min-height: 390px;

    padding:
        30px
        24px;

    text-align: center;

    cursor: default;

    border-color:
        rgba(235, 184, 65, 0.19);

    background:
        linear-gradient(
            145deg,
            rgba(42, 35, 18, 0.88),
            rgba(17, 20, 29, 0.97)
        );
}


.nfl-news-card.spoiler-hidden:hover {
    transform: none;

    border-color:
        rgba(235, 184, 65, 0.27);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18);
}


.nfl-spoiler-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 16px;

    color:
        rgb(247, 207, 99);

    font-size: 1.45rem;

    border:
        1px solid
        rgba(235, 184, 65, 0.25);

    border-radius: 50%;

    background:
        rgba(235, 184, 65, 0.08);
}


.nfl-spoiler-title {
    margin:
        0
        0
        9px;

    font-size: 1.05rem;
    font-weight: 850;
}


.nfl-spoiler-text {
    max-width: 320px;

    margin:
        0
        auto
        18px;

    color:
        var(--nfl-text-soft);

    font-size: 0.8rem;
    line-height: 1.55;
}

.nfl-spoiler-games {
    width: 100%;
    margin: 4px 0 16px;
    padding: 12px;
    border: 1px solid rgba(235, 184, 65, 0.2);
    border-radius: 10px;
    background: rgba(235, 184, 65, 0.05);
    overflow-wrap: anywhere;
}

.nfl-spoiler-games p {
    margin: 0 0 6px;
    color: var(--nfl-text-soft);
    font-size: 0.72rem;
}

.nfl-spoiler-games ul {
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--nfl-text);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.6;
}

.nfl-spoiler-games li + li { margin-top: 8px; }
.nfl-spoiler-games-empty { margin: 4px 0 16px; color: var(--nfl-text-soft); font-size: 0.78rem; }


.nfl-reveal-spoiler {
    min-height: 38px;

    padding:
        0
        14px;

    margin-bottom: 20px;

    color:
        var(--nfl-text);

    font: inherit;
    font-size: 0.76rem;
    font-weight: 750;

    cursor: pointer;

    border:
        1px solid
        rgba(235, 184, 65, 0.28);

    border-radius: 999px;

    background:
        rgba(235, 184, 65, 0.09);

    transition:
        background var(--nfl-transition),
        border-color var(--nfl-transition);
}


.nfl-reveal-spoiler:hover {
    border-color:
        rgba(235, 184, 65, 0.46);

    background:
        rgba(235, 184, 65, 0.15);
}


.nfl-news-card.spoiler-hidden
.nfl-card-footer {
    margin-top: 0;
}


/* =========================================================
   20. STATUS PANELS
   ========================================================= */

.nfl-status-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 240px;

    padding: 30px;

    color:
        var(--nfl-text-soft);

    text-align: center;

    border:
        1px dashed
        rgba(255, 255, 255, 0.12);

    border-radius:
        var(--nfl-radius);

    background:
        rgba(255, 255, 255, 0.025);
}


.nfl-status-panel[hidden] {
    display: none;
}


.nfl-status-panel h3 {
    margin:
        0
        0
        8px;

    color:
        var(--nfl-text);

    font-size: 1.05rem;
}


.nfl-status-panel p {
    max-width: 520px;

    margin:
        0;

    font-size: 0.84rem;
    line-height: 1.6;
}


.nfl-loading-spinner {
    width: 34px;
    height: 34px;

    margin-bottom: 16px;

    border:
        3px solid
        rgba(255, 255, 255, 0.12);

    border-top-color:
        var(--nfl-accent);

    border-radius: 50%;

    animation:
        nfl-spin 700ms linear infinite;
}


@keyframes nfl-spin {
    to {
        transform: rotate(360deg);
    }
}


.nfl-error-panel {
    border-color:
        rgba(255, 100, 100, 0.2);
}


.nfl-retry-button {
    min-height: 40px;

    margin-top: 16px;
    padding:
        0
        16px;

    color: #fff;

    font: inherit;
    font-size: 0.8rem;
    font-weight: 750;

    cursor: pointer;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--nfl-primary) 76%,
            black 10%
        );

    transition:
        filter var(--nfl-transition);
}


.nfl-retry-button:hover {
    filter: brightness(1.12);
}


/* =========================================================
   21. ARTIKEL MODAL
   ========================================================= */

.nfl-modal {
    position: fixed;
    inset: 0;
    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}


.nfl-modal[hidden] {
    display: none;
}


.nfl-modal-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(3, 5, 9, 0.78);
}


.nfl-modal-card {
    position: relative;
    z-index: 1;

    width:
        min(
            720px,
            100%
        );

    max-height:
        min(
            820px,
            calc(100vh - 48px)
        );

    overflow-y: auto;
    overscroll-behavior: contain;

    padding:
        30px;

    border:
        1px solid
        var(--nfl-border-strong);

    border-radius:
        var(--nfl-radius-large);

    background:
        #111722;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.52);

    scrollbar-width: thin;
}


.nfl-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    color:
        var(--nfl-text-soft);

    font: inherit;
    font-size: 1.5rem;
    line-height: 1;

    cursor: pointer;

    border:
        1px solid
        var(--nfl-border);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.045);

    transition:
        color var(--nfl-transition),
        background var(--nfl-transition);
}


.nfl-modal-close:hover {
    color: #fff;

    background:
        rgba(255, 255, 255, 0.09);
}


.nfl-modal-category {
    display: inline-flex;
    align-items: center;

    min-height: 26px;

    max-width:
        calc(100% - 54px);

    padding:
        0
        10px;

    margin-bottom: 17px;

    color:
        color-mix(
            in srgb,
            var(--nfl-accent) 58%,
            white 42%
        );

    font-size: 0.68rem;
    font-weight: 850;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--nfl-accent) 30%,
            transparent
        );

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--nfl-accent) 9%,
            transparent
        );
}


.nfl-modal-card h2 {
    margin:
        0
        0
        12px;

    padding-right: 38px;

    color:
        var(--nfl-text);

    font-size:
        clamp(
            1.45rem,
            4vw,
            2.15rem
        );

    line-height: 1.2;

    letter-spacing: -0.025em;
}


.nfl-modal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    margin-bottom: 22px;

    color:
        var(--nfl-text-muted);

    font-size: 0.75rem;
}


.nfl-modal-meta-separator {
    color:
        rgba(255, 255, 255, 0.28);
}


.nfl-modal-content {
    margin-bottom: 24px;
}


.nfl-modal-content p {
    margin: 0;

    color:
        var(--nfl-text-soft);

    font-size: 0.96rem;
    line-height: 1.75;

    white-space: pre-line;
}


/* =========================================================
   22. ORIGINALARTIKEL WARNUNG
   ========================================================= */

.nfl-original-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 20px;

    padding:
        14px;

    border:
        1px solid
        rgba(235, 184, 65, 0.22);

    border-radius:
        13px;

    background:
        rgba(235, 184, 65, 0.065);
}


.nfl-original-warning[hidden] {
    display: none;
}


.nfl-original-warning-icon {
    flex: 0 0 auto;

    color:
        rgb(247, 207, 99);

    font-size: 1rem;
}


.nfl-original-warning strong {
    display: block;

    margin-bottom: 4px;

    color:
        rgb(248, 220, 139);

    font-size: 0.8rem;
}


.nfl-original-warning p {
    margin: 0;

    color:
        var(--nfl-text-soft);

    font-size: 0.76rem;
    line-height: 1.5;
}


/* =========================================================
   23. ORIGINALARTIKEL LINK
   ========================================================= */

.nfl-original-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 43px;

    padding:
        0
        16px;

    color: #fff;
    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 800;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--nfl-accent) 38%,
            rgba(255, 255, 255, 0.14)
        );

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            color-mix(
                in srgb,
                var(--nfl-primary) 82%,
                black 8%
            ),
            color-mix(
                in srgb,
                var(--nfl-accent) 70%,
                black 10%
            )
        );

    transition:
        transform var(--nfl-transition),
        filter var(--nfl-transition);
}


.nfl-original-link:hover {
    transform:
        translateY(-1px);

    filter:
        brightness(1.1);
}


/* =========================================================
   24. TABLET
   ========================================================= */

@media (max-width: 1100px) {

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


    .nfl-game-week-content {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   25. MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 760px) {

    .nfl-app {
        width:
            min(
                100% - 28px,
                1460px
            );

        padding-top: 76px;
        padding-bottom: 48px;
    }


    .nfl-dashboard-fixed {
        top: 14px;
        left: 14px;
    }


    .nfl-dashboard-button {
        min-height: 38px;

        padding:
            0
            12px;

        font-size: 0.78rem;
    }


    .nfl-header {
        padding-top: 4px;
    }


    .nfl-header-top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;

        margin-bottom: 26px;
    }


    .nfl-header-logo-area {
        position: static;

        justify-content: center;

        transform: none;
    }


    .nfl-team-selector {
        width: 100%;
    }


    .nfl-hero {
        padding:
            20px
            0
            26px;
    }


    .nfl-team-name {
        font-size:
            clamp(
                2.45rem,
                13vw,
                4.2rem
            );
    }


    .nfl-category-nav {
        margin-right: -14px;

        padding-right: 14px;
    }


    .nfl-games-toolbar,
    .nfl-news-toolbar {
        align-items: flex-start;
    }


    .nfl-games-toolbar {
        padding:
            14px
            15px;
    }


    .nfl-games-panel-content {
        padding:
            14px;
    }


    .nfl-news-section {
        padding:
            15px;
    }


    .nfl-news-grid {
        grid-template-columns:
            1fr;

        gap: 13px;
    }


    .nfl-news-card {
        min-height: 0;

        contain-intrinsic-size: 420px;
    }


    .nfl-card-image {
        height: 205px;
    }


    .nfl-modal {
        padding: 12px;
    }


    .nfl-modal-card {
        max-height:
            calc(100vh - 24px);

        padding:
            24px
            19px;
    }

}


/* =========================================================
   26. SEHR KLEINE DISPLAYS
   ========================================================= */

@media (max-width: 520px) {

    .nfl-app {
        width:
            calc(100% - 20px);
    }


    .nfl-header-logo-wrapper {
        width: 40px;
        height: 40px;
    }


    .nfl-header-logo {
        max-width: 40px;
        max-height: 40px;
    }


    .nfl-header-logo-text strong {
        max-width: 210px;

        font-size: 0.84rem;
    }


    .nfl-team-dropdown-button {
        min-height: 54px;
    }


    .nfl-category-button {
        min-height: 38px;

        padding:
            0
            13px;

        font-size: 0.76rem;
    }


    .nfl-games-toolbar {
        gap: 10px;
    }


    .nfl-games-status {
        display: none;
    }


    .nfl-game-week-content {
        padding: 7px;
    }


    .nfl-game-card {
        grid-template-columns:
            1fr;

        gap: 8px;

        padding:
            11px;
    }


    .nfl-game-compact-main {
        justify-content: space-between;
        gap: 8px;
    }


    .nfl-game-compact-location {
        grid-column: 1;
        grid-row: auto;
    }


    .nfl-game-watched-button,
    .nfl-game-not-started {
        grid-column: 1;
        grid-row: auto;

        width: 100%;
    }


    .nfl-game-not-started {
        padding-top: 3px;

        text-align: left;
    }


    .nfl-card-image {
        height: 185px;
    }


    .nfl-card-content {
        padding: 14px;
    }


    .nfl-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }


    .nfl-card-read {
        white-space: normal;
    }


    .nfl-news-card.spoiler-hidden {
        min-height: 340px;

        padding:
            25px
            18px;
    }


    .nfl-news-toolbar {
        flex-direction: column;
        gap: 6px;
    }


    .nfl-article-count {
        align-self: flex-start;
    }


    .nfl-modal-card h2 {
        padding-right: 28px;
    }

}


/* =========================================================
   27. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   28. DESKTOP SPOILERSCHUTZ – RECHTE SEITENLEISTE
   ========================================================= */

@media (min-width: 761px) {
    .nfl-games-panel {
        position: fixed;
        top: 50%;
        right: 0;
        z-index: 90;

        width: min(390px, calc(100vw - 32px));
        max-height: min(720px, calc(100vh - 48px));
        margin: 0;

        overflow: hidden;

        border-right: 0;
        border-radius: var(--nfl-radius-large) 0 0 var(--nfl-radius-large);

        transform: translateY(-50%);
    }

    .nfl-games-toolbar {
        min-height: 68px;
        padding: 12px 14px 12px 16px;
        gap: 12px;
    }

    .nfl-games-heading-group h2 {
        font-size: 1.05rem;
    }

    .nfl-games-panel-content {
        max-height: calc(min(720px, 100vh - 48px) - 68px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px;
        scrollbar-width: thin;
    }

    .nfl-games-intro {
        margin-bottom: 12px;
        font-size: 0.76rem;
    }

    .nfl-game-week-content {
        grid-template-columns: 1fr;
    }

    .nfl-game-card {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 9px;
        padding: 9px 10px;
    }

    .nfl-game-compact-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .nfl-game-watched-button {
        min-width: 94px;
        padding: 0 9px;
    }

    .nfl-game-not-started {
        min-width: 94px;
    }

    /* Eingeklappt bleibt nur ein schmaler Griff am rechten Rand sichtbar. */
    .nfl-games-panel.collapsed {
        width: 58px;
        border-radius: var(--nfl-radius) 0 0 var(--nfl-radius);
    }

    .nfl-games-panel.collapsed .nfl-games-toolbar {
        min-height: 58px;
        padding: 10px;
        justify-content: center;
    }

    .nfl-games-panel.collapsed .nfl-games-heading-group,
    .nfl-games-panel.collapsed .nfl-games-status {
        display: none;
    }

    .nfl-games-panel.collapsed .nfl-games-toolbar-actions {
        gap: 0;
    }

    .nfl-games-panel.collapsed .nfl-games-panel-toggle {
        width: 38px;
        height: 38px;
    }
}
