* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: #f0fdf4;
  color: #1f2937;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.10);
}
.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 800;
  color: #10b981;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 20px;
  font-weight: 700;
}
.nav a {
  color: #334155;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a.active, .nav a:hover {
  color: #10b981;
  border-bottom-color: #10b981;
}

.panel {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 24px;
  font-weight: 800;
}
.section-head .more { color: #ff6b00; font-size: 14px; }

.hero {
  margin-top: 16px;
  border-radius: 14px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #13151b 0%, #2b3340 55%, #181b23 100%);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}
.hero.hero-banner {
  display: block;
  padding: 0;
  height: 420px;
  overflow: hidden;
  background: #111827;
}
.hero-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-banner-indicator {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  border-radius: 999px;
  padding: 3px 8px;
}
.hero .title { margin-top: 12px; font-size: 36px; font-weight: 800; color: #ffd76f; }
.hero .sub { margin-top: 8px; color: #ffcb9c; }
.hero-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span { background: rgba(255,255,255,0.12); border-radius: 999px; padding: 5px 11px; font-size: 12px; }
.btn-main {
  margin-top: 14px;
  border: 0;
  background: linear-gradient(90deg, #ff9f29, #ff5a00);
  color: #fff;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 800;
  cursor: pointer;
}

.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.logo-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.logo-grid.compact-home { grid-template-columns: repeat(8, 1fr); gap: 8px; }
.logo-item {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  transition: .2s;
}
.logo-item:hover {
  border-color: #ffb583;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.12);
  transform: translateY(-2px);
}
.home-gift-grid { gap: 8px; }
.home-gift-item {
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  padding: 6px;
  background: #fff;
}
.home-gift-logo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}
.home-gift-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-gift-label {
  margin-top: 6px;
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-gift-btn {
  margin-top: 5px;
  width: 100%;
  padding: 4px 6px;
  font-size: 10px;
}
.logo-box {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f0fdf4;
  display: grid;
  place-items: center;
}
.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  padding: 0 6px;
}
.logo-name {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.3;
  color: #1f2937;
  text-align: center;
  min-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.card {
  background: #f8f9fd;
  border: 1px solid #eef1f6;
  border-radius: 10px;
  overflow: hidden;
}
.cover {
  height: 84px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 0 8px;
  text-align: center;
}
.card-body { padding: 9px; }
.title-1 { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-1 { margin-top: 5px; font-size: 11px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lizi-store-card .lizi-store-title {
  font-size: 16px;
  font-weight: 800;
  color: #000000;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
  letter-spacing: 0.2px;
  background: #ffe082;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 3px 6px;
}
.lizi-store-card .lizi-store-meta {
  margin-top: 6px;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
  background: #ffd54f;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 3px 6px;
}
.lizi-store-card .lizi-store-desc {
  margin-top: 6px;
  color: #000000;
  font-size: 13px;
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 52px;
  line-height: 1.45;
  background: #fff3bf;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 4px 6px;
}
.lizi-store-card .lizi-store-actions { margin-top: 8px; }
.lizi-store-card .cover {
  border: 1px solid #d1fae5;
}
.lizi-store-card .card-body {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 10px;
}
.chip { display: inline-block; margin-top: 6px; font-size: 10px; color: #34d399; background: #ecfdf5; border-radius: 4px; padding: 1px 7px; }
.row-action { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.btn-mini {
  border: 0;
  background: #ff6b00;
  color: #fff;
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 11px;
  cursor: pointer;
}

.layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.home-right-fixed {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}
.home-fixed-panel {
  height: 340px;
  overflow: hidden;
  padding: 14px;
}
.home-fixed-news-panel,
.home-fixed-server-panel {
  height: 332px;
}
.ranking-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ranking-box { border: 1px solid #edf0f6; border-radius: 10px; padding: 10px; }
.ranking-box h3 { font-size: 16px; margin-bottom: 8px; }
.rank-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed #edf1f7;
}
.rank-row:last-child { border-bottom: 0; }
.num {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #f0fdf4;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.num.top { background: #ff6b00; color: #fff; }
.rt { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-download {
  border: 0;
  border-radius: 999px;
  background: #ff6b00;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  cursor: pointer;
}

.side-list { list-style: none; }
.side-list li { padding: 10px 0; border-bottom: 1px solid #eef2f7; }
.side-list li:last-child { border-bottom: 0; }
.home-fixed-video-shell {
  min-height: 284px;
  display: grid;
  grid-template-rows: 16px 1fr auto;
  gap: 8px;
}
.home-fixed-video-title {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-fixed-video-player {
  width: 100%;
  border-radius: 10px;
  background: #0b1220;
  min-height: 220px;
  max-height: 220px;
  object-fit: cover;
}
.home-fixed-video-placeholder {
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 12px;
  border: 1px dashed #334155;
}
.home-fixed-list {
  height: 100%;
  min-height: 276px;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  min-width: 0;
}
.home-fixed-item {
  min-height: 0;
  max-height: 68px;
  overflow: hidden;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 3px;
  align-content: start;
}
.home-fixed-item-link {
  cursor: pointer;
}
.home-fixed-item-link:hover .home-fixed-title {
  color: #ff6b00;
}
.home-fixed-title,
.home-fixed-desc {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.home-fixed-title-link {
  cursor: pointer;
  color: #0f172a;
}
.home-fixed-title-link:hover {
  color: #ff6b00;
}
.home-fixed-action {
  display: flex;
  justify-content: flex-end;
}

.gift-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}
.gift-row:last-child { border-bottom: 0; }
.gift-logo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f1f5f9;
  display: grid;
  place-items: center;
}
.gift-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift-title { font-size: 15px; font-weight: 800; }
.gift-desc { margin-top: 4px; font-size: 12px; color: #667085; }
.gift-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gift-card {
  border: 1px solid #d1fae5;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}
.gift-grid-compact {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
}
.gift-card-compact {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
}
.gift-logo-compact {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.gift-meta-compact {
  min-width: 0;
  width: 100%;
  text-align: center;
}
.gift-title-compact {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gift-desc-compact {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.3;
  max-height: 14px;
  overflow: hidden;
}
.gift-claim-mini {
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 999px;
}
.code-list { display: flex; flex-wrap: wrap; gap: 8px; }
.code-pill {
  border: 1px solid #d1fae5;
  background: #f0fdf4;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.code-copy-btn {
  border: 1px solid #a7f3d0;
  background: #f0fdf4;
  color: #059669;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.search {
  width: 100%;
  border: 1px solid #d8dce5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips button {
  border: 1px solid #d8dce5;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}
.chips button.active { border-color: #ff6b00; color: #ff6b00; background: #fff5ec; }

.mine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mine-card {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
}
.mine-card:hover { border-color: #ffb583; box-shadow: 0 4px 14px rgba(255, 107, 0, 0.12); }
.mine-card .feature-btn {
  background: #34d399;
  color: #fff;
  border: 1px solid #7dd3fc;
}
.mine-card .feature-btn:hover {
  background: #10b981;
}

.trial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.trial-card {
  border: 1px solid #e7ebf3;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  background: #fff;
  display: grid;
  gap: 7px;
}
.trial-card:hover { border-color: #7dd3fc; box-shadow: 0 4px 12px rgba(14,165,233,0.15); }
.trial-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.trial-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trial-name {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trial-cta {
  border: 0;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #10b981);
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.collection-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.collection-card { border-radius: 10px; }
.feature-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.feature-cover {
  height: 86px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.feature-body { padding: 12px; }
.feature-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  min-height: 36px;
}
.feature-desc {
  margin-top: 8px;
  font-size: 12px;
  color: #667085;
  line-height: 1.5;
  min-height: 30px;
}
.feature-foot {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feature-tag {
  font-size: 11px;
  color: #34d399;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 3px 10px;
}
.feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
}
.feature-btn-primary {
  background: linear-gradient(90deg, #ff9f29, #ff5a00);
  color: #fff;
}
.feature-btn-secondary {
  background: #ecfdf5;
  color: #10b981;
  border: 1px solid #bfdbfe;
}

.music-player-shell {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
}
.music-search-panel { padding: 10px 12px; }
.music-search-panel .section-head { margin-bottom: 8px; }
.music-search-panel .section-head h2 { font-size: 18px; }
.music-overview-entry {
  margin: 2px 0 10px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(90deg, #eff6ff, #d1fae5);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.music-overview-tab {
  border: 1px solid #93c5fd;
  background: #f0fdf4;
  color: #065f46;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.music-overview-tab.active {
  border-color: #059669;
  background: #059669;
  color: #fff;
}
.music-overview-entry-sub {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-overview-entry-action {
  border: 1px solid #059669;
  background: #ecfdf5;
  color: #059669;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.music-overview-entry:hover {
  border-color: #93c5fd;
  background: linear-gradient(90deg, #d1fae5, #a7f3d0);
}
.music-search-input {
  max-width: 360px;
  min-height: 34px;
  font-size: 13px;
}
.music-search-btn {
  padding: 5px 12px;
  font-size: 11px;
}
.music-full-only-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #334155;
  user-select: none;
}
.music-progress-wrap {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}
.music-progress-track {
  width: 100%;
  height: 8px;
  background: #d1fae5;
  border-radius: 999px;
  overflow: hidden;
}
.music-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #059669, #34d399);
  border-radius: inherit;
  transition: width .25s ease;
}
.music-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.music-result-list-compact .music-result-item {
  padding: 6px;
  margin-bottom: 6px;
}
.music-result-list-compact .music-result-cover {
  width: 38px;
  height: 38px;
}
.music-inline-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.music-cover {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  background: linear-gradient(135deg,#111827,#065f46);
  display: grid;
  place-items: center;
  color: #d1fae5;
  font-weight: 800;
  overflow: hidden;
}
.music-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.music-title { font-size: 16px; font-weight: 800; }
.music-artist { margin-top: 4px; font-size: 12px; color: #64748b; }
.music-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e7ebf3;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  margin-bottom: 8px;
}
.music-result-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.music-result-cover {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg,#0f172a,#059669);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.music-result-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ng-music-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.ng-music-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid #e7ebf3;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  min-height: 42px;
}
.ng-music-line {
  font-size: 11px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.ng-music-play {
  border: 1px solid #bfdbfe;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.music-user-playlists {
  padding-top: 10px;
}
.music-playlist-tools {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.music-playlist-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.music-playlist-select {
  margin: 0;
  min-width: 220px;
  max-width: 340px;
}
.music-playlist-name {
  margin: 0;
  min-width: 220px;
  max-width: 360px;
}
.music-playlist-shell {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
  align-items: start;
}
.music-playlist-left {
  min-width: 0;
}
.music-playlist-right {
  display: grid;
  gap: 6px;
}
.music-playlist-dir {
  width: 100%;
  border: 1px solid #d9e3f8;
  border-radius: 8px;
  background: #f0fdf4;
  color: #065f46;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 9px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.music-playlist-dir.active {
  border-color: #059669;
  background: #ecfdf5;
}
.music-playlist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.music-playlist-track {
  cursor: grab;
}
.music-playlist-track.dragging {
  opacity: 0.55;
}
.music-drag-handle {
  width: 18px;
  min-width: 18px;
  text-align: center;
  color: #64748b;
  font-size: 12px;
  user-select: none;
}

.empty { font-size: 13px; color: #9ca3af; padding: 12px 2px; }

.toast {
  position: fixed;
  right: 12px;
  bottom: 12px;
  background: rgba(15,23,42,0.9);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  z-index: 80;
  opacity: 0;
  transform: translateY(8px);
  transition: .2s;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .nav { font-size: 16px; gap: 14px; }
  .grid-5 { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .logo-grid, .logo-grid.compact-home { grid-template-columns: repeat(6, 1fr); }
  .ranking-wrap { grid-template-columns: 1fr 1fr; }
  .gift-grid { grid-template-columns: repeat(4, 1fr); }
  .gift-grid-compact { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .trial-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero.hero-banner { height: 260px; }
  .layout { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-grid, .logo-grid.compact-home { grid-template-columns: repeat(4, 1fr); }
  .ranking-wrap { grid-template-columns: 1fr; }
  .mine-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .feature-grid.compact { grid-template-columns: 1fr 1fr; }
  .collection-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nav { display: none; }
  .gift-grid { grid-template-columns: repeat(3, 1fr); }
  .gift-grid-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .trial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-fixed-panel,
  .home-fixed-news-panel,
  .home-fixed-server-panel { height: auto; }
  .home-fixed-list { height: auto; }
  .home-fixed-item { max-height: none; }
  .music-player-shell { grid-template-columns: 1fr; }
  .music-search-input { max-width: 100%; width: 100%; }
  .music-overview-entry {
    flex-wrap: wrap;
    gap: 8px;
  }
  .music-overview-tab {
    padding: 5px 10px;
  }
  .music-overview-entry-sub {
    order: 3;
    width: 100%;
  }
  .music-playlist-shell { grid-template-columns: 1fr; }
  .music-playlist-right { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .mine-grid { grid-template-columns: 1fr; }
  .feature-grid, .feature-grid.compact { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid, .logo-grid.compact-home { grid-template-columns: repeat(3, 1fr); }
  .grid-5, .grid-4 { grid-template-columns: 1fr; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .gift-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gift-logo-compact { width: 38px; height: 38px; }
  .gift-claim-mini { padding: 2px 7px; font-size: 10px; }
  .ng-music-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .ng-music-card { min-height: 38px; padding: 5px; }
  .lizi-store-card .lizi-store-title { font-size: 15px; }
  .lizi-store-card .lizi-store-meta { font-size: 13px; color: #000; }
  .lizi-store-card .lizi-store-desc { font-size: 12px; min-height: 44px; }
  .ng-music-line { font-size: 10px; }
  .ng-music-play { font-size: 9px; padding: 2px 6px; }
  .music-inline-actions { flex-direction: column; align-items: stretch; }
  .music-playlist-right { grid-template-columns: 1fr; }
}

@media (orientation: portrait) and (max-width: 860px) {
  .trial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .trial-card {
    padding: 6px;
  }

  .trial-name {
    font-size: 10px;
    min-height: 26px;
  }

  .trial-cta {
    padding: 4px 6px;
    font-size: 10px;
  }
}

@media (orientation: portrait) {
  .trial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ===== 新网站注册登录页面样式 ===== */

.auth-section {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  min-height: calc(100vh - 76px);
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

@media (max-width: 768px) {
  .auth-container {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 100%;
  }
}

.auth-left {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

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

@media (max-width: 768px) {
  .auth-left {
    display: none;
  }
}

.auth-logo-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

.auth-left-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.auth-left-desc {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.auth-right {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .auth-right {
    padding: 40px 30px;
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-main-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.auth-main-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.auth-logged-card {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin-bottom: 24px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
}

.auth-logged-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  border: 3px solid rgba(255,255,255,0.3);
  overflow: hidden;
}

.auth-logged-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.auth-logged-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.auth-logged-name {
  font-size: 20px;
  font-weight: 700;
}

.auth-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .auth-forms-grid {
    grid-template-columns: 1fr;
  }
}

.auth-form-card {
  padding: 20px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.auth-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  text-align: center;
}

.auth-form-card .search {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  transition: all 0.3s ease;
}

.auth-form-card .search:focus {
  outline: none;
  border-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.auth-form-card .feature-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-form-card .feature-btn-primary {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
}

.auth-form-card .feature-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 211, 153, 0.4);
}

.auth-form-card .feature-btn-secondary {
  background: linear-gradient(135deg, #f0fdf4 0%, #10b981 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3);
}

.auth-form-card .feature-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.auth-logged-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-logout-btn {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0fdf4 0%, #10b981 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3);
}

.auth-logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.auth-invite-info {
  font-size: 13px;
  color: #34d399;
  margin-bottom: 12px;
  text-align: center;
  padding: 8px;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 8px;
}

.auth-bottom-actions {
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  margin-top: 30px;
}

.auth-back-btn {
  width: 100%;
  padding: 14px 24px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-back-btn:hover {
  background: #f9fafb;
  color: #374151;
  border-color: #d1d5db;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -200px;
  right: -200px;
  animation: floatOrb 15s ease-in-out infinite;
}

.login-page::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  bottom: -100px;
  left: -100px;
  animation: floatOrb 12s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.login-container {
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 90%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.login-left {
  flex: 1;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login-left::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.login-logo-icon {
  font-size: 80px;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.login-left-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.login-left-desc {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
}

.login-right {
  flex: 1.2;
  padding: 60px 50px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-main-title {
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 10px;
}

.login-main-desc {
  font-size: 15px;
  color: #6b7280;
}

.login-switch-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #e5e7eb;
}

.login-tab {
  padding: 12px 30px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.login-tab.active {
  color: #34d399;
}

.login-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #34d399;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.login-input {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.login-input:focus {
  outline: none;
  border-color: #34d399;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.login-submit-btn {
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
  margin-top: 10px;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 211, 153, 0.4);
}

.login-submit-btn:active {
  transform: translateY(0);
}

.login-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.login-footer-text {
  font-size: 14px;
  color: #6b7280;
}

.login-footer-link {
  color: #34d399;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.login-footer-link:hover {
  color: #059669;
}

.login-hidden {
  display: none;
}

.login-invite-info {
  font-size: 13px;
  color: #34d399;
  margin-bottom: 15px;
  text-align: center;
  padding: 10px;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    max-width: 400px;
  }

  .login-left {
    padding: 40px 30px;
    min-height: 200px;
  }

  .login-logo-icon {
    font-size: 60px;
    margin-bottom: 20px;
  }

  .login-left-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .login-left-desc {
    font-size: 16px;
  }

  .login-right {
    padding: 40px 30px;
  }

  .login-main-title {
    font-size: 24px;
  }

  .login-tab {
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* ===== 视频合集面板 ===== */
.lizi-collection-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 16px;
  background: rgba(255,107,53,0.1);
  color: #ff6b35;
  cursor: pointer;
  margin-top: 4px;
  transition: background .15s;
}
.lizi-collection-badge:hover { background: rgba(255,107,53,0.2); }
.lizi-collection-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff6b35;
  display: inline-block;
}

.lizi-video-collection-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.lizi-collection-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.lizi-collection-drawer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lizi-collection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #d1fae5;
  flex-shrink: 0;
}
.lizi-collection-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}
.lizi-collection-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #667085;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.lizi-collection-list {
  overflow-y: auto;
  padding: 12px 20px 24px;
  flex: 1;
}
.lizi-collection-empty {
  text-align: center;
  color: #94a3b8;
  padding: 20px 0;
}
.lizi-collection-episode {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f5;
  cursor: pointer;
  transition: background .1s;
}
.lizi-collection-episode:hover { background: #f9fafb; }
.lizi-episode-index {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #f0f0f5;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lizi-episode-name {
  font-size: 14px;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
