﻿@charset "UTF-8";

:root {
  --qq-blue-1: #1e7bff;
  --qq-blue-2: #3cc2ff;
  --qq-blue-3: #78e4ff;
  --qq-cyan: #22d5ff;
  --qq-sky: #e9f6ff;
  --qq-ink: #12224a;
  --qq-ink-soft: #2d3d6c;
  --qq-muted: #6c7aa8;
  --qq-warm: #ff9a6b;
  --qq-gold: #ffd466;
  --qq-card: #ffffff;
  --qq-line: rgba(30, 123, 255, 0.12);
  --qq-shadow: 0 18px 40px rgba(18, 34, 74, 0.15);
  --qq-shadow-soft: 0 10px 22px rgba(30, 123, 255, 0.12);
  --qq-radius-lg: 24px;
  --qq-radius-md: 16px;
  --qq-radius-sm: 12px;
  --qq-gap-lg: 28px;
  --qq-gap-md: 18px;
  --qq-gap-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--qq-ink);
  background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 55%, #f7fbff 100%);
  min-height: 100vh;
}

body.theme-dark {
  --qq-sky: #0b1224;
  --qq-ink: #e7edff;
  --qq-ink-soft: #c7d2fe;
  --qq-muted: #94a3c8;
  --qq-card: rgba(12, 18, 34, 0.92);
  --qq-line: rgba(148, 163, 184, 0.2);
  --qq-shadow: 0 18px 40px rgba(3, 6, 14, 0.6);
  --qq-shadow-soft: 0 12px 24px rgba(3, 6, 14, 0.4);
  background: linear-gradient(180deg, #0b1020 0%, #0f172a 55%, #0b1224 100%);
  color: var(--qq-ink);
}

body.theme-dark header.topbar {
  background: rgba(9, 14, 26, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

body.theme-dark .aurora {
  opacity: 0.22;
}

body.theme-dark .orb {
  opacity: 0.18;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1220px, 92vw);
  margin: 0 auto;
}

.page-shell main.container {
  padding-top: 28px;
  flex: 1;
}

.page-shell {
  position: relative;
  overflow: visible;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.aurora {
  position: fixed;
  inset: -30vh -10vw auto -10vw;
  height: 60vh;
  background: radial-gradient(circle at 20% 30%, rgba(30, 123, 255, 0.25), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(60, 194, 255, 0.25), transparent 60%),
    radial-gradient(circle at 85% 65%, rgba(255, 154, 107, 0.22), transparent 60%);
  filter: blur(10px);
  animation: auroraFloat 18s ease-in-out infinite;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, rgba(120, 228, 255, 0.45));
  box-shadow: 0 0 45px rgba(60, 194, 255, 0.4);
  opacity: 0.35;
  animation: floaty 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.orb.orb-1 {
  width: 160px;
  height: 160px;
  top: 80px;
  right: 12%;
}

.orb.orb-2 {
  width: 110px;
  height: 110px;
  bottom: 120px;
  left: 8%;
  animation-delay: -2s;
}

.orb.orb-3 {
  width: 80px;
  height: 80px;
  top: 45%;
  right: 3%;
  animation-delay: -4s;
}

header.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(248, 252, 255, 0.8);
  border-bottom: 1px solid rgba(30, 123, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: var(--qq-gap-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: "Smiley Sans", "ZCOOL KuaiLe", sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-blue-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 18px rgba(30, 123, 255, 0.25);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}


.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  min-width: 0;
}

.brand-title {
  font-size: 18px;
  color: var(--qq-ink);
}

.brand-subtitle {
  font-size: 12px;
  color: var(--qq-muted);
  max-width: clamp(180px, 32vw, 360px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: var(--qq-ink-soft);
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(30, 123, 255, 0.12);
  color: var(--qq-blue-1);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--qq-line);
  background: rgba(30, 123, 255, 0.08);
  color: var(--qq-blue-1);
  cursor: pointer;
  padding: 0;
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E7BFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4'/><path d='M12 2v2'/><path d='M12 20v2'/><path d='M4.93 4.93l1.41 1.41'/><path d='M17.66 17.66l1.41 1.41'/><path d='M2 12h2'/><path d='M20 12h2'/><path d='M4.93 19.07l1.41-1.41'/><path d='M17.66 6.34l1.41-1.41'/></svg>");
}

body.theme-dark .theme-toggle {
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
}

body.theme-dark .theme-toggle-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E2E8F0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12.79A9 9 0 1 1 11.21 3a7 7 0 0 0 9.79 9.79z'/></svg>");
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-blue-2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(30, 123, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(30, 123, 255, 0.35);
}

.btn-ghost {
  background: #fff;
  color: var(--qq-blue-1);
  border: 1px solid rgba(30, 123, 255, 0.2);
  box-shadow: var(--qq-shadow-soft);
}

.btn-ghost:hover {
  background: rgba(30, 123, 255, 0.08);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 16px 0 14px;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--qq-gap-lg);
  align-items: stretch;
}

.hero-split {
  margin-bottom: 8px;
}

.hero-title {
  font-family: "Smiley Sans", "ZCOOL KuaiLe", sans-serif;
  font-size: 38px;
  margin: 0 0 12px;
  line-height: 1.15;
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--qq-ink-soft);
  font-size: 16px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid rgba(30, 123, 255, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--qq-ink-soft);
  transition: all 0.2s ease;
}

.filter-group .chip {
  cursor: pointer;
  border: 1px solid rgba(30, 123, 255, 0.18);
  pointer-events: auto;
}

.filter-group button.chip {
  background: rgba(255, 255, 255, 0.7);
}

.chip:hover,
.chip.active {
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.12), rgba(34, 213, 255, 0.16));
  color: var(--qq-blue-1);
}

