/* 蜜映：深色下載頁；依序為共用樣式、桌面元件、響應式與減少動態偏好。 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');
:root {
  color-scheme: dark;
  --bg: #24121f;
  --stage: #24121f;
  --ink: #fff6ea;
  --muted: #ac9f9d;
  --line: #3e2d37;
  --accent: #f6b94a;
  --accent-soft: #fad696;
  --gold: #e5bd63;
  --gold-ink: #24121f;
  --chip: #3e2d37;
  --search: #47363f;
  --surface: #36242f;
  --surface-2: #3e2d37;
  --surface-3: #47363f;
  --border: #54444c;
  --hairline: #31202b;
  --on-accent: #24121f;
  --accent-pressed: #ca983d;
  --accent-gradient: linear-gradient(90deg, #f9cd7d, #ac8234);
  --accent-gradient-hot: linear-gradient(90deg, #f9cd7d, #ac8234);
  --accent-ring: rgba(246, 185, 74, 0.18);
  --accent-tint: rgba(246, 185, 74, 0.1);
  --accent-glow: rgba(246, 185, 74, 0.25);
  --accent-shadow: rgba(246, 185, 74, 0.22);
  --avatar-gradient: linear-gradient(145deg, #ac8234, #f9cd7d);
  --scrub-accent: #fad696;
  --link: #fad696;
  --danger: #ffabb1;
  --danger-bg: rgba(255, 80, 90, 0.12);
  --announce-bg: #1a0d16;
  --announce-ink: #fff6ea;
  --announce-gold: #f6b94a;
  --overlay: rgba(18, 8, 14, 0.55);
  --sheet: #1a0d16;
  --auth-card: rgba(26, 13, 22, 0.92);
  --auth-border: rgba(255, 246, 234, 0.08);
  --input-bg: #36242f;
  --input-border: #54444c;
  --input-label: #cfc4bd;
  --member-wash:
    radial-gradient(
      circle at 50% -10%,
      rgba(131, 93, 50, 0.85),
      transparent 42%
    ),
    linear-gradient(180deg, #4a3027 0, #1a0d16 220px, #24121f 100%);
  --recharge-cta: linear-gradient(180deg, transparent, #24121f 28%);
  --plan-selected-bg: linear-gradient(180deg, #4a3820, #2c2218);
  --plan-selected-border: #f6b94a;
  --poster-ph: #3e2d37;
  --media-ph: #36242f;
  --rank-ph: #47363f;
  --banner-ph: #31202b;
  --hero-ph: #2c1c27;
  --tab-active: #fff6ea;
  --soft-ink: #cfc4bd;
  --control-bg: #2c1c27;
  --theme-color: #24121f;
  --on-cover: #fff;
  --on-cover-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  --badge-free-bg: rgba(61, 220, 132, 0.18);
  --badge-free-ink: #3ddc84;
  --badge-unlocked-bg: rgba(100, 210, 255, 0.18);
  --badge-unlocked-ink: #64d2ff;
  --badge-vip-bg: rgba(246, 185, 74, 0.16);
  --badge-vip-ink: #f6b94a;
  --badge-coin-bg: rgba(245, 193, 74, 0.16);
  --badge-coin-ink: #f5c14a;
  --soft: #cfc4bd;
  --pale: var(--surface-2);
  --blue: var(--accent);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: 'Noto Sans TC', sans-serif;
  background: var(--bg);
  color-scheme: dark;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding-left: 36px;
  padding-right: 36px;
}
header {
  height: 96px;
  max-width: 1320px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-image {
  display: block;
  width: 155px;
  height: auto;
}
.logo {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: var(--on-accent);
  border-radius: 11px;
  font-size: 20px;
  position: relative;
  margin-right: 10px;
  letter-spacing: 0;
}
.logo i {
  position: absolute;
  right: 3px;
  top: 0;
  font-style: normal;
  font-size: 14px;
}
nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
nav a:hover {
  color: var(--link);
}
.button {
  border: 0;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 18px 25px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 18px var(--accent-shadow);
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover,
.button:active {
  background: var(--accent-pressed);
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 23px;
  font-weight: 400;
}
.button.small {
  padding: 11px 19px;
  font-size: 14px;
  gap: 15px;
}
/* 滿版背景可延伸到視窗邊緣，避免 100vw 含捲軸寬度造成水平溢出。 */
main {
  overflow-x: clip;
}
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  min-height: 675px;
  padding-top: 26px;
  padding-bottom: 60px;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  background:
    linear-gradient(90deg, rgba(36, 18, 31, 0.78), rgba(36, 18, 31, 0.24)),
    url('../images/pc-bg.jpg') center / cover no-repeat;
  content: '';
  transform: translateX(-50%);
}
.eyebrow {
  font-size: 14px;
  color: var(--link);
  font-weight: 600;
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
h1 {
  font-size: clamp(38px, 4.1vw, 59px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -2px;
  margin: 0 0 24px;
  position: relative;
}
h1 em {
  font-style: normal;
  color: var(--link);
}
/* 高光掠過文字後稍作停留，讓主標保有清晰的閱讀節奏。 */
.hero h1 .title-shimmer {
  --title-base: var(--ink);
}
.hero h1 em.title-shimmer {
  --title-base: var(--link);
  animation: titleGlow 4s ease-in-out infinite alternate;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 .title-shimmer {
    background-image: linear-gradient(
      110deg,
      var(--title-base) 0% 40%,
      #fff9e9 47%,
      #ffffff 50%,
      #fff9e9 53%,
      var(--title-base) 60% 100%
    );
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: titleShimmer 7s ease-in-out infinite;
  }
  .hero h1 em.title-shimmer {
    animation:
      titleShimmer 7s ease-in-out 0.5s infinite,
      titleGlow 4s ease-in-out infinite alternate;
  }
}
@keyframes titleShimmer {
  0%,
  20% {
    background-position: 100% 0;
  }
  65%,
  100% {
    background-position: 0% 0;
  }
}
@keyframes titleGlow {
  from {
    text-shadow: 0 0 12px rgba(246, 185, 74, 0.08);
  }
  to {
    text-shadow: 0 0 22px rgba(246, 185, 74, 0.28);
  }
}
.spark {
  display: inline-block;
  font-size: 52px;
  color: var(--blue);
  margin-left: 18px;
  vertical-align: middle;
  font-weight: 400;
}
.lead {
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.text-button {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  gap: 10px;
  align-items: center;
}
.play {
  width: 29px;
  height: 29px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 11px;
  padding-left: 2px;
}
.compat {
  color: var(--muted);
  font-size: 12px;
  margin-top: 23px;
  letter-spacing: 0.4px;
}
.compat span {
  margin: 0 9px;
  color: color-mix(in srgb, var(--muted) 72%, var(--bg));
}
.hero-art {
  height: 535px;
  position: relative;
  background: radial-gradient(ellipse, var(--accent-glow) 0, transparent 69%);
}
.art-top {
  position: absolute;
  top: 8px;
  left: 25px;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
.manga-panel {
  position: absolute;
  left: 4px;
  top: 73px;
  width: 218px;
  height: auto;
  box-shadow: 0 14px 36px rgba(222, 89, 89, 0.6);
  transform: rotate(-10deg);
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}
.manga-panel img {
  display: block;
  height: auto;
  width: 100%;
  object-fit: contain;
  filter: grayscale(0.5) contrast(1.4);
}
.image-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  padding: 6px;
}
.anime-panel {
  position: absolute;
  z-index: 1;
  left: 45%;
  top: 0;
  width: 252px;
  height: 514px;
  transform: rotate(6deg);
  filter: drop-shadow(0 20px 24px #0009);
}
/* hero 右下方柔光與 hero-art 前景火星，裝飾圖層不攔截點擊。 */
.fire-glow {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 60px;
  width: 48%;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #ff5722 0%,
    #ff3b1833 48%,
    transparent 72%
  );
  filter: blur(50px);
  opacity: 0.3;
  pointer-events: none;
  animation: fireGlow 3s ease-in-out infinite alternate;
}
.fire-particles {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.fire-ember {
  position: absolute;
  bottom: 0;
  left: var(--ember-left);
  width: var(--ember-size);
  height: 100%;
  opacity: 0;
  animation: emberRise var(--ember-duration) linear var(--ember-delay) infinite;
}
.fire-ember::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: var(--ember-size);
  border-radius: 50%;
  background: #ffda94;
  box-shadow:
    0 0 7px #ff9b45,
    0 0 18px #ff5722;
}
@keyframes fireGlow {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 0.8;
  }
}
@keyframes emberRise {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  12% {
    opacity: var(--ember-opacity);
  }
  45% {
    transform: translate(var(--ember-sway), -45%);
  }
  65% {
    opacity: var(--ember-opacity);
  }
  100% {
    opacity: 0;
    transform: translate(var(--ember-drift), -100%);
  }
}
.phone-screen {
  position: absolute;
  z-index: 2;
  inset: 2.2% 5% 2.4%;
  overflow: hidden;
  border-radius: 11% / 5.5%;
  background: #16111a;
}
.phone-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.phone-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.live-label {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: auto;
  right: -18px;
  color: white;
  padding: 7px 12px;
  background: #00000066;
  backdrop-filter: blur(12px);
  font-size: 12px;
  border: 1px solid #ffffff44;
  border-radius: 20px;
}
.art-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, #000000ea);
  padding: 60px 20px 16px;
  color: white;
}
.art-caption small {
  font-size: 12px;
  display: block;
  margin-bottom: 7px;
}
.art-caption strong {
  font-size: 21px;
  letter-spacing: -0.8px;
}
.timeline {
  margin-top: 20px;
  height: 3px;
  background: #ffffff50;
}
.timeline span {
  display: block;
  width: 38%;
  background: white;
  height: 100%;
}
.player-meta {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 10px;
}
.floating-sticker {
  position: absolute;
  bottom: 33px;
  left: 13px;
  transform: rotate(-8deg);
  background: color-mix(in srgb, var(--accent) 16%, var(--sheet));
  color: var(--link);
  border: 2px solid var(--accent);
  border-radius: 10px;
  box-shadow: 4px 5px 0 #07101e;
  padding: 13px 23px;
  font-size: 17px;
  line-height: 1.4;
}
.floating-sticker span {
  position: absolute;
  right: -15px;
  top: -20px;
  font-size: 40px;
  color: var(--blue);
  text-shadow: 1px 1px #07101e;
}
.art-bottom {
  position: absolute;
  bottom: -9px;
  left: 38%;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.ribbon {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--link);
  border-block: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  padding: 18px 0;
  font-size: 13px;
  letter-spacing: 2px;
}
.ribbon i {
  font-style: normal;
  font-size: 24px;
  color: var(--link);
}
.section {
  padding-top: 100px;
  padding-bottom: 104px;
}
.kicker {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--link);
  font-weight: 700;
  margin-bottom: 18px;
}
h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.45;
  margin: 0;
}
h3 {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 43px;
}
.section-heading p,
.faq > div > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 7px;
}
.video-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  transition:
    background 0.2s,
    border-color 0.2s,
    opacity 0.2s;
}
.carousel-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-gradient);
  color: var(--on-accent);
}
.carousel-arrow:disabled {
  cursor: default;
  opacity: 0.35;
}
.video-shelf {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-color: var(--accent-pressed) transparent;
  scrollbar-width: thin;
  padding: 0 0 13px;
}
.video-shelf.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.video-shelf img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.video-shelf:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.video-shelf::-webkit-scrollbar {
  height: 6px;
}
.video-shelf::-webkit-scrollbar-track {
  background: var(--surface-2);
  border-radius: 10px;
}
.video-shelf::-webkit-scrollbar-thumb {
  background: var(--accent-pressed);
  border-radius: 10px;
}
.video-track {
  display: grid;
  grid-auto-columns: clamp(160px, 15vw, 200px);
  grid-auto-flow: column;
  gap: 20px;
}
.video-card {
  min-width: 0;
  scroll-snap-align: start;
}
.video-cover {
  position: relative;
  aspect-ratio: 0.72;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  box-shadow: 0 12px 28px #0005;
}
.video-cover::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #10090fbb);
  content: '';
  pointer-events: none;
}
.video-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.video-rank {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 42px;
  padding: 0 6px 8px;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  background: #73275b;
  color: var(--accent-soft);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 12px #0005;
  pointer-events: none;
}
.video-card:nth-child(-n + 3) .video-rank {
  background: var(--accent-gradient);
  color: var(--on-accent);
}
.video-card:hover .video-cover img {
  transform: scale(1.05);
}

