/* EvoGO visual system — module cards, page heroes, landing features */

/* ── Module accent tokens ── */
[data-module="myroom"] { --module-accent: var(--evo-green); --module-glow: var(--evo-green-dim); }
[data-module="arena"] { --module-accent: var(--evo-red); --module-glow: var(--evo-red-dim); }
[data-module="school"] { --module-accent: #58a6ff; --module-glow: rgba(88, 166, 255, 0.14); }
[data-module="store"] { --module-accent: var(--evo-gold); --module-glow: var(--evo-gold-dim); }
[data-module="dojo"] { --module-accent: var(--evo-purple); --module-glow: var(--evo-purple-dim); }
[data-module="lounge"] { --module-accent: #bc8cff; --module-glow: rgba(188, 140, 255, 0.14); }

/* ── Visual hub cards ── */
.evo-card--visual {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.evo-card--visual:hover {
    border-color: var(--module-accent, var(--evo-cyan));
    box-shadow: 0 0 28px var(--module-glow, var(--evo-cyan-dim));
}

.evo-card-cover-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0c1018;
}

.evo-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.evo-card--visual:hover .evo-card-cover {
    transform: scale(1.04);
}

.evo-card-cover-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 15, 0.75) 100%);
    pointer-events: none;
}

.evo-card-body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.evo-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.evo-card-head h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.evo-card-desc {
    margin: 0.65rem 0 0;
    line-height: 1.65;
    font-size: 0.8125rem;
    flex: 1;
}

/* ── Dashboard with bg ── */
.evo-dashboard--visual {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.evo-dashboard--visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/hub/dashboard-bg.webp?v=2') center / cover no-repeat;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.evo-dashboard--visual > * {
    position: relative;
    z-index: 1;
}

.evo-dashboard__main--link {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.evo-dashboard__main--link:hover {
    opacity: 0.92;
}

.evo-dashboard__main--link .evo-dashboard__name {
    color: inherit;
}

.evo-dashboard__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    flex-wrap: wrap;
    cursor: pointer;
}

.evo-dashboard__identity {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.evo-dashboard__name {
    margin: 0 0 8px;
    font-family: var(--evo-display);
    font-size: 1.25rem;
}

.evo-dashboard__stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.evo-dashboard__claim {
    flex-shrink: 0;
    align-self: center;
}

/* ── Hub quick start (play/replay first) ── */
.hub-quickstart {
    margin-bottom: 1rem;
    display: grid;
    gap: 0.9rem;
    overflow: hidden;
}

.hub-quickstart__head {
    display: grid;
    gap: 0.35rem;
}

.hub-quickstart__kicker {
    margin: 0;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    color: var(--evo-cyan);
    font-family: var(--evo-font);
    font-weight: 600;
}

.hub-quickstart__title {
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    line-height: 1.25;
    font-family: var(--evo-font);
    font-weight: 700;
    color: #fff;
}

.hub-quickstart__sub {
    margin: 0;
    font-size: 0.86rem;
    color: var(--evo-muted-strong);
    max-width: 68ch;
}

.hub-quickstart__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hub-quickstart__card {
    position: relative;
    display: block;
    min-height: 160px;
    border-radius: var(--evo-radius);
    border: 1px solid var(--evo-border-subtle);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    isolation: isolate;
    transition: transform var(--evo-transition), box-shadow var(--evo-transition), border-color var(--evo-transition);
}

.hub-quickstart__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hub-quickstart__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(165deg, rgba(5, 7, 15, 0.52) 0%, rgba(5, 7, 15, 0.8) 62%, rgba(5, 7, 15, 0.92) 100%),
        linear-gradient(135deg, var(--module-glow, var(--evo-cyan-dim)) 0%, transparent 60%);
}

.hub-quickstart__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    align-content: space-between;
    gap: 0.55rem;
    padding: 1rem 1rem 0.95rem;
}

.hub-quickstart__name {
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-weight: 700;
    font-family: var(--evo-font);
}

.hub-quickstart__desc {
    font-size: 0.79rem;
    line-height: 1.45;
    color: var(--evo-muted-strong);
    text-wrap: pretty;
}

.hub-quickstart__cta {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--module-accent, var(--evo-cyan));
    background: var(--module-glow, var(--evo-cyan-dim));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hub-quickstart__card:hover {
    border-color: var(--module-accent, var(--evo-cyan));
    box-shadow: 0 0 28px var(--module-glow, var(--evo-cyan-dim));
    transform: translateY(-2px);
}

.hub-quickstart__card:hover .hub-quickstart__bg {
    transform: scale(1.05);
}

