/* Public VTC hub */

:root {
    --bg: #05070a;
    --bg-soft: #0a1017;
    --surface: rgba(9, 13, 20, 0.84);
    --surface-strong: rgba(7, 10, 15, 0.96);
    --surface-border: rgba(255, 255, 255, 0.07);
    --surface-border-strong: rgba(255, 255, 255, 0.12);
    --text: #e7edf7;
    --muted: #91a0b6;
    --primary: #76d8ff;
    --accent: #37d78d;
    --warning: #f59e0b;
    --danger: #fb7185;
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-lg: 0 30px 84px rgba(0, 0, 0, 0.42);
    --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.3);
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 16% 10%, rgba(118, 216, 255, 0.11), transparent 0 24%),
        radial-gradient(circle at 82% 0%, rgba(55, 215, 141, 0.09), transparent 0 22%),
        radial-gradient(circle at 50% 118%, rgba(245, 158, 11, 0.05), transparent 0 24%),
        linear-gradient(180deg, #05070a 0%, #070b10 58%, #090e14 100%);
    color: var(--text);
    font-family: var(--font-body);
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.hub-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
    background:
        radial-gradient(circle at 18% 10%, rgba(118, 216, 255, 0.12), transparent 0 24%),
        radial-gradient(circle at 80% 8%, rgba(55, 215, 141, 0.08), transparent 0 20%),
        radial-gradient(circle at 52% 88%, rgba(255, 255, 255, 0.03), transparent 0 22%);
}

.hub-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    opacity: 0.035;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 88%);
}

.hub-shell {
    width: min(1520px, calc(100% - 24px));
    margin: 0 auto;
    padding: 16px 0 36px;
}

.hub-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: rgba(8, 12, 18, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.hub-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hub-brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(118, 216, 255, 0.18), rgba(55, 215, 141, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.hub-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.04;
    font-size: 0.88rem;
}

.hub-brand__text strong {
    margin-top: 3px;
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.hub-topbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.74rem;
    font-weight: 700;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hub-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}

.hub-alert {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.22);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.03));
    color: #ffe8b2;
    font-size: 0.82rem;
    line-height: 1.6;
    box-shadow: var(--shadow-md);
}

.hub-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
    gap: 18px;
    padding: 28px;
    margin-bottom: 18px;
    min-height: 360px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(145deg, rgba(118, 216, 255, 0.08), rgba(55, 215, 141, 0.05)),
        rgba(8, 12, 18, 0.88);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.hub-hero::before,
.hub-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hub-hero::before {
    background:
        radial-gradient(circle at 18% 18%, rgba(118, 216, 255, 0.14), transparent 0 24%),
        radial-gradient(circle at 82% 12%, rgba(245, 158, 11, 0.1), transparent 0 20%);
    opacity: 0.8;
}

.hub-hero::after {
    background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.04) 48%, transparent 100%);
    opacity: 0.55;
}

.hub-hero > * {
    position: relative;
    z-index: 1;
}

.hub-hero__copy {
    min-width: 0;
}

