:root {
  --bg: #050708;
  --panel: #0d1011;
  --panel-soft: rgba(20, 24, 25, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f3f3;
  --muted: #8f949a;
  --green: #68e33d;
  --green-soft: rgba(104, 227, 61, 0.12);
  --gold: #e2b35d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(38, 130, 88, 0.14), transparent 28%),
    radial-gradient(circle at left center, rgba(76, 255, 126, 0.06), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", sans-serif;
}

body {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 168px 1fr;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px 12px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 12, 14, 0.98), rgba(6, 8, 9, 0.98));
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 20px;
}

.brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-text {
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #a3a8ad;
  transition: 0.25s ease;
}

.side-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.82;
  filter: grayscale(1) brightness(1.9);
}

.side-item.active {
  border-color: rgba(104, 227, 61, 0.18);
  background: linear-gradient(90deg, rgba(104, 227, 61, 0.12), rgba(104, 227, 61, 0.05));
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(104, 227, 61, 0.03);
}

.side-item.active .side-icon {
  opacity: 1;
  filter: none;
}

.side-item:hover {
  color: #dce2e6;
  background: rgba(255, 255, 255, 0.03);
}

.vip-card {
  margin: auto 6px 0;
  padding: 18px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(20, 24, 28, 0.98), rgba(11, 14, 17, 0.98)),
    radial-gradient(circle at top, rgba(104, 227, 61, 0.14), transparent 42%);
  text-align: center;
  box-shadow: var(--shadow);
}

.vip-crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 24px;
  border-radius: 999px;
  background: rgba(104, 227, 61, 0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.vip-card h3 {
  margin: 12px 0 8px;
  font-size: 16px;
}

.vip-card p {
  margin: 0 0 16px;
  color: #8d8f92;
  font-size: 12px;
}

.vip-download-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
}

.vip-download-meta span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c6ced6;
  font-size: 11px;
}

.vip-card button {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #0f140d;
  font-weight: 700;
}

.vip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--green);
  color: #0f140d;
  font-weight: 700;
}

.vip-qrcode-link {
  display: block;
  width: 100%;
  margin: 0 0 12px;
}

.vip-qrcode {
  width: 100%;
  max-width: 116px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 18px;
  background: #f7faf8;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}

.vip-qrcode-tip {
  display: block;
  margin: 0 0 12px;
  color: #8f99a4;
  font-size: 11px;
  line-height: 1.6;
}

.main-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  padding: 14px 20px 14px;
  overflow: hidden;
}

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

.content-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.content-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.content-scroll::-webkit-scrollbar-thumb {
  background: transparent;
}

.content-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.content-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.top-nav {
  display: flex;
  gap: 28px;
  font-size: 16px;
}

.top-nav a {
  position: relative;
  padding: 8px 0;
  color: #e5e6e7;
}

.top-nav a.active {
  color: var(--green);
  font-weight: 700;
}

.top-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  margin: 0;
  min-width: 320px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-box input {
  width: 100%;
  padding: 10px 4px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
}

.search-box input::placeholder {
  color: #7d8187;
}

.search-submit {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
  cursor: pointer;
}

.circle-btn,
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.circle-btn {
  width: 38px;
  font-size: 18px;
}

.login-btn {
  padding: 0 16px;
}

.hero-section {
  margin-bottom: 8px;
}

.hero-swiper {
  overflow: hidden;
  border-radius: 18px;
}

.hero-swiper .swiper-slide {
  height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px 16px 10px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero-copy h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 1px;
  max-width: 420px;
}

.hero-copy h1 span {
  color: var(--green);
}

