@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/outfit-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    --bg: #ffffff;
    --wash: #f5f7fb;
    --ink: #161922;
    --muted: #5c6578;
    --line: #e6eaf2;
    --accent: #5346f0;
    --accent-2: #2f78ff;
    --soft: #efedff;
    --danger: #8e1d34;
    --danger-bg: #fff1f3;
    --ok: #0c6b40;
    --ok-bg: #eefbf4;
    --shadow: 0 12px 40px rgba(32, 39, 80, 0.08);
    --radius: 20px;
    --header: 72px;
    --max: 1120px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #12141a;
    --wash: #1b2030;
    --ink: #f4f6fb;
    --muted: #b7c0d4;
    --line: #2c3448;
    --accent: #9aa8ff;
    --accent-2: #7aa2ff;
    --soft: #2a2458;
    --danger: #ffb3c0;
    --danger-bg: #3a1822;
    --ok: #b7f0d0;
    --ok-bg: #143226;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .nav-toggle,
html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .form-grid input,
html[data-theme="dark"] .form-grid textarea,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .media-card,
html[data-theme="dark"] .reel-card,
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .lookup {
    background: var(--wash);
}
html[data-theme="dark"] h1,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .site-nav a { color: var(--ink); }
html[data-theme="dark"] .nav-toggle-bars span { background: var(--ink); }
html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .lookup-input,
html[data-theme="dark"] .story-card,
html[data-theme="dark"] .faq details { background: var(--wash); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] a:hover { color: #c9d2ff; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: 1.02rem;
    line-height: 1.6;
    overflow-x: hidden;
}
.hero, .page-hero { position: relative; }
.hero > :not(.scene),
.page-hero > :not(.scene) { position: relative; z-index: 1; }
.scene {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 8% 18%, rgba(255, 140, 196, 0.45), transparent 62%),
        radial-gradient(720px 480px at 96% 8%, rgba(126, 92, 255, 0.28), transparent 60%),
        linear-gradient(180deg, #f7f3ff 0%, #fff 46%, #f6f4ff 100%);
}
.orb, .dot { position: absolute; display: block; }
.orb-pink {
    width: 460px;
    height: 560px;
    left: -180px;
    top: 80px;
    border-radius: 58% 42% 62% 38% / 46% 58% 42% 54%;
    background: radial-gradient(circle at 35% 30%, #ffd0ea 0%, #ff7eb6 28%, #e23d9a 62%, #9b4dff 100%);
    opacity: 0.55;
    filter: blur(2px);
}
.orb-violet {
    width: 380px;
    height: 420px;
    right: -140px;
    top: -80px;
    border-radius: 46% 54% 40% 60% / 52% 38% 62% 48%;
    background: radial-gradient(circle at 40% 40%, #d7c8ff, #7a5cff 55%, #3d2e9a);
    opacity: 0.35;
}
.orb-rose {
    width: 280px;
    height: 280px;
    left: 8%;
    bottom: 8%;
    border-radius: 50% 50% 46% 54%;
    background: radial-gradient(circle at 40% 35%, #ffb7d8, #ff5f9e 70%);
    opacity: 0.28;
}
.orb-corner {
    width: 220px;
    height: 220px;
    right: 6%;
    bottom: 12%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe0f2, #c084fc 70%);
    opacity: 0.3;
}
.dot {
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #ff8ec8 42%, #c026d3);
    box-shadow: 0 8px 18px rgba(160, 40, 140, 0.18);
}
.d1 { width: 54px; height: 54px; left: 18%; top: 16%; }
.d2 { width: 28px; height: 28px; left: 28%; top: 28%; opacity: 0.8; }
.d3 { width: 18px; height: 18px; right: 22%; top: 14%; }
.d4 { width: 36px; height: 36px; right: 12%; top: 32%; background: radial-gradient(circle at 35% 30%, #fff, #c4b5fd 50%, #7c3aed); }
.d5 { width: 14px; height: 14px; left: 42%; top: 12%; opacity: 0.7; }
.d6 { width: 22px; height: 22px; right: 30%; top: 48%; }
.d7 { width: 16px; height: 16px; left: 12%; top: 46%; background: radial-gradient(circle at 35% 30%, #fff, #fb7185); }
.d8 { width: 10px; height: 10px; right: 18%; top: 22%; opacity: 0.75; }
html[data-theme="dark"] body { background: #12141a; }
html[data-theme="dark"] .scene {
    background:
        radial-gradient(820px 560px at 0% 30%, rgba(255, 90, 170, 0.42), transparent 58%),
        radial-gradient(640px 480px at 100% 0%, rgba(92, 70, 220, 0.45), transparent 55%),
        radial-gradient(500px 360px at 80% 80%, rgba(180, 50, 140, 0.2), transparent 60%),
        linear-gradient(165deg, #241447 0%, #14102e 42%, #0d1022 100%);
}
html[data-theme="dark"] .orb-pink { opacity: 0.9; }
html[data-theme="dark"] .orb-violet { opacity: 0.7; }
html[data-theme="dark"] .orb-rose { opacity: 0.55; }
html[data-theme="dark"] .orb-corner { opacity: 0.4; }
html[data-theme="dark"] .dot { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
html[data-theme="dark"] .site-header {
    background: rgba(16, 13, 36, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}
main, .site-footer { position: relative; z-index: 1; }
img, video { max-width: 100%; min-width: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #3a2fd0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; }
h1 { margin: 0 0 0.6rem; color: #161922; font-size: 2.15rem; font-weight: 700; opacity: 1; }
h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 640; }
h3 { margin: 0; font-size: 1.08rem; font-weight: 630; }
p { margin: 0; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #9aa8ff; outline-offset: 2px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--ink);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 20;
}
.skip-link:focus { top: 12px; color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner, .section, .hero, .page-hero, .prose {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}
.header-inner {
    position: relative;
    min-height: 64px;
    height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand-mark { width: 32px; height: 32px; display: inline-flex; }
.brand-mark svg { width: 32px; height: 32px; }
.nav-check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.site-nav { display: none; }
.nav-check:checked ~ .site-nav { display: flex; }
.nav-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle-bars span {
    display: block;
    width: 18px;
    height: 2px;
    background: #161922;
    border-radius: 2px;
}

.noscript {
    margin: 12px auto;
    width: min(var(--max), calc(100% - 32px));
    background: var(--soft);
    border-radius: 12px;
    padding: 10px 14px;
}

.hero, .page-hero {
    min-height: calc(100svh - 64px);
    box-sizing: border-box;
    padding: 36px 0 28px;
    text-align: left;
}
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero > .hero-title {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto 16px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.15;
    font-size: clamp(0.7rem, 3.55cqi, 2.35rem);
    letter-spacing: -0.035em;
}
.hero > .hero-title + .panel { margin-top: 0; }
.hero h1, .page-hero h1 { color: #161922; font-size: 2.15rem; line-height: 1.15; max-width: 18em; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--soft);
    color: #3d34b5;
    font-size: 0.86rem;
    font-weight: 650;
}
.lede { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.trust-row span {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--muted);
    font-size: 0.86rem;
}

.panel, .content-card {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 18px;
}
.lookup label { display: block; font-weight: 650; margin-bottom: 8px; }
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(32, 39, 80, 0.06);
}
.lookup-input {
    display: block;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
    min-height: 48px;
    margin: 0;
    padding: 10px 4px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #161922;
    font-size: 1rem;
}
.lookup-input:focus { outline: none; }
.paste-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8b93a7;
    cursor: pointer;
}
.paste-btn:hover { background: var(--wash); color: var(--ink); }
.search-go {
    flex: 0 0 auto;
    min-width: 108px;
    min-height: 48px;
    border-radius: 14px;
    background: linear-gradient(90deg, #ff4f9a, #7a5cff);
    box-shadow: 0 8px 18px rgba(180, 70, 200, 0.28);
}
.search-go .spinner { display: inline-block; flex: 0 0 auto; }
.search-go .spinner[hidden] { display: none; }
html[data-theme="dark"] .search-bar { background: #1b2030; border-color: #2c3448; }
html[data-theme="dark"] .search-bar .lookup-input { background: transparent; border: 0; color: #f4f6fb; }
html[data-theme="dark"] .paste-btn { color: #c5cbe0; }
html[data-theme="dark"] .paste-btn:hover { background: #262c40; color: #fff; }
.field input::placeholder { color: #6d7688; }
.field-actions { display: flex; gap: 8px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-weight: 650;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 20px rgba(68, 70, 220, 0.22);
}
.btn-primary:hover { color: #fff; filter: brightness(1.05); }
.btn-primary.search-go {
    background: linear-gradient(90deg, #ff4f9a, #7a5cff);
    box-shadow: 0 8px 18px rgba(180, 70, 200, 0.28);
}
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn:disabled { cursor: progress; opacity: 0.75; }
.hint { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
}
.status, .result { margin-top: 14px; }
.notice {
    display: grid;
    gap: 8px;
    border-radius: 16px;
    padding: 14px 16px;
}
.notice-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #ffd0d8; }
.notice-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #c9f0dc; }
.notice a { font-weight: 700; }

.profile-card, .media-card, .story-card, .content-card {
    background: var(--bg);
    color: var(--ink);
}
.profile-card, .media-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}
.public-embed,
.reel-player {
    display: block;
    width: 100%;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #000;
}
.public-embed { height: 780px; background: var(--bg); }
.reel-player { aspect-ratio: 9 / 16; max-height: 640px; margin-top: 0; border: 0; }
.reel-card { display: grid; gap: 8px; }
.reel-card .preview { aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; background: #111; }
.reel-card .preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-card .preview:has(video),
.reel-card .preview:has(iframe) { aspect-ratio: auto; height: auto; }
.preview video,
video.reel-player { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; background: #000; }
.theme-toggle {
    margin: 4px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #161922;
    background: #fff;
    color: #161922;
    cursor: pointer;
    font-weight: 700;
}
html[data-theme="dark"] .theme-toggle {
    background: #f4f6fb;
    color: #12141a;
    border-color: #f4f6fb;
}
.lang { position: relative; }
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
}
.lang-toggle::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    min-width: 190px;
    max-height: 70vh;
    margin: 0;
    padding: 6px;
    overflow: auto;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.lang-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 650;
    text-align: left;
}
.lang-menu button[aria-selected="true"],
.lang-menu button:hover { background: var(--soft); }
html[data-theme="dark"] .lang-toggle,
html[data-theme="dark"] .lang-menu { background: #1b2030; color: #f4f6fb; border-color: #2c3448; }
html[data-theme="dark"] .lang-menu button { color: #f4f6fb; }
.install-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(380px, calc(100% - 32px));
    padding: 12px;
    border-radius: 16px;
    background: #1b2030;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.install-banner[hidden] { display: none; }
.install-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #ff4d8d, #5346f0);
    color: #fff;
    font-weight: 800;
}
.install-copy { min-width: 0; flex: 1; }
.install-copy strong { display: block; font-size: 0.95rem; }
.install-copy p { margin: 2px 0 0; color: #c5cbe0; font-size: 0.82rem; }
.install-go {
    border: 0;
    border-radius: 10px;
    background: #6d4dff;
    color: #fff;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.install-close {
    border: 0;
    background: transparent;
    color: #c5cbe0;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}
.profile-top { display: flex; gap: 14px; align-items: flex-start; }
.avatar, .avatar-fallback {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
    background: var(--wash);
    border: 1px solid var(--line);
}
.avatar-fallback {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
    padding: 8px;
}
.handle { font-size: 1.25rem; }
.fullname, .byline { color: var(--muted); margin-top: 2px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.stats li {
    min-width: 92px;
    background: var(--wash);
    border-radius: 14px;
    padding: 8px 10px;
}
.stats strong { display: block; font-size: 1.05rem; }
.stats span { color: var(--muted); font-size: 0.82rem; }
.bio { margin-top: 14px; white-space: pre-wrap; }
.fav-toggle { margin-top: 12px; }
.fav-toggle.is-saved { border-color: #5346f0; color: #5346f0; }
.favorites { margin-top: 14px; }
.favorites-label { margin: 0 0 8px; color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.favorites-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.favorite-chip { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); padding: 4px 6px 4px 4px; }
.favorite-open { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; padding: 0 4px; }
.favorite-open img, .favorite-mark { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--wash); display: inline-grid; place-items: center; }
.favorite-remove { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.1rem; }
.section { padding: 28px 0; content-visibility: auto; contain-intrinsic-size: auto 520px; background: #fff; }
html[data-theme="dark"] .section { background: #12141a; }
.section-head { margin-bottom: 16px; max-width: 640px; }
.section-head p { color: var(--muted); margin-top: 8px; }
.card-grid { display: grid; gap: 14px; }
.tool-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(32, 39, 80, 0.04);
}
.tool-card:hover { transform: translateY(-3px); border-color: #d5d2ff; box-shadow: var(--shadow); color: inherit; }
.tool-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--soft);
    color: var(--accent);
}
.tool-icon svg { width: 24px; height: 24px; }
.tool-card p { color: var(--muted); flex: 1; }
.text-link { font-weight: 700; color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li, .prose, .content-card { }
.steps li {
    background: var(--wash);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
}
html[data-theme="dark"] .steps li,
html[data-theme="dark"] .content-card {
    background: var(--wash);
    color: var(--ink);
}
html[data-theme="dark"] .steps h3 { color: var(--ink); background: transparent; }
.step-num { color: var(--accent); font-weight: 720; letter-spacing: 0.04em; }
.steps p { color: var(--muted); margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 12px 0; }
.faq summary h3 { display: inline; font-size: 1.02rem; }
.faq details p { color: var(--muted); padding: 0 0 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; color: var(--muted); font-size: 0.92rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b0b7c6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.guide-meta { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.section.article-body { width: min(720px, calc(100% - 32px)); text-align: left; }
.guide-end { margin-top: 28px; }
.prose { padding-bottom: 28px; }
.prose p, .stack > * + * { margin-top: 12px; }
.spaced { margin-top: 16px; }
.spaced-lg { margin-top: 22px; }
.prose h2, .stack h2 { margin-top: 28px; }
.muted { color: var(--muted); }
.result-tabs { margin-top: 16px; }
.tab-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.result-tab {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--wash);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}
.result-tab.is-active, .result-tab[aria-selected="true"] { background: var(--accent); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; min-width: 0; }
.media-tile { position: relative; min-width: 0; border-radius: 16px; overflow: hidden; background: #111; }
.media-tile video, .media-tile img { display: block; width: 100%; max-width: 100%; min-width: 0; aspect-ratio: 9 / 16; object-fit: cover; background: #111; }
.tab-panel { scroll-margin-top: 84px; margin-top: 18px; }
.tab-panel[hidden] { display: none !important; }
.tab-panel h3 { margin: 0 0 8px; font-size: 1.05rem; }
.load-more { margin-top: 14px; scroll-margin-top: 96px; position: relative; z-index: 4; }
.lookup, .panel, .hero, .result-tabs { min-width: 0; max-width: 100%; }
.tile-save {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(16, 18, 28, 0.78);
    color: #fff;
}
.tile {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--wash);
    color: inherit;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(18, 20, 32, 0.78);
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.75rem;
}
.preview {
    border-radius: 16px;
    overflow: hidden;
    background: #0f1320;
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
}
.preview img, .preview video { width: 100%; height: 100%; object-fit: contain; background: #0f1320; }
.media-card .preview-reel {
    width: min(100%, 300px);
    max-width: 300px;
    min-width: 0;
    aspect-ratio: 9 / 16;
    max-height: 534px;
    height: auto;
    margin-inline: auto;
    background: #111;
}
.media-card .preview-reel video,
.media-card video.reel-player {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-width: 0;
    object-fit: contain;
}
@media (max-width: 640px) {
    .media-card .preview-reel { width: min(100%, 260px); max-height: 462px; }
}
@media (min-width: 860px) {
    .hero, .page-hero { text-align: center; }
    .hero h1, .page-hero h1, .hero .lede, .page-hero .lede { margin-inline: auto; }
    .hero .trust-row, .page-hero .trust-row { justify-content: center; }
    .hero .crumbs ol, .page-hero .crumbs ol { justify-content: center; }
    .hero .panel, .page-hero .panel { width: min(680px, 100%); margin-inline: auto; text-align: left; }
    .media-card:has(.preview-reel) {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        column-gap: 22px;
        align-items: start;
    }
    .media-card:has(.preview-reel) .preview-reel {
        grid-row: 1 / span 4;
        width: 300px;
        max-width: 300px;
        margin: 0;
        justify-self: start;
    }
}
.caption { white-space: pre-wrap; margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.story-result { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.story-ring { display: inline-flex; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.story-ring .avatar { width: 72px; height: 72px; border: 3px solid #fff; }
.story-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow: visible; }
.highlight-heading { margin: 28px 0 8px; }
.highlight-block { margin-top: 18px; }
.highlight-block h3 { margin: 0 0 10px; font-size: 1.05rem; }
.story-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); min-width: 0; max-width: none; }
.story-card .preview { border-radius: 0; aspect-ratio: 9 / 16; max-height: none; }
.story-card .preview img, .story-card .preview video { width: 100%; height: 100%; object-fit: cover; }
.story-card .actions { padding: 8px; }
.story-card .actions .btn, .story-card .actions a.btn { width: 100%; min-width: 0; min-height: 40px; padding: 0 8px; font-size: 0.82rem; }
.skeleton { border-radius: 12px; background: linear-gradient(90deg, #eef1f6 25%, #f8f9fc 37%, #eef1f6 63%); background-size: 400% 100%; animation: shimmer 1.2s ease infinite; }
.sk-card { display: grid; gap: 12px; }
.sk-row { display: flex; gap: 12px; }
.sk-avatar { width: 84px; height: 84px; border-radius: 50%; }
.sk-lines { flex: 1; display: grid; gap: 8px; align-content: center; }
.sk-line { height: 14px; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-tile { aspect-ratio: 1; }
.sk-block { height: 220px; }
.sk-w-45 { width: 45%; }
.sk-w-70 { width: 70%; }
.note { color: var(--muted); margin-top: 12px; }
.site-footer { margin-top: 20px; background: var(--wash); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 22px; padding: 32px 0 10px; }
.footer-brand p, .site-footer li a { color: var(--muted); }
.site-footer h2 { font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.footer-base { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 14px 0 24px; color: var(--muted); font-size: 0.9rem; display: grid; gap: 4px; }
.form-grid { display: grid; gap: 12px; }
.form-grid input, .form-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 720px) {
    .header-inner { gap: 8px; }
    .brand-name { font-size: 0.95rem; }
    .lang-toggle { padding: 0 8px; }
    .lang-toggle [data-lang-name] { display: none; }
    .theme-toggle { padding: 8px 10px; }
    .nav-toggle { flex: 0 0 44px; margin-left: 0; }
    .hero, .page-hero { padding-top: 24px; }
    .lede { font-size: 1rem; }
    .story-row { gap: 8px; }
    .story-card .actions { padding: 6px; }
    .story-card .actions .btn, .story-card .actions a.btn { min-height: 36px; padding: 0 4px; font-size: 0.72rem; }
    .install-banner { left: 12px; right: 12px; width: auto; }
}
@media (max-width: 560px) {
    .search-bar { flex-wrap: wrap; padding: 8px; }
    .search-bar .lookup-input { flex: 1 1 calc(100% - 52px); }
    .search-go { flex: 1 1 100%; }
}
@media (min-width: 720px) {
    .card-grid, .steps, .footer-inner { grid-template-columns: 1fr 1fr; }
    .post-grid { grid-template-columns: repeat(3, 1fr); }
    .hero, .page-hero { padding-top: 56px; }
    .hero h1, .page-hero h1 { font-size: 2.7rem; }
}

@media (min-width: 1100px) {
    .card-grid { grid-template-columns: repeat(4, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1500px) {
    .nav-toggle { display: none; }
    .header-inner { flex-wrap: wrap; }
    .site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; margin-left: auto; max-width: 860px; }
    .site-nav a {
        color: var(--muted);
        text-decoration: none;
        font-size: 0.92rem;
        font-weight: 600;
        padding: 8px 10px;
        border-radius: 10px;
    }
    .site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); background: var(--soft); }
}

@media (max-width: 1499px) {
    .site-header { height: auto; }
    .header-inner { flex-wrap: nowrap; }
    .site-nav {
        display: none;
        position: static;
        width: min(var(--max), calc(100% - 32px));
        margin: 0 auto 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { display: block; padding: 12px; border-radius: 12px; text-decoration: none; color: #161922; }
    .site-nav a[aria-current="page"] { background: var(--soft); }
    html[data-theme="dark"] .site-nav,
    html[data-theme="dark"] .nav-check:checked ~ .site-nav { background: #1b2030; border-color: #2c3448; color: #f4f6fb; }
    html[data-theme="dark"] .site-nav a,
    html[data-theme="dark"] .nav-check:checked ~ .site-nav a { color: #f4f6fb; }
    html[data-theme="dark"] .site-nav a[aria-current="page"],
    html[data-theme="dark"] .nav-check:checked ~ .site-nav a[aria-current="page"] { background: #6d62ff; color: #fff; }
}

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

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