.hero-card {
  background: var(--qq-card);
  background-image:
    linear-gradient(180deg, rgba(120, 228, 255, 0) 0%, rgba(120, 228, 255, 0.28) 100%),
    url("../images/qq-wave-tile.svg");
  background-repeat: no-repeat, repeat-x;
  background-position: left bottom, left bottom;
  background-size: 100% 140px, 360px 140px;
  background-origin: border-box;
  background-clip: border-box;
  border-radius: var(--qq-radius-lg);
  padding: 20px;
  box-shadow: var(--qq-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(30, 123, 255, 0.18);
  pointer-events: none;
  z-index: 2;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.search-shell {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  gap: 8px;
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.08), rgba(34, 213, 255, 0.12));
  padding: 10px;
  border-radius: 18px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(30, 123, 255, 0.12);
}

.search-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(30, 123, 255, 0.3), rgba(255, 154, 107, 0.25), rgba(34, 213, 255, 0.3));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
}

.search-shell select,
.search-shell input {
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
}

.search-shell input {
  background: #fff;
}

.search-shell select {
  background: rgba(255, 255, 255, 0.9);
  color: var(--qq-ink-soft);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%238aa3c4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 36px;
  min-width: 120px;
}

.search-shell button {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-cyan));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(30, 123, 255, 0.3);
}

.search-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--qq-muted);
}

.meta-pill {
  background: rgba(30, 123, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}

.search-message {
  margin-top: 8px;
  font-size: 12px;
  color: var(--qq-muted);
}

.search-message.is-error {
  color: #d9534f;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.modal.is-open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 34, 74, 0.35);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(640px, 92vw);
  background: #fff;
  border-radius: var(--qq-radius-md);
  border: 1px solid var(--qq-line);
  box-shadow: var(--qq-shadow);
  padding: 20px;
  z-index: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-size: 16px;
  margin: 0;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--qq-muted);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--qq-muted);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--qq-line);
  font-size: 13px;
  background: #fff;
  color: var(--qq-ink);
}

.textarea {
  min-height: 90px;
  resize: vertical;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.form-message {
  margin-top: 8px;
  font-size: 12px;
  color: var(--qq-muted);
  min-height: 18px;
}

.form-message[data-type="error"] {
  color: #d9534f;
}

.hero-hot {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-hot-title {
  font-size: 13px;
  color: var(--qq-muted);
  font-weight: 600;
}

.hero-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-hot-tags .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-color: rgba(30, 123, 255, 0.16);
  color: var(--qq-ink);
}

.hero-hot-tags .chip em {
  font-style: normal;
  font-size: 12px;
  color: var(--qq-muted);
}

.mobile-hot-panel {
  display: none;
}

.mobile-only {
  display: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.stat-card {
  background: var(--qq-card);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--qq-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30, 123, 255, 0.08), rgba(255, 154, 107, 0.12));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 60%;
  height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: rotate(20deg);
  opacity: 0.6;
  animation: shimmer 7s ease-in-out infinite;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--qq-muted);
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.12), rgba(255, 154, 107, 0.2));
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--qq-shadow-soft);
}

.cta-card h4 {
  margin: 0;
  font-size: 16px;
}

.cta-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--qq-muted);
}

.section {
  margin: 20px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title-main {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.section-title-main .rank-icon {
  margin-top: 3px;
}

.section-title-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-title h3 {
  margin: 0;
  font-family: "Smiley Sans", "ZCOOL KuaiLe", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.section-title-note {
  margin: 0;
  font-size: 12px;
  color: var(--qq-muted);
}

.section-title span {
  font-size: 13px;
  color: var(--qq-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--qq-gap-md);
}

.panel {
  background: var(--qq-card);
  border-radius: var(--qq-radius-lg);
  padding: 16px;
  box-shadow: var(--qq-shadow);
}

.featured-panel {
  background: #f7fbff;
  border: 1px solid rgba(30, 123, 255, 0.08);
}

.hot-list {
  display: grid;
  gap: 8px;
}

.hot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(30, 123, 255, 0.06);
  font-size: 14px;
}

.hot-item strong {
  color: var(--qq-blue-1);
}

.rank-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: #f7fbff;
  border: 1px solid rgba(30, 123, 255, 0.08);
}

.rank-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 12px;
}

.rank-top-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-cyan));
}

.rank-top h3 {
  margin: 0;
  font-family: "Smiley Sans", "ZCOOL KuaiLe", sans-serif;
  font-size: 22px;
}

.rank-subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--qq-muted);
}

.rank-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(30, 123, 255, 0.08);
  box-shadow: var(--qq-shadow-soft);
  margin-bottom: 14px;
}

.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.rank-tab {
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(30, 123, 255, 0.08);
  color: var(--qq-ink);
  cursor: pointer;
  font-size: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rank-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(30, 123, 255, 0.12);
}

.rank-tab.active {
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-cyan));
  color: #fff;
  box-shadow: 0 10px 18px rgba(30, 123, 255, 0.2);
}

.rank-refresh {
  border: 1px solid rgba(30, 123, 255, 0.16);
  background: rgba(30, 123, 255, 0.08);
  color: var(--qq-blue-1);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
}

