:root {
  --brand: #e60012;
  --brand-rgb: 230, 0, 18;
  --btn-primary: #e60012;
  --btn-search: #e60012;
  --btn-announcement: #e60012;
  --btn-theme: #334155;
  --btn-dock: #e60012;
  --brand-deep: #b3000e;
  --brand-soft: #ff4d51;
  --ink: #0f1419;
  --ink-soft: #1f2937;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --line: #e5e9f0;
  --line-soft: #eef1f6;
  --text-1: #0f1419;
  --text-2: #4b5563;
  --text-3: #94a3b8;
  --page-bg: linear-gradient(180deg, #fdf2f3, #f6f8fb 280px, #f6f8fb);
  --shadow: 0 16px 34px rgba(15, 20, 25, 0.1);
  --radius: 16px;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

html.dark-mode {
  --ink: #f8fafc;
  --ink-soft: #e2e8f0;
  --surface: #16181f;
  --surface-2: #1f2229;
  --line: #2a2f3a;
  --line-soft: #242a34;
  --text-1: #f8fafc;
  --text-2: #c2c9d3;
  --text-3: #7c8799;
  --page-bg: linear-gradient(180deg, #1b0e11, #121318 280px, #0e0f13);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--page-bg);
  background-attachment: fixed;
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.app-container {
  min-height: 100vh;
  padding: 0;
  position: relative;
}

.app-container.platform-pc {
  --platform-color: #0f766e;
}

.app-container.platform-ps4 {
  --platform-color: #003791;
}

.app-container.platform-switch {
  --platform-color: #e60012;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.28);
}

.brand-logo .icon {
  width: 21px;
  height: 21px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  border-radius: 10px;
}

.brand-name {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: var(--text-2);
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-link:hover {
  color: var(--text-1);
  background: var(--surface-2);
}

.nav-link.is-active {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), 0.24);
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.1s ease;
}

.icon-btn:hover {
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.45);
}

.icon-btn:active {
  transform: scale(0.95);
}

.nav-text-btn {
  width: auto;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-2);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.nav-text-btn .icon {
  width: 16px;
  height: 16px;
}

.nav-text-btn[data-action="announcements"] {
  background: color-mix(in srgb, var(--btn-announcement) 13%, var(--surface));
  border-color: color-mix(in srgb, var(--btn-announcement) 32%, transparent);
  color: var(--btn-announcement);
}

.nav-text-btn[data-action="announcements"]:hover {
  background: color-mix(in srgb, var(--btn-announcement) 20%, var(--surface));
  transform: translateY(-1px);
}

.nav-text-btn[data-action="theme"] {
  background: var(--btn-theme);
  border-color: var(--btn-theme);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 20, 25, 0.16);
}

.nav-text-btn[data-action="theme"]:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--surface);
}

.top-search {
  position: fixed;
  top: 82px;
  right: 24px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 280px;
  height: 46px;
  padding: 0 8px 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 14px 34px rgba(15, 20, 25, 0.14);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.top-search.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.top-search-icon {
  color: var(--brand);
  display: inline-flex;
}

.top-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-1);
  font-size: 13px;
}

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

.top-search-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--btn-search);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.top-search-btn:hover {
  filter: brightness(1.08);
}

.top-search-btn:active {
  transform: scale(0.94);
}

.top-search-btn .icon {
  width: 16px;
  height: 16px;
}

.hero-section {
  padding: 52px 24px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.hero-covers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-cover {
  position: absolute;
  width: 150px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 40px rgba(15, 20, 25, 0.16);
  opacity: 0.82;
  animation: hero-float 7s ease-in-out infinite;
}

.hero-cover--1 {
  top: 28px;
  left: 5%;
  transform: rotate(-8deg);
}

.hero-cover--2 {
  top: 126px;
  right: 4%;
  width: 168px;
  transform: rotate(6deg);
  animation-delay: -1.8s;
}

.hero-cover--3 {
  bottom: 20px;
  left: 16%;
  width: 112px;
  transform: rotate(10deg);
  animation-delay: -3.2s;
}

.hero-cover--4 {
  right: 16%;
  bottom: 16px;
  width: 132px;
  transform: rotate(-6deg);
  animation-delay: -4.4s;
}

@keyframes hero-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -160px;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.18), transparent 66%);
  pointer-events: none;
}

