/* roulang page: index */
:root {
  --paper: #F4EFE8;
  --sand: #F7EFE6;
  --ink: #161311;
  --card: #FFFCF8;
  --wine: #9E2D3A;
  --wine-deep: #7E2430;
  --apricot: #E7B089;
  --line: #E4DCD2;
  --muted: #6F645C;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(22, 19, 17, .06);
  --ease: 180ms ease;
  --header-h: 74px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a { color: var(--ink); text-decoration: none; }
p { margin: 0 0 12px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(158, 45, 58, .16); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-sand { background: var(--sand); }
.lead { max-width: 640px; color: var(--ink); font-size: 16px; }
.muted { color: var(--muted); }
.num, .age-badge, .stat-value, .day-num {
  font-family: "Sarasa Mono SC", "SFMono-Regular", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0 8px;
  transition: padding var(--ease), background var(--ease);
}
.site-header.is-stuck {
  padding-top: 8px;
  background: rgba(244, 239, 232, .92);
  backdrop-filter: blur(12px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 12px 10px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: min-height var(--ease);
}
.is-stuck .nav-shell { min-height: 56px; }
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a, .age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(22, 19, 17, .04); }
.nav-links a.is-active { color: var(--wine); background: rgba(158, 45, 58, .08); }
.age-badge {
  min-width: 52px;
  padding: 0 12px;
  background: var(--wine);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
  content: "";
}
.nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.board-grid, .split, .compare, .assure-grid, .quick-grid, .quote-grid, .closer {
  display: grid;
  gap: 22px;
}
.board-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; }
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(231, 176, 137, .38);
  color: var(--muted);
  font-size: 13px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-primary { background: var(--wine); border-color: var(--wine); color: #fff !important; }
.btn-primary:hover, .btn-primary:focus { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff !important; }
.btn-ghost { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.btn-ghost:hover { border-color: var(--wine); color: var(--wine) !important; }
.btn:active { transform: translateY(1px); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-pill {
  padding: 18px 16px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-value { color: var(--wine); font-size: 40px; font-weight: 700; line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.matrix { display: grid; grid-template-columns: 1.35fr .9fr; grid-template-rows: auto auto; gap: 16px; }
.card, .matrix-card, .news-item, .assure-item, .qa, .faq-item, .scene-card, .quote-card, .coop-card, .form-card, .channel-card, .closer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.matrix-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px;
  transition: transform var(--ease), border-color var(--ease);
}
.matrix-main { grid-row: 1 / span 2; min-height: 376px; background: #201714; color: #F4EFE8; border-color: #201714; }
.matrix-main p, .matrix-main .mini-list { color: rgba(244, 239, 232, .82); }
.matrix-card:hover { transform: translateY(-2px); }
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(231, 176, 137, .35);
  color: #6d4c38;
  font-size: 12px;
}
.matrix-main .tag { background: rgba(231, 176, 137, .2); color: var(--apricot); }
.mini-list { margin-top: 16px; }
.mini-list li { padding: 7px 0; border-top: 1px solid rgba(244, 239, 232, .14); }
.text-link { color: var(--wine); font-weight: 700; }
.matrix-main .text-link { color: #fff; }
.compare { grid-template-columns: 1fr 1fr; }
.compare-col { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare-col h3 { font-size: 22px; }
.bar-row { margin-top: 14px; }
.bar-row span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.track { height: 8px; border-radius: 999px; background: #EFE7DE; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: inherit; background: #C8B8AA; }
.compare-col.is-on { border-color: rgba(158, 45, 58, .35); }
.compare-col.is-on .track i { background: var(--wine); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding-top: 48px; }
.tl-item::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--wine);
  border-radius: 50%;
  background: var(--paper);
}
.tl-date { color: var(--wine); font-weight: 700; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  transition: transform var(--ease);
}
.news-item:hover { transform: translateY(-2px); }
.thumb { height: 96px; border-radius: 12px; overflow: hidden; }
.news-item h3 { margin-bottom: 4px; font-size: 18px; }
.news-item p { margin: 0; color: var(--muted); }
.more-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.assure-grid { grid-template-columns: repeat(4, 1fr); }
.assure-item { padding: 20px; }
.icon-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(158, 45, 58, .08);
  color: var(--wine);
}
.assure-item p { margin: 0; color: var(--muted); }
.quick-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
.qa, .faq-item { padding: 0; overflow: hidden; }
.qa summary, .faq-item summary {
  min-height: 64px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.qa summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.qa summary::after, .faq-item summary::after {
  content: "+";
  float: right;
  color: var(--wine);
  font-weight: 700;
}
details[open] summary::after { content: "–"; }
.qa p, .faq-item p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.form-card { padding: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wine); }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 16px;
}
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--wine); }
.form-tip { color: var(--wine); font-weight: 700; }
.form-ok {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(158, 45, 58, .08);
}
.scene-grid { display: grid; grid-template-columns: 1.1fr .86fr 1fr; gap: 16px; align-items: start; }
.scene-card { overflow: hidden; transition: transform var(--ease); }
.scene-card:hover { transform: translateY(-2px); }
.scene-art { border-radius: 0; }
.scene-card:nth-child(1) .scene-art { height: 230px; }
.scene-card:nth-child(2) .scene-art { height: 150px; }
.scene-card:nth-child(3) .scene-art { height: 270px; }
.scene-card div.copy { padding: 16px 16px 18px; }
.scene-card p { margin: 0 0 10px; color: var(--muted); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day {
  min-height: 118px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.day.is-live { border-color: rgba(158, 45, 58, .45); }
.day-num { color: var(--wine); font-size: 22px; font-weight: 700; }
.day strong { display: block; margin: 6px 0; }
.day span { color: var(--muted); font-size: 13px; }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 18px; border-left: 3px solid var(--wine); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }
.step em { display: block; color: var(--wine); font-style: normal; font-weight: 700; }
.quote-grid { grid-template-columns: 1fr 1fr; }
.quote-card { padding: 22px; }
.quote-card p { font-size: 18px; }
.quote-card span { color: var(--muted); }
.channel-card, .coop-card, .closer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}
.channel-card { align-items: flex-end; }
.site-footer { padding: 42px 0 28px; background: #201714; color: rgba(244, 239, 232, .86); }
.site-footer a { color: #fff; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 18px; }
.foot-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot-links a { min-height: 36px; display: inline-flex; align-items: center; }
.copyright { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(244, 239, 232, .12); color: rgba(244, 239, 232, .68); font-size: 13px; }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-shell { position: relative; }
  .site-header { position: sticky; }
  .nav-links.is-open { display: flex; }
  .nav-links a, .age-badge { width: 100%; }
  .board-grid, .matrix, .compare, .assure-grid, .quick-grid, .scene-grid, .quote-grid, .path-grid { grid-template-columns: 1fr 1fr; }
  .matrix-main { grid-row: auto; min-height: 240px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .scene-card:nth-child(3) { grid-column: 1 / -1; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .news-item { grid-template-columns: 120px minmax(0, 1fr); }
  .news-item .btn { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .container { width: min(1120px, calc(100% - 28px)); }
  .section { padding: 48px 0; }
  .logo { font-size: 14px; white-space: normal; max-width: calc(100% - 58px); }
  .board-grid, .matrix, .compare, .assure-grid, .quick-grid, .scene-grid, .quote-grid, .path-grid, .timeline, .week, .stat-grid { grid-template-columns: 1fr; }
  .scene-card:nth-child(3) { grid-column: auto; }
  .news-item { grid-template-columns: 1fr; }
  .channel-card, .coop-card, .closer-card { flex-direction: column; align-items: flex-start; }
  .timeline { display: flex; flex-direction: column; }
  h1 { font-size: 34px; }
  .stat-value { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .matrix-card:hover, .news-item:hover, .scene-card:hover, .btn:active { transform: none; }
}

/* roulang page: category1 */
:root {
 --paper: #F4EFE8;
 --sand: #F7EFE6;
 --ink: #161311;
 --card: #FFFCF8;
 --wine: #9E2D3A;
 --wine-deep: #7E2430;
 --apricot: #E7B089;
 --line: #E4DCD2;
 --muted: #6F645C;
 --radius: 16px;
 --shadow: 0 8px 24px rgba(22, 19, 17, .06);
 --ease: 180ms ease;
 --header-h: 74px;
}
/* roulang page: hotel-scene */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--ink);
 font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; color: var(--ink); }
a { color: var(--ink); text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-sand { background: var(--sand); }
.muted { color: var(--muted); }
.num, .age-badge, .stamp, .day-num {
 font-family: "Sarasa Mono SC", "SFMono-Regular", ui-monospace, monospace;
 font-variant-numeric: tabular-nums;
}
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 padding: 18px 0 8px;
 transition: padding var(--ease), background var(--ease);
}
.site-header.is-stuck {
 padding-top: 8px;
 background: rgba(244, 239, 232, .92);
 backdrop-filter: blur(12px);
}
.nav-shell {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 min-height: 72px;
 padding: 10px 12px 10px 22px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: 999px;
 box-shadow: var(--shadow);
 transition: min-height var(--ease);
}
.is-stuck .nav-shell { min-height: 56px; }
.logo {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 color: var(--ink);
 font-size: 16px;
 font-weight: 700;
 line-height: 1.3;
 white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a, .age-badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 14px;
 border-radius: 999px;
 color: var(--ink);
 transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(22, 19, 17, .04); }
.nav-links a.is-active { color: var(--wine); background: rgba(158, 45, 58, .08); }
.age-badge {
 min-width: 52px;
 padding: 0 12px;
 background: var(--wine);
 color: #fff;
 font-size: 13px;
 font-weight: 700;
}
.nav-toggle {
 display: none;
 width: 44px;
 height: 44px;
 border: 1px solid var(--line);
 border-radius: 999px;
 background: var(--card);
 cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
 display: block;
 width: 16px;
 height: 1.5px;
 margin: 0 auto;
 background: var(--ink);
 position: relative;
 content: "";
}
.nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border: 1px solid transparent;
 border-radius: 999px;
 background: transparent;
 color: var(--ink);
 font-size: 15px;
 font-weight: 700;
 line-height: 1;
 cursor: pointer;
 text-decoration: none;
 transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-primary { background: var(--wine); border-color: var(--wine); color: #fff !important; }
.btn-primary:hover, .btn-primary:focus { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff !important; }
.btn-ghost { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.btn-ghost:hover { border-color: var(--wine); color: var(--wine) !important; }
.btn:active { transform: translateY(1px); }
.tag {
 display: inline-flex;
 align-items: center;
 width: fit-content;
 min-height: 26px;
 margin-bottom: 8px;
 padding: 0 10px;
 border-radius: 999px;
 background: rgba(231, 176, 137, .35);
 color: #6d4c38;
 font-size: 12px;
}
.text-link { color: var(--wine); font-weight: 700; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
 outline: 2px solid var(--wine);
 outline-offset: 2px;
}
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--ink); border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--wine); }
.crumb .now { color: var(--wine); }
.head-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr); gap: 28px; align-items: end; }
.page-kicker { color: var(--wine); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
h1 { margin-top: 8px; font-size: 46px; line-height: 1.2; }
.scope { margin-top: 14px; max-width: 640px; font-size: 17px; }
.head-note {
 padding: 18px 18px 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.head-note strong { display: block; margin-bottom: 4px; font-size: 28px; color: var(--wine); }
.filter-card, .archive-card, .feature-card, .log-card, .qa-mini, .end-card, .group-title {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.filter-card { padding: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 13px; color: var(--muted); }
.field select {
 min-height: 44px;
 width: 100%;
 margin: 0;
 padding: 0 14px;
 border: 1px solid var(--line);
 border-radius: 999px;
 background: #fff;
 box-shadow: none;
 appearance: none;
}
.field select:hover { border-color: var(--apricot); }
.sec-label { margin-bottom: 18px; font-size: 28px; }
.sec-label small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 400; }
.group-block { margin-top: 22px; }
.group-block:first-child { margin-top: 0; }
.group-title {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 align-items: baseline;
 margin-bottom: 12px;
 padding: 14px 18px;
 background: transparent;
 box-shadow: none;
 border-style: dashed;
}
.group-title h2 { font-size: 22px; }
.archive-list { display: flex; flex-direction: column; gap: 12px; }
.archive-card {
 display: grid;
 grid-template-columns: 168px minmax(0, 1fr) auto;
 gap: 16px;
 align-items: center;
 padding: 12px;
 transition: transform var(--ease), border-color var(--ease);
}
.archive-card:hover { transform: translateY(-2px); border-color: rgba(158, 45, 58, .35); }
.archive-card h3 { font-size: 20px; }
.archive-card p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.still {
 width: 100%;
 height: 112px;
 border-radius: 12px;
 overflow: hidden;
 background: #201714;
}
.still svg { width: 100%; height: 100%; }
.feature-card {
 display: grid;
 grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
 overflow: hidden;
}
.feature-still { min-height: 280px; background: #201714; }
.feature-still svg { width: 100%; height: 100%; }
.feature-copy { padding: 28px 28px 24px; display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { font-size: 32px; }
.feature-copy p { margin-top: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 0 16px;
 border: 1px solid var(--line);
 border-radius: 999px;
 background: var(--card);
 box-shadow: var(--shadow);
 transition: border-color var(--ease), color var(--ease), transform var(--ease);
}
.chip:hover { color: var(--wine); border-color: var(--wine); transform: translateY(-2px); }
.log-list { display: flex; flex-direction: column; gap: 10px; }
.log-card {
 display: grid;
 grid-template-columns: 168px 1fr;
 gap: 16px;
 align-items: center;
 padding: 16px 18px;
}
.log-card .stamp { color: var(--wine); font-weight: 700; }
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qa-mini { padding: 0 16px; }
.qa-mini summary {
 min-height: 64px;
 display: flex;
 align-items: center;
 cursor: pointer;
 font-weight: 700;
 list-style: none;
}
.qa-mini summary::-webkit-details-marker { display: none; }
.qa-mini p { padding: 0 0 14px; color: var(--muted); font-size: 14px; }
.end-card {
 display: flex;
 justify-content: space-between;
 gap: 18px;
 align-items: center;
 padding: 28px;
}
.end-card h2 { font-size: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-note { display: none; margin-top: 12px; color: var(--muted); }
.empty-note.show { display: block; }
.site-footer { padding: 56px 0 28px; background: #201714; color: #F4EFE8; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer p { color: rgba(244, 239, 232, .78); }
.site-footer h3 { margin-bottom: 10px; font-size: 16px; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a { color: #F4EFE8; min-height: 32px; }
.foot-links a:hover { color: var(--apricot); }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(244, 239, 232, .14); color: rgba(244, 239, 232, .62); font-size: 13px; }
@media (max-width: 1024px) {
 .section { padding: 64px 0; }
 h1 { font-size: 36px; }
 .head-row, .feature-card, .qa-grid { grid-template-columns: 1fr 1fr; }
 .feature-card { grid-template-columns: 1fr; }
 .qa-grid { grid-template-columns: 1fr 1fr; }
 .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .nav-links {
 display: none;
 position: absolute;
 left: 0;
 right: 0;
 top: calc(100% + 8px);
 flex-direction: column;
 align-items: stretch;
 padding: 10px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: 16px;
 box-shadow: var(--shadow);
 }
 .nav-links.is-open { display: flex; }
 .nav-links a, .age-badge { justify-content: flex-start; }
}
@media (max-width: 640px) {
 .container { width: min(1120px, calc(100% - 28px)); }
 .section { padding: 48px 0; }
 h1, .end-card h2, .feature-copy h2 { font-size: 30px; }
 .head-row, .archive-card, .log-card, .qa-grid, .end-card { grid-template-columns: 1fr; }
 .end-card { align-items: flex-start; }
 .still { height: 148px; }
 .archive-card .btn, .end-card .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; animation: none !important; }
}