.rank-list {
  display: none;
}

.rank-list.active {
  display: block;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.rank-board {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(30, 123, 255, 0.08);
  box-shadow: var(--qq-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.board-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.board-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1e7bff;
  background: rgba(30, 123, 255, 0.12);
  border: 1px solid rgba(30, 123, 255, 0.22);
  box-shadow: none;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  flex: 0 0 auto;
}

.badge-hot .badge-icon {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%3E%3Cpath%20fill%3D%27%231e7bff%27%20d%3D%27M6%201.2c-1.4%201-1.9%202.2-1.4%203.4.3.7-.9%201.2-1%202.6%200%201.6%201.3%202.8%202.9%202.8%201.8%200%203.2-1.3%203.2-3%200-1.7-1.2-2.4-2.1-3.3-.7-.7-1-1.5-.6-2.5z%27%2F%3E%3C%2Fsvg%3E");
}

.badge-new .badge-icon {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%3E%3Cpath%20fill%3D%27%231e7bff%27%20d%3D%27M6%201.2l1.2%202.3%202.6.4-1.9%201.8.5%202.6L6%206.9%203.6%208.3l.5-2.6-1.9-1.8%202.6-.4z%27%2F%3E%3C%2Fsvg%3E");
}

.badge-good .badge-icon {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%3E%3Cpath%20fill%3D%27%231e7bff%27%20d%3D%27M6%201.2a4.8%204.8%200%201%200%200%209.6%204.8%204.8%200%200%200%200-9.6zm-1%204.6.8.8%202-2%20.8.8-2.8%202.8-1.6-1.6z%27%2F%3E%3C%2Fsvg%3E");
}

.board-date {
  font-size: 12px;
  color: var(--qq-muted);
}

.board-link {
  border: none;
  background: rgba(30, 123, 255, 0.08);
  color: var(--qq-blue-1);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.board-list {
  display: grid;
  gap: 8px;
}

.board-item {
  display: grid;
  grid-template-columns: 24px 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(30, 123, 255, 0.04);
}

.board-rank {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-cyan));
}

.board-thumb {
  width: 40px;
  height: 54px;
  border-radius: 8px;
  background: var(--poster, linear-gradient(135deg, #1e7bff, #78e4ff));
  background-size: cover;
  background-position: center;
}

.board-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.board-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--qq-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.board-episodes {
  font-size: 11px;
  color: var(--qq-muted);
  white-space: nowrap;
}

.board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--qq-muted);
}

.board-score {
  font-size: 12px;
  color: var(--qq-muted);
  white-space: nowrap;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

#guess-you-like.card-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.featured-panel .card-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

@media (max-width: 900px) {
  #guess-you-like.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  #guess-you-like.card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-panel .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.media-card {
  background: var(--qq-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--qq-shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster {
  height: 210px;
  background: var(--poster, linear-gradient(135deg, #1e7bff, #78e4ff));
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 35%, rgba(0, 0, 0, 0.3));
}

.poster .poster-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--qq-blue-1);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}

.poster .poster-episodes {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(16, 24, 40, 0.68);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.media-body {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.media-card:hover,
.result-card:hover,
.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(18, 34, 74, 0.18);
}

.media-title {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  font-size: 12px;
  color: var(--qq-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.tag {
  background: rgba(30, 123, 255, 0.1);
  color: var(--qq-blue-1);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.filter-bar {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--qq-shadow-soft);
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.filter-loading {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 6px 0 12px;
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
}

.filter-loading .loader {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--qq-shadow-soft);
}

.filter-loading .loader-text {
  font-size: 13px;
  color: var(--qq-muted);
}

.filter-loading .loader-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(30, 123, 255, 0.18);
  border-top-color: rgba(30, 123, 255, 0.9);
  animation: spin 1s linear infinite;
}

.filter-loading .loader-dots {
  display: flex;
  gap: 6px;
}

.filter-loading .loader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(30, 123, 255, 0.8);
  animation: pulse 1s ease-in-out infinite;
}

.filter-loading .loader-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.filter-loading .loader-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-label {
  font-size: 13px;
  color: var(--qq-muted);
  width: 64px;
}

.filter-toggle {
  border: 1px solid rgba(30, 123, 255, 0.18);
  background: rgba(30, 123, 255, 0.08);
  color: var(--qq-blue-1);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  margin-left: auto;
}

#filter-results {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

#filter-results .poster {
  height: auto;
  aspect-ratio: 2 / 3;
}

@media (max-width: 1280px) {
  #filter-results {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  #filter-results {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #filter-results {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #filter-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 18px 0;
}

.pagination button {
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(30, 123, 255, 0.08);
  cursor: pointer;
}

.detail-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--qq-shadow);
}

.detail-hero--v3 {
  grid-template-columns: 300px minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(30, 123, 255, 0.12);
}

.detail-hero--v3::before,
.detail-hero--v3::after {
  display: none;
}

.detail-hero--v3 .detail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-hero--v3 .detail-desc {
  margin-top: 4px;
}

.detail-hero--v3 .detail-actions--row {
  flex-wrap: wrap;
}

.detail-hero--v3 .detail-meta--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.detail-hero--v3 .detail-meta--grid span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-hero--v3 .detail-aside {
  position: relative;
  z-index: 1;
}

.detail-hero--v3 .detail-stats--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.detail-hero--v3 .detail-stats--stack .stat-card {
  border: 1px solid rgba(30, 123, 255, 0.12);
  box-shadow: 0 12px 24px rgba(18, 34, 74, 0.08);
}

.detail-hero--v2 {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 246, 255, 0.9));
  border: 1px solid rgba(30, 123, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.detail-hero--v2::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(120, 228, 255, 0.4), transparent 65%);
  opacity: 0.9;
}

