/* roulang page: index */
:root {
  --bg: #070D18;
  --bg-2: #0B1424;
  --surface: #101A2E;
  --indigo: #16325C;
  --cyan: #3DDCFF;
  --cyan-2: #9AEAFF;
  --magenta: #FF4D8D;
  --copper: #C6A15B;
  --text: #E7F3F8;
  --muted: #93A8B8;
  --line: rgba(190, 240, 255, .24);
  --glass: rgba(214, 242, 255, .1);
  --glass-strong: rgba(16, 32, 58, .14);
  --radius-xl: 20px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --glow: 0 0 0 1px rgba(61, 220, 255, .9), 0 0 24px rgba(61, 220, 255, .28);
  --pad: 88px;
  --max: 1180px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: #D7F6FF; text-decoration-color: rgba(61, 220, 255, .45); text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
::selection { background: rgba(61, 220, 255, .28); color: #fff; }
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 80;
  background: var(--cyan); color: #071018; padding: 8px 12px; border-radius: 12px;
}
.skip:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  min-height: 72px;
  background: rgba(7, 13, 24, .62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 13, 24, .9);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.nav-bar { min-height: 72px; display: flex; align-items: center; gap: 18px; position: relative; }
.logo { display: flex; flex-direction: column; gap: 1px; text-decoration: none; min-width: 0; }
.logo-main { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--text); letter-spacing: .01em; }
.logo-sub { font-size: 11px; color: var(--muted); line-height: 1.3; }
.age-mark {
  flex: 0 0 auto;
  min-width: 44px; height: 28px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--magenta);
  border: 1px solid rgba(255, 77, 141, .55);
  background: rgba(255, 77, 141, .08);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.nav-panel { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  min-height: 44px; padding: 0 10px;
  display: inline-flex; align-items: center;
  border-radius: 12px; font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); background: rgba(61, 220, 255, .08); }
