/* CSS von tmp/page_leaderboard.php — ausgelagert aus dem Inline-<style>-Block.
 * Eingebunden ueber $pageCss in tmp/header.php. */

/* ═══════════════════════════════════════════════════════════════
   Leaderboard — Dark Luxury Enterprise (.lb-*)
═══════════════════════════════════════════════════════════════ */

/* ── Animated background ─────────────────────────────────────── */
.lb-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.lb-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,.026) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: lbGrid 30s linear infinite;
}
@keyframes lbGrid {
    from { background-position: 0 0; }
    to   { background-position: 64px 64px; }
}
.lb-bg-stars {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 18% 32%, rgba(232,205,128,.55), transparent),
        radial-gradient(1px 1px at 42% 68%, rgba(232,205,128,.32), transparent),
        radial-gradient(1.5px 1.5px at 58% 18%, rgba(232,205,128,.42), transparent),
        radial-gradient(1px 1px at 76% 58%, rgba(232,205,128,.28), transparent),
        radial-gradient(1px 1px at 88% 26%, rgba(232,205,128,.5), transparent),
        radial-gradient(1.5px 1.5px at 31% 82%, rgba(232,205,128,.3), transparent),
        radial-gradient(1px 1px at 66% 88%, rgba(232,205,128,.4), transparent),
        radial-gradient(1px 1px at 8% 62%, rgba(232,205,128,.25), transparent);
    animation: lbTwinkle 7s ease-in-out infinite alternate;
}
@keyframes lbTwinkle {
    from { opacity: .35; }
    to   { opacity: 1; }
}
.lb-bg-orb-a {
    position: absolute; top: -20%; left: -10%;
    width: 760px; height: 760px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,.04) 0%, transparent 65%);
    animation: lbOrbA 24s ease-in-out infinite alternate;
}
.lb-bg-orb-b {
    position: absolute; bottom: -20%; right: -8%;
    width: 680px; height: 680px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,.025) 0%, transparent 65%);
    animation: lbOrbB 32s ease-in-out infinite alternate;
}
.lb-bg-aura {
    position: absolute; top: -24%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 520px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,.055) 0%, transparent 70%);
    filter: blur(30px);
}
@keyframes lbOrbA {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(50px,35px) scale(1.1); }
}
@keyframes lbOrbB {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(-35px,-50px) scale(1.08); }
}
.lb-bg-grain {
    position: absolute; inset: 0; opacity: .018;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='380'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='380' height='380' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Shell ───────────────────────────────────────────────────── */
.lb-shell {
    position: relative; z-index: 1;
    max-width: 1120px; margin: 0 auto;
    padding: 2.4rem 1.5rem 7rem;
}

/* ── Watermark ───────────────────────────────────────────────── */
.lb-watermark {
    position: absolute; top: 1.5rem; right: 1.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 9rem; font-weight: 300; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201,168,76,.04);
    user-select: none; pointer-events: none; letter-spacing: .1em;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.lb-hero {
    display: flex; flex-direction: column; align-items: center;
    margin-bottom: 3rem;
    animation: lbFadeUp .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes lbFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lb-hero-text { text-align: center; order: 2; }
.lb-hero-visual { order: 1; margin-bottom: 1.2rem; }

@media (min-width: 960px) {
    .lb-hero {
        flex-direction: row; align-items: center; justify-content: center;
        gap: 3.5rem; text-align: left;
    }
    .lb-hero-text { order: 1; text-align: left; flex: 1; min-width: 0; }
    .lb-hero-visual {
        order: 2; flex-shrink: 0; margin-bottom: 0;
        opacity: 0; transform: scale(.88) translateX(18px);
        animation: lbHeroReveal 1.1s cubic-bezier(.22,1,.36,1) .35s forwards,
                   lbGlowPulse 2.6s cubic-bezier(.22,1,.36,1) .35s forwards;
    }
    .lb-hero-text .lb-kicker { justify-content: flex-start; }
    .lb-hero-text .lb-subtitle { margin: 0 0 2rem; }
    .lb-hero-text .lb-hero-ornament { justify-content: flex-start; }
}
@keyframes lbHeroReveal { to { opacity: 1; transform: scale(1) translateX(0); } }
@keyframes lbGlowPulse {
    0%   { filter: drop-shadow(0 0 0 transparent); }
    30%  { filter: drop-shadow(0 0 32px rgba(201,168,76,.45)); }
    70%  { filter: drop-shadow(0 0 18px rgba(201,168,76,.25)); }
    100% { filter: drop-shadow(0 0 24px rgba(201,168,76,.12)); }
}

.lb-kicker {
    display: inline-flex; align-items: center; gap: .7rem;
    font-family: system-ui, sans-serif;
    font-size: .57rem; letter-spacing: .32em; text-transform: uppercase;
    color: rgba(232,205,128,.72); margin-bottom: 1.5rem;
}
.lb-kicker-line {
    width: 30px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,.35));
}
.lb-kicker-line.rev { background: linear-gradient(to left, transparent, rgba(201,168,76,.35)); }
.lb-kicker-dot {
    width: 3px; height: 3px; border-radius: 50%;
    background: rgba(201,168,76,.4);
}
.lb-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300; letter-spacing: .1em;
    color: #f0e6d0; line-height: 1; margin-bottom: .85rem;
}
.lb-title em { font-style: italic; color: #c9a84c; }
.lb-subtitle {
    font-family: system-ui, sans-serif;
    font-size: .75rem; color: #8a8170;
    letter-spacing: .04em; line-height: 1.6; max-width: 380px;
}
.lb-hero-ornament {
    display: flex; align-items: center; justify-content: center; gap: .8rem;
}
.lb-hero-ornament-line {
    width: 55px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,.25));
}
.lb-hero-ornament-line.rev { background: linear-gradient(to left, transparent, rgba(201,168,76,.25)); }