.hub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d9e7f6;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hub-logo {
    display: block;
    width: 72px;
    height: 72px;
    margin-top: 14px;
    border-radius: 22px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.hub-title {
    margin: 16px 0 0;
    max-width: 11ch;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
}

.hub-title .accent {
    color: var(--accent);
}

.hub-tag {
    margin: 12px 0 0;
    color: var(--primary);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.5;
}

.hub-slogan {
    max-width: 760px;
    margin: 12px 0 0;
    color: rgba(238, 243, 248, 0.76);
    font-size: 0.98rem;
    line-height: 1.75;
}

.hub-profile-meta {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 10px;
    margin-top: 18px;
}

.hub-profile-meta__item {
    padding: 14px 15px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03)),
        rgba(8, 12, 18, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.hub-profile-meta__item--description {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.hub-profile-meta__stack {
    display: grid;
    gap: 10px;
}

.hub-profile-meta__item span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(219, 231, 246, 0.78);
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hub-profile-meta__item span i {
    font-size: 0.84rem;
    color: var(--primary);
    opacity: 0.9;
}

.hub-profile-meta__rich {
    position: relative;
    margin: 12px 0 0;
    color: #f7fbff;
    font-size: 1.02rem;
    line-height: 1.75;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.hub-profile-meta__rich p {
    margin: 0 0 12px;
}

.hub-profile-meta__rich p:last-child {
    margin-bottom: 0;
}

.hub-profile-meta__rich ul,
.hub-profile-meta__rich ol {
    margin: 0;
    padding-left: 22px;
}

.hub-profile-meta__rich li + li {
    margin-top: 6px;
}

.hub-profile-meta__rich blockquote {
    margin: 0;
    padding-left: 14px;
    border-left: 3px solid rgba(118, 216, 255, 0.32);
    color: rgba(247, 251, 255, 0.92);
}

.hub-profile-meta__rich strong {
    color: #fff;
    font-weight: 800;
}

.hub-profile-meta__rich em {
    color: #ecfeff;
    font-style: italic;
}

.hub-profile-meta__rich code {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(118, 216, 255, 0.12);
    border: 1px solid rgba(118, 216, 255, 0.16);
    color: #d7f8ff;
    font-size: 0.9em;
}

.hub-profile-meta__inline-image-wrap {
    display: block;
    margin: 14px 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.hub-profile-meta__inline-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: rgba(8, 12, 18, 0.88);
}

.hub-profile-meta__rich p .hub-profile-meta__inline-image-wrap,
.hub-profile-meta__rich li .hub-profile-meta__inline-image-wrap,
.hub-profile-meta__rich blockquote .hub-profile-meta__inline-image-wrap {
    margin: 12px 0;
}

.hub-profile-meta__rich::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent 72%);
    opacity: 0.26;
}

.hub-profile-card {
    margin-bottom: 18px;
}

.hub-profile-card .hub-profile-meta {
    margin-top: 0;
}

.hub-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hub-chip {
    --chip-bg: rgba(255, 255, 255, 0.05);
    --chip-border: rgba(255, 255, 255, 0.08);
    --chip-text: rgba(255, 255, 255, 0.9);
    --chip-icon-bg: rgba(255, 255, 255, 0.08);
    --chip-icon-color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        var(--chip-bg);
    border: 1px solid var(--chip-border);
    color: var(--chip-text);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.hub-chip i {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--chip-icon-bg);
    color: var(--chip-icon-color);
    font-size: 0.78rem;
    line-height: 1;
}

.hub-chip span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-chip--code {
    --chip-bg: rgba(130, 201, 255, 0.1);
    --chip-border: rgba(130, 201, 255, 0.18);
    --chip-text: #e6f5ff;
    --chip-icon-bg: rgba(130, 201, 255, 0.2);
    --chip-icon-color: #9bdcff;
}

.hub-chip--tier {
    --chip-bg: rgba(245, 158, 11, 0.1);
    --chip-border: rgba(245, 158, 11, 0.18);
    --chip-text: #fff1d0;
    --chip-icon-bg: rgba(245, 158, 11, 0.2);
    --chip-icon-color: #ffd07a;
}

.hub-chip--tier-community {
    --chip-bg: rgba(16, 185, 129, 0.1);
    --chip-border: rgba(16, 185, 129, 0.18);
    --chip-text: #dcfce7;
    --chip-icon-bg: rgba(16, 185, 129, 0.18);
    --chip-icon-color: #9ff1c9;
}

.hub-chip--tier-supporter {
    --chip-bg: rgba(14, 165, 233, 0.1);
    --chip-border: rgba(14, 165, 233, 0.18);
    --chip-text: #dff7ff;
    --chip-icon-bg: rgba(14, 165, 233, 0.18);
    --chip-icon-color: #a2e7ff;
}

.hub-chip--tier-partners {
    --chip-bg: rgba(245, 158, 11, 0.1);
    --chip-border: rgba(245, 158, 11, 0.18);
    --chip-text: #ffe8ba;
    --chip-icon-bg: rgba(245, 158, 11, 0.18);
    --chip-icon-color: #ffd98f;
}

.hub-chip--tier-elite {
    --chip-bg: rgba(139, 92, 246, 0.1);
    --chip-border: rgba(139, 92, 246, 0.18);
    --chip-text: #f2e7ff;
    --chip-icon-bg: rgba(139, 92, 246, 0.18);
    --chip-icon-color: #d6bbff;
}

.hub-chip--members {
    --chip-bg: rgba(52, 211, 153, 0.1);
    --chip-border: rgba(52, 211, 153, 0.18);
    --chip-text: #ddffef;
    --chip-icon-bg: rgba(52, 211, 153, 0.2);
    --chip-icon-color: #9ff1c9;
}

.hub-chip--km {
    --chip-bg: rgba(109, 207, 246, 0.1);
    --chip-border: rgba(109, 207, 246, 0.18);
    --chip-text: #e0f7ff;
    --chip-icon-bg: rgba(109, 207, 246, 0.2);
    --chip-icon-color: #a2e7ff;
}

.hub-chip--pass-running {
    --chip-bg: rgba(245, 158, 11, 0.1);
    --chip-border: rgba(245, 158, 11, 0.18);
    --chip-text: #fff1cf;
    --chip-icon-bg: rgba(245, 158, 11, 0.2);
    --chip-icon-color: #ffd98f;
}

.hub-chip--pass-earned {
    --chip-bg: rgba(52, 211, 153, 0.1);
    --chip-border: rgba(52, 211, 153, 0.18);
    --chip-text: #ddffef;
    --chip-icon-bg: rgba(52, 211, 153, 0.2);
    --chip-icon-color: #9ff1c9;
}

.hub-hero__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hub-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    background: #f7fafc;
    color: #08111d;
    font-size: 0.82rem;
    font-weight: 800;
    transition: transform 0.22s ease, filter 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hub-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.hub-button--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: #eff4fb;
    border-color: rgba(255, 255, 255, 0.08);
}

