/* Laayo Help Center. Night-sky 3D look (Discord-style help centre), Laayo yellow as the accent.
   Display type = Unbounded, body = Geist. 3D art = Fluent 3D (MIT) in /assets/3d. */
:root {
    --paper: #f5f5fb;
    --surface: #ffffff;
    --sunken: #eeedf7;
    --ink: #15132b;
    --ink-2: #4a4866;
    --ink-3: #7d7b96;
    --line: #e4e3ef;
    --line-strong: #d2d0e2;
    --brand: #ffd60a;
    --brand-2: #ffb703;
    --brand-ink: #15132b;
    --brand-soft: #fff4c2;
    --night: #140f33;
    --night-2: #1e1752;
    --night-3: #2b2170;
    --night-ink: #f3f1ff;
    --night-ink-2: #b9b4e0;
    --violet: #7b61ff;
    --focus: #7b61ff;
    --warn-bg: #fff4e5;
    --warn-line: #f2c98b;
    --warn-ink: #7a3e00;
    --note-bg: #f3f1ff;
    --radius: 22px;
    --radius-sm: 14px;
    --display: "Unbounded", "Geist", system-ui, sans-serif;
    --shadow: 0 1px 2px rgba(21, 19, 43, .05), 0 12px 32px -14px rgba(21, 19, 43, .22);
    --shadow-lg: 0 30px 70px -24px rgba(21, 19, 43, .45);
    --pop: cubic-bezier(.3, 1.5, .5, 1);
    color-scheme: light;
    /* category tints: light tile, deep tile */
    --t-sun: #ffe680;   --t-sun-2: #ffc93c;
    --t-peach: #ffd1bd; --t-peach-2: #ff9f7a;
    --t-sky: #c6e4ff;   --t-sky-2: #7fbaff;
    --t-rose: #ffcdd8;  --t-rose-2: #ff8aa6;
    --t-grape: #ddd3ff; --t-grape-2: #a993ff;
    --t-mint: #c8f3dc;  --t-mint-2: #6fdba5;
    --t-apricot: #ffe0b8; --t-apricot-2: #ffb85c;
    --t-aqua: #c4f1fb;  --t-aqua-2: #5fd3ef;
    --t-iris: #d3dbff;  --t-iris-2: #8aa0ff;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #0c0a1f; --surface: #161331; --sunken: #1f1b40;
        --ink: #f1f0fa; --ink-2: #c3c0de; --ink-3: #8c89ab;
        --line: #26224a; --line-strong: #37316a;
        --brand-soft: #2a2512; --note-bg: #1f1b40; --focus: #ffd60a;
        --warn-bg: #2a1f10; --warn-line: #5c4320; --warn-ink: #f5c98a;
        --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -14px rgba(0,0,0,.7);
        --shadow-lg: 0 30px 70px -24px rgba(0,0,0,.8);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --paper: #0c0a1f; --surface: #161331; --sunken: #1f1b40;
    --ink: #f1f0fa; --ink-2: #c3c0de; --ink-3: #8c89ab;
    --line: #26224a; --line-strong: #37316a;
    --brand-soft: #2a2512; --note-bg: #1f1b40; --focus: #ffd60a;
    --warn-bg: #2a1f10; --warn-line: #5c4320; --warn-ink: #f5c98a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px -14px rgba(0,0,0,.7);
    --shadow-lg: 0 30px 70px -24px rgba(0,0,0,.8);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--ink-3); }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* Buttons: chunky pills with a pressed 3D edge */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
    font-weight: 650; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .18s var(--pop), box-shadow .18s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--brand { background: var(--brand); color: var(--brand-ink); box-shadow: 0 4px 0 var(--brand-2), 0 12px 24px -10px rgba(255, 183, 3, .7); }
.btn--brand:hover { box-shadow: 0 6px 0 var(--brand-2), 0 18px 30px -12px rgba(255, 183, 3, .8); }
.btn--brand:active { box-shadow: 0 1px 0 var(--brand-2); }
.btn--ink { background: var(--night); color: #fff; box-shadow: 0 4px 0 #000, 0 14px 28px -12px rgba(20, 15, 51, .7); }
.btn--ink:active { box-shadow: 0 1px 0 #000; }
:root[data-theme="dark"] .btn--ink { background: #fff; color: var(--night); box-shadow: 0 4px 0 #b9b4e0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--ink { background: #fff; color: var(--night); box-shadow: 0 4px 0 #b9b4e0; } }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.iconbtn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink);
    transition: transform .2s var(--pop);
}
.iconbtn:hover { transform: rotate(-12deg) scale(1.06); }
.iconbtn__moon { display: none; }
:root[data-theme="dark"] .iconbtn__sun { display: none; }
:root[data-theme="dark"] .iconbtn__moon { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .iconbtn__sun { display: none; }
    :root:not([data-theme="light"]) .iconbtn__moon { display: block; }
}
.pill {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px;
    border-radius: 999px; border: 0; box-shadow: inset 0 0 0 2px var(--line-strong); background: var(--surface);
    font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .18s var(--pop), box-shadow .15s;
}
.pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ink); }