.hero-content {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.main-title {
  margin: 0 0 10px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
}

.main-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-img {
  height: 58px;
  width: auto;
}

.brand-text {
  background: linear-gradient(180deg, var(--text-1), var(--text-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub-title {
  color: var(--text-2);
  font-size: 16px;
  margin: 0 0 24px;
}

.search-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.custom-search {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 12px 30px rgba(15, 20, 25, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.custom-search:focus-within {
  border-color: rgba(var(--brand-rgb), 0.6);
  box-shadow: 0 12px 30px rgba(var(--brand-rgb), 0.14);
}

.custom-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-1);
  font-size: 15px;
  flex: 1;
  min-width: 0;
}

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

.search-btn {
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-search);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--btn-search) 24%, transparent);
  transition: transform 0.1s ease, filter 0.15s ease;
}

.search-btn:hover {
  filter: brightness(1.06);
}

.search-btn:active {
  transform: scale(0.97);
}

.category-home-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.category-home-tag {
  min-height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.1s ease;
}

.category-home-tag i {
  font-style: normal;
  opacity: 0.72;
  font-size: 11px;
}

.category-home-tag:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  color: var(--brand);
  transform: translateY(-1px);
}

.category-home-tag.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 24px;
}

.hero-stats span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 76px;
}

.hero-stats span + span {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.hero-stats strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-stats small {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 800;
}

.hero-stats .hero-live {
  color: var(--brand);
}

.main-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.hot-section {
  margin-bottom: 44px;
  padding-bottom: 6px;
}

.hot-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.hot-section-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hot-section-flame {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hot-section-flame .icon {
  width: 22px;
  height: 22px;
}

.hot-section-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 13px;
}

.hot-section-text h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.hot-section-subtitle {
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-size: 13px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(var(--brand-rgb), 0);
  }
}

.live-text {
  color: var(--brand);
  font-weight: 900;
}

.hot-subtitle-sep {
  opacity: 0.45;
}

.hot-section-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hot-section-toggle:hover {
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.hot-section.is-collapsed .hot-section-body {
  display: none;
}

.hot-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
}

.hot-hero {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--surface);
  display: block;
}

.hot-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.hot-hero:hover .hot-hero-media {
  transform: scale(1.04);
}

.hot-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72) 70%);
}

.hot-hero-rank {
  position: absolute;
  top: 16px;
  left: 16px;
}

.hot-hero-rank-tag {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.35);
}

.hot-hero-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

.hot-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.hot-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hot-cat-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.hot-hero-name {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hot-hero-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.18s ease;
}

.hot-list-item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.3);
  box-shadow: var(--shadow);
}

.hot-list-rank-tag {
  flex: 0 0 auto;
  width: 38px;
  text-align: center;
  font-weight: 900;
  font-size: 12px;
  color: var(--text-3);
}

.hot-list-cover {
  width: 92px;
  height: 56px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.hot-list-body {
  min-width: 0;
  flex: 1;
}

.hot-list-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.hot-list-tags .hot-cat-chip {
  padding: 2px 7px;
  font-size: 10px;
  color: var(--text-2);
  background: var(--surface-2);
  border-color: var(--line);
}

.hot-list-name {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-list-stat {
  font-size: 12px;
  color: var(--brand);
  font-weight: 800;
}

.series-strip {
  margin-bottom: 48px;
}

.series-strip-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.series-heading h2 {
  margin: 0 0 5px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.series-heading p {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
}

.series-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

.series-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}

.series-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.38);
  box-shadow: var(--shadow);
}