/* ── Hero emblem (animated SVG) ──────────────────────────────── */
.lb-hero-emblem {
    position: relative; width: 150px; height: 150px;
}
@media (min-width: 960px) { .lb-hero-emblem { width: 180px; height: 180px; } }
.lb-emblem {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.lb-emblem-outer {
    animation: lbSpin 42s linear infinite;
    transform-origin: center;
}
.lb-emblem-star {
    animation: lbSpinReverse 30s linear infinite;
    transform-origin: center;
}
.lb-emblem-core {
    animation: lbBreathe 4.5s ease-in-out infinite;
    transform-origin: center;
}
@keyframes lbSpin { to { transform: rotate(360deg); } }
@keyframes lbSpinReverse { to { transform: rotate(-360deg); } }
@keyframes lbBreathe {
    0%, 100% { opacity: .6; transform: scale(.96); }
    50%      { opacity: 1;  transform: scale(1.04); }
}

/* ── Reichs-Kennzahlen ───────────────────────────────────────── */
.lb-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .6rem;
    margin-bottom: 3.5rem;
}
.lb-stat {
    position: relative; overflow: hidden;
    background: rgba(201,168,76,.022);
    border: 1px solid rgba(201,168,76,.08);
    border-radius: 6px;
    padding: .95rem .65rem .85rem;
    text-align: center;
    transition: border-color .2s, background .2s, transform .2s;
}
.lb-stat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.25), transparent);
}
.lb-stat:hover {
    background: rgba(201,168,76,.035);
    border-color: rgba(201,168,76,.16);
    transform: translateY(-2px);
}
.lb-stat svg {
    width: 17px; height: 17px;
    color: rgba(201,168,76,.78);
    margin-bottom: .45rem;
}
.lb-stat-label {
    font-family: system-ui, sans-serif;
    font-size: .46rem; letter-spacing: .16em; text-transform: uppercase;
    color: #8a8170; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.lb-stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem; font-weight: 400; line-height: 1;
    color: rgba(201,168,76,.82);
    margin-top: .3rem;
}