.detail-hero--v2::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 154, 107, 0.28), transparent 70%);
  opacity: 0.8;
}

.detail-poster-frame {
  padding: 10px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(30, 123, 255, 0.18), rgba(255, 154, 107, 0.18));
  box-shadow: 0 18px 36px rgba(18, 34, 74, 0.18);
  position: relative;
  z-index: 1;
}

.detail-hero--v2 .detail-poster {
  height: 420px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.detail-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.detail-hero--v2 .detail-info h1 {
  font-size: 32px;
  letter-spacing: 0.5px;
}

.detail-meta--chips {
  gap: 10px;
}

.detail-meta--chips span {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(30, 123, 255, 0.12);
  color: var(--qq-blue-1);
  font-weight: 600;
  border: 1px solid rgba(30, 123, 255, 0.18);
}

.detail-actions--stack {
  flex-wrap: wrap;
}

.detail-stats--strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(30, 123, 255, 0.1);
  position: relative;
  z-index: 1;
}

.detail-stats--strip .stat-card {
  background: transparent;
  border-radius: 14px;
  box-shadow: none;
  border: 1px solid rgba(30, 123, 255, 0.12);
}

.detail-stats--strip .stat-card::before,
.detail-stats--strip .stat-card::after {
  display: none;
}

.detail-poster {
  height: 360px;
  border-radius: 18px;
  background: var(--poster, linear-gradient(135deg, #1e7bff, #78e4ff));
  position: relative;
  overflow: hidden;
}

.detail-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 45%, rgba(0, 0, 0, 0.45));
}

.detail-info h1 {
  margin: 0 0 6px;
  font-family: "Smiley Sans", "ZCOOL KuaiLe", sans-serif;
  font-size: 30px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
  font-size: 13px;
  color: var(--qq-muted);
}

.detail-desc {
  font-size: 14px;
  color: var(--qq-ink-soft);
  line-height: 1.6;
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.result-list {
  display: grid;
  gap: 12px;
}

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--qq-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card .result-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-card .media-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
  align-content: center;
}

.result-actions .result-status {
  justify-self: end;
}

/* Search page redesign */
.search-page .search-page-body {
  padding-top: 18px;
}

.search-page .search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: var(--qq-gap-lg);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.search-page .search-hero-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(30, 123, 255, 0.14);
  box-shadow: var(--qq-shadow);
}

.search-page .search-hero-card::before {
  content: "";
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 70%;
  background: radial-gradient(circle at 20% 40%, rgba(34, 213, 255, 0.35), transparent 60%),
    radial-gradient(circle at 60% 30%, rgba(255, 154, 107, 0.28), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.search-page .search-hero-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.2), rgba(120, 228, 255, 0.12));
  filter: blur(2px);
  opacity: 0.6;
  pointer-events: none;
}

.search-page .search-hero-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.search-page .search-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qq-blue-1);
  font-weight: 700;
  margin-bottom: 8px;
}

.search-page .search-hero-card h1 {
  margin: 0 0 10px;
  font-family: "Smiley Sans", "ZCOOL KuaiLe", sans-serif;
  font-size: 32px;
  line-height: 1.15;
}

.search-page .search-hero-card p {
  margin: 0 0 14px;
  color: var(--qq-ink-soft);
  font-size: 15px;
}

.search-page .search-live {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.search-page .search-pill {
  background: rgba(30, 123, 255, 0.08);
  border: 1px solid rgba(30, 123, 255, 0.16);
  color: var(--qq-ink);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(30, 123, 255, 0.1);
}

.search-page .search-shell--hero {
  grid-template-columns: 150px 1fr 150px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 12px 26px rgba(30, 123, 255, 0.12);
  position: relative;
  z-index: 1;
}

.search-page .search-shell--hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(30, 123, 255, 0.35), rgba(34, 213, 255, 0.18), rgba(255, 154, 107, 0.28));
  opacity: 0.7;
  z-index: -1;
}

.search-page .search-shell--hero input,
.search-page .search-shell--hero select {
  font-size: 15px;
  padding: 12px 14px;
}

.search-page .search-shell--hero button {
  font-size: 15px;
  border-radius: 14px;
}

.search-page .search-helper {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--qq-muted);
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.search-page .search-hero-side {
  display: grid;
  gap: 14px;
}

.search-page .search-side-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(30, 123, 255, 0.12);
  box-shadow: var(--qq-shadow-soft);
}

.search-page .search-side-card.is-accent {
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.12), rgba(34, 213, 255, 0.18));
}

.search-page .search-side-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.search-page .search-side-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--qq-ink-soft);
  font-size: 13px;
}

.search-page .search-side-card li::before {
  content: "●";
  color: var(--qq-blue-1);
  margin-right: 8px;
}

.search-page .search-result-section {
  margin-top: 26px;
}

.search-page .search-empty {
  padding: 28px 18px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  color: var(--qq-muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(30, 123, 255, 0.18);
  border-radius: 16px;
  font-size: 15px;
}

.search-page .search-empty.search-loading {
  color: var(--qq-muted);
  font-weight: 400;
}

.search-page .search-empty .loading-spinner {
  width: 80px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
}

.search-page .search-empty .loading-spinner span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(120, 130, 160, 0.45);
  animation: bounce 1s ease-in-out infinite;
}