.series-card-media {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.series-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.series-kicker {
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
}

.series-card-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.series-card-body p {
  margin: 0;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.series-card-meta {
  margin-top: auto;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
}

.game-section {
  margin-bottom: 10px;
  scroll-margin-top: 90px;
}

.game-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.game-section-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.game-section-head p {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
}

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

.game-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: var(--shadow);
}

.game-card .cover {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.game-card-platform {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 20, 25, 0.62);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), 0.3);
}

.game-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.05), rgba(10, 12, 16, 0.58));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.game-card-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.game-card:hover .game-card-shade,
.game-card:hover .game-card-hover {
  opacity: 1;
}

.game-card-body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 3;
}

.game-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  min-height: 20px;
}

.game-tags .hot-cat-chip {
  padding: 2px 7px;
  font-size: 10px;
  color: var(--text-2);
  background: var(--surface-2);
  border-color: var(--line);
}

.game-name {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 41px;
}

.game-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.game-meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover {
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 260px;
  color: var(--text-3);
  text-align: center;
  padding: 30px;
}

.empty-state .icon {
  width: 38px;
  height: 38px;
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pagination-total {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.page-ellipsis {
  color: var(--text-3);
  padding: 0 2px;
}

.page-jump-input {
  width: 72px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-1);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.page-jump-input::placeholder {
  color: var(--text-3);
  font-weight: 700;
}

.page-jump-input:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.16);
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
  font-weight: 800;
  font-size: 13px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.page-btn:hover:not(:disabled) {
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.page-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-hero {
  background:
    radial-gradient(900px 260px at 15% 0%, rgba(var(--brand-rgb), 0.16), transparent 65%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: 44px 24px;
}

.page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 8px 0 6px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
}

.page-hero-sub {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 700;
}

.page-hero-sub .icon {
  color: var(--brand);
}

.page-kicker {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--brand);
}

.ranking-panel {
  margin-top: 28px;
}

.ranking-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 20px;
}

.ranking-tab {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-weight: 900;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.ranking-tab span {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.72;
}

.ranking-tab.is-active {
  background: var(--brand);
  color: #fff;
}

.ranking-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.podium-card {
  min-width: 0;
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}

.podium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-rgb), 0.36);
  box-shadow: var(--shadow);
}

.podium-card--1 {
  border-color: rgba(251, 191, 36, 0.55);
}

.podium-card--2 {
  border-color: rgba(148, 163, 184, 0.5);
}

.podium-card--3 {
  border-color: rgba(217, 119, 6, 0.45);
}