/* ── Tabs ─────────────────────────────────────────────────────── */
.lb-tabs {
    display: flex; align-items: center; justify-content: center;
    gap: .25rem; flex-wrap: wrap;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(201,168,76,.07);
}
.lb-tab {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: system-ui, sans-serif;
    font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: #8a8170;
    padding: .75rem 1.3rem;
    background: none; border: none; cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    position: relative;
    transition: color .2s, border-color .2s;
}
.lb-tab-icon { position: relative; display: inline-flex; }
.lb-tab-icon svg { width: 15px; height: 15px; flex-shrink: 0; }
.lb-tab:hover { color: rgba(232,205,128,.72); }
.lb-tab.is-active {
    color: rgba(201,168,76,.85);
    border-bottom-color: rgba(201,168,76,.5);
}
.lb-tab.is-active .lb-tab-icon::after {
    content: '';
    position: absolute; top: -4px; right: -4px;
    width: 4px; height: 4px; border-radius: 50%;
    background: #c9a84c;
    box-shadow: 0 0 8px rgba(201,168,76,.9);
    animation: lbPing 2.2s ease-out infinite;
}
@keyframes lbPing {
    0%   { transform: scale(.6); opacity: 1; }
    70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ── Podium ───────────────────────────────────────────────────── */
.lb-podium {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 1rem; align-items: end;
    margin-bottom: 3rem;
}
.lb-pod-gap { /* placeholder when rank 2 or 3 missing */ }

.lb-pod {
    display: flex; flex-direction: column; align-items: center;
    cursor: default;
}
.lb-pod-inner {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; padding: 1.2rem .75rem 1.4rem;
    background: rgba(201,168,76,.02);
    border: 1px solid rgba(201,168,76,.06);
    border-bottom: none;
    position: relative;
    transition: background .2s;
}
.lb-pod-inner:hover { background: rgba(201,168,76,.035); }

/* Elevated step for each rank */
.lb-pod-1 .lb-pod-inner { padding-top: 2.9rem; }
.lb-pod-2 .lb-pod-inner { padding-top: 1.8rem; }
.lb-pod-3 .lb-pod-inner { padding-top: 1.3rem; }

/* Rank 1 glow */
.lb-pod-1 .lb-pod-inner {
    background: rgba(201,168,76,.03);
    border-color: rgba(201,168,76,.12);
    box-shadow: 0 0 50px rgba(201,168,76,.06), 0 -4px 20px rgba(201,168,76,.04);
}
.lb-pod-1 .lb-pod-inner::before {
    content: '';
    position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    width: 130px; height: 90px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Current user outline */
.lb-pod-you .lb-pod-inner { border-color: rgba(201,168,76,.28); }

/* Step base */
.lb-pod-base {
    width: 100%; height: 5px;
}
.lb-pod-base-gold   { background: linear-gradient(90deg, transparent, #c9a84c, transparent); opacity: .7; }
.lb-pod-base-silver { background: linear-gradient(90deg, transparent, #a0a0a0, transparent); opacity: .5; }
.lb-pod-base-bronze { background: linear-gradient(90deg, transparent, #cd7f32, transparent); opacity: .45; }

/* Crown for rank 1 */
.lb-crown {
    position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
    width: 48px; height: 24px; z-index: 2;
    color: rgba(232,205,128,.9);
    filter: drop-shadow(0 0 8px rgba(201,168,76,.4));
    animation: lbCrownFloat 3.2s ease-in-out infinite;
}
@keyframes lbCrownFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-3px); }
}

/* Medal circle */
.lb-medal {
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; flex-shrink: 0;
    position: relative; overflow: hidden;
}
.lb-medal::after {
    content: '';
    position: absolute; inset: 0; border-radius: 50%;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.3) 48%, transparent 66%);
    transform: translateX(-60%);
    animation: lbMedalShine 4.6s ease-in-out infinite;
}
@keyframes lbMedalShine {
    0%, 55% { transform: translateX(-60%); }
    75%, 100% { transform: translateX(60%); }
}
.lb-medal-gold {
    background: radial-gradient(circle at 35% 35%, #e8c86a 0%, #b88a30 55%, #8a6018 100%);
    box-shadow: 0 0 22px rgba(201,168,76,.45), 0 0 6px rgba(201,168,76,.3);
    color: rgba(10,8,4,.75);
}
.lb-medal-silver {
    background: radial-gradient(circle at 35% 35%, #e0e0e0 0%, #a0a0a0 55%, #707070 100%);
    box-shadow: 0 0 14px rgba(160,160,160,.25);
    color: rgba(10,8,4,.7);
}
.lb-medal-bronze {
    background: radial-gradient(circle at 35% 35%, #e8a060 0%, #c07830 55%, #8a5010 100%);
    box-shadow: 0 0 12px rgba(205,127,50,.25);
    color: rgba(10,8,4,.7);
}

/* Rank numeral */
.lb-pod-numeral {
    font-family: system-ui, sans-serif;
    font-size: .48rem; letter-spacing: .28em; text-transform: uppercase;
    margin-bottom: .65rem;
}
.lb-pod-numeral-gold   { color: rgba(232,205,128,.72); }
.lb-pod-numeral-silver { color: #a0a0a0; }
.lb-pod-numeral-bronze { color: #cd7f32; opacity: .95; }

/* Pod player info */
.lb-pod-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem; font-weight: 400; letter-spacing: .04em;
    color: #e8dcc8; text-align: center; line-height: 1.1;
    margin-bottom: .5rem; word-break: break-word;
}
.lb-pod-1 .lb-pod-name { font-size: 1.25rem; }

.lb-pod-faction {
    display: inline-flex; align-items: center; gap: .3rem;
    font-family: system-ui, sans-serif;
    font-size: .52rem; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(232,205,128,.6);
    border: 1px solid rgba(201,168,76,.08);
    border-radius: 20px; padding: .18rem .55rem;
    margin-bottom: .85rem;
}
.lb-pod-faction svg { width: 9px; height: 9px; }

.lb-pod-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem; font-weight: 400; color: rgba(201,168,76,.75);
    letter-spacing: .04em; line-height: 1;
}
.lb-pod-1 .lb-pod-value { font-size: 1.7rem; color: #c9a84c; }
.lb-pod-unit {
    font-family: system-ui, sans-serif;
    font-size: .55rem; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(232,205,128,.6); vertical-align: middle;
    display: block; margin-top: .2rem; text-align: center;
}
.lb-pod-sub {
    font-family: system-ui, sans-serif;
    font-size: .5rem; letter-spacing: .16em; text-transform: uppercase;
    color: #8a8170; margin-top: .45rem;
}

/* ── You tag ──────────────────────────────────────────────────── */
.lb-you-tag {
    position: absolute; top: .5rem; right: .5rem;
    font-family: system-ui, sans-serif;
    font-size: .45rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: rgba(10,8,4,.9);
    background: linear-gradient(135deg, #c9a84c, #a07830);
    border-radius: 3px; padding: .18rem .45rem;
    line-height: 1;
}
.lb-row .lb-you-tag {
    position: static;
    display: inline-block;
    margin-left: .4rem;
    vertical-align: middle;
    padding: .12rem .35rem;
}

/* ── List header ──────────────────────────────────────────────── */
.lb-list-hdr {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: 1.25rem;
}
.lb-list-hdr-line {
    flex: 1; height: 1px;
    background: rgba(201,168,76,.07);
}
.lb-list-hdr-label {
    font-family: system-ui, sans-serif;
    font-size: .5rem; letter-spacing: .26em; text-transform: uppercase;
    color: rgba(232,205,128,.75);
    white-space: nowrap;
}

/* ── Ranked list ──────────────────────────────────────────────── */
.lb-list { display: flex; flex-direction: column; }

.lb-row {
    display: grid;
    grid-template-columns: 2.8rem 1fr 1fr auto;
    align-items: center; gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(201,168,76,.045);
    transition: background .15s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: rgba(201,168,76,.018); }
.lb-row-you { background: rgba(201,168,76,.028); }
.lb-row-you:hover { background: rgba(201,168,76,.04); }

.lb-row-rank {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .95rem; color: #9a9180;
    letter-spacing: .04em; text-align: right;
    line-height: 1; white-space: nowrap;
}

.lb-row-player {
    display: flex; flex-direction: column; gap: .2rem; min-width: 0;
}
.lb-row-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .95rem; color: #c8bba8; letter-spacing: .02em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lb-pod-name, .lb-row-name { text-decoration: none; transition: color .18s; }
.lb-pod-name:hover, .lb-row-name:hover { color: #c9a84c; }
.lb-row-faction {
    display: inline-flex; align-items: center; gap: .25rem;
    font-family: system-ui, sans-serif;
    font-size: .48rem; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(232,205,128,.6);
}
.lb-row-faction svg { width: 8px; height: 8px; }
.lb-row-sub { color: #6f6758; }

.lb-row-bar-wrap {
    height: 2px; background: rgba(201,168,76,.07); border-radius: 1px;
    overflow: hidden;
}
.lb-row-bar {
    height: 100%; border-radius: 1px;
    background: linear-gradient(90deg, rgba(201,168,76,.3), rgba(201,168,76,.6));
    position: relative; overflow: hidden;
    transition: width .6s cubic-bezier(.22,1,.36,1);
}
.lb-row-bar::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    transform: translateX(-100%);
    animation: lbBarShimmer 3.4s ease-in-out infinite;
}
@keyframes lbBarShimmer {
    0%, 60% { transform: translateX(-100%); }
    100%    { transform: translateX(100%); }
}

.lb-row-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .95rem; color: rgba(232,205,128,.7);
    letter-spacing: .03em; white-space: nowrap; text-align: right;
}

/* ── Allianz-Ranking ──────────────────────────────────────────── */
.lb-alliance-row {
    grid-template-columns: 2.8rem 2.8rem 1.3fr 1fr 1fr auto auto;
}
.lb-alliance-shield {
    position: relative;
    width: 38px; height: 44px;
    display: flex; align-items: center; justify-content: center;
}
.lb-alliance-shield::before {
    content: '';
    position: absolute; inset: 0;
    clip-path: polygon(50% 0%, 100% 12%, 92% 78%, 50% 100%, 8% 78%, 0% 12%);
    background: linear-gradient(160deg, #2a241a 0%, #14100a 60%, #1d1710 100%);
    border: 1px solid rgba(201,168,76,.22);
}
.lb-alliance-shield::after {
    content: '';
    position: absolute; inset: 0;
    clip-path: polygon(50% 0%, 100% 12%, 92% 78%, 50% 100%, 8% 78%, 0% 12%);
    background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, transparent 45%);
    pointer-events: none;
}
.lb-alliance-shield-tag {
    position: relative; z-index: 1;
    font-family: system-ui, sans-serif;
    font-size: .48rem; font-weight: 700; letter-spacing: .06em;
    color: rgba(232,205,128,.85);
    text-shadow: 0 1px 3px rgba(0,0,0,.7);
    max-width: 34px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lb-alliance-name { color: #c8bba8; }
.lb-alliance-tag {
    font-family: system-ui, sans-serif;
    font-size: .48rem; letter-spacing: .14em;
    color: rgba(201,168,76,.7); margin-left: .35rem;
}
.lb-alliance-bar { min-width: 74px; }
.lb-alliance-bar-label {
    font-family: system-ui, sans-serif;
    font-size: .44rem; letter-spacing: .16em; text-transform: uppercase;
    color: #6f6758; margin-bottom: .22rem;
}
.lb-row-bar-war { background: linear-gradient(90deg, rgba(184,87,63,.35), rgba(184,87,63,.8)); }
.lb-row-war {
    display: inline-flex; align-items: center; gap: .3rem;
    color: #b8573f;
}
.lb-row-war svg { width: 11px; height: 11px; flex-shrink: 0; }

/* ── Empty state ──────────────────────────────────────────────── */
.lb-empty {
    display: flex; flex-direction: column; align-items: center;
    padding: 4rem 1rem; gap: 1rem;
    color: #8a8170;
}
.lb-empty svg { width: 40px; height: 40px; }
.lb-empty p {
    font-family: system-ui, sans-serif;
    font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
}

/* ── Reichsstatistik ──────────────────────────────────────────── */
.lb-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 4.5rem;
}
.lb-insight-card {
    position: relative; overflow: hidden;
    background: rgba(201,168,76,.018);
    border: 1px solid rgba(201,168,76,.08);
    border-radius: 8px;
    padding: 1.5rem;
}
.lb-insight-kicker {
    font-family: system-ui, sans-serif;
    font-size: .48rem; letter-spacing: .26em; text-transform: uppercase;
    color: rgba(201,168,76,.78); margin-bottom: .4rem;
}
.lb-insight-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem; font-weight: 400; letter-spacing: .06em;
    color: #e8dcc8; margin-bottom: 1.1rem;
}

/* Donut */
.lb-faction-donut {
    position: relative;
    width: 150px; height: 150px;
    margin: 0 auto 1.1rem;
}
.lb-donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.lb-donut-track {
    fill: none; stroke: rgba(201,168,76,.06); stroke-width: 10;
}
.lb-donut-seg {
    fill: none; stroke-width: 10; stroke-linecap: butt;
    transform: rotate(var(--lb-donut-angle, 0deg));
    transform-origin: 60px 60px;
    animation: lbDonutDraw 1.5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes lbDonutDraw {
    from { stroke-dashoffset: 289; }
}
.lb-donut-center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lb-donut-total {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem; line-height: 1; color: #c9a84c;
}
.lb-donut-label {
    font-family: system-ui, sans-serif;
    font-size: .44rem; letter-spacing: .2em; text-transform: uppercase;
    color: #8a8170; margin-top: .25rem;
}

/* Faction legend */
.lb-faction-legend {
    display: flex; flex-direction: column; gap: .45rem;
}
.lb-faction-legend-item {
    display: flex; align-items: center; gap: .55rem;
    font-family: system-ui, sans-serif;
    font-size: .58rem; color: #8a8170;
}
.lb-faction-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--dot);
    box-shadow: 0 0 8px var(--dot);
    flex-shrink: 0;
}
.lb-faction-legend-name { flex: 1; color: #b0a898; }
.lb-faction-legend-val {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: .9rem; color: rgba(232,205,128,.8);
}

/* Quote card */
.lb-quote-card {
    display: flex; flex-direction: column; justify-content: center;
}
.lb-quote-mark svg {
    width: 30px; height: 30px;
    color: rgba(201,168,76,.3); margin-bottom: .6rem;
}
.lb-quote-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem; font-style: italic; font-weight: 300;
    color: #c8bba8; line-height: 1.6;
    margin: 0;
}
.lb-quote-sign {
    font-family: system-ui, sans-serif;
    font-size: .48rem; letter-spacing: .22em; text-transform: uppercase;
    color: #6f6758; margin-top: 1rem;
}

/* ── CTA ──────────────────────────────────────────────────────── */
.lb-cta {
    margin-top: 4.5rem;
    padding: 2.2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(201,168,76,.06);
    position: relative;
}
.lb-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201,168,76,.022) 0%, transparent 70%);
    pointer-events: none;
}
.lb-cta-kicker {
    font-family: system-ui, sans-serif;
    font-size: .52rem; letter-spacing: .28em; text-transform: uppercase;
    color: rgba(232,205,128,.75); margin-bottom: .75rem;
}
.lb-cta-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300; letter-spacing: .08em;
    color: #d8ccb8; margin-bottom: 1.4rem;
}
.lb-cta-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: system-ui, sans-serif;
    font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: .7rem 1.7rem; border-radius: 4px;
    background: linear-gradient(135deg, #c9a84c, #a07830);
    color: #1a1108; text-decoration: none;
    position: relative; overflow: hidden;
    transition: filter .2s;
}
.lb-cta-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 55%);
}
.lb-cta-btn:hover { filter: brightness(1.1); }
.lb-cta-btn svg { width: 11px; height: 11px; }

/* ═══════════════════════════════════════════════════════════════
   Imperial Command Edition — richer enterprise presentation
═══════════════════════════════════════════════════════════════ */
.lb-shell {
    max-width: 1200px;
    padding-top: 2.35rem;
    min-width: 0;
}
.lb-watermark {
    top: 3.25rem;
    font-size: clamp(6rem, 13vw, 11rem);
    -webkit-text-stroke-color: rgba(201,168,76,.055);
}

/* Hero command plate */
.lb-hero {
    position: relative;
    isolation: isolate;
    min-height: 300px;
    justify-content: space-between;
    padding: clamp(1.4rem, 4vw, 3rem);
    margin-bottom: 1rem;
    border: 1px solid rgba(201,168,76,.12);
    border-radius: 18px 18px 6px 6px;
    background:
        linear-gradient(115deg, rgba(22,18,11,.94), rgba(12,10,7,.8)),
        radial-gradient(circle at 78% 35%, rgba(201,168,76,.1), transparent 35%);
    box-shadow: 0 24px 80px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.025);
    overflow: hidden;
}
.lb-hero::before {
    content: '';
    position: absolute;
    inset: 9px;
    z-index: -1;
    border: 1px solid rgba(201,168,76,.055);
    border-radius: 12px 12px 3px 3px;
    pointer-events: none;
}
.lb-hero::after {
    content: '';
    position: absolute;
    right: -9%; bottom: -65%;
    z-index: -2;
    width: 560px; height: 560px;
    border: 1px solid rgba(201,168,76,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(201,168,76,.015), 0 0 0 90px rgba(201,168,76,.01);
    pointer-events: none;
}
.lb-hero-text { position: relative; z-index: 2; }
.lb-title {
    max-width: 720px;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    letter-spacing: .055em;
    text-wrap: balance;
}
.lb-title em {
    color: #d8b85c;
    text-shadow: 0 0 32px rgba(201,168,76,.18);
}
.lb-subtitle { max-width: 540px; color: #aaa08f; }
.lb-hero-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 1.15rem 0 1.45rem;
    font-family: system-ui, sans-serif;
    font-size: .48rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #776f61;
}
.lb-live-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #b9c6a1;
}
.lb-live-pill i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #82a66d;
    box-shadow: 0 0 0 4px rgba(130,166,109,.1), 0 0 12px rgba(130,166,109,.48);
    animation: lbLivePulse 2.6s ease-in-out infinite;
}
.lb-status-separator { width: 1px; height: 10px; background: rgba(201,168,76,.14); }
@keyframes lbLivePulse {
    0%, 100% { opacity: .55; transform: scale(.85); }
    50% { opacity: 1; transform: scale(1); }
}

