/* roulang page: index */
:root {
  --bg: #070E18;
  --bg-2: #0E1A2C;
  --panel: #16345C;
  --data: #3C8DFF;
  --hot: #FF6A2C;
  --score: #D6FF4A;
  --text: #F4F7FB;
  --muted: #B7C3D4;
  --glass: rgba(16, 36, 64, 0.62);
  --line: rgba(255, 106, 44, 0.62);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --pad: 1.25rem;
  --max: 1120px;
  --header: 72px;
  --tab: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(60, 141, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 141, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: 0; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--score); }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--score); outline-offset: 2px; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 14, 24, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 106, 44, 0.28);
}
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; min-width: 0; color: var(--text); }
.logo:hover { color: var(--text); }
.mark {
  width: 36px; height: 36px; flex: 0 0 36px;
  border: 1px solid var(--score);
  border-radius: 8px;
  background:
    linear-gradient(var(--score), var(--score)) 6px 8px / 24px 2px no-repeat,
    linear-gradient(var(--hot), var(--hot)) 6px 16px / 16px 2px no-repeat,
    linear-gradient(var(--data), var(--data)) 6px 24px / 20px 2px no-repeat,
    var(--panel);
  box-shadow: 0 0 12px rgba(214, 255, 74, 0.25);
}
.logo-text { font-size: 15px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
.desktop-nav a {
  position: relative;
  padding: 0.4rem 0.75rem;
  color: var(--muted);
  font-size: 15px;
  border-radius: 999px;
}
.desktop-nav a:hover { color: var(--text); background: rgba(255, 106, 44, 0.08); }
.desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.1rem;
  height: 2px; background: var(--hot); border-radius: 2px;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}
.drawer {
  display: none;
  background: rgba(7, 14, 24, 0.96);
  border-bottom: 1px solid var(--line);
}
.drawer.open { display: block; }
.drawer a { display: block; padding: 0.85rem 1.25rem; border-top: 1px solid rgba(255, 106, 44, 0.18); color: var(--text); }
.drawer a.active { color: var(--score); }
main { padding-bottom: 1rem; }
.band { padding: 4.5rem 0; }
.band-alt { background: rgba(14, 26, 44, 0.88); }
.band h2, .panel-title {
  margin: 0 0 0.75rem;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
}
.lede { margin: 0 0 1.25rem; color: var(--muted); max-width: 68ch; }
.hero-grid { align-items: stretch; }
.profile-card, .glass, .card, .score, .quote, .faq-item, .scene, .news-card, .deep-card, .mini-card, .bento-card, .side, .pace, .answer, .form-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.profile-card { padding: 1.5rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--score); font-size: 13px; letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.avatar-row { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.9rem; }
.avatar {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--score);
  display: grid; place-items: center;
  box-shadow: 0 0 16px rgba(214, 255, 74, 0.28);
  flex: 0 0 64px;
}
.avatar span { font-family: ui-monospace, "Roboto Mono", monospace; color: var(--score); font-size: 18px; }
.nick { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.badge {
  border: 1px solid rgba(214, 255, 74, 0.45);
  color: var(--score);
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
  font-size: 12px;
  background: rgba(214, 255, 74, 0.06);
}
h1 { margin: 0 0 0.6rem; font-size: 44px; line-height: 1.2; font-weight: 800; }
.sub { margin: 0 0 0.8rem; color: var(--text); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.55rem 1.15rem;
  border-radius: 999px; border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  font-weight: 700;
}
.btn-hot {
  background: var(--hot); color: #1a0b05;
  box-shadow: 0 0 12px rgba(214, 255, 74, 0.85);
}
.btn-hot:hover { color: #1a0b05; transform: translateY(-1px); box-shadow: 0 0 22px rgba(214, 255, 74, 0.95); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--score); color: var(--score); transform: translateY(-1px); }
.score-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; height: 100%; }
.score { padding: var(--pad); position: relative; overflow: hidden; }
.score::before, .score::after {
  content: ""; position: absolute; width: 12px; height: 12px; background: var(--bg);
  border: 1px solid var(--line);
}
.score::before { top: -7px; right: 18px; border-radius: 50%; }
.score::after { bottom: -7px; left: 18px; border-radius: 50%; }
.score b {
  display: block;
  font-family: ui-monospace, "Roboto Mono", monospace;
  font-size: 34px; line-height: 1.1; color: var(--score); font-weight: 700;
}
.score span { color: var(--muted); font-size: 14px; }
.score em { display: block; margin-top: 0.35rem; font-style: normal; color: var(--data); font-size: 13px; }
.workbench { padding: 1.25rem; }
.controls { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 0.75rem; align-items: end; }
label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%;
  background: rgba(7, 14, 24, 0.72);
  color: var(--text);
  border: 1px solid rgba(255, 106, 44, 0.4);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--score); outline: none; box-shadow: 0 0 0 3px rgba(214, 255, 74, 0.15); }
