/* roulang page: index */
:root {
  --ink: #1E4E86;
  --ink-hover: #1A4678;
  --persimmon: #D06A45;
  --persimmon-hover: #C05E3B;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --text: #1C2836;
  --muted: #5C6B7A;
  --line: #E3EAF3;
  --ok: #2F8F6B;
  --shadow: 0 10px 28px rgba(30, 78, 134, 0.08);
  --shadow-hover: 0 16px 36px rgba(30, 78, 134, 0.12);
  --radius: 16px;
  --radius-btn: 10px;
  --radius-input: 12px;
  --header-h: 72px;
  --tab-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
}
body.has-tab { padding-bottom: 72px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; color: var(--text); }
p { margin-bottom: 0; }
::selection { background: rgba(30, 78, 134, 0.16); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: flex; align-items: baseline; min-width: 0; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }
.brand-rest { font-size: 18px; font-weight: 700; color: var(--text); }
.top-links { display: flex; align-items: center; gap: 4px; }
.top-links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.top-links a:hover { color: var(--ink); background: rgba(30, 78, 134, 0.05); }
.top-links a.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; background: transparent; }

.tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  height: var(--tab-h);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(30, 78, 134, 0.06);
  padding: 0 6px env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  min-height: 64px;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.is-active, .tabbar a:hover { color: var(--ink); }

.hero { padding: 96px 0 72px; }
.hero-copy h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; letter-spacing: 0.01em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(47, 143, 107, 0.12);
}
.subline { font-size: 18px; color: var(--text); margin-bottom: 14px; font-weight: 600; }
.lead { color: var(--muted); max-width: 640px; margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-main, .btn-ghost, .btn-play, .chip, .enter-lib, .form-submit {
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-main {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-btn);
  padding: 12px 22px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.btn-main:hover, .btn-main:active { background: var(--ink-hover); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--radius-btn); padding: 11px 20px; font-weight: 700; font-size: 15px;
}
.btn-ghost:hover { background: rgba(30, 78, 134, 0.06); color: var(--ink); }
.btn-play {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--persimmon); color: #fff; border-radius: var(--radius-btn);
  padding: 12px 18px; font-weight: 700;
}
.btn-play:hover { background: var(--persimmon-hover); color: #fff; }
.player-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.player-screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(120px 80px at 18% 30%, rgba(208, 106, 69, 0.28), transparent 70%),
    linear-gradient(145deg, #e7eef7 0%, #d5e2f2 48%, #f7f1ec 100%);
  display: flex; align-items: flex-end; padding: 16px;
}
.player-badge, .heat-tag, .pill {
  display: inline-flex; align-items: center;
  border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1;
}
.player-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--persimmon); color: #fff; padding: 6px 10px;
}
.player-status {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.92); color: var(--text);
  padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
.player-progress {
  margin-top: 12px; height: 4px; background: #edf2f8; border-radius: 999px; overflow: hidden;
}
.player-progress span { display: block; width: 28%; height: 100%; background: var(--persimmon); }
.player-meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 10px; color: var(--muted); font-size: 13px;
}

.block { padding: 96px 0; }
.band { background: #fff; }
.block-head { margin-bottom: 28px; max-width: 760px; }
.block-head h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; }
.block-head p { color: var(--muted); }

.search-card, .panel, .lib-card, .stat-bar, .scene, .step, .spec-card, .poster, .hot-feature, .news-item, .side-card, .logo-pill, .g-item, .day, .form-card, .enter-lib, .accordion-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-card { padding: 22px; }
.search-row { display: flex; gap: 12px; }
.search-row .form-control { flex: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.chip.is-on { background: rgba(30, 78, 134, 0.08); color: var(--ink); border-color: rgba(30, 78, 134, 0.28); }
.search-note { margin-top: 12px; color: var(--muted); font-size: 14px; }

.form-control, .form-control:focus {
  border-radius: var(--radius-input);
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--text);
  background: #fff;
  min-height: 48px;
}
textarea.form-control { min-height: 120px; }
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30, 78, 134, 0.12); }
.form-label { font-weight: 700; color: var(--text); margin-bottom: 6px; }

