/* roulang page: index */
:root {
  --wine: #7a2342;
  --wine-deep: #4c1428;
  --amber: #e2ae55;
  --amber-deep: #b8832e;
  --rose: #c98b9c;
  --ink: #11080d;
  --plum: #24101c;
  --plum-mid: #3a1b2e;
  --card: #432036;
  --text: #f7efe8;
  --muted: #cbb6b2;
  --line: rgba(226, 174, 85, 0.42);
  --line-soft: rgba(226, 174, 85, 0.18);
  --shadow: 0 18px 42px rgba(48, 16, 28, 0.38);
  --radius: 24px;
  --sans: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Heiti TC", sans-serif;
  --serif: "Songti TC", "PMingLiU", "Source Han Serif TC", "Noto Serif TC", "STSong", serif;
  --space: 88px;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #140910;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 80;
  background: var(--amber); color: #2a120c; padding: 8px 14px; border-radius: 999px;
}
.skip:focus { top: 12px; }
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 40;
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 72px;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: rgba(22, 9, 16, 0.72);
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: background .25s ease, min-height .25s ease, padding .25s ease, border-color .25s ease;
}
.site-header.is-scrolled .nav-shell {
  min-height: 60px;
  background: rgba(12, 5, 9, 0.92);
  border-color: var(--line);
  padding-top: 6px; padding-bottom: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; }
.brand-mark, .age-pill, .chip, .badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 28px; padding: 2px 10px; border-radius: 999px;
  background: linear-gradient(180deg, #f0c77a, var(--amber));
  color: #2b130c; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.brand-name, .logo-foot {
  font-family: var(--serif); font-size: 20px; line-height: 1; color: #f8e7c8;
}
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a, .nav-cta, .btn, .nav-toggle {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.site-nav a {
  padding: 0 12px; border-radius: 999px; color: #f3e6df; font-size: 14px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--amber); background: rgba(226, 174, 85, 0.08); }
.site-nav a.is-active {
  background: linear-gradient(180deg, #f0c77a, var(--amber));
  color: #2a120c; font-weight: 700;
}
.site-nav a:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible, .faq-q:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px;
}
.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line); background: transparent;
  color: var(--amber); border-radius: 999px; padding: 0 16px;
}
.btn {
  border-radius: 999px; padding: 0 18px; border: 1px solid transparent;
  font-weight: 700; transition: transform .2s ease, filter .2s ease, border-color .2s ease, background .2s ease;
}
.btn-primary {
  color: #2a120c;
  background: linear-gradient(120deg, var(--wine) 0%, #a34a38 46%, var(--amber) 100%);
  box-shadow: 0 8px 20px rgba(122, 35, 66, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.05); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.9); }
.btn-ghost {
  color: #f6e2c2; background: transparent; border-color: var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--amber); color: #fff8ea; }
.nav-cta { margin-left: 6px; }
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: 140px 0 72px;
  background:
    linear-gradient(115deg, rgba(12, 5, 9, 0.88) 8%, rgba(74, 16, 38, 0.55) 48%, rgba(16, 8, 13, 0.78) 100%),
    repeating-linear-gradient(90deg, rgba(226, 174, 85, 0.09) 0 1px, transparent 1px 22px),
    url("/assets/images/backpic/back-1.jpg") center/cover no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: end; width: 100%; }