.evo-stat-hint {
    font-size: 0.75rem;
    margin-top: 4px;
    color: var(--evo-muted-strong);
    line-height: 1.4;
}

.evo-avatar--vip {
    border-color: var(--evo-gold);
    box-shadow: 0 0 18px rgba(242, 201, 102, 0.35);
}

.evo-hub-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.evo-notif-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.evo-notif-panel-head strong {
    font-size: 0.75rem;
    color: var(--evo-cyan);
}

/* Profile modal */
.profile-modal {
    max-width: 420px;
    text-align: left;
}

.profile-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-modal-avatar {
    width: 56px;
    height: 56px;
}

.profile-modal-title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
}

.profile-modal-meta {
    font-size: 0.8125rem;
    line-height: 1.8;
    margin: 0;
}

.profile-modal-meta strong {
    color: #fff;
}

.profile-modal-role {
    color: var(--evo-purple);
    font-weight: 700;
}

.profile-modal-link--ok {
    color: var(--evo-green);
    font-weight: 700;
}

.profile-modal-link--err {
    color: var(--evo-red);
    font-weight: 700;
}

.profile-modal-alert {
    margin-top: 1rem;
}

.profile-kyc-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--evo-border);
}

.profile-kyc-title {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--evo-cyan);
}

.profile-kyc-steps {
    font-size: 0.8125rem;
    margin-bottom: 0.85rem;
    display: grid;
    gap: 0.35rem;
}

.profile-kyc-steps div {
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.profile-kyc-label {
    font-size: 0.75rem;
    flex: 1 1 100%;
    color: var(--evo-muted);
}

.profile-kyc-input {
    width: 100%;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

/* Onboarding page */
.onboarding-page {
    min-height: 100vh;
}

.onboarding-wrap {
    max-width: 720px;
    margin: 3rem auto;
    padding: 1.5rem;
}

.onboarding-intro {
    line-height: 1.7;
}

.onboarding-step--link {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}

.onboarding-step--link:hover {
    border-color: var(--evo-cyan);
    transform: translateY(-2px);
}

.onboarding-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ── Page hero strip ── */
.page-hero {
    position: relative;
    height: 7.5rem;
    border-radius: var(--evo-radius);
    margin-bottom: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--evo-border-subtle);
    background: var(--evo-panel) center / cover no-repeat;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(5, 7, 15, 0.88) 0%, rgba(5, 7, 15, 0.45) 55%, rgba(5, 7, 15, 0.2) 100%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.5rem;
}

.page-hero-title {
    font-family: var(--evo-display);
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
    letter-spacing: 0.06em;
}

.page-hero-sub {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--evo-muted);
    max-width: 36rem;
}

.page-hero--friends { background-image: url('/images/pages/friends-hero.webp?v=2'); }

.friends-add-card,
.friends-pending-card,
.friends-list-row {
    border-color: rgba(88, 166, 255, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.friends-list-row {
    cursor: pointer;
    padding: 0.65rem 0.85rem;
    border-radius: var(--evo-radius-sm);
    border: 1px solid rgba(88, 166, 255, 0.12);
    background: rgba(8, 14, 28, 0.45);
}

.friends-list-row:hover {
    border-color: rgba(88, 166, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(88, 166, 255, 0.08);
    transform: translateX(2px);
}

.friends-chat-log {
    border: 1px solid rgba(167, 139, 250, 0.15);
    background: rgba(6, 10, 22, 0.55);
}

.page-hero--stats { background-image: url('/images/pages/stats-hero.webp?v=2'); }
.page-hero--games { background-image: url('/images/pages/games-hero.webp?v=2'); }
.page-hero--guild { background-image: url('/images/pages/guild-hero.webp?v=2'); }
.page-hero--achievements { background-image: url('/images/pages/achievements-hero.webp?v=2'); }
.page-hero--season { background-image: url('/images/pages/season-hero.webp?v=2'); }

/* ── School hall banner ── */
.school-hall-banner {
    height: 140px;
    border-radius: var(--evo-radius);
    background: url('/images/school/hall-banner.webp?v=2') center / cover no-repeat;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 166, 255, 0.25);
}

.school-hall-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 7, 15, 0.85), transparent 70%);
}

.school-hall-banner h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 1.5rem;
    font-family: var(--evo-display);
    font-size: 1.125rem;
    color: #fff;
    letter-spacing: 0.08em;
}

.level-node--badge {
    background-size: 56px 56px;
    background-repeat: no-repeat;
    background-position: center 8px;
    padding-top: 68px !important;
    min-height: 120px !important;
}