.cover-tag {
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 11px;
  padding: 5px 9px;
  border: 1px solid #f9cd7d88;
  border-radius: 20px;
  background: #24121fbb;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
}
.video-card h3 {
  overflow: hidden;
  margin: 12px 2px 3px;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-card p {
  margin: 0 2px;
  color: var(--muted);
  font-size: 12px;
}
.carousel-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.shelf-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.carousel-count {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.carousel-current {
  color: var(--accent-soft);
  font-weight: 700;
}
.how {
  padding: 83px 0 90px;
  background: var(--surface);
}
.how .section-heading {
  margin-bottom: 37px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps article {
  position: relative;
  padding: 30px 28px;
  border-top: 1px solid var(--border);
}
.step-num {
  position: absolute;
  right: 12px;
  top: 19px;
  font-size: 53px;
  font-weight: 800;
  color: color-mix(in srgb, var(--accent) 42%, #000);
  letter-spacing: -3px;
}
.step-icon {
  font-size: 27px;
  color: var(--blue);
  display: block;
  margin-bottom: 23px;
  height: 32px;
}
.steps h3 {
  font-size: 21px;
}
.steps p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.download {
  padding-top: 95px;
  padding-bottom: 100px;
}
@property --download-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.download-box {
  position: relative;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(131, 93, 50, 0.85),
      transparent 42%
    ),
    linear-gradient(90deg, rgba(26, 13, 22, 0.92), rgba(26, 13, 22, 0.65)),
    url('../images/download-box-bg.jpg') center / cover no-repeat,
    var(--bg);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  color: white;
  border-radius: 25px;
  padding: 55px 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}
/* 只顯示圓角邊緣的流光，保留卡片底色與按鈕操作。 */
#download .download-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--download-border-angle),
    transparent 0deg 235deg,
    rgba(246, 185, 74, 0.15) 275deg,
    #f6b94a 325deg,
    #fff2cf 345deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: downloadBorderFlow 6s linear infinite;
}
@keyframes downloadBorderFlow {
  to {
    --download-border-angle: 360deg;
  }
}
.download .kicker {
  color: var(--link);
  font-size: 10px;
}
.download h2 {
  font-size: 40px;
}
.download p {
  font-size: 15px;
  margin: 20px 0 28px;
  color: var(--soft);
}
.store-buttons {
  display: flex;
  gap: 13px;
}
.store {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  background: var(--accent-gradient);
  border: 1px solid color-mix(in srgb, var(--on-accent) 18%, transparent);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--on-accent);
  min-width: 181px;
}
.store small {
  font-size: 10px;
  display: block;
  margin-bottom: 1px;
  color: color-mix(in srgb, var(--on-accent) 78%, transparent);
}
.store b {
  font-size: 18px;
  white-space: nowrap;
}
.store > span:last-child {
  margin-left: auto;
  color: color-mix(in srgb, var(--on-accent) 78%, transparent);
}
.store-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
}
.asset-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: currentColor;
}
.apple-icon {
  /* Apple 圖案左右留白較多，等比例放大以平衡視覺份量。 */
  transform: scale(1.15);
}
.store-icon .asset-icon {
  width: 26px;
  height: 26px;
}
.dock-button .asset-icon {
  width: 24px;
  height: 24px;
}
.step-icon .asset-icon {
  width: 27px;
  height: 27px;
}
.store:hover,
.store:active {
  background: var(--accent-pressed);
}
.download-note {
  display: block;
  color: var(--soft);
  font-size: 11px;
  margin-top: 17px;
}
.download .safari-banner {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--border));
  border-radius: 14px;
  background: var(--accent-tint);
  box-shadow: inset 3px 0 0 var(--accent);
  color: var(--ink);
}
html.needs-safari .download .safari-banner {
  display: flex;
}
.download .safari-banner p {
  flex: 1 1 180px;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}