.search-page .search-empty .loading-spinner span:nth-child(2) {
  animation-delay: 0.15s;
}

.search-page .search-empty .loading-spinner span:nth-child(3) {
  animation-delay: 0.3s;
}

.search-page .search-empty .loading-text {
  line-height: 1.2;
}

.search-page .result-list {
  gap: 16px;
}

.search-page .result-card {
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: stretch;
  border: 1px solid rgba(30, 123, 255, 0.12);
  background: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}

.search-page .result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30, 123, 255, 0.05), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.search-page .result-card:hover::before {
  opacity: 1;
}


.search-page .result-card .media-title {
  font-size: 18px;
  white-space: normal;
  line-height: 1.25;
}

.search-page .result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.search-page .result-status {
  font-size: 13px;
  font-weight: 400;
  padding: 0 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--qq-muted);
  white-space: nowrap;
  min-height: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-shadow: none;
}

.search-page .result-status.is-active {
  background: transparent;
  color: var(--qq-blue-1);
}

.search-page .result-status.is-checking {
  background: transparent;
  color: var(--qq-muted);
  padding-left: 22px;
  box-shadow: none;
  position: relative;
}

.search-page .result-status.is-checking::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(120, 130, 160, 0.35);
  border-top-color: rgba(120, 130, 160, 0.9);
  background: transparent;
  box-sizing: border-box;
  position: absolute;
  left: 8px;
  top: 50%;
  margin-top: -6px;
  animation: spin 0.8s linear infinite;
}

.search-page .result-status.is-danger {
  background: transparent;
  color: #e05555;
  box-shadow: none;
}

.search-page .result-meta-note {
  font-size: 12px;
  color: var(--qq-muted);
  margin-top: 4px;
}

.search-page .result-card .media-meta {
  flex-wrap: wrap;
  row-gap: 6px;
}

.search-page .result-card .detail-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
}

.search-page .result-card .media-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-page .result-extra {
  font-size: 12px;
  color: var(--qq-muted);
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.search-page .result-extra-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-page .result-extra-label {
  color: var(--qq-muted);
}

.search-page .result-extra-value {
  color: var(--qq-text);
  font-weight: 600;
}

.search-page .result-extra-sep {
  color: var(--qq-muted);
}

.search-page .result-extra-drive .drive-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(15, 35, 70, 0.12);
}

.search-page .result-actions {
  align-content: center;
  justify-items: stretch;
  grid-auto-rows: 40px;
}

