/* ============================================================================
   RPG Heroes – Ruhmeshalle / Highscore
   Hochwertiges, edles Designsystem mit animierten SVG-Grafiken.
   ============================================================================
   Diese Datei wird ausschließlich von /highscore geladen (pageStyles) und
   ergänzt die globale app.css – sie definiert KEINE globalen Helfer.
   Alle Komponenten leben unterhalb von .hs-page; Farben greifen auf die
   Tokens aus app.css (:root) zurück, damit Klassen- und Goldsystem
   identisch bleiben.
   ============================================================================ */

.hs-page {
    --hs-gold: #d6ad62;
    --hs-gold-bright: #f0d18b;
    --hs-gold-pale: #f8e6bb;
    --hs-line: rgba(214, 173, 98, .2);
    --hs-line-soft: rgba(235, 210, 164, .1);
    --hs-muted: #8d98aa;
    --hs-muted-deep: #718096;
    min-width: 0;
}

.hs-page *,
.hs-page *::before,
.hs-page *::after { box-sizing: border-box; }

.hs-page :is(a, button):focus-visible {
    outline: 2px solid var(--hs-gold-bright);
    outline-offset: 3px;
    border-radius: .5rem;
}

/* ─── Farbtöne (Statistiken, Chips, Akzente) ─────────────────────────── */
.hs-tone-gold    { --hs-tone: #e3bd78; }
.hs-tone-violet  { --hs-tone: #c084fc; }
.hs-tone-cyan    { --hs-tone: #67e8f9; }
.hs-tone-emerald { --hs-tone: #34d399; }
.hs-tone-red     { --hs-tone: #f87171; }
.hs-tone-orange  { --hs-tone: #fb923c; }
.hs-tone-blue    { --hs-tone: #7fb4f5; }

/* ═══ HERO ═══════════════════════════════════════════════════════════════ */
.hs-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .74fr);
    grid-template-rows: minmax(320px, auto) auto;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 1.9rem;
    border: 1px solid var(--hs-line);
    border-radius: 1.5rem;
    background:
        radial-gradient(ellipse at 82% 26%, rgba(214, 173, 98, .16), transparent 52%),
        radial-gradient(ellipse at 12% 100%, rgba(159, 29, 53, .14), transparent 55%),
        linear-gradient(120deg, #171d29 0%, #10141d 52%, #0a0e15 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .42);
}
.hs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .55;
    background-image:
        linear-gradient(rgba(232, 206, 152, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 206, 152, .035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, transparent 12%, black 58%);
    -webkit-mask-image: linear-gradient(90deg, transparent 12%, black 58%);
}
.hs-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 209, 139, .78), transparent);
}

.hs-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 3.1rem 1.4rem 2.6rem 3.1rem;
}

.hs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .42rem .9rem;
    border: 1px solid rgba(214, 173, 98, .35);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(214, 173, 98, .13), rgba(159, 29, 53, .1));
    color: #f0d18b;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(214, 173, 98, .08), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.hs-eyebrow-line {
    width: 1.4rem;
    height: 1px;
    background: var(--hs-gold);
    box-shadow: 0 0 10px rgba(214, 173, 98, .8);
}
.hs-live-dot {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 9px rgba(74, 222, 128, .85);
    animation: hs-live-pulse 2.4s ease-in-out infinite;
}