.download .safari-banner button {
  flex: none;
  min-height: 40px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: var(--on-accent);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.download .safari-banner button:hover,
.download .safari-banner button:active {
  background: var(--accent-pressed);
}
.download .safari-banner button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
.ios-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--link);
  font-size: 12px;
  line-height: 1.7;
}
.ios-steps li {
  display: flex;
  align-items: center;
}
.ios-steps li:not(:last-child)::after {
  content: '→';
  margin: 0 7px;
  color: var(--accent-soft);
}
html.platform-ios [data-platform='Android'],
html.platform-android [data-platform='iOS'] {
  display: none;
}
.download-mark {
  text-align: center;
  padding-right: 13px;
}
.big-logo {
  position: relative;
  width: 160px;
  height: 160px;
  background: var(--accent-gradient);
  border-radius: 33px;
  color: var(--on-accent);
  font-size: 66px;
  display: grid;
  place-items: center;
  box-shadow:
    0 10px 0 var(--surface),
    0 22px 30px #0005;
  margin: 0 auto 25px;
  overflow: hidden;
}
.big-logo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.big-logo span {
  position: absolute;
  right: 9px;
  top: 2px;
  font-size: 37px;
}
.download-mark > span {
  display: block;
  font-size: 27px;
  font-weight: 900;
}
.download-mark small {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 6px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 65px;
  padding-bottom: 100px;
}
.faq h2 {
  font-size: 28px;
  margin-bottom: 18px;
}
.questions details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.questions details:first-child {
  padding-top: 0;
}
summary {
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: '+';
  color: var(--blue);
  font-size: 23px;
  font-weight: 400;
}
details[open] summary:after {
  content: '−';
}
.questions p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 15px 25px 0 0;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 25px;
  align-items: center;
  min-height: 120px;
}
footer .brand-image {
  width: 130px;
}
footer .logo {
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 8px;
}
footer p {
  font-size: 12px;
  color: var(--muted);
}
footer small {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
footer > a:last-child {
  font-size: 12px;
  color: var(--link);
}
dialog {
  background: var(--sheet);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 42px;
  width: calc(100% - 40px);
  max-width: 430px;
  text-align: center;
  color: var(--ink);
  box-shadow: 0 30px 100px #00000040;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 25px;
}
dialog p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--muted);
}
.modal-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--pale);
  border-radius: 15px;
  color: var(--blue);
  font-size: 32px;
  margin: 0 auto 20px;
}
.close-confirm {
  margin-top: 12px;
  width: 100%;
}
@media (min-width: 1400px) {
  .hero {
    min-height: 720px;
  }
  .hero-art {
    height: 565px;
  }
}
@media (max-width: 1000px) {
  header {
    padding: 0 28px;
  }
  .hero-actions {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-art {
    height: 490px;
  }
  .anime-panel {
    left: 45%;
    top: 10px;
    width: 225px;
    height: 460px;
  }
  .manga-panel {
    width: 180px;
  }
  .hero {
    gap: 20px;
  }
  h1 {
    font-size: 43px;
  }
  .lead {
    font-size: 15px;
  }
  .spark {
    font-size: 40px;
  }
  .download-box {
    padding: 44px 36px;
  }
  .faq {
    gap: 35px;
  }
  .store {
    min-width: 165px;
  }
  .download-mark {
    padding-right: 0;
  }
  .big-logo {
    width: 110px;
    height: 110px;
  }
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 700px) {
  header {
    height: 78px;
    padding: 0 22px;
    gap: 12px;
  }
  header .brand {
    font-size: 21px;
  }
  header .brand-image {
    width: 130px;
  }
  header nav {
    display: none;
  }
  .button.small {
    padding: 9px 13px;
    font-size: 12px;
  }
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-top: 35px;
    padding-bottom: 38px;
  }
  .hero::before {
    background-color: var(--bg);
    background-image:
      linear-gradient(
        180deg,
        rgba(36, 18, 31, 0.98) 0%,
        rgba(36, 18, 31, 0.76) 48%,
        rgba(36, 18, 31, 0.28) 100%
      ),
      url('../images/m-bg.jpg');
    background-position:
      center,
      58% bottom;
    background-repeat: no-repeat;
  }
  .fire-glow {
    right: 2%;
    bottom: 45px;
    width: 80%;
    height: 180px;
  }
  .hero-copy {
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
    margin-bottom: 20px;
    font-size: 12px;
  }
  h1 {
    font-size: 44px;
    line-height: 1.3;
    letter-spacing: -1.8px;
    margin-bottom: 20px;
  }
  .spark {
    font-size: 37px;
    margin-left: 10px;
  }
  .lead {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
  }
  .hero-actions {
    justify-content: center;
    gap: 18px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 15px 19px;
  }
  .text-button {
    font-size: 12px;
    gap: 7px;
  }
  .compat {
    font-size: 10px;
    margin-top: 18px;
  }
  .hero-art {
    height: 440px;
    width: 100%;
    max-width: 410px;
    margin: auto;
  }
  .art-top {
    font-size: 8px;
    top: 15px;
  }
  .anime-panel {
    top: 10px;
    left: 38%;
    width: 185px;
    height: 378px;
    transform: rotate(4deg);
  }
  .manga-panel {
    left: 6%;
    top: 76px;
    width: 170px;
  }
  .floating-sticker {
    left: 4%;
    bottom: 23px;
    font-size: 14px;
    padding: 10px 17px;
  }
  .art-caption {
    padding: 45px 13px 14px;
  }
  .art-caption strong {
    font-size: 17px;
  }
  .art-caption small {
    font-size: 10px;
  }
  .art-bottom {
    font-size: 6px;
    bottom: -8px;
    left: 33%;
  }
  .ribbon {
    gap: 26px;
    font-size: 10px;
    padding: 13px 0;
    justify-content: flex-start;
    padding-left: 24px;
  }
  .ribbon i {
    font-size: 19px;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 65px;
  }
  h2 {
    font-size: 28px;
  }
  .kicker {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading p {
    font-size: 14px;
    margin-top: 17px;
  }
  .video-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 27px;
  }
  .video-track {
    grid-auto-columns: 100%;
    gap: 0;
  }
  .video-cover {
    border-radius: 11px;
  }
  .cover-play {
    width: 40px;
    height: 40px;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  .video-card h3 {
    font-size: 14px;
  }
  .shelf-hint {
    text-align: left;
  }
  .how {
    padding: 60px 0 36px;
  }
  .how .section-heading p br {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps article {
    padding: 26px 0 26px 62px;
  }
  .step-icon {
    position: absolute;
    left: 7px;
    top: 29px;
    font-size: 26px;
  }
  .step-num {
    font-size: 43px;
    right: 0;
    top: 15px;
  }
  .steps h3 {
    font-size: 19px;
  }
  .steps p br {
    display: none;
  }
  .steps p {
    padding-right: 40px;
  }
  .download {
    padding-top: 60px;
    padding-bottom: 62px;
  }
  .download-box {
    padding: 36px 25px;
    border-radius: 19px;
    display: block;
  }
  .download h2 {
    font-size: 31px;
  }
  .download p {
    font-size: 14px;
    line-height: 1.9;
    margin: 16px 0 25px;
  }
  .download-mark {
    display: none;
  }
  .store-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .store {
    justify-content: center;
    min-width: 0;
  }
  .store > span:last-child {
    margin-left: 18px;
  }
  .store b {
    font-size: 18px;
  }
  .download-note {
    font-size: 10px;
    line-height: 1.8;
  }
  .ios-steps {
    font-size: 11px;
    line-height: 1.8;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 60px;
  }
  .faq h2 {
    font-size: 27px;
  }
  .faq > div > p {
    font-size: 14px;
  }
  .questions summary {
    font-size: 14px;
  }
  .questions p {
    font-size: 14px;
  }
  footer {
    flex-wrap: wrap;
    padding-top: 25px;
    padding-bottom: 28px;
    gap: 12px 20px;
  }
  footer p {
    margin-left: auto;
    font-size: 11px;
  }
  footer small {
    margin-left: 0;
    font-size: 10px;
  }
  footer > a:last-child {
    margin-left: auto;
    font-size: 11px;
  }
  dialog {
    padding: 35px 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fire-particles {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 350px) {
  h1 {
    font-size: 37px;
  }
  .hero-art {
    height: 395px;
  }
  .anime-panel {
    left: 39%;
    width: 160px;
    height: 327px;
  }
  .manga-panel {
    width: 145px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .spark {
    font-size: 29px;
  }
}
/* GIF 播放控制與固定下載列 */
body {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}
.motion-control {
  position: absolute;
  right: 18px;
  top: 49px;
  z-index: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 20px;
  background: #0c0c0ede;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  backdrop-filter: blur(8px);
}
.motion-control:disabled {
  opacity: 0.55;
  cursor: default;
}
.download-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-top: 1px solid var(--border);
  background: #000000f5;
  backdrop-filter: blur(18px);
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px #0005;
}
.dock-inner {
  max-width: 1128px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.dock-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dock-brand strong {
  font-size: 20px;
}
.dock-brand > span {
  font-size: 13px;
  color: var(--muted);
}
.dock-actions {
  display: flex;
  gap: 12px;
}
.dock-button {
  min-height: 48px;
  min-width: 185px;
  padding: 12px 24px;
  border: 1px solid color-mix(in srgb, var(--on-accent) 18%, transparent);
  border-radius: 10px;
  background: var(--accent-gradient);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.dock-button:hover,
.dock-button:active {
  background: var(--accent-pressed);
}
.dock-android {
  background: var(--accent-gradient);
  border-color: transparent;
}
.dock-android:hover,
.dock-android:active {
  background: var(--accent-pressed);
}
@media (max-width: 700px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
  .download-dock {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .dock-brand {
    display: none;
  }
  .dock-actions {
    width: 100%;
    gap: 10px;
  }
  .dock-button {
    flex: 1;
    min-width: 0;
    padding: 12px 10px;
    font-size: 14px;
  }
  .motion-control {
    right: 12px;
  }
}
.download-dock[hidden] {
  display: none;
}
/* APP 功能介面：手机框内展示界面图 */
.showcase {
  border-top: 1px solid var(--line);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.phone-demo {
  position: relative;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 27px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 35px #0005;
  padding: 0;
}
.phone-demo > img {
  display: block;
  width: 100%;
  height: auto;
}
.screen-status {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 10px;
  color: var(--soft);
}
.screen-content {
  height: 396px;
  overflow: hidden;
  padding: 12px 7px;
  position: relative;
}
.screen-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
}
.screen-brand b > span {
  color: var(--link);
}
.screen-search {
  padding: 8px 12px;
  border-radius: 18px;
  background: var(--surface-3);
  color: var(--muted);
  font-size: 10px;
}
.screen-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  margin: 19px 0 15px;
  white-space: nowrap;
}
.screen-tabs b {
  color: var(--ink);
  position: relative;
}
.screen-tabs b:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}
.screen-cover {
  height: 160px;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
}
.screen-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen-cover > div {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #000000d9);
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 12px;
}
.screen-cover small {
  font-size: 9px;
  color: var(--link);
}
.screen-cover strong {
  font-size: 14px;
  margin-top: 5px;
}
.screen-subhead {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0 12px;
}
.screen-subhead > span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.screen-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.screen-mini-grid img {
  width: 100%;
  height: 93px;
  object-fit: cover;
  border-radius: 7px;
}
.screen-mini-grid .cover-detail {
  object-position: 70% center;
}
.screen-mini-grid span {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  margin: 5px 0 7px;
  color: var(--soft);
}
.screen-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border);
  background: var(--sheet);
  display: flex;
  justify-content: space-around;
  padding: 8px 5px;
  color: var(--muted);
  font-size: 18px;
}
.screen-nav > span {
  text-align: center;
}
.screen-nav small {
  display: block;
  font-size: 9px;
  line-height: 1.6;
}
.screen-nav .selected {
  color: var(--link);
}
.watch-screen {
  margin: 0 -8px;
  padding: 0;
  height: 400px;
}
.watch-art {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.watch-screen:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(#00000055, transparent 35%, #000000ed);
}
.watch-top {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  color: var(--soft);
}
.watch-top b {
  color: white;
  border-bottom: 2px solid white;
  padding-bottom: 6px;
}
.watch-actions {
  position: absolute;
  right: 12px;
  top: 138px;
  z-index: 1;
  display: grid;
  gap: 14px;
  text-align: center;
  font-size: 25px;
  color: white;
}
.watch-actions small {
  display: block;
  font-size: 9px;
}
.watch-story {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  z-index: 1;
}
.watch-story small {
  font-size: 9px;
  color: var(--link);
}
.watch-story h4 {
  font-size: 16px;
  margin: 10px 0;
}
.watch-story p {
  font-size: 10px;
  color: var(--soft);
}
.screen-pill {
  border: 1px solid #ffffff30;
  border-radius: 20px;
  background: #ffffff14;
  padding: 8px 13px;
  font-size: 10px;
  margin-top: 14px;
}
.watch-progress {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #ffffff40;
  z-index: 1;
}
.watch-progress:before {
  content: '';
  display: block;
  width: 30%;
  height: 100%;
  background: #fff;
}
.screen-content > h4 {
  font-size: 23px;
  margin: 4px 0 15px;
}
.screen-accent {
  color: var(--link);
  font-size: 11px;
  margin: 0 0 23px;
}
.screen-filters {
  display: flex;
  gap: 8px;
  margin: 25px 0 16px;
}
.screen-filters > span {
  flex: 1;
  padding: 8px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--soft);
  font-size: 10px;
}
.library-covers img {
  height: 86px;
}
.screen-profile {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 14px 0 19px;
}
.profile-avatar {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--avatar-gradient);
  color: var(--on-accent);
  font-size: 24px;
  border: 3px solid var(--accent-soft);
}
.screen-profile h4 {
  font-size: 16px;
  margin: 0 0 6px;
}
.screen-profile small {
  font-size: 10px;
  color: var(--muted);
}
.profile-screen {
  background: radial-gradient(
    ellipse at top,
    var(--accent-glow),
    transparent 60%
  );
}
.profile-stats {
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 22px;
}
.profile-panel {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px 12px;
  margin-bottom: 23px;
  gap: 16px;
}
.profile-panel > div {
  flex: 1;
}
.profile-panel span {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.profile-panel b {
  font-size: 12px;
  display: block;
  margin-top: 9px;
}
.showcase-copy {
  padding-top: 25px;
}
.showcase-copy > span {
  font-size: 10px;
  color: var(--link);
  letter-spacing: 1px;
}
.showcase-copy h3 {
  font-size: 19px;
  margin: 10px 0;
}
.showcase-copy p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.showcase-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 28px 0 0;
}
@media (max-width: 1100px) {
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
  }
  .phone-demo {
    max-width: 270px;
    margin: auto;
  }
  .showcase-copy {
    max-width: 300px;
    margin: auto;
  }
  .showcase-copy h3 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  .phone-demo {
    width: 270px;
    max-width: 100%;
  }
  .showcase-copy {
    max-width: 300px;
    text-align: center;
  }
  .showcase-note {
    text-align: center;
  }
}
/* 手機版 APP 展示橫向滑動；桌面維持原有欄位。 */
.showcase-swipe-hint {
  display: none;
}
.showcase-grid:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .showcase-swipe-hint {
    display: block;
    margin: -6px 0 20px;
    color: var(--link);
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .showcase-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 300px);
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    margin-inline: -24px;
    padding: 4px 24px 22px;
    scrollbar-width: thin;
    scrollbar-color: var(--link) var(--surface);
  }
  .showcase-item {
    scroll-snap-align: start;
    min-width: 0;
  }
  .showcase-grid .phone-demo {
    width: 270px;
    max-width: 100%;
    margin-inline: auto;
  }
  .showcase-grid .showcase-copy {
    max-width: 300px;
    text-align: center;
  }
  .showcase-note {
    text-align: center;
  }
}
