:root {
  --void: #fffdf8;
  --ink: #f6efe2;
  --panel: #ffffff;
  --gold: #b8892d;
  --gold-bright: #8a6418;
  --gold-dim: #d4b56a;
  --cream: #2c2618;
  --cream-dim: #7a7366;
  --cyan: #2b7d8a;
  --line: rgba(184, 137, 45, .28);
  --danger: #c43b4a;
  --ok: #1f8a54;
  --shadow: 0 18px 40px rgba(80, 58, 16, .08);
  --font-display: "Cinzel", "Noto Serif TC", serif;
  --font-body: "Noto Sans TC", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(72px + var(--safe-top)); }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, #fff8ea 0%, transparent 55%),
    var(--void);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(184, 137, 45, .18);
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.petal-layer { position: fixed; inset: 0; pointer-events: none; z-index: 12; overflow: hidden; }
.petal {
  position: absolute; top: -28px;
  width: var(--petal-w, 9px);
  height: var(--petal-h, 12px);
  background: radial-gradient(circle at 30% 30%, #ffe9d2, #e8b48a);
  border-radius: 70% 12% 70% 12%;
  opacity: 0;
  animation: petal-fall var(--petal-dur, 14s) cubic-bezier(.22, .08, .45, 1) forwards;
}
@keyframes petal-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--petal-r, 12deg));
    opacity: 0;
  }
  14% { opacity: var(--petal-o, .32); }
  78% { opacity: var(--petal-o, .32); }
  100% {
    transform: translate3d(var(--petal-x, 40px), 108vh, 0) rotate(calc(var(--petal-r, 12deg) + var(--petal-spin, 140deg)));
    opacity: 0;
  }
}

