/* ==========================================================================
   WEEKLY BOSS CHALLENGE - HARD MODE STYLESHEET (/wbc/css/hard-mode.css)
   Baut auf modern.css auf: Full-Bleed Boss-Slides, Team-Week-Stepper &
   natives Mobile Bottom-Sheet mit Drag-to-Dismiss
   ========================================================================== */

/* Hintergrund-Scroll-Sperre nur für Desktop (auf Mobile über Touch-Lock gelöst, verhindert iOS Toolbar-Sprünge) */
@media (min-width: 641px) {
    body:has(.hard-char-modal[open]) {
        overflow: hidden;
        overscroll-behavior: none;
    }
}

/* Fallback-Variablen mit 0-Spezifität, damit [data-element="..."] aus modern.css nicht überschrieben wird */
:where(.hard-char-chip) {
    --ele-color: var(--border-highlight);
    --ele-glow: rgba(200, 25, 34, 0.3);
}

:where(.hard-hover-popover, .hard-char-modal) {
    --ele-color: var(--color-brand);
    --ele-glow: rgba(200, 25, 34, 0.25);
}

/* ==========================================================================
   1. TEAM HEADER-ERWEITERUNGEN (WOCHEN-STEPPER & ABWEICHENDE-WOCHE-BANNER)
   ========================================================================== */
.hard-editor-pill {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: var(--brand-subtle-bg);
    border: 1px solid var(--brand-border);
    color: var(--brand-text-readable);
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header.header-preview-mode {
    border-bottom-color: rgba(247, 168, 62, 0.55);
}

.hard-boss-dropdown {
    max-height: 360px;
    overflow-y: auto;
    min-width: 245px;
}

.hard-boss-dropdown .dd-num {
    display: inline-block;
    width: 22px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-text-readable);
}

.hard-boss-dropdown .dd-sep {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
}

/* Kompakter Team-Wochen-Stepper in der Navigation */
.team-week-control-li {
    display: flex;
    align-items: center;
}

.team-week-stepper {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 2px;
}

.stepper-arrow {
    width: 28px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.stepper-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.stepper-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    height: 30px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.stepper-current:hover {
    background: rgba(255, 255, 255, 0.07);
}

.stepper-current.is-non-current {
    color: #ffbe61;
    background: rgba(247, 168, 62, 0.14);
}

.stepper-warn-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f7a83e;
    box-shadow: 0 0 8px rgba(247, 168, 62, 0.9);
}

.week-picker-menu {
    min-width: 260px;
    left: auto;
    right: 0;
}

.week-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.week-jump-now {
    padding: 2px 7px !important;
    border-radius: var(--radius-sm) !important;
    background: var(--brand-subtle-bg) !important;
    color: var(--brand-text-readable) !important;
    font-size: 0.7rem !important;
}

.week-picker-menu li a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.week-picker-menu li.is-selected a {
    background: var(--brand-subtle-bg);
    color: var(--color-white);
    border-left: 2px solid var(--color-brand);
}

.wk-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.wk-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.wk-status-dot.dot-live  { background: #74c2a8; }
.wk-status-dot.dot-draft { background: #f7a83e; }
.wk-status-dot.dot-empty { background: rgba(255, 255, 255, 0.25); }

.wk-now-badge {
    font-size: 0.62rem;
    text-transform: uppercase;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(116, 194, 168, 0.2);
    color: #8ce0c4;
}

.wk-editor {
    font-size: 0.76rem;
    color: var(--text-muted);
    max-width: 95px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Deutliches Warnbanner, wenn das Team eine abweichende Woche betrachtet */
.non-current-week-banner {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 950;
    padding: 10px 0;
    background: rgba(24, 18, 9, 0.94);
    border-bottom: 2px solid #f7a83e;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.non-current-week-banner.is-archive {
    background: rgba(11, 20, 30, 0.94);
    border-bottom-color: #4cc2f1;
}

.ncw-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ncw-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--color-white);
}

.ncw-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: rgba(247, 168, 62, 0.2);
    border: 1px solid #f7a83e;
    color: #ffbe61;
}

.is-archive .ncw-badge {
    background: rgba(76, 194, 241, 0.18);
    border-color: #4cc2f1;
    color: #7dd3f7;
}

.ncw-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ncw-btn-live,
.ncw-btn-edit {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
}

.ncw-btn-live {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-highlight);
    color: var(--color-white);
}

.ncw-btn-live:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.ncw-btn-edit {
    background: var(--color-brand);
    color: var(--color-white);
}

.ncw-btn-edit:hover {
    background: var(--brand-hover);
}

