/* ============ Tokens ============ */
:root {
  --ink: #16203a;
  --ink-soft: #4a5675;
  --ink-faint: #8a95ae;
  --blue: #2f86f6;
  --sky: #6db3fa;
  --sky-pale: #dcebff;
  --bg0: #f7fbff;
  --bg1: #eaf3ff;
  --pink: #ff6699;
  --line: rgba(22, 32, 58, 0.08);
  --card: #ffffff;
  --radius: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "PingFang SC", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
code {
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 0.08em 0.4em;
  border-radius: 6px;
  background: var(--sky-pale);
  color: var(--blue);
}
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.br-wide { display: none; }
.nw { display: inline-block; white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
@media (min-width: 760px) { .br-wide { display: inline; } }

/* ============ Typography ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--blue);
}
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, #58a6ff 40%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.sec-head h2 {
  margin-top: 12px;
  font-size: clamp(32px, 5.2vw, 60px);
  line-height: 1.15; font-weight: 700; letter-spacing: -0.02em;
}
.lead { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); line-height: 1.75; }

/* ============ Pills ============ */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(.98); }
.pill-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.pill-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(47, 134, 246, .7); }
.pill-blue:hover { box-shadow: 0 16px 40px -12px rgba(47, 134, 246, .85); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); }
.pill-static { cursor: default; }
.pill-static:hover { transform: none; }
.pill .ico { width: 18px; height: 18px; }

/* ============ Progress + Nav ============ */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
  background: linear-gradient(90deg, var(--sky), var(--blue), var(--pink));
}
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s; }
.nav.scrolled {
  background: rgba(247, 251, 255, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; gap: 24px; }
.nav-brand img { height: 26px; width: auto; }
.nav-links { display: none; gap: 28px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--ink-soft); transition: color .25s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (min-width: 820px) { .nav-links { display: flex; } .nav-actions { margin-left: 4px; } }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: rgba(22, 32, 58, .05); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .25s, color .25s;
}
.lang-toggle:hover { background: rgba(47, 134, 246, .1); color: var(--blue); }
.lang-toggle .ico { width: 16px; height: 16px; }
.lang-label { min-width: 2.2em; text-align: center; }
.i18n-wait body { visibility: hidden; }

/* ============ Sky decoration ============ */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0));
  filter: blur(6px);
  animation: drift 38s ease-in-out infinite alternate;
}
.c1 { width: 620px; height: 260px; top: 6%; left: -160px; }
.c2 { width: 520px; height: 220px; top: 22%; right: -140px; animation-duration: 46s; animation-delay: -12s; }
.c3 { width: 760px; height: 300px; bottom: 6%; left: 10%; animation-duration: 52s; animation-delay: -20s; opacity: .8; }
.c4 { width: 480px; height: 200px; bottom: 26%; right: 4%; animation-duration: 40s; animation-delay: -6s; opacity: .9; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(60px); } }
.star { position: absolute; color: #fff; font-size: 22px; text-shadow: 0 0 12px rgba(255,255,255,.9); animation: twinkle 3.6s ease-in-out infinite; }
.s1 { top: 16%; left: 18%; }
.s2 { top: 30%; right: 16%; font-size: 16px; animation-delay: -1.2s; }
.s3 { top: 52%; left: 8%; font-size: 26px; animation-delay: -2.4s; }
.s4 { top: 12%; right: 34%; font-size: 14px; animation-delay: -.6s; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(96px, 11vh, 120px) 0 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #bfe0ff 0%, #d9ecff 38%, var(--bg0) 100%);
}
.hero-copy { position: relative; z-index: 3; text-align: center; padding: 0 var(--gutter); }
.hero-icon { display: inline-block; }
.hero-icon img {
  width: 68px; height: 68px; border-radius: 17px;
  box-shadow: 0 18px 40px -16px rgba(47, 134, 246, .6), 0 0 0 1px rgba(255,255,255,.6);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.hero .eyebrow { display: flex; justify-content: center; margin-top: 16px; }
.hero-title {
  margin-top: 10px;
  font-size: clamp(40px, 6.6vw, 80px);
  line-height: 1.06; font-weight: 800; letter-spacing: -0.035em;
}
.hero-sub { margin: 16px auto 0; max-width: 720px; font-size: clamp(16px, 1.7vw, 20px); color: var(--ink-soft); line-height: 1.75; }
.hero-cta { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); }
.hero-meta li { display: inline-flex; align-items: center; gap: 22px; }
.hero-meta li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin-left: -12px; margin-right: -10px; opacity: .6; }