.hs-hero-title {
    margin: 1.15rem 0 .7rem;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-weight: 800;
    font-size: clamp(2.3rem, 5vw, 3.7rem);
    line-height: 1.03;
    letter-spacing: .015em;
    background: linear-gradient(120deg, #fde7b8 0%, #f0d18b 24%, #d6ad62 46%, #f9ecc9 62%, #b58a49 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 38px rgba(214, 173, 98, .16);
    animation: hs-title-sheen 10s linear infinite;
}
.hs-hero-subtitle {
    max-width: 34rem;
    margin: 0;
    color: #a8b0bf;
    font-size: .92rem;
    line-height: 1.7;
}

/* ─── Eigener Rang (Gauge-Karte) ──────────────────────────────────────── */
.hs-rank-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    max-width: 30rem;
    margin-top: 1.7rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(214, 173, 98, .3);
    border-radius: 1.15rem;
    background: linear-gradient(150deg, rgba(214, 173, 98, .09), rgba(8, 11, 18, .55));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 16px 36px rgba(0, 0, 0, .26);
}
.hs-rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 209, 139, .6), transparent);
    pointer-events: none;
}
.hs-rank-gauge {
    position: relative;
    display: grid;
    place-items: center;
    width: 5.3rem;
    height: 5.3rem;
    flex: 0 0 auto;
}
.hs-rank-gauge > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.hs-rank-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 6; }
.hs-rank-fill {
    fill: none;
    stroke: var(--hs-gold-bright);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: var(--hs-ring-c, 213.6);
    stroke-dashoffset: var(--hs-ring-offset, 213.6);
    filter: drop-shadow(0 0 6px rgba(240, 209, 139, .45));
    animation: hs-ring-draw 1.7s cubic-bezier(.22, 1, .36, 1) both;
}
.hs-rank-gauge-core {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: .08rem;
    line-height: 1;
}
.hs-rank-gauge-core small { color: var(--hs-gold); font-size: .72rem; font-weight: 800; }
.hs-rank-gauge-core b {
    color: #fff;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.hs-rank-copy { min-width: 0; }
.hs-rank-kicker {
    display: block;
    color: var(--hs-gold);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.hs-rank-line {
    margin-top: .35rem;
    color: #f3ecdc;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}
.hs-rank-line b { color: var(--hs-gold-bright); font-variant-numeric: tabular-nums; }
.hs-rank-hint {
    margin: .4rem 0 0;
    color: #97a2b1;
    font-size: .72rem;
    line-height: 1.55;
}
.hs-rank-hint b { color: #d8dfe9; font-weight: 700; }
.hs-rank-hint .hs-rank-arrow { color: var(--hs-gold-bright); }

.hs-rank-card--guest {
    border-color: rgba(148, 163, 184, .24);
    background: linear-gradient(150deg, rgba(148, 163, 184, .07), rgba(8, 11, 18, .55));
}
.hs-rank-guest-icon {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    flex: 0 0 auto;
    border: 1px solid rgba(214, 173, 98, .34);
    border-radius: .95rem;
    color: var(--hs-gold-bright);
    background: radial-gradient(circle at 50% 30%, rgba(214, 173, 98, .2), rgba(8, 11, 18, .4));
    animation: hs-guest-float 6s ease-in-out infinite;
}
.hs-rank-guest-icon svg { width: 1.5rem; height: 1.5rem; }
.hs-rank-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }

.hs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.55rem;
    padding: .6rem 1.05rem;
    border: 1px solid transparent;
    border-radius: .8rem;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease;
}
.hs-button svg { width: 1rem; height: 1rem; flex: none; }
.hs-button:hover { transform: translateY(-2px); }
.hs-button-primary {
    color: #211a11;
    border-color: #f3d59a;
    background: linear-gradient(135deg, #f3dda9, #c89d5d);
    box-shadow: 0 8px 24px rgba(193, 141, 68, .18);
}
.hs-button-primary:hover { color: #17120d; background: linear-gradient(135deg, #fff0c7, #dcb374); }
.hs-button-quiet {
    color: #e3d2af;
    border-color: rgba(222, 186, 122, .33);
    background: rgba(208, 174, 116, .07);
}
.hs-button-quiet:hover { color: #fff0cb; border-color: rgba(236, 204, 144, .65); }

/* ─── Heldenkunst (animiertes Emblem) ─────────────────────────────────── */
.hs-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    overflow: hidden;
}
.hs-emblem {
    position: relative;
    width: min(100%, 388px);
    max-height: 388px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .38));
}
.hs-emblem-caption {
    position: absolute;
    bottom: .7rem;
    left: 0;
    right: 0;
    color: rgba(214, 173, 98, .5);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .32em;
    text-align: center;
    text-transform: uppercase;
}
.hs-halo { animation: hs-halo-breathe 7.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hs-rays { transform-box: view-box; transform-origin: 50% 50%; animation: hs-rotate 150s linear infinite; }
.hs-orbit-a { transform-box: view-box; transform-origin: 50% 50%; animation: hs-rotate 72s linear infinite; }
.hs-orbit-b { transform-box: view-box; transform-origin: 50% 50%; animation: hs-rotate-rev 96s linear infinite; }
.hs-orbit-node { filter: drop-shadow(0 0 7px rgba(240, 209, 139, .9)); animation: hs-node-pulse 3.8s ease-in-out infinite; }
.hs-orbit-node-alt { animation-delay: -1.9s; fill: #ffe9c4; }
.hs-crown {
    transform-box: fill-box;
    transform-origin: center;
    animation: hs-float 6.5s ease-in-out infinite;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45));
}
.hs-leaf-bright { animation: hs-leaf-glow 5.4s ease-in-out infinite; }
.hs-leaf-bright-2 { animation-delay: -2.7s; }
.hs-plinth-gem { animation: hs-gem 4.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hs-twinkle { transform-box: fill-box; transform-origin: center; animation: hs-twinkle 3.6s ease-in-out infinite; }
.hs-twinkle-2 { animation-delay: -1.2s; }
.hs-twinkle-3 { animation-delay: -2.3s; }
.hs-twinkle-4 { animation-delay: -3s; }

/* ─── Reichs-Statistiken ──────────────────────────────────────────────── */
.hs-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--hs-line-soft);
    background: rgba(4, 10, 15, .38);
}
.hs-metric {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
    padding: 1.05rem 1.15rem 1rem;
    border-right: 1px solid var(--hs-line-soft);
}
.hs-metric:last-child { border-right: 0; }
.hs-metric-icon {
    display: grid;
    place-items: center;
    width: 2.05rem;
    height: 2.05rem;
    border: 1px solid color-mix(in srgb, var(--hs-tone, var(--hs-gold)) 36%, transparent);
    border-radius: .62rem;
    color: var(--hs-tone, var(--hs-gold));
    background: color-mix(in srgb, var(--hs-tone, var(--hs-gold)) 10%, transparent);
    transition: transform .25s ease;
}
.hs-metric:hover .hs-metric-icon { transform: translateY(-2px) scale(1.06); }
.hs-metric-icon svg { width: 1.02rem; height: 1.02rem; }
.hs-metric-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #8b96a4;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hs-metric-value {
    color: #f4ead2;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.hs-metric-value small { margin-left: .3rem; color: var(--hs-tone, var(--hs-gold)); font-size: .68rem; font-weight: 700; }
.hs-metric-note { color: #77808d; font-size: .62rem; line-height: 1.4; }
.hs-metric-spark {
    width: 100%;
    height: 1.15rem;
    margin-top: auto;
    color: var(--hs-tone, var(--hs-gold));
    opacity: .8;
}
.hs-spark-line {
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 130;
    stroke-dashoffset: 130;
    animation: hs-draw 2.3s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hs-spark-dot { fill: currentColor; opacity: 0; animation: hs-dot-in .5s ease 1.9s forwards; }

/* ─── Ornament-Trenner ────────────────────────────────────────────────── */
.hs-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.4rem .25rem 1.7rem;
    color: var(--hs-gold);
}
.hs-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
    opacity: .34;
}
.hs-divider-line.rev { transform: scaleX(-1); }
.hs-divider-gem { display: grid; place-items: center; }
.hs-divider-gem svg { width: 1.1rem; height: 1.1rem; animation: hs-gem 4.4s ease-in-out infinite; }

/* ═══ PODIUM DER LEGENDEN ═══════════════════════════════════════════════ */
.hs-podium-section { margin-bottom: .4rem; }
.hs-podium-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 .25rem 1.2rem;
}
.hs-podium-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--hs-gold);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.hs-podium-kicker i {
    display: block;
    width: 1.5rem;
    height: 1px;
    background: var(--hs-gold);
    box-shadow: 0 0 10px rgba(214, 173, 98, .7);
}
.hs-podium-head p { margin: .4rem 0 0; color: var(--hs-muted-deep); font-size: .72rem; }

