:root { color-scheme: dark; font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; background: #000; color: white; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; color: inherit; border: 0; padding: 0; background: none; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.color-filters { position: absolute; pointer-events: none; }
.pink-accents { filter: url("#yellow-to-pink"); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site { max-width: 480px; min-height: 100dvh; margin: auto; position: relative; display: flex; flex-direction: column; isolation: isolate; container-type: inline-size; background: #09061a; overflow: clip; }
.page-bg { position: absolute; inset: 0 0 auto; z-index: -1; width: 100%; height: auto; pointer-events: none; }
.site { --top-height: 14cqw; }
.top { position: fixed; z-index: 5; top: calc(env(safe-area-inset-top) + var(--top-offset, 0px)); left: 50%; transform: translateX(-50%); width: min(100%,480px); display: flex; align-items: center; justify-content: space-between; padding: .9cqw 3.7cqw; gap: 2cqw; min-height: var(--top-height); background: #26152bd4; border: 1px solid #ffd8ed36; border-radius: 0 0 5cqw 5cqw; text-shadow: 0 1px 3px #170514, 0 1px 5px #170514; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top { background: #26152b88; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
.top-grip { display: grid; place-items: center; flex: 0 0 clamp(16px, 6cqw, 28px); min-height: 36px; touch-action: none; cursor: grab; }
.top-grip:active { cursor: grabbing; }
.identity { min-width: 0; display: flex; align-items: center; gap: 2cqw; }
.logo { width: 10.8cqw; height: 10.8cqw; flex: none; border-radius: 2.5cqw; object-fit: contain; }
.brand-lockup { min-width: 0; width: auto; height: 10.8cqw; object-fit: contain; object-position: left center; }
.brand-text { min-width: 0; display: grid; line-height: 1.3; }
.brand-text strong { font-size: 4.35cqw; }
.brand-text span { font-size: 3.1cqw; }
.brand-text > * { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.top-actions { display: flex; flex: none; align-items: center; gap: 1.6cqw; }
.top-action { width: 29cqw; min-width: 0; min-height: 36px; display: grid; align-items: center; }
.top-action img { width: 100%; height: auto; max-height: 11.5cqw; object-fit: contain; }
.top-actions .business.top-action { width: 24cqw; }
.top-actions .business.top-action img { max-height: 9.5cqw; }
.top-action .text-button { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 3cqw; padding: 1.5cqw .8cqw; }
.top:has(.business.top-action) { gap: 1.2cqw; }
.top:has(.business.top-action) .top-grip { flex-basis: 4cqw; }
.top:has(.business.top-action) .brand-text { line-height: 1.18; }
.top:has(.business.top-action) .brand-text strong { font-size: 3.2cqw; }
.top:has(.business.top-action) .brand-text span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; font-size: 2.8cqw; }
.top:has(.brand-lockup) { padding-inline: 2cqw; gap: 1.2cqw; }
.top:has(.brand-lockup) .identity { gap: .55cqw; }
.top:has(.brand-lockup) .top-grip { flex-basis: 3cqw; }
.top:has(.brand-lockup) .top-actions .business.top-action { width: 20cqw; }
.top:has(.brand-lockup) .top-download { width: 24cqw; }
.top-actions .business:not(.top-action) { width: clamp(40px, 13cqw, 66px); min-width: 0; }
.top-actions .business > span:not(.business-icon) { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.business { display: grid; justify-items: center; gap: .4cqw; font-size: 3.05cqw; line-height: 1.15; flex: none; }
.business-icon { background: linear-gradient(155deg, #ffd1e5, #ee6d9f 78%); border: 1px solid #ffe0ee; border-radius: 50%; width: 7.7cqw; aspect-ratio: 1; display: grid; place-items: center; position: relative; box-shadow: 0 2px 7px #6d164c60; }
.business-icon::before { content: ""; width: 64%; height: 49%; border-radius: 45%; background: radial-gradient(circle at 34% 50%, #a34672 11%, transparent 13%), radial-gradient(circle at 66% 50%, #a34672 11%, transparent 13%), #fff5fa; }
.business-icon::after { content: ""; position: absolute; left: 25%; top: 59%; width: 20%; height: 20%; background: #fff5fa; border-radius: 0 0 85% 25%; transform: rotate(14deg); }
.hero { position: relative; margin-top: calc(var(--top-height) + env(safe-area-inset-top)); padding-top: 8.4cqw; }
.hero.without-rail { padding-top: 2cqw; }
.rail { position: absolute; inset: 2cqw 0 auto; }
.rail-art { width: 100%; }
.hotspots { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none; }
.hotspot { pointer-events: auto; }
.hero-button { position: relative; display: block; width: 96%; margin: 0 auto; }
.hero-button img { width: 100%; height: auto; }
.hero-tint { position: absolute; inset: 0; pointer-events: none; clip-path: inset(82% 0 0); }
.feature { position: relative; z-index: 1; margin: 3cqw 1.7cqw 0; min-height: 46.3cqw; padding-top: 17cqw; isolation: isolate; }
.feature-art { position: absolute; inset: 0; width: 100%; height: auto; z-index: -1; }
.feature-title { color: #171203; position: absolute; inset: 1.65cqw 0 auto; margin: 0; text-align: center; font-size: 3.7cqw; }
.feature-title.original-art-title:not(.visually-hidden) { inset: 0 auto auto 1cqw; width: 58%; min-height: 13cqw; padding: 2cqw; background: #ff9ccd; border-radius: 4cqw 0 5cqw 0; }
/* Tuck the background behind the rounded panel without covering its category buttons. */
.browse { --seam-overlap: 4cqw; position: relative; flex: 1; isolation: isolate; margin-top: calc(-1 * var(--seam-overlap)); padding: calc(var(--seam-overlap) + clamp(8px, 2.5cqw, 12px)) 3.7cqw calc(6cqw + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #63203f, #210e18); }
.browse-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center top; pointer-events: none; }
.browse:has(> .browse-bg) .feed-card span { text-shadow: 0 1px 3px #190b18, 0 1px 5px #190b18; }
.categories { display: grid; grid-auto-flow: column; grid-auto-columns: 18%; align-items: start; gap: 1.1cqw; padding-inline: 1cqw; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 1cqw; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.categories:focus-visible, .categories .category:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.category { min-width: 0; text-align: center; font-size: 2.45cqw; font-weight: 700; }
.categories .category { scroll-snap-align: start; }
.categories .category span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.feature:has(> .pink-accents) .category { color: #321427; }
.feature:has(> .pink-accents) .category[aria-pressed="true"] { color: #74143e; }
.category img { width: 100%; height: 20cqw; object-fit: cover; border-radius: 1.8cqw; margin-bottom: .7cqw; }
.category[aria-pressed="true"] { color: var(--accent); }
.text-button { background: var(--accent); color: #151100; }
.feed { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3.5cqw 2cqw; }
.feed-card { min-width: 0; text-align: left; }
.feed-card img { width: 100%; aspect-ratio: 354/258; object-fit: cover; border-radius: 2cqw; }
.feed-card span { display: block; margin-top: 1.1cqw; font-size: 3.15cqw; line-height: 1.4; }
.empty { grid-column: 1/-1; text-align: center; }
.text-button { display: block; border-radius: 1.5cqw; padding: 2cqw; font-weight: 800; }
.notice { z-index: 8; position: fixed; bottom: calc(5cqw + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); white-space: nowrap; border: 1px solid #ffffff55; background: #171323; padding: 9px 14px; border-radius: 10px; }