.dm-layer { position: absolute; inset: 70px 0 40%; z-index: 1; pointer-events: none; overflow: hidden; }
.dm {
  position: absolute; left: 100%; white-space: nowrap;
  font-size: 17px; font-weight: 600; color: rgba(22, 32, 58, .16);
  animation: fly linear forwards;
  will-change: transform;
}
.dm.blue { color: rgba(47, 134, 246, .38); }
.dm.pink { color: rgba(255, 102, 153, .4); }
@keyframes fly { to { transform: translateX(calc(-100vw - 100%)); } }

.hero-stage {
  position: relative; z-index: 2;
  width: min(1080px, calc(100% - 2 * var(--gutter)));
  margin: clamp(36px, 5vh, 56px) auto 0;
  padding-bottom: clamp(60px, 9vw, 120px);
}
.tv {
  position: relative; border-radius: clamp(14px, 2vw, 26px);
  padding: clamp(6px, .9vw, 12px);
  background: linear-gradient(160deg, #2a3146, #0b0f1a 60%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 40px 80px -30px rgba(18, 40, 90, .55),
    0 18px 40px -20px rgba(18, 40, 90, .45);
}
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: clamp(8px, 1.3vw, 16px); background: #000;
}
.tv-screen > video, .tv-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 38%);
}
#heroTV {
  /* 2D only: a 3D-transformed ancestor can make the video render black in some browsers */
  transform-origin: 50% 0%;
  transform: scale(calc(.86 + (1 - var(--tilt, 1)) * .14));
  transition: transform .1s linear;
}
.tv-floor {
  position: absolute; left: 10%; right: 10%; bottom: clamp(30px, 6vw, 80px); height: 60px;
  background: radial-gradient(closest-side, rgba(47, 134, 246, .28), transparent);
  filter: blur(18px); z-index: -1;
}
.hero-mascot {
  position: absolute; z-index: 4;
  width: clamp(120px, 20vw, 230px); height: auto;
  right: clamp(-10px, -1vw, 0px); top: clamp(-90px, -9vw, -50px);
  filter: drop-shadow(0 20px 30px rgba(18, 40, 90, .25));
  animation: peek 6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes peek { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }

.float-chip {
  position: absolute; z-index: 5;
  display: none; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 16px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -18px rgba(18, 40, 90, .5), inset 0 0 0 1px rgba(255,255,255,.7);
  animation: float 7s ease-in-out infinite;
}
.float-chip .ico { color: var(--blue); width: 20px; height: 20px; }
.fc1 { left: -60px; top: 22%; }
.fc2 { left: -30px; top: 58%; animation-delay: -2.4s; }
.fc3 { right: -70px; top: 52%; animation-delay: -4.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (min-width: 1100px) { .float-chip { display: inline-flex; } }

/* ============ Sections ============ */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }

/* Why */
.why { background: linear-gradient(180deg, var(--bg0), #fff); }
.why-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.why-card {
  position: relative; padding: 28px 26px 30px;
  border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(18, 40, 90, .35);
  outline: 1px solid var(--line); outline-offset: -1px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(18, 40, 90, .45); }
.why-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--sky-pale), #fff); color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(47, 134, 246, .15);
}
.why-ico .ico { width: 24px; height: 24px; }
.why-pain { margin-top: 22px; font-size: 20px; font-weight: 700; }
.why-pain span {
  display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--ink-faint);
  text-decoration: line-through; text-decoration-color: rgba(255, 102, 153, .7); text-decoration-thickness: 1.5px;
}
.why-fix { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--ink-soft); }