.podium-rank {
  position: absolute;
  top: 12px;
  left: 13px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.podium-card--1 .podium-rank {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.podium-card--2 .podium-rank {
  background: linear-gradient(135deg, #cbd5e0, #64748b);
}

.podium-card--3 .podium-rank {
  background: linear-gradient(135deg, #d97706, #92400e);
}

.podium-cover {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.podium-body {
  padding: 13px 15px 15px;
}

.podium-tag {
  display: inline-block;
  color: var(--brand);
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 5px;
}

.podium-body h3 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 40px;
}

.podium-heat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  color: var(--brand);
  font-weight: 900;
}

.podium-heat .icon {
  width: 16px;
  height: 16px;
}

.podium-heat strong {
  font-size: 18px;
  line-height: 1;
}

.podium-heat span {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.8;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.18s ease;
}

.ranking-item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.3);
  box-shadow: var(--shadow);
}

.ranking-number {
  flex: 0 0 auto;
  width: 42px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.ranking-number.is-top {
  color: var(--brand);
}

.ranking-cover {
  width: 128px;
  height: 72px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.ranking-body {
  min-width: 0;
  flex: 1;
}

.ranking-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.ranking-tags .hot-cat-chip {
  color: var(--text-2);
  background: var(--surface-2);
  border-color: var(--line);
}

.ranking-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-stat {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
}

.ranking-heat {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 900;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.ranking-heat-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

.ranking-heat-badge .icon {
  width: 15px;
  height: 15px;
}

.ranking-heat-badge strong {
  font-size: 16px;
  line-height: 1;
}

.ranking-heat-badge span {
  font-size: 10px;
  font-weight: 800;
  opacity: 0.8;
}

.series-page-grid {
  margin-top: 28px;
}

.series-card--page .series-card-body {
  min-height: 170px;
}

.series-detail-hero {
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(var(--brand-rgb), 0.2), transparent 70%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: 40px 24px;
}

.series-detail-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 34px;
  align-items: center;
}

.series-detail-media {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.series-detail-content h1 {
  margin: 10px 0 12px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
}

.series-detail-content p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.series-detail-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.series-detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-2);
}

.detail-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 24px 70px;
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.detail-topbar .back-link {
  margin: 0;
}

.detail-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 12px;
  color: var(--text-2);
}

.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.detail-media {
  min-width: 0;
}

.detail-cover {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.screen-thumb {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 9;
  transition: border-color 0.16s ease, transform 0.14s ease;
}

.screen-thumb:hover,
.screen-thumb.is-active {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.screen-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.detail-info {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.detail-tags .hot-cat-chip {
  color: var(--text-2);
  background: var(--surface-2);
  border-color: var(--line);
}

.detail-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.detail-tag-btn:hover {
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.45);
  transform: translateY(-1px);
}

.detail-tag-btn:active {
  transform: scale(0.97);
}

.detail-title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.detail-desc {
  margin: 0 0 18px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.75;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 20px;
}

.detail-meta div {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}

.detail-meta dt {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 3px;
}

.detail-meta dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-1);
  overflow-wrap: anywhere;
}

.download-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  padding: 16px;
  margin-bottom: 16px;
}

.download-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.download-panel-head h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.download-panel-head h3 .icon {
  color: var(--brand);
}

.download-panel-head > span {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 700;
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.download-row:first-of-type {
  border-top: 0;
}

.download-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.download-info strong {
  font-size: 14px;
  font-weight: 900;
}

.download-info span {
  font-size: 11px;
  color: var(--text-3);
}

.download-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.1s ease, filter 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--btn-primary);
  border: 1px solid var(--btn-primary);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--btn-primary) 22%, transparent);
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
}

.btn-ghost:hover {
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.download-empty {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
  padding: 16px 0;
}

.feedback-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 0;
}

.feedback-link:hover {
  color: var(--brand);
}

.related-section {
  margin-top: 46px;
}

.floating-feedback {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(var(--brand-rgb), 0.3);
  transition: transform 0.14s ease, filter 0.15s ease;
}

.floating-feedback:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.community-dock {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dock-item {
  width: 62px;
  min-height: 58px;
  padding: 9px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text-2);
  box-shadow: 0 10px 26px rgba(15, 20, 25, 0.1);
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.14s ease, box-shadow 0.18s ease;
}

.dock-item:hover {
  color: var(--btn-dock);
  border-color: color-mix(in srgb, var(--btn-dock) 45%, transparent);
  transform: translateX(-3px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--btn-dock) 16%, transparent);
}

.dock-item .icon {
  width: 21px;
  height: 21px;
}

.dock-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dock-item span {
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  max-width: 58px;
}

.download-horn {
  position: fixed;
  left: 22px;
  bottom: 26px;
  z-index: 80;
  width: min(370px, calc(100vw - 44px));
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(15, 20, 25, 0.2);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.download-horn.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.horn-close {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.horn-close:hover {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
}

.horn-close .icon {
  width: 14px;
  height: 14px;
}

.horn-thumb {
  flex: 0 0 96px;
  height: 60px;
  border-radius: 11px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
  border: 1px solid var(--line-soft);
}

.horn-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding-right: 24px;
}

.horn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
}

