/* roulang page: index */
:root {
  --ink: #2C1833;
  --table: #171018;
  --paper: #F6F1E8;
  --paper-2: #EFE6D8;
  --matcha: #6E8F74;
  --matcha-deep: #4F6D56;
  --persimmon: #E86A3C;
  --persimmon-deep: #C4512A;
  --line: #3A2A40;
  --muted: #5E5362;
  --rare: #8E4B7A;
  --white: #FFFDF8;
  --shadow: 0 8px 0 #2C1833;
  --shadow-lift: 0 14px 28px rgba(44, 24, 51, .18);
  --radius: 18px;
  --radius-frame: 12px;
  --pill: 999px;
  --sidebar: 232px;
  --max: 1120px;
  --pad: 72px;
  --text: 17px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: var(--text);
  line-height: 1.85;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
p { margin-bottom: .85em; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; }
h1 { font-size: 38px; letter-spacing: .01em; }
h2 { font-size: 28px; margin-bottom: 1.15em; }
h3 { font-size: 21px; margin-bottom: .7em; }
a { color: var(--persimmon-deep); text-underline-offset: 3px; }
a:hover { color: var(--persimmon); }
:focus-visible { outline: 2px solid var(--persimmon); outline-offset: 2px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.app { min-height: 100vh; }
.shell {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: var(--ink);
  color: var(--paper);
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 28px;
  border-right: 1px solid var(--line);
  overflow: auto;
}
.logo {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--paper);
  margin-bottom: 22px;
}
.logo-bead {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 36px;
  background: radial-gradient(circle at 35% 35%, #F6C7B4, var(--persimmon) 42%, var(--ink) 43%, var(--ink) 58%, var(--rare) 59%);
  box-shadow: 0 0 0 2px var(--paper);
}
.logo-text { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--paper); }
.nav-label {
  margin: 18px 8px 8px;
  font-size: 12px;
  letter-spacing: .14em;
  color: #CDBFCB;
}
.nav-item {
  display: block;
  text-decoration: none;
  color: var(--paper);
  border-radius: 12px;
  padding: 10px 12px 10px 14px;
  margin-bottom: 6px;
  border-left: 3px solid transparent;
  line-height: 1.45;
}
.nav-item:hover { background: rgba(246, 241, 232, .08); color: var(--white); }
.nav-item.is-active, .nav-item[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  border-left-color: var(--persimmon);
  font-weight: 700;
}
.topbar { display: none; }
.mask { display: none; }
.main-wrap { margin-left: var(--sidebar); min-width: 0; }
.section { padding: var(--pad) 0; }
.section-table { background: var(--table); color: var(--paper); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-paper a { color: var(--persimmon-deep); }
.lead { max-width: 68ch; color: inherit; }
.section-table .lead, .section-ink .lead { color: #E7D9C8; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: rgba(232, 106, 60, .14);
  color: var(--persimmon);
  font-size: 13px;
  margin-bottom: 14px;
}
.hero {
  background-color: var(--table);
  background-image:
    linear-gradient(rgba(58, 42, 64, .85) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 42, 64, .85) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}
.hero h1 { margin-bottom: .55em; }
.sub { font-size: 18px; color: #F0D2C4; margin-bottom: 1em; }
.hero .lead { color: #E7D9C8; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
  font-weight: 700;
}
.btn-primary { background: var(--persimmon); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--persimmon-deep); color: var(--white); box-shadow: var(--shadow), var(--shadow-lift); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--matcha); border-color: var(--matcha); }
.section-table .btn-ghost, .section-ink .btn-ghost, .hero .btn-ghost { color: #D7E6D4; border-color: var(--matcha); }
.btn-ghost:hover { background: rgba(110, 143, 116, .16); transform: translateY(-2px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.beads { display: inline-flex; gap: 6px; }
.beads i, .bead {
  width: 12px; height: 12px; border-radius: 50%; display: inline-block;
  background: transparent; border: 2px solid var(--persimmon); box-sizing: border-box;
}
.beads i:nth-child(1), .bead.on { background: var(--persimmon); }
.card, .banner, .score, .scene, .note-main, .region, .faq details, .log li, .form-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 14px 14px 16px; position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow), var(--shadow-lift); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cost {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border-radius: var(--pill); background: var(--ink); color: var(--paper); font-size: 12px;
}
.frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-frame);
  border: 1px solid var(--line); overflow: hidden; margin-bottom: 12px;
}
.frame span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.f-night { background: linear-gradient(145deg, #2C1833, #6E3B4A 55%, #E86A3C); }
.f-day { background: linear-gradient(160deg, #6E8F74, #E7D7C3 60%, #F6F1E8); }
.f-city { background: linear-gradient(150deg, #171018, #3A2A40 40%, #8E4B7A 78%, #E86A3C); }
.f-soft { background: linear-gradient(180deg, #F6F1E8, #E7C3B2 50%, #8E4B7A); }
.f-lamp { background: linear-gradient(135deg, #2C1833 10%, #E86A3C 70%, #F6F1E8); }
.card h3 { font-size: 20px; }
.card p, .region p, .scene p { color: var(--muted); margin-bottom: .4em; }
.action-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.action-row a { font-weight: 700; text-decoration: none; }
.matrix { display: grid; grid-template-columns: 1.35fr .75fr; gap: 22px; align-items: stretch; }
.banner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; padding: 16px; }
.banner .frame { margin: 0; min-height: 220px; }
.stack { position: relative; min-height: 420px; }
.stack .card { position: absolute; width: 92%; }
.stack .c1 { top: 0; left: 0; z-index: 1; }
.stack .c2 { top: 168px; left: 28px; z-index: 2; border-color: var(--rare); }
.region-grid, .scene-grid, .list-grid { display: grid; gap: 18px; }
.region-grid { grid-template-columns: 1fr 1fr; }
.region { padding: 16px; }
.badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: var(--pill); border: 1px solid var(--line); background: var(--white);
  color: var(--ink); font-size: 13px; font-weight: 700;
}
.badge-rare { border-color: var(--rare); color: var(--rare); }
.badge-matcha { border-color: var(--matcha); color: var(--matcha-deep); }
.spec-list { list-style: none; padding: 0; margin: 12px 0; }
.spec-list li { padding: 7px 0 7px 16px; position: relative; color: var(--ink); }
.spec-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--persimmon); position: absolute; left: 0; top: 16px; }
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.score { padding: 18px 16px 16px; text-align: left; }
.score b { display: block; font-size: 40px; line-height: 1; color: var(--persimmon); margin: 8px 0; }
.score span { font-weight: 700; }
.score p { color: var(--muted); margin: 6px 0 0; }
.spec-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec-row li { background: rgba(246, 241, 232, .08); border: 1px solid #5A445F; border-radius: var(--radius); padding: 16px; }
.spec-row strong { display: block; margin: 10px 0 6px; font-size: 20px; }
.spec-row p { color: #E7D9C8; margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; box-shadow: var(--shadow); }
.step-no {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--persimmon); color: white; font-weight: 700; margin-bottom: 10px;
}
.scene-grid { grid-template-columns: 1.2fr .9fr .9fr; }
.scene { padding: 16px; }
.wall { display: grid; grid-template-columns: 1.25fr .9fr .9fr; grid-auto-rows: auto; gap: 16px; }
.w1 { grid-column: 1 / 3; }
.w2 { grid-column: 3; grid-row: 1 / 3; }
.w3 { grid-column: 1; grid-row: 2 / 4; }
.w4 { grid-column: 2; grid-row: 2; }
.w5 { grid-column: 2 / 4; grid-row: 3; }
.w2 .frame, .w3 .frame { aspect-ratio: 3 / 4; }
.list-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
.note-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.note-list a.item {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px; text-decoration: none; color: var(--paper);
  background: rgba(246, 241, 232, .06); border: 1px solid #5A445F; border-radius: 14px; padding: 12px;
}
.note-list a.item:hover { border-color: var(--persimmon); transform: translateY(-2px); }
.note-list time { color: #F0D2C4; font-size: 14px; }
.more { margin-top: 14px; }
.note-main { padding: 16px; }
.channel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; }
.types { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.marquee { overflow-x: auto; display: flex; gap: 10px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.marquee .badge { scroll-snap-align: start; flex: 0 0 auto; background: transparent; color: var(--paper); border-color: #D7E6D4; }
.faq details { padding: 0 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--persimmon); }
.faq details[open] summary::after { content: "－"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.assure article { border: 1px solid #5A445F; border-radius: 14px; padding: 14px 16px; background: rgba(246,241,232,.05); }
.assure strong { display: block; margin-bottom: 4px; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.log li { margin: 0 0 0 18px; padding: 8px 16px 16px; border-radius: 0 16px 16px 0; box-shadow: none; border-left: 3px solid var(--persimmon); position: relative; background: transparent; }
.log li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--persimmon); position: absolute; left: -9px; top: 18px; box-shadow: 0 0 0 4px var(--paper); }
.section-paper .log li { background: transparent; }
.log time { color: var(--persimmon-deep); font-size: 14px; font-weight: 700; }
.cta { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.form-card { padding: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 12px;
  padding: 10px 12px; min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--persimmon); box-shadow: 0 0 0 3px rgba(232,106,60,.2); }
.hint { min-height: 1.2em; color: var(--persimmon-deep); font-size: 13px; }
.ok {
  display: none; margin-top: 12px; background: rgba(110,143,116,.16); color: var(--matcha-deep);
  border: 1px solid var(--matcha); border-radius: 12px; padding: 10px 12px;
}
.ok.show { display: block; }
.site-footer { background: var(--ink); color: #E7D9C8; padding: 36px 0 28px; }
.foot-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { color: var(--paper); font-weight: 700; font-size: 18px; text-decoration: none; display: inline-block; margin-bottom: 8px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--paper); text-decoration: none; }
.foot-links a:hover { color: var(--persimmon); }
.copy { margin-top: 18px; color: #CDBFCB; font-size: 14px; }
@media (max-width: 1024px) {
  :root { --pad: 56px; }
  .shell {
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: var(--shadow-lift);
  }
  .shell.is-open { transform: none; }
  .mask { display: block; position: fixed; inset: 0; background: rgba(23,16,24,.56); z-index: 25; }
  .mask[hidden] { display: none; }
  .topbar {
    display: flex; position: sticky; top: 0; z-index: 20; align-items: center; justify-content: space-between;
    background: var(--ink); color: var(--paper); padding: 12px 16px; border-bottom: 1px solid var(--line);
  }
  .topbar .logo { margin: 0; }
  .menu-btn { background: var(--persimmon); color: white; border: 0; border-radius: var(--pill); padding: 8px 14px; font-weight: 700; }
  .main-wrap { margin-left: 0; }
  .hero-grid, .matrix, .banner, .region-grid, .list-grid, .channel, .cta, .scene-grid { grid-template-columns: 1fr 1fr; }
  .banner { grid-template-columns: 1fr; }
  .scores, .spec-row, .steps { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: 1fr 1fr; }
  .w1, .w2, .w3, .w4, .w5 { grid-column: auto; grid-row: auto; }
  .w1 { grid-column: 1 / -1; }
  .w2 .frame, .w3 .frame { aspect-ratio: 16 / 9; }
  .stack { min-height: 0; display: grid; gap: 16px; }
  .stack .card { position: static; width: auto; }
  .stack .c2 { margin: 0; }
}
@media (max-width: 767px) {
  :root { --pad: 40px; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero-grid, .matrix, .region-grid, .list-grid, .channel, .cta, .scene-grid, .scores, .spec-row, .steps, .assure, .fields, .wall { grid-template-columns: 1fr; }
  .btn, .menu-btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .stack .c2 { margin-left: 0; }
  .note-list a.item { grid-template-columns: 1fr; }
  .w1 { grid-column: auto; }
}
@media (max-width: 520px) {
  .logo-text { font-size: 15px; }
  .score b { font-size: 34px; }
  .spec-row { display: flex; overflow-x: auto; }
  .spec-row li { min-width: 220px; }
}

/* roulang page: category1 */
:root {
 --ink: #2C1833;
 --table: #171018;
 --paper: #F6F1E8;
 --paper-2: #EFE6D8;
 --matcha: #6E8F74;
 --matcha-deep: #4F6D56;
 --persimmon: #E86A3C;
 --persimmon-deep: #C4512A;
 --line: #3A2A40;
 --muted: #5E5362;
 --rare: #8E4B7A;
 --white: #FFFDF8;
 --shadow: 0 8px 0 #2C1833;
 --shadow-lift: 0 14px 28px rgba(44, 24, 51, .18);
 --radius: 18px;
 --radius-frame: 12px;
 --pill: 999px;
 --sidebar: 232px;
 --max: 1120px;
 --pad: 72px;
 --text: 17px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 color: var(--ink);
 background: var(--paper);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: var(--text);
 line-height: 1.85;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--persimmon-deep); text-underline-offset: 3px; }
a:hover { color: var(--persimmon); }
:focus-visible { outline: 2px solid var(--persimmon); outline-offset: 2px; }
h1, h2, h3 { font-weight: 800; line-height: 1.35; }
h1 { font-size: 38px; margin: 0 0 .8em; }
h2 { font-size: 28px; margin: 0 0 .7em; }
h3 { font-size: 21px; margin: 0 0 .55em; }
p { margin: 0 0 .85em; }
ul, ol { margin: 0; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr-only {
 position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
 overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.logo {
 display: flex;
 gap: 10px;
 align-items: center;
 text-decoration: none;
 color: var(--paper);
 margin-bottom: 22px;
}
.logo-bead {
 width: 36px;
 height: 36px;
 border-radius: 50%;
 flex: 0 0 36px;
 background:
  radial-gradient(circle at 35% 35%, #F6C7B4 0 8px, var(--persimmon) 9px 16px, transparent 17px),
  conic-gradient(from 20deg, var(--ink) 0 46%, var(--rare) 0 72%, var(--persimmon) 0 100%);
 box-shadow: 0 0 0 2px var(--paper);
}
.logo-text { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--paper); }
.sidebar {
 position: fixed;
 left: 0;
 top: 0;
 bottom: 0;
 width: var(--sidebar);
 background: var(--ink);
 color: var(--paper);
 padding: 22px 14px 28px;
 overflow-y: auto;
 z-index: 40;
}
.nav-label {
 margin: 18px 8px 8px;
 font-size: 12px;
 letter-spacing: .14em;
 color: #CDBFCB;
}
.nav-item {
 display: block;
 text-decoration: none;
 color: var(--paper);
 border-radius: 12px;
 padding: 10px 12px 10px 14px;
 margin-bottom: 6px;
 border-left: 3px solid transparent;
 line-height: 1.45;
 font-size: 15px;
}
.nav-item:hover { background: rgba(246, 241, 232, .08); color: var(--white); }
.nav-item:active { background: rgba(246, 241, 232, .16); }
.nav-item.is-active, .nav-item[aria-current="page"] {
 background: var(--paper);
 color: var(--ink);
 border-left-color: var(--persimmon);
 font-weight: 700;
}
.topbar { display: none; }
.nav-mask { position: fixed; inset: 0; background: rgba(23, 16, 24, .62); z-index: 35; }
.nav-mask[hidden] { display: none; }
.menu-btn {
 min-height: 40px;
 padding: 0 14px;
 border-radius: var(--pill);
 border: 2px solid var(--persimmon);
 background: var(--persimmon);
 color: var(--white);
 font-weight: 700;
 cursor: pointer;
}
.menu-btn:hover { background: var(--persimmon-deep); border-color: var(--persimmon-deep); }
.menu-btn:active { transform: translateY(1px); }
.main-wrap { margin-left: var(--sidebar); min-width: 0; }
.section { padding: var(--pad) 0; }
.section-tight { padding-bottom: 28px; }
.section-table { background: var(--table); color: var(--paper); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-paper a { color: var(--persimmon-deep); }
.section-table h2, .section-ink h2, .section-table h3, .section-ink h3 { color: var(--paper); }
.lead { max-width: 68ch; color: inherit; }
.section-table .lead, .section-ink .lead { color: #E7D9C8; }
.kicker {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 margin: 0 0 12px;
 padding: 0 12px;
 border-radius: var(--pill);
 border: 1px solid #5A445F;
 color: #F6C7B4;
 font-size: 13px;
 font-weight: 700;
 letter-spacing: .04em;
}
.board {
 display: grid;
 grid-template-columns: 1.35fr .75fr;
 gap: 32px;
 align-items: center;
}
.score {
 background: var(--paper);
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px;
 display: grid;
 grid-template-columns: 132px 1fr;
 gap: 14px;
 align-items: center;
}
.ring-box { position: relative; width: 132px; height: 132px; }
.ring-svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--paper-2); stroke-width: 10; }
.ring-value { fill: none; stroke: var(--persimmon); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 116; }
.ring-num {
 position: absolute;
 inset: 0;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 line-height: 1.15;
}
.ring-num strong { font-size: 34px; }
.ring-num span { font-size: 13px; color: var(--muted); font-weight: 700; }
.score-meta p { margin: 8px 0 0; color: var(--muted); }
.sheet { position: relative; }
.filter-bar {
 position: sticky;
 top: 0;
 z-index: 6;
 background: var(--paper);
 border-top: 1px solid var(--line);
 border-bottom: 1px solid var(--line);
 padding: 12px 0;
}
.filter-groups { display: flex; gap: 22px; align-items: center; }
.filter-group { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.filter-name { font-size: 13px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.chip-row { display: flex; gap: 8px; }
.chip {
 min-height: 32px;
 padding: 0 12px;
 border-radius: var(--pill);
 border: 1px solid var(--line);
 background: var(--white);
 color: var(--ink);
 font-size: 13px;
 font-weight: 700;
 cursor: pointer;
}
.chip:hover { border-color: var(--persimmon); color: var(--persimmon-deep); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] {
 background: var(--persimmon);
 border-color: var(--persimmon);
 color: var(--white);
}
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card, .banner, .score, .scene, .note-main, .region, .faq details, .log li, .form-card, .rel-card {
 background: var(--paper);
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.card { padding: 14px 14px 16px; position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow), var(--shadow-lift); }
.card.is-rare { border-color: var(--rare); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.card h3 { font-size: 20px; }
.card p, .region p, .scene p { color: var(--muted); margin-bottom: .4em; }
.cost {
 min-width: 52px;
 height: 28px;
 padding: 0 8px;
 border-radius: var(--pill);
 background: var(--ink);
 color: var(--paper);
 font-size: 12px;
 font-weight: 800;
 display: inline-flex;
 align-items: center;
 justify-content: center;
}
.beads { display: inline-flex; gap: 5px; align-items: center; }
.beads i {
 width: 10px;
 height: 10px;
 border-radius: 50%;
 border: 1px solid var(--line);
 display: block;
 background: transparent;
}
.beads i.on { background: var(--persimmon); border-color: var(--persimmon); }
.card:hover .beads i, .btn-primary:hover .beads i { background: var(--persimmon); border-color: var(--persimmon); }
.frame {
 aspect-ratio: 16 / 9;
 border-radius: var(--radius-frame);
 border: 1px solid var(--line);
 display: flex;
 align-items: flex-end;
 padding: 10px 12px;
 margin-bottom: 12px;
 color: var(--paper);
 font-weight: 800;
 font-size: 14px;
 line-height: 1.4;
}
.frame span { background: rgba(23, 16, 24, .55); border-radius: var(--pill); padding: 2px 10px; }
.frame-a {
 background-color: #2C1833;
 background-image:
  repeating-linear-gradient(90deg, rgba(232, 106, 60, .55) 0 6px, transparent 6px 18px),
  linear-gradient(160deg, #171018, #6E8F74);
}
.frame-b {
 background-color: #171018;
 background-image:
  repeating-linear-gradient(0deg, rgba(142, 75, 122, .45) 0 8px, transparent 8px 16px),
  linear-gradient(200deg, #2C1833, #E86A3C);
}
.frame-c {
 background-color: #3A2A40;
 background-image:
  repeating-linear-gradient(135deg, rgba(246, 241, 232, .2) 0 2px, transparent 2px 10px),
  linear-gradient(#2C1833, #4F6D56);
}
.frame-d {
 background-color: #171018;
 background-image:
  repeating-linear-gradient(90deg, rgba(110, 143, 116, .5) 0 10px, transparent 10px 22px),
  linear-gradient(180deg, #8E4B7A, #171018 70%);
}
.action-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.action-row a { font-weight: 700; text-decoration: none; }
.spec-list { list-style: none; padding: 0; margin: 12px 0; }
.spec-list li { padding: 7px 0 7px 16px; position: relative; color: var(--ink); }
.spec-list li::before {
 content: "";
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--persimmon);
 position: absolute;
 left: 0;
 top: 16px;
}
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 12px;
 border-radius: var(--pill);
 border: 1px solid var(--line);
 background: var(--white);
 color: var(--ink);
 font-size: 13px;
 font-weight: 700;
}
.badge-rare { border-color: var(--rare); color: var(--rare); background: #FBF4F8; }
.badge-matcha { border-color: var(--matcha); color: var(--matcha-deep); background: #F3F7F3; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.more-row { display: flex; justify-content: flex-start; margin-top: 18px; }
.empty {
 margin: 8px 0 0;
 padding: 14px 16px;
 border-radius: 12px;
 border: 1px dashed #8E4B7A;
 color: #E7D9C8;
}
.guide-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.guide-copy { max-width: 68ch; }
.rel-card { padding: 8px; }
.rel-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rel-list a {
 display: block;
 text-decoration: none;
 color: var(--ink);
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 12px 14px;
}
.rel-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--persimmon-deep); }
.rel-list strong { display: block; font-size: 16px; line-height: 1.45; }
.rel-list span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.compare, .scene-two, .end-grid { display: grid; gap: 18px; }
.compare, .scene-two { grid-template-columns: 1fr 1fr; }
.end-grid { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 28px; }
.scene { padding: 14px; }
.faq details { padding: 0; overflow: hidden; margin-bottom: 12px; }
.faq summary {
 cursor: pointer;
 padding: 16px 18px;
 font-weight: 800;
 list-style: none;
 line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--persimmon); }
.faq details[open] summary::after { content: "－"; }
.faq details[open] { border-color: var(--persimmon); }
.faq details p { padding: 0 18px 16px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 min-height: 46px;
 padding: 0 20px;
 border-radius: var(--pill);
 border: 2px solid transparent;
 text-decoration: none;
 cursor: pointer;
 transition: transform .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
 font-weight: 700;
 background: transparent;
}
.btn-primary { background: var(--persimmon); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--persimmon-deep); color: var(--white); box-shadow: var(--shadow), var(--shadow-lift); }
.btn-primary:active { transform: translateY(0); }
.btn-primary .beads i { border-color: rgba(255, 253, 248, .7); }
.btn-ghost { background: transparent; color: var(--matcha-deep); border-color: var(--matcha); }
.section-table .btn-ghost, .section-ink .btn-ghost { color: #D7E6D4; border-color: var(--matcha); }
.btn-ghost:hover { background: rgba(110, 143, 116, .16); transform: translateY(-2px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.site-footer { background: var(--ink); color: var(--paper); padding: 40px 0 28px; }
.site-footer a { color: var(--paper); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: #F6C7B4; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-brand { font-size: 20px; line-height: 1.4; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.foot-links a:hover { border-bottom-color: var(--persimmon); }
.copy { color: #CDBFCB; font-size: 14px; margin: 22px 0 0; }
.form-card { padding: 16px; }
.banner { padding: 16px; }
body.nav-lock { overflow: hidden; }
[hidden] { display: none !important; }
@media (max-width: 1024px) {
 :root { --pad: 40px; }
 .sidebar {
  transform: translateX(-105%);
  transition: transform .2s ease;
 }
 .sidebar.is-open { transform: translateX(0); }
 .topbar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: var(--ink);
 }
 .topbar .logo { margin: 0; }
 .main-wrap { margin-left: 0; }
 .filter-bar { top: 72px; }
 .board, .guide-grid, .end-grid { grid-template-columns: 1fr; }
 .catalog-grid, .compare, .scene-two { grid-template-columns: 1fr 1fr; }
 .filter-groups { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}
@media (max-width: 767px) {
 h1 { font-size: 30px; }
 h2 { font-size: 26px; }
 .catalog-grid, .compare, .scene-two, .score { grid-template-columns: 1fr; }
 .score { justify-items: center; text-align: left; }
 .btn, .more-row .btn { width: 100%; }
 .foot-grid { flex-direction: column; }
 .action-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
 .container { width: min(var(--max), calc(100% - 28px)); }
 .logo-text { font-size: 15px; }
 .ring-box, .ring-svg { width: 116px; height: 116px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
}