.search-page .result-actions .btn {
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.search-page .result-actions > * {
  height: 40px;
}

.search-page .result-actions .result-status {
  justify-self: stretch;
}

@media (max-width: 1100px) {
  .search-page .search-hero {
    grid-template-columns: 1fr;
  }

  .search-page .search-hero-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-page .search-live {
    justify-items: start;
  }

  .search-page .result-card {
    grid-template-columns: 160px 1fr;
  }

  .search-page .result-actions {
    grid-column: 1 / -1;
    justify-items: start;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 720px) {
  .search-page .search-shell--hero {
    grid-template-columns: 1fr;
  }

  .search-page .search-helper {
    flex-direction: column;
  }

  .search-page .result-card {
    grid-template-columns: 1fr;
  }

  .search-page .result-card .poster {
    height: 190px;
  }
}

@media (max-width: 720px) {
  .search-page .search-hero-side {
    display: none !important;
  }

  [data-submit-open] {
    display: none !important;
  }

  .cta-row {
    display: none !important;
  }

  .search-page .result-card {
    background: var(--qq-card);
    border: 1px solid var(--qq-line);
    border-radius: 18px;
    padding: 14px 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    grid-template-areas:
      "head head"
      "desc desc"
      "extra actions";
    column-gap: 12px;
    row-gap: 10px;
    align-items: stretch;
    box-shadow: var(--qq-shadow-soft);
  }

  .search-page .result-info {
    display: contents;
  }

  .search-page .result-head {
    position: relative;
    padding-right: 0;
    grid-area: head;
  }

  .search-page .media-meta {
    display: none;
    grid-area: meta;
  }

  .search-page .result-head .media-title {
    font-size: 15px;
    line-height: 1.4;
  }

  .search-page .media-meta {
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: 11px;
    color: var(--qq-ink-soft);
  }

  .search-page .media-meta span {
    background: rgba(30, 123, 255, 0.08);
    border-radius: 999px;
    padding: 2px 8px;
  }

  .search-page .detail-desc {
    font-size: 12px;
    color: var(--qq-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    grid-area: desc;
  }

  .search-page .result-extra {
    grid-area: extra;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: var(--qq-muted);
    border-radius: 0;
    border: none;
    padding: 0;
    background: transparent;
    align-self: stretch;
    min-height: 84px;
    min-width: 0;
  }

  .search-page .result-extra-item {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
    max-width: 100%;
  }

  .search-page .result-extra-label {
    color: var(--qq-ink-soft);
    font-weight: 600;
  }

  .search-page .result-extra-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .search-page .result-extra-source::before,
  .search-page .result-extra-time::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    opacity: 0.75;
  }

  .search-page .result-extra-source::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 12a4 4 0 0 1 4-4h4'/><path d='M15 12a4 4 0 0 1-4 4H7'/><path d='M13 8l4-4'/><path d='M11 16l-4 4'/></svg>");
  }

  .search-page .result-extra-time::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/><path d='M12 8v5l3 2'/></svg>");
  }

  .search-page .result-extra-sep {
    display: none;
  }

  .search-page .result-actions {
    grid-area: actions;
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 0;
    align-self: stretch;
    justify-self: end;
    width: 110px;
    justify-items: stretch;
    align-content: start;
    align-items: start;
    border-radius: 0;
    border: none;
    padding: 0;
    background: transparent;
    min-height: 84px;
  }

  .search-page .result-actions .result-status {
    position: static;
    width: 100%;
    min-height: 28px;
    height: 28px;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 10px;
    border: 1px solid var(--qq-line);
    background: rgba(30, 123, 255, 0.08);
  }

  .search-page .result-actions .btn,
  .search-page .result-actions .resource-btn {
    height: 32px;
    font-size: 12px;
    border-radius: 10px;
  }

  .search-page .result-actions .btn.btn-ghost {
    display: none;
  }

  .search-page .result-actions .resource-btn {
    order: 1;
    width: 100%;
  }

  .search-page .result-actions .btn {
    order: 2;
    width: 100%;
  }

  .search-page .result-status.is-active {
    background: rgba(30, 123, 255, 0.12);
    border-color: rgba(30, 123, 255, 0.35);
  }

  .search-page .result-status.is-danger {
    background: rgba(224, 85, 85, 0.15);
    border-color: rgba(224, 85, 85, 0.3);
  }

  .search-page .result-status.is-checking::before {
    width: 10px;
    height: 10px;
    left: 6px;
    margin-top: -5px;
  }

  .search-page .search-hero-card {
    padding: 18px 16px;
    border-radius: 18px;
    box-shadow: var(--qq-shadow-soft);
  }

  .search-page .search-kicker {
    display: none;
  }

  .search-page .search-hero-card h1 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .search-page .search-hero-card p {
    display: none;
  }

  .search-page .search-live {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
    width: 100%;
  }

  .search-page .search-pill {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
    flex: 1 1 0;
    max-width: calc(50% - 4px);
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .search-page .search-shell--hero {
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }

  .search-page .search-shell--hero select,
  .search-page .search-shell--hero input,
  .search-page .search-shell--hero button {
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
  }

  .search-page .search-helper {
    margin-top: 6px;
    font-size: 11px;
  }
}

footer.footer {
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid rgba(30, 123, 255, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.footer-simple {
  font-size: 13px;
  color: var(--qq-muted);
}

.footer-simple-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--qq-muted);
}

.footer-links span {
  opacity: 0.6;
}

.badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 154, 107, 0.18);
  color: #ff7a3d;
}