.topbar {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,253,248,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  padding-top: var(--safe-top);
  transition: box-shadow .4s ease, border-color .4s ease;
}
.topbar-inner {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-crest { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); letter-spacing: .1em; font-size: 18px; }
.brand-text small { color: var(--cream-dim); font-size: 11px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.main-nav a {
  position: relative;
  font-size: 14px; letter-spacing: .1em; color: var(--cream-dim);
  padding: 8px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--gold); transform: scaleX(0); transition: .25s;
}
.main-nav a:hover, .main-nav a.is-on { color: var(--gold-bright); }
.main-nav a:hover::after, .main-nav a.is-on::after { transform: scaleX(1); }
.nav-cta {
  flex: none; padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(180deg, #f4d98a, #c49a3a);
  color: #3a2a0c; font-weight: 700; font-size: 13px; letter-spacing: .08em;
  box-shadow: 0 6px 16px rgba(184,137,45,.22);
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta-inmenu { display: none; }
.nav-kicker { display: none; }
.nav-backdrop[hidden] { display: none !important; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 36px; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--gold); transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.is-open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

.hero {
  position: relative; min-height: 94vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-art { position: absolute; inset: 0; z-index: 0; }
.sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 78% 18%, rgba(255, 214, 140, .45), transparent 60%),
    radial-gradient(ellipse 40% 30% at 18% 22%, rgba(186, 220, 255, .28), transparent 55%),
    linear-gradient(180deg, #fffefb 0%, #f7efe0 52%, #fffdf8 100%);
}
.sun {
  position: absolute; right: 12%; top: 12%;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, #fff4c8 0%, #ffd98a 35%, transparent 70%);
  filter: blur(4px); opacity: .85;
}
.aurora {
  position: absolute; inset: -8% 0 auto; height: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 160, .18), rgba(186, 220, 255, .16), transparent);
  filter: blur(22px);
  animation: drift 22s ease-in-out infinite;
}
.castle {
  position: absolute; left: 50%; bottom: 18%;
  width: min(920px, 92vw); height: 38vh;
  transform: translateX(-50%);
  background:
    linear-gradient(#d7c39a, #d7c39a) 8% 70% / 6% 30% no-repeat,
    linear-gradient(#d7c39a, #d7c39a) 18% 58% / 8% 42% no-repeat,
    linear-gradient(#cbb68a, #cbb68a) 32% 50% / 10% 50% no-repeat,
    linear-gradient(#d7c39a, #d7c39a) 48% 40% / 12% 60% no-repeat,
    linear-gradient(#cbb68a, #cbb68a) 64% 54% / 9% 46% no-repeat,
    linear-gradient(#d7c39a, #d7c39a) 78% 62% / 8% 38% no-repeat,
    linear-gradient(#e6d6b0, #e6d6b0) 90% 70% / 6% 30% no-repeat;
  opacity: .28; filter: drop-shadow(0 10px 18px rgba(160,120,40,.12));
}
.city {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(180deg, transparent, rgba(255,253,248,.95) 70%, #fffdf8);
}
.light { position: absolute; width: 42%; height: 70%; pointer-events: none; opacity: .4; }
.light-a { left: 0; top: 0; background: radial-gradient(circle at 20% 20%, #fff7d2, transparent 60%); animation: lightA 18s ease-in-out infinite; }
.light-b { right: 0; top: 0; background: radial-gradient(circle at 80% 15%, #c9f3ff, transparent 60%); animation: lightB 22s ease-in-out infinite; }
@keyframes lightA { 50% { transform: translateX(-2%); } }
@keyframes lightB { 50% { transform: translateX(2%); } }
@keyframes drift { 50% { transform: translateX(2.5%); } }
.stone {
  position: absolute; border-radius: 42% 58% 50% 50%;
  background: linear-gradient(145deg, #e8d5a3, #c4a35a);
  box-shadow: 0 8px 18px rgba(184,137,45,.16);
  animation: float 9s ease-in-out infinite;
}
.s1 { width: 34px; height: 22px; left: 10%; bottom: 32%; }
.s2 { width: 56px; height: 34px; left: 5%; bottom: 22%; animation-duration: 11s; }
.s3 { width: 24px; height: 18px; left: 20%; bottom: 38%; animation-duration: 13s; }
.s4 { width: 40px; height: 26px; right: 12%; bottom: 30%; animation-duration: 10s; }
@keyframes float { 50% { transform: translateY(-7px); } }

.hero-center {
  position: relative; z-index: 2; text-align: center;
  padding: 80px 20px 170px;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero-bg-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,253,248,.08) 0%, rgba(255,253,248,.15) 55%, #fffdf8 100%);
}
.hero.has-photo { min-height: 100vh; }
.hero.has-photo .hero-bg-veil {
  background:
    linear-gradient(180deg, rgba(255,253,248,.18) 0%, rgba(255,253,248,.28) 42%, #fffdf8 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255,253,248,.45), transparent 70%);
}
.hero.has-photo .hero-sub {
  background: rgba(255,253,248,.78);
  padding: 10px 20px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184,137,45,.18);
}
.hero.has-photo .ribbon {
  background: rgba(255,253,248,.9);
  box-shadow: 0 8px 22px rgba(80,58,16,.08);
}
.ribbon:hover { border-color: var(--gold); color: #3a2a0c; }
.hero.has-photo .hero-actions .btn-gold,
.hero.has-photo .hero-actions .btn-ghost {
  box-shadow: 0 10px 28px rgba(40, 24, 8, .18);
}
.hero-logo-img {
  display: block; width: min(520px, 86vw); margin: 0 auto 12px;
  filter: drop-shadow(0 10px 24px rgba(40, 20, 10, .25));
}
.hero-crest { width: 88px; height: 88px; margin: 0 auto 14px; filter: drop-shadow(0 8px 16px rgba(184,137,45,.2)); object-fit: contain; }
.brand-crest { object-fit: contain; }
.guide-photos { display: grid; gap: 16px; margin-top: 22px; }
.guide-photos img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.eyebrow, .page-hero .eyebrow, .sec-head .eyebrow {
  font-family: var(--font-mono); letter-spacing: .34em; color: var(--gold);
  font-size: 12px; margin: 0 0 12px;
}
.hero-center h1, .page-hero h1, .sec-head h2, .game-sec h2, .inner h1 {
  font-family: var(--font-display); letter-spacing: .12em; color: #2a2418;
}
.hero-center h1 { font-size: clamp(46px, 8vw, 92px); margin: 0; }
.hero-center h1 span, .page-hero h1 span {
  display: block; font-size: .32em; color: var(--cream-dim); margin-top: 12px;
  font-family: var(--font-body); letter-spacing: .22em; font-weight: 400;
}
.hero-sub { max-width: 680px; margin: 18px auto 0; color: var(--cream-dim); line-height: 1.9; }
.ribbon {
  display: inline-block; margin-top: 22px; padding: 9px 26px;
  border: 1px solid var(--gold-dim); color: var(--gold-bright);
  background: rgba(255,255,255,.72); letter-spacing: .1em;
  border-radius: 999px;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn-ghost {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  border: 1px solid var(--gold); color: var(--gold-bright); background: #fff;
}

.dl-bar {
  position: relative; z-index: 3;
  display: flex; justify-content: center; align-items: flex-end; gap: 14px;
  padding: 0 16px 28px;
}
.app-icon {
  width: 86px; height: 86px; margin-bottom: 6px; border-radius: 22px;
  display: grid; place-items: center;
  border: 2px solid var(--gold-dim); background: #fff;
  box-shadow: var(--shadow);
}
.app-icon img { width: 58px; height: 58px; }
.dl-group { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.dl-group li {
  position: relative;
  width: 172px; margin: 0 5px 8px; border: 1px solid var(--gold-dim); border-radius: 12px;
  background: #fff; box-shadow: 0 8px 18px rgba(80,58,16,.06);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease, border-color .35s ease;
}
.dl-group li:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(184,137,45,.12); }
.dl-group a { display: block; padding: 13px 12px 12px; text-align: center; }
.dl-group b { display: block; font-size: 14px; }
.dl-group small { color: var(--cream-dim); font-size: 11px; }
.dl-group .gold { background: linear-gradient(180deg, #fff6d8, #fff); }

.sec-wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 8px; }
.sec-head h2 { font-size: 36px; margin: 0; }
.sec-head h2::before, .sec-head h2::after {
  content: "✦"; color: var(--gold-dim); font-size: 14px; margin: 0 12px; vertical-align: middle;
}
.news-sec { padding: 48px 0 16px; }
.news-sec .sec-wrap, .cards-5 { display: grid; gap: 22px; }
.news-sec .sec-wrap { grid-template-columns: 1.15fr .85fr; }
.news-sec .sec-wrap:not(:has(.news-banner)) { grid-template-columns: 1fr; }
.news-list .empty, .muted-empty { color: var(--cream-dim); padding: 16px 4px; }
.frame-card, .news-banner, .news-box, .paper, .form-card, .code-panel, .product, .dl-card, .qcard {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.frame-card::before, .news-box::before, .paper::before, .form-card::before, .code-panel::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(212,181,106,.25);
  border-radius: 14px; pointer-events: none;
}
.slider, .game-slider { position: relative; overflow: hidden; border-radius: 20px; min-height: 300px; }
.slide, .gslide {
  display: block;
  position: absolute;
  inset: 0;
  min-height: 300px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.slide.is-on, .gslide.is-on {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.slide img, .gslide img { width: 100%; height: 340px; object-fit: cover; }
.slide-fallback, .gslide-art {
  min-height: 320px; display: grid; place-items: center; text-align: center; padding: 32px 24px;
}
.slide-fallback em, .gslide-art em {
  font-family: var(--font-mono); letter-spacing: .28em; color: var(--gold); font-size: 11px;
}
.slide-fallback strong, .gslide-art strong { font-family: var(--font-display); font-size: 30px; line-height: 1.4; }
.tone-0 { background: linear-gradient(135deg, #fff4d8 0%, #eef6ff 100%); }
.tone-1 { background: linear-gradient(135deg, #ffe9ee 0%, #fff6de 100%); }
.tone-2 { background: linear-gradient(135deg, #e9f8f2 0%, #eef2ff 100%); }
.tone-3 { background: linear-gradient(135deg, #fff7d8 0%, #f6efe4 100%); }
.tone-4 { background: linear-gradient(135deg, #eef1ff 0%, #fff1e8 100%); }
.slider-dots { display: flex; justify-content: center; gap: 8px; padding: 12px; }
.slider-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d8c8a0; padding: 0; cursor: pointer;
}
.slider-dots button.is-on { background: var(--gold); transform: scale(1.25); }

.news-box { padding: 22px 22px 14px; }
.news-head { display: flex; justify-content: space-between; align-items: center; }
.news-head h2 { margin: 0; font-family: var(--font-display); letter-spacing: .14em; font-size: 24px; }
.news-head a { color: var(--gold); font-size: 12px; letter-spacing: .08em; }
.news-tabs, .filter-tabs {
  position: relative;
  display: flex; gap: 8px; list-style: none; padding: 16px 0 10px; margin: 0; flex-wrap: wrap;
}
.tab-pill {
  position: absolute; top: 16px; left: 0; height: 32px; width: 64px;
  border-radius: 999px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #f4d98a, #d4b056);
  box-shadow: 0 6px 14px rgba(184,137,45,.18);
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), width .38s cubic-bezier(.22, 1, .36, 1);
}
.news-tabs li[data-tab], .filter-tabs a {
  position: relative; z-index: 1;
  padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--cream-dim); cursor: pointer; font-size: 13px; background: #fff;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.news-tabs li.is-on {
  color: #3a2a0c; background: transparent; border-color: transparent;
}
.filter-tabs a.is-on {
  color: #3a2a0c; background: linear-gradient(180deg, #f4d98a, #d4b056); border-color: transparent;
}
.news-list { list-style: none; margin: 0; padding: 0; display: none; }
.news-list.is-on { display: block; }
.news-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(184,137,45,.12);
}
.news-list a { display: flex; align-items: center; gap: 10px; min-width: 0; }
.news-list a::after {
  content: "→";
  flex: none;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.news-list li:hover a::after, .news-list a:focus-visible::after {
  opacity: 1;
  transform: none;
}
.news-list time { color: var(--cream-dim); font-size: 12px; white-space: nowrap; }
.tag {
  flex: none; font-size: 11px; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--gold);
}
.ico-hot .tag, .tag.ico-hot { color: #c43b4a; border-color: #c43b4a; background: #fff1f2; }
.ico-event .tag, .tag.ico-event { color: #9a6b10; background: #fff8e8; }
.ico-system .tag, .tag.ico-system { color: var(--cyan); background: #eef8f8; }

.social-row { display: flex; gap: 8px; list-style: none; padding: 16px 0 6px; margin: 0; flex-wrap: wrap; }
.social-row a {
  display: grid; place-items: center; min-width: 70px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--gold-bright); background: #fffdf8;
}
.social-row .split { display: flex; gap: 8px; flex: 1; }
.social-row .split a { flex: 1; }

.quick-sec { padding: 20px 0 40px; }
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.qcard { padding: 26px 16px 22px; text-align: center; transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease, border-color .4s ease; }
.qcard i {
  display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 12px;
  border-radius: 50%; border: 1px solid var(--gold-dim); color: var(--gold); background: #fff8e8;
}
.qcard span { display: block; font-family: var(--font-display); letter-spacing: .06em; }
.qcard small { color: var(--cream-dim); }
.qcard em {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-style: normal;
  letter-spacing: .16em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.qcard:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 24px rgba(184,137,45,.12); }
.qcard:hover em { opacity: 1; transform: none; }
.qcard:hover i { background: linear-gradient(180deg, #fff4d4, #f4d98a); color: #3a2a0c; }

.game-sec { padding: 10px 0 90px; }
.sec-lead { text-align: center; color: var(--cream-dim); max-width: 720px; margin: 0 auto 26px; }
.gslide-art { min-height: 360px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.feat-grid article {
  padding: 22px 20px; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; box-shadow: var(--shadow);
  cursor: pointer;
  outline: none;
}
.feat-grid article:hover, .feat-grid article:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.feat-grid article.is-on {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffaf0, #fff);
  box-shadow: 0 16px 28px rgba(184,137,45,.12);
}
.feat-grid article.is-on i {
  background: linear-gradient(180deg, #f4d98a, #d4b056);
  color: #3a2a0c;
}
.feat-grid i {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px;
  border-radius: 10px; background: #fff6de; color: var(--gold);
}
.feat-grid h3 { margin: 0 0 8px; color: var(--gold-bright); font-family: var(--font-display); }
.feat-grid p { margin: 0; color: var(--cream-dim); line-height: 1.7; }

.inner { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 90px; }
.page-hero { text-align: center; margin-bottom: 36px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0; }
.page-hero p { color: var(--cream-dim); max-width: 640px; margin: 14px auto 0; line-height: 1.8; }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { margin-bottom: 14px; }
.article-list a, .paper {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
  box-shadow: var(--shadow);
}
.article-list a:hover { transform: translateY(-2px); }
.article-list h2 { margin: 0 0 6px; font-size: 18px; }
.article-list p, .article-list time { margin: 0; color: var(--cream-dim); }
.article-list time { margin-left: auto; white-space: nowrap; }
.article-page .paper { display: block; }
.article-page .paper .hero-crest { width: 64px; height: 64px; margin-bottom: 8px; }
.paper h1 { text-align: left; margin: 8px 0; }
.paper time { color: var(--cream-dim); }
.paper .cover { width: 100%; border-radius: 12px; margin: 16px 0; }
.content { line-height: 1.95; }
.content h3 { color: var(--gold-bright); }
.content ol, .steps ol { line-height: 2; }
.lead { font-size: 18px; color: var(--gold-bright); }
.back-row { display: flex; justify-content: center; gap: 24px; margin-top: 28px; }
.back-row a { color: var(--cyan); }

.toolbar { display: flex; justify-content: space-between; color: var(--cream-dim); font-family: var(--font-mono); font-size: 12px; margin-bottom: 10px; }
.toolbar b, .toast { color: var(--cyan); }
.toast { opacity: 0; transition: .25s; }
.toast.show { opacity: 1; color: var(--gold); }
.code-panel { overflow: hidden; }
.col-heads, .code-row {
  display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 14px; align-items: center;
  padding: 16px 24px;
}
.col-heads {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--gold-bright);
  background: #fff8ea; border-bottom: 1px solid var(--line);
}
.col-heads small, .name small, .copy-btn small { display: block; color: var(--cream-dim); letter-spacing: 0; margin-top: 3px; font-size: 10px; }
.code-row { border-bottom: 1px solid rgba(184,137,45,.1); }
.code-row:hover { background: linear-gradient(90deg, #fff8ea, transparent 70%); }
.code { font-family: var(--font-mono); color: var(--cyan); letter-spacing: .06em; }
.copy-btn {
  min-width: 88px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--gold-dim);
  background: linear-gradient(180deg, #fff4d4, #fff);
  color: var(--gold);
}
.copy-btn .done { display: none; }
.copy-btn.copied { filter: grayscale(1); color: #888; }
.copy-btn.copied .def { display: none; }
.copy-btn.copied .done { display: block; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product { padding: 0 0 18px; overflow: hidden; transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease; }
.product:hover { transform: translateY(-2px); }
.p-art { min-height: 150px; position: relative; }
.p-art em, .p-art span {
  position: absolute; top: 12px; padding: 3px 8px; border-radius: 999px; font-size: 11px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line);
}
.p-art em { right: 12px; color: #c43b4a; }
.p-art span { left: 12px; color: var(--gold); }
.product h2 { font-size: 16px; margin: 14px 16px 6px; }
.product p { margin: 0 16px 8px; color: var(--cream-dim); min-height: 40px; font-size: 13px; }
.price { margin: 0 16px 10px; color: var(--gold-bright); font-family: var(--font-display); font-size: 20px; }
.product form, .stack { display: grid; gap: 8px; padding: 0 16px; }
.product input, .stack input, textarea, select {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #ffffff; color: var(--cream);
}
.product button, .btn-gold {
  display: inline-block; text-align: center; padding: 11px 20px; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, #f4d98a, #c49a3a); color: #3a2a0c; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 16px rgba(184,137,45,.18);
}
.form-card { max-width: 520px; margin: 0 auto; padding: 32px; }
.form-card label { display: grid; gap: 6px; }
.form-card p { margin: 0 0 10px; }
.form-card .back-row { margin-top: 18px; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.alert.ok { background: rgba(31,138,84,.08); color: var(--ok); }
.alert.err { background: rgba(196,59,74,.08); color: var(--danger); }

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.dl-card { padding: 28px 24px; min-height: 190px; transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease; }
.dl-card:hover { transform: translateY(-2px); }
.dl-card em { color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; }
.dl-card h2 { margin: 8px 0; font-family: var(--font-display); }
.dl-card p { color: var(--cream-dim); }
.dl-card span { color: var(--gold-bright); }
.steps { padding: 26px 30px; }

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #fff8ea);
  padding: 48px 20px 24px;
}
.footer-ornament {
  width: min(420px, 70%); height: 10px; margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  clip-path: polygon(0 50%, 46% 50%, 50% 0, 54% 50%, 100% 50%, 54% 50%, 50% 100%, 46% 50%, 0 50%);
}
.footer-inner { width: min(1200px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { margin: 0 0 10px; color: var(--gold); font-family: var(--font-display); letter-spacing: .1em; }
.site-footer a, .site-footer p { display: block; color: var(--cream-dim); line-height: 1.95; }
.site-footer a:hover { color: var(--gold-bright); }
.hours { color: var(--gold-bright) !important; }
.copy { text-align: center; color: #9a9386; font-size: 12px; margin: 30px 0 0; }

.cs-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f4d98a, #c49a3a);
  color: #3a2a0c; font-size: 13px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(184,137,45,.28);
}
.cs-float:hover { transform: translateY(-1px); }

@media (max-width: 980px) {
  .news-sec .sec-wrap, .cards-5, .feat-grid, .product-grid, .dl-grid, .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero-center { padding-bottom: 48px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: calc(64px + var(--safe-top)); }
  body.nav-open { overflow: hidden; touch-action: none; }
  body.nav-open .petal-layer,
  body.nav-open .cs-float,
  body.nav-open .to-top { visibility: hidden; }

  .topbar {
    backdrop-filter: none;
    background: #fffdf8;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .topbar-inner { width: calc(100% - 24px); gap: 10px; }
  .brand { min-width: 0; }
  .brand-text small { display: none; }
  .brand-crest { width: 40px; height: 40px; }

  .nav-toggle {
    display: grid; place-items: center;
    margin-left: auto;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(80, 58, 16, .06);
  }
  .nav-backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 70;
    background: rgba(28, 22, 12, .42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .nav-backdrop[hidden] { display: none !important; }
  .main-nav {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: min(328px, 86vw);
    z-index: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: calc(78px + var(--safe-top)) 22px calc(28px + var(--safe-bottom));
    background:
      radial-gradient(ellipse 90% 36% at 100% 0%, rgba(244, 217, 138, .38), transparent 62%),
      linear-gradient(180deg, #fffdf8 0%, #fff8ea 100%);
    border-left: 1px solid var(--line);
    box-shadow: -22px 0 48px rgba(80, 58, 16, .16);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), visibility .42s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-kicker {
    display: block;
    margin: 0 0 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(184, 137, 45, .18);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: .28em;
    color: var(--gold);
  }
  .main-nav a {
    font-size: 17px;
    letter-spacing: .16em;
    padding: 15px 8px;
    border-bottom: 1px solid rgba(184, 137, 45, .1);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .main-nav a::after { display: none; }
  .main-nav a.is-on {
    color: var(--gold-bright);
    background: linear-gradient(90deg, rgba(244, 217, 138, .28), transparent 70%);
    border-left: 3px solid var(--gold);
    padding-left: 12px;
  }
  .nav-cta-inmenu {
    display: block;
    margin-top: auto;
    text-align: center;
    padding: 15px 18px;
    font-size: 15px;
    min-height: 50px;
    justify-content: center;
    border-bottom: 0;
  }
  .nav-cta-bar { display: none; }

  .hero, .hero.has-photo {
    min-height: min(78svh, 680px);
  }
  .hero.has-photo .hero-bg-veil {
    background:
      linear-gradient(180deg, rgba(255,253,248,.12) 0%, rgba(255,253,248,.38) 48%, #fffdf8 100%),
      radial-gradient(ellipse 80% 50% at 50% 38%, rgba(255,253,248,.4), transparent 70%);
  }
  .hero-center { padding: 22px 16px 8px; }
  .hero-center h1 { font-size: clamp(32px, 10vw, 44px); }
  .hero-logo-img { width: min(248px, 72vw); margin-bottom: 8px; }
  .hero-sub {
    font-size: 13px; line-height: 1.75;
    margin-top: 12px;
    padding: 10px 14px;
  }
  .ribbon {
    margin-top: 14px;
    font-size: 12px;
    padding: 8px 16px;
    max-width: calc(100% - 8px);
  }
  .hero-actions {
    flex-direction: column;
    width: min(100%, 340px);
    margin: 18px auto 0;
    gap: 10px;
  }
  .hero-actions .btn-gold, .hero-actions .btn-ghost {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    min-height: 50px;
  }
  .scroll-cue { display: none; }

  .dl-bar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 6px 14px 18px;
    gap: 8px;
  }
  .app-icon { display: none; }
  .dl-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .dl-group li {
    width: auto;
    margin: 0;
    border-radius: 14px;
  }
  .dl-group a {
    padding: 13px 10px;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .dl-group b { font-size: 14px; }
  .dl-group .gold { grid-column: 1 / -1; }

  .news-sec { padding: 22px 0 8px; }
  .news-sec .sec-wrap, .product-grid, .footer-inner,
  .col-heads, .code-row { grid-template-columns: 1fr; }
  .cards-5, .feat-grid, .dl-grid { grid-template-columns: 1fr 1fr; }
  .col-heads { display: none; }
  .article-list a { flex-direction: column; align-items: flex-start; }
  .news-box { padding: 18px 16px 12px; }
  .news-head h2 { font-size: 20px; }
  .news-tabs, .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px 0 8px;
  }
  .news-tabs::-webkit-scrollbar, .filter-tabs::-webkit-scrollbar { display: none; }
  .news-tabs li[data-tab], .filter-tabs a {
    flex: none;
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 8px 16px;
  }
  .news-list li {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .news-list time { font-size: 11px; }

  .social-row { display: grid; grid-template-columns: 1fr 1fr; }
  .social-row .split { grid-column: 1 / -1; }
  .social-row a { min-height: 44px; height: auto; padding: 10px 8px; }

  .qcard { padding: 20px 10px 16px; }
  .qcard span { font-size: 14px; }
  .quick-sec { padding: 12px 0 28px; }
  .game-sec { padding: 8px 0 72px; }
  .feat-grid article { padding: 18px 16px; }
  .inner { width: calc(100% - 24px); padding: 32px 0 96px; }
  .page-hero { margin-bottom: 22px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .form-card { padding: 22px 18px; }
  .product button, .btn-gold, .btn-ghost { min-height: 48px; }
  .code-row { gap: 10px; padding: 16px; }
  .copy-btn { width: 100%; min-height: 48px; }
  .code { word-break: break-all; }
  .slider, .game-slider { min-height: 210px; }
  .slide, .gslide { min-height: 210px; }
  .slide img, .gslide img { height: 210px; }
  .slider-nav { width: 40px; height: 40px; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: calc(10px + var(--safe-top)); right: 12px; }

  .cs-float {
    left: 14px;
    right: auto;
    bottom: calc(16px + var(--safe-bottom));
    width: 50px; height: 50px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
    font-size: 13px;
  }
  .cs-float.is-shown {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .to-top {
    right: 14px;
    bottom: calc(16px + var(--safe-bottom));
  }

  .site-footer { padding: 32px 16px calc(28px + var(--safe-bottom)); }
  .footer-inner { gap: 22px; }
  .sec-head h2 { font-size: 26px; }
  .sec-head h2::before, .sec-head h2::after { margin: 0 8px; }
}

@media (max-width: 420px) {
  .hero-logo-img { width: min(210px, 68vw); }
  .hero-center h1 { font-size: 30px; }
  .dl-group b { font-size: 13px; }
  .qcard span { font-size: 13px; }
  .qcard small { display: none; }
}

@media (hover: none) {
  .qcard:hover, .dl-group li:hover, .product:hover, .dl-card:hover,
  .feat-grid article:hover, .article-list a:hover, .btn-gold:hover, .nav-cta:hover {
    transform: none;
  }
  .qcard em { opacity: .85; transform: none; }
  .news-list a::after { display: none; }
}

/* —— 進場與層次 —— */
.topbar.is-scrolled {
  box-shadow: 0 10px 28px rgba(80, 58, 16, .08);
  border-bottom-color: rgba(184, 137, 45, .4);
}
.hero-center {
  animation: rise 1.05s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-center h1::after {
  content: "";
  display: block;
  width: min(180px, 50%);
  height: 10px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
  clip-path: polygon(0 50%, 46% 50%, 50% 0, 54% 50%, 100% 50%, 54% 50%, 50% 100%, 46% 50%, 0 50%);
}
.sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.sparkles i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #fff6d0; box-shadow: 0 0 8px #ffe7a8;
  animation: twinkle 5.5s ease-in-out infinite;
}
.sparkles i:nth-child(1) { left: 12%; top: 22%; animation-delay: .2s; }
.sparkles i:nth-child(2) { left: 28%; top: 14%; animation-delay: 1s; width: 3px; height: 3px; }
.sparkles i:nth-child(3) { left: 48%; top: 18%; animation-delay: .6s; }
.sparkles i:nth-child(4) { left: 66%; top: 12%; animation-delay: 1.4s; }
.sparkles i:nth-child(5) { left: 82%; top: 26%; animation-delay: .3s; width: 4px; height: 4px; }
.sparkles i:nth-child(6) { left: 18%; top: 48%; animation-delay: 1.8s; }
.sparkles i:nth-child(7) { right: 16%; top: 42%; animation-delay: .9s; }
.sparkles i:nth-child(8) { left: 58%; top: 36%; animation-delay: 2.2s; width: 3px; height: 3px; }
@keyframes twinkle {
  0%, 100% { opacity: .12; transform: scale(.85); }
  50% { opacity: .55; transform: scale(1.08); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: relative; left: auto; bottom: auto; transform: none;
  margin: 28px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--gold); font-size: 11px; letter-spacing: .28em;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.scroll-cue i {
  width: 18px; height: 28px; border: 1px solid var(--gold-dim); border-radius: 12px; position: relative;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px;
  margin-left: -1.5px; border-radius: 4px; background: var(--gold);
  animation: cue 1.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: .45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(5px); }
}

.btn-gold, .nav-cta, .product button {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
}
.btn-gold::after, .nav-cta::after, .product button::after {
  content: none;
}
.btn-gold:hover, .nav-cta:hover, .product button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(184,137,45,.22);
}

.frame-card::after, .news-box::after, .paper::after, .form-card::after, .code-panel::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(var(--gold-dim), var(--gold-dim)) 0 0 / 10px 1px no-repeat,
    linear-gradient(var(--gold-dim), var(--gold-dim)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--gold-dim), var(--gold-dim)) 100% 0 / 10px 1px no-repeat,
    linear-gradient(var(--gold-dim), var(--gold-dim)) 100% 0 / 1px 10px no-repeat,
    linear-gradient(var(--gold-dim), var(--gold-dim)) 0 100% / 10px 1px no-repeat,
    linear-gradient(var(--gold-dim), var(--gold-dim)) 0 100% / 1px 10px no-repeat,
    linear-gradient(var(--gold-dim), var(--gold-dim)) 100% 100% / 10px 1px no-repeat,
    linear-gradient(var(--gold-dim), var(--gold-dim)) 100% 100% / 1px 10px no-repeat;
  opacity: .7;
}

.is-waiting {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s cubic-bezier(.22, .61, .36, 1), transform .55s cubic-bezier(.22, .61, .36, 1);
}
.reveal, .is-waiting.reveal {
  opacity: 1;
  transform: none;
  animation: none;
}
.reveal-delay-1 { transition-delay: .04s; }
.reveal-delay-2 { transition-delay: .08s; }
.reveal-delay-3 { transition-delay: .12s; }
.reveal-delay-4 { transition-delay: .16s; }

.qcard, .feat-grid article, .product, .dl-card, .article-list a {
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease, border-color .4s ease;
}
.qcard:hover i, .feat-grid article:hover i {
  background: #fff4d4;
}
.qcard i, .feat-grid i { transition: background .35s ease; }
.news-list li { transition: background .25s ease; }
.news-list li:hover { background: linear-gradient(90deg, #fff8ea, transparent 80%); }
.social-row a { transition: background .25s ease, border-color .25s ease; }
.social-row a:hover {
  background: #fff6de;
  border-color: var(--gold);
}

.slider, .game-slider { cursor: grab; }
.slider-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-dim);
  background: rgba(255,253,248,.88); color: var(--gold-bright); cursor: pointer;
  display: grid; place-items: center; font-size: 18px;
}
.slider-nav.prev { left: 12px; }
.slider-nav.next { right: 12px; }
.slider-nav:hover { background: #fff; box-shadow: var(--shadow); }
.game-slider img, .guide-photos img { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(28, 22, 12, .72);
  display: grid; place-items: center; padding: 28px 16px;
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1080px, 92vw); max-height: 78vh; border-radius: 16px;
  border: 1px solid var(--gold-dim); box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.lightbox-cap { color: #fff6de; margin: 12px 0 0; letter-spacing: .08em; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold-dim);
  background: rgba(255,253,248,.9); color: #3a2a0c; font-size: 24px; cursor: pointer;
}

.to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 45;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold-dim);
  background: rgba(255,253,248,.92); color: var(--gold-bright); cursor: pointer;
  box-shadow: var(--shadow);
}
.to-top:hover { transform: translateY(-2px); }

.cs-float { box-shadow: 0 10px 24px rgba(184,137,45,.28); }

@media (max-width: 760px) {
  .slider-nav { display: grid; }
  .sparkles i:nth-child(n+5) { display: none; }
  button, a, .news-tabs li, .copy-btn { touch-action: manipulation; }
  .scroll-cue { display: none; }
  .hero-center { padding: 18px 16px 4px; animation: none; }
  .is-waiting, .reveal, .is-waiting.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-center h1::after { width: min(120px, 40%); height: 8px; margin-top: 8px; }
  .hero, .hero.has-photo { min-height: 0; }
  .cs-float { display: none; }
  .to-top {
    right: 14px;
    bottom: calc(16px + var(--safe-bottom));
    width: 40px;
    height: 40px;
  }
  .slide-fallback, .gslide-art { min-height: 210px; }
  .slide-fallback strong, .gslide-art strong { font-size: 22px; color: #2a2418; }
  .dl-card { padding: 20px 14px; min-height: 0; }
  .dl-card h2 { font-size: 18px; }
  .filter-tabs { margin-bottom: 8px; }
}
.hero-spot {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 36%), rgba(255, 228, 160, .32), transparent 58%);
  opacity: 0;
  transition: opacity .45s ease;
}
.hero:hover .hero-spot { opacity: 1; }

.petal.is-burst {
  animation: petal-burst .85s cubic-bezier(.16, .84, .44, 1) forwards;
}
@keyframes petal-burst {
  0% { opacity: .7; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--bx, 20px), var(--by, -40px)) scale(.35) rotate(130deg); }
}

.dl-group li.is-mine {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 217, 138, .5), 0 10px 22px rgba(184, 137, 45, .14);
}
.dl-group li.is-mine::after {
  content: "推薦";
  position: absolute;
  top: -9px; left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d98a, #c49a3a);
  color: #3a2a0c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.btn-gold:active, .btn-ghost:active, .nav-cta:active, .qcard:active, .product button:active {
  transform: translateY(0) scale(.98);
}
.btn-ghost { transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease, border-color .3s ease; }
.btn-ghost:hover { transform: translateY(-1px); background: #fff8ea; }

.game-slider { position: relative; }
.game-slider .zoom-hint {
  position: absolute; z-index: 4; left: 50%; bottom: 16px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,253,248,.9);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: .08em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.game-slider:hover .zoom-hint { opacity: 1; }
.slider:active, .game-slider:active { cursor: grabbing; }

.slider-dots button { transition: transform .25s ease, background .25s ease, width .25s ease; }
.slider-dots button.is-on { width: 18px; border-radius: 999px; }

.copy-btn.copied { background: #f3f3f3; }

@media (max-width: 760px) {
  .hero-spot { display: none; }
  .game-slider .zoom-hint { opacity: 1; bottom: 10px; font-size: 11px; }
  .tab-pill { top: 12px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .petal, .sparkles, .aurora, .light, .stone, .cs-float, .hero-center, .reveal, .scroll-cue i::after, .petal.is-burst {
    animation: none !important;
  }
  .hero-center, .reveal, .is-waiting { opacity: 1; transform: none; }
  .hero-spot, .tab-pill { transition: none; }
}