.hub-button--soft {
    background: rgba(118, 216, 255, 0.12);
    color: #dff7ff;
    border-color: rgba(118, 216, 255, 0.18);
}

.hub-button--solid {
    background: var(--accent);
    color: #07131a;
}

.hub-hero__facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(9, 13, 19, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hub-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hub-fact {
    position: relative;
    overflow: hidden;
    min-height: 104px;
    padding: 13px 14px 14px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hub-fact:nth-child(1) {
    --fact-accent: #76d8ff;
    --fact-soft: rgba(118, 216, 255, 0.12);
}

.hub-fact:nth-child(2) {
    --fact-accent: #37d78d;
    --fact-soft: rgba(55, 215, 141, 0.12);
}

.hub-fact:nth-child(3) {
    --fact-accent: #f59e0b;
    --fact-soft: rgba(245, 158, 11, 0.12);
}

.hub-fact:nth-child(4) {
    --fact-accent: #a78bfa;
    --fact-soft: rgba(167, 139, 250, 0.12);
}

.hub-fact::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--fact-accent), transparent 84%);
    opacity: 0.95;
}

.hub-fact::after {
    content: '';
    position: absolute;
    right: -28px;
    top: -28px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--fact-soft) 0%, transparent 70%);
    pointer-events: none;
}

.hub-fact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(230, 238, 248, 0.9);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.hub-fact strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    position: relative;
    z-index: 1;
}

.hub-latest {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 12px;
    padding: 14px 14px 13px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(118, 216, 255, 0.09), rgba(55, 215, 141, 0.06)),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(118, 216, 255, 0.16);
    color: rgba(238, 243, 248, 0.94);
    font-size: 0.78rem;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hub-latest::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 35%);
    pointer-events: none;
}

.hub-latest > * {
    position: relative;
    z-index: 1;
}

