/* roulang page: index */
:root {
  --ink: #120C10;
  --panel: #24161E;
  --panel-2: #1C1218;
  --grad-a: #2A0E1C;
  --grad-b: #C23B6E;
  --grad-c: #E8886A;
  --caption: #F3C96B;
  --copper: #C9845A;
  --text: #F6EFEA;
  --muted: #C9B8B0;
  --line: rgba(243,201,107,.28);
  --shadow: 0 18px 40px rgba(0,0,0,.40);
  --radius: 28px;
  --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 96px;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 12px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.25; color: var(--text); }
h1 { font-size: 2.25rem; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; line-height: 1.3; }
h3 { font-size: 1.15rem; line-height: 1.4; }
@media (min-width: 768px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 2.25rem; }
  body { font-size: 18px; }
}
::selection { background: #C23B6E; color: #fff; }
:focus-visible { outline: 2px solid var(--caption); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--caption); color: #2a140c;
  padding: 8px 12px; border-radius: 999px; z-index: 80;
}
.skip:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(18,12,16,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.head-main {
  min-height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; letter-spacing: .01em; }
.brand-name { font-size: 1.05rem; }
.medal {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffe7a3, var(--caption) 46%, #a8742a 80%);
  color: #3a2508; font-weight: 800; font-size: 13px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), 0 6px 14px rgba(0,0,0,.35);
}
.medal.lg { width: 92px; height: 92px; font-size: 40px; box-shadow: inset 0 0 0 5px rgba(255,255,255,.38), 0 10px 24px rgba(0,0,0,.4); }
.medal.md { width: 64px; height: 64px; font-size: 26px; }
.medal.sm { width: 48px; height: 48px; font-size: 18px; }
.primary-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.primary-nav a {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px;
  color: var(--muted); border-radius: 999px; font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--caption); text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.primary-nav a.nav-on { color: var(--caption); background: rgba(243,201,107,.08); }
.mega-wrap { position: relative; }
.mega-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--caption); background: transparent; color: var(--caption); font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mega-btn:hover, .mega-btn[aria-expanded="true"] { background: #f3c2d4; color: #2A0E1C; }
#megaPanel {
  display: none;
  position: absolute; right: 0; top: calc(100% - 2px);
  width: min(860px, calc(100vw - 32px));
  padding-top: 12px; z-index: 75;
}
.mega-inner {
  background: var(--panel);
  border-radius: 28px;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--panel), var(--panel)), linear-gradient(135deg, var(--caption), var(--grad-b), var(--grad-c));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow);
  padding: 22px;
}
@media (min-width: 1024px) {
  .mega-wrap:hover #megaPanel,
  .mega-wrap:focus-within #megaPanel,
  .mega-btn[aria-expanded="true"] ~ #megaPanel { display: block; }
}
@media (max-width: 1023px) {
  .head-main { flex-wrap: wrap; padding: 10px 0; }
  .primary-nav { order: 3; width: 100%; }
  .mega-wrap { margin-left: auto; }
  #megaPanel { position: static; width: 100%; padding-top: 8px; }
  .mega-btn[aria-expanded="true"] ~ #megaPanel { display: block; }
}
.mega-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 18px; }
@media (max-width: 800px) { .mega-grid { grid-template-columns: 1fr; } }
.mega-card {
  display: block; padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--panel-2); margin-bottom: 10px; min-height: 44px;
  transition: transform .2s ease, border-color .2s ease;
}
.mega-card:hover { transform: translateY(-2px); border-color: var(--caption); }
.mega-card strong { display: block; }
.mega-card span, .mega-row span { color: var(--muted); font-size: .92rem; }
.mega-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  min-height: 44px; border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mega-row:hover { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.mega-home {
  display: flex; justify-content: center; margin-top: 12px; color: var(--caption); min-height: 44px; align-items: center; font-weight: 700;
}
.mega-home:hover { text-decoration: underline; text-decoration-color: var(--caption); }
.bg-brand {
  background: linear-gradient(115deg, #2A0E1C 0%, #4a1830 46%, #C23B6E 78%, #E8886A 100%);
}
.bg-ink { background: var(--ink); }
.bg-alt { background: var(--panel-2); }
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.rule { width: 72px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--caption), var(--copper)); margin: 14px 0 18px; }
.lead { color: var(--muted); max-width: 760px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--caption);
  background: rgba(18,12,16,.35); font-weight: 700; margin-bottom: 16px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 800; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}
