:root {
  --bg: #0a0d13;
  --bg-2: #0f141d;
  --panel: #151b26;
  --panel-2: #1b2330;
  --line: #242e3d;
  --line-soft: #1c2532;
  --txt: #e9eef7;
  --dim: #8b99ae;
  --dim-2: #63718a;
  --amber: #ffb648;
  --coral: #ff6a5c;
  --mint: #5ee6c0;
  --violet: #9c8bff;
  --r: 18px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 480px at 12% -8%, rgba(255, 182, 72, 0.09), transparent 62%),
    radial-gradient(760px 420px at 92% 4%, rgba(94, 230, 192, 0.07), transparent 60%),
    radial-gradient(680px 520px at 50% 108%, rgba(156, 139, 255, 0.07), transparent 62%);
  background-attachment: fixed;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.2px;
}
::selection {
  background: rgba(255, 182, 72, 0.3);
}

.ticker {
  background: linear-gradient(
    90deg,
    rgba(255, 106, 92, 0.16),
    rgba(255, 182, 72, 0.12),
    rgba(94, 230, 192, 0.14)
  );
  border-bottom: 1px solid rgba(255, 182, 72, 0.16);
  font-size: 12.5px;
  overflow: hidden;
}
.ticker-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-inner::-webkit-scrollbar {
  display: none;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 106, 92, 0.7);
  animation: pulse 1.9s infinite;
  flex: none;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 106, 92, 0.65);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 106, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 92, 0);
  }
}
.ticker-label {
  color: var(--amber);
  font-weight: 700;
  flex: none;
}
.ticker-inner a {
  color: #c6d2e4;
  flex: none;
}
.ticker-inner a:hover {
  color: var(--amber);
}
.ticker-inner a + a::before {
  content: "·";
  color: var(--dim-2);
  margin-right: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 19, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand svg {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 18px;
  letter-spacing: 1px;
}
.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--dim-2);
  letter-spacing: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #b8c4d6;
  transition:
    color 0.2s,
    background 0.2s;
  position: relative;
}
.main-nav a:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.055);
}
.main-nav a.is-active {
  color: var(--amber);
  background: rgba(255, 182, 72, 0.1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ffb648, #ff8a3d);
  color: #231403;
  font-weight: 800;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 11px;
  box-shadow: 0 10px 22px -12px rgba(255, 182, 72, 0.9);
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    filter 0.18s;
}
.btn-solid:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 26px -12px rgba(255, 182, 72, 0.95);
}
.btn-solid:active {
  transform: translateY(0) scale(0.98);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  color: #cbd6e6;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 11px;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255, 182, 72, 0.5);
  color: var(--amber);
  background: rgba(255, 182, 72, 0.06);
}
.nav-toggle {
  display: none;
  font-size: 19px;
  color: #cbd6e6;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px 0;
  font-size: 12.5px;
  color: var(--dim-2);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a {
  color: var(--dim);
}
.breadcrumb a:hover {
  color: var(--amber);
}
.breadcrumb span {
  color: #3a465a;
}

.hero {
  max-width: 1280px;
  margin: 18px auto 0;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 18px;
}
.hero-main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #101722;
}
.hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.hero-main:hover img {
  transform: scale(1.09);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 17, 0.15) 0%,
    rgba(8, 11, 17, 0.55) 48%,
    rgba(8, 11, 17, 0.95) 100%
  );
}
.hero-copy {
  position: relative;
  padding: 30px 30px 28px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 106, 92, 0.16);
  border: 1px solid rgba(255, 106, 92, 0.4);
  color: #ffb0a7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero-copy h1 {
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.28;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.hero-copy h1 mark {
  background: none;
  color: var(--amber);
}
.hero-copy p {
  color: #b9c6d8;
  font-size: 14.5px;
  max-width: 560px;
  margin-bottom: 18px;
}
.hero-cta {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-size: 19px;
  color: var(--amber);
  letter-spacing: 0.5px;
}
.hero-stats small {
  font-size: 11.5px;
  color: var(--dim-2);
  letter-spacing: 0.5px;
}