.count-line { margin: 0.9rem 0; color: var(--score); font-family: ui-monospace, "Roboto Mono", monospace; }
.result-list { display: grid; gap: 0.7rem; }
.result-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.8rem 0.9rem; border-radius: 12px; background: rgba(22, 52, 92, 0.45); border: 1px solid rgba(255, 106, 44, 0.25);
}
.result-item strong { display: block; font-weight: 700; }
.result-item p { margin: 0; color: var(--muted); font-size: 14px; }
.entry { display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 1rem; align-items: stretch; }
.main-entry { padding: 1.4rem; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(22, 52, 92, 0.9), rgba(16, 36, 64, 0.72)); }
.main-entry h3, .bento-card h3, .scene h3, .news-card h3, .deep-card h3, .mini-card h3 { margin: 0.4rem 0; font-size: 22px; line-height: 1.4; }
.stack { display: grid; gap: 0.75rem; }
.mini-card, .bento-card, .news-card, .deep-card, .scene, .quote, .answer, .faq-item, .pace { padding: var(--pad); transition: transform 180ms ease, border-color 180ms ease; }
.mini-card:hover, .bento-card:hover, .news-card:hover, .deep-card:hover, .scene:hover, .quote:hover, .card:hover {
  transform: translateY(-2px); border-color: var(--score);
}
.bento { display: grid; grid-template-columns: 1.35fr 1fr 0.85fr; grid-auto-rows: minmax(150px, auto); gap: 0.9rem; }
.bento .wide { grid-column: 1; grid-row: 1 / span 2; padding: 1.4rem; }
.bento .tall { grid-row: 1 / span 2; }
.tag { color: var(--hot); font-size: 12px; font-weight: 700; }
.scene-wrap { display: grid; gap: 0.9rem; }
.scene { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; }
.scene:nth-child(2) { margin-left: 7%; }
.scene:nth-child(3) { margin-right: 9%; }
.swatch { height: 100%; min-height: 96px; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--panel), var(--panel) 8px, rgba(255, 106, 44, 0.35) 8px, rgba(255, 106, 44, 0.35) 9px); border: 1px solid rgba(214, 255, 74, 0.35); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.side { border: 0; border-radius: 0; box-shadow: none; padding: 1.4rem; }
.side + .side { border-left: 2px solid var(--score); }
.side ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.side li { margin: 0.35rem 0; }
.big-num { font-family: ui-monospace, "Roboto Mono", monospace; font-size: 40px; color: var(--score); line-height: 1; }
.axis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; position: relative; }
.axis::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--hot), var(--score)); }
.node { position: relative; padding-top: 0.2rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 12px var(--score); margin-bottom: 0.8rem; position: relative; z-index: 1; }
.node h3 { margin: 0 0 0.35rem; font-size: 18px; }
.node p { margin: 0; color: var(--muted); font-size: 14px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.news-card time, .deep-meta { color: var(--data); font-family: ui-monospace, "Roboto Mono", monospace; font-size: 13px; }
.more-row { margin-top: 1rem; }
.deep-grid { display: grid; gap: 0.9rem; }
.deep-card { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; }
.poster { min-height: 140px; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 106, 44, 0.55), rgba(22, 52, 92, 0.2)), var(--panel); border: 1px dashed rgba(214, 255, 74, 0.45); }
.quote-row { display: grid; grid-template-columns: 1.2fr 0.9fr 1fr; gap: 0.9rem; }
.quote p { margin: 0 0 0.8rem; }
.quote cite { color: var(--score); font-style: normal; font-size: 14px; }
.guard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.guard article { padding: 1rem 0.9rem; border-top: 2px solid var(--hot); background: rgba(16, 36, 64, 0.5); border-radius: 0 0 14px 14px; }
.guard h3 { margin: 0.4rem 0; font-size: 18px; }
.guard p { margin: 0; color: var(--muted); font-size: 14px; }
.ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--panel); color: var(--score); font-family: ui-monospace, monospace; }
.qa { display: grid; gap: 0.7rem; }
.answer h3 { margin: 0 0 0.3rem; font-size: 18px; }
.answer p { margin: 0; }
.faq-item { padding: 0; }
.faq-item summary { cursor: pointer; padding: 1rem 1.15rem; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--hot); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 1.15rem 1rem; color: var(--muted); }
.form-card { padding: 1.3rem; max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.full { grid-column: 1 / -1; }
.tip { margin-top: 0.8rem; color: var(--score); }
.site-footer { padding: 2.4rem 0 1.4rem; background: #050910; border-top: 1px solid rgba(255, 106, 44, 0.28); }
.foot-grid { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; }
.foot-nav a.active { color: var(--score); }
.anchor-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin: 1rem 0; color: var(--muted); }
.anchor-row a { color: var(--muted); font-size: 14px; }
.copy { color: var(--muted); font-size: 14px; margin: 0.2rem 0; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none;
  background: rgba(7, 14, 24, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { flex: 1; text-align: center; padding: 0.35rem 0.1rem 0.45rem; color: var(--muted); font-size: 11px; line-height: 1.2; }
.tabbar a.active { color: var(--score); }
.tabbar svg { display: block; margin: 0 auto 0.15rem; }
@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .tabbar { display: flex; }
  body { padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); }
  .band { padding: 2.25rem 0; }
  h1 { font-size: 32px; }
  .controls, .entry, .compare, .axis, .news-grid, .quote-row, .guard, .form-grid, .bento, .scene, .deep-card, .result-item { grid-template-columns: 1fr; }
  .bento .wide, .bento .tall { grid-column: auto; grid-row: auto; }
  .scene:nth-child(2), .scene:nth-child(3) { margin: 0; }
  .side + .side { border-left: 0; border-top: 2px solid var(--score); }
  .axis::before { display: none; }
  .score-row { display: flex; overflow-x: auto; gap: 0.7rem; padding-bottom: 0.3rem; }
  .score { min-width: 150px; }
}
@media (max-width: 768px) {
  h1 { font-size: 30px; }
  .band h2 { font-size: 22px; }
  .logo-text { font-size: 14px; }
}
@media (max-width: 520px) {
  h1 { font-size: 28px; }
  .wrap { width: calc(100% - 1.25rem); }
  .avatar { width: 52px; height: 52px; flex-basis: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
 --bg: #070E18;
 --bg-2: #0E1A2C;
 --panel: #16345C;
 --data: #3C8DFF;
 --hot: #FF6A2C;
 --score: #D6FF4A;
 --text: #F4F7FB;
 --muted: #B7C3D4;
 --glass: rgba(16, 36, 64, 0.62);
 --line: rgba(255, 106, 44, 0.62);
 --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
 --radius: 14px;
 --pad: 1.25rem;
 --max: 1120px;
 --header: 72px;
 --tab: 64px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background-color: var(--bg);
 background-image:
 linear-gradient(rgba(60, 141, 255, 0.06) 1px, transparent 1px),
 linear-gradient(90deg, rgba(60, 141, 255, 0.06) 1px, transparent 1px);
 background-size: 32px 32px;
 color: var(--text);
 font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: 0; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--score); }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
p { margin: 0 0 0.75rem; }
h1, h2, h3, h4 { color: var(--text); font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
::selection { background: rgba(255, 106, 44, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--score); outline-offset: 2px; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 height: var(--header);
 background: rgba(7, 14, 24, 0.88);
 backdrop-filter: blur(16px);
 border-bottom: 1px solid rgba(255, 106, 44, 0.28);
 overflow: visible;
}
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; min-width: 0; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-text { font-size: 15px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.mark {
 width: 30px;
 height: 22px;
 flex: 0 0 auto;
 border: 1px solid rgba(214, 255, 74, 0.8);
 background:
 linear-gradient(var(--hot), var(--hot)) 0 0 / 4px 100% no-repeat,
 linear-gradient(var(--score), var(--score)) 8px 5px / 16px 2px no-repeat,
 linear-gradient(#F4F7FB, #F4F7FB) 8px 10px / 12px 2px no-repeat,
 linear-gradient(var(--score), var(--score)) 8px 15px / 14px 2px no-repeat,
 var(--panel);
 box-shadow: 0 0 0 1px rgba(255, 106, 44, 0.45);
}
.desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
.desktop-nav a {
 position: relative;
 padding: 0.4rem 0.75rem;
 color: var(--muted);
 font-size: 15px;
 border-radius: 999px;
}
.desktop-nav a:hover { color: var(--text); background: rgba(255, 106, 44, 0.08); }
.desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after {
 content: "";
 position: absolute;
 left: 0.75rem; right: 0.75rem; bottom: 0.1rem;
 height: 2px; background: var(--hot); border-radius: 2px;
}
.nav-toggle {
 display: none;
 border: 1px solid var(--line);
 background: var(--glass);
 color: var(--text);
 border-radius: 999px;
 padding: 0.35rem 0.85rem;
 min-height: 40px;
}
.nav-toggle:hover { border-color: var(--score); color: var(--score); }
.drawer {
 display: none;
 position: absolute;
 left: 0;
 right: 0;
 top: var(--header);
 background: rgba(7, 14, 24, 0.96);
 border-bottom: 1px solid var(--line);
 z-index: 45;
}
.drawer.open { display: block; }
.drawer a { display: block; padding: 0.85rem 1.25rem; border-top: 1px solid rgba(255, 106, 44, 0.18); color: var(--text); }
.drawer a.active { color: var(--score); }
.drawer a:hover { background: rgba(255, 106, 44, 0.08); }
main { padding-bottom: 1rem; }
.band { padding: 4.5rem 0; }
.band-alt { background: rgba(14, 26, 44, 0.92); border-top: 1px solid rgba(255, 106, 44, 0.16); border-bottom: 1px solid rgba(255, 106, 44, 0.16); }
.band h2, .panel-title {
 margin: 0 0 0.75rem;
 font-size: 26px;
 line-height: 1.35;
 font-weight: 700;
}
.page-title { margin: 0 0 0.7rem; font-size: 44px; line-height: 1.2; font-weight: 800; }
.lead { color: var(--muted); margin: 0 0 1rem; max-width: 42rem; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.sec-head h2 { margin: 0; }
.count { margin: 0; color: var(--score); font-family: ui-monospace, "Roboto Mono", Menlo, Consolas, monospace; font-size: 18px; }
.profile-card, .glass, .card, .score, .quote, .faq-item, .scene, .news-card, .deep-card, .mini-card, .bento-card, .side, .pace, .answer, .form-card, .sum-card {
 background: var(--glass);
 backdrop-filter: blur(16px);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.profile-card, .sum-card, .form-card { padding: 1.25rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0; }
.badge {
 border: 1px solid rgba(214, 255, 74, 0.45);
 color: var(--score);
 border-radius: 999px;
 padding: 0.05rem 0.55rem;
 font-size: 12px;
 background: rgba(214, 255, 74, 0.06);
}
.btn {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 44px; padding: 0.55rem 1.15rem;
 border-radius: 999px; border: 1px solid transparent;
 transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
 font-weight: 700;
}
.btn-hot {
 background: var(--hot); color: #1a0b05;
 box-shadow: 0 0 12px rgba(214, 255, 74, 0.85);
}
.btn-hot:hover { color: #1a0b05; transform: translateY(-1px); box-shadow: 0 0 22px rgba(214, 255, 74, 0.95); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--score); color: var(--score); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.85; cursor: default; transform: none; }
.sum-card ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.sum-card li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.72rem 0; border-bottom: 1px solid rgba(255, 106, 44, 0.25); }
.sum-card li:last-child { border-bottom: 0; }
.sum-card li span { color: var(--muted); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
label.field { display: block; color: var(--muted); font-size: 14px; }
.filter-bar { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr auto auto; gap: 0.75rem; align-items: end; }
input, select, textarea {
 width: 100%;
 background: rgba(7, 14, 24, 0.72);
 color: var(--text);
 border: 1px solid rgba(255, 106, 44, 0.4);
 border-radius: 12px;
 padding: 0.65rem 0.75rem;
 min-height: 44px;
 margin: 0.25rem 0 0;
 box-shadow: none;
 height: auto;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--score); outline: none; box-shadow: 0 0 0 3px rgba(214, 255, 74, 0.15); }
.stagger { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem 1.1rem; align-items: start; margin-bottom: 1.5rem; }
.news-card, .mini-card, .bento-card, .deep-card, .scene, .quote, .answer, .faq-item, .pace { padding: var(--pad); transition: transform 180ms ease, border-color 180ms ease; }
.news-card { position: relative; overflow: hidden; }
.news-card::after {
 content: "";
 position: absolute;
 right: -8px;
 top: 22px;
 width: 16px;
 height: 16px;
 border-radius: 50%;
 background: var(--bg);
 box-shadow: inset 1px 0 0 rgba(214, 255, 74, 0.45);
}
.stagger .news-card:nth-child(2n) { transform: translateY(1.35rem); }
.news-card:hover, .mini-card:hover, .bento-card:hover, .deep-card:hover, .scene:hover, .quote:hover, .card:hover, .answer:hover, .pace:hover, .rel:hover {
 border-color: var(--score);
}
.stagger .news-card:hover { transform: translateY(-2px); }
.stagger .news-card:nth-child(2n):hover { transform: translateY(calc(1.35rem - 2px)); }
.tag { color: var(--hot); font-size: 12px; font-weight: 700; margin: 0 0 0.35rem; }
.news-card h3, .answer h3, .rel strong { margin: 0.2rem 0 0.35rem; font-size: 20px; line-height: 1.4; font-weight: 700; }
.news-card p, .rel small { color: var(--muted); margin: 0; }
.news-card time, .rel time, .deep-meta {
 color: var(--data);
 font-family: ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
 font-size: 13px;
}
.empty { color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 1rem; }
.pager { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.pace b {
 display: block;
 font-family: ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
 font-size: 28px;
 line-height: 1.2;
 color: var(--score);
 font-weight: 700;
}
.pace span { color: var(--muted); font-size: 14px; }
.rel-list { display: grid; gap: 0.75rem; }
.rel {
 display: grid;
 grid-template-columns: 108px 1fr;
 gap: 0.9rem;
 align-items: center;
 padding: 0.95rem 1rem;
 border-radius: var(--radius);
 background: var(--glass);
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 backdrop-filter: blur(16px);
 transition: transform 180ms ease, border-color 180ms ease;
}
.rel:hover { transform: translateY(-2px); color: var(--text); }
.rel small { display: block; }
.qa { display: grid; gap: 0.75rem; }
.answer h3 { font-size: 18px; }
.faq-item { padding: 0; }
.faq-item summary { cursor: pointer; padding: 1rem 1.15rem; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--hot); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.15rem 1rem; color: var(--muted); }
.form-card { max-width: 640px; }
.form-card label { display: block; margin-bottom: 0.85rem; color: var(--muted); font-size: 14px; }
.form-tip { color: var(--score); border: 1px solid rgba(214, 255, 74, 0.45); border-radius: 12px; padding: 0.75rem 0.9rem; background: rgba(214, 255, 74, 0.06); }
.site-footer { border-top: 1px solid rgba(255, 106, 44, 0.35); padding: 2.2rem 0 2.4rem; background: #070E18; }
.foot-grid { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.foot-nav, .anchor-row { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; }
.foot-nav { justify-content: flex-end; }
.foot-nav a { color: var(--muted); padding-bottom: 0.15rem; }
.foot-nav a.active { color: var(--text); border-bottom: 2px solid var(--hot); }
.anchor-row { margin: 1rem 0 0.8rem; }
.anchor-row a { color: var(--data); font-size: 14px; }
.copy { color: var(--muted); font-size: 14px; margin: 0.2rem 0; }
.tabbar {
 display: none;
 position: fixed;
 left: 0; right: 0; bottom: 0;
 z-index: 50;
 height: calc(var(--tab) + env(safe-area-inset-bottom));
 padding-bottom: env(safe-area-inset-bottom);
 background: rgba(7, 14, 24, 0.94);
 backdrop-filter: blur(16px);
 border-top: 1px solid rgba(255, 106, 44, 0.45);
}
.tabbar a {
 flex: 1;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 2px;
 color: var(--muted);
 font-size: 11px;
 line-height: 1.2;
 min-width: 0;
}
.tabbar a span { white-space: nowrap; }
.tabbar svg { width: 20px; height: 20px; }
.tabbar a.active { color: var(--hot); }
.tabbar a:hover { color: var(--score); }
[hidden] { display: none !important; }
.desktop-nav.show-for-large { display: none !important; }
.nav-toggle.hide-for-large { display: inline-flex !important; }
.tabbar.hide-for-large { display: flex !important; }
@media (min-width: 1024px) {
 .desktop-nav.show-for-large { display: flex !important; }
 .nav-toggle.hide-for-large { display: none !important; }
 .tabbar.hide-for-large { display: none !important; }
}
@media (max-width: 1023px) {
 .band { padding: 2.25rem 0; }
 .page-title { font-size: 32px; }
 .band h2 { font-size: 24px; }
 .stagger { grid-template-columns: 1fr; margin-bottom: 0; }
 .stagger .news-card:nth-child(2n),
 .stagger .news-card:nth-child(2n):hover,
 .stagger .news-card:hover { transform: none; }
 .filter-bar { grid-template-columns: 1fr 1fr; }
 .foot-grid { flex-direction: column; align-items: flex-start; }
 .foot-nav { justify-content: flex-start; }
 body { padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); }
}
@media (max-width: 768px) {
 .intro-copy { order: 1; }
 .filter-bar { grid-template-columns: 1fr; }
 .rel { grid-template-columns: 1fr; gap: 0.2rem; }
 .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
 .page-title { font-size: 28px; }
 .logo-text { font-size: 13px; }
 .wrap { width: min(var(--max), calc(100% - 1.4rem)); }
 .pace-row .cell { width: 100% !important; }
 .news-card h3 { font-size: 18px; }
 .btn { width: auto; }
}