.horn-kicker .live-dot {
  width: 7px;
  height: 7px;
}

.horn-content h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.horn-action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.horn-action:hover {
  filter: brightness(1.08);
}

.horn-action:active {
  transform: scale(0.96);
}

.horn-action .icon {
  width: 15px;
  height: 15px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding: 28px 24px;
}

.site-footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-1);
}

.footer-brand .brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.footer-brand .brand-logo .icon {
  width: 17px;
  height: 17px;
}

.footer-brand .footer-logo-img {
  height: 30px;
  width: auto;
  border-radius: 9px;
}

.site-footer p {
  margin: 0;
  color: var(--text-3);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-links button,
.footer-links a {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--brand);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  width: 100%;
  max-width: 620px;
  max-height: min(680px, calc(100vh - 48px));
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 24px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
}

.modal-head p {
  margin: 0;
  color: var(--text-3);
  font-size: 12px;
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.announcement-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text-1);
  transition: border-color 0.15s ease;
}

.announcement-item:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
}

.announcement-category {
  align-self: flex-start;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
}

.announcement-item strong {
  font-size: 14px;
  font-weight: 900;
}

.announcement-item p {
  margin: 0;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
}

.announcement-rich-content {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}

.modal-close-btn {
  margin-top: 20px;
  width: 100%;
}

.content-declaration p {
  color: var(--text-2);
  line-height: 1.8;
  font-size: 14px;
}

.qr-modal {
  max-width: 440px;
}

.qr-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 0 4px;
}

.qr-modal-body img {
  width: min(300px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}

.qr-open-link {
  width: 100%;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 12, 16, 0.4);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(420px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.22);
  padding: 24px;
  overflow: auto;
  animation: slide-in 0.22s ease;
}

@keyframes slide-in {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.drawer-head h2 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
}

.drawer-head p {
  margin: 0;
  color: var(--text-3);
  font-size: 12px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-2);
}

.feedback-form select,
.feedback-form input,
.feedback-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-1);
  padding: 10px 12px;
  outline: none;
  font-size: 13px;
  resize: vertical;
}

.feedback-form select:focus,
.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: rgba(var(--brand-rgb), 0.55);
}

.submit-feedback {
  margin-top: 4px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 11px 18px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  animation: toast-in 0.2s ease;
}

.toast.is-error {
  background: var(--brand);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.page-loading {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-3);
}