/* Top bar: always night, sits on the hero */
.topbar {
    position: sticky; top: 0; z-index: 30; color: var(--night-ink);
    background: color-mix(in srgb, var(--night) 82%, transparent);
    backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { height: 28px; width: auto; }
.brand__label { font: 700 14px/1 var(--display); letter-spacing: -.01em; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.18); color: #fff; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav__link {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px;
    font-weight: 550; font-size: 15px; text-decoration: none; color: var(--night-ink-2);
    transition: background .15s, color .15s;
}
.topnav__link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.topbar .iconbtn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.topnav__cta { margin-left: 6px; }
.topbar .btn--ink { background: #fff; color: var(--night); box-shadow: 0 3px 0 #b9b4e0; }
@media (max-width: 760px) {
    .topnav__link span, .topnav__cta { display: none; }
    .brand__label { font-size: 13px; }
}

/* ---------- Hero: night sky with floating 3D food ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    background: radial-gradient(120% 90% at 50% 0%, var(--night-3) 0%, var(--night-2) 38%, var(--night) 78%);
    margin-top: -66px; padding-top: 66px;
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__aurora--a { width: 620px; height: 420px; left: -160px; top: 30px; background: #6a4dff; animation: drift 16s ease-in-out infinite alternate; }
.hero__aurora--b { width: 560px; height: 380px; right: -140px; bottom: -60px; background: #ff5fa2; opacity: .26; animation: drift 19s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 30px) scale(1.1); } }
.hero__stars {
    position: absolute; inset: 0; opacity: .8;
    background-image:
        radial-gradient(1.6px 1.6px at 12% 22%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 28% 70%, #fff 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 42% 14%, #ffe680 50%, transparent 51%),
        radial-gradient(1px 1px at 55% 40%, #fff 50%, transparent 51%),
        radial-gradient(1.8px 1.8px at 64% 78%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 76% 28%, #c9bfff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 88% 62%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 94% 12%, #fff 50%, transparent 51%),
        radial-gradient(1.3px 1.3px at 6% 88%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 36% 50%, #fff 50%, transparent 51%);
    animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .95; } }

/* Laayo-yellow planet: shaded sphere + tilted ring */
.planet {
    position: absolute; right: 25%; top: 17%; width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff6bf 0%, #ffd60a 34%, #f2a400 70%, #b86b00 100%);
    box-shadow: inset -14px -18px 30px rgba(120, 50, 0, .45), 0 0 60px 6px rgba(255, 214, 10, .28);
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
}
.planet__ring {
    position: absolute; left: 50%; top: 50%; width: 210px; height: 56px; margin: -28px 0 0 -105px; border-radius: 50%;
    border: 5px solid rgba(255, 230, 128, .7); border-top-color: transparent; border-left-color: rgba(255,230,128,.35);
    transform: rotate(-18deg);
}

.hero__scene { position: absolute; inset: 66px 0 0; pointer-events: none; z-index: 0; }
.fl {
    position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}
.fl img {
    width: 100%; height: 100%; object-fit: contain;
    transform: rotate(var(--r));
    animation: bob 6s ease-in-out var(--d) infinite;
    filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .45));
}
.fl--mid img { filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .4)) saturate(.95); opacity: .95; }
.fl--far img { filter: blur(1.6px) drop-shadow(0 8px 10px rgba(0, 0, 0, .35)) saturate(.85); opacity: .75; animation-duration: 8s; }
@keyframes bob {
    0%, 100% { transform: translateY(0) rotate(var(--r)); }
    50% { transform: translateY(-16px) rotate(calc(var(--r) * -1)); }
}

