/* roulang page: index */
:root {
  --primary: #3A7BD5;
  --primary-deep: #245BA8;
  --accent: #E06A7A;
  --bg: #F3F6FB;
  --bg-alt: #E7EEF8;
  --card: #FFFFFF;
  --text: #1A2332;
  --muted: #5C6B82;
  --line: #D5E0EE;
  --shadow: 0 10px 28px rgba(36, 91, 168, .08);
  --shadow-hover: 0 16px 34px rgba(36, 91, 168, .12);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-btn: 12px;
  --container: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; display: block; }
::selection { background: #d7e6fa; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck {
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom-color: var(--line);
}
.brand-row { padding: 10px 0; }
.brand-inner, .nav-inner { display: flex; align-items: center; gap: 12px; }
.brand-inner { justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.logo:hover { text-decoration: none; color: var(--primary-deep); }
.logo-badge {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.logo strong { display: block; font-size: 16px; line-height: 1.3; font-weight: 700; }
.logo small { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.brand-side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.update-link { font-size: 14px; font-weight: 700; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 28px; padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .03em;
}
.nav-row { padding: 0 0 10px; }
.nav-mainline { display: contents; }
.channel-nav { display: flex; gap: 18px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.channel-nav::-webkit-scrollbar, .hot-chips::-webkit-scrollbar, .scene-rail::-webkit-scrollbar { display: none; }
.channel-nav a {
  color: var(--text); text-decoration: none;
  padding: 8px 0 10px; font-size: 15px; font-weight: 700; white-space: nowrap;
}
.channel-nav a:hover { color: var(--primary-deep); text-decoration: underline; }
.channel-nav a[aria-current="page"] {
  color: var(--primary-deep); text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--primary);
}
.search-wrap { flex: 0 1 340px; min-width: 220px; }
.search-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; color: var(--primary-deep);
  align-items: center; justify-content: center;
}
.search-toggle:hover { border-color: var(--primary); }
.search-toggle:active { transform: translateY(1px); }
.search-panel { display: flex; flex-direction: column; gap: 4px; }
.search-line { display: flex; gap: 8px; }
.search-line input {
  flex: 1; min-width: 0; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: 0 12px;
}
.search-line input:focus { border-color: var(--primary); }
.search-btn { height: 40px; min-height: 40px; padding: 0 14px; }
.search-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.search-note.is-sent { color: var(--primary-deep); font-weight: 700; }
.hot-chips { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; color: var(--primary-deep);
  font-size: 13px; line-height: 1.5; white-space: nowrap; text-decoration: none;
}
.chip:hover { border-color: var(--primary); text-decoration: underline; }
.chip:active { background: var(--bg-alt); }
.section { padding: 96px 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head h2 { margin-bottom: 10px; }
h1 { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: 0; }
h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
h3 { font-size: 18px; line-height: 26px; font-weight: 700; }
.subline { margin-top: 10px; font-size: 18px; line-height: 1.6; font-weight: 700; color: var(--primary-deep); }
.lead { margin-top: 14px; max-width: 640px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-btn);
  border: 1px solid transparent; font-size: 15px; font-weight: 700;
  text-decoration: none; background: transparent; color: var(--primary-deep);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary-deep); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-deep); }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.score, .entry-card, .matrix-card, .scene-item, .compare-card, .mile-item, .news-item, .depth-col, .rank-item, .quality-item, .guard-card, .quick-item, .review-card, .form-card, .faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.score, .entry-card, .matrix-card, .scene-item, .compare-card, .quality-item, .guard-card, .review-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.score:hover, .entry-card:hover, .matrix-card:hover, .scene-item:hover, .compare-card:hover, .quality-item:hover, .guard-card:hover, .review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.score { padding: 16px 16px 14px; }