/* ==========================================================================
   2. HERO HEADER (MIT ZUFÄLLIGEM TEYVAT VIEWPOINT-HINTERGRUND)
   ========================================================================== */
.hard-hero-slide {
    position: relative;
    min-height: 76vh;
    min-height: 76dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 64px) 0 72px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

body.is-preview-week .hard-hero-slide {
    padding-top: calc(var(--nav-height) + 116px);
}

.hard-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://luca.rosenloecher.org/wbc/img/Mondstadt.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    transform: scale(1.03);
    transition: opacity 0.6s ease;
    z-index: -2;
}

.hard-hero-overlay {
    position: absolute;
    inset: 0;
    /*background:
        radial-gradient(circle at 50% 45%, rgba(6, 9, 14, 0.35) 0%, rgba(6, 9, 14, 0.88) 85%),
        linear-gradient(180deg, rgba(6, 9, 14, 0.5) 0%, rgba(6, 9, 14, 0.55) 70%, var(--color-black) 100%);*/
    background:
        radial-gradient(circle at 50% 45%, rgba(6, 9, 14, 0.25) 0%, rgba(6, 9, 14, 0.58) 85%),
        linear-gradient(180deg, rgba(6, 9, 14, 0.25) 0%, rgba(6, 9, 14, 0.35) 70%, var(--color-black) 100%);
    z-index: -1;
}

.hard-hero-inner {
    max-width: 820px;
}

.hard-hero-title {
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-white);
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.9);
    margin-bottom: 14px;
}

.hard-hero-kw {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-text-readable);
    margin-bottom: 10px;
}

.hard-hero-kw del {
    opacity: 0.55;
    margin-right: 6px;
}

.hard-hero-motto {
    font-size: clamp(1.2rem, 2.6vw, 1.85rem);
    font-weight: 600;
    color: var(--color-white);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
    margin-bottom: 24px;
}

.hard-hero-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hero-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    background: rgba(11, 16, 25, 0.78);
    border: 1px solid var(--border-highlight);
    font-size: 0.82rem;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
}

.hero-meta-chip strong {
    color: var(--color-white);
}

/* ==========================================================================
   3. FULL-BLEED BOSS SLIDES & INDIVIDUELLE ARTWORK-POSITIONEN (1–13)
   ========================================================================== */
.hard-boss-slide {
    position: relative;
    min-height: 78vh;
    min-height: 78dvh;
    display: flex;
    align-items: center;
    padding: 72px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    scroll-margin-top: var(--nav-height);
}

.boss-slide-artwork {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--boss-pos, 50% 32%);
    z-index: -2;
    transition: transform 0.8s var(--ease-out);
}

/* Individuelle Fokuspunkte pro Boss-Artwork (X% Y%: 0% = links/oben, 50% = Mitte, 100% = rechts/unten) */
#slide1  { --boss-pos: 50% 48%; } /* 01 · Andrius */
#slide2  { --boss-pos: 50% 45%; } /* 02 · Azhdaha */
#slide3  { --boss-pos: 50% 50%; } /* 03 · Childe (Tartaglia) */
#slide4  { --boss-pos: 50% 50%; } /* 04 · La Signora */
#slide5  { --boss-pos: 50% 60%; } /* 05 · Raiden Shogun */
#slide6  { --boss-pos: 50% 36%; } /* 06 · Scaramouche */
#slide7  { --boss-pos: 50% 46%; } /* 07 · Apep (Dendro-Drache) */
#slide8  { --boss-pos: 50% 70%; } /* 08 · Allverschlingender Narwal */
#slide9  { --boss-pos: 50% 70%; } /* 09 · Arlecchino */
#slide10 { --boss-pos: 50% 50%; } /* 10 · Herr des ursprünglichen Feuers */
#slide11 { --boss-pos: 50% 35%; } /* 11 · Spiel vor dem Tor */
#slide12 { --boss-pos: 50% 50%; } /* 12 · Il Dottore (Nod-Krai) */
#slide13 { --boss-pos: 50% 52%; } /* 13 · Il Dottore (Sumeru) */

.boss-slide-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(6, 9, 14, 0.94) 0%, rgba(6, 9, 14, 0.78) 48%, rgba(6, 9, 14, 0.25) 100%),
        linear-gradient(180deg, rgba(6, 9, 14, 0.55) 0%, transparent 22%, transparent 78%, rgba(6, 9, 14, 0.85) 100%);
}