.hero-subtitle {
  margin: 10px 0 4px;
  color: #d3d8dc;
  font-size: 16px;
  line-height: 1.5;
  max-height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-desc {
  margin: 0 0 14px;
  color: #acb0b4;
  font-size: 13px;
  line-height: 1.5;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-actions {
  display: flex;
  gap: 10px;
}

.play-btn,
.ghost-btn {
  padding: 10px 16px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.play-btn {
  border: 0;
  background: var(--green);
  color: #111;
  font-weight: 800;
}

.ghost-btn {
  background: transparent;
  color: #f5f5f5;
}

.hero-poster {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  margin-left: -1px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 12, 10, 0.15), rgba(2, 4, 4, 0.35)),
    radial-gradient(circle at 70% 24%, rgba(117, 255, 199, 0.2), transparent 24%),
    linear-gradient(90deg, #051212 0%, #061816 18%, #0a201b 50%, #061411 100%);
  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  top: 0;
  left: -1px;
  width: calc(100% + 2px);
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
  transform: scale(1.08) translateZ(0);
  backface-visibility: hidden;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 7, 0.02) 0%, rgba(4, 6, 7, 0.04) 20%, rgba(8, 14, 12, 0.22) 34%, rgba(10, 19, 16, 0.62) 46%, rgba(10, 18, 15, 0.38) 58%, rgba(3, 5, 6, 0.18) 72%, rgba(3, 5, 6, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 4, 4, 0.04), rgba(2, 4, 4, 0.32));
}

.hero-poster::before,
.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-poster::before {
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(255, 255, 255, 0.02) 10% 11%, transparent 11% 20%, rgba(255, 255, 255, 0.03) 20% 21%, transparent 21% 38%, rgba(255, 255, 255, 0.03) 38% 39%, transparent 39% 70%, rgba(255, 255, 255, 0.03) 70% 71%, transparent 71% 100%),
    linear-gradient(180deg, transparent 0 68%, rgba(255, 255, 255, 0.02) 68% 69%, transparent 69% 100%);
  opacity: 0.85;
}

.hero-poster::after {
  background:
    linear-gradient(90deg, rgba(4, 6, 7, 0.98) 0%, rgba(5, 9, 8, 0.9) 12%, rgba(8, 14, 12, 0.76) 24%, rgba(12, 21, 17, 0.54) 36%, rgba(15, 26, 21, 0.28) 48%, rgba(15, 26, 21, 0.08) 62%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-side-title {
  position: absolute;
  top: 20px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-side-title span {
  color: #f2f2f2;
  font-size: 12px;
  letter-spacing: 6px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Barlow Condensed", sans-serif;
}

.hero-side-title strong {
  color: var(--green);
  font-size: 36px;
  font-family: "Barlow Condensed", sans-serif;
}

.hero-swiper-pagination {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  opacity: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--green);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 376px;
  gap: 18px;
  align-items: start;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 10px;
}

.section-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tools a {
  margin-right: 0;
}

.section-head h2 {
  position: relative;
  margin: 0;
  padding-left: 14px;
  font-size: 16px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
}

.section-head a {
  color: #8f9396;
  font-size: 14px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.card-row-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 16px;
  border-radius: 18px;
}

.row-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.row-arrow-prev,
.row-arrow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.row-arrow-prev {
  left: 4px;
}

.row-arrow-next {
  right: 4px;
}

.card-row-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.card-row-scroll .media-card {
  flex: 0 0 calc((100% - 60px) / 6);
  min-width: calc((100% - 60px) / 6);
}

.card-row-scroll::-webkit-scrollbar {
  display: none;
}

.row-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(22, 28, 31, 0.98), rgba(10, 13, 15, 0.96));
  color: #eef3f5;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.row-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(104, 227, 61, 0.36);
  background:
    linear-gradient(180deg, rgba(20, 30, 24, 0.98), rgba(11, 17, 13, 0.96));
  color: var(--green);
  box-shadow: 0 14px 30px rgba(19, 27, 20, 0.38);
}

.row-arrow:disabled {
  cursor: default;
  opacity: 0.36;
  color: rgba(238, 243, 245, 0.56);
  border-color: rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(14, 18, 20, 0.82), rgba(9, 11, 13, 0.82));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.row-arrow:disabled:hover {
  transform: translateY(-50%);
  color: rgba(238, 243, 245, 0.56);
  border-color: rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(14, 18, 20, 0.82), rgba(9, 11, 13, 0.82));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.card-row + .section-head {
  margin-top: 12px;
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 146px;
  padding: 10px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 -50px 60px rgba(0, 0, 0, 0.45), 0 14px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dynamic-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 227, 61, 0.18);
  box-shadow: inset 0 -50px 60px rgba(0, 0, 0, 0.45), 0 18px 30px rgba(0, 0, 0, 0.28);
}