.hs-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}
.hs-podium-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.5rem 1.35rem 1.05rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 1.35rem;
    background: linear-gradient(158deg, rgba(20, 26, 39, .94), rgba(8, 11, 18, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 55px rgba(0, 0, 0, .32);
    text-align: center;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .3s ease;
}
.hs-podium-card:hover { transform: translateY(-4px); }
.hs-podium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, var(--hs-podium-glow, transparent), transparent 58%);
}
.hs-podium-r1 {
    padding-top: 2.3rem;
    padding-bottom: 1.25rem;
    border-color: rgba(240, 209, 139, .42);
    --hs-podium-glow: rgba(214, 173, 98, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 70px rgba(0, 0, 0, .4), 0 0 42px rgba(214, 173, 98, .1);
}
.hs-podium-r1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -45%;
    width: 55%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .05) 50%, transparent 60%);
    animation: hs-sheen 6.5s ease-in-out infinite;
}
.hs-podium-r2 { border-color: rgba(203, 213, 225, .24); --hs-podium-glow: rgba(203, 213, 225, .1); }
.hs-podium-r3 { border-color: rgba(217, 152, 96, .26); --hs-podium-glow: rgba(217, 119, 6, .12); }
.hs-podium-card:hover { border-color: color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 55%, transparent); }
.hs-podium-r1 { --hs-podium-accent: #f0d18b; }
.hs-podium-r2 { --hs-podium-accent: #cbd5e1; }
.hs-podium-r3 { --hs-podium-accent: #e0894f; }

.hs-podium-crown {
    position: absolute;
    top: -.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--hs-gold-bright);
    filter: drop-shadow(0 0 14px rgba(240, 209, 139, .55));
    pointer-events: none;
}
.hs-podium-crown svg { display: block; width: 2.3rem; height: 2.3rem; animation: hs-float 5.5s ease-in-out infinite; }

.hs-podium-medal {
    position: relative;
    display: grid;
    place-items: center;
    width: 5.1rem;
    height: 5.1rem;
    margin: 0 auto .95rem;
}
.hs-medal-ring,
.hs-medal-ring-rev { position: absolute; }
.hs-medal-ring { inset: 0; animation: hs-rotate 30s linear infinite; }
.hs-medal-ring-rev { inset: .5rem; animation: hs-rotate-rev 40s linear infinite; }
.hs-medal-ring circle,
.hs-medal-ring-rev circle { fill: none; }
.hs-medal-core {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3.05rem;
    height: 3.05rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background:
        radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 34%, transparent), rgba(8, 11, 18, .82) 72%);
    box-shadow: 0 0 22px color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 28%, transparent), inset 0 1px 0 rgba(255, 255, 255, .16);
    color: var(--hs-podium-accent, var(--hs-gold));
}
.hs-medal-core svg { width: 1.5rem; height: 1.5rem; }
.hs-podium-r1 .hs-medal-core { animation: hs-champion-core 3.6s ease-in-out infinite; }