/* Detailed animated imperial crest */
.lb-hero-visual { position: relative; z-index: 1; }
.lb-hero-emblem {
    width: clamp(170px, 22vw, 230px);
    height: clamp(170px, 22vw, 230px);
    filter: drop-shadow(0 28px 28px rgba(0,0,0,.32));
}
.lb-emblem-halo {
    position: absolute;
    inset: 17%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,.14), rgba(201,168,76,.035) 48%, transparent 72%);
    box-shadow: 0 0 45px rgba(201,168,76,.09);
    animation: lbHalo 4.8s ease-in-out infinite;
}
.lb-emblem-laurel { color: rgba(201,168,76,.68); }
.lb-laurel-stem { stroke: rgba(201,168,76,.35); }
.lb-laurel-leaves {
    transform-origin: 100px 150px;
    animation: lbLaurel 5.6s ease-in-out infinite;
}
.lb-emblem-core {
    color: #d6b75d;
    stroke-width: 1.55;
    filter: drop-shadow(0 0 7px rgba(201,168,76,.22));
}
.lb-emblem-shield { fill: rgba(201,168,76,.035); stroke: rgba(232,205,128,.62); }
.lb-emblem-shield-inset { stroke: rgba(201,168,76,.25); }
.lb-emblem-crown { stroke-width: 1.7; }
.lb-emblem-monogram { stroke: rgba(232,205,128,.72); stroke-width: 1.4; }
.lb-emblem-glint {
    color: rgba(248,224,151,.9);
    stroke-width: 1.25;
    animation: lbGlint 3.8s ease-in-out infinite;
}
.lb-emblem-seal {
    position: absolute;
    left: 50%; bottom: 13%;
    transform: translateX(-50%);
    font: 600 .43rem/1 system-ui, sans-serif;
    letter-spacing: .28em;
    color: rgba(232,205,128,.46);
}
@keyframes lbHalo {
    0%, 100% { opacity: .65; transform: scale(.94); }
    50% { opacity: 1; transform: scale(1.07); }
}
@keyframes lbLaurel {
    0%, 100% { transform: scale(.985) rotate(-.5deg); opacity: .72; }
    50% { transform: scale(1.015) rotate(.5deg); opacity: 1; }
}
@keyframes lbGlint {
    0%, 25%, 100% { opacity: .18; }
    45%, 58% { opacity: 1; filter: drop-shadow(0 0 5px #e8cd80); }
}

/* KPI deck */
.lb-stats {
    position: relative;
    z-index: 3;
    gap: 0;
    margin: 0 1rem 3rem;
    background: rgba(10,8,5,.88);
    border: 1px solid rgba(201,168,76,.12);
    border-radius: 6px 6px 14px 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,.2);
}
.lb-stat {
    display: flex;
    align-items: center;
    gap: .72rem;
    min-width: 0;
    padding: 1rem .85rem;
    text-align: left;
    border: 0;
    border-right: 1px solid rgba(201,168,76,.075);
    border-radius: 0;
    background: transparent;
}
.lb-stat:last-child { border-right: 0; }
.lb-stat::before { opacity: 0; transition: opacity .2s; }
.lb-stat:hover::before { opacity: 1; }
.lb-stat-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    flex: 0 0 34px;
    border: 1px solid rgba(201,168,76,.15);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(201,168,76,.08), rgba(201,168,76,.015));
    box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.lb-stat-icon svg,