/* Abwechselnde Ausrichtung (Gerade Bosse stehen rechts für den klassischen WBC-Rhythmus) */
.hard-boss-slide.align-right .boss-slide-scrim {
    background:
        linear-gradient(270deg, rgba(6, 9, 14, 0.94) 0%, rgba(6, 9, 14, 0.78) 48%, rgba(6, 9, 14, 0.25) 100%),
        linear-gradient(180deg, rgba(6, 9, 14, 0.55) 0%, transparent 22%, transparent 78%, rgba(6, 9, 14, 0.85) 100%);
}

.boss-slide-container {
    display: flex;
    justify-content: flex-start;
}

.hard-boss-slide.align-right .boss-slide-container {
    justify-content: flex-end;
}

/* Die schwebende Challenge-Karte über dem Boss-Artwork */
.boss-challenge-panel {
    width: 100%;
    max-width: 640px;
    background: rgba(11, 16, 25, 0.86);
    border: 1px solid var(--border-highlight);
    border-left: 4px solid var(--color-brand);
    border-radius: var(--radius-lg);
    padding: 30px 32px;
    box-shadow: var(--inner-highlight), 0 24px 60px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hard-boss-slide.align-right .boss-challenge-panel {
    border-left: 1px solid var(--border-highlight);
    border-right: 4px solid var(--color-brand);
}

.boss-panel-eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.boss-panel-name {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-text-readable);
}

.boss-panel-nation {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.boss-panel-title {
    font-size: clamp(1.5rem, 2.8vw, 2.05rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 14px;
}

.boss-panel-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(232, 240, 250, 0.86);
    overflow-wrap: break-word;
}

.boss-panel-desc b,
.boss-panel-desc strong {
    color: var(--color-white);
}

/* ==========================================================================
   4. SCHNELLE, MOBILE-FREUNDLICHE CHARAKTER-ANZEIGE (AVATAR-CHIPS)
   ========================================================================== */
.hard-chars-block {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.hard-chars-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.hard-chars-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.hard-chars-tap-hint {
    font-size: 0.72rem;
    color: var(--brand-text-readable);
    opacity: 0.85;
}

.hard-chars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hard-char-chip {
    all: unset;
    box-sizing: border-box;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--ele-color);
    background: var(--color-black);
    cursor: pointer;
    overflow: visible;
    transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.hard-char-chip:hover,
.hard-char-chip:focus-visible {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 16px var(--ele-glow);
    z-index: 5;
}

.hard-char-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 2px);
    display: block;
}

.chip-ele-mini {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--color-surface-elevated);
    background-size: 11px 11px;
    border: 1px solid var(--ele-color);
    pointer-events: none;
}

/* Einklappen bei großen Charakter-Pools (>12) */
.hard-char-chip.is-extra-char {
    display: none;
}

.hard-chars-block.is-expanded .hard-char-chip.is-extra-char {
    display: inline-block;
}

.hard-chars-expand-btn {
    margin-top: 12px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-highlight);
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.hard-chars-expand-btn:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
}

/* ==========================================================================
   5. DESKTOP HOVER-POPOVER & CHARAKTER-DETAIL-SHEET (<dialog>)
   ========================================================================== */
.hard-hover-popover {
    position: fixed;
    z-index: 1500;
    width: 245px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(13, 19, 30, 0.96);
    border: 1px solid var(--ele-color);
    border-top: 3px solid var(--ele-color);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-100% - 10px));
    transition: opacity 0.14s ease, visibility 0.14s ease;
}

.hard-hover-popover.visible {
    opacity: 1;
    visibility: visible;
}

.popover-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.popover-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--ele-color);
    flex-shrink: 0;
}

.popover-name {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.popover-rarity {
    font-size: 0.74rem;
    letter-spacing: 1px;
    color: #f7b83e;
}
.popover-rarity.r4 { color: #b88ce8; }

.popover-rows {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.78rem;
}

.popover-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.popover-row span { color: var(--text-muted); }
.popover-row strong {
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Wiederverwendbares Charakter-Detail-Modal (Desktop: zentriert, Mobile: direkt an bottom: 0 verankert) */
.hard-char-modal {
    --backdrop-alpha: 0.82;
    margin: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-white);
    max-width: 440px;
    width: calc(100% - 28px);
    max-height: calc(100dvh - 32px);
    overflow: hidden;
}

.hard-char-modal::backdrop {
    background: rgba(4, 6, 10, var(--backdrop-alpha));
    touch-action: none;
    transition: background-color 0.2s ease;
}

.hard-char-sheet {
    position: relative;
    background: linear-gradient(165deg, #131b2b 0%, #090d15 100%);
    border: 1px solid var(--ele-color);
    border-top: 3px solid var(--ele-color);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 24px var(--ele-glow);
    transform: translate3d(0, 0, 0);
    outline: none;
    will-change: transform;
}

.hard-char-sheet .dossier-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    float: none;
    margin: 0;
    z-index: 12;
}

.sheet-drag-area,
.sheet-drag-handle {
    display: none;
}

.sheet-char-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 44px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.sheet-char-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--ele-color);
    background: var(--color-black);
    flex-shrink: 0;
}