.hub-latest__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hub-latest__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hub-latest__panel {
    position: relative;
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hub-latest__panel--route {
    background:
        linear-gradient(180deg, rgba(109, 207, 246, 0.10), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.04);
}

.hub-latest__panel--driver {
    background:
        linear-gradient(180deg, rgba(55, 215, 141, 0.09), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.04);
}

.hub-latest__panel.is-muted {
    opacity: 0.92;
}

.hub-latest__panel-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dff1ff;
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hub-latest__panel-label i {
    color: var(--primary);
    font-size: 0.92em;
}

.hub-latest__panel-value {
    min-width: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.hub-latest__panel-value--route {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.hub-latest__panel-value--route i {
    color: #57e88f;
    font-size: 0.92em;
}

.hub-latest__panel-sub {
    color: rgba(235, 243, 251, 0.78);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

.hub-latest__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #dff1ff;
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hub-latest__eyebrow i {
    color: var(--primary);
    font-size: 0.92em;
}

.hub-latest__km {
    padding: 6px 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.hub-latest__route {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hub-latest__route span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.hub-latest__route i {
    color: var(--primary);
    font-size: 0.92em;
}

.hub-latest__driver {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-latest__driver i {
    color: var(--primary);
    font-size: 0.95em;
}

.hub-latest__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hub-latest__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(235, 243, 251, 0.88);
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hub-latest__meta i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92em;
}

.hub-latest.is-loading,
.hub-latest.is-empty {
    opacity: 0.92;
}

.hub-content {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
    gap: 18px;
    align-items: start;
}

.hub-side-stack {
    display: grid;
    gap: 18px;
}

.hub-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(8, 12, 18, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-md);
}

.hub-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hub-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #d6e3f4;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hub-card__eyebrow i,
.hub-fact span i {
    font-size: 0.92em;
    line-height: 1;
}

.hub-fact span i {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 5px;
    background: var(--fact-soft);
    color: var(--fact-accent);
    font-size: 0.76rem;
}

.hub-card__title {
    margin: 10px 0 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hub-card__desc {
    margin: 8px 0 0;
    color: rgba(145, 160, 182, 0.9);
    font-size: 0.82rem;
    line-height: 1.55;
}

.hub-card__count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #dce7f5;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 680px;
    overflow: auto;
    padding-right: 4px;
}

.member-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.member-card__avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.member-card__copy {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 4px;
    padding-top: 1px;
}

.member-card__headline {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.member-card__copy strong {
    display: block;
    min-width: 0;
    flex: 1;
    color: #fff;
    font-size: 0.83rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-card__copy > span {
    display: block;
    color: var(--muted);
    font-size: 0.62rem;
    line-height: 1.4;
}

.member-card__achievements {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
    margin-top: 2px;
}

.member-achievement {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dfe8f4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.member-achievement i {
    font-size: 0.72rem;
    line-height: 1;
    color: currentColor;
    flex-shrink: 0;
}

.member-achievement span {
    min-width: 0;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.member-achievement--featured {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.24);
    color: #ffd98f;
}

.member-achievement--more {
    background: rgba(130, 201, 255, 0.08);
    border-color: rgba(130, 201, 255, 0.16);
    color: #dff4ff;
}

.member-card__role {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    width: fit-content;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #dbeafe;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-card__status {
    flex-shrink: 0;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
    margin-top: 1px;
}

.member-card__status.is-active {
    background: rgba(55, 215, 141, 0.12);
    border-color: rgba(55, 215, 141, 0.2);
    color: #d9ffe7;
}

.member-card__status.is-muted {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.18);
    color: #ffe7b8;
}

.leaderboard-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-toggle button {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: none;
    padding: 8px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.leaderboard-toggle button.is-active {
    background: #f7fafc;
    color: #08111d;
}

.leaderboard-toggle button:hover {
    transform: translateY(-1px);
}

.leaderboard-list {
    display: grid;
    gap: 8px;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.leaderboard-rank {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-row.is-1 .leaderboard-rank {
    background: rgba(255, 215, 0, 0.16);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.leaderboard-row.is-2 .leaderboard-rank {
    background: rgba(192, 192, 192, 0.14);
    border: 1px solid rgba(192, 192, 192, 0.22);
}

.leaderboard-row.is-3 .leaderboard-rank {
    background: rgba(205, 127, 50, 0.16);
    border: 1px solid rgba(205, 127, 50, 0.2);
}

.leaderboard-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.leaderboard-person img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.leaderboard-copy {
    min-width: 0;
}

.leaderboard-name {
    display: block;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-sub {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.62rem;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.leaderboard-km {
    text-align: right;
}

.leaderboard-km strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.02;
}

.leaderboard-km span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.recent-list {
    display: grid;
    gap: 4px;
}

.recent-item {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(32, 45, 63, 0.96), rgba(14, 22, 33, 0.9)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.recent-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(109, 207, 246, 0.95), rgba(109, 207, 246, 0));
}

.recent-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(109, 207, 246, 0.13), transparent 40%);
    pointer-events: none;
}

.recent-item__icon,
.recent-copy,
.recent-km {
    position: relative;
    z-index: 1;
}

.recent-item__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(109, 207, 246, 0.16), rgba(109, 207, 246, 0.05));
    border: 1px solid rgba(109, 207, 246, 0.2);
    color: #dff4ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.recent-item__icon i {
    font-size: 0.82rem;
}

.recent-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #d9e4f4;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.recent-date i {
    font-size: 0.92em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.68);
}

.recent-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.recent-route {
    display: block;
    color: #fff;
    margin-top: 0;
    font-size: 0.77rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}

.recent-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(222, 230, 242, 0.96);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.recent-detail i {
    font-size: 0.92em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.62);
}

.recent-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    max-width: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dae5f4;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.recent-pill i {
    font-size: 0.92em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
}

.recent-date,
.recent-detail,
.recent-pill {
    flex: 0 1 auto;
}

.recent-detail span,
.recent-pill span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-km {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 56px;
    padding-left: 4px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 800;
    white-space: nowrap;
}

.recent-km strong {
    display: block;
    font-size: 0.84rem;
    line-height: 1;
}

.recent-km span {
    color: rgba(145, 160, 182, 0.9);
    font-size: 0.45rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hub-empty {
    padding: 14px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.hub-footer {
    padding: 8px 0 18px;
    text-align: center;
    color: rgba(145, 160, 182, 0.82);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 1120px) {
    .hub-hero,
    .hub-content {
        grid-template-columns: 1fr;
    }

    .members-grid {
        max-height: none;
    }
}

@media (max-width: 820px) {
    .hub-shell {
        width: min(100% - 18px, 100%);
        padding-top: 12px;
    }

    .hub-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hub-topbar-links {
        width: 100%;
    }

    .hub-hero {
        padding: 22px;
    }

    .hub-title {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .hub-hero__facts {
        padding: 14px;
    }

    .hub-facts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hub-latest__grid {
        grid-template-columns: 1fr;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-row,
    .recent-item {
        grid-template-columns: 1fr;
    }

    .recent-item__icon {
        width: 32px;
        height: 32px;
    }

    .recent-km {
        align-items: flex-start;
        padding-left: 0;
    }

    .leaderboard-km,
    .recent-km {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .hub-hero {
        padding: 18px;
    }

    .hub-profile-meta {
        grid-template-columns: 1fr;
    }

    .hub-profile-meta__stack {
        gap: 10px;
    }

    .hub-profile-meta__rich {
        font-size: 1rem;
        line-height: 1.72;
    }

    .hub-chips,
    .hub-hero__actions {
        gap: 8px;
    }

    .hub-chip {
        flex: 1 1 calc(50% - 8px);
        width: auto;
        justify-content: flex-start;
    }

    .hub-link,
    .hub-button {
        width: 100%;
        justify-content: center;
    }

    .hub-facts-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-toggle {
        width: 100%;
    }

    .leaderboard-toggle button {
        flex: 1;
        width: 50%;
    }
}