.page-loading p {
  margin: 0;
  font-size: 13px;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .hot-section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hot-hero {
    min-height: 360px;
  }

  .hot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-strip-grid,
  .series-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .series-detail-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-text-btn[data-action="announcements"] > span:not(.icon):not(.nav-dot),
  .nav-text-btn[data-action="theme"] > span:not(.icon) {
    display: none;
  }

  .nav-text-btn[data-action="announcements"],
  .nav-text-btn[data-action="theme"] {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .site-nav-inner {
    padding: 0 14px;
    height: 58px;
    gap: 8px;
  }

  .hero-section {
    min-height: 0;
    padding-top: 38px;
  }

  .hero-cover {
    width: 96px;
    opacity: 0.5;
  }

  .hero-cover--1 {
    top: 18px;
    left: 8px;
  }

  .hero-cover--2 {
    top: 96px;
    right: 8px;
    width: 112px;
  }

  .hero-cover--3,
  .hero-cover--4 {
    display: none;
  }

  .hero-glow {
    width: 360px;
    height: 360px;
    top: -120px;
  }

  .hero-stats {
    gap: 16px;
  }

  .category-home-tags {
    display: none;
  }

  .hero-stats span {
    min-width: 62px;
  }

  .hero-stats span + span {
    padding-left: 16px;
  }

  .brand-name {
    display: none;
  }

  .nav-link {
    padding: 0 8px;
    font-size: 12px;
    height: 32px;
  }

  .site-nav-menu {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .site-nav-menu::-webkit-scrollbar {
    display: none;
  }

  .site-nav-menu ul {
    flex-wrap: nowrap;
    gap: 2px;
  }

  .site-nav-right {
    gap: 5px;
  }

  .site-nav-right .icon-btn {
    width: 36px;
    height: 36px;
  }

  .site-nav-right .nav-text-btn {
    width: auto;
    height: 36px;
    padding: 0 9px;
    font-size: 11px;
    gap: 5px;
  }

  .site-nav-right .nav-text-btn .icon {
    width: 14px;
    height: 14px;
  }

  .site-nav-right .nav-text-btn .btn-icon-img {
    width: 14px;
    height: 14px;
  }

  .top-search {
    top: 68px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .top-search-btn {
    width: 36px;
    height: 36px;
  }

  .admin-nav-link {
    display: none;
  }

  .hero-section {
    padding: 34px 14px 26px;
  }

  .main-title {
    font-size: 30px;
  }

  .brand-img {
    height: 46px;
  }

  .sub-title {
    font-size: 14px;
  }

  .custom-search {
    padding-left: 14px;
  }

  .search-btn {
    padding: 0 14px;
    font-size: 13px;
  }

  .main-content {
    padding: 0 14px 50px;
  }

  .hot-section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hot-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-strip-grid,
  .series-page-grid {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .game-name {
    font-size: 13px;
    min-height: 37px;
  }

  .game-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .hot-section-header {
    align-items: flex-start;
  }

  .hot-section-text h2,
  .series-heading h2,
  .game-section-head h2 {
    font-size: 18px;
  }

  .ranking-tabs {
    width: 100%;
  }

  .ranking-tab {
    flex: 1;
    padding: 9px 8px;
  }

  .ranking-podium {
    grid-template-columns: minmax(0, 1fr);
  }

  .podium-card {
    display: flex;
    align-items: center;
  }

  .podium-cover {
    flex: 0 0 138px;
    height: 78px;
    aspect-ratio: auto;
  }

  .podium-body {
    min-width: 0;
    flex: 1;
  }

  .podium-body h3 {
    min-height: 0;
  }

  .ranking-item {
    padding: 10px;
    gap: 10px;
  }

  .ranking-cover {
    width: 92px;
    height: 56px;
  }

  .ranking-number {
    width: 30px;
    font-size: 16px;
  }

  .ranking-heat,
  .ranking-heat-badge {
    display: none;
  }

  .ranking-body h3 {
    font-size: 13px;
  }

  .detail-page {
    padding: 18px 14px 50px;
  }

  .detail-title {
    font-size: 22px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .download-row {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions {
    justify-content: flex-start;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-feedback span {
    display: none;
  }

  .floating-feedback {
    padding: 0;
    width: 46px;
    justify-content: center;
  }

  .community-dock {
    right: 8px;
    top: auto;
    bottom: 16px;
    transform: none;
    gap: 6px;
  }

  .dock-item {
    width: 46px;
    min-height: 44px;
    padding: 7px 3px;
    border-radius: 12px;
  }

  .dock-item span:not(.icon) {
    display: none;
  }

  .dock-item .icon {
    width: 19px;
    height: 19px;
  }

  .dock-icon-img {
    width: 21px;
    height: 21px;
  }

  .download-horn {
    display: none;
    left: 14px;
    right: 14px;
    width: auto;
    bottom: 18px;
  }

  .horn-close {
    width: 32px;
    height: 32px;
  }

  .horn-action {
    height: 36px;
  }

  .footer-links button,
  .footer-links a {
    height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-name {
    min-height: auto;
  }

  .hot-hero {
    min-height: 280px;
  }

  .hot-hero-name {
    font-size: 19px;
  }

  .series-card--page .series-card-body {
    min-height: 0;
  }

  .detail-screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