.kyu-node.level-node--badge { background-image: url('/images/school/rank-badge-kyu.webp?v=2'); }
.dan-node.level-node--badge {
    background-image: url('/images/school/rank-badge-dan.webp?v=2');
    background-size: 64px 64px;
    background-position: center 4px;
    padding-top: 74px !important;
    min-height: 128px !important;
    border-color: rgba(188, 140, 255, 0.4);
    background-color: rgba(88, 28, 135, 0.12);
}

.level-node--badge .level-node-rank {
    font-size: 0.875rem;
}

.dan-node.level-node--badge .level-node-rank {
    font-size: 1.25rem;
    font-weight: 900;
    color: #f5efff;
    text-shadow:
        0 0 16px rgba(188, 140, 255, 0.95),
        0 2px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.1em;
    line-height: 1.15;
}

.dan-node.level-node--badge .level-node-count {
    color: #d8c4ff;
    font-weight: 700;
    font-size: 0.8125rem;
    opacity: 1;
}

.dan-node.level-node--badge .level-node-solved,
.dan-node.level-node--badge .level-node-last {
    font-size: 0.75rem;
}

/* ── Arena match cards with art ── */
.match-card--visual {
    padding: 0;
    overflow: hidden;
    text-align: left;
    min-width: 140px;
    flex: 1;
}

.match-card-art {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    opacity: 0.92;
}

.match-card-body {
    padding: 0.65rem 0.75rem;
}

.radar-box--visual {
    position: relative;
    overflow: hidden;
}

.radar-box--visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/arena/radar-bg.webp?v=2') center / cover no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.radar-box--visual > * {
    position: relative;
    z-index: 1;
}

/* ── Lounge game cards ── */
.lounge-game-card--visual {
    padding: 0;
    overflow: hidden;
}

.lounge-game-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.lounge-game-body {
    padding: 1rem;
}

/* ── Store token visual ── */
.store-item--token-visual {
    position: relative;
    overflow: hidden;
}

.store-item--token-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url('/images/brand/token-stack.webp?v=2') center / cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.store-item--token-visual .store-price {
    margin-top: 4.5rem;
}

/* ── Landing (guest) ── */
.evo-landing--visual {
    position: relative;
    isolation: isolate;
    padding: max(2rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
}

.evo-landing--visual::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url('/images/brand/landing-hero.webp?v=2') center / cover no-repeat;
}

.evo-landing--visual::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(0, 229, 255, 0.1), transparent 55%),
        linear-gradient(180deg, rgba(5, 7, 15, 0.4) 0%, rgba(5, 7, 15, 0.92) 100%);
    pointer-events: none;
}

.evo-landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    width: 100%;
    margin: 0 0 2.5rem;
    padding: 0 1rem;
}

.evo-landing-feature {
    border-radius: var(--evo-radius);
    overflow: hidden;
    border: 1px solid var(--evo-border-subtle);
    background: var(--evo-panel);
    text-align: left;
}

.evo-landing-feature img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.evo-landing-feature-body {
    padding: 0.85rem 1rem 1rem;
}

.evo-landing-feature-body h3 {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    font-family: var(--evo-display);
    color: var(--evo-cyan);
    letter-spacing: 0.06em;
}

.evo-landing-feature-body p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--evo-muted-strong);
    line-height: 1.6;
}

/* ── Onboarding steps ── */
.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.onboarding-step {
    border-radius: var(--evo-radius);
    overflow: hidden;
    border: 1px solid var(--evo-border-subtle);
    background: var(--evo-panel);
}

.onboarding-step img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.onboarding-step-body {
    padding: 0.85rem 1rem 1rem;
}

.onboarding-step-body h3 {
    margin: 0 0 0.35rem;
    font-size: 0.875rem;
    color: #fff;
}

.onboarding-step-body p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--evo-muted);
    line-height: 1.55;
}

.achievement-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--evo-gold-dim);
    border: 1px solid rgba(242, 201, 102, 0.25);
    overflow: hidden;
    flex-shrink: 0;
}

.achievement-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.achievement-card-icon.is-locked {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--evo-border-subtle);
    opacity: 0.6;
}

.evo-landing-lang {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.evo-landing-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
}

.evo-landing-btns .evo-btn {
    padding: 1rem 2.5rem;
}

@keyframes evo-rise-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evo-landing--visual .evo-landing-lang {
    animation: evo-rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.evo-landing--visual .evo-landing-logo {
    animation: evo-rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.45));
}