@keyframes auroraFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(20px) scale(1.05);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes shimmer {
  0%,
  100% {
    transform: translateX(-40%) rotate(20deg);
    opacity: 0.2;
  }
  50% {
    transform: translateX(220%) rotate(20deg);
    opacity: 0.8;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .stats-panel {
    margin-top: 10px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-hero--v2 {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .detail-hero--v2 .detail-poster {
    height: 320px;
  }

  .detail-hero--v3 {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .detail-hero--v3 .detail-poster {
    height: 320px;
  }

  .detail-hero--v3 .detail-stats--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .rank-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .rank-refresh {
    align-self: flex-end;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .search-shell {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    flex-wrap: wrap;
  }

  .footer-simple-inner {
    justify-content: center;
    text-align: center;
  }

  .rank-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .rank-panel {
    padding: 16px;
  }

  .board-item {
    grid-template-columns: 24px 36px 1fr auto;
  }
}

@media (max-width: 720px) {
  .home-page .hero-stats {
    display: none;
  }

  .home-page .cta-row {
    display: none;
  }

  .home-page main > .section {
    display: none;
  }

  .home-page footer {
    display: none;
  }

  .home-page .nav-actions {
    display: flex;
  }

  .home-page .nav-actions [data-submit-open] {
    display: none;
  }

  .home-page .hero-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(23, 59, 130, 0.12);
    border: 1px solid rgba(30, 123, 255, 0.12);
  }

  .home-page .hero-title {
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-page .hero-subtitle {
    font-size: 12px;
    color: var(--qq-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-mobile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 8px;
  }

  .hero-mobile-tabs .chip {
    border: 1px solid rgba(30, 123, 255, 0.18);
    background: #fff;
    color: var(--qq-blue-1);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
  }

  .hero-mobile-tabs .chip.active {
    background: linear-gradient(135deg, #1e7bff, #4fc7ff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(30, 123, 255, 0.25);
  }

  .home-page .search-shell {
    background: rgba(30, 123, 255, 0.06);
    padding: 12px;
    border-radius: 18px;
    gap: 10px;
  }

  .home-page .search-shell select {
    display: none;
  }

  .home-page .search-shell input {
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(30, 123, 255, 0.22);
    padding-left: 42px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231E7BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
    background-repeat: no-repeat;
    background-position: 16px center;
  }

  .home-page .search-shell button {
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e7bff, #4fc7ff);
    box-shadow: 0 16px 30px rgba(30, 123, 255, 0.3);
  }

  .home-page .search-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pc-only {
    display: none !important;
  }

  .mobile-only {
    display: flex;
  }

  .home-page .search-meta .meta-pill {
    background: rgba(30, 123, 255, 0.08);
    color: var(--qq-muted);
    border: none;
    font-size: 12px;
    padding: 6px 12px;
  }

  .home-page .hero-hot {
    display: none;
  }

  .home-page .mobile-hot-panel {
    display: block;
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(30, 123, 255, 0.06);
    border: 1px solid rgba(30, 123, 255, 0.18);
  }

  .home-page .mobile-hot-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--qq-muted);
    margin-bottom: 8px;
  }

  .home-page .mobile-hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .home-page .mobile-hot-tags .chip {
    padding: 6px 12px;
    border-radius: 999px;
  }
}

body.theme-dark .mobile-hot-panel {
  background: rgba(12, 18, 34, 0.92);
  border-color: rgba(148, 163, 184, 0.22);
}

body.theme-dark .mobile-hot-title {
  color: #cbd5f5;
}

@media (max-width: 720px) {
  .home-page .hero-merge .hero-title {
    font-size: 14px !important;
    line-height: 1.2;
  }
}

body.theme-dark .search-shell input,
body.theme-dark .search-shell select,
body.theme-dark .search-shell textarea {
  background-color: rgba(12, 18, 34, 0.9);
  color: var(--qq-ink);
  border-color: rgba(148, 163, 184, 0.3);
}

body.theme-dark .search-shell input::placeholder,
body.theme-dark .search-shell textarea::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

body.theme-dark .search-shell {
  background: rgba(15, 23, 42, 0.5);
}

body.theme-dark .hero-card,
body.theme-dark .stats-panel,
body.theme-dark .panel,
body.theme-dark .media-card,
body.theme-dark .result-card,
body.theme-dark .modal-panel {
  background: rgba(12, 18, 34, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark .stats-panel::after {
  border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark .stat-card,
body.theme-dark .stat-mini,
body.theme-dark .rank-panel,
body.theme-dark .rank-board,
body.theme-dark .board-head,
body.theme-dark .board-list,
body.theme-dark .rank-top {
  background: rgba(12, 18, 34, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 28px rgba(3, 6, 14, 0.55);
}

body.theme-dark .rank-toolbar {
  background: rgba(12, 18, 34, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 28px rgba(3, 6, 14, 0.55);
}

body.theme-dark .rank-tabs .rank-tab {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.18);
}

body.theme-dark .rank-tabs .rank-tab.active {
  background: linear-gradient(135deg, #1e7bff, #3cc2ff);
  color: #fff;
}

body.theme-dark .board-item {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.18);
}

body.theme-dark .board-badge,
body.theme-dark .stats-badge,
body.theme-dark .badge {
  background: rgba(59, 130, 246, 0.2);
  color: #cbd5f5;
}

body.theme-dark .hero-mobile-tabs .chip {
  background: rgba(12, 18, 34, 0.9);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

body.theme-dark .home-page .search-meta .meta-pill {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5f5;
}

body.theme-dark .search-page .search-hero-card,
body.theme-dark .search-page .search-side-card,
body.theme-dark .search-page .search-shell--hero {
  background: rgba(12, 18, 34, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 28px rgba(3, 6, 14, 0.55);
}

body.theme-dark .search-page .search-hero-card::before,
body.theme-dark .search-page .search-hero-card::after {
  opacity: 0.2;
}

body.theme-dark .search-page .search-hero-card p,
body.theme-dark .search-page .search-side-card ul {
  color: #cbd5f5;
}

body.theme-dark .search-page .search-kicker {
  color: #7ab4ff;
}

body.theme-dark .search-page .search-pill {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  box-shadow: none;
}

body.theme-dark .search-page .search-shell--hero::before {
  opacity: 0.3;
}

body.theme-dark .search-page .search-side-card.is-accent {
  background: rgba(30, 123, 255, 0.18);
}

body.theme-dark .filter-bar,
body.theme-dark .filter-loading .loader,
body.theme-dark .filter-toggle,
body.theme-dark .pagination button {
  background: rgba(12, 18, 34, 0.92);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark .filter-toggle {
  color: #cbd5f5;
}

body.theme-dark .filter-label {
  color: #cbd5f5;
}

body.theme-dark .filter-loading .loader-ring {
  border-color: rgba(148, 163, 184, 0.3);
  border-top-color: #3cc2ff;
}

body.theme-dark .filter-loading .loader-dots span {
  background: #7ab4ff;
}

body.theme-dark .detail-hero,
body.theme-dark .detail-stats .stat-card,
body.theme-dark .detail-stats--strip .stat-card,
body.theme-dark .detail-hero--v3 .detail-stats--stack .stat-card {
  background: rgba(12, 18, 34, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 28px rgba(3, 6, 14, 0.55);
}

body.theme-dark .detail-desc,
body.theme-dark .detail-meta,
body.theme-dark .detail-stats .stat-label {
  color: #cbd5f5;
}

body.theme-dark .hero-hot-tags .chip {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
  box-shadow: 0 10px 20px rgba(3, 6, 14, 0.45);
}

body.theme-dark .hero-hot-tags .chip em {
  color: #cbd5f5;
}

body.theme-dark .modal-panel,
body.theme-dark .modal-header,
body.theme-dark .modal-panel .field label {
  color: #e2e8f0;
}

body.theme-dark .modal-panel .input,
body.theme-dark .modal-panel .select,
body.theme-dark .modal-panel .textarea,
body.theme-dark .modal-panel select,
body.theme-dark .modal-panel input,
body.theme-dark .modal-panel textarea {
  background: rgba(9, 14, 26, 0.95);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.28);
}

body.theme-dark .modal-panel .input::placeholder,
body.theme-dark .modal-panel .textarea::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

body.theme-dark .modal-panel .btn.btn-ghost {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

body.theme-dark .search-page .search-hero-card,
body.theme-dark .search-page .search-shell--hero,
body.theme-dark .search-page .search-side-card {
  background: rgba(12, 18, 34, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  box-shadow: 0 14px 28px rgba(3, 6, 14, 0.55);
}

body.theme-dark .search-page .search-hero-card::before,
body.theme-dark .search-page .search-hero-card::after,
body.theme-dark .search-page .search-shell--hero::before {
  opacity: 0.18;
}

body.theme-dark .search-page .search-hero-card h1,
body.theme-dark .search-page .search-side-title,
body.theme-dark .search-page .search-side-card li,
body.theme-dark .search-page .search-helper {
  color: #e2e8f0;
}

body.theme-dark .search-page .search-hero-card p {
  color: #cbd5f5;
}

body.theme-dark .search-page .search-shell--hero input,
body.theme-dark .search-page .search-shell--hero select {
  background: rgba(9, 14, 26, 0.95);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.28);
}

body.theme-dark .search-hero-card,
body.theme-dark .search-side-card,
body.theme-dark .search-shell--hero {
  background: rgba(12, 18, 34, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

body.theme-dark .search-hero-card h1,
body.theme-dark .search-hero-card p,
body.theme-dark .search-side-card li,
body.theme-dark .search-side-title {
  color: #e2e8f0 !important;
}
.hero-merge .hero-title {
  font-size: 34px;
}

.hero-merge .hero-subtitle {
  margin-bottom: 6px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.stats-panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--qq-shadow);
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(30, 123, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.stats-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px dashed rgba(30, 123, 255, 0.16);
  pointer-events: none;
}

.stats-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.stats-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--qq-ink);
}

.stats-subtitle {
  font-size: 12px;
  color: var(--qq-muted);
  margin-top: 2px;
}

.stats-badge {
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.12), rgba(34, 213, 255, 0.2));
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--qq-blue-1);
  font-weight: 600;
}

.stat-grid.stat-grid-compact {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  align-content: start;
  margin: 0;
}

.stat-mini {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(30, 123, 255, 0.08);
  box-shadow: 0 10px 18px rgba(30, 123, 255, 0.12);
}

.stat-mini .stat-value {
  font-size: 18px;
}

.stat-mini .badge {
  background: rgba(30, 123, 255, 0.14);
  color: var(--qq-blue-1);
}

.stat-mini::after {
  opacity: 0.3;
}

.search-summary {
  margin: 10px 0 18px;
  color: var(--qq-muted);
  font-size: 14px;
}

.resource-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-cyan));
  color: #fff;
  box-shadow: 0 6px 12px rgba(30, 123, 255, 0.18);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.resource-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(30, 123, 255, 0.22);
}

.resource-btn.disabled {
  background: rgba(30, 123, 255, 0.12);
  color: #8aa2c8;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.search-page .result-actions .resource-btn {
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.transfer-panel {
  width: min(450px, 92vw);
  border-radius: 18px;
  position: relative;
}

.transfer-close {
  position: absolute;
  top: 12px;
  right: 16px;
}

.transfer-dialog {
  min-height: 100px;
  text-align: center;
}

.transfer-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--qq-ink);
}

.transfer-loading {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.transfer-loading .spinner {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(30, 123, 255, 0.1),
    rgba(30, 123, 255, 0.9),
    rgba(60, 194, 255, 0.9),
    rgba(30, 123, 255, 0.2)
  );
  box-shadow: 0 0 18px rgba(30, 123, 255, 0.25);
  animation: spin 1s linear infinite;
  position: relative;
}

.transfer-loading .spinner::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(30, 123, 255, 0.12);
}

.transfer-tips {
  margin-top: 12px;
  color: #666;
  font-size: 14px;
  text-align: center;
}

.transfer-tips.is-error {
  color: #ff3f3d;
}

.transfer-visit {
  margin-top: 14px;
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--qq-blue-1), var(--qq-cyan));
  color: #fff;
  display: none;
}

.transfer-qr {
  margin: 24px auto 0;
  width: 200px;
  height: 200px;
  border: 1.5px solid #e5e6e8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transfer-qr canvas {
  width: 100%;
  height: 100%;
  padding: 10px;
}

.transfer-nav {
  margin-top: 15px;
  font-size: 15px;
  max-width: 100%;
}

.transfer-nav .item {
  color: #333;
  text-align: center;
  margin-top: 5px;
  max-width: 100%;
}

.transfer-nav .item .t {
  font-weight: 600;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfer-nav .item a {
  color: var(--qq-blue-1);
}

.transfer-nav #transferLinkItem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfer-nav #transferLinkItem span {
  flex: 0 0 auto;
}

.transfer-nav #transferLinkItem a {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfer-statement {
  margin-top: 24px;
  padding-top: 15px;
  text-align: left;
  font-size: 10px;
  border-top: 1px dashed #e6e6e6;
}

.transfer-statement .content {
  margin-bottom: 8px;
  color: #666;
  line-height: 1.6;
  max-height: 1.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-statement .content p {
  text-align: justify;
  margin-top: 5px;
  max-height: 1.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}




