:root {
    color-scheme: dark;
    --text: #f7f3ff;
    --muted: #d2cce7;
    --soft: #b9b0cf;
    --gold: #f5d78b;
    --gold-light: #ffe8b0;
    --purple: #c3a6ff;
    --line: rgba(215, 199, 255, .2);
    --glass: rgba(26, 20, 58, .76);
    --radius: 24px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 126px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); background: #101027; font: 16px/1.75 var(--font); isolation: isolate; }
body.menu-open, body.preview-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 1.25em; height: 1.25em; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
button, summary, a { touch-action: manipulation; }
button, a, summary { outline-offset: 5px; }
:where(a, button, summary, input, textarea, select):focus-visible { outline: 2px solid var(--gold-light); }
::selection { color: #17132a; background: var(--gold); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 0; }
.page-width { width: min(1648px, 92vw); margin-inline: auto; }
.glass { border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 16px 50px rgba(6, 4, 28, .12); }
.world-background { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: #101027 url('../bj1.png') center center / cover no-repeat; }
.world-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 8, 34, .45), transparent 42%, transparent 65%, rgba(9, 8, 34, .14)), linear-gradient(0deg, rgba(12, 10, 34, .35), transparent 36%); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 2000; transform: translateY(-180%); border-radius: 10px; padding: 10px 18px; color: #201933; background: var(--gold); }
.skip-link:focus { transform: none; }