.hero-side {
  background: linear-gradient(180deg, var(--panel), #121821);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 18px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.hero-side h2 {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 6px;
}
.hero-side h2 em {
  font-style: normal;
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--mint);
  background: rgba(94, 230, 192, 0.1);
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}
.hot-list {
  display: flex;
  flex-direction: column;
}
.hot-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 6px;
  border-radius: 12px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.hot-list li a:hover {
  background: rgba(255, 255, 255, 0.045);
  transform: translateX(3px);
}
.hot-no {
  width: 22px;
  flex: none;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
  color: #4d5b71;
  font-style: italic;
}
.hot-list li:nth-child(1) .hot-no {
  color: #ff6a5c;
}
.hot-list li:nth-child(2) .hot-no {
  color: #ffb648;
}
.hot-list li:nth-child(3) .hot-no {
  color: #5ee6c0;
}
.hot-name {
  flex: 1;
  font-size: 13.5px;
  color: #d3ddec;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-tag {
  font-size: 11px;
  color: var(--dim-2);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 8px;
  border-radius: 999px;
  flex: none;
}
.hot-bar {
  height: 3px;
  border-radius: 3px;
  flex: none;
  width: 52px;
  overflow: hidden;
  background: #222c3b;
}
.hot-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #ffb648, #ff6a5c);
}

.filters {
  max-width: 1280px;
  margin: 26px auto 0;
  padding: 0 18px;
}
.filters h2 {
  font-size: 16px;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.filters h2::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffb648, #ff6a5c);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chip {
  font-size: 13px;
  color: #b9c6d8;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover {
  border-color: rgba(255, 182, 72, 0.55);
  color: var(--amber);
  background: rgba(255, 182, 72, 0.08);
  transform: translateY(-2px);
}
.chip.is-on {
  background: linear-gradient(135deg, rgba(255, 182, 72, 0.2), rgba(255, 106, 92, 0.16));
  border-color: rgba(255, 182, 72, 0.6);
  color: var(--amber);
  font-weight: 700;
}

