@charset "UTF-8";

:root {
  --bg: #08090d;
  --bg-soft: #0b0d13;
  --panel: #12161f;
  --panel-2: #171d28;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf5;
  --text-dim: #a2adc0;
  --text-mute: #737f95;
  --accent: #ff7a2f;
  --accent-2: #ff2f6d;
  --accent-3: #ffd166;
  --grad: linear-gradient(135deg, #ff8a3d 0%, #ff2f6d 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 138, 61, 0.16), rgba(255, 47, 109, 0.16));
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.95);
  --maxw: 1220px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(880px 520px at 12% -8%, rgba(255, 122, 47, 0.14), transparent 62%), radial-gradient(760px 480px at 88% 4%, rgba(255, 47, 109, 0.12), transparent 60%), radial-gradient(900px 620px at 50% 118%, rgba(96, 96, 255, 0.1), transparent 62%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(255, 122, 47, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 18, 0.72);
  font-size: 12.5px;
  color: var(--text-mute);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  overflow: hidden;
}

.topbar-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.18);
}

.topbar p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar a {
  color: var(--text-dim);
}

.topbar a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 9, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 12px 26px -12px rgba(255, 47, 109, 0.9);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.brand-slogan {
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 5px 5px 5px 14px;
  min-width: 268px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search:focus-within {
  border-color: rgba(255, 122, 47, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.12);
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  outline: none;
}

.search input::placeholder {
  color: var(--text-mute);
}

.search button {
  flex: none;
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.search button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: relative;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 3px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 44vw, 470px);
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  z-index: -2;
  filter: saturate(1.04) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, rgba(6, 8, 12, 0.96) 4%, rgba(6, 8, 12, 0.82) 44%, rgba(6, 8, 12, 0.42) 100%), linear-gradient(0deg, rgba(6, 8, 12, 0.92) 2%, rgba(6, 8, 12, 0) 58%);
}

.hero-content {
  width: min(100%, 660px);
  padding: clamp(26px, 4.4vw, 54px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #f2f5fb;
  backdrop-filter: blur(6px);
}

.badge-solid {
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 10px 22px -12px rgba(255, 47, 109, 0.9);
}

.badge-line {
  color: var(--accent-3);
  border-color: rgba(255, 209, 102, 0.4);
  background: rgba(255, 209, 102, 0.1);
}

.hero-title {
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin-top: 14px;
  font-size: 14px;
  color: #c6cedd;
  line-height: 1.85;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-meta strong {
  color: var(--accent-3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(255, 47, 109, 0.95);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px -18px rgba(255, 47, 109, 1);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-soft), var(--panel);
  text-align: center;
}

.stat b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 12px;
  color: var(--text-mute);
}

.section {
  margin-top: clamp(36px, 5vw, 64px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 800;
  letter-spacing: 0.8px;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(255, 122, 47, 0.6);
}

.section-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-mute);
}

.section-more {
  font-size: 13px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.section-more:hover {
  color: #fff;
  border-color: rgba(255, 122, 47, 0.6);
  transform: translateX(2px);
}

.chips {
  display: flex;
  gap: 9px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  color: #fff;
  border-color: rgba(255, 122, 47, 0.5);
  transform: translateY(-1px);
}

.chip.is-active {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(255, 47, 109, 0.95);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 47, 0.55);
  box-shadow: 0 26px 40px -26px rgba(255, 47, 109, 0.7);
}

.card-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  background: linear-gradient(150deg, #1b2230, #0d1017);
  overflow: hidden;
}

.card-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover .card-poster img {
  transform: scale(1.06);
}

.card-flag {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(8, 9, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-3);
  backdrop-filter: blur(6px);
}

.card-score {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(8, 9, 13, 0.78);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--accent-3);
  backdrop-filter: blur(6px);
}

.card-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.18));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-play i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(4px);
}

.card-play i::before {
  content: "";
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
}

.card:hover .card-play {
  opacity: 1;
}

.card-body {
  padding: 11px 13px 14px;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-mute);
}

.card-meta span {
  white-space: nowrap;
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 11px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.rank-item:hover {
  transform: translateX(3px);
  border-color: rgba(255, 122, 47, 0.5);
  background: var(--panel-2);
}

.rank-no {
  flex: none;
  width: 26px;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.5px;
  color: var(--text-mute);
}

.rank-item:nth-child(-n + 3) .rank-no {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rank-thumb {
  flex: none;
  width: 46px;
  height: 69px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.rank-info {
  min-width: 0;
  flex: 1;
}

.rank-name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-desc {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-trend {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  color: #ff9f6b;
  background: rgba(255, 122, 47, 0.14);
}

.rank-trend.is-new {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.14);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 14px;
}

.cat-card {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 100% 0, rgba(255, 122, 47, 0.18), transparent 58%), var(--panel);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 47, 0.55);
}

.cat-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cat-desc {
  margin-top: 7px;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.7;
}

.cat-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-3);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
}

.step p {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.8;
}

.prose {
  padding: clamp(24px, 3.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)), var(--bg-soft);
}

.prose h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-dim);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: #fff;
  font-weight: 700;
}

.prose a {
  color: var(--accent);
  border-bottom: 1px dashed rgba(255, 122, 47, 0.5);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.keyword-cloud a {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-dim);
  background: var(--panel);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.keyword-cloud a:hover {
  color: #fff;
  border-color: rgba(255, 122, 47, 0.6);
}

.faq details {
  margin-bottom: 11px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  transition: border-color 0.22s ease;
}

.faq details[open] {
  border-color: rgba(255, 122, 47, 0.42);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.24s ease;
}

.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq p {
  padding: 0 0 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-dim);
}

.site-footer {
  margin-top: clamp(44px, 6vw, 78px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 70%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 42px 0 30px;
}

.footer-about p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-mute);
  max-width: 380px;
}

.footer-title {
  margin-bottom: 13px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 12.5px;
  color: var(--text-mute);
  transition: color 0.2s ease, padding 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-mute);
}

.footer-note a {
  color: var(--text-dim);
}

.footer-note a:hover {
  color: var(--accent);
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(18, 22, 31, 0.92);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, border-color 0.2s ease;
  backdrop-filter: blur(10px);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

.empty-tip {
  display: none;
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

.empty-tip.is-visible {
  display: block;
}

.card.is-hidden {
  display: none;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: grid;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(11, 14, 20, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 11px 14px;
    font-size: 14.5px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a.is-active {
    background: rgba(255, 122, 47, 0.14);
  }

  .search {
    order: 2;
    margin-left: auto;
    min-width: 0;
    width: min(52vw, 260px);
  }

  .search button {
    padding: 7px 13px;
  }

  .hero {
    min-height: 0;
  }

  .hero-meta {
    font-size: 12.5px;
  }

  .poster-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 13px;
  }

  .card-body {
    padding: 9px 10px 12px;
  }

  .card-title {
    font-size: 13px;
  }

  .rank-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14.5px;
  }

  .wrap {
    padding-inline: 14px;
  }

  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-slogan {
    display: none;
  }

  .search {
    width: auto;
    flex: 1;
    padding-left: 12px;
  }

  .search button {
    display: none;
  }

  .hero-content {
    padding: 22px 18px 26px;
  }

  .hero-title {
    font-size: 23px;
  }

  .stat-row {
    gap: 9px;
  }

  .stat {
    padding: 13px 10px;
  }

  .stat b {
    font-size: 18px;
  }

  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rank-thumb {
    width: 40px;
    height: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 30px 0 22px;
  }

  .footer-note {
    padding-bottom: 26px;
  }

  .to-top {
    right: 14px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