.evo-landing--visual h1 {
    animation: evo-rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.evo-landing--visual .evo-landing-sub {
    animation: evo-rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.evo-landing--visual .evo-landing-feature {
    animation: evo-rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.evo-landing--visual .evo-landing-feature:nth-child(1) { animation-delay: 0.22s; }
.evo-landing--visual .evo-landing-feature:nth-child(2) { animation-delay: 0.3s; }
.evo-landing--visual .evo-landing-feature:nth-child(3) { animation-delay: 0.38s; }

.evo-landing--visual .evo-landing-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 229, 255, 0.08);
}

.evo-landing--visual .evo-landing-feature:active {
    transform: translateY(-1px) scale(0.99);
}

.evo-landing--visual .evo-landing-btns {
    animation: evo-rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

@media (prefers-reduced-motion: reduce) {
    .evo-landing--visual .evo-landing-lang,
    .evo-landing--visual .evo-landing-logo,
    .evo-landing--visual h1,
    .evo-landing--visual .evo-landing-sub,
    .evo-landing--visual .evo-landing-feature,
    .evo-landing--visual .evo-landing-btns {
        animation: none;
    }

    .evo-landing--visual .evo-landing-feature:hover,
    .evo-landing--visual .evo-landing-feature:active {
        transform: none;
    }
}

@media (max-width: 768px) {
    .evo-landing-features {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

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

    .page-hero {
        height: 5.5rem;
        margin-bottom: 1rem;
    }

    .page-hero-inner {
        padding: 0 1rem;
    }

    .page-hero-title {
        font-size: 1.05rem;
    }

    .page-hero-sub {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }

    .evo-dashboard--visual::before {
        opacity: 0.12;
    }

    .evo-dashboard--visual {
        padding: 1.25rem 1rem;
    }

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

    .hub-quickstart__card {
        min-height: 148px;
    }

    .hub-quickstart__card:active {
        transform: scale(0.985);
    }

    .evo-card-body {
        padding: 0.85rem 1rem 1rem;
    }

    .evo-card-head h3 {
        font-size: 0.9375rem;
    }

    .profile-modal {
        max-width: none;
        margin: 0;
        border-radius: var(--evo-radius) var(--evo-radius) 0 0;
    }

    .evo-modal-content.profile-modal {
        width: 100%;
        max-height: 92dvh;
        overflow-y: auto;
    }

    .evo-grid-2 {
        gap: 1rem;
    }

    .evo-card--visual:active {
        transform: scale(0.985);
    }

    .evo-dashboard__claim:active {
        transform: scale(0.98);
    }
}

/* —— Legal footer (payment gateway compliance) —— */
.legal-site-footer {
    margin: 2rem auto 1.25rem;
    padding: 0 1rem 1.25rem;
    max-width: 42rem;
    text-align: center;
}

.evo-landing .legal-site-footer {
    margin-top: 2.5rem;
    max-width: 36rem;
}

.legal-site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 1rem;
    margin-bottom: 0.65rem;
}

.legal-site-footer__nav a {
    color: var(--evo-muted-strong, #a8b3c0);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.legal-site-footer__nav a:hover {
    color: var(--evo-cyan);
}

.legal-site-footer__copy {
    font-size: 0.75rem;
    line-height: 1.5;
}

.evo-auth-legal {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.55;
    text-align: center;
}

.evo-auth-legal a {
    color: var(--evo-cyan);
    text-decoration: none;
}

.evo-auth-legal a:hover {
    text-decoration: underline;
}

body.evo-auth-page .legal-site-footer {
    margin-top: 0;
}

/* Hub sidebar legal strip */
.hub-legal-strip {
    display: none;
    padding: 0.5rem 0.75rem 0.75rem;
    border-top: 1px solid var(--evo-border-subtle, rgba(255, 255, 255, 0.08));
}

.hub-legal-strip__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    justify-content: center;
}

.hub-legal-strip__nav a {
    color: var(--evo-muted-strong, #a8b3c0);
    font-size: 0.6875rem;
    text-decoration: none;
}

.hub-legal-strip__nav a:hover {
    color: var(--evo-cyan);
}

@media (min-width: 901px) {
    .hub-legal-strip {
        display: block;
    }
}

@media (max-width: 900px) {
    .evo-main .hub-legal-strip--main {
        display: block;
        margin: 1.5rem auto 0;
        max-width: 680px;
        padding: 0 1rem 1rem;
    }
}

.profile-name-link {
    color: inherit;
    text-decoration: none;
}

.profile-name-link:hover {
    color: var(--evo-cyan);
}

.evo-hub-drawer-legal {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--evo-border-subtle);
    flex-wrap: wrap;
    justify-content: center;
}