.btn-main { background: linear-gradient(90deg, #C23B6E, #E8886A); color: #fff; box-shadow: 0 10px 24px rgba(194,59,110,.28); }
.btn-main:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-main:active { transform: translateY(0); filter: brightness(.98); }
.btn-ghost { background: transparent; color: var(--caption); border-color: var(--caption); }
.btn-ghost:hover { background: #f3c2d4; color: #2A0E1C; transform: translateY(-2px); }
.hero-copy p { color: #f6efeacc; }
.hero-medal {
  background: var(--panel); border: 1px solid var(--line); border-radius: 32px;
  box-shadow: var(--shadow); padding: 28px;
}
.ribbon {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #2a140c;
  background: linear-gradient(90deg, #e7b08a, var(--copper));
  border-radius: 999px; padding: 6px 14px; min-height: 36px;
}
.capbar {
  margin-top: 16px; background: #140e0c; color: var(--caption);
  border-left: 4px solid var(--caption); border-radius: 14px; padding: 12px 14px;
}
.badge {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--caption); background: rgba(243,201,107,.08);
  font-size: .92rem; font-weight: 700;
}
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 24px;
}
@media (min-width: 1024px) { .card { padding: 32px; } }
.card:hover { border-color: rgba(243,201,107,.55); }
a.card { display: block; transition: transform .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-2px); }
.soft { color: var(--muted); }
.stars { color: var(--caption); letter-spacing: 2px; font-size: 1rem; }
.win {
  background: linear-gradient(180deg, #7a274c 0%, #3a1526 100%);
  border-radius: 28px; padding: 28px; border: 1px solid rgba(243,201,107,.35); box-shadow: var(--shadow);
}
.dim {
  background: #161014; border-radius: 28px; padding: 28px; border: 1px solid var(--line);
}
.rowline { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.scene {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 20px 22px; margin-bottom: 14px;
}
.idx {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(180deg, #e7b08a, var(--copper)); color: #2a140c;
}
.review { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 1024px) {
  .review:nth-child(2) { margin-top: 28px; }
  .review:nth-child(3) { margin-top: 10px; }
}
.news-main { min-height: 100%; }
.time-row {
  display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: center;
  min-height: 52px; border-bottom: 1px solid var(--line); padding: 8px 0;
}
.time-row:hover strong { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
details.faq {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 6px 18px; margin-bottom: 12px;
}
details.faq[open] { border-color: var(--caption); }
details.faq summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 800; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--caption); font-size: 1.4rem; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); padding-bottom: 12px; }
.seal {
  background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 18px;
  display: flex; gap: 12px; align-items: flex-start; min-height: 44px;
}
.podium { display: grid; gap: 16px; }
@media (min-width: 1024px) {
  .podium { grid-template-columns: 1fr 1.12fr 1fr; align-items: end; }
  .podium .first { transform: translateY(-16px); }
}
.rankbar {
  display: flex; align-items: center; gap: 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 24px; padding: 14px 16px; min-height: 76px;
  transition: transform .2s ease, border-color .2s ease;
}
.rankbar:hover { transform: translateY(-2px); border-color: var(--caption); }
.bigbadge {
  background: var(--panel); border: 1px solid var(--line); border-radius: 40px; padding: 28px;
  box-shadow: var(--shadow); min-height: 180px;
}
.mag {
  display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 18px 20px; margin-bottom: 12px;
  transition: transform .2s ease;
}
.mag:hover { transform: translateY(-2px); border-color: var(--caption); }
.editor-main {
  border-radius: 32px; padding: 32px; min-height: 100%;
  background: linear-gradient(145deg, #2A0E1C, #C23B6E 70%, #E8886A);
  box-shadow: var(--shadow);
}
.editor-side a {
  display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; min-height: 44px;
}
.editor-side a:hover { border-color: var(--caption); }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 8px 0 18px; }
.step + .step { border-top: 1px dashed var(--line); padding-top: 18px; }
.mosaic { display: grid; gap: 16px; }
@media (min-width: 1024px) {
  .mosaic { grid-template-columns: 1.25fr 1fr 1fr; }
  .mosaic a:first-child { grid-row: span 2; min-height: 280px; }
}
.entry {
  background: var(--panel); border: 1px solid var(--line); border-radius: 32px; padding: 28px; box-shadow: var(--shadow);
}
.entry a { color: var(--caption); font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.entry a:hover { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: #1a1016; border-top: 1px solid var(--line);
}
.dock-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.dock-short { display: inline; font-weight: 800; }
.dock-long { display: none; }
@media (min-width: 640px) {
  .dock-short { display: none; }
  .dock-long { display: inline; }
}
.site-footer { background: #0e090c; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.3fr .9fr .9fr 1fr; } }
.site-footer a { color: var(--muted); display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--caption); text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.age-line { color: var(--caption); font-weight: 800; }
ul.clean { margin: 8px 0 0; padding: 0; list-style: none; }
ul.clean li { padding: 6px 0 6px 18px; position: relative; color: var(--muted); }
ul.clean li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--caption); position: absolute; left: 0; top: 14px; }
.linkish:hover { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
@media (max-width: 520px) {
  .container { width: calc(100% - 24px); }
  .scene, .mag, .step { grid-template-columns: 56px 1fr; }
  .time-row { grid-template-columns: 92px 1fr; }
  h1 { font-size: 2rem; }
  .hero-medal { padding: 20px; }
  .medal.lg { width: 76px; height: 76px; font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
  --ink: #120C10;
  --panel: #24161E;
  --panel-2: #1C1218;
  --grad-a: #2A0E1C;
  --grad-b: #C23B6E;
  --grad-c: #E8886A;
  --caption: #F3C96B;
  --copper: #C9845A;
  --text: #F6EFEA;
  --muted: #C9B8B0;
  --line: rgba(243,201,107,.28);
  --shadow: 0 18px 40px rgba(0,0,0,.40);
  --radius: 28px;
  --header: 76px;
}
html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  font-size: 18px;
  line-height: 1.8;
  padding-bottom: 24px;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration-color: var(--caption); }
:focus-visible { outline: 2px solid var(--caption); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(18,12,16,.96);
  border-bottom: 1px solid var(--line);
}
.head-main {
  min-height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: nowrap;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; letter-spacing: .01em; }
.brand-name { font-size: 1.05rem; color: var(--text); }
.medal {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #ffe7a3, var(--caption) 46%, var(--copper));
  color: #2A0E1C; font-weight: 800; flex: 0 0 auto;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 6px 14px rgba(0,0,0,.35);
}
.medal.lg { width: 74px; height: 74px; font-size: 1.7rem; }
.primary-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.primary-nav a {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px;
  color: var(--muted); border-radius: 999px; font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--caption); text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.primary-nav a.nav-on { color: var(--caption); background: rgba(243,201,107,.08); }
.mega-wrap { position: relative; margin-left: 8px; }
.mega-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--caption); background: transparent; color: var(--caption); font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mega-btn:hover, .mega-btn[aria-expanded="true"] { background: #f3c2d4; color: #2A0E1C; }
.mega-btn:active { transform: translateY(0); }
#megaPanel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(680px, 92vw);
  z-index: 80;
}
.mega-wrap:hover #megaPanel,
.mega-wrap:focus-within #megaPanel,
.mega-btn[aria-expanded="true"] + #megaPanel,
.mega-btn[aria-expanded="true"] ~ #megaPanel { display: block; }
.mega-inner {
  background: var(--panel);
  border-radius: 28px;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--panel), var(--panel)), linear-gradient(135deg, var(--caption), var(--grad-b), var(--grad-c));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow);
  padding: 22px;
}
.mega-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 18px; }
.mega-card {
  display: block; padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--panel-2); margin-bottom: 10px; min-height: 44px;
  transition: transform .2s ease, border-color .2s ease;
}
.mega-card:hover { transform: translateY(-2px); border-color: var(--caption); text-decoration: none; }
.mega-card strong, .mega-row strong { display: block; color: var(--text); }
.mega-card span, .mega-row span { color: var(--muted); font-size: .92rem; }
.mega-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  min-height: 44px; border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mega-row:hover strong { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.mega-home {
  display: flex; justify-content: center; margin-top: 12px; color: var(--caption);
  min-height: 44px; align-items: center; font-weight: 700;
}
.mega-home:hover { text-decoration: underline; text-decoration-color: var(--caption); }
.bg-brand { background: linear-gradient(115deg, #2A0E1C 0%, #4a1830 46%, #C23B6E 78%, #E8886A 100%); }
.section { padding: 72px 0; }
.section.tight { padding: 28px 0 36px; }
.section.mid { padding: 56px 0; }
.band-ink { background: var(--ink); }
.band-alt { background: var(--panel-2); }
.lead { color: var(--muted); max-width: 760px; margin: 0; line-height: 1.8; }
h1 { font-weight: 800; line-height: 1.2; margin: 8px 0 12px; font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-weight: 800; line-height: 1.25; margin: 0 0 16px; font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
h3 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.35; font-weight: 800; }
p { margin: 0 0 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 800; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}
.btn-main { background: linear-gradient(90deg, #C23B6E, #E8886A); color: #fff; box-shadow: 0 10px 24px rgba(194,59,110,.28); }
.btn-main:hover { filter: brightness(1.12); transform: translateY(-2px); text-decoration: none; }
.btn-main:active { transform: translateY(0); filter: brightness(.98); }
.btn-ghost { background: transparent; color: var(--caption); border-color: var(--caption); }
.btn-ghost:hover { background: #f3c2d4; color: #2A0E1C; transform: translateY(-2px); text-decoration: none; }
.badge {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--caption); background: rgba(243,201,107,.08);
  font-size: .92rem; font-weight: 700; margin: 0 8px 8px 0;
}
.badge-row { display: flex; flex-wrap: wrap; align-items: center; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 32px;
}
.cat-head-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 22px;
  align-items: end;
}
.caption-bar {
  margin-top: 14px;
  background: var(--caption);
  color: #2A0E1C;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: .02em;
  max-width: 520px;
}
.sort-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sort-chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: transparent;
  display: inline-flex; align-items: center; font-weight: 800;
}
.sort-chip.is-on { color: #2A0E1C; background: var(--caption); border-color: var(--caption); }
.rank-list { display: flex; flex-direction: column; gap: 16px; }
.rank-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.rank-card:hover { transform: translateY(-2px); border-color: rgba(243,201,107,.55); }
.rank-card.top {
  border-color: var(--caption);
  background: linear-gradient(180deg, #3a1828 0%, var(--panel) 58%);
  padding: 32px;
}
.medal-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ribbon {
  background: linear-gradient(180deg, #e0a57a, var(--copper) 55%, #8a4e38);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  line-height: 1.2;
  text-align: center;
  min-width: 72px;
  padding: 6px 8px 12px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}
.rank-card h3 a:hover { color: var(--caption); text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.rank-meta { color: var(--muted); margin-bottom: 8px; }
.more-link { margin-top: 8px; }
.rule-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.rule-list { margin: 0; padding: 0; list-style: none; }
.rule-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.num-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(243,201,107,.12); color: var(--caption); font-weight: 800;
  border: 1px solid var(--line);
}
.data-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.data-cell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}
.data-cell strong { display: block; color: var(--caption); font-size: 1.8rem; line-height: 1.1; font-weight: 800; }
.data-cell span { color: var(--muted); font-size: .95rem; }
.news-list { display: flex; flex-direction: column; }
.time-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.time-row:hover strong { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.stamp { color: var(--caption); font-weight: 800; font-variant-numeric: tabular-nums; }
details.faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 6px 18px;
  margin-bottom: 12px;
}
details.faq[open] { border-color: var(--caption); }
details.faq summary {
  min-height: 52px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-weight: 800; gap: 12px; list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--caption); font-size: 1.4rem; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); padding-bottom: 12px; }
.close-band {
  border-radius: 32px;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: linear-gradient(115deg, #2A0E1C 0%, #4a1830 42%, #C23B6E 78%, #E8886A 100%);
  box-shadow: var(--shadow);
}
.close-band p { color: #f6efeacc; margin: 0; max-width: 640px; }
.site-footer { background: #0d090c; border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.1fr; gap: 28px; }
.site-footer h3 { margin: 0 0 10px; font-size: 1rem; color: var(--text); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--caption); text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.soft { color: var(--muted); margin: 0; }
.mt-3 { margin-top: 12px; }
.age-line { color: var(--caption); font-weight: 800; letter-spacing: .04em; margin: 0 0 8px; }
.legal {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted);
}
.legal p { margin: 0; }
.more-block { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.slim {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #1a1016;
}
.slim:hover { border-color: var(--caption); }
@media (max-width: 1024px) {
  .head-main { flex-wrap: wrap; }
  .primary-nav { order: 3; width: 100%; }
  .mega-wrap { margin-left: auto; }
  #megaPanel { position: static; width: 100%; margin: 8px 0 12px; }
  .mega-grid { grid-template-columns: 1fr; }
  .cat-head-grid, .rule-grid { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .close-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .card, .rank-card.top { padding: 22px; }
  .time-row, .slim { grid-template-columns: 1fr; gap: 4px; }
  .data-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { width: min(1160px, calc(100% - 20px)); }
  .rank-card { grid-template-columns: 1fr; padding: 20px; }
  .medal-col { flex-direction: row; justify-content: flex-start; }
  .ribbon { clip-path: none; border-radius: 999px; padding: 6px 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .primary-nav a { padding: 0 10px; }
  h1 { font-size: 1.7rem; }
}

/* roulang page: category2 */
:root {
 --ink: #120C10;
 --panel: #24161E;
 --panel-2: #1C1218;
 --grad-a: #2A0E1C;
 --grad-b: #C23B6E;
 --grad-c: #E8886A;
 --caption: #F3C96B;
 --copper: #C9845A;
 --text: #F6EFEA;
 --muted: #C9B8B0;
 --line: rgba(243,201,107,.28);
 --shadow: 0 18px 40px rgba(0,0,0,.40);
 --radius: 28px;
 --header: 76px;
}
/* roulang page: a-2 */
:root {
 --ink: #120C10;
 --panel: #24161E;
 --panel-2: #1C1218;
 --grad-a: #2A0E1C;
 --grad-b: #C23B6E;
 --grad-c: #E8886A;
 --caption: #F3C96B;
 --copper: #C9845A;
 --text: #F6EFEA;
 --muted: #C9B8B0;
 --line: rgba(243,201,107,.28);
 --shadow: 0 18px 40px rgba(0,0,0,.40);
 --radius: 28px;
 --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--ink);
 color: var(--text);
 font-family: "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
 font-size: 18px;
 line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
 position: sticky; top: 0; z-index: 70;
 background: rgba(18,12,16,.96);
 border-bottom: 1px solid var(--line);
}
.head-main {
 min-height: var(--header);
 display: flex; align-items: center; justify-content: space-between; gap: 16px;
 flex-wrap: wrap; padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; letter-spacing: .01em; }
.brand-name { font-size: 1.05rem; color: var(--text); }
.medal {
 width: 36px; height: 36px; border-radius: 50%;
 display: inline-flex; align-items: center; justify-content: center; flex: none;
 background: radial-gradient(circle at 40% 35%, #ffe7a3, var(--caption) 46%, var(--copper));
 color: #2A0E1C; font-weight: 800; font-size: .95rem;
 border: 1px solid rgba(255,255,255,.35);
 box-shadow: inset 0 -4px 0 rgba(120,60,20,.28), 0 6px 14px rgba(0,0,0,.35);
}
.primary-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; order: 3; width: 100%; }
.primary-nav a {
 min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px;
 color: var(--muted); border-radius: 999px; font-size: 0.95rem;
 transition: color .2s ease, background .2s ease;
}
.primary-nav a:hover { color: var(--caption); text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.primary-nav a.nav-on, .primary-nav a[aria-current="page"] { color: var(--caption); background: rgba(243,201,107,.08); }
.mega-wrap { position: relative; margin-left: auto; }
.mega-btn {
 min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
 border: 1px solid var(--caption); background: transparent; color: var(--caption); font-weight: 700;
 transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mega-btn:hover, .mega-btn:focus-visible, .mega-btn[aria-expanded="true"] { background: #f3c2d4; color: #2A0E1C; }
#megaPanel { display: none; z-index: 80; margin-top: 8px; }
.mega-wrap:hover #megaPanel,
.mega-wrap:focus-within #megaPanel,
.mega-btn[aria-expanded="true"] ~ #megaPanel { display: block; }
.mega-inner {
 background: var(--panel);
 border-radius: 28px;
 border: 1px solid transparent;
 background-image: linear-gradient(var(--panel), var(--panel)), linear-gradient(135deg, var(--caption), var(--grad-b), var(--grad-c));
 background-origin: border-box;
 background-clip: padding-box, border-box;
 box-shadow: var(--shadow);
 padding: 22px;
}
.mega-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.mega-card {
 display: block; padding: 14px; border-radius: 18px; border: 1px solid var(--line);
 background: var(--panel-2); margin-bottom: 10px; min-height: 44px;
 transition: transform .2s ease, border-color .2s ease;
}
.mega-card:hover { transform: translateY(-2px); border-color: var(--caption); }
.mega-card strong, .mega-row strong { display: block; color: var(--text); }
.mega-card span, .mega-row span { color: var(--muted); font-size: .92rem; }
.mega-row {
 display: flex; justify-content: space-between; gap: 12px; align-items: center;
 min-height: 44px; border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mega-row:hover strong { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.mega-home {
 display: flex; justify-content: center; margin-top: 12px; color: var(--caption); min-height: 44px; align-items: center; font-weight: 700;
}
.mega-home:hover { text-decoration: underline; text-decoration-color: var(--caption); }
.bg-brand { background: linear-gradient(115deg, #2A0E1C 0%, #4a1830 46%, #C23B6E 78%, #E8886A 100%); }
.section { padding: 72px 0; }
.lead { color: var(--muted); max-width: 760px; line-height: 1.85; }
.btn {
 display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
 border-radius: 999px; font-weight: 800; border: 1px solid transparent; cursor: pointer;
 transition: transform .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}
.btn-main { background: linear-gradient(90deg, #C23B6E, #E8886A); color: #fff; box-shadow: 0 10px 24px rgba(194,59,110,.28); }
.btn-main:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-main:active { transform: translateY(0); filter: brightness(.98); }
.btn-ghost { background: transparent; color: var(--caption); border-color: var(--caption); }
.btn-ghost:hover { background: #f3c2d4; color: #2A0E1C; transform: translateY(-2px); }
.badge {
 display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px;
 border: 1px solid var(--line); color: var(--caption); background: rgba(243,201,107,.08);
 font-size: .92rem; font-weight: 700;
}
.card {
 background: var(--panel); border: 1px solid var(--line); border-radius: 28px;
 box-shadow: var(--shadow); padding: 32px;
}
.card:hover { border-color: rgba(243,201,107,.55); }
a.card { display: block; transition: transform .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-2px); }
.rowline { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.time-row {
 display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: center;
 min-height: 52px; border-bottom: 1px solid var(--line); padding: 8px 0;
}
.time-row:hover strong { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
details.faq, details.more-fold {
 background: var(--panel-2); border: 1px solid var(--line); border-radius: 22px; padding: 6px 18px;
}
details.more-fold[open], details.faq[open] { border-color: var(--caption); }
details.faq summary, details.more-fold summary {
 min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 800; gap: 12px;
 list-style: none;
}
details.faq summary::-webkit-details-marker, details.more-fold summary::-webkit-details-marker { display: none; }
details.more-fold summary::after { content: "+"; color: var(--caption); font-size: 1.4rem; }
details.more-fold[open] summary::after { content: "–"; }
.bigbadge {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: 32px;
 box-shadow: var(--shadow);
 padding: 28px;
 min-height: 148px;
}
.soft { color: var(--muted); }
.age-line { color: var(--caption); font-weight: 800; letter-spacing: .04em; }
.site-footer {
 background: var(--panel-2);
 border-top: 1px solid var(--line);
 padding: 64px 0 36px;
}
.foot-grid { display: grid; gap: 28px; }
.site-footer h3 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; }
.site-footer a { color: var(--muted); }
.site-footer a.brand { color: var(--text); }
.site-footer .foot-grid a:hover { color: var(--caption); text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.sub-strip {
 margin-top: 28px;
 background: rgba(18,12,16,.78);
 color: var(--caption);
 border-left: 8px solid var(--caption);
 border-radius: 18px;
 padding: 16px 18px;
 font-weight: 800;
 letter-spacing: .06em;
 line-height: 1.6;
 box-shadow: inset 0 0 0 1px var(--line);
}
.ribbon {
 display: inline-flex; align-items: center; gap: 8px;
 background: linear-gradient(90deg, var(--copper), #e2b08a);
 color: #2A0E1C; font-weight: 800;
 border-radius: 999px; min-height: 36px; padding: 0 14px;
}
.group-card { background: var(--panel); }
.entry {
 display: block; padding: 16px 0; border-top: 1px solid var(--line);
 transition: color .2s ease;
}
.entry:hover strong { text-decoration: underline; text-decoration-color: var(--caption); text-underline-offset: 4px; }
.cmp-win {
 background: linear-gradient(165deg, #2A0E1C 0%, #8d2a52 58%, #E8886A 140%);
 border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px;
}
.cmp-dim {
 background: var(--panel); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px;
}
.cmp-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(243,201,107,.22); }
.cmp-row b { color: var(--caption); font-weight: 800; }
.scene-bar {
 display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center;
 background: var(--panel); border: 1px solid var(--line); border-radius: 28px;
 box-shadow: var(--shadow); padding: 24px 28px;
}
.step-medal {
 width: 64px; height: 64px; border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
 background: radial-gradient(circle at 40% 35%, #ffe7a3, var(--caption) 48%, var(--copper));
 color: #2A0E1C; font-weight: 800; font-size: 1.15rem;
}
.scene-line {
 margin-top: 10px; color: var(--caption); background: #120C10; border-radius: 14px;
 padding: 10px 14px; border: 1px solid var(--line); font-weight: 700;
}
.note-band { border-radius: 32px; padding: 36px 28px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
 outline: 2px solid var(--caption); outline-offset: 3px;
}
@media (min-width: 768px) {
 .section { padding: 96px 0; }
 .foot-grid { grid-template-columns: 1.3fr .8fr .9fr 1.1fr; }
 .scene-bar { padding: 28px 32px; }
}
@media (min-width: 1024px) {
 .head-main { flex-wrap: nowrap; padding: 0; }
 .primary-nav { order: 0; width: auto; flex: 1; justify-content: center; }
 .mega-wrap { width: auto; margin-left: 0; }
 .mega-grid { grid-template-columns: 1.25fr .85fr; }
 #megaPanel { position: absolute; right: 0; top: calc(100% + 12px); width: min(720px, 70vw); margin-top: 0; }
}
@media (max-width: 1023px) {
 .mega-wrap { width: 100%; display: flex; flex-wrap: wrap; justify-content: flex-end; }
 #megaPanel { position: static; width: 100%; }
}
@media (max-width: 520px) {
 .container { width: min(1160px, calc(100% - 20px)); }
 .card, .bigbadge, .cmp-win, .cmp-dim { padding: 22px; }
 .scene-bar { grid-template-columns: 56px 1fr; padding: 18px; }
 .step-medal { width: 52px; height: 52px; }
 .brand-name { font-size: .98rem; }
}