.score-label { font-size: 13px; line-height: 1.5; color: var(--muted); }
.score-num { margin: 6px 0 10px; font-size: 32px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.score-bar { height: 6px; border-radius: 10px; background: var(--bg-alt); overflow: hidden; }
.score-bar span { display: block; height: 100%; background: var(--primary); border-radius: 10px; }
.score-meta { margin-top: 8px; }
.entry-grid { display: grid; grid-template-columns: 1.4fr .9fr; grid-template-rows: auto auto; gap: 16px; }
.entry-main { grid-row: 1 / span 2; display: flex; flex-direction: column; padding: 22px; color: var(--text); min-height: 100%; }
.entry-side { padding: 20px; }
a.entry-card:hover, a.matrix-card:hover { text-decoration: none; color: var(--text); }
.entry-visual { height: 148px; border-radius: 12px; margin-bottom: 16px; position: relative; overflow: hidden; }
.entry-visual::after, .news-cover::after, .mini-cover::after {
  content: ""; position: absolute; inset: 16px;
  border: 2px solid rgba(255,255,255,.75); border-radius: 12px;
}
.entry-kicker { color: var(--accent); font-size: 13px; font-weight: 700; line-height: 1.5; }
.entry-card h3, .matrix-card h3 { margin: 6px 0 8px; }
.entry-card p, .matrix-card p, .scene-item p, .quality-item p, .guard-card p, .rank-item p, .review-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.entry-go { margin-top: auto; padding-top: 16px; font-weight: 700; }
.matrix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.matrix-card { display: block; padding: 18px 18px 16px; min-height: 132px; }
.matrix-wide { grid-column: span 2; min-height: 156px; }
.matrix-card h3 { margin-top: 0; }
.tag-dot { display: inline-block; width: 8px; height: 8px; border-radius: 10px; background: var(--primary); margin-right: 6px; }
.scene-rail { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.scene-item { flex: 1 0 240px; scroll-snap-align: start; padding: 18px 18px 16px; }
.scene-time { font-size: 13px; line-height: 1.5; color: var(--accent); font-weight: 700; }
.scene-item h3 { margin: 8px 0; }
.compare-grid, .depth-cols, .sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-card { padding: 22px 22px 8px; }
.compare-card.is-focus { border-color: #b9d0ef; }
.compare-card h3 { margin-bottom: 8px; }
.diff-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.6;
}
.mark { flex: 0 0 auto; width: 18px; font-weight: 700; }
.mark-no { color: var(--muted); }
.mark-yes { color: var(--primary); }
.mile-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.mile-list::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 2px; background: #c5d5ea;
}
.mile-item { position: relative; padding: 28px 18px 18px; }
.mile-dot {
  position: absolute; top: -7px; left: 22px;
  width: 14px; height: 14px; border-radius: 10px;
  background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--primary);
}
.mile-state { margin-top: 8px; color: var(--primary-deep); font-size: 13px; font-weight: 700; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px; }
.news-item:hover, .rank-item:hover, .depth-col a:hover { border-color: #b9d0ef; }
.news-cover, .mini-cover { position: relative; overflow: hidden; border-radius: 12px; }
.news-cover { height: 96px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.news-meta time { font-size: 13px; color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border-radius: var(--radius-sm); background: #e8f1fc; color: var(--primary-deep);
  font-size: 12px; font-weight: 700; line-height: 1;
}
.badge-hot { background: #fdecef; color: #a33b4c; }
.news-body { min-width: 0; padding-top: 2px; }
.news-body h3 { margin-bottom: 6px; }
.news-body p { color: var(--muted); }
.more-row { margin-top: 18px; }
.empty-state {
  margin-top: 14px; padding: 18px; border-radius: var(--radius);
  border: 1px dashed var(--line); background: #fff; color: var(--muted);
}
.depth-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
  color: var(--text); font-size: 13px; font-weight: 700;
}
.depth-col { padding: 8px 18px 12px; }
.depth-col h3 { padding-top: 12px; }
.depth-col a {
  display: block; padding: 11px 0; border-top: 1px solid var(--line);
  color: var(--primary-deep); font-weight: 700;
}
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; }
.rank-no {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 18px;
}
.quality-grid { display: grid; grid-template-columns: 1.15fr .95fr .9fr; gap: 16px; }
.quality-item, .guard-card { padding: 20px; }
.icon-wrap {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: grid; place-items: center; margin-bottom: 12px;
  background: #e8f1fc; color: var(--primary-deep);
}
.quality-item h3, .guard-card h3 { margin-bottom: 8px; }
.guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guard-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; }
.guard-card .icon-wrap { margin: 0; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quick-item { padding: 18px 20px 16px; background: #fff; }
.quick-item h3 { margin-bottom: 8px; font-size: 17px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { padding: 20px; }
.review-card p { color: var(--text); }
.review-flag { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 13px; font-weight: 700; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 0 18px; }
.faq-item summary {
  cursor: pointer; list-style: none; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; padding: 14px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg); margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item p { padding: 0 0 16px; color: var(--muted); max-width: 760px; }
.sub-copy { padding-top: 8px; }
.sub-copy h2 { margin-bottom: 12px; }
.form-card { padding: 22px; }
.form-grid { display: grid; gap: 14px; }
.field label, .dir-field legend { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.req { color: var(--accent); font-size: 12px; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: 12px 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent); background: #fff7f8; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label {
  display: flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.radio-row label:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.dir-field.is-invalid { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.form-error, .form-success { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.6; }
.form-error { color: #9d3c4a; background: #fff1f3; border: 1px solid #f3c5cd; }
.form-success { color: var(--primary-deep); background: #e8f2ff; border: 1px solid #c5daf5; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 42px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-weight: 700; }
.footer-base { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.cover-a { background: linear-gradient(135deg, #d5e6f8 0%, #7eafeb 58%, #f4d5db 100%); }
.cover-b { background: linear-gradient(160deg, #edf3fb 0%, #9ec0ea 70%, #d7e4f6 100%); }
.cover-c { background: linear-gradient(145deg, #f8e4e8 0%, #e7a8b2 45%, #d5e4f7 100%); }
.cover-d { background: linear-gradient(180deg, #e7eef8, #8eb6e6); }
.cover-e { background: linear-gradient(135deg, #f7f1f3, #e09aa6 40%, #c9daf3); }
.cover-f { background: linear-gradient(120deg, #d9e7f8, #f3f6fb 50%, #f0c9d0); }
@media (max-width: 1200px) {
  .matrix-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .guard-grid, .quality-grid { grid-template-columns: 1fr 1fr; }
  .quality-item:last-child { grid-column: 1 / -1; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .review-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .board-grid, .entry-grid, .compare-grid, .depth-cols, .sub-grid, .footer-grid { grid-template-columns: 1fr; }
  .entry-main { grid-row: auto; }
  .matrix-grid { grid-template-columns: 1fr 1fr; }
  .matrix-wide { grid-column: span 1; }
  .mile-list { grid-template-columns: 1fr 1fr; }
  .mile-list::before { display: none; }
  .nav-inner { flex-wrap: wrap; }
  .hot-chips { flex-basis: 100%; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  h1 { font-size: 30px; line-height: 38px; }
  h2 { font-size: 24px; line-height: 32px; }
  .search-toggle { display: inline-flex; }
  .search-wrap { flex: 0 0 auto; min-width: 0; }
  .search-panel { display: none; flex-basis: 100%; }
  .search-panel.is-open { display: flex; }
  .channel-nav { flex: 1; min-width: 0; }
  .quick-grid, .guard-grid, .quality-grid, .review-grid, .score-grid { grid-template-columns: 1fr 1fr; }
  .quality-item:last-child, .review-card:last-child { grid-column: auto; }
  .news-item { grid-template-columns: 1fr; }
  .news-cover { height: 120px; }
  .guard-card { grid-template-columns: 42px minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .matrix-grid, .mile-list, .quick-grid, .guard-grid, .quality-grid, .review-grid, .score-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .logo strong { font-size: 15px; }
}
@media (max-width: 480px) {
  .brand-side .update-link { font-size: 13px; }
  .rank-item { grid-template-columns: 42px minmax(0, 1fr); }
}

/* roulang page: category1 */
:root {
 --primary: #3A7BD5;
 --primary-deep: #245BA8;
 --accent: #E06A7A;
 --bg: #F3F6FB;
 --bg-alt: #E7EEF8;
 --card: #FFFFFF;
 --text: #1A2332;
 --muted: #5C6B82;
 --line: #D5E0EE;
 --shadow: 0 10px 28px rgba(36, 91, 168, .08);
 --shadow-hover: 0 16px 34px rgba(36, 91, 168, .12);
 --radius: 18px;
 --radius-sm: 10px;
 --radius-btn: 12px;
 --container: 1120px;
}
/* roulang page: index */
:root {
 --primary: #3A7BD5;
 --primary-deep: #245BA8;
 --accent: #E06A7A;
 --bg: #F3F6FB;
 --bg-alt: #E7EEF8;
 --card: #FFFFFF;
 --text: #1A2332;
 --muted: #5C6B82;
 --line: #D5E0EE;
 --shadow: 0 10px 28px rgba(36, 91, 168, .08);
 --shadow-hover: 0 16px 34px rgba(36, 91, 168, .12);
 --radius: 18px;
 --radius-sm: 10px;
 --radius-btn: 12px;
 --container: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--text);
 font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img, svg { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
p + p { margin-top: 10px; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
 outline: 2px solid var(--primary);
 outline-offset: 2px;
}
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: var(--bg);
 border-bottom: 1px solid transparent;
 transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck {
 background: #fff;
 box-shadow: var(--shadow);
 border-bottom-color: var(--line);
}
.brand-row { padding: 10px 0; }
.brand-inner, .nav-inner { display: flex; align-items: center; gap: 12px; }
.brand-inner { justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.logo:hover { text-decoration: none; color: var(--primary-deep); }
.logo-badge {
 width: 36px;
 height: 36px;
 flex: 0 0 36px;
 border-radius: var(--radius-sm);
 background: #fff;
 border: 1px solid var(--line);
 display: grid;
 place-items: center;
 box-shadow: var(--shadow);
}
.logo-text { min-width: 0; }
.logo strong { display: block; font-size: 16px; line-height: 1.3; font-weight: 700; }
.logo small { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.brand-side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.update-link { font-size: 14px; font-weight: 700; white-space: nowrap; }
.age-badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 44px;
 height: 28px;
 padding: 0 8px;
 border-radius: var(--radius-sm);
 background: var(--accent);
 color: #fff;
 font-size: 13px;
 font-weight: 700;
 letter-spacing: .03em;
}
.nav-row { padding: 0 0 10px; }
.nav-inner { flex-wrap: wrap; }
.nav-mainline { display: contents; }
.channel-nav {
 display: flex;
 gap: 18px;
 align-items: center;
 overflow-x: auto;
 scrollbar-width: none;
}
.channel-nav::-webkit-scrollbar, .hot-chips::-webkit-scrollbar, .series-line::-webkit-scrollbar { display: none; }
.channel-nav a {
 color: var(--text);
 text-decoration: none;
 padding: 8px 0 10px;
 font-size: 15px;
 font-weight: 700;
 white-space: nowrap;
}
.channel-nav a:hover { color: var(--primary-deep); text-decoration: underline; }
.channel-nav a[aria-current="page"] {
 color: var(--primary-deep);
 text-decoration: none;
 box-shadow: inset 0 -2px 0 var(--primary);
}
.search-wrap { flex: 0 1 340px; min-width: 220px; }
.search-toggle {
 display: none;
 width: 40px;
 height: 40px;
 padding: 0;
 border-radius: var(--radius-sm);
 border: 1px solid var(--line);
 background: #fff;
 color: var(--primary-deep);
 align-items: center;
 justify-content: center;
}
.search-toggle:hover { border-color: var(--primary); }
.search-toggle:active { transform: translateY(1px); }
.search-panel { display: flex; flex-direction: column; gap: 4px; }
.search-line { display: flex; gap: 8px; }
.search-line input {
 flex: 1;
 min-width: 0;
 height: 40px;
 border: 1px solid var(--line);
 border-radius: var(--radius-sm);
 background: #fff;
 padding: 0 12px;
}
.search-line input:focus { border-color: var(--primary); }
.search-btn { height: 40px; min-height: 40px; padding: 0 14px; }
.search-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.search-note.is-sent { color: var(--primary-deep); font-weight: 700; }
.hot-chips {
 display: flex;
 gap: 8px;
 flex: 1 1 auto;
 min-width: 0;
 overflow-x: auto;
 scrollbar-width: none;
}
.chip {
 display: inline-flex;
 align-items: center;
 height: 32px;
 padding: 0 10px;
 border-radius: var(--radius-sm);
 border: 1px solid var(--line);
 background: #fff;
 color: var(--primary-deep);
 font-size: 13px;
 line-height: 1.5;
 white-space: nowrap;
 text-decoration: none;
}
button.chip { cursor: pointer; }
.chip:hover { border-color: var(--primary); text-decoration: underline; }
.chip:active { background: var(--bg-alt); }
button.chip.is-on,
button.chip.is-on:hover {
 background: var(--primary);
 border-color: var(--primary);
 color: #fff;
 text-decoration: none;
}
.section { padding: 96px 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head h2, .scope-copy h2, .close-copy h2, .boundary-copy h2 { margin-bottom: 10px; }
h1 { font-size: 40px; line-height: 48px; font-weight: 700; }
h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 700; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 font-size: 15px;
 font-weight: 700;
 text-decoration: none;
 background: transparent;
 color: var(--primary-deep);
 transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary-deep); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-deep); }
.cat-head { background: var(--bg-alt); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.cat-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.scope-line { margin-top: 8px; max-width: 640px; color: var(--text); }
.count-box {
 display: flex;
 gap: 18px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px 16px;
 flex: 0 0 auto;
}
.count-box p { display: flex; flex-direction: column; min-width: 88px; }
.count-box strong { font-size: 22px; line-height: 1.2; color: var(--text); }
.count-box span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-list { display: flex; flex-direction: column; gap: 12px; }
.cat-row {
 display: grid;
 grid-template-columns: 96px minmax(0, 1fr);
 gap: 16px;
 align-items: center;
 padding: 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-row[hidden] { display: none; }
.cat-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cover {
 width: 96px;
 height: 96px;
 border-radius: var(--radius-sm);
 overflow: hidden;
 border: 1px solid var(--line);
}
.cover svg { width: 96px; height: 96px; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.tag {
 display: inline-flex;
 align-items: center;
 height: 24px;
 padding: 0 8px;
 border-radius: var(--radius-sm);
 background: var(--bg-alt);
 color: var(--primary-deep);
 font-size: 12px;
 font-weight: 700;
 line-height: 1.5;
}
.tag-hot { background: rgba(224, 106, 122, .12); color: #9d3144; }
.cat-row h3 { margin-bottom: 4px; }
.cat-row p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.more-line { margin-top: 18px; }
.empty-state {
 margin-top: 14px;
 padding: 18px;
 border: 1px dashed var(--line);
 border-radius: var(--radius);
 background: #fff;
 color: var(--muted);
}
.empty-state[hidden] { display: none; }
.scope-layout, .close-bar, .boundary {
 display: grid;
 grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
 gap: 28px;
 align-items: start;
}
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.scope-card, .series-line a, .faq-item, .boundary, .close-panel {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.scope-card { padding: 16px; }
.scope-card h3 { margin-bottom: 6px; font-size: 16px; }
.scope-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.series-line {
 list-style: none;
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 12px;
 padding: 0;
 margin-top: 8px;
}
.series-line a {
 display: flex;
 flex-direction: column;
 gap: 8px;
 min-height: 112px;
 padding: 16px;
 color: var(--text);
 position: relative;
 transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.series-line a:hover {
 text-decoration: none;
 transform: translateY(-4px);
 box-shadow: var(--shadow-hover);
 border-color: var(--primary);
}
.series-line span {
 width: 36px;
 height: 28px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border-radius: var(--radius-sm);
 background: var(--bg-alt);
 color: var(--primary-deep);
 font-size: 13px;
 font-weight: 700;
}
.series-line a::after {
 content: "";
 position: absolute;
 left: 18px;
 right: 18px;
 bottom: 14px;
 height: 2px;
 background: linear-gradient(90deg, var(--primary), var(--line));
}
.rhythm-bar {
 display: flex;
 flex-wrap: nowrap;
 gap: 0;
 align-items: center;
 overflow-x: auto;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px 8px;
 margin-top: 8px;
}
.rhythm-bar span {
 display: inline-flex;
 align-items: baseline;
 gap: 6px;
 padding: 4px 16px;
 color: var(--muted);
 font-size: 14px;
 white-space: nowrap;
}
.rhythm-bar span + span { box-shadow: inset 1px 0 0 var(--line); }
.rhythm-bar b { color: var(--text); font-size: 20px; line-height: 1.2; }
.rhythm-note { margin-top: 14px; max-width: 760px; }
.boundary { padding: 22px; }
.boundary-mark {
 width: 64px;
 height: 64px;
 border-radius: var(--radius-sm);
 background: var(--accent);
 color: #fff;
 display: grid;
 place-items: center;
 font-weight: 700;
 font-size: 20px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-item button {
 width: 100%;
 text-align: left;
 background: #fff;
 border: 0;
 padding: 16px 18px;
 font-weight: 700;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 color: var(--text);
}
.faq-item button:hover { color: var(--primary-deep); }
.faq-item button:active { background: var(--bg-alt); }
.chev {
 width: 10px;
 height: 10px;
 border-right: 2px solid var(--primary-deep);
 border-bottom: 2px solid var(--primary-deep);
 transform: rotate(45deg);
 flex: 0 0 auto;
 transition: transform .2s ease;
}
.faq-item button[aria-expanded="true"] .chev { transform: rotate(225deg); }
.faq-panel { padding: 0 18px 16px; color: var(--text); }
.faq-panel[hidden] { display: none; }
.close-panel { padding: 28px; }
.close-panel .cta-row { margin-top: 0; }
.text-back { font-weight: 700; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-base {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 color: var(--muted);
 font-size: 13px;
}
@media (max-width: 1200px) {
 .search-wrap { flex-basis: 280px; }
}
@media (max-width: 960px) {
 .scope-layout, .close-bar, .boundary, .footer-grid { grid-template-columns: 1fr; }
 .series-line { grid-template-columns: 1fr 1fr; }
 .scope-grid { grid-template-columns: 1fr 1fr 1fr; }
 .cat-top { align-items: flex-start; }
}
@media (max-width: 768px) {
 .section { padding: 56px 0; }
 h1 { font-size: 30px; line-height: 38px; }
 h2 { font-size: 24px; line-height: 32px; }
 .nav-mainline { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1 1 100%; }
 .search-toggle { display: inline-flex; }
 .search-panel { display: none; flex: 1 1 100%; }
 .search-panel.is-open { display: flex; }
 .hot-chips { flex: 1 1 100%; }
 .cat-head { padding: 36px 0 28px; }
 .cat-top { flex-direction: column; }
 .count-box { width: 100%; }
 .scope-grid, .series-line { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
 .container { width: min(var(--container), calc(100% - 32px)); }
 .logo strong { font-size: 15px; }
 .brand-side { gap: 8px; }
 .cat-row { grid-template-columns: 72px minmax(0, 1fr); padding: 12px; }
 .cover, .cover svg { width: 72px; height: 72px; }
 .count-box { flex-direction: column; gap: 8px; }
 .rhythm-bar span { padding: 6px 12px; }
 .close-panel, .boundary { padding: 16px; }
}