.hs-podium-label {
    color: var(--hs-podium-accent, var(--hs-gold));
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .26em;
    text-transform: uppercase;
}
.hs-podium-name {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: .5rem;
}
.hs-podium-name a {
    color: #fff;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.18rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}
.hs-podium-name a:hover { color: var(--hs-gold-bright); }
.hs-podium-classtitle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: .5rem;
    color: var(--hs-muted-deep);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hs-podium-classtitle .hs-classline { display: inline-flex; align-items: center; gap: .35rem; }
.hs-podium-classtitle svg { width: .9rem; height: .9rem; }
.hs-podium-classtitle .hs-dot { color: #4c5766; }

.hs-podium-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .85rem;
}
.hs-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .7rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: .62rem;
    color: #aab4c2;
    background: rgba(0, 0, 0, .3);
    font-size: .68rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.hs-chip svg { width: .85rem; height: .85rem; }
.hs-chip-level { color: var(--hs-podium-accent, var(--hs-gold)); border-color: color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 34%, transparent); background: color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 9%, transparent); }

.hs-podium-meter { margin-top: .85rem; }
.hs-podium-meter .hs-meter { height: 6px; }
.hs-podium-plinth {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin: 1.15rem -1.35rem -1.05rem;
    padding: .62rem 1rem;
    border-top: 1px solid var(--hs-line-soft);
    background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(214, 173, 98, .05));
    color: color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 82%, #fff);
}
.hs-podium-r1 .hs-podium-plinth { margin-bottom: -1.25rem; padding: .72rem 1rem; }
.hs-roman {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .3em;
}
.hs-podium-plinth small {
    color: #77808d;
    font-size: .54rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

/* ═══ KATEGORIE-TABS ════════════════════════════════════════════════════ */
.hs-tabbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .9rem 1.2rem;
    margin: 1.9rem 0 1.1rem;
    padding: .85rem .95rem;
    border: 1px solid var(--hs-line);
    border-radius: 1.15rem;
    background: linear-gradient(155deg, rgba(20, 26, 39, .8), rgba(8, 11, 18, .78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.hs-tabs { display: flex; flex-wrap: wrap; gap: .42rem; }
.hs-tab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .52rem .85rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: .82rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, .03);
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hs-tab-icon {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    flex: none;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: .5rem;
    color: var(--hs-tab-accent, #cbd5e1);
    background: rgba(255, 255, 255, .04);
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hs-tab-icon svg { width: .95rem; height: .95rem; }
.hs-tab:hover {
    color: #f8fafc;
    border-color: color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 46%, transparent);
    transform: translateY(-1px);
}
.hs-tab.is-active {
    color: #f8fafc;
    border-color: color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 62%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 15%, transparent), rgba(159, 29, 53, .06));
    box-shadow: 0 0 20px color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 14%, transparent), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.hs-tab.is-active .hs-tab-icon {
    color: var(--hs-tab-accent, var(--hs-gold));
    border-color: color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 42%, transparent);
    background: color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 13%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 20%, transparent);
}
.hs-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.2rem;
    padding: 0 .34rem;
    border-radius: .4rem;
    color: #aeb9c9;
    background: rgba(0, 0, 0, .42);
    font-size: .58rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.hs-tab.is-active .hs-tab-count {
    color: #fff;
    background: color-mix(in srgb, var(--hs-tab-accent, var(--hs-gold)) 22%, transparent);
}
.hs-tab[data-tab="level"]    { --hs-tab-accent: #c084fc; }
.hs-tab[data-tab="arena"]    { --hs-tab-accent: #f87171; }
.hs-tab[data-tab="hunter"]   { --hs-tab-accent: #34d399; }
.hs-tab[data-tab="wealth"]   { --hs-tab-accent: #f0d18b; }
.hs-tab[data-tab="glory"]    { --hs-tab-accent: #fb923c; }
.hs-tab[data-tab="prestige"] { --hs-tab-accent: #67e8f9; }
.hs-tab[data-tab="rift"]     { --hs-tab-accent: #a78bfa; }

.hs-tabbar-meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #8d98aa;
    font-size: .68rem;
    font-weight: 600;
}
.hs-tabbar-meta b { color: var(--hs-gold-bright); font-weight: 800; font-variant-numeric: tabular-nums; }
.hs-tabbar-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem .62rem;
    border: 1px solid var(--hs-line);
    border-radius: .6rem;
    color: #b9c2ce;
    background: rgba(0, 0, 0, .3);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hs-tabbar-chip svg { width: .8rem; height: .8rem; color: var(--hs-gold); }

/* ═══ RANGLISTEN (BOARDS) ═══════════════════════════════════════════════ */
.hs-board {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(148, 163, 184, .15);
    border-radius: 1.35rem;
    background: linear-gradient(158deg, rgba(20, 26, 39, .92), rgba(8, 11, 18, .9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 60px rgba(0, 0, 0, .32);
}
.hs-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 72%, transparent), transparent);
}
.hs-board[data-board="level"]    { --hs-board-accent: #c084fc; --hs-bar-a: #7c3aed; --hs-bar-b: #c084fc; }
.hs-board[data-board="arena"]    { --hs-board-accent: #f87171; --hs-bar-a: #b91c1c; --hs-bar-b: #f87171; }
.hs-board[data-board="hunter"]   { --hs-board-accent: #34d399; --hs-bar-a: #047857; --hs-bar-b: #34d399; }
.hs-board[data-board="wealth"]   { --hs-board-accent: #f0d18b; --hs-bar-a: #b58a49; --hs-bar-b: #f0d18b; }
.hs-board[data-board="glory"]    { --hs-board-accent: #fb923c; --hs-bar-a: #c2410c; --hs-bar-b: #fb923c; }
.hs-board[data-board="prestige"] { --hs-board-accent: #67e8f9; --hs-bar-a: #0e7490; --hs-bar-b: #67e8f9; }
.hs-board[data-board="rift"]     { --hs-board-accent: #a78bfa; --hs-bar-a: #4338ca; --hs-bar-b: #a78bfa; }

.hs-board-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-wrap: wrap;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.hs-board-icon {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    flex: none;
    border: 1px solid color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 38%, transparent);
    border-radius: .85rem;
    color: var(--hs-board-accent, var(--hs-gold));
    background: color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 10%, transparent);
    box-shadow: 0 0 16px color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 12%, transparent);
}
.hs-board-icon svg { width: 1.28rem; height: 1.28rem; animation: hs-icon-drift 7s ease-in-out infinite; }
.hs-board-title {
    margin: 0;
    color: #f1ece0;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: .015em;
}
.hs-board-sub { margin: .22rem 0 0; color: var(--hs-muted-deep); font-size: .7rem; }
.hs-board-side {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-left: auto;
    flex-wrap: wrap;
}
.hs-board-own {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .4rem .68rem;
    border: 1px solid color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 30%, transparent);
    border-radius: .62rem;
    color: #b9c2ce;
    background: color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 7%, transparent);
    font-size: .62rem;
    font-weight: 700;
}
.hs-board-own svg { width: .82rem; height: .82rem; color: var(--hs-board-accent, var(--hs-gold)); }
.hs-board-own b { color: #fff; font-variant-numeric: tabular-nums; }
.hs-board-count {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .68rem;
    border: 1px solid var(--hs-line-soft);
    border-radius: .62rem;
    color: #aeb9c9;
    background: rgba(0, 0, 0, .32);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hs-board-count svg { width: .8rem; height: .8rem; color: var(--hs-gold); }

.hs-board-list { margin: 0; padding: 0; list-style: none; }
.hs-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    padding: .78rem 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, .045);
    transition: background .22s ease, transform .22s ease, border-color .22s ease;
}
.hs-board-list .hs-row:first-child { border-top: 0; }
.hs-row:nth-child(odd) { background: rgba(255, 255, 255, .012); }
.hs-row:hover {
    background: linear-gradient(90deg, rgba(214, 173, 98, .055), rgba(214, 173, 98, .012) 55%, transparent);
    transform: translateX(2px);
}
.hs-row.is-me {
    background: linear-gradient(90deg, rgba(159, 29, 53, .16), rgba(159, 29, 53, .04) 52%, transparent);
    border-left: 2px solid var(--color-rpg-accent, #9f1d35);
}
.hs-row.is-me .hs-row-name a { color: #fca5a5; }
.hs-row-extra {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--hs-muted-deep);
    font-size: .62rem;
    font-weight: 600;
}
.hs-row-extra svg { width: .78rem; height: .78rem; opacity: .7; }

/* Rang-Abzeichen */
.hs-rank {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    flex: none;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: .8rem;
    color: #94a3b8;
    background: rgba(0, 0, 0, .3);
}
.hs-rank svg { width: 1.3rem; height: 1.3rem; }
.hs-rank-r1 {
    color: var(--hs-gold-pale);
    border-color: rgba(240, 209, 139, .55);
    background: radial-gradient(circle at 50% 28%, rgba(251, 191, 36, .3), rgba(8, 11, 18, .65) 74%);
    box-shadow: 0 0 18px rgba(251, 191, 36, .2);
}
.hs-rank-r2 {
    color: #d7dee8;
    border-color: rgba(203, 213, 225, .42);
    background: radial-gradient(circle at 50% 28%, rgba(203, 213, 225, .24), rgba(8, 11, 18, .65) 74%);
}
.hs-rank-r3 {
    color: #eda97a;
    border-color: rgba(217, 119, 6, .42);
    background: radial-gradient(circle at 50% 28%, rgba(217, 119, 6, .26), rgba(8, 11, 18, .65) 74%);
}
.hs-rank-shine {
    position: absolute;
    inset: -30%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .32) 50%, transparent 60%);
    transform: translateX(-160%);
    animation: hs-shine 4.8s ease-in-out infinite;
}
.hs-rank-num {
    color: #7d8b9e;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: .84rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Klassen-Emblem */
.hs-class-mark {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    border: 1px solid color-mix(in srgb, var(--hs-class, var(--hs-gold)) 40%, transparent);
    border-radius: .8rem;
    color: var(--hs-class, var(--hs-gold));
    background:
        radial-gradient(circle at 50% 26%, color-mix(in srgb, var(--hs-class, var(--hs-gold)) 22%, transparent), rgba(8, 11, 18, .5) 76%);
    transition: transform .25s ease, box-shadow .25s ease;
}
.hs-class-mark svg { width: 1.16rem; height: 1.16rem; }
.hs-row:hover .hs-class-mark,
.hs-podium-card:hover .hs-class-mark { transform: scale(1.08); box-shadow: 0 0 14px color-mix(in srgb, var(--hs-class, var(--hs-gold)) 24%, transparent); }
.hs-class-warrior { --hs-class: var(--rpg-warrior, #d16a5d); }
.hs-class-mage    { --hs-class: var(--rpg-mage, #b79af7); }
.hs-class-rogue   { --hs-class: var(--rpg-rogue, #3fc49a); }
.hs-class-priest  { --hs-class: var(--rpg-priest-gold, #d6ad62); }
.hs-class-default { --hs-class: #94a3b8; }
.hs-class-accent { color: var(--hs-class, var(--hs-gold)); }

/* Zeileninhalt */
.hs-row-main { flex: 1; min-width: 0; }
.hs-row-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
}
.hs-row-name a {
    min-width: 0;
    max-width: 100%;
    color: #f4f6f9;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease;
}
.hs-row-name a:hover { color: var(--hs-gold-bright); }
.hs-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .2rem;
    color: var(--hs-muted-deep);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hs-row-meta svg { width: .78rem; height: .78rem; }
.hs-dot-sep { color: #4c5766; }
.hs-me-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .16rem .5rem;
    border: 1px solid rgba(239, 68, 68, .35);
    border-radius: .45rem;
    color: #fca5a5;
    background: rgba(159, 29, 53, .24);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hs-me-chip svg { width: .72rem; height: .72rem; }
.hs-title-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    max-width: 12rem;
    padding: .14rem .45rem;
    border-radius: .45rem;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .05em;
    overflow: hidden;
    white-space: nowrap;
}

/* Fortschrittsbalken */
.hs-row-meter { width: 9.5rem; flex: none; }
.hs-meter {
    position: relative;
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7);
}
.hs-meter-fill {
    position: relative;
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hs-bar-a, var(--hs-gold)), var(--hs-bar-b, var(--hs-gold-bright)));
    box-shadow: 0 0 10px color-mix(in srgb, var(--hs-bar-b, var(--hs-gold-bright)) 42%, transparent);
}
.hs-meter-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .48) 50%, transparent 70%);
    transform: translateX(-130%);
    animation: hs-meter-shine 3.6s ease-in-out infinite;
}
.hs-row-meter .hs-meter-mini {
    margin-top: .3rem;
    color: var(--hs-muted-deep);
    font-size: .56rem;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Wert-Chip */
.hs-value-chip {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    flex: none;
    padding: .46rem .7rem;
    border: 1px solid color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 32%, transparent);
    border-radius: .68rem;
    color: var(--hs-board-accent, var(--hs-gold));
    background: color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 8%, transparent);
    font-size: .72rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.hs-value-chip svg { width: .9rem; height: .9rem; }
.hs-value-chip small {
    color: color-mix(in srgb, var(--hs-board-accent, var(--hs-gold)) 62%, #fff 8%);
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .72;
}

/* Leerzustand */
.hs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 3.1rem 1.5rem 3.3rem;
    text-align: center;
    color: #94a3b8;
}
.hs-empty-art { position: relative; display: grid; place-items: center; width: 6.8rem; height: 6.8rem; margin-bottom: .4rem; }
.hs-empty-art svg { width: 100%; height: 100%; }
.hs-empty-orbit { transform-box: view-box; transform-origin: 50% 50%; animation: hs-rotate 30s linear infinite; }
.hs-empty-orbit-rev { transform-box: view-box; transform-origin: 50% 50%; animation: hs-rotate-rev 40s linear infinite; }
.hs-empty-title {
    margin: 0;
    color: #f1ece0;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.08rem;
    font-weight: 700;
}
.hs-empty p { max-width: 26rem; margin: 0; color: var(--hs-muted); font-size: .78rem; line-height: 1.6; }
.hs-empty .hs-button { margin-top: .7rem; }

/* ═══ GILDEN ════════════════════════════════════════════════════════════ */
.hs-guild-panel { margin-top: 2.3rem; }
.hs-guild-meta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--hs-muted-deep);
    font-size: .62rem;
    font-weight: 700;
}
.hs-guild-meta svg { width: .78rem; height: .78rem; }
.hs-guild-crest {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.95rem;
    flex: none;
    transition: transform .25s ease;
}
.hs-guild-crest svg { width: 100%; height: 100%; }
.hs-row:hover .hs-guild-crest { transform: translateY(-2px) scale(1.05); }
.hs-guild-name {
    min-width: 0;
    max-width: 100%;
    color: #f4f6f9;
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: .9rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hs-guild-leader { color: var(--hs-gold); font-weight: 700; }

/* ═══ PAGINATION ════════════════════════════════════════════════════════ */
.hs-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 1.25rem;
}
.hs-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .8rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: .78rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, .03);
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hs-page-btn svg { width: .9rem; height: .9rem; }
.hs-page-btn:hover {
    color: #f8fafc;
    border-color: rgba(214, 173, 98, .45);
    transform: translateY(-1px);
}
.hs-page-num { font-variant-numeric: tabular-nums; }
.hs-page-num.is-current {
    color: var(--hs-gold-bright);
    border-color: rgba(214, 173, 98, .6);
    background: linear-gradient(135deg, rgba(214, 173, 98, .17), rgba(159, 29, 53, .08));
    box-shadow: 0 0 18px rgba(214, 173, 98, .12), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.hs-page-gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 2.5rem;
    color: #6b7686;
    font-weight: 800;
}
.hs-page-meta {
    margin-top: .7rem;
    color: var(--hs-muted-deep);
    font-size: .68rem;
    text-align: center;
}
.hs-page-meta b { color: #cbd5e1; font-variant-numeric: tabular-nums; }

/* ═══ ANIMATIONEN ═══════════════════════════════════════════════════════ */
@keyframes hs-rotate { to { transform: rotate(360deg); } }
@keyframes hs-rotate-rev { to { transform: rotate(-360deg); } }
@keyframes hs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes hs-halo-breathe { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes hs-node-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes hs-leaf-glow { 0%, 100% { opacity: .5; } 50% { opacity: .95; } }
@keyframes hs-gem { 0%, 100% { opacity: .6; filter: drop-shadow(0 0 0 transparent); } 50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(240, 209, 139, .7)); } }
@keyframes hs-twinkle { 0%, 100% { opacity: .25; transform: scale(.72); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes hs-live-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes hs-title-sheen { to { background-position: 220% center; } }
@keyframes hs-ring-draw { from { stroke-dashoffset: var(--hs-ring-c, 213.6); } to { stroke-dashoffset: var(--hs-ring-offset, 213.6); } }
@keyframes hs-draw { to { stroke-dashoffset: 0; } }
@keyframes hs-dot-in { to { opacity: 1; } }
@keyframes hs-shine { 0% { transform: translateX(-160%); } 55%, 100% { transform: translateX(180%); } }
@keyframes hs-sheen { 0% { transform: translateX(-30%); opacity: 0; } 18% { opacity: 1; } 62%, 100% { transform: translateX(300%); opacity: 0; } }
@keyframes hs-meter-shine { 0% { transform: translateX(-130%); } 52%, 100% { transform: translateX(230%); } }
@keyframes hs-champion-core {
    0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 26%, transparent), inset 0 1px 0 rgba(255, 255, 255, .16); }
    50% { box-shadow: 0 0 34px color-mix(in srgb, var(--hs-podium-accent, var(--hs-gold)) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, .2); }
}
@keyframes hs-guest-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes hs-icon-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* ═══ RESPONSIVE ════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .hs-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hs-metric:nth-child(3n) { border-right: 0; }
    .hs-metric:nth-child(-n+3) { border-bottom: 1px solid var(--hs-line-soft); }
}
@media (max-width: 1024px) {
    .hs-hero { grid-template-columns: minmax(0, 1fr) 330px; }
    .hs-hero-copy { padding: 2.5rem 1.2rem 2.2rem 2.4rem; }
    .hs-row { padding: .72rem 1.1rem; }
    .hs-board-head { padding: 1.05rem 1.1rem; }
    .hs-podium-card { padding: 1.3rem 1.1rem .95rem; }
    .hs-podium-plinth { margin: 1.05rem -1.1rem -.95rem; }
}
@media (max-width: 900px) {
    .hs-hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
    .hs-hero-copy { padding: 2.4rem 1.6rem .6rem; }
    .hs-hero-art { min-height: 260px; max-height: 300px; }
    .hs-emblem { width: min(100%, 300px); max-height: 300px; }
    .hs-emblem-caption { bottom: .2rem; }
    .hs-row-meter { width: 6.5rem; }
    .hs-podium { grid-template-columns: 1fr; gap: .9rem; }
    .hs-podium-r1 { order: -1; }
}
@media (max-width: 760px) {
    .hs-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-metric { padding: .9rem .95rem; border-right: 1px solid var(--hs-line-soft); border-bottom: 1px solid var(--hs-line-soft); }
    .hs-metric:nth-child(3n) { border-right: 1px solid var(--hs-line-soft); }
    .hs-metric:nth-child(2n) { border-right: 0; }
    .hs-metric:nth-last-child(-n+2) { border-bottom: 0; }
    .hs-rank-card { align-items: flex-start; }
    .hs-row-meter { display: none; }
    .hs-class-mark { display: none; }
    .hs-guild-crest { width: 2.35rem; height: 2.6rem; }
    .hs-row { gap: .7rem; padding: .72rem .9rem; }
    .hs-board-side { width: 100%; margin-left: 0; }
    .hs-board-head { gap: .75rem; }
    .hs-tabbar { justify-content: center; }
    .hs-tabs { justify-content: center; }
    .hs-tabbar-meta { justify-content: center; }
}
@media (max-width: 560px) {
    .hs-hero { border-radius: 1.15rem; }
    .hs-hero-copy { padding: 2rem 1.15rem .4rem; }
    .hs-hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
    .hs-hero-subtitle { font-size: .84rem; }
    .hs-rank-card { flex-direction: column; align-items: center; text-align: center; padding: .95rem 1rem; }
    .hs-rank-copy { text-align: center; }
    .hs-rank-actions { justify-content: center; }
    .hs-divider { margin: 1.9rem .25rem 1.3rem; }
    .hs-podium-head { flex-direction: column; align-items: flex-start; }
    .hs-rank { width: 2.3rem; height: 2.3rem; }
    .hs-value-chip { padding: .42rem .55rem; font-size: .66rem; }
    .hs-value-chip small { display: none; }
    .hs-row-extra { display: none; }
    .hs-board-count { display: none; }
    .hs-tab { padding: .48rem .62rem; font-size: .68rem; }
    .hs-tab-count { display: none; }
    .hs-page-btn { min-width: 2.3rem; height: 2.3rem; padding: 0 .55rem; }
    .hs-btn-label { display: none; }
    .hs-empty { padding: 2.4rem 1.1rem; }
}
@media (max-width: 380px) {
    .hs-emblem { width: min(100%, 250px); max-height: 250px; }
    .hs-hero-art { min-height: 220px; }
    .hs-metrics { grid-template-columns: 1fr; }
    .hs-metric { border-right: 0 !important; }
    .hs-metric:nth-last-child(-n+2) { border-bottom: 1px solid var(--hs-line-soft); }
    .hs-metric:last-child { border-bottom: 0; }
}

/* ═══ BARRIEREFREIHEIT / REDUZIERTE BEWEGUNG ════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .hs-page *,
    .hs-page *::before,
    .hs-page *::after {
        animation: none !important;
        transition: none !important;
    }
    .hs-spark-line { stroke-dashoffset: 0; }
    .hs-spark-dot { opacity: 1; }
    .hs-rank-fill { stroke-dashoffset: var(--hs-ring-offset, 213.6); }
}

/* ═══ ERGÄNZUNGEN AUS DEM MARKUP ════════════════════════════════════════ */
.hs-emblem > svg { display: block; width: 100%; height: auto; }
.hs-podium-medal { color: var(--hs-podium-accent, var(--hs-gold)); }
.hs-medal-num {
    font-family: 'Cinzel', 'Cinzel Fallback', serif;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.hs-podium--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs-podium--solo { grid-template-columns: minmax(0, 24rem); justify-content: center; }
.hs-board[data-board="guild"] { --hs-board-accent: #cbd5e1; --hs-bar-a: #55657d; --hs-bar-b: #cbd5e1; }
.hs-guild-crest { color: var(--hs-board-accent, var(--hs-gold)); }
.hs-laurel-stem {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: hs-draw 2.4s .25s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hs-rank-arrow svg { width: .85rem; height: .85rem; vertical-align: -.15em; }
.hs-guild-leader { text-transform: none; }

@media (prefers-reduced-motion: reduce) {
    .hs-laurel-stem { stroke-dashoffset: 0; }
}