.lib-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-areas: "big a" "big b" "wide wide";
  gap: 18px;
}
.lib-big { grid-area: big; min-height: 340px; }
.lib-a { grid-area: a; }
.lib-b { grid-area: b; }
.lib-wide { grid-area: wide; }
.lib-card { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; color: var(--text); }
.lib-card:hover, .poster:hover, .news-item:hover, .hot-row:hover, .scene:hover, .day:hover, .enter-lib:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.lib-kicker { color: var(--muted); font-size: 13px; font-weight: 700; }
.lib-card h3 { font-size: 28px; margin-bottom: 6px; }
.lib-card .count { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1; }
.lib-card .count small { font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.lib-wide { flex-direction: row; align-items: center; }
.lib-wide h3 { margin-bottom: 0; }
.text-link { color: var(--ink); font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.enter-lib {
  margin-top: 18px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--ink); font-weight: 800;
}
.enter-lib span { color: var(--muted); font-weight: 600; font-size: 14px; }

.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 18px; text-align: left; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 36px; color: var(--ink); line-height: 1.1; font-weight: 800; }
.stat em { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 14px; font-weight: 700; }

.scene-list { display: flex; flex-direction: column; gap: 12px; }
.scene {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 18px;
  align-items: center; padding: 18px 20px; color: var(--text);
}
.scene strong { color: var(--ink); }
.scene p { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { padding: 22px 18px; position: relative; margin-right: 14px; }
.step:last-child { margin-right: 0; }
.step i {
  display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(30, 78, 134, 0.08); color: var(--ink);
  align-items: center; justify-content: center; font-style: normal; font-weight: 800; margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -8px; top: 38px;
  width: 16px; height: 1px; background: var(--line);
}

.spec-card { padding: 24px; height: 100%; }
.spec-card h3 { font-size: 20px; margin-bottom: 8px; }
.spec-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.spec-card li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); }
.spec-card li span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.poster { overflow: hidden; color: var(--text); }
.art { position: relative; }
.art.t1 { height: 280px; background: linear-gradient(160deg, #d7e4f4, #f3e4dc); }
.art.t2 { height: 190px; background: linear-gradient(160deg, #e7eef8, #d5e3f3); }
.art.t3 { height: 230px; background: linear-gradient(180deg, #f6efe9, #e4edf7); }
.art.t4 { height: 170px; background: linear-gradient(145deg, #dce7f5, #f7f3ef); }
.art.t5 { height: 240px; background: linear-gradient(160deg, #e8f0f8, #eadfd6); }
.art.t6 { height: 200px; background: linear-gradient(180deg, #f4f7fb, #d9e5f3); }
.art .pill { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--ink); padding: 6px 10px; }
.poster-body { padding: 16px 16px 18px; }
.poster-body h3 { font-size: 18px; margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 13px; }

.hot-list { display: flex; flex-direction: column; gap: 12px; }
.hot-row {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center;
  padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--text);
}
.rank { font-size: 22px; font-weight: 800; color: var(--ink); }
.hot-feature { padding: 22px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.heat-tag { background: rgba(208, 106, 69, 0.12); color: var(--persimmon); padding: 6px 10px; }
.heat-bar { height: 4px; background: #f3e6e0; border-radius: 999px; margin: 16px 0; }
.heat-bar span { display: block; height: 100%; background: var(--persimmon); border-radius: 999px; }
.hot-feature h3 { font-size: 28px; }

.news-item, .side-card { padding: 16px 18px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item { display: block; color: var(--text); }
.news-item h3 { font-size: 17px; margin-bottom: 6px; }
.side-card h3 { font-size: 16px; margin: 8px 0; }
.side-stack { display: flex; flex-direction: column; gap: 12px; }
.side-label { font-size: 13px; font-weight: 800; color: var(--ink); }

.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-pill { padding: 22px 10px; text-align: center; font-weight: 800; color: var(--ink); box-shadow: none; }
.logo-pill small { display: block; margin-top: 6px; color: var(--muted); font-weight: 600; }

.accordion-item { overflow: hidden; margin-bottom: 12px; }
.accordion-button {
  font-weight: 800; color: var(--text); background: #fff;
  box-shadow: none; padding: 18px 20px;
}
.accordion-button:not(.collapsed) { color: var(--ink); background: #fff; box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-body { color: var(--muted); padding: 0 20px 18px; }
.accordion-header { margin: 0; }

.g-item { padding: 20px 16px; height: 100%; box-shadow: none; }
.g-item svg { width: 28px; height: 28px; color: var(--ink); margin-bottom: 10px; }
.g-item h3 { font-size: 16px; margin-bottom: 6px; }
.g-item p { color: var(--muted); font-size: 14px; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.day { display: block; padding: 16px 12px; color: var(--text); min-height: 132px; }
.day b { display: block; color: var(--ink); }
.day strong { display: block; margin: 8px 0 4px; font-size: 15px; }

.form-card { padding: 22px; }
.form-success {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; color: var(--text);
}
.invite h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.invite p { color: var(--muted); margin-bottom: 12px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-brand { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.foot-col h3 { font-size: 15px; margin-bottom: 12px; }
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.foot-col a:hover { color: var(--ink); }
.fine { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fine a { color: var(--muted); }

@media (max-width: 991.98px) {
  .top-links { display: none; }
  .tabbar { display: flex; }
  .block { padding: 72px 0; }
  .hero { padding: 64px 0 48px; }
  .lib-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "a b" "wide wide"; }
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step { margin-right: 0; }
  .step::after { display: none; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .week { grid-template-columns: repeat(4, 1fr); }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .poster-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  .block { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .brand-name, .brand-rest { font-size: 15px; }
  .lib-grid { grid-template-columns: 1fr; grid-template-areas: "big" "a" "b" "wide"; }
  .lib-wide, .scene, .search-row { display: flex; flex-direction: column; align-items: stretch; }
  .scene { grid-template-columns: 1fr; }
  .stat-bar, .steps, .poster-grid, .logo-wall, .week { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: 1fr 1fr; }
  .player-meta { flex-direction: column; }
  .enter-lib { flex-direction: column; align-items: flex-start; }
  .hot-row { grid-template-columns: 32px 1fr; }
  .hot-row .heat-tag { display: none; }
}
@media (max-width: 520px) {
  .stat-bar, .poster-grid, .logo-wall { grid-template-columns: 1fr; }
  .stat + .stat, .stat:nth-child(3), .stat:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .cta-row .btn-main, .cta-row .btn-ghost, .search-row .btn-main { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --ink: #1E4E86;
  --ink-hover: #1A4678;
  --persimmon: #D06A45;
  --persimmon-hover: #C05E3B;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --text: #1C2836;
  --muted: #5C6B7A;
  --line: #E3EAF3;
  --ok: #2F8F6B;
  --shadow: 0 10px 28px rgba(30, 78, 134, 0.08);
  --shadow-hover: 0 16px 36px rgba(30, 78, 134, 0.12);
  --radius: 16px;
  --radius-btn: 10px;
  --radius-input: 12px;
  --header-h: 72px;
  --tab-h: 64px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
}
body.has-tab { padding-bottom: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 800; color: var(--text); }
:focus-visible {
  outline: 3px solid rgba(30, 78, 134, 0.35);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: baseline; min-width: 0; white-space: nowrap; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }
.brand-rest { font-size: 18px; font-weight: 700; color: var(--text); }
.top-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.top-links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.top-links a:hover { color: var(--ink); background: rgba(30, 78, 134, 0.05); }
.top-links a.is-active {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
  border-radius: 0;
  background: transparent;
}
.tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--tab-h);
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 50;
  padding: 0 4px;
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  min-height: 64px;
  transition: color .2s ease;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.is-active, .tabbar a:hover { color: var(--ink); }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.block { padding: 96px 0; }
.cat-head { padding: 36px 0 28px; }
.cat-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: end;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(47, 143, 107, 0.12);
}
.cat-head h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 10px;
  max-width: 16em;
}
.scope {
  color: var(--muted);
  margin: 0;
  max-width: 38em;
}
.head-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.ctl { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ctl-wide { grid-column: 1 / -1; }
.ctl span { font-size: 13px; font-weight: 700; color: var(--text); }
.form-select, .form-control {
  border-radius: var(--radius-input);
  border: 1px solid var(--line);
  min-height: 48px;
  color: var(--text);
  background-color: #fff;
  font-weight: 600;
  box-shadow: none;
}
.form-select:focus, .form-control:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(30, 78, 134, 0.12);
}
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-title { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.section-lead { color: var(--muted); margin: 0; }
.film-list { display: flex; flex-direction: column; gap: 14px; }
.film-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.film-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.film-row[hidden] { display: none !important; }
.thumb {
  height: 88px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #1E4E86 0%, #6D93BE 100%);
}
.thumb.t2 { background: linear-gradient(145deg, #2A6288 0%, #8FB0C9 100%); }
.thumb.t3 { background: linear-gradient(145deg, #1E4E86 0%, #D06A45 140%); }
.thumb.t4 { background: linear-gradient(145deg, #315E86 0%, #A9C3D8 100%); }
.thumb.t5 { background: linear-gradient(145deg, #1A4678 0%, #7EA0C4 100%); }
.thumb.t6 { background: linear-gradient(145deg, #3E6E96 0%, #C5D6E6 100%); }
.thumb.t7 { background: linear-gradient(145deg, #244E78 0%, #9BB6CC 100%); }
.thumb.t8 { background: linear-gradient(145deg, #1E4E86 0%, #E7B9A6 160%); }
.thumb-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  line-height: 1;
}
.film-main h2 { font-size: 20px; margin-bottom: 4px; }
.film-meta { color: var(--muted); margin: 0; font-size: 14px; }
.heat-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--persimmon);
  font-size: 12px;
  font-weight: 800;
}
.heat-mini i {
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 99px;
  background: var(--persimmon);
}
.num { font-variant-numeric: tabular-nums; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.text-link { color: var(--ink); font-weight: 700; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.empty-note {
  margin: 8px 0 0;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.read-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.chip-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  min-height: 100%;
}
.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(30, 78, 134, 0.28);
  background: rgba(30, 78, 134, 0.08);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.chip-card p { margin: 0; color: var(--text); font-size: 14px; }
.heat-list { display: flex; flex-direction: column; gap: 12px; }
.heat-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.heat-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rank {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  line-height: 1;
}
.heat-row h3 { font-size: 18px; margin-bottom: 2px; }
.heat-row p { margin: 0; color: var(--muted); font-size: 14px; }
.heat-score { text-align: right; }
.heat-score b {
  display: block;
  color: var(--persimmon);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  line-height: 1;
}
.heat-score span { color: var(--muted); font-size: 12px; font-weight: 700; }
.guide-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--text); }
.guide-card h3 { font-size: 24px; margin: 10px 0; }
.guide-card p { color: var(--muted); margin: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 10px;
  background: rgba(30, 78, 134, 0.08);
  color: var(--ink);
}
.pill-hot { background: rgba(208, 106, 69, 0.12); color: var(--persimmon); }
.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.note-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  height: 100%;
}
.note-card h3 { font-size: 22px; margin-bottom: 10px; }
.note-card p { color: var(--muted); margin: 0 0 12px; }
.note-card p:last-child { margin-bottom: 0; }
.note-card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.note-card li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}
.note-card li span { color: var(--muted); font-weight: 600; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 800;
  color: var(--text);
  background: #fff;
  box-shadow: none;
  padding: 18px 20px;
  font-size: 16px;
}
.accordion-button:not(.collapsed) {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}
.accordion-button:focus { box-shadow: inset 0 0 0 3px rgba(30, 78, 134, 0.12); }
.accordion-button::after { filter: none; }
.accordion-body { color: var(--muted); padding: 0 20px 18px; }
.accordion-body p { margin: 0 0 8px; }
.accordion-body p:last-child { margin: 0; }
.close-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.close-bar h2 { font-size: 26px; margin-bottom: 6px; }
.close-bar p { margin: 0; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-main { background: var(--ink); color: #fff; border: 0; }
.btn-main:hover, .btn-main:active { background: var(--ink-hover); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: rgba(30, 78, 134, 0.06); color: var(--ink); }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.foot-brand { font-weight: 800; color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.foot-col h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.foot-col a, .foot-col p {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}
.foot-col a:hover { color: var(--ink); }
.fine {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.fine a { color: var(--ink); font-weight: 700; }
.fine a:hover { text-decoration: underline; }
@media (max-width: 991.98px) {
  .block { padding: 72px 0; }
  .cat-head-grid, .guide-grid, .note-grid { grid-template-columns: 1fr; }
  .chip-grid { grid-template-columns: 1fr 1fr; }
  .top-links a { padding: 8px 8px; font-size: 14px; }
  .brand-name, .brand-rest { font-size: 16px; }
  .guide-card { min-height: 0; }
}
@media (max-width: 767.98px) {
  body.has-tab { padding-bottom: 72px; }
  .top-links { display: none; }
  .tabbar { display: flex; }
  .block { padding: 52px 0; }
  .cat-head { padding: 28px 0 12px; }
  .film-row, .heat-row { grid-template-columns: 1fr; }
  .thumb { height: 132px; }
  .heat-score { text-align: left; }
  .close-bar { flex-direction: column; align-items: flex-start; padding: 22px; }
  .site-footer { padding: 48px 0 24px; }
}
@media (max-width: 575.98px) {
  .chip-grid, .head-controls { grid-template-columns: 1fr; }
  .ctl-wide { grid-column: auto; }
  .cta-row, .btn-main, .btn-ghost { width: 100%; }
  .fine { flex-direction: column; }
  .brand-name, .brand-rest { font-size: 15px; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
