:root {
    --bg: #F7F4FF;
    --surface: #FFFFFF;
    --soft: #EEF2FF;
    --ink: #1B1340;
    --body: #2F2A4A;
    --muted: #5B5678;
    --faint: #8B86A3;
    --brand: #7C3AED;
    --brand-light: #A78BFA;
    --teal: #14B8A6;
    --coral: #F97316;
    --magenta: #E11D48;
    --amber: #F59E0B;
    --indigo: #312E81;
    --border: rgba(124,58,237,0.14);
    --shadow: 0 16px 40px rgba(49,46,129,0.10);
    --radius: 24px;
    --content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(167,139,250,.16), transparent 24rem),
        radial-gradient(circle at 92% 20%, rgba(20,184,166,.10), transparent 23rem),
        var(--bg);
    color: var(--body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}
body.overlay-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(124,58,237,.34); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 999;
    transform: translateY(-160%);
    background: var(--indigo);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    pointer-events: none;
}
.brand-bar {
    pointer-events: auto;
    height: 64px;
    margin: 14px auto 0;
    max-width: 1080px;
    padding: 8px;
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.90);
    box-shadow: 0 14px 38px rgba(49,46,129,.12);
    backdrop-filter: blur(18px);
}
.desktop-brand-bar {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) auto minmax(0,1fr) 44px;
    align-items: center;
    gap: 8px;
}
.mobile-brand-bar { display: none; }
.desktop-nav { display: flex; align-items: center; gap: 5px; min-width: 0; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-pill {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}
.nav-pill:hover { background: var(--soft); color: var(--brand); }
.nav-pill.is-active { border-color: rgba(124,58,237,.56); color: var(--brand); background: rgba(124,58,237,.05); }
.center-brand {
    min-width: 88px;
    max-width: 116px;
    height: 46px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}
.brand-logo { max-height: 34px; width: auto; max-width: 100%; object-fit: contain; }
.brand-word { font-weight: 900; letter-spacing: .02em; color: var(--ink); }
.round-control {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    color: var(--indigo);
    font-weight: 900;
    font-size: 20px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.round-control:hover { transform: translateY(-1px); background: #E4E8FF; }

.site-main { padding-top: 108px; }
.container { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.page-hero { padding: 48px 0 26px; }
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.16fr) minmax(320px,.84fr);
    gap: 36px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
h1, h2, h3 { color: var(--ink); margin-top: 0; line-height: 1.18; }
h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.045em; margin-bottom: 18px; }
h2 { font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.025em; margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 10px; }
p { margin: 0 0 16px; }
.lead { max-width: 760px; font-size: clamp(17px, 2.1vw, 21px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid var(--border);
    background: white;
    color: var(--ink);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(49,46,129,.10); border-color: rgba(124,58,237,.30); }
.button.primary { color: white; border-color: transparent; background: linear-gradient(135deg,#A78BFA 0%,#7C3AED 50%,#14B8A6 100%); }
.button.textual { background: transparent; border-color: transparent; padding-left: 0; padding-right: 0; min-width: auto; color: var(--brand); }

.media-frame {
    margin: 0;
    aspect-ratio: var(--media-ratio, 16 / 10);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, #F0EAFF, #FFFFFF 45%, #E8FBF7);
    box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.contain img { object-fit: contain; padding: 10px; }
.badge-media { width: 72px; border-radius: 18px; box-shadow: none; margin: 0 0 16px; }
.media-placeholder { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.placeholder-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-a { width: 48%; aspect-ratio: 1; left: -8%; top: 8%; background: rgba(124,58,237,.19); }
.orb-b { width: 42%; aspect-ratio: 1; right: -5%; bottom: -6%; background: rgba(20,184,166,.17); }
.placeholder-line { position: absolute; left: 18%; right: 18%; top: 47%; height: 18%; border-radius: 999px; background: rgba(249,115,22,.14); transform: rotate(-8deg); }

.section { padding: 54px 0; }
.section.tight { padding: 36px 0; }
.section-soft { background: rgba(238,242,255,.72); border-top: 1px solid rgba(124,58,237,.07); border-bottom: 1px solid rgba(124,58,237,.07); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 24px; }
.section-head p { max-width: 620px; color: var(--muted); margin-bottom: 0; }
.kicker { color: var(--brand); font-weight: 900; font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 28px rgba(49,46,129,.06);
}
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; margin-top: 10px; color: var(--brand); font-weight: 800; }
.card-link::after { content: "→"; margin-left: 7px; }

.tag-track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.tag-card {
    min-height: 150px;
    padding: 22px;
    border-radius: 22px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 8px 22px rgba(49,46,129,.05);
}
.tag-dot { width: 11px; height: 11px; border-radius: 50%; margin-bottom: 16px; background: var(--brand); }
.tag-card:nth-child(4n+2) .tag-dot { background: var(--teal); }
.tag-card:nth-child(4n+3) .tag-dot { background: var(--coral); }
.tag-card:nth-child(4n+4) .tag-dot { background: var(--magenta); }
.tag-card h3 { font-size: 18px; }
.tag-card p { font-size: 14px; color: var(--muted); }
.tag-card a { color: var(--brand); font-weight: 800; }

.number-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 28px; align-items: start; }
.number-index { position: sticky; top: 105px; display: grid; gap: 8px; }
.number-index a { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: white; border: 1px solid var(--border); }
.number-index span { color: var(--brand); font-weight: 900; }
.number-copy { display: grid; gap: 18px; }
.number-copy article { padding: 28px; background: white; border-radius: 24px; border: 1px solid var(--border); }
.number-copy .media-frame { margin-top: 18px; }

.mosaic { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.mosaic-card { position: relative; overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 26px; padding: 24px; }
.mosaic-card.large { grid-row: span 2; }
.mosaic-card .media-frame { margin-bottom: 18px; box-shadow: none; }
.mosaic-card p { color: var(--muted); }

.split-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.split-card { background: white; border-radius: 26px; border: 1px solid var(--border); padding: 24px; }
.split-card .media-frame { margin-bottom: 20px; box-shadow: none; }

.board-grid { columns: 3; column-gap: 18px; }
.board-item { break-inside: avoid; margin-bottom: 18px; padding: 22px; background: white; border-radius: 24px; border: 1px solid var(--border); }
.board-item:nth-child(3n+1) { padding-bottom: 34px; }
.board-item:nth-child(3n+2) { padding-top: 30px; }
.board-item .index-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 32px; border-radius: 999px; color: white; background: var(--brand); font-weight: 900; margin-bottom: 14px; }
.board-item:nth-child(3n+2) .index-chip { background: var(--teal); }
.board-item:nth-child(3n) .index-chip { background: var(--coral); }

.folder-list { display: grid; gap: 14px; }
.folder-row { display: grid; grid-template-columns: 70px minmax(0,1fr) auto; gap: 18px; align-items: center; min-height: 116px; padding: 18px 22px; background: white; border: 1px solid var(--border); border-radius: 20px; }
.folder-tab { width: 58px; height: 44px; border-radius: 12px 12px 16px 16px; background: linear-gradient(150deg, rgba(167,139,250,.8), rgba(124,58,237,.9)); position: relative; }
.folder-tab::before { content: ""; position: absolute; left: 0; top: -8px; width: 26px; height: 12px; border-radius: 8px 8px 0 0; background: rgba(167,139,250,.88); }
.folder-row p { margin: 4px 0 0; color: var(--muted); }
.folder-row > a { color: var(--brand); font-weight: 900; }

.rank-list { display: grid; gap: 14px; }
.rank-item { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 18px; align-items: center; background: white; border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.rank-num { font-size: clamp(46px,8vw,88px); line-height: .85; font-weight: 950; color: var(--brand); letter-spacing: -.08em; }
.rank-item:nth-child(5n+2) .rank-num { color: var(--teal); }
.rank-item:nth-child(5n+3) .rank-num { color: var(--coral); }
.rank-item:nth-child(5n+4) .rank-num { color: var(--magenta); }
.rank-item:nth-child(5n+5) .rank-num { color: var(--amber); }

.timeline { position: relative; margin-left: 18px; padding-left: 34px; display: grid; gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(124,58,237,.19); }
.timeline-item { position: relative; padding: 22px 24px; background: white; border: 1px solid var(--border); border-radius: 22px; }
.timeline-item::before { content: ""; position: absolute; left: -36px; top: 31px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 4px solid var(--bg); }
.status { display: inline-flex; min-height: 30px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--soft); color: var(--indigo); font-weight: 800; font-size: 13px; margin-bottom: 10px; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step { counter-increment: step; display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 18px; padding: 22px; background: white; border: 1px solid var(--border); border-radius: 22px; }
.step::before { content: counter(step, decimal-leading-zero); display: flex; align-items: flex-start; justify-content: center; color: var(--brand); font-size: 30px; font-weight: 950; }

.longform { max-width: 860px; margin: 0 auto; }
.longform article { padding: 30px; background: white; border: 1px solid var(--border); border-radius: 26px; box-shadow: 0 10px 28px rgba(49,46,129,.05); }
.longform article + article { margin-top: 18px; }
.editor-note { border-left: 4px solid var(--brand); padding-left: 18px; color: var(--muted); }

.index-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.index-item { padding: 24px; background: white; border-radius: 22px; border: 1px solid var(--border); }
.index-item .index-no { color: var(--brand); font-weight: 950; font-size: 13px; letter-spacing: .08em; }

.product-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 32px; align-items: center; }
.product-copy { padding: 28px; background: white; border: 1px solid var(--border); border-radius: 26px; }
.product-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.product-list div { padding: 16px; background: var(--soft); border-radius: 18px; }

.policy-list { display: grid; gap: 16px; }
.policy-item { padding: 26px; background: white; border-radius: 22px; border: 1px solid var(--border); }
.policy-item h2 { font-size: 24px; }
.policy-item ul { margin: 12px 0 0; padding-left: 20px; }
.policy-item li + li { margin-top: 8px; }

.faq-list { display: grid; gap: 14px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 22px; padding: 22px 24px; }
.faq-item h2 { font-size: 20px; margin-bottom: 10px; }
.faq-item p { margin-bottom: 0; color: var(--muted); }

.notice { padding: 20px 22px; border-radius: 20px; background: rgba(20,184,166,.10); border: 1px solid rgba(20,184,166,.18); color: #135E58; }
.notice strong { color: #0B4C47; }
.mini-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mini-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: white; border: 1px solid var(--border); color: var(--brand); font-weight: 800; }

.site-footer { margin-top: 70px; background: var(--ink); color: #F4F0FF; padding: 50px 0 calc(38px + env(safe-area-inset-bottom)); }
.footer-inner { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.footer-brand-row { display: flex; gap: 14px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-mark { width: 68px; min-height: 46px; display: flex; align-items: center; }
.footer-logo { max-height: 38px; max-width: 68px; object-fit: contain; color: white; }
.footer-brand-row strong { display: block; font-size: 20px; color: white; }
.footer-brand-row span { display: block; color: rgba(244,240,255,.68); font-size: 13px; }
.footer-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; padding: 30px 0; }
.footer-columns h2 { color: white; font-size: 15px; margin-bottom: 14px; }
.footer-columns a { display: block; color: rgba(244,240,255,.78); padding: 4px 0; }
.footer-columns a:hover { color: white; }
.footer-note { max-width: 840px; color: rgba(244,240,255,.72); }
.copyright { margin-bottom: 0; color: rgba(244,240,255,.52); font-size: 13px; }

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 78;
    background: rgba(27,19,64,.34);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.page-overlay.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.site-drawer {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 90;
    width: min(720px, calc(100% - 24px));
    max-height: 78vh;
    overflow-y: auto;
    transform: translate(-50%, 110%);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 60px rgba(27,19,64,.22);
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s ease, visibility .28s ease;
}
.site-drawer.is-open { transform: translate(-50%,0); visibility: visible; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; position: sticky; top: -20px; z-index: 2; margin: -20px -20px 10px; padding: 18px 20px; background: rgba(247,244,255,.96); border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 12px; }
.drawer-logo { max-width: 70px; max-height: 34px; object-fit: contain; }
.drawer-brand strong, .drawer-brand span { display: block; }
.drawer-brand span { color: var(--muted); font-size: 13px; }
.drawer-search-button { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 999px; background: white; color: var(--muted); text-align: left; padding: 0 18px; cursor: pointer; }
.drawer-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.drawer-groups section { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 18px; }
.drawer-groups h2 { font-size: 15px; margin-bottom: 10px; }
.drawer-groups a { display: block; padding: 10px 0; border-top: 1px solid rgba(124,58,237,.08); }
.drawer-groups a:first-of-type { border-top: 0; }
.drawer-groups strong { display: block; color: var(--ink); font-size: 15px; }
.drawer-groups span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.search-layer { position: fixed; inset: 0; z-index: 88; visibility: hidden; pointer-events: none; }
.search-layer.is-open { visibility: visible; pointer-events: auto; }
.search-card {
    position: absolute;
    top: 88px;
    left: 50%;
    transform: translateX(-50%) translateY(-14px);
    width: min(760px, calc(100% - 32px));
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(27,19,64,.22);
    opacity: 0;
    transition: .22s ease;
}
.search-layer.is-open .search-card { opacity: 1; transform: translateX(-50%) translateY(0); }
.search-head { display: flex; justify-content: space-between; gap: 16px; }
.search-head h2 { font-size: 26px; }
.search-input-wrap { display: block; margin-top: 18px; }
.search-input-wrap input { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: white; color: var(--ink); }
.search-note { color: var(--muted); font-size: 13px; margin: 10px 3px 0; }
.preset-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.preset-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: white; color: var(--brand); border: 1px solid var(--border); font-weight: 800; }

.mobile-bottom-nav { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 1080px) {
    .desktop-brand-bar { width: calc(100% - 24px); }
    .nav-pill { padding: 0 9px; font-size: 13px; }
    .center-brand { min-width: 78px; }
}

@media (max-width: 900px) {
    .desktop-brand-bar { display: none; }
    .mobile-brand-bar {
        width: calc(100% - 24px);
        display: grid;
        grid-template-columns: 44px minmax(0,1fr) auto;
        align-items: center;
        gap: 10px;
        border-radius: 24px;
    }
    .mobile-brand-bar .center-brand { justify-self: center; max-width: 130px; }
    .mobile-app-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; color: var(--brand); font-weight: 900; background: var(--soft); }
    .mobile-app-link.is-active { background: var(--brand); color: white; }
    .site-main { padding-top: 96px; }
    .page-hero { padding-top: 34px; }
    .page-hero-grid, .product-grid { grid-template-columns: 1fr; }
    .cards, .tag-track { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .number-layout { grid-template-columns: 1fr; }
    .number-index { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mosaic { grid-template-columns: 1fr; }
    .mosaic-card.large { grid-row: auto; }
    .board-grid { columns: 2; }
    .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .container, .footer-inner { width: min(calc(100% - 32px), var(--content)); }
    .brand-bar { margin-top: 8px; height: 60px; padding: 7px; }
    .mobile-brand-bar { width: calc(100% - 16px); border-radius: 20px; }
    .site-main { padding-top: 84px; }
    .page-hero { padding-top: 28px; padding-bottom: 18px; }
    h1 { font-size: clamp(34px, 11vw, 52px); }
    h2 { font-size: 28px; }
    .section { padding: 40px 0; }
    .section-head { display: block; }
    .section-head p { margin-top: 10px; }
    .cards, .tag-track, .split-grid, .index-list, .product-list { grid-template-columns: 1fr; }
    .tag-card { min-height: auto; }
    .number-index { grid-template-columns: 1fr 1fr; }
    .number-index a { min-height: 44px; font-size: 13px; padding: 8px 10px; }
    .board-grid { columns: 1; }
    .folder-row { grid-template-columns: 54px minmax(0,1fr); }
    .folder-row > a { grid-column: 2; }
    .rank-item { grid-template-columns: 86px minmax(0,1fr); }
    .timeline { margin-left: 4px; padding-left: 26px; }
    .timeline-item::before { left: -28px; }
    .step { grid-template-columns: 54px minmax(0,1fr); padding: 18px; }
    .longform article { padding: 22px; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
    .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
    .site-drawer { width: 100%; max-height: 78vh; border-radius: 26px 26px 0 0; }
    .drawer-groups { grid-template-columns: 1fr; }
    .search-layer { background: var(--bg); }
    .search-card { top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 0; transform: translateY(-8px); overflow-y: auto; padding: 28px 18px 110px; box-shadow: none; }
    .search-layer.is-open .search-card { transform: translateY(0); }
    .mobile-bottom-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 66;
        height: 52px;
        display: grid;
        grid-template-columns: repeat(5,1fr);
        align-items: center;
        padding: 4px 6px;
        border-radius: 22px;
        border: 1px solid rgba(124,58,237,.14);
        background: rgba(255,255,255,.92);
        box-shadow: 0 16px 40px rgba(49,46,129,.16);
        backdrop-filter: blur(18px);
    }
    .mobile-bottom-nav a { min-width: 0; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--muted); font-size: 10px; font-weight: 800; border-radius: 16px; }
    .mobile-bottom-nav .bottom-icon { font-size: 16px; line-height: 1; }
    .mobile-bottom-nav a.is-active { color: var(--brand); position: relative; }
    .mobile-bottom-nav a.is-active::before { content: ""; position: absolute; top: 4px; right: 24%; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