.shell {
  max-width: 1280px;
  margin: 30px auto 0;
  padding: 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 26px;
  align-items: start;
}
main {
  min-width: 0;
}
.section {
  margin-bottom: 42px;
}
.sec-head {
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sec-head h2 span.ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 182, 72, 0.18), rgba(255, 106, 92, 0.12));
  font-size: 14px;
  flex: none;
}
.sec-head h2 b {
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  background: rgba(94, 230, 192, 0.1);
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}
.sec-sub {
  font-size: 13px;
  color: var(--dim);
  margin-top: 8px;
  max-width: 820px;
}
.sec-sub a {
  color: var(--amber);
  border-bottom: 1px dashed rgba(255, 182, 72, 0.45);
}
.sec-sub a:hover {
  color: #ffd089;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.poster-card {
  background: linear-gradient(180deg, var(--panel), #121820);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 9px 9px 0;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.24s cubic-bezier(0.2, 0.8, 0.3, 1),
    border-color 0.24s,
    box-shadow 0.24s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.poster-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 182, 72, 0.4);
  box-shadow: 0 22px 36px -20px rgba(0, 0, 0, 0.95);
}
.poster-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.poster {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #161e29;
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.poster-card:hover .poster img {
  transform: scale(1.06);
}
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 9, 14, 0.82));
  opacity: 0.85;
  pointer-events: none;
}
.rank-chip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffb648, #ff6a5c);
  color: #1a1005;
  padding: 2px 8px;
  border-radius: 7px;
  box-shadow: 0 6px 14px -6px rgba(255, 138, 61, 0.9);
}
.state-chip {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 700;
  color: #d9e4f3;
  background: rgba(10, 14, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 2px 7px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.poster-play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 182, 72, 0.92);
  color: #1a1005;
  font-size: 11px;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.24s,
    transform 0.24s;
}
.poster-card:hover .poster-play {
  opacity: 1;
  transform: scale(1);
}
.poster-info {
  padding: 11px 3px 0;
}
.poster-info h3 {
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.poster-info p {
  font-size: 11.5px;
  color: var(--dim-2);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-tags {
  display: flex;
  gap: 5px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.card-tags span {
  font-size: 10.5px;
  color: #9fb0c7;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.045);
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 3px;
  margin-top: auto;
  border-top: 1px dashed var(--line-soft);
}
.heat {
  font-size: 11.5px;
  color: var(--dim-2);
}
.heat b {
  color: var(--amber);
  font-weight: 800;
}
.mini-btn {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--amber);
  border: 1px solid rgba(255, 182, 72, 0.45);
  border-radius: 8px;
  padding: 3px 10px;
  transition: all 0.2s;
  background: rgba(255, 182, 72, 0.06);
}
.mini-btn:hover {
  background: var(--amber);
  color: #1a1005;
  border-color: var(--amber);
}
.mini-btn:active {
  transform: scale(0.95);
}

.wide-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 13px;
  background: linear-gradient(120deg, var(--panel), #121821);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 11px;
  cursor: pointer;
  transition:
    transform 0.24s,
    border-color 0.24s,
    background 0.24s;
}
.wide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 230, 192, 0.36);
  background: linear-gradient(120deg, #17202c, #131a24);
}
.wide-card:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.wide-poster {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #161e29;
}
.wide-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wide-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2px 2px 0;
}
.wide-body h3 {
  font-size: 14.5px;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wide-body p {
  font-size: 12.3px;
  color: var(--dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.wide-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--dim-2);
  margin-top: auto;
  flex-wrap: wrap;
}
.pill {
  font-size: 10.5px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(94, 230, 192, 0.1);
  color: var(--mint);
  border: 1px solid rgba(94, 230, 192, 0.2);
}
.pill.amber {
  background: rgba(255, 182, 72, 0.1);
  color: var(--amber);
  border-color: rgba(255, 182, 72, 0.22);
}
.pill.violet {
  background: rgba(156, 139, 255, 0.12);
  color: #bdb2ff;
  border-color: rgba(156, 139, 255, 0.22);
}

.row-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 10px 14px 10px 10px;
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.row-card:hover {
  transform: translateX(4px);
  border-color: rgba(156, 139, 255, 0.4);
  background: var(--panel-2);
}
.row-card:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.row-poster {
  width: 76px;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: #161e29;
}
.row-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-body {
  min-width: 0;
}
.row-body h3 {
  font-size: 14px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-body p {
  font-size: 12px;
  color: var(--dim-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: none;
}
.score {
  font-size: 17px;
  font-weight: 900;
  color: var(--amber);
  font-style: italic;
  letter-spacing: -0.5px;
}
.score small {
  font-size: 10px;
  color: var(--dim-2);
  font-weight: 600;
  font-style: normal;
  margin-left: 2px;
}

.rail {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rail-box {
  background: linear-gradient(180deg, var(--panel), #111822);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px 15px;
}
.rail-box h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px dashed var(--line);
}
.rail-box h3 em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--dim-2);
  margin-left: auto;
  font-weight: 600;
}
.rail-rank li a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 13px;
  color: #c2cee0;
  transition: color 0.2s;
}
.rail-rank li a:hover {
  color: var(--amber);
}
.rail-rank li a i {
  font-style: italic;
  font-weight: 900;
  font-size: 12px;
  color: #4a586e;
  width: 16px;
  flex: none;
  text-align: center;
}
.rail-rank li:nth-child(1) a i {
  color: var(--coral);
}
.rail-rank li:nth-child(2) a i {
  color: var(--amber);
}
.rail-rank li:nth-child(3) a i {
  color: var(--mint);
}
.rail-rank li a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-cloud a {
  font-size: 12px;
  color: #a6b4c8;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
}
.tag-cloud a:hover {
  color: var(--amber);
  border-color: rgba(255, 182, 72, 0.45);
  background: rgba(255, 182, 72, 0.08);
  transform: translateY(-2px);
}
.rail-note {
  font-size: 12.3px;
  color: var(--dim);
  line-height: 1.75;
}
.rail-note a {
  color: var(--mint);
  border-bottom: 1px dashed rgba(94, 230, 192, 0.4);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  background: linear-gradient(180deg, var(--panel), #121820);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.24s,
    border-color 0.24s;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 182, 72, 0.36);
}
.news-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #161e29;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-thumb img {
  transform: scale(1.07);
}
.news-body {
  padding: 13px 14px 15px;
}
.news-body h3 {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body p {
  font-size: 12.2px;
  color: var(--dim-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: #4f5d72;
  margin-top: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: rgba(255, 182, 72, 0.36);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "?";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 900;
  background: rgba(255, 182, 72, 0.14);
  color: var(--amber);
}
.faq-item summary::after {
  content: "＋";
  margin-left: auto;
  color: var(--dim-2);
  font-size: 14px;
  transition: transform 0.25s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--amber);
}
.faq-answer {
  padding: 0 16px 15px 46px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.8;
}
.faq-answer a {
  color: var(--amber);
  border-bottom: 1px dashed rgba(255, 182, 72, 0.4);
}

.comment-wrap {
  background: linear-gradient(180deg, var(--panel), #111822);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 20px;
}
.comment-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(94, 230, 192, 0.06);
  border: 1px dashed rgba(94, 230, 192, 0.28);
  border-radius: 13px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: #a9c9c1;
  line-height: 1.75;
}
.comment-note b {
  color: var(--mint);
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comment-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-soft);
}
.comment-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #1b2430;
  border: 1px solid var(--line);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-main {
  min-width: 0;
  flex: 1;
}
.c-top {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.c-name {
  font-size: 13px;
  font-weight: 800;
  color: #dbe5f2;
}
.c-time {
  font-size: 11px;
  color: #4f5d72;
}
.c-text {
  font-size: 13px;
  color: #b4c1d3;
  line-height: 1.75;
}
.c-text a {
  color: var(--amber);
  border-bottom: 1px dashed rgba(255, 182, 72, 0.4);
}
.c-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.c-tags span {
  font-size: 10.5px;
  color: var(--dim-2);
  background: rgba(255, 255, 255, 0.045);
  padding: 1px 8px;
  border-radius: 999px;
}

.site-footer {
  margin-top: 52px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(13, 17, 24, 0.4), rgba(8, 11, 16, 0.95));
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 18px 22px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 32px;
  margin-bottom: 26px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand .brand {
  align-items: center;
}
.footer-brand p {
  font-size: 12.5px;
  color: var(--dim-2);
  line-height: 1.8;
  max-width: 340px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.footer-cols h4 {
  font-size: 13px;
  margin-bottom: 11px;
  color: #cdd8e7;
}
.footer-cols ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-cols a {
  font-size: 12.5px;
  color: var(--dim-2);
  transition: color 0.2s;
}
.footer-cols a:hover {
  color: var(--amber);
}
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #4c5a6f;
}
.footer-bottom a {
  color: #61708a;
}
.footer-bottom a:hover {
  color: var(--amber);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.open {
  display: flex;
}
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 13, 0.8);
  backdrop-filter: blur(5px);
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow: auto;
  background: linear-gradient(180deg, #18202c, #121821);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
  animation: pop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 14, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d3ddec;
  font-size: 15px;
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  transform: rotate(90deg);
}
.modal-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
}
.modal-cover {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #161e29;
}
.modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-info h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.modal-meta {
  font-size: 12.5px;
  color: var(--dim-2);
  margin-bottom: 12px;
}
.modal-info p {
  font-size: 13.2px;
  color: #aab8cb;
  line-height: 1.8;
  margin-bottom: 14px;
}
.modal-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.modal-points li {
  font-size: 12.5px;
  color: #9fb0c7;
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.modal-points li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 9px;
  color: var(--amber);
}
.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-hint {
  font-size: 11.5px;
  color: #4c5a6f;
  margin-top: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 26px);
  background: rgba(22, 29, 40, 0.97);
  border: 1px solid rgba(255, 182, 72, 0.45);
  color: #ffd79a;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 12px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
  max-width: 88vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #161e29;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  animation: shimmer 1.5s infinite;
  pointer-events: none;
}
.skeleton.loaded::after {
  display: none;
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .rail-box {
    flex: 1 1 260px;
  }
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-main {
    min-height: 340px;
  }
  .grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #0f141d;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px 14px;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 11px 12px;
  }
  .nav-toggle {
    display: block;
  }
  .header-actions .btn-ghost {
    display: none;
  }
  .header-inner {
    gap: 12px;
  }
  .brand-text em {
    display: none;
  }
}
@media (max-width: 720px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .modal-cover {
    max-width: 200px;
    margin: 0 auto;
  }
  .row-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .row-side {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 78px;
    margin-top: -6px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-copy {
    padding: 22px 20px;
  }
  .hero-stats {
    gap: 18px;
  }
  .header-actions .btn-solid {
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .comment-wrap {
    padding: 16px;
  }
}
@media (max-width: 460px) {
  body {
    font-size: 14px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .wide-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .hero-main {
    min-height: 300px;
  }
  .hero-cta .btn-solid,
  .hero-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .sec-head h2 {
    font-size: 17px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .rail-box {
    flex: 1 1 100%;
  }
  .brand-text strong {
    font-size: 16px;
  }
}