/* Features scrolly */
.features { background: #fff; padding-bottom: clamp(60px, 8vw, 100px); }
.scrolly { display: block; }
.scrolly-stage { display: none; }
.step { padding: 0 0 56px; }
.step-no { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--blue); }
.step h3 { margin-top: 10px; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -0.01em; }
.step p { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }
.tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg1); color: var(--ink-soft); }
.step-media {
  margin: 24px 0 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #000;
  box-shadow: 0 24px 50px -30px rgba(18, 40, 90, .5);
}
.step-media video { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 980px) {
  .scrolly { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
  .scrolly-stage { display: block; position: relative; }
  .stage-sticky { position: sticky; top: calc(50vh - 22vw * .5625 - 20px); padding-top: 4px; }
  .step-media { display: none; }
  .step {
    min-height: 78vh; display: flex; flex-direction: column; justify-content: center;
    padding: 0; opacity: .28; transform: translateX(-8px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  .step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 6vh; }
  .step:last-child { min-height: 70vh; }
  .step.active { opacity: 1; transform: none; }
  .step.active .step-no::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--blue); border-radius: 2px; animation: grow .6s var(--ease); }
  #stageScreen video { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
  #stageScreen video.on { opacity: 1; transform: none; }
}
@keyframes grow { from { width: 0; } }
.stage-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.stage-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--sky-pale); transition: width .5s var(--ease), background .4s; }
.stage-dots span.on { width: 28px; background: var(--blue); }

/* Danmaku section */
.danmaku { padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg1) 100%); }
.aurora {
  position: absolute; inset: -10% -10% auto; height: 70%; pointer-events: none; opacity: .55;
  background:
    radial-gradient(40% 50% at 18% 40%, rgba(109, 179, 250, .35), transparent 70%),
    radial-gradient(35% 45% at 82% 30%, rgba(255, 102, 153, .18), transparent 70%);
  filter: blur(40px);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(4%, 6%, 0) scale(1.1); } }
.danmaku .wrap { position: relative; }
.dm-show { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 980px) { .dm-show { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; } }
.dm-video {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(18, 40, 90, .5);
}
.dm-video video { width: 100%; height: 100%; object-fit: cover; }
.dm-badge {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.4);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf6f; box-shadow: 0 0 0 0 rgba(47, 191, 111, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47, 191, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 111, 0); } }

.tv-panel {
  border-radius: 24px; padding: 22px 16px 16px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -44px rgba(18, 40, 90, .45);
  outline: 1px solid var(--line); outline-offset: -1px;
  display: flex; flex-direction: column; gap: 8px;
}
.tv-panel-title { font-size: 15px; font-weight: 600; color: var(--ink-faint); padding: 0 8px 6px; }
.tv-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: var(--bg0); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), box-shadow .45s;
}
.tv-row b { display: block; font-size: 15px; font-weight: 600; }
.tv-row small { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px; transition: color .45s; }
.tv-row.focus { background: var(--ink); color: #fff; transform: scale(1.02); box-shadow: 0 16px 34px -16px rgba(18, 40, 90, .6); }
.tv-row.focus small { color: rgba(255,255,255,.6); }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 7px; color: var(--blue);
  box-shadow: inset 0 0 0 1.5px rgba(22, 32, 58, .2);
  position: relative; transition: background .3s, box-shadow .3s, color .3s;
}
.tv-row.focus .tick { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.tick::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .35s var(--ease);
}
.tv-row.checked .tick::after { transform: rotate(45deg) scale(1); }
.tv-row.checked .tick { box-shadow: none; }

.dm-facts { margin-top: 28px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dm-facts li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px var(--line);
}
.dm-facts .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--blue); }
.dm-facts b { font-size: 16px; }
.dm-facts span { font-size: 13px; color: var(--ink-faint); }