.lb-stat .lb-stat-icon svg { width: 16px; height: 16px; margin: 0; }
.lb-stat-icon span {
    position: absolute;
    right: 4px; top: 4px;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #c9a84c;
    box-shadow: 0 0 7px #c9a84c;
}
.lb-stat-copy { min-width: 0; }
.lb-stat-label { font-size: .42rem; letter-spacing: .12em; }
.lb-stat-value { font-size: 1.28rem; }

/* Ranking command console */
.lb-board {
    position: relative;
    min-width: 0;
    padding: clamp(1rem, 2.5vw, 1.8rem);
    border: 1px solid rgba(201,168,76,.105);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(21,17,11,.86), rgba(10,8,5,.9)),
        radial-gradient(circle at 10% 0, rgba(201,168,76,.055), transparent 30%);
    box-shadow: 0 28px 80px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.025);
}
.lb-board::before,
.lb-board::after {
    content: '';
    position: absolute;
    width: 46px; height: 46px;
    pointer-events: none;
}
.lb-board::before {
    top: 8px; left: 8px;
    border-top: 1px solid rgba(201,168,76,.28);
    border-left: 1px solid rgba(201,168,76,.28);
    border-radius: 6px 0 0;
}
.lb-board::after {
    right: 8px; bottom: 8px;
    border-right: 1px solid rgba(201,168,76,.2);
    border-bottom: 1px solid rgba(201,168,76,.2);
    border-radius: 0 0 6px;
}
.lb-board-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: .25rem .35rem 1.2rem;
}
.lb-board-kicker,
.lb-board-state span {
    display: block;
    margin-bottom: .32rem;
    font: 600 .46rem/1.2 system-ui, sans-serif;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(201,168,76,.66);
}
.lb-board-head h2 {
    margin: 0;
    font: 400 clamp(1.55rem, 3vw, 2.15rem)/1 'Cormorant Garamond', Georgia, serif;
    letter-spacing: .07em;
    color: #eee1ca;
}
.lb-board-state { text-align: right; }
.lb-board-state strong {
    font: 500 .7rem/1.2 system-ui, sans-serif;
    letter-spacing: .08em;
    color: #b8ad9b;
}
.lb-tabs {
    justify-content: stretch;
    gap: .35rem;
    padding: .35rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(201,168,76,.08);
    border-radius: 10px;
    background: rgba(0,0,0,.18);
}
.lb-tab {
    justify-content: center;
    flex: 1 1 120px;
    min-height: 46px;
    margin: 0;
    padding: .68rem .75rem;
    border: 1px solid transparent;
    border-radius: 7px;
}
.lb-tab:hover { background: rgba(201,168,76,.035); }
.lb-tab:focus-visible {
    outline: 2px solid rgba(232,205,128,.7);
    outline-offset: 2px;
}
.lb-tab.is-active {
    color: #e3c86f;
    border-color: rgba(201,168,76,.2);
    background: linear-gradient(145deg, rgba(201,168,76,.12), rgba(201,168,76,.03));
    box-shadow: inset 0 1px rgba(255,255,255,.04), 0 6px 20px rgba(0,0,0,.18);
}
.lb-tab.is-active::before {
    content: '';
    position: absolute;
    left: 28%; right: 28%; bottom: -1px;
    height: 1px;
    background: #c9a84c;
    box-shadow: 0 0 8px rgba(201,168,76,.7);
}
.lb-panel { min-width: 0; }
.lb-ranking-brief {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(170px, auto);
    align-items: center;
    gap: 1rem;
    min-width: 0;
    margin-bottom: 2rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(201,168,76,.08);
    border-radius: 10px;
    background: linear-gradient(100deg, rgba(201,168,76,.035), rgba(0,0,0,.08));
}
.lb-ranking-brief-icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border: 1px solid rgba(201,168,76,.18);
    border-radius: 50%;
    color: rgba(219,190,103,.8);
    background: radial-gradient(circle, rgba(201,168,76,.09), transparent 70%);
}
.lb-ranking-brief-icon svg { width: 28px; height: 28px; }
.lb-brief-arrow { animation: lbBriefRise 2.8s ease-in-out infinite; }
@keyframes lbBriefRise {
    0%, 100% { transform: translateY(0); opacity: .55; }
    50% { transform: translateY(-1.5px); opacity: 1; }
}
.lb-ranking-brief-copy { display: flex; flex-direction: column; min-width: 0; }
.lb-ranking-eyebrow {
    font: 600 .43rem/1.2 system-ui, sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(201,168,76,.6);
}
.lb-ranking-brief-copy strong {
    margin: .16rem 0 .12rem;
    font: 500 1.08rem/1.2 'Cormorant Garamond', Georgia, serif;
    letter-spacing: .06em;
    color: #ded2bd;
}
.lb-ranking-brief-copy > span:last-child {
    font: 400 .58rem/1.5 system-ui, sans-serif;
    color: #7f776a;
}
.lb-ranking-leader {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
    padding-left: 1rem;
    border-left: 1px solid rgba(201,168,76,.1);
    text-align: right;
}
.lb-ranking-leader > span {
    font: 600 .42rem/1.2 system-ui, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #71695c;
}
.lb-ranking-leader a,
.lb-ranking-leader > b {
    max-width: 100%;
    overflow: hidden;
    color: #d9c36f;
    font: 500 .92rem/1.35 'Cormorant Garamond', Georgia, serif;
    letter-spacing: .04em;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lb-ranking-leader a:hover { color: #f0db8c; }
.lb-ranking-leader b,
.lb-ranking-leader > strong {
    color: #a99d8c;
    font: 400 .72rem/1.3 'Cormorant Garamond', Georgia, serif;
}
.lb-ranking-leader small { font: 500 .42rem/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }

/* Hall podium and ranked rows */
.lb-podium { gap: .7rem; }
.lb-pod-inner {
    border-radius: 12px 12px 0 0;
    background:
        linear-gradient(180deg, rgba(201,168,76,.045), rgba(201,168,76,.012)),
        radial-gradient(circle at 50% 0, rgba(201,168,76,.06), transparent 48%);
    box-shadow: inset 0 1px rgba(255,255,255,.02);
}
.lb-pod-inner::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(201,168,76,.035);
    border-radius: 7px 7px 0 0;
    pointer-events: none;
}
.lb-pod-1 .lb-pod-inner {
    border-color: rgba(201,168,76,.2);
    background:
        linear-gradient(180deg, rgba(201,168,76,.085), rgba(201,168,76,.018)),
        radial-gradient(circle at 50% 5%, rgba(201,168,76,.1), transparent 44%);
}
.lb-medal { border: 1px solid rgba(255,255,255,.14); }
.lb-crown path:first-child { stroke-dasharray: 52; animation: lbCrownDraw 2s ease-out both; }
@keyframes lbCrownDraw { from { stroke-dashoffset: 52; } to { stroke-dashoffset: 0; } }
.lb-list { gap: .32rem; }
.lb-row {
    padding: .76rem .7rem;
    border: 1px solid transparent;
    border-bottom-color: rgba(201,168,76,.045);
    border-radius: 7px;
}
.lb-row:hover {
    border-color: rgba(201,168,76,.08);
    background: rgba(201,168,76,.028);
}
.lb-row-you {
    border-color: rgba(201,168,76,.14);
    background: linear-gradient(90deg, rgba(201,168,76,.075), rgba(201,168,76,.018));
}
.lb-row-bar-wrap { height: 3px; }

/* Insight suite */
.lb-insights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.lb-insight-card {
    min-width: 0;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(201,168,76,.035), rgba(10,8,5,.52));
    box-shadow: inset 0 1px rgba(255,255,255,.02), 0 18px 48px rgba(0,0,0,.14);
}
.lb-protocol-card { min-height: 310px; }
.lb-protocol-sigil {
    position: absolute;
    top: -28px; right: -25px;
    width: 150px; height: 150px;
    color: rgba(201,168,76,.08);
    animation: lbSpin 45s linear infinite;
}
.lb-protocol-list { display: grid; gap: .72rem; margin-top: 1.25rem; }
.lb-protocol-list > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
}
.lb-protocol-list b {
    display: grid;
    place-items: center;
    width: 27px; height: 27px;
    border: 1px solid rgba(201,168,76,.16);
    border-radius: 8px;
    font: 600 .43rem/1 system-ui, sans-serif;
    color: #b49748;
}
.lb-protocol-list span {
    font: 400 .57rem/1.45 system-ui, sans-serif;
    color: #756d60;
}
.lb-protocol-list strong {
    display: block;
    margin-bottom: .08rem;
    font-size: .59rem;
    letter-spacing: .06em;
    color: #b7aa96;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1020px) {
    .lb-stats { grid-template-columns: repeat(3, 1fr); }
    .lb-stat:nth-child(3) { border-right: 0; }
    .lb-stat:nth-child(-n+3) { border-bottom: 1px solid rgba(201,168,76,.075); }
    .lb-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb-protocol-card { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .lb-alliance-row { grid-template-columns: 2.2rem 2.6rem 1.3fr 1fr auto auto; }
    .lb-alliance-bar-war { display: none; }
}
@media (max-width: 600px) {
    .lb-shell { padding: 1rem .75rem 5rem; }
    .lb-watermark { display: none; }
    .lb-hero {
        min-height: 0;
        padding: 1.6rem 1rem 1.3rem;
        border-radius: 12px 12px 4px 4px;
    }
    .lb-kicker { gap: .42rem; letter-spacing: .21em; }
    .lb-kicker-line { width: 15px; }
    .lb-title { font-size: clamp(2.35rem, 12vw, 3.5rem); }
    .lb-subtitle { font-size: .7rem; }
    .lb-hero-status { justify-content: center; row-gap: .5rem; }
    .lb-hero-ornament { display: none; }
    .lb-podium { grid-template-columns: 1fr 1.05fr 1fr; gap: .5rem; }
    .lb-pod-inner { padding-left: .35rem; padding-right: .35rem; }
    .lb-pod-faction { display: none; }
    .lb-pod-name { font-size: .9rem; }
    .lb-row { grid-template-columns: 2.2rem 1fr auto; }
    .lb-row-bar-wrap { display: none; }
    .lb-alliance-row { grid-template-columns: 2.2rem 2.4rem 1fr auto; }
    .lb-alliance-bar-score { display: none; }
    .lb-row-war { display: none; }
    .lb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 .4rem 2rem; }
    .lb-stat { border-right: 1px solid rgba(201,168,76,.075); }
    .lb-stat:nth-child(2n) { border-right: 0; }
    .lb-stat:nth-child(-n+4) { border-bottom: 1px solid rgba(201,168,76,.075); }
    .lb-stat:nth-child(3) { border-right: 1px solid rgba(201,168,76,.075); }
    .lb-stat:nth-child(n+5) { border-bottom: 0; }
    .lb-stat { gap: .55rem; padding: .8rem .55rem; }
    .lb-stat-icon { width: 30px; height: 30px; flex-basis: 30px; }
    .lb-hero-emblem { width: 145px; height: 145px; }
    .lb-board { padding: .8rem .6rem 1rem; }
    .lb-board-head { align-items: center; padding: .2rem .35rem 1rem; }
    .lb-board-state { max-width: 120px; }
    .lb-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }
    .lb-tab { flex: 0 0 auto; min-width: 104px; min-height: 44px; scroll-snap-align: start; }
    .lb-ranking-brief { grid-template-columns: auto minmax(0, 1fr); padding: .75rem; }
    .lb-ranking-brief-icon { width: 42px; height: 42px; }
    .lb-ranking-leader {
        grid-column: 1 / -1;
        align-items: flex-start;
        padding: .65rem 0 0;
        border-top: 1px solid rgba(201,168,76,.08);
        border-left: 0;
        text-align: left;
    }
    .lb-insights { grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; }
    .lb-protocol-card { grid-column: auto; }
}