.list-media-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.list-media-card::before,
.list-media-card::after {
  display: none;
}

.list-media-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: none;
}

.list-media-card .media-cover {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.72;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.list-media-card .tag,
.list-media-card .score {
  position: absolute;
  z-index: 2;
}

.list-media-card .score {
  top: 8px;
  left: 8px;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(7, 12, 10, 0.86);
  color: var(--green);
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.list-media-card .cover-title,
.list-media-card .meta {
  position: static;
  left: auto;
  right: auto;
}

.list-media-card .cover-title {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-media-card .meta {
  margin-top: 4px;
  color: #8d96a0;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 12% 18% auto;
  height: 56%;
  border-radius: 50% 50% 14px 14px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(18px);
  opacity: 0.28;
}

.media-card > * {
  position: relative;
  z-index: 1;
}

.media-card.tall {
  min-height: 150px;
}

.media-card.compact {
  min-height: 164px;
}

.tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--green);
  color: #0c1309;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(104, 227, 61, 0.22);
}

.cover-title {
  position: absolute;
  left: 12px;
  bottom: 24px;
  right: 12px;
  font-size: 14px;
  font-weight: 700;
}

.meta {
  position: absolute;
  left: 12px;
  bottom: 8px;
  color: #a9adb2;
  font-size: 11px;
}

.score {
  position: absolute;
  left: 12px;
  bottom: 36px;
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.teal { background: linear-gradient(180deg, #0c2b2b, #071617 68%, #050607); }
.burgundy { background: linear-gradient(180deg, #3a241d, #1b1012 66%, #09090a); }
.steel { background: linear-gradient(180deg, #213743, #101720 65%, #080b10); }
.sand { background: linear-gradient(180deg, #725b42, #302418 65%, #080707); }
.sepia { background: linear-gradient(180deg, #7d705d, #342b21 68%, #0d0a08); }
.violet { background: linear-gradient(180deg, #54425d, #241a28 65%, #09090a); }
.orange { background: linear-gradient(180deg, #9b4100, #3f1900 62%, #090403); }
.blue { background: linear-gradient(180deg, #44637b, #1c2835 62%, #080b0e); }
.gray { background: linear-gradient(180deg, #7d898d, #30363a 64%, #090a0b); }
.umber { background: linear-gradient(180deg, #7a4d1e, #2b1609 64%, #090707); }
.navy { background: linear-gradient(180deg, #21526f, #122838 62%, #07090c); }
.rose { background: linear-gradient(180deg, #8e563d, #38241f 62%, #0b090a); }

.ranking-panel {
  padding: 12px 12px 4px;
  border-radius: 18px;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
  margin-top:10px;
}

.rank-tabs {
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.rank-tabs a,
.rank-tabs button {
  color: #9ea2a8;
  font-size: 13px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.rank-tabs a.active,
.rank-tabs button.active {
  color: var(--green);
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank-app-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(104, 227, 61, 0.12), rgba(20, 24, 22, 0.96) 56%);
  border: 1px solid rgba(104, 227, 61, 0.12);
}

.rank-app-tip span {
  min-width: 0;
  color: #dce6d8;
  font-size: 12px;
  line-height: 1.5;
}

.rank-app-tip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green);
  color: #0f140d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.rank-panel {
  display: none;
}

.rank-panel.active {
  display: flex;
}

.rank-item {
  display: grid;
  grid-template-columns: 26px 68px 1fr auto;
  align-items: start;
  gap: 8px;
  padding: 2px 2px;
}

.rank-num {
  color: #8d9196;
  font-size: 16px;
  text-align: center;
}

.top3 .rank-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #cfd5da;
  color: #131517;
  font-weight: 800;
  line-height: 22px;
}

.rank-item:nth-child(1) .rank-num {
  background: #ffc62a;
}

.rank-item:nth-child(2) .rank-num {
  background: #c4cfda;
}

.rank-item:nth-child(3) .rank-num {
  background: #e19d52;
}

.rank-thumb {
  overflow: hidden;
  width: 68px;
  height: 96px;
  border-radius: 10px;
  background: #12171b;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dune { background: linear-gradient(135deg, #987648, #31200e); }
.crime { background: linear-gradient(135deg, #66614f, #232014); }
.fire { background: linear-gradient(135deg, #8d3b00, #241105); }
.dream { background: linear-gradient(135deg, #34506f, #1a2533); }
.titan { background: linear-gradient(135deg, #6d5c79, #231a26); }

.rank-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.rank-info strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info span {
  color: #7e8387;
  font-size: 12px;
  overflow: hidden;
  display: block;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.rank-score {
  color: var(--green);
  font-size: 14px;
  line-height: 1.2;
  padding-top: 4px;
}

@media (max-width: 1400px) {
  .app-shell {
    grid-template-columns: 148px 1fr;
  }

  .sidebar {
    padding: 16px 10px 16px;
  }

  .brand {
    padding: 6px 10px 16px;
  }

  .brand-text {
    font-size: 18px;
  }

  .side-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .main-content {
    padding: 14px 16px 14px;
  }

  .topbar {
    gap: 14px;
  }

  .top-nav {
    gap: 18px;
    font-size: 15px;
  }

  .top-actions {
    gap: 8px;
  }

  .search-box {
    min-width: 260px;
  }

  .hero-grid {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 12px;
  }

  .hero-copy {
    padding: 18px 8px 14px;
  }

  .hero-copy h1 {
    max-width: 340px;
    font-size: 36px;
  }

  .hero-poster {
    min-height: 250px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 316px;
    gap: 14px;
  }

  .rank-tabs {
    gap: 10px;
    flex-wrap: wrap;
  }

  .rank-item {
    grid-template-columns: 24px 60px 1fr auto;
    gap: 6px;
  }

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

  .rank-info strong {
    font-size: 13px;
  }

  .rank-info span {
    font-size: 11px;
  }

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

  .card-row-scroll {
    gap: 10px;
  }

  .card-row-scroll .media-card {
    flex-basis: calc((100% - 20px) / 3);
    min-width: calc((100% - 20px) / 3);
  }
}

@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .sidebar {
    display: none;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 12px 14px;
    max-width: none;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .search-box {
    min-width: min(420px, 100%);
  }

  .hero-grid {
    grid-template-columns: 360px minmax(0, 1fr);
  }

  .hero-copy h1 {
    max-width: 340px;
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-desc {
    font-size: 12px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-poster {
    min-height: 250px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .rank-tabs {
    gap: 8px 10px;
  }

  .rank-tabs a,
  .rank-tabs button {
    font-size: 12px;
  }

  .rank-item {
    grid-template-columns: 22px 54px 1fr auto;
  }

  .rank-thumb {
    width: 54px;
    height: 78px;
  }

  .rank-score {
    font-size: 13px;
  }
}

@media (max-width: 800px) {
  html,
  body {
    overflow: auto;
  }

  .app-shell {
    height: auto;
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .main-content {
    padding: 16px 18px 18px;
  }

  .topbar,
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .main-content,
  .content-scroll {
    height: auto;
    overflow: visible;
  }

  .topbar,
  .top-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar {
    gap: 10px;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
    max-width: none;
  }

  .search-box {
    min-width: 100%;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-poster {
    min-height: 260px;
  }

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

  .card-row-scroll {
    gap: 8px;
  }

  .card-row-scroll .media-card {
    flex-basis: calc((100% - 8px) / 2);
    min-width: calc((100% - 8px) / 2);
  }
}

@media (max-width: 720px) {
  .main-content {
    padding: 18px 16px 22px;
  }

  .content-scroll {
    padding-right: 0;
  }

  .hero-copy {
    padding: 8px 0 18px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-poster {
    min-height: 320px;
  }

  .hero-side-title span {
    font-size: 14px;
    letter-spacing: 8px;
  }

  .hero-side-title strong {
    font-size: 42px;
  }

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

  .section-tools {
    gap: 8px;
  }

  .card-row-wrap {
    padding: 0 12px;
  }

  .row-arrow {
    width: 26px;
    height: 40px;
    font-size: 16px;
  }
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
		  padding-left: 10px;
	  }