/* Playback */
.playback { background: linear-gradient(180deg, var(--bg1) 0%, #fff 100%); padding-top: clamp(40px, 6vw, 80px); }
.spec-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
.spec {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 30px 28px 32px; border-radius: 24px; min-height: 200px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -38px rgba(18, 40, 90, .4);
  outline: 1px solid var(--line); outline-offset: -1px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.spec::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(109, 179, 250, .18), transparent 60%);
}
.spec::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(47, 134, 246, .7), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spec:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(18, 40, 90, .5); }
.spec:hover::before, .spec:hover::after { opacity: 1; }
.spec .ico { position: absolute; top: 28px; left: 28px; width: 30px; height: 30px; color: var(--blue); stroke-width: 1.6; }
.spec-dv img { position: absolute; top: 30px; left: 28px; height: 22px; width: auto; filter: brightness(0); opacity: .82; }
.spec-big {
  font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap;
  background: linear-gradient(120deg, var(--ink) 30%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec-small { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* Bento */
.more { background: linear-gradient(180deg, #fff 0%, var(--bg1) 100%); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #fff; min-height: 240px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -44px rgba(18, 40, 90, .45);
  outline: 1px solid var(--line); outline-offset: -1px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -40px rgba(18, 40, 90, .55); }
.tile h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.tile p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.tile-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px;
  font-size: 13px; font-weight: 600; color: var(--blue);
}
.tile-tag.light { color: #cfe5ff; }
.t-login { display: flex; flex-direction: column; background: linear-gradient(160deg, #fff 0%, #f1f7ff 100%); }
.t-login .tile-copy { padding: 30px 30px 0; }
.t-login h3 { font-size: clamp(24px, 2.6vw, 30px); }
.t-login .tile-media { margin: 24px 0 0 30px; flex: 1; min-height: 200px; border-top-left-radius: 18px; overflow: hidden; background: #000; box-shadow: -10px -10px 40px -24px rgba(18,40,90,.4); }
.t-login .tile-media video { width: 100%; height: 100%; object-fit: cover; object-position: 0 50%; }

.t-img img, .t-shelf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.t-img:hover img, .t-shelf:hover img { transform: scale(1.04); }
.t-img::after, .t-shelf::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,0) 40%, rgba(10,15,30,.82) 100%);
}
.t-shelf::after { background: linear-gradient(180deg, rgba(18, 60, 140, 0) 45%, rgba(18, 60, 140, .55) 100%); }
.tile-cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; }
.tile-cap .tile-tag { margin-bottom: 6px; }

.t-art { padding: 26px 26px 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.t-cast { background: linear-gradient(160deg, #eaf4ff, #fff); }
.cast-art { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 110px; }
.cast-phone { width: 40px; height: 72px; border-radius: 10px; background: var(--ink); padding: 4px; }
.cast-phone span { display: block; height: 100%; border-radius: 7px; background: linear-gradient(160deg, var(--pink), #ff9bbd); }
.cast-waves { display: flex; gap: 6px; }
.cast-waves i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: .2; animation: wave 1.6s ease-in-out infinite; }
.cast-waves i:nth-child(2) { animation-delay: .2s; }
.cast-waves i:nth-child(3) { animation-delay: .4s; }
@keyframes wave { 50% { opacity: 1; transform: translateY(-4px); } }
.cast-tv { width: 96px; height: 62px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; color: #8cc6ff; box-shadow: 0 14px 30px -14px rgba(18,40,90,.6); }
.cast-tv .ico { width: 34px; height: 34px; }

.t-cc { background: linear-gradient(160deg, #121a33, #0a0f1e); color: #fff; }
.t-cc p { color: rgba(226, 234, 255, .65); }
.cc-art { flex: 1; min-height: 110px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.cc-line { font-size: 14px; padding: 3px 10px; border-radius: 6px; background: rgba(0,0,0,.45); color: #fff; opacity: 0; animation: cc 6s ease-in-out infinite; }
.cc-line.l2 { animation-delay: .5s; }
.cc-chip { position: absolute; top: 4px; right: 0; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: linear-gradient(120deg, var(--blue), var(--pink)); }
@keyframes cc { 0%, 8% { opacity: 0; transform: translateY(6px); } 16%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

.t-lib { background: linear-gradient(160deg, #fff4f8, #fff); }
.lib-art { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 120px; }
.lib-art span {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: #fff; box-shadow: 0 8px 20px -14px rgba(18,40,90,.5), inset 0 0 0 1px var(--line);
  transition: transform .6s var(--ease);
}
.lib-art span .ico { color: var(--pink); }
.lib-art span:nth-child(2) { margin-left: 18px; }
.lib-art span:nth-child(3) { margin-left: 36px; }
.t-lib:hover .lib-art span:nth-child(1) { transform: translateX(10px); }
.t-lib:hover .lib-art span:nth-child(3) { transform: translateX(-10px); }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-login { grid-column: span 2; min-height: 460px; }
  .t-live, .t-bangumi, .t-up, .t-shelf { min-height: 280px; }
}
@media (min-width: 1020px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
  .tile { min-height: 0; }
  .t-login { grid-column: span 2; grid-row: span 2; min-height: 0; }
  .t-live { grid-column: span 2; }
  .t-bangumi { grid-column: span 2; }
  .t-up { grid-column: span 2; }
  .t-shelf { grid-column: span 2; }
  .t-live, .t-bangumi, .t-up, .t-shelf { min-height: 0; }
}

/* Themes */
.themes { --tbg: #eef1f6; background: var(--tbg); transition: background 1s var(--ease), color 1s var(--ease); overflow: hidden; }
.themes[data-theme="dark"] { --tbg: #e9edf4; }
.themes[data-theme="midnight"] { --tbg: #dfe5f7; }
.themes[data-theme="tea"] { --tbg: #e6ece4; }
.theme-switch {
  position: relative; display: flex; width: fit-content; margin: 0 auto 40px; padding: 5px;
  border-radius: 999px; background: rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -20px rgba(18,40,90,.4);
  backdrop-filter: blur(10px);
}
.theme-switch button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-soft); transition: color .3s;
}
.theme-switch button[aria-selected="true"] { color: #fff; }
.theme-switch i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.theme-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink);
  transition: transform .55s var(--ease), width .55s var(--ease);
}
.theme-frame { max-width: 980px; margin: 0 auto; }
.theme-frame .tv-screen img { opacity: 0; transform: scale(1.03); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.theme-frame .tv-screen img.on { opacity: 1; transform: none; }
.theme-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--ink-faint); }

/* Marquee */
.all { background: #fff; overflow: hidden; padding-bottom: clamp(40px, 6vw, 72px); }
.marquee { display: grid; gap: 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { display: flex; width: max-content; gap: 14px; animation: marquee 48s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 18px;
  font-size: 17px; font-weight: 600; white-space: nowrap;
  background: var(--bg0); box-shadow: inset 0 0 0 1px var(--line);
}
.chip .ico { color: var(--blue); width: 22px; height: 22px; }
.chip:nth-child(3n+2) .ico { color: var(--pink); }

/* Finale */
.finale {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(90px, 12vw, 150px) 0 clamp(90px, 12vw, 140px);
  background: linear-gradient(180deg, #fff 0%, #d4e9ff 55%, #bcdcff 100%);
}
.finale-inner { position: relative; }
.finale-banner {
  max-width: 900px; margin: 0 auto 48px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(18, 60, 140, .6), 0 0 0 1px rgba(255,255,255,.6);
  transform: perspective(1200px) rotateX(var(--fx, 0deg));
}
.finale-banner img { width: 100%; height: auto; }
.finale h2 { font-size: clamp(34px, 6vw, 68px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }

/* Footer */
.footer { background: var(--bg1); padding: 40px 0 48px; font-size: 13px; color: var(--ink-faint); }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-top { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 6px; }
.footer img { height: 22px; width: auto; opacity: .7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.footer-links a { color: var(--ink-soft); transition: color .25s; }
.footer-links a:hover { color: var(--blue); }
.footer .copy { color: var(--ink-faint); opacity: .8; }

/* Help line (finale) */
.help-line { margin-top: 26px; font-size: 14px; color: var(--ink-soft); }
.help-line a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.help-line a:hover { text-decoration: underline; }

/* ============ Privacy page ============ */
.legal-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(110px, 14vh, 150px) 0 clamp(48px, 7vw, 72px);
  background: linear-gradient(180deg, #c6e3ff 0%, #e2f0ff 55%, var(--bg0) 100%);
}
.legal-hero-inner { position: relative; }
.legal-hero h1 { margin-top: 10px; font-size: clamp(32px, 5vw, 54px); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }
.legal-date { margin-top: 12px; font-size: 15px; color: var(--ink-faint); }

.legal { background: var(--bg0); padding: clamp(32px, 5vw, 56px) 0 clamp(72px, 10vw, 120px); }
.legal-grid { display: grid; gap: 32px; }
.legal-toc { display: none; }
@media (min-width: 980px) {
  .legal-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
  .legal-toc { display: block; position: sticky; top: 96px; }
}
.toc-title { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--ink-faint); padding-top: 2px; }
.legal-toc a:hover { background: #fff; color: var(--ink); }
.legal-toc a.active { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--line); }
.legal-toc a.active::before { color: var(--blue); }

.legal-body {
  background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -48px rgba(18, 40, 90, .45);
  outline: 1px solid var(--line); outline-offset: -1px;
}
.legal-intro { font-size: 17px; line-height: 1.85; color: var(--ink); padding-bottom: 28px; border-bottom: 1px dashed var(--line); }
.legal-sec { padding-top: 30px; scroll-margin-top: 90px; }
.legal-sec h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.35; letter-spacing: -0.01em; }
.sec-no { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--blue); }
.legal-sec p { margin-top: 12px; font-size: 16px; line-height: 1.9; color: var(--ink-soft); }
.legal-body a { color: var(--blue); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration: underline; }
[lang="en"] .legal-sec p, .legal-body[lang="en"] .legal-intro { line-height: 1.75; }

.contact-grid { margin-top: 28px; display: grid; gap: 14px; }
@media (min-width: 980px) { .contact-grid { margin-left: calc(220px + 56px); grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) and (max-width: 979px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px rgba(18, 40, 90, .45);
  outline: 1px solid var(--line); outline-offset: -1px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -36px rgba(18, 40, 90, .5); }
.contact-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--sky-pale), #fff); color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(47, 134, 246, .15);
}
.contact-ico.pink { background: linear-gradient(140deg, #ffe3ee, #fff); color: var(--pink); box-shadow: inset 0 0 0 1px rgba(255, 102, 153, .18); }
.contact-ico .ico { width: 22px; height: 22px; }
.contact-text { flex: 1; min-width: 0; }
.contact-text b { display: block; font-size: 16px; }
.contact-text small { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-faint); overflow-wrap: anywhere; }
.contact-go { width: 20px; height: 20px; color: var(--ink-faint); transition: transform .4s var(--ease), color .3s; }
.contact-card:hover .contact-go { transform: translate(2px, -2px); color: var(--blue); }

/* ============ Feedback page ============ */
.fb-sub { margin: 14px auto 0; max-width: 640px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.75; color: var(--ink-soft); }
.fb { background: var(--bg0); padding: clamp(36px, 5vw, 64px) 0 clamp(72px, 10vw, 120px); }
.fb-head { max-width: 720px; margin-bottom: 24px; }
.fb-head h2 { margin-top: 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.015em; }
.fb-head p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.fb-head b { color: var(--ink); }
.fb-head-mail { margin-top: clamp(56px, 8vw, 88px); }

.fb-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--sky-pale), #fff); color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(47, 134, 246, .15);
}
.fb-ico .ico { width: 22px; height: 22px; }
.fb-ico.amber { background: linear-gradient(140deg, #fff1d6, #fff); color: #e08a00; box-shadow: inset 0 0 0 1px rgba(224, 138, 0, .18); }
.fb-ico.green { background: linear-gradient(140deg, #dcf6e8, #fff); color: #1f9d5c; box-shadow: inset 0 0 0 1px rgba(31, 157, 92, .18); }
.fb-ico.ink { background: linear-gradient(140deg, #e7ebf3, #fff); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.fb-ico.pink { background: linear-gradient(140deg, #ffe3ee, #fff); color: var(--pink); box-shadow: inset 0 0 0 1px rgba(255, 102, 153, .18); }
.fb-ico.big { width: 58px; height: 58px; border-radius: 18px; }
.fb-ico.big .ico { width: 28px; height: 28px; }

.fb-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .fb-grid { grid-template-columns: repeat(4, 1fr); } }
.fb-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 24px; border-radius: 24px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px rgba(18, 40, 90, .45);
  outline: 1px solid var(--line); outline-offset: -1px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.fb-card .fb-ico { margin-bottom: 14px; }
.fb-card b { font-size: 18px; }
.fb-card small { font-size: 14px; line-height: 1.6; color: var(--ink-faint); }
.fb-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(18, 40, 90, .5); }
.fb-go { position: absolute; top: 24px; right: 22px; width: 20px; height: 20px; color: var(--ink-faint); transition: transform .4s var(--ease), color .3s; }
.fb-card:hover .fb-go { transform: translate(2px, -2px); color: var(--blue); }

.fb-two { margin-top: 18px; display: grid; gap: 14px; }
@media (min-width: 900px) { .fb-two { grid-template-columns: 1.25fr 1fr; } }
.fb-panel {
  padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px rgba(18, 40, 90, .45);
  outline: 1px solid var(--line); outline-offset: -1px;
}
.fb-panel h3 { font-size: 20px; letter-spacing: -0.01em; }
.fb-panel > p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.fb-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.fb-steps li { counter-increment: st; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.fb-steps li::before {
  content: counter(st); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--blue); background: var(--sky-pale);
}
.fb-steps b { font-size: 15px; }
.fb-steps span { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.fb-note { margin-top: 18px !important; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px !important; color: var(--ink-faint) !important; }
.fb-warn { background: linear-gradient(160deg, #fff6f9 0%, #fff 60%); }
.fb-warn .fb-ico { margin-bottom: 14px; }
.fb-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-chips li {
  font-size: 13px; padding: 6px 12px; border-radius: 999px; color: #c2416f;
  background: rgba(255, 102, 153, .08); box-shadow: inset 0 0 0 1px rgba(255, 102, 153, .2);
  text-decoration: line-through; text-decoration-color: rgba(194, 65, 111, .5);
}

.fb-mail {
  border-radius: var(--radius); background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -44px rgba(18, 40, 90, .5);
  outline: 1px solid var(--line); outline-offset: -1px;
}
.fb-mail-main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; padding: clamp(22px, 3.4vw, 36px);
  background: linear-gradient(120deg, #eaf4ff 0%, #fff 55%, #fff3f8 100%);
}
.fb-mail-text { flex: 1 1 320px; min-width: 0; }
.fb-address { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.fb-address:hover { color: var(--blue); }
.fb-mail-text p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.fb-mail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fb-mail-actions .pill { height: 46px; padding: 0 20px; font-size: 15px; }
.copy-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.copy-btn .i-done, .copy-btn .copy-done { display: none; }
.copy-btn.copied { color: #1f9d5c; }
.copy-btn.copied .i-copy, .copy-btn.copied .copy-label { display: none; }
.copy-btn.copied .i-done, .copy-btn.copied .copy-done { display: inline; }
.fb-mail-rules { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .fb-mail-rules { grid-template-columns: repeat(3, 1fr); } .fb-mail-rules li + li { border-left: 1px solid var(--line); } }
.fb-mail-rules li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 22px clamp(22px, 3vw, 30px); font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
@media (max-width: 899px) { .fb-mail-rules li + li { border-top: 1px solid var(--line); } }
.fb-mail-rules .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--blue); }
.fb-mail-rules b { color: var(--ink); }
.fb-mail-rules a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.fb-mail-rules a:hover { text-decoration: underline; }
.fb-mail-rules code { font-size: .88em; }

/* ============ Reveal ============ */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  #heroTV { transform: none; }
  .dm-layer { display: none; }
}