.hero__inner { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 150px; text-align: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--night-ink-2);
    backdrop-filter: blur(6px);
}
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(62, 224, 143, 0); } }
.hero__title {
    margin: 0 0 18px; font: 800 clamp(40px, 7.4vw, 84px)/1 var(--display); letter-spacing: -.035em;
    text-shadow: 0 6px 30px rgba(10, 6, 40, .5);
}
.hero__hl {
    display: inline-block; color: var(--brand);
    background: linear-gradient(180deg, #fff2a8 0%, #ffd60a 45%, #ffaa00 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 0 #b86b00) drop-shadow(0 18px 24px rgba(255, 170, 0, .35));
    padding: 0 .04em .06em;
}
.hero__sub { margin: 0 auto 30px; max-width: 520px; font-size: 18px; color: var(--night-ink-2); }

.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 3; fill: var(--paper); }

/* Rider crossing the horizon */
.road { position: absolute; left: 0; right: 0; bottom: 46px; height: 90px; z-index: 2; pointer-events: none; }
.road__rider { position: absolute; bottom: 0; left: 100%; width: 84px; animation: ride 22s linear infinite; }
.road__rider img:first-child { width: 84px; height: 84px; animation: bump .5s ease-in-out infinite; filter: drop-shadow(0 10px 8px rgba(0,0,0,.4)); }
.road__box { position: absolute; right: 2px; top: 14px; width: 32px; height: 32px; animation: bump .5s ease-in-out .1s infinite; }
.road__rider::after {
    content: ""; position: absolute; right: -50px; top: 40px; width: 46px; height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.55), transparent);
    box-shadow: 8px 10px 0 -0.5px rgba(255,255,255,.25), 0 -10px 0 -0.5px rgba(255,255,255,.2);
}
@keyframes ride { from { transform: translateX(0); } to { transform: translateX(calc(-100vw - 220px)); } }
@keyframes bump { 50% { transform: translateY(-2px); } }

/* Search */
.search { position: relative; display: flex; align-items: center; max-width: 680px; margin: 0 auto; }
.search__icon { position: absolute; left: 22px; z-index: 1; color: var(--ink-3); pointer-events: none; }
.search__input {
    width: 100%; height: 64px; padding: 0 130px 0 56px; border-radius: 999px;
    border: 0; background: #fff; color: #15132b;
    font-size: 17px; box-shadow: 0 6px 0 rgba(0, 0, 0, .14), 0 24px 50px -16px rgba(0, 0, 0, .55);
    -webkit-appearance: none; appearance: none; transition: box-shadow .2s;
}
.search__input::-webkit-search-cancel-button { display: none; }
.search__input::placeholder { color: #8c89ab; }
.search__input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255, 214, 10, .7), 0 24px 50px -16px rgba(0, 0, 0, .55); }
.search__btn {
    position: absolute; right: 9px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
    background: var(--brand); color: var(--brand-ink); font-weight: 700; cursor: pointer;
    box-shadow: 0 3px 0 var(--brand-2); transition: transform .18s var(--pop);
}
.search__btn:hover { transform: translateY(-1px); }
@media (max-width: 520px) {
    .search__input { height: 58px; padding-right: 20px; font-size: 16px; }
    .search__btn { display: none; }
}
.search__list {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 20; margin: 0; padding: 6px;
    list-style: none; text-align: left; background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
}
.search__list a { display: block; padding: 11px 14px; border-radius: 14px; text-decoration: none; }
.search__list a small { display: block; color: var(--ink-3); font-size: 13px; }
.search__list [aria-selected="true"] a, .search__list a:hover { background: var(--sunken); }
.search__list mark { background: var(--brand-soft); color: inherit; border-radius: 3px; }
.search__all a { font-weight: 600; font-size: 14px; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; font-size: 14px; }
.chips a {
    padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 550; color: #fff;
    background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16);
    transition: background .15s, transform .18s var(--pop);
}
.chips a:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

/* Sections */
.section { padding-top: 64px; }
.section--cats { padding-top: 28px; }
.section__head { margin-bottom: 26px; }
.section__title { margin: 0; font: 700 clamp(24px, 3.4vw, 34px)/1.15 var(--display); letter-spacing: -.03em; }
.section__sub { margin: 8px 0 0; color: var(--ink-3); font-size: 16px; }