.kicker { color: var(--rose); letter-spacing: 0.16em; font-size: 13px; margin: 0 0 12px; }
h1, h2, h3, .drama-name { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; }
h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.18; margin: 0 0 16px; color: #fff8f2; }
.lede { font-size: 18px; color: #f0ddd4; max-width: 36em; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-flags { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-visual {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 420px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(122, 35, 66, 0.35), rgba(16, 8, 13, 0.2)),
    repeating-linear-gradient(90deg, rgba(226, 174, 85, 0.16) 0 2px, transparent 2px 16px),
    url("/assets/images/coverpic/cover-2.jpg") center/cover no-repeat;
}
.hero-visual img { width: 100%; height: 420px; object-fit: cover; }
.hero-caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(18, 8, 13, 0.78); border: 1px solid var(--line-soft);
  border-radius: 18px; padding: 14px 16px;
}
.hero-caption strong { display: block; font-family: var(--serif); font-size: 22px; }
.hero-caption span { color: var(--muted); font-size: 14px; }
.section { padding: var(--space) 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.section-head p { margin: 0; color: var(--muted); max-width: 36em; }
.path {
  background:
    linear-gradient(180deg, rgba(36, 16, 28, 0.94), rgba(17, 8, 13, 0.96)),
    url("/assets/images/backpic/back-2.jpg") center/cover;
}
.step-row { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr; gap: 16px; }
.step {
  background: rgba(67, 32, 54, 0.88); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 24px; min-height: 210px;
  box-shadow: var(--shadow);
}
.step:nth-child(2) { margin-top: 28px; }
.step:nth-child(4) { margin-top: 16px; }
.step h3 { margin: 12px 0 8px; font-size: 24px; }
.step p { margin: 0; color: var(--muted); }
.reward { background: #160b11; }
.reward-layout { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 18px; }
.drama-card {
  position: relative; overflow: hidden; border-radius: 26px; min-height: 280px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow); background: var(--card);
}
.drama-card.wide { grid-column: 1 / -1; min-height: 240px; }
.drama-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.drama-card.wide img { min-height: 240px; max-height: 320px; }
.drama-body {
  position: absolute; inset: auto 0 0 0; padding: 22px 24px;
  background: linear-gradient(180deg, transparent, rgba(14, 6, 10, 0.92));
}
.drama-name { margin: 8px 0; font-size: 30px; }
.drama-body p { margin: 0; color: #eadfd8; max-width: 46em; }
.progress-sec {
  background:
    linear-gradient(160deg, rgba(17, 8, 13, 0.92), rgba(58, 20, 40, 0.88)),
    url("/assets/images/backpic/back-3.jpg") center/cover;
}
.progress-layout { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 28px; align-items: start; }
.track { list-style: none; margin: 0; padding: 0 0 0 8px; }
.track li {
  position: relative; padding: 0 0 22px 28px; color: var(--muted);
}
.track li::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: -6px; width: 2px;
  background: #6d5362;
}
.track li::after {
  content: ""; position: absolute; left: -5px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #6d5362; border: 2px solid #2a1722;
}
.track li.done { color: var(--text); }
.track li.done::before, .track li.done::after, .track li.now::after { background: var(--amber); }
.track li.now { color: #ffe7c2; }
.track strong { display: block; font-size: 18px; color: inherit; }
.side-panel {
  background: var(--plum-mid); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.side-panel h3 { margin-top: 0; font-family: var(--serif); }
.stat-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.news { background: #12080d; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-card.is-offset { transform: translateY(18px); }
.news-link { display: block; padding: 24px 26px; min-height: 180px; }
.news-link:hover { border-radius: inherit; box-shadow: inset 0 0 0 1px var(--amber); }
.news-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--rose); font-size: 13px; margin: 0 0 8px; }
.news-link h3 { margin: 0 0 8px; font-size: 24px; }
.news-link p { margin: 0 0 14px; color: var(--muted); }
.text-link { color: var(--amber); font-weight: 700; }
.empty-state {
  grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 36px; text-align: center; background: rgba(67, 32, 54, 0.55);
}
.empty-state p { margin-top: 0; }
.empty-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.faq { background: linear-gradient(180deg, #1a0c13, #12080e); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--plum-mid); border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; color: var(--text);
  border: 0; padding: 18px 22px; font-size: 18px; min-height: 56px;
}
.faq-q[aria-expanded="true"] { color: #ffe7c2; }
.faq-a { display: none; padding: 0 22px 18px; color: var(--muted); margin: 0; }
.faq-item.is-open .faq-a { display: block; }
.cta-band { padding: 28px 0 96px; background: #10080c; }
.cta-box {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 32px; border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(76, 20, 40, 0.92), rgba(20, 8, 13, 0.8)),
    url("/assets/images/coverpic/cover-6.jpg") center/cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cta-box h2 { margin: 0 0 6px; font-size: 32px; }
.cta-box p { margin: 0; color: #f0ddd4; }
.site-footer { background: #0c0609; border-top: 1px solid var(--line-soft); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-family: var(--serif); font-size: 18px; margin: 0 0 12px; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--amber); }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: #a89290; font-size: 13px; }
.age-gate {
  position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(8, 3, 6, 0.82); backdrop-filter: blur(8px);
}
.age-card {
  width: min(520px, 100%); background: #2a1420; border: 1px solid var(--line);
  border-radius: 28px; padding: 32px; box-shadow: var(--shadow);
}
.age-card h2 { font-family: var(--serif); margin: 12px 0; font-size: 32px; }
.age-card p { color: var(--muted); }
.age-form { display: grid; gap: 12px; }
.age-form label { font-size: 14px; color: #f0ddd4; }
.age-form input {
  width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--line-soft);
  background: #140910; color: var(--text); padding: 0 14px;
}
.age-actions { display: flex; gap: 10px; flex-wrap: wrap; }
body.is-locked { overflow: hidden; }
body.is-blocked main, body.is-blocked .site-footer, body.is-blocked .site-header { display: none; }
@media (max-width: 1023px) {
  :root { --space: 64px; }
  .hero-grid, .reward-layout, .progress-layout, .foot-grid, .step-row { grid-template-columns: 1fr 1fr; }
  .step-row .step:nth-child(n) { margin-top: 0; }
  .drama-card.wide { grid-column: auto; }
  .nav-cta { display: none; }
}
@media (max-width: 767px) {
  .nav-shell { border-radius: 28px; align-items: flex-start; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    margin: 0; padding-bottom: 8px;
  }
  .nav-shell.is-open .site-nav { display: flex; }
  .site-nav a { width: 100%; justify-content: flex-start; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-grid, .reward-layout, .progress-layout, .news-grid, .foot-grid, .step-row, .cta-box {
    grid-template-columns: 1fr; display: grid;
  }
  .news-card.is-offset { transform: none; }
  .hero-visual, .hero-visual img { min-height: 240px; height: 240px; }
  .section-head { display: block; }
  .cta-box { display: block; }
  .cta-box .btn { margin-top: 16px; }
}
@media (max-width: 519px) {
  :root { --space: 44px; }
  .wrap { width: calc(100% - 24px); }
  h1 { font-size: 32px; }
  .brand-name { font-size: 16px; }
  .hero-actions, .age-actions, .empty-actions { display: grid; }
  .btn, .nav-toggle { width: 100%; }
}

.age-gate{position:static;background:#11080d;}.is-locked{overflow:auto;}

/* roulang page: category1 */
:root {
  --wine: #8a2a42;
  --wine-deep: #5c1830;
  --amber: #e0b15a;
  --amber-soft: #f0d7a2;
  --rose: #c9a3a8;
  --ink: #10080c;
  --plum: #24141c;
  --plum-card: #3a2030;
  --plum-raise: #462838;
  --char: #171014;
  --text: #f7f0ea;
  --muted: #cbb6b0;
  --line: rgba(224, 177, 90, 0.34);
  --line-strong: rgba(224, 177, 90, 0.72);
  --radius: 24px;
  --shadow: 0 22px 48px rgba(68, 18, 32, 0.38);
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --serif: "Songti TC", "Noto Serif TC", "PMingLiU", "Source Han Serif TC", serif;
  --header-h: 92px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 520px at 10% -10%, rgba(138, 42, 66, 0.45), transparent 60%),
    linear-gradient(148deg, #12080d 0%, #24141e 46%, #160c14 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; display: block; border: 0; }
button, input { font-family: inherit; }
a { color: var(--amber-soft); text-decoration: none; }
a:hover { color: #fff6e4; }
p { margin: 0 0 0.8rem; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.25;
  color: #fff8f2;
  margin: 0 0 0.6rem;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--amber); color: #2a140c; padding: 8px 12px; z-index: 80; border-radius: 8px;
}
.skip:focus { top: 8px; }
.site-header {
  position: sticky; top: 14px; z-index: 50; padding: 0 16px; margin-bottom: 8px;
}
.nav-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(22, 10, 16, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: min-height 0.25s ease, background 0.25s ease, padding 0.25s ease;
  position: relative;
}
.nav-shell.is-scrolled {
  min-height: 60px;
  background: rgba(12, 6, 9, 0.92);
  padding-top: 6px;
  padding-bottom: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); min-height: 44px; flex: 0 0 auto; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 28px; padding: 0 8px;
  border-radius: 999px; background: linear-gradient(135deg, var(--amber), #f3d7a0);
  color: #3a1a12; font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
}
.brand-name { font-family: var(--serif); font-size: 1.12rem; color: #fff8f1; letter-spacing: 0.02em; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; flex-wrap: wrap; }
.site-nav a {
  color: var(--rose); min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 12px; border-radius: 999px; font-size: 0.94rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--amber-soft); background: rgba(224, 177, 90, 0.08); }
.site-nav a.is-active, .site-nav a:active {
  color: #2b160e; background: linear-gradient(180deg, #f0d7a2, var(--amber));
  border-bottom-color: transparent; font-weight: 700;
}
.nav-toggle {
  display: none; margin-left: auto; min-height: 44px; min-width: 72px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(58, 32, 48, 0.8);
  color: var(--amber-soft); cursor: pointer;
}
.nav-toggle:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 2px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; font-weight: 700; letter-spacing: 0.02em; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.btn-primary {
  color: #2a120c;
  background: linear-gradient(120deg, #7a243c 0%, #c46a3a 52%, #e0b15a 100%);
  box-shadow: 0 8px 20px rgba(122, 36, 60, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); filter: saturate(1.08); background: linear-gradient(150deg, #8d2c48 0%, #d4843e 48%, #f0d7a2 100%); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.92); }
.btn-goldline {
  color: var(--amber-soft); background: transparent; border-color: var(--line-strong);
}
.btn-goldline:hover { transform: translateY(-2px); border-color: var(--amber-soft); color: #fff; }
.nav-cta { margin-left: auto; flex: 0 0 auto; }
.mast {
  position: relative; margin: 18px auto 0; width: min(1120px, calc(100% - 32px));
  min-height: 420px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background:
    linear-gradient(105deg, rgba(16, 8, 12, 0.88) 0%, rgba(42, 16, 28, 0.72) 48%, rgba(16, 8, 12, 0.35) 100%),
    url("/assets/images/backpic/back-2.jpg") center/cover no-repeat;
}
.mast-inner { position: relative; z-index: 1; padding: 64px 48px 48px; max-width: 680px; }
.crumb { display: flex; gap: 8px; flex-wrap: wrap; color: var(--rose); font-size: 0.9rem; margin-bottom: 14px; }
.crumb a { color: var(--amber-soft); }
.kicker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge, .chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.03em; font-weight: 700;
}
.badge-gold { background: linear-gradient(180deg, #f3d7a4, #e0b15a); color: #3a1a12; }
.badge-line { border: 1px solid var(--line-strong); color: var(--amber-soft); background: rgba(16, 8, 12, 0.35); }
.badge-mute { background: #4a3340; color: #e7d5cf; }
.mast h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 12px; }
.lede { font-size: 1.08rem; color: #f3e6df; max-width: 38rem; }
.section { padding: 84px 0; }
.section h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; max-width: 36rem; }
.timeline { list-style: none; margin: 0; padding: 8px 0 8px 42px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(#e0b15a 0%, #e0b15a 46%, #6d4a52 46%, #6d4a52 100%);
}
.tl-item { position: relative; margin: 0 0 22px; }
.tl-node {
  position: absolute; left: -36px; top: 28px; width: 16px; height: 16px; border-radius: 50%;
  background: #6a4a52; border: 2px solid #c9a3a8; box-shadow: 0 0 0 4px rgba(36, 20, 28, 0.8);
}
.tl-item.is-done .tl-node { background: var(--amber); border-color: #fff1d2; }
.tl-item.is-now .tl-node { background: #fff; border-color: var(--amber); box-shadow: 0 0 0 6px rgba(224, 177, 90, 0.28); }
.tl-card {
  display: grid; grid-template-columns: 210px 1fr; gap: 0;
  background: linear-gradient(180deg, rgba(70, 40, 56, 0.96), rgba(46, 26, 38, 0.96));
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  width: 100%; transition: transform 0.2s ease, border-color 0.2s ease;
}
.tl-item:nth-child(even) .tl-card { width: 78%; margin-left: auto; }
.tl-item:nth-child(odd) .tl-card { width: 92%; }
.tl-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.tl-cover { min-height: 168px; position: relative; background: linear-gradient(145deg, #6e243c, #2a121c); }
.tl-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 168px; }
.tl-item.is-locked .tl-cover img { filter: saturate(0.45) brightness(0.62); }
.tl-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 8, 12, 0.45));
}
.lock-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
}
.tl-body { padding: 22px 24px 20px; }
.tl-body h3 { font-size: 1.45rem; margin-top: 8px; }
.tl-body p { color: var(--muted); margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { background: rgba(16, 8, 12, 0.35); color: var(--amber-soft); border: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: 1.2fr 0.9fr 1fr; gap: 14px; }
.step {
  background: rgba(42, 22, 34, 0.88); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 18px;
  min-height: 160px;
}
.step:nth-child(2) { transform: translateY(18px); }
.step strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin: 10px 0 6px; }
.step p { color: var(--muted); margin: 0; }
.now-band {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 18px; align-items: stretch;
}
.now-copy, .now-side {
  background: #2c1822; border: 1px solid var(--line); border-radius: 26px; padding: 28px;
  box-shadow: var(--shadow);
}
.now-side {
  background:
    linear-gradient(180deg, rgba(18, 8, 12, 0.2), rgba(18, 8, 12, 0.72)),
    url("/assets/images/coverpic/cover-3.jpg") center/cover no-repeat;
  min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end;
}
.meter { height: 10px; border-radius: 999px; background: #5a3d48; overflow: hidden; margin: 14px 0 8px; }
.meter span { display: block; height: 100%; width: 42%; background: linear-gradient(90deg, #8a2a42, #e0b15a); }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.faq-wrap { background: rgba(32, 18, 26, 0.72); border: 1px solid var(--line); border-radius: 26px; padding: 8px 18px; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border-bottom: 1px solid rgba(224, 177, 90, 0.18); background: transparent; }
.accordion-item:last-child { border-bottom: 0; }
.accordion-title {
  color: #fff6ee !important; font-size: 1.05rem; padding: 18px 36px 18px 4px; min-height: 44px;
  background: transparent !important; border: 0 !important;
}
.accordion-title:hover, .accordion-title:focus { color: var(--amber-soft) !important; }
.accordion-content { background: transparent !important; color: var(--muted); border: 0 !important; padding: 0 8px 16px; }
.cta-bar {
  margin: 0 auto 72px; width: min(1120px, calc(100% - 32px));
  border-radius: 28px; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background:
    linear-gradient(110deg, rgba(90, 24, 42, 0.92), rgba(36, 16, 24, 0.88)),
    url("/assets/images/backpic/back-1.jpg") center/cover;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cta-bar h2 { margin-bottom: 6px; }
.cta-bar p { color: #f0e2da; margin: 0; }
.site-footer { background: #0d070a; border-top: 1px solid rgba(224, 177, 90, 0.18); padding: 48px 0 20px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr; gap: 28px; }
.logo-foot { font-family: var(--serif); color: #fff8f2; font-size: 1.4rem; margin-bottom: 8px; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0.08em; color: var(--amber-soft); font-family: var(--sans); }
.site-footer a { color: #f0d7c8; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.age-pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px;
  background: var(--amber); color: #3a1a12; font-weight: 800; font-size: 12px;
}
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(224, 177, 90, 0.15); font-size: 0.9rem; }
.age-reveal, .reveal.age-reveal {
  background: #22141c; color: var(--text); border: 1px solid var(--line-strong); border-radius: 24px;
  padding: 28px; max-width: 520px; box-shadow: var(--shadow);
}
.age-reveal h2 { font-size: 1.8rem; }
.age-reveal label { color: var(--text); display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; }
.age-reveal input[type="checkbox"] { width: 20px; height: 20px; margin-top: 4px; accent-color: #e0b15a; }
.age-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.blocked-note { display: none; color: var(--rose); }
body.is-gated main, body.is-gated .site-footer { filter: blur(7px); pointer-events: none; user-select: none; }
body.is-gated .age-fallback { display: block; }
.age-fallback {
  display: none; position: fixed; inset: 0; z-index: 70; background: rgba(8, 4, 6, 0.72);
  align-items: center; justify-content: center; padding: 20px;
}
body.is-gated .age-fallback { display: flex; }
@media (max-width: 1023px) {
  .section { padding: 64px 0; }
  .tl-item:nth-child(even) .tl-card, .tl-item:nth-child(odd) .tl-card { width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { transform: none; }
  .now-band, .foot-grid { grid-template-columns: 1fr; }
  .mast-inner { padding: 48px 28px; }
}
@media (max-width: 767px) {
  .tl-card { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section-head, .cta-bar { flex-direction: column; align-items: flex-start; }
  .mast { min-height: 360px; }
}
@media (max-width: 639px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; padding: 10px;
    background: rgba(14, 7, 10, 0.96); border: 1px solid var(--line); border-radius: 24px;
    backdrop-filter: blur(16px);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; }
  .section { padding: 48px 0; }
  .brand-name { font-size: 0.98rem; }
}
@media (max-width: 520px) {
  .wrap, .mast, .cta-bar { width: calc(100% - 20px); }
  .mast-inner, .tl-body, .now-copy, .cta-bar { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: article */
:root {
  --wine: #8d2c44;
  --wine-deep: #5a1b2e;
  --amber: #e2b56a;
  --amber-deep: #b6843a;
  --rose: #c98b98;
  --ink: #11080c;
  --plum: #261018;
  --card: #341824;
  --card-2: #41202d;
  --text: #f7f0e8;
  --muted: #cbb6ae;
  --line: rgba(226, 181, 106, .4);
  --shadow: 0 20px 46px rgba(36, 6, 14, .46);
  --radius: 24px;
  --serif: "Songti TC", "PMingLiU", "Source Han Serif TC", "Noto Serif TC", "STSong", serif;
  --sans: "PingFang TC", "Microsoft JhengHei", "Heiti TC", "Noto Sans TC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(155deg, #0c0709 0%, #1a0b14 42%, #2a1020 100%);
  min-height: 100vh;
}
img { max-width: 100%; display: block; border: 0; }
a { color: #f0d3a4; text-decoration: none; }
button, input { font-family: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; color: #fff8f1; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--amber); color: #2a140c; padding: 8px 14px; border-radius: 999px; z-index: 90;
}
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 16px 8px; }
.nav-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: rgba(16, 8, 12, .72);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
  backdrop-filter: blur(16px);
  transition: padding .25s ease, background .25s ease, min-height .25s ease;
}
.nav-shell.is-scrolled { min-height: 56px; padding-top: 6px; padding-bottom: 6px; background: rgba(10, 5, 8, .92); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; min-height: 44px; }
.brand-mark, .age-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 28px; padding: 0 8px; border-radius: 999px;
  background: linear-gradient(120deg, #f0d7a2, #c99445); color: #3a160f; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.brand-name, .logo-foot { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; }
.nav-toggle {
  display: none; margin-left: auto; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--amber); cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.site-nav a {
  color: #f3e6da; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font-size: .95rem;
}
.site-nav a:hover { color: #fff; background: rgba(226, 181, 106, .12); }
.site-nav a.is-active { background: linear-gradient(120deg, #f0d7a2, #c99445); color: #2c120c; }
.nav-cta { margin-left: auto; white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn-primary {
  color: #2a120c; background: linear-gradient(120deg, #9a3148 0%, #c56a3a 55%, #e2b56a 100%);
  box-shadow: 0 8px 20px rgba(154, 49, 72, .35);
}
.btn-ghost { color: #f6e7c8; background: transparent; border-color: var(--line); }
.btn:hover { transform: translateY(-2px); filter: saturate(1.05); box-shadow: 0 12px 24px rgba(226, 181, 106, .22); }
.btn:active { transform: translateY(0); filter: brightness(.92); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px;
}
.page-banner {
  position: relative; margin: 8px auto 0; width: min(1180px, calc(100% - 24px)); border-radius: 28px; overflow: hidden;
  min-height: 220px; padding: 36px 28px 32px;
  background:
    linear-gradient(115deg, rgba(12,6,9,.88), rgba(90,27,46,.55)),
    url("/assets/images/backpic/back-2.jpg") center/cover no-repeat;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(90deg, rgba(226,181,106,.16) 0 2px, transparent 2px 18px);
}
.crumb, .banner-copy { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--rose); font-size: .92rem; margin-bottom: 14px; }
.crumb a { color: #f0d3a4; min-height: 44px; display: inline-flex; align-items: center; }
.banner-kicker { color: var(--amber); letter-spacing: .08em; font-size: .85rem; margin-bottom: 8px; }
.banner-copy h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 16em; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); color: #2a140c; background: linear-gradient(120deg, #f3ddb0, #d7a85a); font-size: .82rem; font-weight: 700;
}
.badge.ghost { background: transparent; color: #f6e7c8; }
.article-layout { padding: 72px 0 24px; }
.article-card, .side-card, .rel-card, .cta-bar, .faq-box {
  background: linear-gradient(180deg, rgba(65,32,45,.92), rgba(36,16,24,.92));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.article-card { padding: 28px 28px 36px; }
.article-card h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 16em; }
.meta-line { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: .95rem; margin: 8px 0 18px; }
.cover-frame {
  border-radius: 20px; overflow: hidden; margin: 8px 0 22px; min-height: 220px;
  background:
    repeating-linear-gradient(90deg, rgba(226,181,106,.18) 0 10px, transparent 10px 22px),
    linear-gradient(145deg, #7a2740, #2a1018);
}
.cover-frame img { width: 100%; height: 320px; object-fit: cover; }
.prose { max-width: 780px; font-size: 1.05rem; line-height: 1.82; color: #f4ebe4; }
.prose > * + * { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: 1.55rem; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 1.25rem; margin: 1.2em 0 .4em; color: #f6e1c4; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose blockquote {
  margin: 1.2em 0; padding: 14px 18px; border-left: 3px solid var(--amber); background: rgba(226,181,106,.08); border-radius: 0 16px 16px 0; color: #f8e7d4;
}
.prose figure { margin: 1.2em 0; }
.prose figcaption, .caption { color: var(--rose); font-size: .9rem; margin-top: 8px; }
.prose img { border-radius: 16px; margin: 8px 0; }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.empty-box { padding: 28px 8px 12px; }
.empty-box h1 { margin-bottom: 10px; }
.side-card { padding: 22px; position: sticky; top: 96px; }
.side-card h2 { font-size: 1.35rem; }
.track { margin: 16px 0 8px; height: 8px; border-radius: 999px; background: #5a4450; overflow: hidden; }
.track span { display: block; width: 46%; height: 100%; background: linear-gradient(90deg, #8d2c44, #e2b56a); }
.step { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(226,181,106,.15); }
.step:last-child { border-bottom: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; flex: none; background: #6d5a62; }
.dot.on { background: var(--amber); box-shadow: 0 0 0 4px rgba(226,181,106,.18); }
.dot.mid { background: var(--rose); }
.step strong { display: block; }
.step span { color: var(--muted); font-size: .9rem; }
.side-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.related { padding: 28px 0 72px; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.section-head p { color: var(--muted); margin: 0; max-width: 36em; }
.rel-grid { display: grid; grid-template-columns: 1.35fr .9fr .9fr; gap: 16px; }
.rel-card { overflow: hidden; min-height: 100%; display: flex; flex-direction: column; }
.rel-card img { width: 100%; height: 180px; object-fit: cover; background: linear-gradient(145deg, #7a2740, #241018); }
.rel-card:first-child img { height: 240px; }
.rel-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rel-body h3 { font-size: 1.2rem; }
.rel-body p { color: var(--muted); margin: 0; flex: 1; }
.faq { padding-bottom: 72px; }
.faq-box { padding: 12px; }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border-bottom: 1px solid rgba(226,181,106,.18); }
.accordion-title {
  color: #fff8f1 !important; font-size: 1.05rem; padding: 16px 18px; min-height: 44px; background: transparent;
}
.accordion-title:hover, .accordion-title:focus { background: rgba(226,181,106,.08); color: var(--amber) !important; }
.accordion-content { background: transparent; color: var(--muted); border: 0; padding: 0 18px 16px; }
.cta-bar {
  display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 28px; margin-bottom: 72px;
  background:
    linear-gradient(120deg, rgba(18,8,12,.78), rgba(90,27,46,.72)),
    url("/assets/images/backpic/back-1.jpg") center/cover no-repeat;
}
.cta-bar h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer { padding: 48px 0 28px; border-top: 1px solid rgba(226,181,106,.2); background: #0d070a; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr; gap: 28px; }
.site-footer h2 { font-size: 1.05rem; font-family: var(--sans); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; min-height: 36px; align-items: center; color: #f0d3a4; }
.site-footer li a:hover { color: #fff; }
.site-footer p { color: var(--muted); }
.legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(226,181,106,.15); color: #b7a199; font-size: .9rem; }
.age-gate {
  position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px;
  background: rgba(8, 4, 6, .78); backdrop-filter: blur(8px);
}
body.is-gated .age-gate { display: grid; }
body.is-gated .page-main { filter: blur(12px); pointer-events: none; user-select: none; max-height: 70vh; overflow: hidden; }
.age-panel { width: min(520px, 100%); padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: #2a121b; box-shadow: var(--shadow); }
.age-panel h2 { font-size: 1.8rem; }
.age-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.age-deny { display: none; color: var(--rose); margin-top: 12px; }
.age-panel.is-denied .age-deny { display: block; }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: 78px; flex-direction: column; align-items: stretch;
    padding: 10px; border-radius: 24px; background: rgba(16,8,12,.96); border: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .nav-cta { display: none; }
  .rel-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; margin-top: 18px; }
  .article-layout, .related, .faq { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 768px) {
  .rel-grid, .foot-grid, .cta-bar { grid-template-columns: 1fr; display: grid; }
  .cta-bar { display: grid; }
  .article-card { padding: 20px 16px 28px; }
  .cover-frame img, .rel-card img, .rel-card:first-child img { height: 200px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .page-banner { padding: 24px 16px; min-height: 180px; }
  .brand-name { font-size: 1rem; }
  .article-layout { padding-top: 40px; }
}

/* roulang page: category2 */
:root {
  --wine: #8a2344;
  --wine-deep: #4c1024;
  --amber: #e0b15a;
  --amber-2: #f3d7a4;
  --rose: #c98b9a;
  --ink: #10080c;
  --plum: #24131c;
  --plum-card: #3a1e2c;
  --char: #171014;
  --text: #f7f0ea;
  --muted: #cbb8b0;
  --weak: #a89090;
  --line: rgba(224, 177, 90, 0.38);
  --line-soft: rgba(224, 177, 90, 0.18);
  --shadow: 0 22px 46px rgba(72, 24, 28, 0.38);
  --radius: 24px;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --serif: "Songti TC", "PMingLiU", "Noto Serif TC", "Source Han Serif TC", "STSong", serif;
  --space: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: linear-gradient(148deg, #0c070a 0%, #1b0c16 46%, #311425 100%);
  overflow: hidden;
}
body.is-open { overflow: auto; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--amber-2); text-decoration: none; }
a:hover { color: #fff6e4; }
button, input { font-family: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .brand-name, .logo-foot {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background:
    linear-gradient(160deg, rgba(18, 6, 10, 0.92), rgba(74, 18, 36, 0.82)),
    url("/assets/images/backpic/back-2.jpg") center/cover no-repeat;
}
.age-gate[hidden] { display: none; }
.age-card {
  width: min(560px, 100%);
  background: #2b1622;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.age-card h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 10px; }
.age-card p { color: var(--muted); margin-bottom: 18px; }
.age-form {
  display: grid;
  gap: 14px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 44px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #160d12;
  border: 1px solid var(--line-soft);
  color: var(--text);
}
.check input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--amber);
}
.check input:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible, .site-nav a:focus-visible, .accordion-title:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.age-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.age-deny {
  margin: 0;
  color: #f0c2b4;
  background: rgba(122, 30, 48, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
}
.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  padding: 0 16px;
  margin-top: 12px;
}
.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(16, 8, 12, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  transition: padding 0.25s ease, background 0.25s ease;
}
.nav-shell.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(10, 5, 8, 0.94);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
}
.brand-mark, .age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--wine), #b4532a);
  color: #fff8ef;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-name, .logo-foot { font-size: 1.15rem; color: var(--amber-2); }
.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #2a1520;
  color: var(--amber-2);
  cursor: pointer;
}
.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--warm, #f3e6dc);
  color: #f3e6dc;
  font-size: 0.95rem;
}
.site-nav a:hover { background: rgba(224, 177, 90, 0.12); color: #fff; }
.site-nav a.is-active {
  background: linear-gradient(120deg, var(--amber), var(--amber-2));
  color: #2a140c;
  box-shadow: inset 0 -2px 0 #8a6230;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  color: #2a140c;
  background: linear-gradient(135deg, #8a2344 0%, #c46a32 55%, #e0b15a 100%);
  box-shadow: 0 10px 22px rgba(138, 35, 68, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(168deg, #9a284c 0%, #d4893a 48%, #f0d7a2 100%);
  border-color: #f3d7a4;
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.9); }
.btn-ghost {
  color: var(--amber-2);
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #f3d7a4;
  background: rgba(224, 177, 90, 0.08);
}
.btn-ghost:active { filter: brightness(0.88); }
.nav-cta { flex: 0 0 auto; }
.mag-band {
  position: relative;
  padding: var(--space) 0 72px;
  background:
    linear-gradient(120deg, rgba(12, 7, 10, 0.88) 12%, rgba(42, 16, 28, 0.72) 70%),
    url("/assets/images/backpic/back-2.jpg") center/cover no-repeat;
}
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.crumb span::before { content: "/"; margin-right: 8px; color: var(--amber); }
.mag {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: stretch;
}
.mag-visual {
  position: relative;
  margin: 0;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(92, 18, 40, 0.8), rgba(20, 8, 16, 0.55)),
    repeating-linear-gradient(90deg, rgba(224, 177, 90, 0.16) 0 10px, transparent 10px 22px);
}
.mag-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.float-age, .float-count {
  position: absolute;
  z-index: 2;
}
.float-age { top: 18px; left: 18px; }
.float-count {
  right: 18px;
  bottom: 18px;
  background: var(--amber);
  color: #2a140c;
  border-radius: 8px 18px 8px 18px;
  padding: 8px 14px;
  font-weight: 800;
}
.mag-copy {
  background: rgba(36, 19, 28, 0.88);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 0.85rem;
  margin-bottom: 12px;
}
h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.22; margin-bottom: 12px; color: #fff8f2; }
.lead { font-size: 1.08rem; color: #f0ddd4; margin-bottom: 16px; }
.mag-copy p { color: var(--muted); }
.quote {
  margin: 18px 0;
  padding: 14px 16px 14px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(16, 8, 12, 0.45);
  border-radius: 0 16px 16px 0;
  color: #f6e7dc;
}
.badge-row, .cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--amber);
  color: #2a140c;
  font-size: 0.82rem;
  font-weight: 800;
}
.badge-line { background: transparent; color: var(--amber-2); border: 1px solid var(--line); }
.badge-wait { background: transparent; color: var(--rose); border: 1px solid rgba(201, 139, 154, 0.7); }
.badge-hot { background: #6d243c; color: #f8e7c8; }
.section { padding: var(--space) 0; }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.section-intro { color: var(--muted); max-width: 680px; margin-bottom: 24px; }
.scene-board { background: linear-gradient(180deg, rgba(16, 8, 12, 0.2), rgba(42, 18, 30, 0.35)); }
.line-list { display: grid; gap: 10px; }
.line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #311b27;
  border: 1px solid var(--line-soft);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.line:hover { transform: translateY(-2px); border-color: var(--amber); color: #fff; }
.line img {
  width: 92px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background:
    linear-gradient(160deg, #6d2038, #241018),
    repeating-linear-gradient(90deg, rgba(224, 177, 90, 0.2) 0 6px, transparent 6px 14px);
}
.line strong { display: block; font-size: 1.02rem; }
.line small { color: var(--muted); }
.bridge {
  background:
    linear-gradient(100deg, rgba(16, 8, 12, 0.78), rgba(76, 16, 36, 0.55)),
    url("/assets/images/backpic/back-3.jpg") center/cover no-repeat;
}
.flow {
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.flow article {
  background: rgba(28, 14, 22, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 24px;
}
.flow article:nth-child(1) { flex: 1.45; }
.flow article:nth-child(2) { flex: 0.72; }
.flow article:nth-child(3) { flex: 1.05; }
.step-no {
  display: inline-flex;
  min-width: 36px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--amber);
  color: #2a140c;
  font-weight: 800;
  margin-bottom: 10px;
}
.flow h3 { font-size: 1.2rem; margin-bottom: 8px; }
.flow p { color: var(--muted); margin: 0; }
.rail-card {
  background: var(--plum-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 22px 0 12px;
}
.rail i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #6a5360;
}
.rail i.is-done { background: linear-gradient(90deg, #e0b15a, #f3d7a4); }
.rail-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); flex-wrap: wrap; }
.faq-sec { padding-bottom: 40px; }
.accordion { list-style: none; margin: 0; background: transparent; border: 0; }
.accordion-item {
  background: #2c1823;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-title {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 14px 18px;
  color: #fff6ee;
  font-weight: 700;
  background: transparent;
}
.accordion-title:hover, .accordion-title:focus { color: var(--amber-2); background: rgba(224, 177, 90, 0.08); }
.accordion-content { display: none; padding: 0 18px 16px; color: var(--muted); border: 0; }
.accordion-item.is-active .accordion-content { display: block; }
.cta-bar {
  padding: 28px 0 88px;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(76, 16, 36, 0.92), rgba(24, 10, 16, 0.88)),
    url("/assets/images/backpic/back-1.jpg") center/cover;
  box-shadow: var(--shadow);
}
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; color: var(--muted); }
.site-footer {
  background: #10080c;
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; color: var(--amber); letter-spacing: 0.08em; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #f0ddc8; }
.site-footer a:hover { color: var(--amber-2); }
.legal {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--weak);
  font-size: 0.9rem;
}
@media (max-width: 1023px) {
  :root { --space: 64px; }
  .mag { grid-template-columns: 1fr; }
  .mag-visual, .mag-visual img { min-height: 360px; }
  .flow { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .site-nav a { padding: 0 8px; font-size: 0.88rem; }
}
@media (max-width: 768px) {
  .line { grid-template-columns: 72px 1fr; }
  .line .badge { grid-column: 2; justify-self: start; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .rail { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 639px) {
  :root { --space: 48px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-shell.is-open .nav-cta { display: inline-flex; order: 4; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 8px;
  }
  .nav-shell.is-open {
    border-radius: 28px;
    flex-wrap: wrap;
  }
  .nav-shell.is-open .site-nav { display: flex; }
  .site-nav a { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .age-card, .mag-copy, .cta-inner, .rail-card { padding: 22px 18px; }
  h1 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

body{overflow:auto}.age-gate{position:relative}

/* roulang page: category3 */
:root {
      --wine: #8b2344;
      --wine-deep: #5c1630;
      --amber: #e2b463;
      --amber-soft: #f0d7a2;
      --rose: #c98b9a;
      --ink: #11080e;
      --plum: #24121c;
      --card: #3a2030;
      --card-2: #452638;
      --text: #f7f0ea;
      --muted: #cbb6be;
      --line: rgba(226, 180, 99, 0.38);
      --line-dim: rgba(226, 180, 99, 0.16);
      --radius: 24px;
      --shadow: 0 22px 48px rgba(48, 10, 22, 0.42);
      --serif: "Songti TC", "PMingLiU", "Noto Serif TC", "Source Han Serif TC", serif;
      --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
      --space: 88px;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--text);
      font-family: var(--sans);
      font-size: 17px;
      line-height: 1.7;
      background:
        radial-gradient(900px 480px at 12% -10%, rgba(139, 35, 68, 0.35), transparent 60%),
        linear-gradient(148deg, #10070c 0%, #2a1324 46%, #160910 100%);
      min-height: 100vh;
    }
    img { max-width: 100%; display: block; border: 0; }
    a { color: var(--amber-soft); text-decoration: none; }
    a:hover { color: #fff6e4; }
    button, input, select { font-family: inherit; }
    button { cursor: pointer; }
    :focus-visible {
      outline: 2px solid var(--amber);
      outline-offset: 3px;
    }
    .wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
    .site-header {
      position: sticky;
      top: 14px;
      z-index: 40;
      padding: 0 16px;
    }
    .nav-shell {
      display: flex;
      align-items: center;
      gap: 18px;
      min-height: 74px;
      padding: 10px 12px 10px 18px;
      border-radius: 999px;
      background: rgba(18, 8, 14, 0.62);
      border: 1px solid var(--line);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
      backdrop-filter: blur(14px);
      transition: padding 0.25s ease, background 0.25s ease, min-height 0.25s ease, border-radius 0.25s ease;
    }
    .nav-shell.is-scrolled {
      min-height: 60px;
      padding-top: 6px;
      padding-bottom: 6px;
      background: rgba(12, 6, 10, 0.9);
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text);
      min-height: 44px;
      flex: 0 0 auto;
    }
    .brand-mark, .age-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 42px;
      height: 28px;
      padding: 0 8px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--amber), #f3d7a0);
      color: #3a1a12;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .brand-name, .logo-foot {
      font-family: var(--serif);
      font-size: 20px;
      letter-spacing: 0.02em;
    }
    .site-nav {
      display: flex;
      align-items: center;
      gap: 6px;
      flex: 1 1 auto;
      justify-content: center;
    }
    .site-nav a {
      color: var(--text);
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      padding: 0 12px;
      border-radius: 999px;
      font-size: 15px;
      border-bottom: 2px solid transparent;
    }
    .site-nav a:hover { background: rgba(226, 180, 99, 0.1); color: #fff; }
    .site-nav a.is-active {
      background: linear-gradient(180deg, #f0d7a2, var(--amber));
      color: #3a160f;
      font-weight: 700;
    }
    .nav-toggle {
      display: none;
      min-height: 44px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(58, 22, 36, 0.8);
      color: var(--amber-soft);
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 18px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 15px;
      font-weight: 700;
      transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
    }
    .btn-primary {
      color: #2b120c;
      background: linear-gradient(135deg, #9a2748 0%, #c45a3a 48%, var(--amber) 100%);
      box-shadow: 0 10px 22px rgba(122, 32, 48, 0.35);
    }
    .btn-primary:hover, .btn-primary:focus {
      transform: translateY(-2px);
      filter: saturate(1.08);
      background: linear-gradient(118deg, #a82d52 0%, #d56a3c 42%, #f0c56e 100%);
      color: #2b120c;
    }
    .btn-primary:active { transform: translateY(0); filter: brightness(0.92); }
    .btn-line {
      color: var(--amber-soft);
      background: transparent;
      border-color: var(--line);
    }
    .btn-line:hover, .btn-line:focus {
      transform: translateY(-2px);
      border-color: var(--amber);
      color: #fff8ea;
      background: rgba(226, 180, 99, 0.08);
    }
    .btn[disabled], .btn.is-locked {
      opacity: 0.55;
      cursor: not-allowed;
      transform: none;
    }
    .nav-cta { flex: 0 0 auto; }
    .age-gate {
      width: min(720px, calc(100% - 32px));
      margin: 28px auto 12px;
      padding: 28px;
      border-radius: var(--radius);
      background:
        linear-gradient(160deg, rgba(74, 22, 40, 0.92), rgba(22, 10, 16, 0.94)),
        url("/assets/images/backpic/back-3.jpg") center/cover;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    html.age-ok .age-gate { display: none; }
    html:not(.age-ok) #page-main { display: none; }
    .age-gate h2 {
      font-family: var(--serif);
      font-size: 32px;
      margin: 8px 0 10px;
      line-height: 1.3;
    }
    .age-gate p { color: var(--muted); margin: 0 0 16px; }
    .age-form {
      display: grid;
      gap: 12px;
      margin-top: 8px;
    }
    .check-row {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: var(--text);
      min-height: 44px;
    }
    .check-row input {
      width: 20px;
      height: 20px;
      margin-top: 4px;
      accent-color: var(--amber);
    }
    .age-form input[type="text"], .age-note-field {
      width: 100%;
      min-height: 48px;
      border-radius: 16px;
      border: 1px solid var(--line-dim);
      background: #1a0d14;
      color: var(--text);
      padding: 0 14px;
    }
    .age-form input:focus {
      border-color: var(--amber);
      box-shadow: 0 0 0 3px rgba(226, 180, 99, 0.28);
      outline: none;
    }
    .gate-actions { display: flex; flex-wrap: wrap; gap: 10px; }
    .gate-error { color: #ffd0c8; min-height: 1.4em; margin: 0; }
    .page-main { padding-bottom: 40px; }
    .task-head {
      position: relative;
      margin: 22px auto 0;
      border-radius: 28px;
      overflow: hidden;
      min-height: 320px;
      background:
        linear-gradient(105deg, rgba(16, 7, 12, 0.88) 8%, rgba(58, 18, 34, 0.72) 52%, rgba(16, 7, 12, 0.45) 100%),
        url("/assets/images/backpic/back-3.jpg") center/cover no-repeat;
      border: 1px solid var(--line-dim);
      box-shadow: var(--shadow);
    }
    .task-head-inner {
      display: grid;
      grid-template-columns: 1.25fr 0.75fr;
      gap: 28px;
      padding: 42px 40px 36px;
      align-items: end;
    }
    .crumb { color: var(--rose); font-size: 14px; margin: 0 0 8px; }
    .crumb a { color: var(--amber-soft); }
    h1 {
      font-family: var(--serif);
      font-size: clamp(34px, 4vw, 52px);
      line-height: 1.22;
      margin: 0 0 12px;
      font-weight: 600;
    }
    .lead { margin: 0 0 16px; color: #f3e6ea; max-width: 40rem; }
    .badge-row, .meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
    .badge {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 12px;
      border-radius: 999px;
      font-size: 13px;
      letter-spacing: 0.02em;
      border: 1px solid var(--line);
      color: var(--amber-soft);
      background: rgba(18, 8, 12, 0.45);
    }
    .badge-gold {
      background: linear-gradient(180deg, #f3ddb0, var(--amber));
      color: #3a160f;
      border-color: transparent;
      font-weight: 700;
    }
    .badge-done { background: rgba(226, 180, 99, 0.16); color: #f6e2b4; }
    .badge-lock { color: #e7c8d0; border-style: dashed; }
    .badge-live { background: rgba(139, 35, 68, 0.55); border-color: rgba(226, 180, 99, 0.45); }
    .progress-panel {
      background: rgba(22, 10, 16, 0.72);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 18px 18px 16px;
    }
    .progress-panel h2 {
      font-family: var(--serif);
      font-size: 22px;
      margin: 0 0 8px;
    }
    .progress-panel p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
    .track {
      height: 12px;
      border-radius: 999px;
      background: #5a4450;
      overflow: hidden;
      border: 1px solid rgba(226, 180, 99, 0.25);
    }
    .track > span {
      display: block;
      height: 100%;
      width: 58%;
      border-radius: inherit;
      background: linear-gradient(90deg, #8b2344, var(--amber));
    }
    .progress-label {
      display: flex;
      justify-content: space-between;
      margin-top: 8px;
      font-size: 13px;
      color: var(--amber-soft);
    }
    section { padding: var(--space) 0; }
    .section-title {
      font-family: var(--serif);
      font-size: clamp(28px, 3vw, 40px);
      margin: 0 0 8px;
      line-height: 1.25;
    }
    .section-kicker { color: var(--rose); margin: 0 0 6px; letter-spacing: 0.08em; font-size: 13px; }
    .section-intro { color: var(--muted); margin: 0 0 22px; max-width: 42rem; }
    .task-wall {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 18px;
      align-items: start;
    }
    .task-card {
      background: linear-gradient(180deg, var(--card-2), var(--card));
      border: 1px solid var(--line-dim);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .task-card:hover {
      transform: translateY(-2px);
      border-color: var(--amber);
      box-shadow: 0 18px 36px rgba(70, 18, 32, 0.4);
    }
    .task-card.span-tall { grid-row: span 2; }
    .task-card figure {
      margin: 0;
      position: relative;
      min-height: 180px;
      background:
        linear-gradient(160deg, #6d2140, #2a121c),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 8px, transparent 8px 18px);
    }
    .task-card img { width: 100%; height: 220px; object-fit: cover; }
    .task-card.span-tall img { height: 300px; }
    .task-card.is-lock img { filter: grayscale(0.7) brightness(0.62); }
    .card-body { padding: 22px 24px 24px; }
    .card-body h3 {
      font-family: var(--serif);
      font-size: 26px;
      margin: 10px 0 8px;
      line-height: 1.3;
    }
    .card-body p { margin: 0 0 14px; color: #eadde2; }
    .card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .state-grid {
      display: grid;
      grid-template-columns: 1.4fr 0.8fr;
      gap: 18px;
    }
    .state-panel {
      border-radius: var(--radius);
      padding: 28px;
      border: 1px solid var(--line-dim);
      background: #2c1723;
    }
    .state-panel.done-panel {
      background:
        linear-gradient(145deg, rgba(139, 35, 68, 0.35), rgba(36, 16, 24, 0.2)),
        #321923;
    }
    .state-panel h3 { font-family: var(--serif); font-size: 28px; margin: 8px 0 10px; }
    .state-list { list-style: none; margin: 0; padding: 0; }
    .state-list li {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--line-dim);
      min-height: 44px;
    }
    .state-list span { color: var(--muted); }
    .steps {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr 1fr;
      gap: 14px;
    }
    .step {
      background: #2a1622;
      border-radius: 22px;
      padding: 22px;
      border: 1px solid var(--line-dim);
      min-height: 180px;
    }
    .step:nth-child(2) { margin-top: 28px; }
    .step strong { display: block; font-family: var(--serif); font-size: 22px; margin: 10px 0; }
    .pick-row {
      display: grid;
      grid-template-columns: 0.7fr 1.3fr;
      gap: 16px;
    }
    .pick {
      position: relative;
      border-radius: 26px;
      overflow: hidden;
      min-height: 240px;
      border: 1px solid var(--line-dim);
      background: #3a1d2c url("/assets/images/coverpic/cover-6.jpg") center/cover;
    }
    .pick.wide { background-image: url("/assets/images/coverpic/cover-10.jpg"); min-height: 280px; }
    .pick figcaption {
      position: absolute;
      inset: auto 0 0 0;
      padding: 18px 18px 16px;
      background: linear-gradient(180deg, transparent, rgba(12, 6, 10, 0.88));
    }
    .pick h3 { margin: 6px 0 0; font-family: var(--serif); font-size: 26px; }
    .faq-wrap { max-width: 820px; }
    .accordion { background: transparent; border: 0; margin: 0; }
    .accordion-item {
      border: 1px solid var(--line-dim) !important;
      border-radius: 18px !important;
      margin-bottom: 12px;
      background: #2b1723;
      overflow: hidden;
    }
    .accordion-title {
      color: var(--text) !important;
      font-size: 18px !important;
      padding: 16px 48px 16px 18px !important;
      min-height: 52px;
      background: transparent !important;
      border: 0 !important;
    }
    .accordion-title:hover, .accordion-title:focus { color: var(--amber-soft) !important; background: rgba(226, 180, 99, 0.06) !important; }
    .accordion-content { color: var(--muted); border: 0 !important; background: transparent !important; padding: 0 18px 16px !important; }
    .cta-band {
      border-radius: 28px;
      padding: 32px;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      background:
        linear-gradient(120deg, rgba(92, 22, 48, 0.92), rgba(36, 14, 22, 0.88)),
        url("/assets/images/backpic/back-1.jpg") center/cover;
      border: 1px solid var(--line);
    }
    .cta-band h2 { font-family: var(--serif); margin: 0 0 6px; font-size: 32px; }
    .cta-band p { margin: 0; color: #f0e2e6; }
    .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
    .site-footer {
      margin-top: 20px;
      padding: 48px 0 22px;
      background: #0d070b;
      border-top: 1px solid var(--line-dim);
    }
    .foot-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr 1fr;
      gap: 28px;
    }
    .site-footer h2 { font-size: 16px; margin: 0 0 10px; color: var(--amber-soft); }
    .site-footer p, .site-footer li { color: var(--muted); }
    .site-footer ul { list-style: none; margin: 0; padding: 0; }
    .site-footer li { margin: 6px 0; }
    .site-footer a { color: var(--text); min-height: 44px; display: inline-flex; align-items: center; }
    .legal {
      margin-top: 22px;
      padding-top: 14px;
      border-top: 1px solid var(--line-dim);
      color: var(--muted);
      font-size: 14px;
    }
    @media screen and (max-width: 1023px) {
      :root { --space: 56px; }
      .nav-toggle { display: inline-flex; margin-left: auto; }
      .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 4px 8px; }
      .nav-shell.is-open { flex-wrap: wrap; border-radius: 28px; align-items: stretch; }
      .nav-shell.is-open .site-nav { display: flex; }
      .nav-cta { display: none; }
      .nav-shell.is-open .nav-cta { display: inline-flex; margin: 4px 8px 10px; }
      .task-head-inner, .task-wall, .state-grid, .steps, .pick-row, .foot-grid, .cta-band {
        grid-template-columns: 1fr;
        display: grid;
      }
      .cta-band { display: grid; }
      .step:nth-child(2) { margin-top: 0; }
      .task-card.span-tall { grid-row: auto; }
    }
    @media screen and (max-width: 639px) {
      :root { --space: 44px; }
      .wrap { width: min(1120px, calc(100% - 28px)); }
      .task-head-inner, .card-body, .age-gate, .cta-band { padding: 20px; }
      h1 { font-size: 32px; }
      .brand-name { font-size: 16px; }
      .site-header { top: 8px; padding: 0 8px; }
    }

/* roulang page: category4 */
:root {
  --wine: #7a243c;
  --wine-deep: #4c1226;
  --amber: #e0b15a;
  --amber-deep: #b78432;
  --rose: #c98b98;
  --ink: #11080e;
  --plum: #2a1222;
  --plum-card: #3a1a30;
  --plum-soft: #4a2440;
  --text: #f6efe8;
  --muted: #cbb6b0;
  --line: rgba(224, 177, 90, 0.38);
  --line-soft: rgba(224, 177, 90, 0.18);
  --shadow: 0 18px 40px rgba(48, 12, 24, 0.42);
  --radius: 24px;
  --space: 84px;
  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", "STSong", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: #140910;
  line-height: 1.7;
  min-height: 100vh;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
h1, h2, h3, .brand-name, .logo-foot {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
p { margin: 0 0 0.8rem; }
.wrap, .grid-container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.page-root {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(122, 36, 60, 0.45), transparent 60%),
    linear-gradient(145deg, #12080f 0%, #24101d 48%, #3a1730 100%);
  padding-bottom: 108px;
}
body.is-locked .page-root { filter: blur(7px); pointer-events: none; user-select: none; }
.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  padding: 0 16px;
  margin-bottom: 8px;
}
.nav-shell {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(16, 8, 14, 0.68);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-shell.is-scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(10, 5, 9, 0.92);
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: 0 0 auto; }
.brand-mark, .age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), #f0d7a0);
  color: #2a140c;
  font-size: 12px;
  font-weight: 700;
}
.brand-name, .logo-foot { font-size: 1.05rem; color: #f8e7c8; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-nav a:hover { background: rgba(224, 177, 90, 0.14); color: #fff6e4; }
.site-nav a.is-active {
  background: linear-gradient(180deg, #f0d7a0, var(--amber));
  color: #2a140c;
  box-shadow: inset 0 -2px 0 #8a6424;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 72px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(58, 26, 48, 0.8);
  color: var(--amber);
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); filter: brightness(0.9); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.btn-primary {
  color: #2a140c;
  background: linear-gradient(120deg, #8d2a46 0%, #c45a3a 48%, var(--amber) 100%);
  box-shadow: 0 10px 24px rgba(122, 36, 60, 0.35);
}
.btn-primary:hover { background: linear-gradient(150deg, #9a314e 0%, #d06a3e 42%, #f0d7a0 100%); border-color: #f0d7a0; }
.btn-ghost {
  color: #f8e7c8;
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #f0d7a0; background: rgba(224, 177, 90, 0.1); }
.nav-cta { flex: 0 0 auto; }
.mast {
  position: relative;
  margin: 18px auto 28px;
  width: min(1140px, calc(100% - 32px));
  min-height: 250px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(100deg, rgba(12, 6, 10, 0.88) 0%, rgba(42, 14, 30, 0.55) 58%, rgba(18, 8, 14, 0.28) 100%),
    url("/assets/images/backpic/back-2.jpg") center/cover no-repeat;
}
.mast-inner { padding: 36px 36px 28px; max-width: 680px; }
.eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.chip, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #f8e7c8;
  font-size: 0.82rem;
  background: rgba(18, 8, 14, 0.45);
}
.badge-gold, .chip-gold {
  background: linear-gradient(180deg, #f3d7a2, var(--amber));
  color: #2a140c;
  border-color: transparent;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 0 10px; color: #fff8ee; }
.lede { color: #f0ddd4; font-size: 1.05rem; max-width: 38rem; }
.mast-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.section h2 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 36rem; }
.rail-tools { display: flex; gap: 8px; }
.rail-wrap {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line-soft);
  background: rgba(18, 8, 14, 0.35);
  padding: 18px 12px 12px;
}
.h-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 8px 16px;
  scrollbar-color: var(--amber) transparent;
}
.h-rail::-webkit-scrollbar { height: 8px; }
.h-rail::-webkit-scrollbar-thumb { background: var(--amber-deep); border-radius: 999px; }
.act-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: 24px;
  background: linear-gradient(180deg, #432038, #2a1422);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 32px rgba(28, 8, 16, 0.35);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.act-card.w-lg { flex-basis: 420px; }
.act-card.w-md { flex-basis: 360px; }
.act-card.w-sm { flex-basis: 286px; }
.act-card:hover, .act-card.is-picked {
  transform: translateY(-2px);
  border-color: #f0d7a0;
  box-shadow: 0 18px 36px rgba(88, 28, 42, 0.45);
}
.act-link { display: block; color: inherit; min-height: 44px; }
.act-link figure {
  margin: 0;
  height: 188px;
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 8px, transparent 8px 18px),
    linear-gradient(145deg, var(--wine), #2a1020);
}
.act-link img { width: 100%; height: 188px; object-fit: cover; }
.act-body { padding: 16px 18px 18px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.act-body h3 { margin: 0 0 6px; font-size: 1.35rem; }
.act-body p { color: var(--muted); min-height: 3.2em; }
.meta-line { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.state { font-size: 0.82rem; color: var(--rose); }
.state-on { color: #f0d7a0; }
.state-lock { color: #b9a3a8; }
.reward {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: #2c1526;
  border: 1px solid var(--line);
}
.reward h2 { margin-bottom: 8px; }
.badge-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.badge-cloud .badge { min-height: 40px; padding: 0 14px; font-size: 0.95rem; }
.compare {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}
.panel {
  border-radius: 24px;
  background: rgba(48, 22, 40, 0.86);
  border: 1px solid var(--line-soft);
  padding: 28px;
  box-shadow: var(--shadow);
}
.panel h2 { margin-top: 0; }
.stat-stack { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.stat {
  border-radius: 18px;
  padding: 16px 18px;
  background: #24101c;
  border: 1px solid var(--line-soft);
}
.stat strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: #f8e7c8; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.updates { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.update-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: #341828;
  border: 1px solid var(--line-soft);
}
.update-card img { width: 148px; height: 112px; object-fit: cover; border-radius: 16px; }
.update-card h3 { margin: 4px 0; font-size: 1.15rem; }
.side-note { padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #5a2340, #2a121e); border: 1px solid var(--line); }
.accordion { background: transparent; border: 0; margin: 0; }
.accordion-item { border-bottom: 1px solid var(--line-soft); background: transparent; }
.accordion-title {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 8px;
  color: #fff6ee !important;
  font-size: 1.05rem;
  border: 0;
  background: transparent;
}
.accordion-title:hover, .accordion-title:focus { color: #f0d7a0 !important; background: transparent; }
.accordion-content { background: transparent; color: var(--muted); border: 0; padding: 0 8px 16px; }
.faq-box {
  border-radius: 24px;
  padding: 8px 22px 12px;
  background: rgba(22, 10, 18, 0.55);
  border: 1px solid var(--line-soft);
}
.close-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgba(18, 8, 14, 0.78), rgba(90, 32, 52, 0.55)),
    url("/assets/images/backpic/back-3.jpg") center/cover no-repeat;
  border: 1px solid var(--line);
}
.dock {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(16, 8, 12, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}
.dock p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.dock strong { color: #fff6ee; font-family: var(--serif); font-size: 1.05rem; }
.site-footer {
  background: #0d070b;
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 24px;
  color: var(--muted);
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 28px; }
.site-footer h2 { color: #f8e7c8; font-size: 1.1rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; color: #f0ddd4; }
.site-footer a:hover { color: var(--amber); }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 0.9rem; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    linear-gradient(160deg, rgba(10, 5, 8, 0.92), rgba(58, 18, 36, 0.88)),
    url("/assets/images/backpic/back-1.jpg") center/cover no-repeat;
}
.age-card {
  width: min(520px, 100%);
  border-radius: 28px;
  padding: 28px;
  background: #241018;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.age-card h2 { margin: 10px 0; font-size: 2rem; }
.field { margin: 12px 0; }
.field label { display: block; margin-bottom: 6px; color: #f0ddd4; }
.field input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--amber); }
.check-row { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; }
.field select, .field input[type="text"] {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #140910;
  color: var(--text);
  padding: 0 12px;
}
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.gate-msg { min-height: 1.4em; color: var(--rose); }
body.is-open .age-gate { display: none; }
@media (max-width: 1023px) {
  :root { --space: 56px; }
  .section { padding: 48px 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 22px;
    background: rgba(14, 7, 12, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-cta { display: none; }
  .compare, .updates, .foot-grid { grid-template-columns: 1fr; }
  .mast-inner { padding: 24px; }
}
@media (max-width: 639px) {
  .section { padding: 40px 0; }
  .section-head, .close-band, .dock { flex-direction: column; align-items: stretch; }
  .update-card { grid-template-columns: 1fr; }
  .update-card img { width: 100%; height: 160px; }
  .act-card, .act-card.w-lg, .act-card.w-md, .act-card.w-sm { flex-basis: 82vw; }
  .h-rail { scroll-snap-type: x mandatory; }
  .site-header { top: 8px; }
  .brand-name { font-size: 0.92rem; }
}

/* roulang page: category5 */
:root {
  --wine: #7a2340;
  --wine-deep: #4c1428;
  --amber: #d4a054;
  --amber-bright: #e6c27a;
  --rose: #c9a3a8;
  --ink: #12080e;
  --plum: #2a1422;
  --plum-card: #3a1d2e;
  --plum-soft: #4a2740;
  --text: #f6eee8;
  --muted: #cbb8b0;
  --line: rgba(212, 160, 84, 0.38);
  --radius: 24px;
  --shadow: 0 22px 48px rgba(42, 10, 18, 0.46);
  --space: 84px;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
  --serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  background:
    linear-gradient(148deg, rgba(18, 8, 14, 0.92), rgba(42, 16, 34, 0.88)),
    #12080e;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-bright); text-decoration: none; }
a:hover { color: #fff4d8; }
button, input { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 3px;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--amber);
  color: #2a120c;
  padding: 8px 14px;
  z-index: 90;
  border-radius: 999px;
}
.skip:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 40; padding: 14px 0 0; }
.nav-shell {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 72px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: rgba(22, 10, 16, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: min-height .25s ease, background .25s ease, padding .25s ease;
}
.nav-shell.is-scrolled { min-height: 60px; background: rgba(14, 7, 11, 0.92); padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); min-height: 44px; }
.brand-mark, .age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--wine), var(--amber));
  color: #2a120c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-name, .logo-foot {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #fff8ef;
}
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a {
  color: var(--rose);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 15px;
}
.site-nav a:hover { color: #fff; background: rgba(212, 160, 84, 0.12); }
.site-nav a.is-active {
  color: #2a120c;
  background: linear-gradient(120deg, var(--amber-bright), var(--amber));
  box-shadow: inset 0 -2px 0 rgba(90, 40, 10, 0.25);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 72px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(58, 24, 40, 0.8);
  color: var(--amber-bright);
  cursor: pointer;
}
.nav-cta { margin-left: 8px; white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn-primary {
  color: #2a120c;
  background: linear-gradient(120deg, #7a2340, #c4873a);
  box-shadow: 0 10px 24px rgba(122, 35, 64, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); background: linear-gradient(150deg, #8c2a4a, #d4a054); box-shadow: 0 14px 28px rgba(196, 135, 58, 0.28); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.92); }
.btn-ghost {
  color: #f8ecd8;
  background: transparent;
  border-color: rgba(212, 160, 84, 0.75);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--amber-bright); background: rgba(212, 160, 84, 0.1); }
.btn-ghost:active { filter: brightness(0.92); transform: none; }

.page-main { padding-bottom: 24px; }
body.needs-age .page-main,
body.needs-age .site-footer,
body.needs-age .site-header { filter: blur(8px); pointer-events: none; user-select: none; }

.mast {
  position: relative;
  margin: 18px auto 0;
  width: min(1120px, calc(100% - 24px));
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(115deg, rgba(18, 8, 14, 0.88) 12%, rgba(74, 24, 42, 0.55) 58%, rgba(18, 8, 14, 0.78)),
    repeating-linear-gradient(90deg, rgba(255, 214, 160, 0.05) 0 2px, transparent 2px 18px),
    url("/assets/images/backpic/back-3.jpg") center/cover no-repeat,
    linear-gradient(140deg, #4c1428, #1a0c14);
}
.mast-inner { max-width: 760px; padding: 64px 40px 56px; }
.crumb { display: flex; gap: 8px; color: var(--rose); font-size: 14px; margin-bottom: 18px; }
.crumb a { color: var(--amber-bright); }
.mast h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.25;
  font-weight: 650;
  color: #fff8f2;
}
.cat-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e6c27a;
  color: #3a1a0c;
  font-size: 13px;
  font-weight: 700;
}
.lead { margin: 18px 0 0; color: #f3e4da; font-size: 18px; max-width: 40em; }

.section { padding: var(--space) 0; }
.section h2, .cta-band h2, .site-footer h2 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}
.section h2 { font-size: clamp(28px, 3vw, 40px); }
.kicker { color: var(--amber); font-size: 13px; letter-spacing: 0.14em; margin-bottom: 8px; }

.reading {
  max-width: 780px;
  margin: 0 auto;
}
.reading p { margin: 0 0 18px; color: #f3e7e1; }
.reading h2 { margin-bottom: 22px; }
.reading figure {
  margin: 28px 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--plum-card);
  box-shadow: var(--shadow);
}
.reading img { width: 100%; height: 360px; object-fit: cover; }
.reading figcaption { padding: 12px 18px 16px; color: var(--muted); font-size: 14px; }
.reading blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--amber);
  background: rgba(58, 29, 46, 0.72);
  border-radius: 0 18px 18px 0;
  color: #f8eee6;
}
.subhead { font-family: var(--serif); font-size: 24px; margin: 28px 0 10px; }

.note-grid { display: flex; gap: 22px; align-items: stretch; }
.note-wide, .note-stack article, .legend-card, .step, .faq-wrap, .cta-band, .update-strip {
  background: linear-gradient(180deg, rgba(68, 32, 52, 0.92), rgba(42, 18, 32, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.note-wide { flex: 1.4; padding: 28px; }
.note-stack { flex: 0.85; display: flex; flex-direction: column; gap: 14px; }
.note-stack article { padding: 20px 22px; }
.note-wide h3, .note-stack h3, .legend-card h3, .step h3 { margin: 8px 0; font-family: var(--serif); font-size: 22px; }
.note-wide p, .note-stack p, .legend-card p, .step p { margin: 0; color: var(--muted); }
.note-wide img { width: 100%; height: 210px; object-fit: cover; border-radius: 18px; margin-bottom: 16px; }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px 999px 999px 8px;
  background: #e6c27a;
  color: #3a1a0c;
  font-size: 12px;
  font-weight: 700;
}
.pill.is-muted { background: transparent; color: var(--rose); border: 1px solid rgba(201, 163, 168, 0.55); }

.steps { display: grid; grid-template-columns: 1.15fr 0.9fr 1fr; gap: 18px; }
.step { padding: 24px; position: relative; }
.step strong { display: block; color: var(--amber-bright); font-size: 13px; margin-bottom: 8px; }

.legend { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.legend-card { padding: 26px 28px; }
.legend-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(212, 160, 84, 0.16); }
.legend-row:last-child { border-bottom: 0; }
.legend-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 18px; }

.faq-wrap { padding: 12px 22px 8px; }
.view-faq { margin: 0; background: transparent; border: 0; }
.view-faq .accordion-item { border-bottom: 1px solid rgba(212, 160, 84, 0.18); background: transparent; }
.view-faq .accordion-title {
  color: #fff6ee;
  font-size: 18px;
  font-weight: 650;
  padding: 18px 8px;
  min-height: 44px;
  border: 0;
  background: transparent;
}
.view-faq .accordion-title:hover, .view-faq .accordion-title:focus { color: var(--amber-bright); background: transparent; }
.view-faq .accordion-content { padding: 0 8px 16px; color: var(--muted); border: 0; background: transparent; }
.view-faq .accordion-content p { margin: 0; }

.cta-band {
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background:
    linear-gradient(120deg, rgba(76, 20, 40, 0.92), rgba(42, 16, 28, 0.88)),
    url("/assets/images/backpic/back-1.jpg") center/cover;
}
.cta-band h2 { font-size: 32px; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #f0e0d6; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.update-strip { margin-top: 22px; padding: 22px 26px; }
.update-strip p { margin: 0; color: var(--muted); }

.site-footer {
  margin-top: 28px;
  padding: 48px 0 28px;
  background: #0d070b;
  border-top: 1px solid var(--line);
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr; gap: 28px; }
.site-footer h2 { font-size: 18px; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #f0d7b0; min-height: 44px; display: inline-flex; align-items: center; }
.legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(212, 160, 84, 0.16); color: var(--rose); font-size: 14px; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    linear-gradient(160deg, rgba(12, 6, 10, 0.82), rgba(48, 16, 30, 0.78)),
    url("/assets/images/backpic/back-2.jpg") center/cover;
}
.age-card {
  width: min(520px, 100%);
  padding: 32px 28px;
  border-radius: 28px;
  background: rgba(28, 12, 20, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.age-card h2 { font-family: var(--serif); font-size: 32px; margin: 12px 0; }
.age-card p { color: var(--muted); }
.age-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 18px;
  color: #f6eee8;
}
.age-check input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: #c4873a;
}
.age-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.age-field {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #1a0d14;
  color: var(--text);
  padding: 10px 14px;
}
.age-field:focus { border-color: var(--amber-bright); box-shadow: 0 0 0 3px rgba(230, 194, 122, 0.25); outline: none; }
body.is-adult .age-gate { display: none; }
body.is-denied .age-form { display: none; }
.deny-box { display: none; }
body.is-denied .deny-box { display: block; }

@media (max-width: 1023px) {
  :root { --space: 56px; }
  .site-nav { display: none; }
  .nav-shell.is-open { border-radius: 28px; flex-wrap: wrap; }
  .nav-shell.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 5;
    padding-bottom: 8px;
  }
  .nav-shell.is-open .nav-cta { margin: 0 0 8px 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .note-grid, .steps, .legend, .foot-grid { display: block; }
  .note-stack { margin-top: 14px; }
  .step, .legend-card { margin-bottom: 14px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  :root { --space: 48px; }
  .mast-inner { padding: 42px 22px 36px; }
  .reading img, .note-wide img { height: 220px; }
  .brand-name { font-size: 16px; }
}
@media (max-width: 520px) {
  .wrap, .nav-shell, .mast { width: calc(100% - 16px); }
  .cta-actions, .age-actions { flex-direction: column; }
  .btn, .nav-cta { width: 100%; }
  .nav-shell.is-open .nav-cta { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
