/* roulang page: index */
:root {
  --bg: #100E14;
  --panel: #1A1622;
  --indigo: #241433;
  --persimmon: #C46A3A;
  --persimmon-deep: #9A4E2A;
  --persimmon-line: rgba(196, 106, 58, 0.45);
  --celadon: #6E8B7A;
  --text: #F3EBDD;
  --muted: #B7AA9C;
  --line: rgba(196, 106, 58, 0.28);
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  --radius: 6px;
  --btn-radius: 3px;
  --header: 64px;
  --dock: 64px;
  --space: 28px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--persimmon); }
p { margin: 0 0 0.8em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.35; margin: 0; }
:focus-visible { outline: 2px solid var(--celadon); outline-offset: 2px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.toolbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(16, 14, 20, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.toolbar-inner {
  height: 100%;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 22px; height: 22px; flex: none;
  border: 1px solid var(--persimmon-line);
  background:
    linear-gradient(var(--persimmon), var(--persimmon)) center/12px 1px no-repeat,
    linear-gradient(var(--persimmon), var(--persimmon)) center/1px 12px no-repeat,
    var(--indigo);
  box-shadow: inset 0 0 0 3px rgba(16, 14, 20, 0.65);
}
.logo-text {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tool-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.tool-link {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 12px 10px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tool-link:hover { color: var(--text); }
.tool-link.is-current { color: var(--text); border-bottom-color: var(--persimmon); }
.tool-side { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--celadon); font-size: 13px; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--celadon); box-shadow: 0 0 0 3px rgba(110, 139, 122, 0.18); }
.bell {
  position: relative;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  background: var(--panel);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.bell:hover { border-color: var(--persimmon); color: var(--persimmon); }
.bell:active { filter: brightness(0.92); }
.bell-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px;
  background: var(--persimmon);
  color: var(--text);
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 14px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  background: var(--persimmon);
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
  cursor: pointer;
}
.btn:hover { background: var(--persimmon-deep); color: var(--text); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22); }
.btn:active { filter: brightness(0.9); transform: translateY(1px); box-shadow: none; }
.btn-line { background: transparent; border-color: var(--persimmon-line); box-shadow: none; }
.btn-line:hover { background: rgba(196, 106, 58, 0.12); }
.main { padding-top: var(--header); padding-bottom: calc(var(--dock) + 28px); }
.section { padding: 76px 0; position: relative; }
.section-alt { background: var(--panel); }
.section-ink { background: var(--indigo); }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-title { font-size: 32px; margin-bottom: 12px; }
.section-lead { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; }
.hero { padding: 92px 0 78px; background:
  radial-gradient(900px 280px at 80% 0%, rgba(36, 20, 51, 0.85), transparent 70%),
  var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 42px; align-items: stretch; }
.hero-title { font-size: 52px; letter-spacing: 0.03em; }
.hero-sub { margin: 16px 0 0; font-size: 20px; color: var(--persimmon); font-family: var(--serif); }
.hero-lead { margin-top: 18px; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(243, 235, 221, 0.04);
  padding: 16px;
  position: relative;
  min-height: 100%;
}
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--persimmon-line); pointer-events: none;
}
.hero-frame::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.hero-frame::after { right: 7px; bottom: 7px; border-left: 0; border-top: 0; }
.frame-label { font-family: var(--serif); font-size: 18px; margin-bottom: 12px; }
.weave {
  height: 74px; border-radius: 4px; margin-bottom: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(196,106,58,0.18) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(0deg, rgba(110,139,122,0.18) 0 1px, transparent 1px 10px),
    #16131c;
  border: 1px solid var(--line);
}
.node { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.node time { color: var(--persimmon); font-variant-numeric: tabular-nums; }
.node b { font-weight: 600; }
.node span { color: var(--muted); }
.remind { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.remind label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.remind-row { display: flex; gap: 8px; }
.remind input {
  flex: 1; min-width: 0; height: 36px; padding: 0 10px;
  color: var(--text); background: #120f18; border: 1px solid var(--line); border-radius: var(--btn-radius);
}
.form-note { min-height: 1.4em; margin: 8px 0 0; color: var(--celadon); font-size: 13px; }
.reasons { display: grid; grid-template-columns: 1.35fr 1fr 0.78fr; gap: 16px; align-items: stretch; }
.reason {
  background: #14111a; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 20px; box-shadow: inset 0 0 0 1px rgba(243,235,221,0.03);
  position: relative;
}
.reason:first-child { background: #201828; padding-bottom: 36px; }
.reason:last-child { background: #151820; }
.reason-index { color: var(--persimmon); font-family: var(--serif); font-size: 28px; display: block; margin-bottom: 8px; }
.reason h3 { font-size: 22px; margin-bottom: 10px; }
.reason p { color: var(--muted); margin: 0; line-height: 1.7; }
.meter { margin-top: 16px; height: 4px; background: rgba(243,235,221,0.08); }
.meter i { display: block; height: 100%; background: var(--persimmon); }
.path-layout { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 18px; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 20px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(26,22,34,0.72); }
.step + .step { border-left: 1px solid var(--line); }
.step em { font-style: normal; color: var(--celadon); font-size: 13px; letter-spacing: 0.08em; }
.step h3 { margin: 8px 0; font-size: 22px; }
.step p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.7; }
.preview { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 14px; box-shadow: var(--shadow); }
.preview h3 { font-size: 16px; margin-bottom: 10px; }
.preview li { list-style: none; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.55; }
.preview ul { margin: 0; padding: 0; }
.preview strong { display: block; color: var(--text); font-weight: 600; }
.voice-layout { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 22px; }
.quote { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.quote span { display: block; margin-top: 6px; color: var(--celadon); font-size: 13px; }
.stats { display: flex; flex-direction: column; gap: 12px; }
.stat { background: rgba(16,14,20,0.35); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat b { display: block; font-family: var(--serif); font-size: 34px; color: var(--persimmon); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scroll-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 18px 12px; background: #14111a; }
.scroll-col header { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scroll-col h3 { font-size: 22px; }
.scroll-col header span { color: var(--muted); font-size: 13px; }
.pair { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(196,106,58,0.22); line-height: 1.55; }
.pair b { font-weight: 600; }
.pair span { color: var(--muted); text-align: right; }
.chronicle { position: relative; margin-left: 8px; padding-left: 22px; }
.chronicle::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--persimmon-line); }
.log { position: relative; padding: 0 0 22px; }
.log::before { content: ""; position: absolute; left: -26px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--persimmon); }
.log a { color: var(--text); font-family: var(--serif); font-size: 20px; }
.log a:hover { color: var(--persimmon); }
.log p { color: var(--muted); margin: 6px 0 0; }
.log time { color: var(--celadon); font-size: 13px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: transparent; color: var(--text);
  border: 0; padding: 16px 8px; font-size: 17px; font-family: var(--serif); cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq-q:hover { color: var(--persimmon); }
.faq-q i { font-style: normal; color: var(--persimmon); }
.faq-a { display: none; padding: 0 8px 16px; color: var(--muted); background: #211c2b; }
.faq-item.is-open .faq-a { display: block; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.badge { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #16131c; min-height: 112px; }
.badge b { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.badge span { color: var(--muted); font-size: 14px; line-height: 1.65; display: block; }
.entry-band {
  display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center;
  border: 1px solid var(--persimmon-line); border-radius: var(--radius); padding: 28px;
  background:
    linear-gradient(90deg, rgba(196,106,58,0.08), transparent 40%),
    #1b1424;
}
.entry-band h2 { font-size: 32px; margin-bottom: 10px; }
.entry-band p { color: var(--muted); margin: 0; max-width: 640px; }
.ranks { display: flex; flex-direction: column; gap: 10px; }
.rank {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: #14111a; padding: 12px 14px;
}
.rank:nth-child(1) { width: 100%; padding: 18px 16px; background: #24182a; }
.rank:nth-child(2) { width: 94%; }
.rank:nth-child(3) { width: 88%; }
.rank:nth-child(4) { width: 82%; }
.rank:nth-child(5) { width: 76%; }
.rank-no { font-family: var(--serif); font-size: 28px; color: var(--persimmon); }
.rank a { font-size: 18px; font-family: var(--serif); }
.rank small { color: var(--muted); display: block; font-size: 13px; line-height: 1.55; }
.rank em { font-style: normal; color: var(--celadon); font-size: 13px; white-space: nowrap; }
.ticks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--persimmon-line); }
.tick { padding: 18px 16px 8px; border-left: 1px solid var(--line); min-height: 150px; }
.tick:first-child { border-left: 0; padding-left: 0; }
.tick time { color: var(--persimmon); font-family: var(--serif); font-size: 24px; display: block; }
.tick h3 { font-size: 18px; margin: 8px 0; }
.tick p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.stairs { display: flex; flex-direction: column; gap: 10px; }
.stair { border: 1px solid var(--line); background: #16131d; border-radius: var(--radius); padding: 14px 16px; }
.stair:nth-child(1) { width: 48%; }
.stair:nth-child(2) { width: 64%; }
.stair:nth-child(3) { width: 80%; }
.stair:nth-child(4) { width: 100%; background: #24182a; }
.stair b { font-family: var(--serif); font-size: 20px; display: block; }
.stair span { color: var(--muted); font-size: 14px; line-height: 1.65; }
.editions { display: grid; grid-template-columns: 1.25fr 0.95fr 0.7fr; gap: 14px; }
.edition { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--panel); }
.edition:nth-child(1) { background: #201828; }
.edition:nth-child(3) { background: #14181c; }
.edition h3 { font-size: 22px; margin-bottom: 8px; }
.edition p { color: var(--muted); margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tag {
  border: 1px solid var(--line); color: var(--text); border-radius: 99px; padding: 6px 12px; font-size: 14px; background: rgba(16,14,20,0.25);
}
.tag:hover { border-color: var(--persimmon); color: var(--persimmon); }
.region-list { display: grid; gap: 12px; }
.region-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.region-item h3 { font-size: 20px; }
.region-item p { margin: 0; color: var(--muted); }
.close-band {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px; border-radius: var(--radius); background: #201828; border: 1px solid var(--persimmon-line);
}
.close-band h2 { font-size: 34px; margin-bottom: 8px; }
.close-band p { margin: 0; color: var(--muted); max-width: 640px; }
.footer { background: #0c0a10; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 24px; }
.footer .logo-text { font-size: 20px; }
.footer p, .footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--text); }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.domain { color: var(--celadon); }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  transform: translateY(110%);
  transition: transform 0.22s ease;
  background: rgba(16, 14, 20, 0.96);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock.is-on { transform: translateY(0); }
.dock-inner { width: min(1120px, calc(100% - 28px)); margin: 0 auto; min-height: var(--dock); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock strong { font-family: var(--serif); font-weight: 600; }
@media (max-width: 1200px) {
  .hero-title { font-size: 44px; }
  .rank:nth-child(n) { width: 100%; }
}
@media (max-width: 1024px) {
  .hero-grid, .path-layout, .voice-layout, .reasons, .editions, .footer-grid { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1.2fr 1fr; }
  .reason:last-child { grid-column: 1 / -1; }
  .editions { grid-template-columns: 1fr 1fr; }
  .edition:last-child { grid-column: 1 / -1; }
  .badges, .ticks { grid-template-columns: 1fr 1fr; }
  .tick:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  .logo-text { font-size: 16px; }
  .tool-link { padding: 8px; }
  .compare, .entry-band, .close-band { grid-template-columns: 1fr; }
  .entry-band, .close-band { display: flex; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title, .hero-title, .close-band h2, .entry-band h2 { font-size: 32px; }
  .hero { padding: 64px 0 52px; }
}
@media (max-width: 720px) {
  .toolbar { height: auto; }
  .toolbar-inner { flex-wrap: wrap; padding: 8px 0; height: auto; gap: 8px; }
  .tool-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .tool-side { margin-left: auto; }
  .main { padding-top: 108px; }
  .hero-grid, .path-layout, .voice-layout, .reasons, .editions, .footer-grid, .compare, .step-row, .badges, .ticks { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; }
  .reason:last-child, .edition:last-child { grid-column: auto; }
  .stair, .rank { width: 100% !important; }
  .region-item, .rank, .node { grid-template-columns: 1fr; }
  .remind-row { flex-direction: column; }
  .container { width: min(1120px, calc(100% - 28px)); }
}
@media (max-width: 520px) {
  .hero-title, .section-title { font-size: 28px; }
  .status { display: none; }
  .btn { width: auto; }
  .hero-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dock { transition: none; }
}

/* roulang page: category1 */
:root {
 --bg: #100E14;
 --panel: #1A1622;
 --indigo: #241433;
 --persimmon: #C46A3A;
 --persimmon-deep: #9A4E2A;
 --persimmon-line: rgba(196, 106, 58, 0.45);
 --celadon: #6E8B7A;
 --text: #F3EBDD;
 --muted: #B7AA9C;
 --line: rgba(196, 106, 58, 0.28);
 --shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
 --radius: 6px;
 --btn-radius: 3px;
 --header: 64px;
 --dock: 64px;
 --space: 28px;
 --serif: "Songti SC", "STSong", "Noto Serif SC", SimSun, serif;
 --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
 margin: 0;
 background:
 radial-gradient(900px 240px at 100% 0%, rgba(36, 20, 51, 0.65), transparent 60%),
 var(--bg);
 color: var(--text);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.8;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--persimmon); }
::selection { background: rgba(196, 106, 58, 0.35); color: var(--text); }
:focus-visible { outline: 2px solid var(--celadon); outline-offset: 2px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark {
 width: 22px; height: 22px; flex: none;
 border: 1px solid var(--persimmon-line);
 background:
 linear-gradient(var(--persimmon), var(--persimmon)) center/12px 1px no-repeat,
 linear-gradient(var(--persimmon), var(--persimmon)) center/1px 12px no-repeat,
 var(--indigo);
 box-shadow: inset 0 0 0 3px rgba(16, 14, 20, 0.65);
}
.logo-text {
 font-family: var(--serif);
 font-size: 18px;
 letter-spacing: 0.04em;
 white-space: nowrap;
}
.toolbar {
 position: fixed; top: 0; left: 0; right: 0; z-index: 40;
 height: var(--header);
 background: rgba(16, 14, 20, 0.96);
 border-bottom: 1px solid var(--line);
 box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.toolbar-inner {
 height: 100%;
 width: min(1120px, calc(100% - 40px));
 margin: 0 auto;
 display: flex;
 align-items: center;
 gap: 16px;
}
.tool-nav {
 display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0;
}
.tool-link {
 color: var(--muted);
 font-size: 14px;
 padding: 8px 10px 12px;
 border-bottom: 2px solid transparent;
 white-space: nowrap;
 transition: color 0.18s ease, border-color 0.18s ease;
}
.tool-link:hover { color: var(--text); }
.tool-link.is-current { color: var(--text); border-bottom-color: var(--persimmon); }
.tool-side { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.status { color: var(--celadon); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--celadon); display: inline-block; box-shadow: 0 0 0 3px rgba(110, 139, 122, 0.18); }
.bell {
 position: relative; width: 36px; height: 36px;
 display: inline-flex; align-items: center; justify-content: center;
 color: var(--text); background: #16131c;
 border: 1px solid var(--line); border-radius: var(--btn-radius); cursor: pointer;
}
.bell:hover { color: var(--persimmon); border-color: var(--persimmon-line); }
.bell-count {
 position: absolute; top: -6px; right: -6px;
 min-width: 16px; height: 16px; padding: 0 4px;
 border-radius: 99px; background: var(--persimmon); color: var(--text);
 font-size: 11px; line-height: 16px; text-align: center;
}
.btn {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 36px; padding: 0 14px;
 border-radius: var(--btn-radius);
 border: 1px solid transparent;
 background: var(--persimmon);
 color: var(--text);
 font-size: 14px;
 letter-spacing: 0.04em;
 box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
 transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
 cursor: pointer;
 white-space: nowrap;
}
.btn:hover { background: var(--persimmon-deep); color: var(--text); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22); }
.btn:active { filter: brightness(0.9); transform: translateY(1px); box-shadow: none; }
.btn-line { background: transparent; border-color: var(--persimmon-line); box-shadow: none; }
.btn-line:hover { background: rgba(196, 106, 58, 0.12); }
.main { padding-top: var(--header); padding-bottom: 28px; }
.section { padding: 64px 0; position: relative; }
.section-alt { background: var(--panel); }
.section-ink { background: var(--indigo); }
.section-title {
 margin: 0 0 10px;
 font-family: var(--serif);
 font-size: 32px;
 line-height: 1.35;
 letter-spacing: 0.03em;
 font-weight: 600;
}
.section-lead { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; }
.pagehead { padding: 36px 0 32px; background: linear-gradient(180deg, rgba(36, 20, 51, 0.55), transparent 80%); }
.pagehead-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 28px; align-items: stretch; }
.crumb { margin: 0 0 10px; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--persimmon); }
.pagehead h1 {
 margin: 0;
 font-family: var(--serif);
 font-size: 40px;
 line-height: 1.25;
 letter-spacing: 0.04em;
 font-weight: 600;
}
.pagehead .section-lead { margin-top: 14px; max-width: 640px; }
.head-panel {
 background: #16131c;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow), inset 0 0 0 1px rgba(243, 235, 221, 0.04);
 padding: 16px 16px 8px;
 position: relative;
}
.head-panel::before, .head-panel::after {
 content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--persimmon-line); pointer-events: none;
}
.head-panel::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.head-panel::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
.head-panel h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 18px; }
.state-row {
 display: flex; justify-content: space-between; gap: 12px;
 padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px;
}
.state-row span { color: var(--muted); }
.state-row b { font-weight: 500; color: var(--text); }
.sheet-grid { columns: 2; column-gap: 18px; }
.sheet {
 break-inside: avoid;
 margin: 0 0 18px;
 background: #16131c;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 16px 14px;
 position: relative;
 display: flex; flex-direction: column; gap: 8px;
 transition: border-color 0.18s ease, transform 0.18s ease;
}
.sheet:hover { border-color: var(--persimmon-line); transform: translateY(-2px); }
.sheet::before {
 content: ""; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px;
 border-top: 1px solid var(--persimmon-line); border-right: 1px solid var(--persimmon-line);
}
.sheet-tall { min-height: 248px; }
.sheet-mid { min-height: 210px; }
.sheet-short { min-height: 176px; }
.sheet-kicker { color: var(--persimmon); font-size: 13px; letter-spacing: 0.08em; }
.sheet h3 { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.4; font-weight: 600; }
.sheet h3 a { color: var(--text); }
.sheet h3 a:hover { color: var(--persimmon); }
.sheet p { margin: 0; color: var(--muted); line-height: 1.7; }
.sheet-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.mark {
 display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px;
 border: 1px solid var(--line); border-radius: 99px; color: var(--text); font-size: 12px;
 background: rgba(16, 14, 20, 0.35);
}
.mark-hot { color: var(--persimmon); border-color: var(--persimmon-line); }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.time { color: var(--celadon); font-size: 13px; }
.more-band { padding: 0 0 56px; background: var(--bg); }
.more-row {
 display: flex; justify-content: space-between; align-items: center; gap: 18px;
 padding: 18px 18px;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 background:
 repeating-linear-gradient(135deg, rgba(196, 106, 58, 0.07) 0 1px, transparent 1px 12px),
 #16131c;
}
.more-row h2 { margin: 0 0 4px; font-family: var(--serif); font-size: 24px; }
.more-row p { margin: 0; color: var(--muted); }
.filter-board { display: grid; gap: 16px; }
.filter-line { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: start; }
.filter-line b { font-family: var(--serif); font-size: 18px; padding-top: 6px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 min-height: 34px; padding: 0 12px;
 color: var(--muted); background: #120f18;
 border: 1px solid var(--line); border-radius: var(--btn-radius);
 cursor: pointer; font-size: 14px;
 transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.chip:hover { color: var(--text); border-color: var(--persimmon-line); }
.chip.is-on { color: var(--text); border-color: var(--persimmon); box-shadow: inset 0 -2px 0 var(--persimmon); background: rgba(196, 106, 58, 0.1); }
.chip:active { filter: brightness(0.92); }
.time-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 8px; }
.tick {
 position: relative; padding: 18px 14px 8px;
 border-top: 2px solid var(--persimmon-line); min-height: 132px;
}
.tick::before {
 content: ""; position: absolute; left: 0; top: -6px;
 width: 10px; height: 10px; border-radius: 50%; background: var(--persimmon);
 box-shadow: 0 0 0 4px rgba(196, 106, 58, 0.15);
}
.tick time { display: block; color: var(--persimmon); font-family: var(--serif); font-size: 20px; line-height: 1.4; }
.tick strong { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; }
.tick span { display: block; color: var(--muted); font-size: 14px; line-height: 1.65; }
.legend-board { display: grid; grid-template-columns: 1.3fr 0.9fr 0.8fr; gap: 14px; align-items: stretch; }
.legend {
 background: #16131c; border: 1px solid var(--line); border-radius: var(--radius);
 padding: 18px; box-shadow: var(--shadow);
}
.legend h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; }
.legend p { margin: 0; color: var(--muted); }
.legend ul { margin: 12px 0 0; padding: 0; list-style: none; }
.legend li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.legend li span { color: var(--muted); }
.rank-list { display: grid; gap: 10px; max-width: 760px; }
.rank {
 display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
 padding: 12px 14px; background: #16131c; border: 1px solid var(--line); border-radius: var(--radius);
}
.rank:nth-child(1) { padding-top: 16px; padding-bottom: 16px; }
.rank:nth-child(1), .rank:nth-child(2) { margin-right: 0; }
.rank:nth-child(n+3) { margin-right: 48px; }
.rank i { font-style: normal; font-family: var(--serif); font-size: 28px; color: var(--persimmon); line-height: 1; }
.rank a { font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.rank em { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; }
.faq-wrap { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 18px; align-items: start; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
 width: 100%; text-align: left; background: transparent; color: var(--text);
 border: 0; padding: 16px 8px; font-size: 17px; font-family: var(--serif); cursor: pointer;
 display: flex; justify-content: space-between; gap: 16px;
}
.faq-q:hover { color: var(--persimmon); }
.faq-q i { font-style: normal; color: var(--persimmon); }
.faq-a { display: none; padding: 0 8px 16px; color: var(--muted); background: #211c2b; line-height: 1.75; }
.faq-item.is-open .faq-a { display: block; }
.badge { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #16131c; min-height: 148px; }
.badge b { display: block; font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.badge span { color: var(--muted); font-size: 14px; line-height: 1.7; display: block; }
.footer { background: #0c0a10; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr; gap: 24px; }
.footer p { color: var(--muted); margin: 10px 0 0; line-height: 1.75; }
.domain { color: var(--persimmon); letter-spacing: 0.04em; }
.foot-links { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.foot-links a { color: var(--text); }
.foot-links a:hover { color: var(--persimmon); }
.dock {
 position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
 height: var(--dock);
 background: rgba(16, 14, 20, 0.96);
 border-top: 1px solid var(--line);
 transform: translateY(110%);
 transition: transform 0.22s ease;
}
.dock.is-on { transform: translateY(0); }
.dock-inner {
 height: 100%; width: min(1120px, calc(100% - 40px)); margin: 0 auto;
 display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.dock strong { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }
@media (max-width: 1200px) {
 .pagehead h1 { font-size: 36px; }
 .section-title { font-size: 28px; }
 .rank:nth-child(n+3) { margin-right: 0; }
}
@media (max-width: 1024px) {
 .legend-board, .faq-wrap, .footer-grid { grid-template-columns: 1fr 1fr; }
 .legend:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
 .pagehead-grid, .faq-wrap, .footer-grid, .legend-board { grid-template-columns: 1fr; }
 .time-rail { grid-template-columns: repeat(3, 1fr); }
 .tick:nth-child(4), .tick:nth-child(5) { border-bottom: 0; }
 .tool-nav { overflow-x: auto; scrollbar-width: none; }
 .tool-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 768px) {
 .sheet-grid { columns: 1; }
 .time-rail { grid-template-columns: 1fr 1fr; }
 .filter-line { grid-template-columns: 1fr; gap: 6px; }
 .more-row, .sheet-foot, .rank { align-items: flex-start; }
 .rank { grid-template-columns: 40px 1fr; }
 .rank em { grid-column: 2; }
}
@media (max-width: 720px) {
 .container, .toolbar-inner, .dock-inner { width: calc(100% - 24px); }
 .toolbar { height: var(--header); }
 .logo-text { font-size: 15px; letter-spacing: 0; }
 .bell { display: none; }
 .status { font-size: 12px; }
 .pagehead { padding: 24px 0; }
 .pagehead h1, .section-title { font-size: 28px; }
 .section { padding: 48px 0; }
 .more-band { padding-bottom: 40px; }
 .more-row { flex-direction: column; align-items: flex-start; }
 .time-rail { grid-template-columns: 1fr; }
 .tick { min-height: 0; }
 .main { padding-bottom: calc(var(--dock) + 12px); }
 .footer { padding-bottom: calc(var(--dock) + 20px); }
}
@media (max-width: 520px) {
 .btn { min-height: 34px; padding: 0 10px; }
 .tool-link { padding: 8px 8px 12px; font-size: 13px; }
 .pagehead h1 { font-size: 26px; }
 .sheet h3 { font-size: 20px; }
}