/* Topic cards: coloured art tile + big 3D icon, tilt on hover */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); perspective: 1200px; }
@media (min-width: 560px) { .cats { gap: 18px; } }
@media (max-width: 559px) {
    .cat { padding: 6px; border-radius: 22px; }
    .cat__art { height: 112px !important; border-radius: 17px; }
    .cat__icon { width: 76px; height: 76px; }
    .cat__shadow { width: 56px; margin-left: -28px; bottom: 12px; }
    .cat__body { padding: 12px 8px 8px; gap: 4px; }
    .cat__title { font-size: 14px; }
    .cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .cat__blurb { display: none; }
    .cat__count { padding-top: 6px; font-size: 13px; }
    .cat__go { width: 28px; height: 28px; }
}
@media (min-width: 940px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.cat {
    --tint: var(--t-sun); --tint-2: var(--t-sun-2);
    position: relative; display: flex; flex-direction: column; padding: 8px;
    border-radius: 28px; background: var(--surface); text-decoration: none;
    box-shadow: 0 0 0 1px var(--line), 0 2px 0 var(--line);
    transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(var(--lift, 0));
    transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.cat:hover { --lift: -6px; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 50px -24px color-mix(in srgb, var(--tint-2) 80%, #000); }
.cat.is-tilting { transition: transform .08s linear, box-shadow .3s ease; }
.cat--peach { --tint: var(--t-peach); --tint-2: var(--t-peach-2); }
.cat--sky { --tint: var(--t-sky); --tint-2: var(--t-sky-2); }
.cat--rose { --tint: var(--t-rose); --tint-2: var(--t-rose-2); }
.cat--grape { --tint: var(--t-grape); --tint-2: var(--t-grape-2); }
.cat--mint { --tint: var(--t-mint); --tint-2: var(--t-mint-2); }
.cat--apricot { --tint: var(--t-apricot); --tint-2: var(--t-apricot-2); }
.cat--aqua { --tint: var(--t-aqua); --tint-2: var(--t-aqua-2); }
.cat--iris { --tint: var(--t-iris); --tint-2: var(--t-iris-2); }
.cat__art {
    position: relative; display: grid; place-items: center; height: 168px; border-radius: 22px; overflow: hidden;
    background:
        radial-gradient(circle at 50% 120%, var(--tint-2) 0%, transparent 60%),
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.75) 0%, transparent 45%),
        var(--tint);
    transform: translateZ(20px);
}
.cat__art::before {
    content: ""; position: absolute; inset: 0; opacity: .35;
    background-image: radial-gradient(color-mix(in srgb, var(--tint-2) 70%, #000) 1.2px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
}
.cat__icon { position: relative; z-index: 1; width: 112px; height: 112px; filter: drop-shadow(0 18px 16px rgba(21, 19, 43, .28)); transition: transform .5s var(--pop); }
.cat:hover .cat__icon { transform: translateY(-10px) rotate(-8deg) scale(1.1); }
.cat__shadow { position: absolute; left: 50%; bottom: 20px; width: 84px; height: 14px; margin-left: -42px; border-radius: 50%; background: rgba(21, 19, 43, .18); filter: blur(4px); transition: transform .5s var(--pop), opacity .5s; }
.cat:hover .cat__shadow { transform: scale(.7); opacity: .6; }
.cat__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 16px 14px; transform: translateZ(30px); }
.cat__title { font: 700 18px/1.25 var(--display); letter-spacing: -.02em; }
.cat__blurb { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.cat__count { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.cat__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sunken); color: var(--ink); transition: background .2s, transform .3s var(--pop); }
.cat:hover .cat__go { background: var(--tint-2); color: #15132b; transform: translateX(3px); }
.cat__glare {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .45), transparent 45%);
    mix-blend-mode: soft-light;
}
.cat:hover .cat__glare { opacity: 1; }
:root[data-theme="dark"] .cat__art { background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--tint-2) 70%, transparent) 0%, transparent 62%), color-mix(in srgb, var(--tint-2) 22%, #161331); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cat__art { background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--tint-2) 70%, transparent) 0%, transparent 62%), color-mix(in srgb, var(--tint-2) 22%, #161331); } }

/* Popular + AI */
.split { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .split { grid-template-columns: 1.35fr 1fr; align-items: start; gap: 40px; } }
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toplist a {
    display: grid; grid-template-columns: 48px 1fr 18px; align-items: center; gap: 14px;
    padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--surface); text-decoration: none;
    box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--pop), box-shadow .2s;
}
.toplist a:hover { transform: translateX(4px); box-shadow: 0 0 0 2px var(--ink); }
.toplist__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sunken); }
.toplist__text { display: flex; flex-direction: column; min-width: 0; }
.toplist__title { font-weight: 650; line-height: 1.35; }
.toplist__meta { font-size: 13px; color: var(--ink-3); }
.toplist .ic { color: var(--ink-3); }