.sheet-char-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
}

.sheet-char-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.sheet-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sheet-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-left: 2px solid var(--ele-color);
    border-radius: var(--radius-sm);
    padding: 9px 11px;
}

.sheet-stat-box span {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.sheet-stat-box strong {
    font-size: 0.85rem;
    color: var(--color-white);
}

/* ==========================================================================
   6. FYNN ZITAT, DISCLAIMER & AUTO-UPDATE TOAST
   ========================================================================== */
.hard-outro-section {
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-surface) 100%);
    padding: 72px 0 48px;
}

.fynn-quote-card {
    max-width: 780px;
    margin: 0 auto 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-left: 4px solid #74c2a8; /* Fynns Anemo-Farbe */
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--inner-highlight), 0 16px 40px rgba(0, 0, 0, 0.65);
}

.fynn-quote-avatar {
    width: 82px;
    height: 82px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid #74c2a8;
    flex-shrink: 0;
}

.fynn-quote-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.fynn-quote-head .section-eyebrow {
    margin-bottom: 0;
}

.quote-lang-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(116, 194, 168, 0.14);
    border: 1px solid rgba(116, 194, 168, 0.45);
    color: #8ce0c4;
}

.fynn-quote-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.65;
    margin: 0;
}

.fynn-quote-note {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hard-disclaimer-bar {
    text-align: center;
    font-size: 0.86rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.hard-update-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1600;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: var(--color-surface-elevated);
    border: 1px solid var(--border-highlight);
    border-left: 4px solid #74c2a8;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.hard-update-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   7. RESPONSIVE & NATIVES MOBILE BOTTOM-SHEET (INKL. iOS SAFARI FIX)
   ========================================================================== */
@media (max-width: 860px) {
    .hard-boss-slide {
        min-height: auto;
        padding: 48px 0;
    }
    .boss-slide-container,
    .hard-boss-slide.align-right .boss-slide-container {
        justify-content: center;
    }
    .boss-challenge-panel,
    .hard-boss-slide.align-right .boss-challenge-panel {
        padding: 22px 20px;
        border-right: 1px solid var(--border-highlight);
        border-left: 3px solid var(--color-brand);
    }
    .fynn-quote-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .fynn-quote-head {
        justify-content: center;
    }
    .team-week-stepper {
        width: 100%;
        justify-content: space-between;
    }
    .week-picker-menu {
        position: static;
        width: 100%;
    }
}

@media (max-width: 640px) {
    body.is-preview-week .hard-hero-slide {
        padding-top: calc(var(--nav-height) + 156px);
    }

    .hard-hover-popover {
        display: none !important;
    }

    /* Direkt an bottom: 0 verankern (top: auto, height: auto) – kein 100dvh-Konflikt mehr! */
    .hard-char-modal[open] {
        --sheet-skirt: 120px;
        position: fixed;
        inset: auto 0 0 0;
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 85dvh;
        overflow: visible;
        background: transparent;
    }

    .hard-char-sheet {
        width: 100%;
        border-radius: 18px 18px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        margin-bottom: calc(var(--sheet-skirt) * -1);
        padding: 0 18px calc(26px + var(--sheet-skirt) + env(safe-area-inset-bottom, 0px));
        max-height: calc(85dvh + var(--sheet-skirt));
        touch-action: pan-y;
    }

    /* Großzügige 38px Touch-Zone für den Drag-Handle */
    .sheet-drag-area {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 38px;
        margin-bottom: 4px;
        cursor: grab;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
    }

    .sheet-drag-area:active {
        cursor: grabbing;
    }

    .sheet-drag-handle {
        display: block;
        width: 44px;
        height: 5px;
        border-radius: 99px;
        background: rgba(255, 255, 255, 0.28);
        transition: background-color 0.15s ease, width 0.15s ease;
    }

    .hard-char-sheet.is-dragging .sheet-drag-handle {
        width: 56px;
        background: var(--ele-color);
    }

    .hard-char-sheet .dossier-close-btn {
        top: 16px;
        right: 16px;
    }

    .hard-char-chip {
        width: 46px;
        height: 46px;
    }
}