/* A floating navigation that still wraps naturally before JavaScript loads. */
.site-header { position: fixed; z-index: 1000; top: 24px; left: 4vw; right: 4vw; max-width: 1648px; margin-inline: auto; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 80px; padding: 14px 26px; border-radius: 24px; background: rgba(15, 12, 38, .65); transition: background .25s, box-shadow .25s; }
.site-header.scrolled .nav-shell, .nav-shell.scrolled { background: rgba(18, 13, 42, .94); box-shadow: 0 12px 32px rgba(0, 0, 0, .2); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; font-size: 25px; font-weight: 750; letter-spacing: -.6px; }
.brand-heart { color: var(--gold); font-size: 31px; line-height: 1; }
.brand-heart svg { width: 30px; height: 30px; }
.brand-note { margin-left: 14px; color: #cfc2e2; font-size: 13px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 24px; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.nav-links a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 42px; color: #ded7ef; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links .nav-support { min-width: 146px; padding: 7px 24px; border-radius: 999px; color: #29203b; background: var(--gold); font-size: 16px; font-weight: 750; }
.nav-links .nav-support:hover { color: #29203b; background: var(--gold-light); }
#navToggle { display: none; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); }
#navToggle span { display: block; width: 20px; height: 2px; margin: 4px 0; background: currentColor; transition: transform .2s, opacity .2s; }
#navToggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#navToggle.open span:nth-child(2) { opacity: 0; }
#navToggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
#navOverlay { position: fixed; inset: 0; z-index: 990; border: 0; background: rgba(5, 4, 20, .62); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }

/* Keep the middle of the desktop hero clear for the character and the moon. */
.hero { position: relative; min-height: 100svh; padding: clamp(160px, 20vh, 230px) 0 100px; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 8, 34, .14), transparent 50%), linear-gradient(0deg, rgba(13, 9, 36, .28), transparent 18%); }
.hero-layout { display: grid; grid-template-columns: 1fr minmax(320px, 23.8%); gap: 32px; align-items: start; }
.hero-copy { max-width: 590px; min-width: 0; padding-top: 8px; text-shadow: 0 2px 22px rgba(9, 6, 32, .18); }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding: 4px 30px; border: 1px solid rgba(245, 215, 139, .37); border-radius: 999px; color: var(--gold-light); background: rgba(26, 19, 56, .63); font-size: 14px; letter-spacing: 1px; }
.hero h1 { margin-top: 25px; font-size: clamp(44px, 3.8vw, 68px); font-weight: 800; line-height: 1.36; letter-spacing: -1.8px; }
.gradient-text, .hero h1 span { color: #d4b6e7; background: linear-gradient(100deg, #bd9cff 0%, #d6b5da 50%, #f6d58a 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.hero-intro { margin-top: 32px; color: #e2dcef; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 37px; }
.button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 11px 24px; border: 1px solid var(--line); border-radius: 999px; background: rgba(54, 43, 84, .54); color: var(--text); font-weight: 600; line-height: 1.4; transition: background .2s, border-color .2s, transform .2s; }
.button:hover, .btn:hover { border-color: rgba(245, 215, 139, .6); background: rgba(81, 62, 121, .72); transform: translateY(-2px); }
.button-primary, .btn-primary, .button.primary, .btn.primary, .button-gold { border-color: var(--gold); color: #30223e; background: var(--gold); }
.button-primary:hover, .btn-primary:hover, .button.primary:hover, .btn.primary:hover, .button-gold:hover { border-color: var(--gold-light); background: var(--gold-light); }
.hero-actions .button, .hero-actions .btn { min-height: 60px; padding: 13px 30px; font-size: 18px; }
.hero-actions .button-primary, .hero-actions .btn-primary, .hero-actions .button-gold { min-width: 196px; }
.hero-capabilities { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; color: #d1c9e7; font-size: 14px; }
.hero-capabilities span { color: #a99dc5; }
.companions { display: flex; align-items: center; gap: 18px; margin-top: 60px; color: #ded7ec; font-size: 14px; }
.avatar-stack { display: flex; flex: 0 0 auto; padding-left: 3px; }
.avatar-stack img { width: 43px; height: 43px; margin-left: -3px; border: 2px solid #d2b2e1; border-radius: 50%; box-shadow: 0 0 0 2px rgba(24, 18, 49, .56); }
.avatar-stack img + img { margin-left: -12px; }
.hero-wish { margin-top: 27px; color: #d4cade; font-size: 13px; }
.hero-support { width: 100%; min-width: 0; }
.support-card { padding: 25px 24px 23px; text-align: center; background: rgba(29, 22, 65, .88); }
.support-card h2 { font-size: clamp(20px, 1.5vw, 26px); font-weight: 750; line-height: 1.45; color: #fff1c6; }
.card-kicker { margin-bottom: 7px; color: #c6b5df; font-size: 10px; letter-spacing: 2px; }
.support-subtitle { margin-top: 8px; color: #d2c7e6; font-size: 14px; }
.support-card .qr-link, .support-qr, .qr-frame { display: block; width: 100%; max-width: 336px; margin: 20px auto 0; border-radius: 17px; background: #fff; overflow: hidden; }
.support-card img { width: 100%; max-width: 336px; aspect-ratio: 1; margin-inline: auto; border-radius: 16px; background: white; }
.support-card > img, .support-card .qr-image { margin-top: 20px; }
.support-card .qr-link img, .support-qr img, .qr-frame img { max-width: none; margin-top: 0; }
.qr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.qr-actions a, .qr-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 42px; padding: 7px 8px; border: 1px solid rgba(219, 198, 255, .32); border-radius: 999px; color: #f1eafb; background: rgba(163, 135, 203, .15); font-size: 14px; transition: background .2s; }
.qr-actions a:hover, .qr-actions button:hover { background: rgba(163, 135, 203, .3); }
.payment-hint { margin-top: 13px; color: #d2c7e6; font-size: 12px; line-height: 1.8; }
.original-link { display: block; margin-top: 5px; color: #c2b6d7; font-size: 11px; }
.original-link a { text-decoration: underline; text-underline-offset: 3px; }
.original-link a:hover { color: var(--gold-light); }
.status-card { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 17px 20px; border-radius: 20px; background: rgba(29, 24, 61, .84); transition: border-color .2s, background .2s; }
.status-card:hover { border-color: rgba(245, 215, 139, .6); background: rgba(40, 29, 76, .94); }
.status-icon { flex: 0 0 30px; color: #c8b5ff; font-size: 27px; }
.status-icon svg { width: 30px; height: 30px; }
.status-card strong { display: block; font-size: 16px; }
.status-card small, .status-card p, .status-card strong + span { display: block; margin-top: 1px; color: var(--muted); font-size: 13px; }
.status-arrow, .status-card .outbound { margin-left: auto; color: #e7d8ff; font-size: 22px; }
.scroll-cue, .hero-scroll { position: absolute; bottom: 25px; left: 50%; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); color: #ded4ed; font-size: 13px; white-space: nowrap; }
.scroll-cue:hover, .hero-scroll:hover { color: var(--gold-light); }

/* Content sections share rhythm, rather than repeating oversized panels. */
.content-flow { background: linear-gradient(180deg, transparent, rgba(11, 8, 31, .4) 160px); }
.section { position: relative; padding-top: 78px; }
.section.page-width { max-width: 1320px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-kicker, .section-label { display: block; margin-bottom: 8px; color: var(--gold); font-size: 11px; font-weight: 650; letter-spacing: 3px; text-transform: uppercase; }
.section-heading h2, .purpose-panel h2 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 750; line-height: 1.4; letter-spacing: -.8px; }
.section-heading > p, .section-heading > div > p, .section-description { max-width: 460px; color: var(--muted); font-size: 14px; }
.section-heading > a, .text-link { display: inline-flex; align-items: center; gap: 6px; color: #e7cdf6; font-size: 14px; }
.section-heading > a:hover, .text-link:hover { color: var(--gold-light); }
.robot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.robot-card { min-width: 0; padding: 22px; background: rgba(26, 20, 58, .84); }
.robot-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.robot-identity > img, .robot-avatar { flex: 0 0 64px; width: 64px; height: 64px; border: 2px solid rgba(220, 185, 255, .55); border-radius: 50%; }
.robot-identity > div { min-width: 0; }
.robot-identity h3 { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.robot-qq, .qq-number { margin-top: 3px; color: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.robot-line { min-height: 45px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.robot-line code { padding: 1px 5px; border-radius: 4px; color: #f1e6ff; background: rgba(195, 166, 255, .1); }
.robot-warning, .robot-warning a { color: #f1d995; }
.robot-warning a { text-decoration: underline; text-underline-offset: 3px; }
.tags, .robot-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags span, .tags li, .robot-tags span, .tag { display: inline-flex; align-items: center; min-height: 25px; padding: 1px 9px; border: 1px solid rgba(197, 169, 255, .14); border-radius: 6px; color: #d8c8f4; background: rgba(156, 117, 223, .1); font-size: 11px; }
.robot-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(215, 199, 255, .12); }
.robot-actions a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #c7bbda; font-size: 12px; }
.robot-actions a:hover { color: var(--gold-light); }
.copy-button, .copy-btn, [data-copy] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 13px; border: 1px solid rgba(211, 182, 255, .27); border-radius: 9px; color: #ead9ff; background: rgba(173, 125, 224, .1); font-size: 12px; }
.copy-button:hover, .copy-btn:hover, [data-copy]:hover { background: rgba(173, 125, 224, .22); }
[data-copy].copied { border-color: rgba(138, 221, 177, .5); color: #b5f2d3; }
.section-note { margin-top: 20px; color: var(--muted); font-size: 13px; }
.section-note a { color: var(--gold-light); }
.features-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.feature-card { display: flex; align-items: flex-start; gap: 17px; min-width: 0; padding: 24px; border-radius: 20px; background: rgba(26, 20, 58, .85); }
.feature-icon { display: inline-flex; flex: 0 0 43px; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid rgba(197, 169, 255, .2); border-radius: 13px; color: #cfb9f8; background: rgba(170, 130, 225, .12); font-size: 22px; line-height: 1; }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { margin-bottom: 6px; color: #f6eeff; font-size: 17px; line-height: 1.5; }
.feature-card p { color: #c9bedc; font-size: 13px; line-height: 1.85; }
.purpose-panel { display: grid; grid-template-columns: 1.03fr 1fr; gap: 60px; padding: 40px; background: rgba(26, 20, 58, .88); }
.purpose-copy > p:not(.section-kicker), .purpose-intro { max-width: 540px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.purpose-copy > .text-link { margin-top: 22px; }
.purpose-list { display: grid; gap: 21px; margin: 0; padding: 0; list-style: none; }
.purpose-list li { display: flex; align-items: flex-start; gap: 16px; }
.purpose-list li > span, .purpose-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 39px; width: 39px; height: 39px; border: 1px solid rgba(245, 215, 139, .24); border-radius: 12px; color: var(--gold); background: rgba(245, 215, 139, .07); font-size: 17px; }
.purpose-list h3, .purpose-list strong { display: block; margin-bottom: 3px; color: #f2e7fd; font-size: 15px; }
.purpose-list p { color: #c8bddb; font-size: 13px; }
.blessing { margin-top: 18px; padding: 18px 25px; border-radius: 17px; background: rgba(26, 20, 58, .78); }
.blessing summary { color: var(--gold-light); font-size: 13px; cursor: pointer; }
.blessing summary::marker { color: var(--gold); }
.details-chevron { float: right; color: #bda3e5; }
.blessing[open] .details-chevron { transform: rotate(45deg); }
.blessing p { margin-top: 13px; color: #c9bdd9; font-size: 13px; line-height: 1.95; }
.community-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; padding: 24px 30px; background: rgba(26, 20, 58, .86); }
.community-heading { display: flex; align-items: center; gap: 16px; }
.community-heading > div { min-width: 0; }
.community-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid rgba(245, 215, 139, .2); border-radius: 15px; background: rgba(245, 215, 139, .08); font-size: 25px; }
.community-copy { min-width: 0; }
.community-copy h2 { font-size: 24px; line-height: 1.4; }
.community-name { margin-top: 4px; color: #e1cbee; font-size: 13px; }
.community-description { grid-column: 1 / -1; color: var(--muted); font-size: 14px; line-height: 1.85; }
.community-description strong { color: #eee2fa; font-weight: 600; }
.community-description p + p { margin-top: 6px; }
.community-actions { display: flex; flex-direction: column; align-items: center; grid-column: 2; grid-row: 1; gap: 10px; }
.group-number { color: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.community-actions .button { min-width: 154px; min-height: 46px; font-size: 15px; }
.community-bots { grid-column: 1 / -1; min-width: 0; border-top: 1px solid rgba(215, 199, 255, .16); }
.community-bots summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-height: 48px; padding-top: 12px; color: #ede1fa; font-size: 14px; cursor: pointer; list-style: none; }
.community-bots summary::-webkit-details-marker { display: none; }
.community-bots summary:hover { color: var(--gold-light); }
.community-bots-hint { margin-left: auto; color: var(--soft); font-size: 12px; }
.disclosure-icon { flex: 0 0 18px; width: 18px; height: 18px; transition: transform .2s; }
.community-bots[open] .disclosure-icon { transform: rotate(180deg); }
.community-bot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.community-bot-list li { min-width: 0; padding: 16px 18px; border: 1px solid rgba(215, 199, 255, .12); border-radius: 13px; background: rgba(7, 5, 25, .2); }
.community-bot-list h3 { color: #f0e4fa; font-size: 15px; font-weight: 600; }
.community-bot-list h3 > span { margin-right: 7px; color: #c6b6dd; font-size: 12px; font-weight: 400; }
.community-bot-list p { margin-top: 7px; color: #d2c7e2; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.community-bot-list .community-bot-qq { margin-top: 2px; color: var(--soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.community-bot-list code { padding: 1px 5px; border-radius: 4px; color: #f1e6ff; background: rgba(195, 166, 255, .1); font-size: 13px; }
.community-bot-list .bot-warning { color: #f1d995; }
.community-bot-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.community-resources { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-top: 16px; border-top: 1px solid rgba(215, 199, 255, .14); }
.community-resources > div { min-width: 0; padding-left: 13px; border-left: 2px solid rgba(245, 215, 139, .28); }
.community-resources h3 { color: #e7daef; font-size: 13px; font-weight: 600; }
.community-resources a { display: inline-block; max-width: 100%; padding-block: 5px; color: var(--gold-light); font-size: 13px; overflow-wrap: anywhere; }
.community-resources a:hover { text-decoration: underline; text-underline-offset: 3px; }
.community-resources p { max-width: 560px; color: var(--soft); font-size: 12px; line-height: 1.85; }
.friend-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: center; gap: 24px; margin-top: 24px; padding: 22px 8px; border-top: 1px solid rgba(215, 199, 255, .2); }
.friend-strip h2 { color: #e9ddf5; font-size: 16px; font-weight: 600; }
.friend-link { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 78px; padding: 14px 18px; border: 1px solid rgba(215, 199, 255, .18); border-radius: 15px; background: rgba(24, 18, 50, .68); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .2s, border-color .2s; }
.friend-link:hover { border-color: rgba(245, 215, 139, .42); background: rgba(39, 28, 68, .85); }
.friend-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: rgba(195, 166, 255, .09); font-size: 24px; }
.friend-copy { display: grid; min-width: 0; gap: 2px; }
.friend-copy strong { color: #eee2fa; font-size: 16px; font-weight: 600; }
.friend-copy > span { color: #c5b9d8; font-size: 12px; overflow-wrap: anywhere; }
.friend-arrow { margin-left: auto; color: var(--soft); font-size: 18px; }
.friend-link:hover .friend-copy strong, .friend-link:hover .friend-arrow { color: var(--gold-light); }
.friend-note { margin-top: 4px; color: #c5b9d8; font-size: 13px; }

.site-footer { margin-top: 74px; padding: 36px 0 33px; border-top: 1px solid rgba(215, 199, 255, .14); background: rgba(14, 10, 34, .62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; max-width: 1320px; }
.footer-brand { font-size: 17px; font-weight: 700; }
.footer-brand span { color: var(--gold); }
.footer-thanks { color: #f1e4f8; font-size: 14px; }
.footer-thanks > span { margin-right: 6px; color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #ded3ef; font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 9px 14px; border: 1px solid rgba(215, 199, 255, .18); border-radius: 999px; background: rgba(195, 166, 255, .06); transition: color .2s, border-color .2s, background .2s; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold-light); border-color: rgba(245, 215, 139, .5); background: rgba(245, 215, 139, .1); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding-top: 16px; border-top: 1px solid rgba(215, 199, 255, .1); color: #b6a9c8; font-size: 11px; }
.effects-toggle { min-height: 36px; padding: 5px 12px; border: 1px solid rgba(215, 199, 255, .2); border-radius: 999px; color: #cbbfdf; background: rgba(255, 255, 255, .03); font-size: 11px; }
.effects-toggle:hover { border-color: var(--purple); color: var(--text); }
#siteStatus { position: fixed; z-index: 1100; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); width: max-content; max-width: min(90vw, 560px); transform: translateX(-50%); padding: 12px 20px; border: 1px solid rgba(245, 215, 139, .4); border-radius: 13px; color: #fff2c8; background: rgba(28, 21, 49, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font-size: 13px; text-align: center; }
#siteStatus:empty { display: none; }
.survey-float { position: fixed; z-index: 880; left: 0; bottom: max(10%, env(safe-area-inset-bottom)); display: flex; width: 38px; border: 1px solid rgba(245, 215, 139, .38); border-left: 0; border-radius: 0 16px 16px 0; background: linear-gradient(160deg, rgba(65, 45, 96, .94), rgba(26, 19, 53, .94)); box-shadow: 0 8px 26px rgba(10, 5, 25, .28), inset 0 1px 0 rgba(255, 238, 188, .08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 24px; letter-spacing: 1px; writing-mode: vertical-rl; transition: border-color .18s, box-shadow .18s; }
.survey-float a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 100px; padding: 16px 0; border-radius: inherit; color: var(--gold-light); text-decoration: none; white-space: nowrap; transition: color .18s, background .18s; }
.survey-float:hover, .survey-float:focus-within { border-color: rgba(245, 215, 139, .75); box-shadow: 0 8px 28px rgba(10, 5, 25, .35), 0 0 14px rgba(195, 166, 255, .12); }
.survey-float a:hover, .survey-float a:focus-visible { color: #fff3cf; background: rgba(245, 215, 139, .09); }
.survey-float a:active { background: rgba(245, 215, 139, .16); }
.survey-float a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
body.menu-open .survey-float, body.preview-open .survey-float { visibility: hidden; }
@media (pointer: coarse) { .survey-float { width: 44px; } }
#mobileSupport { display: none; }
.image-dialog { width: min(660px, calc(100vw - 32px)); max-height: calc(100svh - 40px); margin: auto; padding: 20px; overflow: auto; border: 1px solid rgba(215, 199, 255, .35); border-radius: 22px; color: var(--text); background: #221b3e; box-shadow: 0 25px 90px rgba(0, 0, 0, .5); }
.image-dialog::backdrop { background: rgba(5, 3, 19, .82); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.preview-heading h2 { min-width: 0; font-size: 18px; line-height: 1.5; }
.preview-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid rgba(215, 199, 255, .28); border-radius: 50%; color: #f3eaff; background: rgba(255, 255, 255, .06); appearance: none; transition: color .2s, background .2s, border-color .2s; }
.preview-close svg { display: block; width: 24px; height: 24px; pointer-events: none; }
.preview-close:hover, .preview-close:focus-visible { border-color: rgba(245, 215, 139, .65); color: var(--gold-light); background: rgba(245, 215, 139, .1); }
#previewImage { width: auto; max-width: 100%; max-height: 70svh; margin-inline: auto; object-fit: contain; border-radius: 10px; }
.preview-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 12px; }
.preview-footer a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal-pending { opacity: 0; transform: translateY(18px); }
.is-revealed { opacity: 1; transform: translateY(0); }

/* Sprites keep the original Furina pointer, with a static, checked fallback. */
html.cursor-static, html.cursor-static body { cursor: url('../cursor/normal_static32.png') 0 0, auto; }
html.cursor-static :where(a, button, summary, select, label, [role="button"], input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"]) { cursor: url('../cursor/link_static32.png') 0 0, pointer; }
html.cursor-static :where(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="url"], textarea, [contenteditable="true"]) { cursor: url('../cursor/text_static32.png') 0 0, text; }
html.furina-cursor, html.furina-cursor * { cursor: none !important; }
#furina-cursor { display: none; position: fixed; left: 0; top: 0; z-index: 2147483647; width: 32px; height: 32px; pointer-events: none; opacity: 0; background: url('../cursor/normal.png') 0 0 / 672px 32px no-repeat; animation: furina-frames 2.1s steps(21) infinite; will-change: transform; }
#furina-cursor.is-link { background-image: url('../cursor/link.png'); }
#furina-cursor.is-text { background-image: url('../cursor/text.png'); }
#furina-trail { display: none; position: fixed; inset: 0; z-index: 2147483646; width: 100%; height: 100%; pointer-events: none; }
html.furina-cursor #furina-cursor, html.furina-cursor #furina-trail { display: block; }
@keyframes furina-frames { to { background-position-x: -672px; } }

@media (min-width: 1200px) and (max-width: 1450px) {
    .brand-note { margin-left: 4px; font-size: 12px; }
    .nav-links { gap: 20px; }
    .nav-links .nav-support { min-width: 132px; }
    .hero-layout { grid-template-columns: 1fr 340px; }
    .hero-copy { max-width: 510px; }
    .hero h1 { font-size: clamp(44px, 3.8vw, 55px); }
    .hero-intro { font-size: 17px; }
    .support-card { padding-inline: 20px; }
    .support-card h2 { font-size: 21px; }
    .companions { margin-top: 46px; }
}
@media (min-width: 1200px) and (max-height: 800px) {
    .hero { padding-top: 142px; padding-bottom: 88px; }
    .hero-copy { padding-top: 0; }
    .hero h1 { margin-top: 19px; font-size: clamp(42px, 3.5vw, 59px); }
    .hero-intro { margin-top: 21px; font-size: 17px; }
    .hero-actions { margin-top: 26px; }
    .hero-actions .button, .hero-actions .btn { min-height: 53px; }
    .hero-capabilities { margin-top: 19px; }
    .companions { margin-top: 31px; }
    .hero-wish { margin-top: 17px; }
    .support-card { padding: 18px 20px; }
    .support-card h2 { font-size: 20px; }
    .support-subtitle { margin-top: 4px; font-size: 12px; }
    .support-card .qr-link, .support-qr, .qr-frame { max-width: 274px; margin-top: 13px; }
    .support-card img { max-width: 274px; }
    .qr-actions { margin-top: 12px; gap: 9px; }
    .qr-actions a, .qr-actions button { min-height: 36px; font-size: 12px; }
    .payment-hint { margin-top: 8px; font-size: 11px; }
    .original-link { font-size: 10px; }
    .status-card { margin-top: 13px; padding: 12px 17px; }
}
@media (max-width: 1199px) {
    html { scroll-padding-top: 112px; }
    .site-header { top: 18px; }
    .nav-shell { flex-wrap: wrap; gap: 15px; min-height: 70px; padding: 13px 20px; border-radius: 21px; }
    .brand { font-size: 23px; }
    .brand-note { display: none; }
    html:not(.menu-ready) .site-header { position: absolute; }
    html:not(.menu-ready) .nav-links { width: 100%; justify-content: flex-start; gap: 8px 22px; }
    html:not(.menu-ready) .hero { padding-top: 235px; }
    .menu-ready #navToggle { display: block; }
    .menu-ready .nav-links { position: absolute; top: calc(100% + 12px); right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: min(360px, 92vw); max-height: calc(100svh - 130px); padding: 16px; overflow-y: auto; border: 1px solid rgba(215, 199, 255, .27); border-radius: 20px; background: #211935; box-shadow: 0 20px 60px rgba(3, 2, 15, .4); }
    .menu-ready .nav-links a { width: 100%; justify-content: flex-start; min-height: 48px; padding: 9px 16px; border-radius: 10px; font-size: 15px; }
    .menu-ready .nav-links a:hover { background: rgba(195, 166, 255, .09); }
    .menu-ready .nav-links .nav-support { justify-content: center; margin-top: 8px; border-radius: 999px; }
    .menu-ready .nav-links .nav-support:hover { background: var(--gold-light); }
    .hero { padding: 168px 0 100px; }
    .hero-layout { display: flex; flex-direction: column; align-items: center; gap: 55px; }
    .hero-copy { position: relative; isolation: isolate; width: min(650px, 100%); max-width: 650px; text-align: center; text-shadow: 0 2px 12px rgba(8, 5, 29, .8); }
    .hero-copy::before { content: ""; position: absolute; inset: -45px 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse, rgba(16, 10, 44, .88) 10%, rgba(16, 10, 44, .72) 55%, transparent 76%); filter: blur(16px); }
    .hero h1 { font-size: clamp(45px, 5.8vw, 65px); }
    .hero-intro { margin-top: 25px; }
    .hero-actions, .hero-capabilities { justify-content: center; }
    .hero-actions { margin-top: 29px; }
    .companions { justify-content: center; margin-top: 37px; }
    .hero-wish { margin-top: 18px; }
    .hero-support { width: min(420px, 100%); }
    .support-card { padding: 25px; }
    .support-card h2 { font-size: 24px; }
    .support-card .qr-link, .support-qr, .qr-frame { max-width: 336px; }
    .scroll-cue, .hero-scroll { bottom: 28px; }
    .section { padding-top: 62px; }
    .section-heading { gap: 22px; }
    .robot-card { padding: 22px; }
    .purpose-panel { gap: 35px; padding: 32px; }
}
@media (max-width: 1023px) {
    .robot-grid { grid-template-columns: 1fr; gap: 15px; }
    .robot-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 24px; }
    .robot-identity { grid-row: span 2; }
    .robot-line { min-height: 0; margin-top: 0; }
    .robot-card .tags, .robot-card .robot-tags { margin-top: 10px; }
    .robot-actions { grid-column: 1 / -1; margin-top: 16px; padding-top: 12px; }
    .features-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-card { padding: 22px; }
    .community-card { padding: 24px; }
}
@media (max-width: 767px) {
    html { scroll-padding-top: 103px; }
    .page-width { width: 90vw; }
    .world-background { background-image: url('../bj.png'); background-position: 50% 37%; }
    .world-background::after { background: linear-gradient(180deg, rgba(12, 8, 37, .4), rgba(13, 8, 35, .18) 40%, rgba(12, 8, 37, .42)); }
    .site-header { top: 14px; left: 5vw; right: 5vw; }
    .nav-shell { min-height: 64px; padding: 10px 15px; border-radius: 18px; }
    .brand { gap: 9px; font-size: 21px; }
    .brand-heart { font-size: 26px; }
    .brand-heart svg { width: 26px; height: 26px; }
    .menu-ready .nav-links { width: 90vw; }
    .hero { min-height: 100svh; padding: 142px 0 80px; }
    html:not(.menu-ready) .hero { padding-top: 265px; }
    .hero-layout { gap: 36px; }
    .hero-copy { padding-top: 0; }
    .eyebrow { min-height: 31px; padding: 3px 22px; font-size: 11px; letter-spacing: 1px; }
    .hero h1 { margin-top: 22px; font-size: clamp(34px, 8.1vw, 56px); line-height: 1.42; letter-spacing: -1.4px; }
    .hero-intro { margin-top: 23px; font-size: 14px; line-height: 1.95; }
    .hero-actions { gap: 11px; margin-top: 26px; }
    .hero-actions .button, .hero-actions .btn { min-height: 48px; padding: 11px 21px; font-size: 14px; }
    .hero-actions .button-primary, .hero-actions .btn-primary, .hero-actions .button-gold { min-width: 150px; }
    .hero-capabilities { gap: 8px; margin-top: 19px; font-size: 11px; }
    .companions { gap: 13px; margin-top: 30px; font-size: 12px; }
    .avatar-stack img { width: 34px; height: 34px; }
    .hero-wish { margin-top: 15px; font-size: 11px; }
    .hero-support { width: min(370px, 100%); }
    .support-card { padding: 22px 21px 18px; border-radius: 23px; }
    .support-card h2 { font-size: 22px; }
    .support-subtitle { margin-top: 6px; font-size: 12px; }
    .support-card .qr-link, .support-qr, .qr-frame { margin-top: 18px; max-width: 316px; }
    .support-card img { max-width: 316px; border-radius: 13px; }
    .qr-actions { gap: 10px; margin-top: 16px; }
    .qr-actions a, .qr-actions button { min-height: 43px; font-size: 13px; }
    .payment-hint { margin-top: 12px; font-size: 11px; }
    .status-card { margin-top: 13px; padding: 15px 18px; border-radius: 18px; }
    .status-card strong { font-size: 15px; }
    .status-card small, .status-card p, .status-card strong + span { font-size: 12px; }
    .scroll-cue, .hero-scroll { bottom: 20px; font-size: 11px; }
    .section { padding-top: 49px; }
    .section-heading { display: block; margin-bottom: 22px; }
    .section-heading h2, .purpose-panel h2 { font-size: 27px; }
    .section-kicker, .section-label { margin-bottom: 6px; font-size: 10px; }
    .section-heading > p, .section-heading > div > p, .section-description { margin-top: 10px; font-size: 13px; }
    .section-heading > a { margin-top: 12px; font-size: 12px; }
    .robot-card { display: block; padding: 24px; border-radius: 21px; }
    .robot-identity > img, .robot-avatar { width: 60px; height: 60px; flex-basis: 60px; }
    .robot-line { margin-top: 17px; font-size: 13px; }
    .robot-card .tags, .robot-card .robot-tags { margin-top: 13px; }
    .robot-actions { margin-top: 20px; padding-top: 15px; }
    .feature-card { gap: 15px; padding: 22px; border-radius: 19px; }
    .feature-card h3 { font-size: 16px; }
    .feature-card p { font-size: 12px; }
    .feature-icon { width: 39px; height: 39px; flex-basis: 39px; font-size: 20px; }
    .purpose-panel { grid-template-columns: 1fr; gap: 30px; padding: 27px 24px; border-radius: 22px; }
    .purpose-copy > p:not(.section-kicker), .purpose-intro { margin-top: 15px; font-size: 13px; }
    .purpose-list { gap: 20px; }
    .purpose-list h3, .purpose-list strong { font-size: 14px; }
    .purpose-list p { font-size: 12px; }
    .blessing { margin-top: 21px; }
    .community-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; border-radius: 22px; }
    .community-heading { gap: 12px; }
    .community-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; font-size: 23px; }
    .community-copy h2 { font-size: 20px; }
    .community-name { font-size: 12px; }
    .community-description { font-size: 13px; }
    .community-actions { grid-column: 1; grid-row: auto; align-items: flex-start; gap: 10px; }
    .community-actions .button { width: 100%; }
    .community-bots summary { display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 10px; padding-top: 12px; font-size: 13px; }
    .community-bots-hint { grid-column: 1; grid-row: 2; margin-left: 0; font-size: 11px; }
    .community-bots .disclosure-icon { grid-column: 2; grid-row: 1 / span 2; }
    .community-bot-list { grid-template-columns: 1fr; gap: 10px; }
    .community-bot-list li { padding: 14px; }
    .community-resources { grid-template-columns: 1fr; gap: 16px; }
    .friend-strip { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; padding: 20px 2px; }
    .friend-link { padding: 13px 14px; }
    .friend-note { font-size: 12px; }
    .site-footer { margin-top: 49px; padding: 29px 0 100px; }
    .footer-inner { display: block; }
    .footer-links { gap: 8px; margin-top: 17px; font-size: 12px; }
    .footer-links a { flex: 1 1 calc((100% - 16px) / 3); padding-inline: 8px; white-space: nowrap; }
    .footer-meta { margin-top: 20px; padding-top: 20px; font-size: 10px; }
    #mobileSupport { position: fixed; z-index: 900; right: 5vw; bottom: calc(18px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 1px solid rgba(255, 238, 188, .8); border-radius: 999px; color: #32223e; background: var(--gold); box-shadow: 0 6px 25px rgba(10, 5, 25, .4); font-size: 14px; font-weight: 750; }
    #siteStatus { bottom: calc(80px + env(safe-area-inset-bottom)); font-size: 12px; }
    .image-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 24px); padding: 16px; border-radius: 18px; }
    .preview-heading { gap: 10px; margin-bottom: 13px; }
    .preview-heading h2 { font-size: 15px; }
    #previewImage { max-height: 67svh; }
}
@media (max-width: 639px) {
    .features-grid, .feature-grid { grid-template-columns: 1fr; gap: 13px; }
}
@media (max-width: 359px) {
    .hero h1 { font-size: 31px; letter-spacing: -1.2px; }
    .hero-actions { gap: 9px; }
    .hero-actions .button, .hero-actions .btn { gap: 7px; padding: 10px 15px; font-size: 13px; }
    .hero-actions .button-primary, .hero-actions .btn-primary, .hero-actions .button-gold { min-width: 135px; }
    .support-card { padding-inline: 17px; }
    .support-card h2 { font-size: 19px; }
    .support-card .qr-link, .support-qr, .qr-frame { border-radius: 11px; }
    .payment-hint { font-size: 10px; }
    .robot-card, .community-card, .purpose-panel { padding: 21px; }
    .robot-identity { gap: 12px; }
    .robot-identity h3 { font-size: 15px; }
    .companions { gap: 10px; font-size: 11px; }
    .avatar-stack img { width: 31px; height: 31px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal, .reveal-pending, .is-revealed { opacity: 1; transform: none; }
    .button:hover, .btn:hover { transform: none; }
}
@supports not (backdrop-filter: blur(1px)) {
    .glass, .support-card, .status-card, .robot-card, .feature-card, .community-card, .purpose-panel { background: rgba(28, 21, 58, .96); }
    .nav-shell { background: rgba(18, 13, 42, .96); }
}