.aicard {
    position: relative; overflow: hidden; isolation: isolate; padding: 34px 30px 30px; border-radius: 30px;
    background: radial-gradient(120% 100% at 100% 0%, var(--night-3), var(--night) 70%); color: var(--night-ink);
    box-shadow: 0 30px 60px -28px rgba(20, 15, 51, .8);
    transform: perspective(1000px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 940px) { .aicard { position: sticky; top: 92px; } }
.aicard.is-tilting { transition: transform .08s linear; }
.aicard__orb { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 214, 10, .45), transparent 70%); }
.aicard__art { position: absolute; right: 14px; top: 10px; width: 120px; height: 120px; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .5)); animation: bob 6s ease-in-out infinite; --r: 8deg; }
.aicard__badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 650;
}
.aicard__title { margin: 18px 0 10px; max-width: 70%; font: 800 28px/1.1 var(--display); letter-spacing: -.03em; }
.aicard p { margin: 0 0 22px; color: var(--night-ink-2); }
.aicard__form { position: relative; z-index: 1; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.aicard__form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; background: transparent; color: #fff; outline: none; }
.aicard__form input::placeholder { color: #8f89c0; }
.aicard .btn--brand { min-height: 46px; }

.contactband {
    position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
    margin-top: 30px; padding: 34px 34px 34px 190px; border-radius: 32px; overflow: visible;
    background: radial-gradient(90% 140% at 0% 100%, #ffb703 0%, #ffd60a 45%, #ffe873 100%); color: #15132b;
    box-shadow: 0 6px 0 #e09a00, 0 30px 60px -26px rgba(224, 154, 0, .7);
}
.contactband__art { position: absolute; left: 22px; top: 50%; width: 150px; height: 150px; margin-top: -92px; filter: drop-shadow(0 20px 18px rgba(120, 60, 0, .35)); animation: bob 6s ease-in-out infinite; --r: -6deg; }
.contactband__text { flex: 1; min-width: 240px; }
.contactband__title { margin: 0 0 6px; font: 800 clamp(20px, 2.6vw, 28px)/1.15 var(--display); letter-spacing: -.03em; }
.contactband p { margin: 0; color: #3d3a1f; }
.contactband .path > span:not(.sep) { background: rgba(255, 255, 255, .6); border-color: rgba(21, 19, 43, .1); }
.contactband .btn--ink { background: #15132b; color: #fff; box-shadow: 0 4px 0 #000; }
@media (max-width: 720px) {
    .contactband { padding: 96px 22px 24px; margin-top: 70px; text-align: left; }
    .contactband__art { left: 50%; top: -60px; margin: 0 0 0 -60px; width: 120px; height: 120px; }
}

/* App path chips */
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: baseline; }
.path > span:not(.sep) {
    padding: 1px 9px; border-radius: 8px; background: var(--sunken); border: 1px solid var(--line);
    font-weight: 650; font-size: .92em; white-space: nowrap;
}
.path .sep { color: var(--ink-3); }

/* Sub hero (category, search, contact): compact night band */
.subhero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    margin-top: -66px; padding: 92px 0 72px;
    background: radial-gradient(120% 120% at 80% 0%, var(--night-3) 0%, var(--night-2) 40%, var(--night) 85%);
}
.subhero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
    background-image:
        radial-gradient(1.4px 1.4px at 8% 30%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 24% 76%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 52% 20%, #ffe680 50%, transparent 51%),
        radial-gradient(1px 1px at 70% 60%, #fff 50%, transparent 51%),
        radial-gradient(1.6px 1.6px at 90% 34%, #fff 50%, transparent 51%);
}
.subhero::after {
    content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 80px; border-radius: 50% 50% 0 0;
    background: var(--paper);
}
.subhero--compact { padding-bottom: 66px; }
.subhero .search { margin: 26px 0 0; max-width: 620px; }
.subhero--compact .search { margin-top: 16px; }
.subhero__row { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.subhero__icon { display: grid; place-items: center; flex: none; width: 96px; height: 96px; border-radius: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.subhero__icon .i3d { width: 76px; height: 76px; filter: drop-shadow(0 14px 14px rgba(0,0,0,.45)); animation: bob 6s ease-in-out infinite; --r: -6deg; }
.subhero__title { margin: 8px 0 6px; font: 800 clamp(28px, 5vw, 46px)/1.08 var(--display); letter-spacing: -.035em; }
.subhero__row .subhero__title { margin-top: 0; }
.subhero__blurb { margin: 0; color: var(--night-ink-2); font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.subhero .crumbs { color: var(--night-ink-2); }
.subhero .crumbs a { color: #fff; }

/* Category page */
.catpage { padding-top: 26px; }
.catsection { margin-bottom: 40px; }
.catsection__title { margin: 0 0 14px; font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.artlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 400px) { .artlist { grid-template-columns: 1fr; } }
.artlist a {
    display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 18px 20px;
    border-radius: 18px; background: var(--surface); text-decoration: none;
    box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--pop), box-shadow .2s;
}
.artlist a:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--ink), 0 16px 30px -18px rgba(21,19,43,.4); }
.artlist__title { font-weight: 650; }
.artlist__sum { font-size: 14px; color: var(--ink-3); }
.othercats { margin-top: 12px; padding-top: 30px; border-top: 1px solid var(--line); }
.othercats__title { margin: 0 0 14px; font: 700 16px/1.2 var(--display); color: var(--ink-2); }
.othercats__grid { display: flex; flex-wrap: wrap; gap: 10px; }
.othercats__grid a {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px;
    background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 14px;
    transition: transform .2s var(--pop), box-shadow .2s;
}
.othercats__grid a:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--ink); }

/* Article */
.articlepage { padding-top: 26px; }
.articlegrid { display: grid; gap: 32px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .articlegrid { grid-template-columns: 260px minmax(0, 720px); gap: 56px; } }
.sidenav { order: 2; }
@media (min-width: 960px) { .sidenav { order: 0; position: sticky; top: 92px; align-self: start; } }
.sidenav__title { margin: 0 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.sidenav ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.sidenav li a { display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.sidenav li a:hover { background: var(--sunken); color: var(--ink); }
.sidenav li a[aria-current="page"] { background: var(--night); color: #fff; font-weight: 650; }
:root[data-theme="dark"] .sidenav li a[aria-current="page"] { background: var(--brand); color: #15132b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sidenav li a[aria-current="page"] { background: var(--brand); color: #15132b; } }
.sidenav__all { display: inline-flex; align-items: center; gap: 6px; padding-left: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.article__title { margin: 0; font: 800 clamp(28px, 4.6vw, 44px)/1.1 var(--display); letter-spacing: -.035em; }
.article__meta { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); }
.article__head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }

.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose h2 { margin: 34px 0 8px; font: 700 20px/1.3 var(--display); letter-spacing: -.02em; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 22px; }
.prose li { margin: 6px 0; padding-left: 4px; }
.prose ol { counter-reset: step; list-style: none; padding-left: 0; }
.prose ol > li { counter-increment: step; position: relative; padding-left: 44px; min-height: 30px; }
.prose ol > li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
    background: var(--brand); color: #15132b; font: 800 13px/1 var(--display);
    box-shadow: 0 3px 0 var(--brand-2);
}
.prose a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--brand); }
.prose a:hover { text-decoration-color: currentColor; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--sunken); font-size: .9em; }
.prose .note, .prose .warn { margin: 22px 0; padding: 16px 18px; border-radius: 16px; font-size: 16px; }
.prose .note { background: var(--note-bg); box-shadow: inset 4px 0 0 var(--violet); }
.prose .warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }
.prose .warn a { color: inherit; }

.vote { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: center; }
.vote__q { margin: 0 0 14px; font: 700 16px/1.3 var(--display); letter-spacing: -.01em; }
.vote__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.vote__thanks { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 650; }

.stillhelp {
    position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    margin-top: 20px; padding: 24px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
    background: radial-gradient(120% 140% at 100% 0%, var(--night-3), var(--night) 70%); color: #fff;
}
.stillhelp h2 { margin: 0 0 2px; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.stillhelp p { margin: 0; color: var(--night-ink-2); }
.stillhelp > div:not(.stillhelp__btns) { flex: 1; min-width: 200px; }
.stillhelp__icon { filter: drop-shadow(0 12px 12px rgba(0,0,0,.45)); animation: bob 6s ease-in-out infinite; --r: -6deg; }
.stillhelp__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.stillhelp .btn--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.stillhelp .btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.related { margin-top: 36px; }
.related h2 { margin: 0 0 12px; font: 700 18px/1.2 var(--display); letter-spacing: -.02em; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.related a { display: block; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; transition: transform .2s var(--pop); }
.related a:hover { transform: translateX(4px); box-shadow: 0 0 0 2px var(--ink); }

/* Search page */
.searchpage { padding-top: 26px; max-width: 840px; margin-left: auto; margin-right: auto; }
.searchpage__title { margin: 0 0 18px; font: 700 24px/1.2 var(--display); letter-spacing: -.025em; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.results a { display: block; padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform .2s var(--pop), box-shadow .2s; }
.results a:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--ink); }
.results__crumb { display: block; font-size: 13px; color: var(--ink-3); }
.results__title { display: block; margin: 2px 0; font-size: 18px; font-weight: 700; }
.results__sum { color: var(--ink-2); }
.noresults, .searchpage__ai { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.searchpage__ai p { margin: 0; color: var(--ink-3); }

/* Contact */
.contactpage { padding-top: 26px; }
.ways { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.way {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px;
    border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line);
    transition: transform .3s var(--pop);
}
.way:hover { transform: translateY(-4px); }
.way--primary {
    grid-column: 1 / -1; color: #15132b;
    background: radial-gradient(90% 140% at 0% 100%, #ffb703 0%, #ffd60a 45%, #ffe873 100%);
    box-shadow: 0 6px 0 #e09a00;
}
.way--primary p { color: #3d3a1f !important; }
.way--primary .path > span:not(.sep) { background: rgba(255,255,255,.6); }
.way h2 { margin: 8px 0 0; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.way p { margin: 4px 0 8px; color: var(--ink-2); }
.way__icon { display: block; margin-bottom: 2px; }
.way__icon .i3d { filter: drop-shadow(0 10px 10px rgba(21,19,43,.25)); }
.way__how { margin-top: 4px !important; }
.way__fine { font-size: 14px; opacity: .8; }
.way .strong { font-weight: 700; font-size: 17px; }
.partnerband, .warnband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 22px 24px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.partnerband h2 { margin: 0; font: 700 18px/1.2 var(--display); letter-spacing: -.02em; }
.partnerband p { margin: 2px 0 0; color: var(--ink-2); }
.partnerband__links { display: flex; flex-wrap: wrap; gap: 8px; }
.warnband { justify-content: flex-start; flex-wrap: nowrap; background: var(--warn-bg); box-shadow: 0 0 0 1px var(--warn-line); color: var(--warn-ink); }
.warnband .ic, .warnband .i3d { flex: none; }
.warnband p { margin: 0; }

/* Ask page */
.askpage { max-width: 840px; padding-top: 36px; }
.askpage__title { margin: 14px 0 8px; font: 800 clamp(30px, 5vw, 46px)/1.08 var(--display); letter-spacing: -.035em; }
.askpage__intro { margin-bottom: 24px; }
.askpage .aicard__badge { background: var(--night); color: #fff; border: 0; }

/* Chat */
.chat { display: flex; flex-direction: column; min-height: 0; }
.chat--page { min-height: 480px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px 6px; display: flex; flex-direction: column; gap: 12px; }
.chat--page .chat__log { min-height: 300px; max-height: 60vh; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 20px; line-height: 1.55; font-size: 15px; word-wrap: break-word; overflow-wrap: anywhere; animation: msgin .3s var(--pop); }
@keyframes msgin { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.msg p { margin: 0 0 8px; } .msg p:last-child { margin: 0; }
.msg ul { margin: 6px 0; padding-left: 18px; }
.msg li { margin: 2px 0; }
.msg--user { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { align-self: flex-start; background: var(--sunken); border-bottom-left-radius: 6px; }
.msg--ai a { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 2px; }
.msg--note { align-self: center; max-width: 100%; padding: 0; background: none; font-size: 13px; color: var(--ink-3); text-align: center; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.msg__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.msg__links a { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none !important; font-size: 13px; font-weight: 600; }
.chat__suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 10px; }
.chat__suggest button {
    padding: 8px 13px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--surface);
    font-size: 14px; font-weight: 550; cursor: pointer; text-align: left; transition: transform .18s var(--pop), box-shadow .15s;
}
.chat__suggest button:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.chat__form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 16px; border-radius: 26px; background: var(--sunken); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s; }
.chat__form:focus-within { box-shadow: inset 0 0 0 2px var(--violet); }
.chat__form textarea { flex: 1; min-width: 0; max-height: 140px; padding: 9px 0; border: 0; background: transparent; resize: none; outline: none; font-size: 16px; line-height: 1.4; }
.chat__send { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--brand); color: #15132b; cursor: pointer; box-shadow: 0 3px 0 var(--brand-2); transition: transform .18s var(--pop); }
.chat__send:hover { transform: translateY(-1px) rotate(-8deg); }
.chat__send:disabled { opacity: .5; cursor: default; }
.chat__fine { margin: 8px 16px 14px; font-size: 12px; color: var(--ink-3); text-align: center; }

.fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 40;
    display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px 0 18px;
    border: 0; border-radius: 999px; background: var(--night); color: #fff;
    font-weight: 700; font-size: 15px; cursor: pointer;
    box-shadow: 0 4px 0 #000, 0 20px 40px -12px rgba(20, 15, 51, .7), inset 0 0 0 1px rgba(255,255,255,.12);
    margin-bottom: env(safe-area-inset-bottom);
    transition: transform .25s var(--pop);
}
.fab::before { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--spin, 0deg), #ffd60a, #7b61ff, #ff8aa6, #ffd60a); filter: blur(6px); opacity: .7; animation: spin 4s linear infinite; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.fab:hover { transform: translateY(-3px) scale(1.02); }
.fab .ic { color: var(--brand); }
.fab[aria-expanded="true"] { display: none; }
.chatpanel {
    position: fixed; right: 18px; bottom: 18px; z-index: 50;
    display: flex; flex-direction: column; width: min(410px, calc(100vw - 24px)); height: min(640px, calc(100vh - 100px));
    border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
    overflow: hidden; animation: pop .3s var(--pop); transform-origin: bottom right;
}
.chatpanel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
    .chatpanel { right: 0; bottom: 0; left: 0; width: 100%; height: 100dvh; border-radius: 0; }
    .fab span { display: none; } .fab { width: 58px; padding: 0; justify-content: center; }
}
.chatpanel__head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 16px; color: #fff;
    background: radial-gradient(120% 160% at 100% 0%, var(--night-3), var(--night) 70%);
}
.chatpanel__head .iconbtn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.chatpanel__who { display: flex; align-items: center; gap: 10px; }
.chatpanel__who strong { display: block; font: 700 15px/1.2 var(--display); }
.chatpanel__who small { display: block; font-size: 12px; color: var(--night-ink-2); }
.chatpanel .chat { flex: 1; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.1); }
.avatar .i3d { filter: none; }
.i3d { display: inline-block; flex: none; object-fit: contain; }
.btn .i3d, .aicard__badge .i3d { filter: none; }

/* 404 */
.notfound { padding-top: 80px; text-align: center; }
.notfound h1 { margin: 0 0 8px; font: 800 clamp(28px, 5vw, 44px)/1.1 var(--display); letter-spacing: -.035em; }
.notfound .search { margin: 26px auto; }

/* Footer */
.footer { position: relative; margin-top: 110px; padding: 70px 0 26px; background: var(--night); color: var(--night-ink-2); }
.footer::before { content: ""; position: absolute; left: -10%; right: -10%; top: -40px; height: 80px; border-radius: 50%; background: var(--night); }
.footer a { text-decoration: none; color: #fff; }
.footer a:hover { color: var(--brand); }
.footer__grid { position: relative; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer__brand { grid-column: auto; } }
.footer__brand p { margin: 14px 0; max-width: 300px; }
.footer__h { margin: 0 0 12px; font: 700 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 9px 0; font-size: 15px; overflow-wrap: anywhere; }
.stores { display: flex; gap: 8px; flex-wrap: wrap; }
.store { padding: 9px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-weight: 650; font-size: 14px; }
.footer__bottom { position: relative; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #8c89ab; }

/* Phones: smaller scene, keep floats out of the headline */
@media (max-width: 720px) {
    .hero__inner { padding-top: 70px; padding-bottom: 150px; }
    .hero__sub { font-size: 16px; padding: 0 8px; }
    .fl { width: calc(var(--s) * .56); height: calc(var(--s) * .56); margin: calc(var(--s) * -.28) 0 0 calc(var(--s) * -.28); }
    .fl--hide-sm { display: none; }
    .fl:nth-child(1) { left: 9%; top: 12%; }
    .fl:nth-child(2) { left: 10%; top: 86%; }
    .fl:nth-child(3) { left: 4%; top: 46%; }
    .fl:nth-child(5) { left: 90%; top: 13%; }
    .fl:nth-child(6) { left: 96%; top: 48%; }
    .fl:nth-child(7) { left: 88%; top: 85%; }
    .planet { display: none; }
    .planet__ring { width: 96px; height: 26px; margin: -13px 0 0 -48px; border-width: 3px; }
    .road { bottom: 40px; }
    .road__rider, .road__rider img:first-child { width: 62px; height: 62px; }
    .road__box { width: 24px; height: 24px; top: 10px; }
    .hero__edge { height: 60px; }
    .cat__art { height: 150px; }
    .aicard__art { width: 92px; height: 92px; }
    .aicard__title { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .road { display: none; }
}