@media (max-width: 390px) {
    .lb-title { letter-spacing: .025em; }
    .lb-hero-status .lb-status-separator { display: none; }
    .lb-hero-status > span:not(.lb-live-pill) { flex-basis: 100%; }
    .lb-stat-value { font-size: 1.08rem; }
    .lb-stat-label { letter-spacing: .08em; }
    .lb-podium { gap: .3rem; }
    .lb-pod-1 .lb-pod-inner { padding-top: 2.4rem; }
    .lb-medal { transform: scale(.86); margin-bottom: .6rem; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .lb-bg-grid,
    .lb-bg-stars,
    .lb-bg-orb-a,
    .lb-bg-orb-b,
    .lb-bg-aura,
    .lb-hero-visual,
    .lb-emblem-outer,
    .lb-emblem-star,
    .lb-emblem-core,
    .lb-emblem-halo,
    .lb-laurel-leaves,
    .lb-emblem-glint,
    .lb-live-pill i,
    .lb-brief-arrow,
    .lb-protocol-sigil,
    .lb-tab.is-active .lb-tab-icon::after,
    .lb-crown,
    .lb-crown path:first-child,
    .lb-medal::after,
    .lb-row-bar::after,
    .lb-donut-seg,
    .lb-hero,
    .lb-stat,
    .lb-tab,
    .lb-row,
    .lb-cta-btn {
        animation: none !important;
        transition: none !important;
    }
}