.nav-links a.active { color: #071018; background: var(--cyan); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cmd-search {
  display: flex; align-items: center; gap: 8px;
  height: 44px; min-width: 210px; padding: 0 12px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cmd-search span { color: var(--cyan); }
.cmd-search input {
  width: 100%; border: 0; outline: 0; background: transparent; color: var(--text);
}
.cmd-search input::placeholder { color: #7E97A8; }
.kbd-chip {
  min-height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center;
  border-radius: 999px; text-decoration: none;
  color: var(--cyan-2); font-size: 12px;
  border: 1px solid rgba(61, 220, 255, .45);
  background: rgba(61, 220, 255, .08);
  box-shadow: inset 0 -2px 0 rgba(7, 13, 24, .35);
}
.kbd-chip:hover { color: #071018; background: var(--cyan); }
.btn {
  min-height: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyan); color: #071018; box-shadow: 0 0 18px rgba(61, 220, 255, .35); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 0 28px rgba(61, 220, 255, .5); color: #071018; }
.btn-ghost {
  background: rgba(214, 242, 255, .08);
  color: var(--cyan-2);
  border-color: rgba(61, 220, 255, .55);
  backdrop-filter: blur(16px);
}
.btn-ghost:hover { background: rgba(61, 220, 255, .16); color: #fff; }
.icon-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--glass); color: var(--text);
}
.hero { padding: 48px 0 36px; position: relative; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 220px at 88% 0%, rgba(61, 220, 255, .1), transparent 70%),
    linear-gradient(180deg, rgba(22, 50, 92, .28), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; align-items: stretch; }
.kicker { margin: 0 0 8px; color: var(--cyan); font-size: 13px; letter-spacing: .08em; }
h1 { margin: 0; font-size: 44px; line-height: 1.2; font-weight: 760; }
.subline { margin: 12px 0 0; color: var(--cyan-2); font-size: 18px; line-height: 1.6; max-width: 68em; }
.hero-copy p { max-width: 68em; color: var(--muted); margin: 14px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-tile {
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-height: 124px;
}
.metric-num {
  display: block; font-size: 36px; line-height: 1; font-weight: 760;
  color: var(--cyan); font-variant-numeric: tabular-nums;
}
.metric-unit { color: var(--muted); font-size: 13px; margin-left: 4px; }
.metric-label { display: block; margin-top: 10px; color: var(--text); }
.metric-tile.is-hot .metric-num { color: var(--magenta); }
.node-strip {
  list-style: none; margin: 22px 0 0; padding: 14px 16px;
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  border-radius: 20px;
  background: rgba(16, 26, 46, .55);
  border: 1px solid var(--line);
}
.node-strip li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.node-strip strong { color: var(--cyan); font-weight: 700; font-variant-numeric: tabular-nums; }
.node-strip a { margin-left: auto; }
.section { padding: var(--pad) 0; position: relative; }
.section + .section { box-shadow: inset 0 1px 0 rgba(61, 220, 255, .08); }
.section:nth-of-type(even) { background: var(--bg-2); }
.section-head { margin-bottom: 22px; }
h2 { margin: 0; font-size: 30px; line-height: 1.28; }
h3 { margin: 0; font-size: 21px; line-height: 1.4; }
.section-lead, .hero-copy p, .guard-card p, .faq-item p, .quick-card p { max-width: 68em; }
.section-lead { margin: 10px 0 0; color: var(--muted); }
.stage-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.stage-item {
  min-height: 64px; padding: 10px 8px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; text-decoration: none; color: var(--text);
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  position: relative;
}
.stage-item::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px;
  background: var(--cyan); opacity: .7;
}
.stage-item small { color: var(--muted); font-size: 12px; }
.stage-item:hover { transform: translateY(-4px); border-color: rgba(61, 220, 255, .7); box-shadow: var(--glow); color: #fff; }
.matrix { display: grid; grid-template-columns: 1.5fr .78fr .78fr; grid-template-areas: "main sideA sideB" "wide wide wide"; gap: 16px; }
.frame-main { grid-area: main; }
.frame-a { grid-area: sideA; }
.frame-b { grid-area: sideB; }
.frame-wide { grid-area: wide; }
.frame-card, .pick-card, .vs-card, .rank-item, .mile, .scene-card, .entry-board, .guard-card, .quick-card, .faq-item, .article-card, .intent-panel {
  background: var(--glass);
  border: 1px solid rgba(198, 161, 91, .38);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.frame-card { padding: 18px; min-height: 180px; display: flex; }
.frame-card a { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.frame-card:hover, .pick-card:hover, .article-card:hover, .guard-card:hover, .quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 220, 255, .75);
  box-shadow: var(--glow);
}
.frame-card, .pick-card, .article-card, .guard-card, .quick-card, .scene-card, .vs-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-tag { align-self: flex-start; }
.frame-card p, .pick-card p, .article-card p, .scene-card p, .rank-item p, .mile p { margin: 0; color: var(--muted); }
.frame-wide { min-height: 140px; }
.pick-wall {
  display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 28px;
  scroll-snap-type: x mandatory;
}
.pick-card { flex: 0 0 250px; scroll-snap-align: start; padding: 12px; }
.pick-card:nth-child(3n+2) { transform: translateY(18px); }
.pick-card:hover { transform: translateY(-4px); }
.pick-card a { color: inherit; text-decoration: none; display: block; }
.pick-card h3 { margin: 12px 0 6px; font-size: 18px; }
.cover {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  display: flex; align-items: flex-end;
  padding: 12px;
  background:
    linear-gradient(160deg, rgba(22, 50, 92, .95), rgba(7, 13, 24, .92));
  border: 1px solid rgba(61, 220, 255, .22);
  color: var(--text); font-weight: 700;
}
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-card { padding: 18px; }
.vs-card h3 { margin-bottom: 12px; }
.bar-row { margin-top: 12px; }
.bar-row span { display: flex; justify-content: space-between; font-size: 14px; }
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--cyan); border-radius: inherit; }
.vs-card.alt .bar i { background: #7AA2C4; }
.bar-note { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.rank-list { display: grid; gap: 10px; max-width: 820px; }
.rank-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; align-items: center; text-decoration: none; color: inherit; }
.rank-item:hover { transform: translateY(-4px); border-color: rgba(61, 220, 255, .75); box-shadow: var(--glow); }
.energy-dot {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(61, 220, 255, .12);
  color: var(--cyan); font-weight: 760;
  box-shadow: inset 0 0 0 1px rgba(61, 220, 255, .5);
}
.rank-item:first-child .energy-dot { color: var(--magenta); box-shadow: inset 0 0 0 1px rgba(255, 77, 141, .6); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(61, 220, 255, .8), transparent);
}
.mile { padding: 16px; position: relative; }
.mile time { display: inline-block; color: var(--cyan); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.scene-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 16px; }
.scene-side { display: grid; gap: 16px; }
.scene-card { padding: 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); }
.scene-large { min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.news-list { display: grid; gap: 8px; }
.news-item {
  display: grid; grid-template-columns: 120px 72px 1fr; gap: 12px; align-items: center;
  min-height: 64px; padding: 10px 14px;
  text-decoration: none; color: inherit;
  border-radius: 12px;
  background: rgba(214, 242, 255, .06);
  border: 1px solid transparent;
}
.news-item:hover { border-color: rgba(61, 220, 255, .55); background: rgba(61, 220, 255, .08); }
.news-item time { color: var(--muted); font-variant-numeric: tabular-nums; }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; width: fit-content;
  border: 1px solid rgba(61, 220, 255, .4); color: var(--cyan-2);
}
.badge-hot { color: var(--magenta); border-color: rgba(255, 77, 141, .5); background: rgba(255, 77, 141, .08); }
.badge-copper { color: var(--copper); border-color: rgba(198, 161, 91, .55); }
.more-wrap { margin-top: 16px; }
.entry-board { padding: 28px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; align-items: center; }
.entry-board h2 { font-size: 32px; }
.entry-link { font-size: 22px; font-weight: 760; color: var(--cyan); text-decoration: none; }
.entry-link:hover { color: #fff; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.guard-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; align-items: start; }
.guard-card { padding: 18px; }
.guard-card:nth-child(1) { min-height: 250px; }
.guard-card:nth-child(2) { min-height: 210px; }
.guard-card:nth-child(3) { min-height: 290px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-card { padding: 16px; }
.quick-card h3 { font-size: 18px; margin-bottom: 8px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0 16px; }
.faq-item summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--cyan); font-size: 22px; }
.faq-item[open] { border-color: rgba(61, 220, 255, .7); box-shadow: var(--glow); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 14px; color: var(--muted); }
.article-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.article-card { padding: 12px; }
.article-card a { color: inherit; text-decoration: none; display: block; }
.article-card h3 { margin: 10px 0 6px; font-size: 18px; }
.intent-panel { padding: 22px; border-radius: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field span { color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea {
  min-height: 44px; border-radius: 12px; padding: 10px 12px;
  border: 1px solid var(--line); background: rgba(7, 13, 24, .45); color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: var(--glow); }
.form-note { margin: 12px 0 0; color: var(--cyan); }
.site-footer { padding: 48px 0 28px; background: #080E18; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr .9fr; gap: 22px; }
.foot-brand { font-size: 18px; font-weight: 760; margin: 0 0 6px; }
.foot-grid h2 { font-size: 16px; margin: 0 0 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 6px 0; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--cyan); }
.copyright { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 1200px) {
  .nav-links a { padding: 0 8px; }
  .cmd-search { min-width: 170px; }
}
@media (max-width: 992px) {
  h1 { font-size: 38px; }
  .hero-grid, .entry-board, .guard-grid, .quick-grid, .article-row { grid-template-columns: 1fr 1fr; }
  .guard-card:nth-child(3) { grid-column: 1 / -1; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .scene-large { min-height: 280px; }
}
@media (max-width: 768px) {
  :root { --pad: 48px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 16px 16px; background: rgba(7, 13, 24, .96); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-bar.is-open .nav-panel { display: flex; }
  .nav-links, .nav-tools { flex-direction: column; align-items: stretch; }
  .cmd-search { width: 100%; }
  .hero-grid, .matrix, .vs, .timeline, .scene-grid, .entry-board, .guard-grid, .quick-grid, .article-row, .form-grid, .foot-grid { grid-template-columns: 1fr; grid-template-areas: none; }
  .frame-main, .frame-a, .frame-b, .frame-wide { grid-area: auto; }
  .timeline::before { left: 18px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pick-card, .pick-card:nth-child(3n+2) { transform: none; flex-basis: 86%; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .entry-tags { justify-content: flex-start; }
  .guard-card, .guard-card:nth-child(1), .guard-card:nth-child(2), .guard-card:nth-child(3) { min-height: 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
}
@media (max-width: 480px) {
  .hero-actions .btn, .more-wrap .btn, .intent-panel .btn { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
  .stage-bar { grid-template-columns: 1fr 1fr; }
  .logo-main { font-size: 13px; }
  .node-strip a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #070D18;
  --bg-2: #0B1424;
  --surface: #101A2E;
  --indigo: #16325C;
  --cyan: #3DDCFF;
  --cyan-2: #9AEAFF;
  --magenta: #FF4D8D;
  --copper: #C6A15B;
  --text: #E7F3F8;
  --muted: #93A8B8;
  --line: rgba(190, 240, 255, .24);
  --glass: rgba(214, 242, 255, .1);
  --glass-strong: rgba(16, 32, 58, .14);
  --radius-xl: 20px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --glow: 0 0 0 1px rgba(61, 220, 255, .9), 0 0 24px rgba(61, 220, 255, .28);
  --pad: 84px;
  --max: 1180px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(880px 280px at 100% -8%, rgba(22, 50, 92, .55), transparent 62%),
    var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: #D7F6FF; text-decoration-color: rgba(61, 220, 255, .45); text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  background: rgba(7, 13, 24, .62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 13, 24, .9);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.nav-bar { min-height: 72px; display: flex; align-items: center; gap: 18px; position: relative; }
.logo { display: flex; flex-direction: column; gap: 1px; text-decoration: none; min-width: 0; }
.logo-main {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: .01em;
  white-space: nowrap;
}
.logo-sub { font-size: 11px; color: var(--muted); line-height: 1.3; }
.age-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 77, 141, .12);
  color: var(--magenta);
  border: 1px solid rgba(255, 77, 141, .45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  flex: none;
}
.nav-panel { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); background: rgba(61, 220, 255, .08); }
.nav-links a.active { color: #071018; background: var(--cyan); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cmd-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  min-width: 210px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cmd-search span { color: var(--cyan); }
.cmd-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.cmd-search input::placeholder { color: #7E97A8; }
.kbd-chip {
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  text-decoration: none;
  color: var(--cyan-2);
  font-size: 12px;
  border: 1px solid rgba(61, 220, 255, .45);
  background: rgba(61, 220, 255, .08);
  box-shadow: inset 0 -2px 0 rgba(7, 13, 24, .35);
}
.kbd-chip:hover { color: #071018; background: var(--cyan); }
.btn {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyan); color: #071018; box-shadow: 0 0 18px rgba(61, 220, 255, .35); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 0 28px rgba(61, 220, 255, .5); color: #071018; }
.btn-ghost {
  background: rgba(214, 242, 255, .08);
  color: var(--cyan-2);
  border-color: rgba(61, 220, 255, .55);
  backdrop-filter: blur(16px);
}
.btn-ghost:hover { background: rgba(61, 220, 255, .16); color: #fff; }
.icon-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  align-items: center;
  justify-content: center;
}
h1, h2, h3 { font-weight: 760; letter-spacing: 0; }
h1 { font-size: 44px; line-height: 1.25; margin: 8px 0 12px; }
h2 { font-size: 30px; line-height: 1.35; margin: 0; }
h3 { font-size: 21px; line-height: 1.45; margin: 0; }
p { margin: 0; }
.section { padding: var(--pad) 0; position: relative; }
.section + .section { box-shadow: inset 0 1px 0 rgba(61, 220, 255, .08); }
.section:nth-of-type(even) { background: var(--bg-2); }
.section-head { margin-bottom: 22px; max-width: 68em; }
.section-head h2 { display: flex; align-items: center; gap: 10px; }
.section-head h2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(61, 220, 255, .85);
  flex: none;
}
.section-lead { margin: 10px 0 0; color: var(--muted); max-width: 68em; }
.cat-head { padding: 48px 0 36px; }
.cat-head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.eyebrow { margin: 0; color: var(--cyan-2); font-size: 14px; letter-spacing: .04em; }
.cat-head .subline { max-width: 40em; color: var(--muted); }
.readonly-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.readonly-badges li {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.tool-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(16, 26, 46, .86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tool-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tool-label { color: var(--muted); font-size: 13px; }
.result-count { color: var(--cyan); font-variant-numeric: tabular-nums; font-weight: 700; }
.chip-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(214, 242, 255, .04);
  color: var(--text);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.chip-btn:hover { border-color: rgba(61, 220, 255, .7); color: #fff; }
.chip-btn:active { transform: translateY(1px); }
.chip-btn[aria-pressed="true"] {
  background: var(--cyan);
  color: #071018;
  border-color: transparent;
  box-shadow: 0 0 16px rgba(61, 220, 255, .28);
}
.entry-list { display: grid; gap: 14px; }
.entry-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid rgba(198, 161, 91, .32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 220, 255, .7);
  box-shadow: var(--glow);
}
.entry-cover {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
}
.entry-cover svg { width: 100%; height: 100%; }
.entry-cover text { font-family: var(--font); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.entry-body p { margin-top: 8px; color: var(--muted); max-width: 68em; }
.entry-body h3 a { color: var(--text); text-decoration: none; }
.entry-body h3 a:hover { color: var(--cyan); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--cyan-2);
  border: 1px solid rgba(61, 220, 255, .4);
  background: rgba(61, 220, 255, .08);
}
.badge-night {
  color: var(--magenta);
  border-color: rgba(255, 77, 141, .45);
  background: rgba(255, 77, 141, .1);
}
.badge-copper {
  color: var(--copper);
  border-color: rgba(198, 161, 91, .5);
  background: rgba(198, 161, 91, .08);
}
.empty-note { margin-top: 14px; color: var(--muted); }
.more-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-mini {
  padding: 14px 16px;
  min-height: 92px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.metric-mini strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.metric-mini span { color: var(--muted); font-size: 14px; }
.compare-block + .compare-block { margin-top: 18px; }
.compare-block h3 { margin-bottom: 10px; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-card {
  padding: 16px 16px 14px;
  border-radius: var(--radius-lg);
  background: rgba(16, 26, 46, .72);
  border: 1px solid var(--line);
}
.compare-card p { color: var(--muted); margin: 6px 0 10px; }
.meter { height: 8px; border-radius: 999px; background: rgba(61, 220, 255, .12); overflow: hidden; }
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(61, 220, 255, .45);
}
.meter-dim span { background: #7F93A8; box-shadow: none; }
.meter-night span { background: var(--magenta); box-shadow: 0 0 10px rgba(255, 77, 141, .35); width: 70%; }
.compare-card em { display: block; margin-top: 8px; font-style: normal; color: var(--cyan-2); font-variant-numeric: tabular-nums; }
.news-list { display: grid; }
.news-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
}
.news-row time { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-row:hover strong { color: var(--cyan); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  min-height: 56px;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}
.faq-q::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; }
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-item p { display: none; color: var(--muted); max-width: 68em; padding-bottom: 14px; }
.faq-item.is-open p { display: block; }
.guard-line { margin-top: 28px; color: var(--muted); max-width: 68em; }
.narrow-form {
  max-width: 560px;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.narrow-form h3 { margin-bottom: 4px; }
.narrow-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.narrow-form input, .narrow-form select, .narrow-form textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 13, 24, .55);
  padding: 8px 12px;
}
.narrow-form textarea { min-height: 96px; resize: vertical; }
.narrow-form input:focus, .narrow-form select:focus, .narrow-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: var(--glow);
}
.narrow-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-note { color: var(--cyan-2); }
.site-footer { padding: 48px 0 36px; background: #060A14; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.4fr .8fr; gap: 28px; }
.foot-brand { margin: 0 0 4px; font-weight: 700; }
.foot-grid h2 { font-size: 16px; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 6px 0; }
.foot-grid a { text-decoration: none; color: var(--muted); }
.foot-grid a:hover { color: var(--cyan); }
.foot-grid p { color: var(--muted); margin: 8px 0 0; }
.copyright { color: var(--muted); }
@media (max-width: 1200px) {
  .cmd-search { min-width: 160px; }
  .logo-main { font-size: 14px; }
  .entry-card { grid-template-columns: 240px 1fr; }
}
@media (max-width: 992px) {
  :root { --pad: 72px; }
  .kbd-chip { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .entry-card { grid-template-columns: 220px 1fr; }
  .cat-head-grid, .more-row { align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --pad: 48px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .icon-btn { display: inline-flex; }
  #searchToggle { margin-left: auto; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px 16px;
    background: rgba(7, 13, 24, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-panel.is-open { display: flex; }
  .nav-links, .nav-tools { flex-direction: column; align-items: stretch; width: 100%; margin-left: 0; }
  .nav-links a, .btn, .cmd-search { width: 100%; }
  .cat-head-grid, .more-row, .compare-row, .metric-strip { display: grid; grid-template-columns: 1fr; }
  .entry-card { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 64px 1fr; }
  .news-row .badge { grid-column: 2; justify-self: start; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .logo-main { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
  .readonly-badges li, .chip-btn { padding-left: 12px; padding-right: 12px; }
  .metric-mini strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
