:root {
  --qc-primary: #2f67c5;
  --qc-ink: #1f2a3c;
  --qc-paper: #f4f7fb;
  --qc-bg: var(--qc-paper);
  --qc-surface: var(--qc-paper);
  --qc-surface-soft: var(--qc-paper);
  --qc-text: var(--qc-ink);
  --qc-text-soft: rgba(31, 42, 60, 0.72);
  --qc-border: rgba(31, 42, 60, 0.16);
  --qc-blue: var(--qc-primary);
  --qc-blue-deep: var(--qc-primary);
  --qc-blue-soft: rgba(47, 103, 197, 0.14);
  --qc-accent: var(--qc-primary);
  --qc-shadow: 0 8px 22px rgba(31, 42, 60, 0.1);
  --qc-radius: 12px;
}

:root[data-mode="dark"] {
  --qc-bg: var(--qc-ink);
  --qc-surface: var(--qc-ink);
  --qc-surface-soft: var(--qc-ink);
  --qc-text: var(--qc-paper);
  --qc-text-soft: rgba(244, 247, 251, 0.76);
  --qc-border: rgba(244, 247, 251, 0.22);
  --qc-blue: var(--qc-primary);
  --qc-blue-deep: var(--qc-primary);
  --qc-blue-soft: rgba(47, 103, 197, 0.2);
  --qc-accent: var(--qc-primary);
  --qc-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  color: var(--qc-text);
  background: var(--qc-bg);
  min-height: 100vh;
}

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

.qc-wrap {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.qc-main {
  padding: 16px 0 34px;
}

.qc-topbar {
  background: var(--qc-surface);
  border-bottom: 1px solid var(--qc-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.qc-topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}

.qc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.qc-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--qc-paper);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  background: var(--qc-primary);
}

.qc-brand-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.qc-topmenu {
  display: flex;
  align-items: center;
  align-items: center;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.qc-nav {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
  min-width: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.qc-nav a {
  color: var(--qc-text-soft);
  font-size: 15px;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.qc-nav a:hover,
.qc-nav a.is-active {
  color: var(--qc-blue);
}

.qc-user-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--qc-text-soft);
  font-size: 14px;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.qc-mode-toggle {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--qc-border);
  background: var(--qc-surface-soft);
  color: var(--qc-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
}

.qc-mode-toggle-topbar {
  display: none;
}

.qc-mode-toggle:hover {
  border-color: var(--qc-blue);
  color: var(--qc-blue);
}

.qc-signup {
  background: var(--qc-blue);
  color: var(--qc-paper);
  padding: 8px 14px;
  border-radius: 8px;
}

.qc-menu-btn {
  display: none;
  border: 1px solid var(--qc-border);
  border-radius: 8px;
  background: var(--qc-surface);
  width: 36px;
  height: 36px;
  line-height: 1;
  font-size: 20px;
  cursor: pointer;
}

.qc-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 288px;
  margin-bottom: 18px;
  background: var(--qc-ink);
}

.qc-hero-short {
  min-height: 176px;
}

.qc-hero-art {
  position: absolute;
  inset: 0;
  background: var(--qc-ink);
  transform: scale(1.02);
}

.qc-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 42, 60, 0.72), rgba(47, 103, 197, 0.36) 52%, rgba(31, 42, 60, 0.62));
}

.qc-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 34px
    );
  opacity: 0.28;
}

.qc-hero-content {
  position: relative;
  z-index: 1;
  padding: 28px 34px;
  color: var(--qc-paper);
}

.qc-hero-panel {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 18px 16px;
  border-radius: 12px;
  background: rgba(244, 247, 251, 0.14);
  border: 1px solid rgba(244, 247, 251, 0.26);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.qc-hero-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.qc-hero-main {
  min-width: 0;
}

.qc-hero-search {
  width: 100%;
  margin: 0;
  position: relative;
}

.qc-hero-search input {
  width: 100%;
  height: 64px;
  border: 1px solid rgba(244, 247, 251, 0.78);
  background: rgba(244, 247, 251, 0.96);
  color: var(--qc-ink);
  border-radius: 12px;
  padding: 0 88px 0 24px;
  font-size: clamp(15px, 1.2vw, 24px);
  letter-spacing: 0.2px;
  outline: none;
  box-shadow: 0 8px 20px rgba(22, 43, 77, 0.14);
}

.qc-hero-search input::placeholder {
  color: rgba(31, 42, 60, 0.54);
}

.qc-hero-search input:focus {
  border-color: var(--qc-primary);
  background: var(--qc-paper);
}

.qc-hero-search button {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid var(--qc-primary);
  background: var(--qc-primary);
  color: var(--qc-paper);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(39, 80, 157, 0.35);
}

.qc-hero-search button:hover {
  background: var(--qc-primary);
  border-color: var(--qc-primary);
  filter: brightness(0.92);
}

.qc-hero-search button svg {
  width: 22px;
  height: 22px;
}

.qc-hero-hotline {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.qc-hero-hot-label {
  font-size: 13px;
  color: rgba(244, 247, 251, 0.92);
  line-height: 1;
}

.qc-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
  min-height: 34px;
}

.qc-hero-tags a,
.qc-hero-tags button {
  border: 1px solid rgba(244, 247, 251, 0.44);
  background: rgba(31, 42, 60, 0.3);
  color: var(--qc-paper);
  border-radius: 999px;
  font-size: 13px;
  padding: 7px 14px 8px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.qc-hero-tags a:hover,
.qc-hero-tags button:hover {
  background: rgba(31, 42, 60, 0.46);
  color: var(--qc-paper);
  transform: translateY(-1px);
}

.qc-hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: start;
}

.qc-hero-stat {
  border: 1px solid rgba(244, 247, 251, 0.3);
  border-radius: 10px;
  background: rgba(31, 42, 60, 0.36);
  padding: 11px 12px;
  min-height: 56px;
  display: grid;
  gap: 6px;
  align-content: center;
}

.qc-hero-stat span {
  color: rgba(244, 247, 251, 0.88);
  font-size: 12px;
  letter-spacing: 0.2px;
  line-height: 1;
}

.qc-hero-stat strong {
  font-size: 28px;
  line-height: 1;
  color: var(--qc-paper);
}

/* Home hero: use one poster image background only */
.qc-home-page .qc-hero {
  background-color: var(--qc-ink);
  background-image: var(--qc-home-hero-image, linear-gradient(145deg, var(--qc-ink), var(--qc-primary)));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 288px;
  border-radius: 14px;
  overflow: hidden;
}

.qc-home-page .qc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 60, 0.66), rgba(31, 42, 60, 0.5) 42%, rgba(31, 42, 60, 0.7));
  z-index: 0;
}

.qc-home-page .qc-hero-art {
  display: none;
}

.qc-home-page .qc-hero-content {
  padding: 24px 26px;
  color: var(--qc-paper);
  position: relative;
  z-index: 1;
}

.qc-home-page .qc-hero-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.qc-home-page .qc-hero-search input {
  border: 1px solid rgba(244, 247, 251, 0.72);
  background: rgba(244, 247, 251, 0.92);
  color: var(--qc-ink);
  box-shadow: 0 8px 18px rgba(18, 37, 68, 0.2);
}

.qc-home-page .qc-hero-search input::placeholder {
  color: rgba(31, 42, 60, 0.54);
}

.qc-home-page .qc-hero-hotline {
  margin-top: 10px;
}

.qc-home-page .qc-hero-hot-label {
  color: rgba(244, 247, 251, 0.96);
  text-shadow: 0 1px 1px rgba(8, 18, 36, 0.45);
}

.qc-home-page .qc-hero-tags a,
.qc-home-page .qc-hero-tags button {
  border: 1px solid rgba(244, 247, 251, 0.56);
  background: rgba(31, 42, 60, 0.4);
  color: var(--qc-paper);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.qc-home-page .qc-hero-tags a:hover,
.qc-home-page .qc-hero-tags button:hover {
  background: rgba(31, 42, 60, 0.56);
  color: var(--qc-paper);
}

.qc-home-page .qc-hero-stats {
  gap: 8px;
}

.qc-home-page .qc-hero-stat {
  border: 1px solid rgba(244, 247, 251, 0.34);
  background: rgba(31, 42, 60, 0.48);
}

.qc-home-page .qc-hero-stat span {
  color: rgba(244, 247, 251, 0.88);
}

.qc-home-page .qc-hero-stat strong {
  color: var(--qc-paper);
}

.qc-recommend,
.qc-result-board,
.qc-filter-board,
.qc-block {
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius);
  padding: 16px;
  box-shadow: var(--qc-shadow);
}

.qc-recommend,
.qc-result-board,
.qc-filter-board {
  margin-bottom: 14px;
}

.qc-section-stack {
  display: grid;
  gap: 14px;
}

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

.qc-section-head-main {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.qc-section-head h2 {
  margin: 0;
  font-size: 20px;
  white-space: nowrap;
  color: var(--qc-text);
}

.qc-section-tags {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.qc-section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--qc-border);
  background: var(--qc-surface-soft);
  color: var(--qc-text-soft);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.qc-section-tag:hover {
  color: var(--qc-blue);
  border-color: var(--qc-blue);
  background: var(--qc-blue-soft);
}

.qc-title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qc-title-with-icon svg {
  width: 20px;
  height: 20px;
  color: var(--qc-blue);
}

.qc-section-head p {
  margin: 0;
  color: var(--qc-text-soft);
  font-size: 14px;
}

.qc-section-head a {
  color: var(--qc-blue);
  font-size: 14px;
}

.qc-section-more {
  white-space: nowrap;
  text-decoration: none;
}

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

.qc-card {
  border: 1px solid var(--qc-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--qc-surface);
}

.qc-card-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  background-image: var(--qc-poster);
  background-size: cover;
  background-position: center;
}

.qc-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qc-card-score {
  position: absolute;
  right: 6px;
  top: 6px;
  background: rgba(47, 103, 197, 0.92);
  color: var(--qc-paper);
  border-radius: 4px;
  font-size: 11px;
  padding: 2px 6px;
}

.qc-card-rank {
  position: absolute;
  left: 6px;
  top: 6px;
  background: rgba(31, 42, 60, 0.76);
  color: var(--qc-paper);
  border-radius: 4px;
  font-size: 11px;
  padding: 2px 6px;
}

.qc-card-body {
  padding: 7px 8px 6px;
}

.qc-card-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.24;
  color: var(--qc-text);
  min-height: 0;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-card-meta-line {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--qc-text-soft);
  font-size: 11px;
  line-height: 1.24;
  min-height: 16px;
  white-space: nowrap;
  overflow: hidden;
}

.qc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 1 auto;
  min-width: 0;
}

.qc-meta-icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--qc-text-soft);
  flex: 0 0 auto;
}

.qc-meta-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.qc-meta-text {
  white-space: nowrap;
}

.qc-card-meta {
  margin-top: 0;
  color: var(--qc-text-soft);
  font-size: 12px;
  line-height: 1.24;
  min-height: 16px;
  display: inline-flex;
  align-items: center;
}

.qc-empty {
  color: var(--qc-text-soft);
  border: 1px dashed var(--qc-border);
  border-radius: 10px;
  background: var(--qc-surface-soft);
  text-align: center;
  padding: 24px;
}

.qc-channel-tabs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qc-tab {
  border: 1px solid rgba(244, 247, 251, 0.3);
  color: var(--qc-paper);
  background: rgba(31, 42, 60, 0.24);
  border-radius: 999px;
  font-size: 13px;
  padding: 6px 14px;
  cursor: pointer;
}

.qc-tab.is-active {
  background: var(--qc-paper);
  color: var(--qc-blue-deep);
}

.qc-filter-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 10px;
  margin-bottom: 10px;
}

.qc-filter-row:last-child {
  margin-bottom: 0;
}

.qc-filter-row > span {
  color: var(--qc-text-soft);
  font-size: 13px;
  line-height: 30px;
}

.qc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qc-chip {
  border: 1px solid var(--qc-border);
  background: var(--qc-surface-soft);
  color: var(--qc-text-soft);
  border-radius: 999px;
  font-size: 13px;
  padding: 6px 12px;
  cursor: pointer;
}

.qc-chip.is-active {
  border-color: var(--qc-blue);
  background: var(--qc-blue-soft);
  color: var(--qc-blue-deep);
}

.qc-pager {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qc-pager button {
  border: 1px solid var(--qc-border);
  background: var(--qc-surface);
  color: var(--qc-text-soft);
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
}

.qc-pager button:hover {
  border-color: var(--qc-blue);
  color: var(--qc-blue);
}

.qc-pager button.is-active {
  border-color: var(--qc-blue);
  background: var(--qc-blue);
  color: var(--qc-paper);
}

.qc-pager button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.qc-search-bar,
.qc-detail-card {
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius);
  box-shadow: var(--qc-shadow);
}

.qc-search-bar {
  padding: 16px;
  margin-bottom: 14px;
}

.qc-search-form {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 10px;
}

.qc-search-page .qc-search-shell {
  display: grid;
  gap: 12px;
}

.qc-search-page .qc-search-bar {
  padding: 14px;
  border-radius: 14px;
}

.qc-search-page .qc-search-form {
  grid-template-columns: 140px 1fr 88px;
  gap: 8px;
}

.qc-search-page .qc-search-form select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--qc-border);
  border-radius: 10px;
  padding: 0 10px;
  background: var(--qc-surface-soft);
  color: var(--qc-text);
  outline: none;
}

.qc-search-form input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--qc-border);
  border-radius: 8px;
  font-size: 14px;
  padding: 0 12px;
  outline: none;
}

.qc-search-form input:focus {
  border-color: var(--qc-blue);
  box-shadow: 0 0 0 3px rgba(42, 111, 211, 0.14);
}

.qc-search-page .qc-search-form select:focus {
  border-color: var(--qc-blue);
  box-shadow: 0 0 0 3px var(--qc-blue-soft);
}

.qc-search-form button,
.qc-btn {
  border: 1px solid var(--qc-blue);
  background: var(--qc-surface);
  color: var(--qc-blue);
  border-radius: 8px;
  font-size: 14px;
  height: 40px;
  cursor: pointer;
}

.qc-search-form button {
  background: var(--qc-blue);
  color: var(--qc-paper);
}

.qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0 14px;
}

.qc-btn-primary {
  background: var(--qc-blue);
  color: var(--qc-paper);
}

#searchState {
  color: var(--qc-text-soft);
  font-size: 13px;
  margin: 10px 0 0;
}

.qc-search-page .qc-search-tags {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qc-search-page .qc-search-tags span {
  border: 1px solid var(--qc-border);
  background: var(--qc-surface-soft);
  color: var(--qc-text-soft);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  line-height: 1;
}

.qc-search-page .qc-search-tags strong {
  color: var(--qc-text);
}

.qc-search-page .qc-search-result-board {
  border-radius: 14px;
}

.qc-search-page .qc-search-result-board .qc-section-head {
  margin-bottom: 8px;
}

.qc-search-page .qc-search-result-board .qc-section-head h2 {
  font-size: 29px;
}

.qc-search-page .qc-search-result-board .qc-section-head p {
  font-size: 23px;
  font-weight: 700;
  color: var(--qc-text);
}

.qc-search-page #searchState {
  margin: 0 0 10px;
  border: 1px solid var(--qc-border);
  border-radius: 10px;
  background: var(--qc-surface-soft);
  padding: 9px 11px;
}

.qc-search-list {
  display: grid;
  gap: 8px;
}

.qc-search-item {
  border: 1px solid var(--qc-border);
  border-radius: 11px;
  background: var(--qc-surface);
  padding: 11px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.qc-search-item-main {
  min-width: 0;
}

.qc-search-item-title {
  margin: 0;
  color: var(--qc-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qc-search-item-meta {
  margin: 6px 0 0;
  color: var(--qc-text-soft);
  font-size: 12px;
  line-height: 1.3;
}

.qc-search-item-desc {
  margin: 5px 0 0;
  color: var(--qc-text-soft);
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qc-search-item-side {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.qc-search-item-btn {
  border: 1px solid var(--qc-blue);
  background: var(--qc-blue);
  color: var(--qc-paper);
  border-radius: 10px;
  font-size: 13px;
  height: 38px;
  min-width: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.qc-search-item-btn:hover {
  filter: brightness(0.93);
}

.qc-transfer-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: none;
}

.qc-transfer-modal.is-open {
  display: block;
}

.qc-transfer-mask {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 60, 0.68);
  backdrop-filter: blur(2px);
}

.qc-transfer-panel {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 7vh auto 0;
  border: 1px solid var(--qc-border);
  border-radius: 16px;
  background: var(--qc-surface);
  box-shadow: 0 22px 44px rgba(31, 42, 60, 0.22);
  padding: 16px;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  animation: qc-transfer-panel-in 0.26s ease forwards;
}

.qc-transfer-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--qc-blue), rgba(47, 103, 197, 0.4));
}

.qc-transfer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.qc-transfer-heading {
  min-width: 0;
}

.qc-transfer-head h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.qc-transfer-head p {
  margin: 4px 0 0;
  color: var(--qc-text-soft);
  font-size: 13px;
}

.qc-transfer-head-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qc-transfer-stage-badge {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 103, 197, 0.26);
  background: rgba(47, 103, 197, 0.12);
  color: var(--qc-blue);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qc-transfer-stage-badge.is-done {
  border-color: rgba(47, 103, 197, 0.34);
  background: rgba(47, 103, 197, 0.18);
  color: var(--qc-blue);
}

.qc-transfer-stage-badge.is-error {
  border-color: rgba(31, 42, 60, 0.24);
  background: rgba(31, 42, 60, 0.1);
  color: var(--qc-text);
}

.qc-transfer-close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--qc-border);
  border-radius: 8px;
  background: var(--qc-surface-soft);
  color: var(--qc-text-soft);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.qc-transfer-close:hover {
  border-color: var(--qc-blue);
  color: var(--qc-blue);
}

.qc-transfer-loading {
  margin-top: 12px;
  border: 1px solid var(--qc-border);
  border-radius: 12px;
  background: var(--qc-surface-soft);
  color: var(--qc-text);
  padding: 12px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.qc-transfer-spinner-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(47, 103, 197, 0.2), rgba(47, 103, 197, 0.06));
  display: grid;
  place-items: center;
}

.qc-transfer-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(47, 103, 197, 0.18);
  border-top-color: var(--qc-blue);
  border-right-color: var(--qc-blue);
  animation: qc-transfer-spin 0.85s linear infinite;
}

.qc-transfer-loading-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.qc-transfer-loading-main strong {
  font-size: 14px;
  line-height: 1.3;
}

.qc-transfer-loading-main p {
  margin: 0;
  font-size: 12px;
  color: var(--qc-text-soft);
}

.qc-transfer-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(47, 103, 197, 0.14);
  overflow: hidden;
}

.qc-transfer-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(47, 103, 197, 0.8), var(--qc-blue));
  border-radius: inherit;
  transition: width 0.32s ease;
}

.qc-transfer-progress-text {
  margin: 0;
  font-size: 12px;
  color: var(--qc-text-soft);
}

.qc-transfer-progress-text > span {
  color: var(--qc-blue);
  font-weight: 600;
}

.qc-transfer-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.qc-transfer-steps > span {
  border: 1px solid var(--qc-border);
  background: var(--qc-surface);
  color: var(--qc-text-soft);
  border-radius: 999px;
  font-size: 11px;
  padding: 2px 8px;
  line-height: 1.3;
}

.qc-transfer-steps > span.is-active {
  border-color: var(--qc-blue);
  background: var(--qc-blue-soft);
  color: var(--qc-blue);
}

.qc-transfer-steps > span.is-done {
  border-color: rgba(47, 103, 197, 0.34);
  color: var(--qc-blue);
}

.qc-transfer-qr-wrap {
  margin-top: 12px;
  border: 1px solid var(--qc-border);
  border-radius: 12px;
  background: var(--qc-surface-soft);
  padding: 14px;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.qc-transfer-qr-frame {
  border: 1px solid var(--qc-border);
  border-radius: 12px;
  background: var(--qc-surface);
  padding: 8px;
}

.qc-transfer-qr {
  width: 210px;
  height: 210px;
  border: 1px solid var(--qc-border);
  border-radius: 10px;
  background: var(--qc-paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qc-transfer-qr canvas,
.qc-transfer-qr img {
  width: 210px;
  height: 210px;
  display: block;
}

.qc-transfer-qr-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
  color: var(--qc-text-soft);
}

.qc-transfer-qr-fallback strong {
  color: var(--qc-text);
  font-size: 13px;
}

.qc-transfer-qr-fallback span {
  font-size: 12px;
  line-height: 1.45;
}

.qc-transfer-qr-info {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.qc-transfer-qr-info h4 {
  margin: 0;
  font-size: 15px;
}

.qc-transfer-qr-tips {
  margin: 0;
  color: var(--qc-text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.qc-transfer-qr-list {
  margin: 0;
  padding-left: 18px;
  color: var(--qc-text-soft);
  font-size: 12px;
  line-height: 1.5;
  display: grid;
  gap: 4px;
}

.qc-transfer-link-wrap {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--qc-border);
  border-radius: 12px;
  background: var(--qc-surface-soft);
  padding: 12px;
}

.qc-transfer-link-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qc-transfer-label {
  font-size: 13px;
  color: var(--qc-text-soft);
}

.qc-transfer-code {
  height: 22px;
  border-radius: 999px;
  border: 1px dashed rgba(47, 103, 197, 0.38);
  color: var(--qc-blue);
  padding: 0 8px;
  font-size: 12px;
  align-items: center;
}

.qc-transfer-link {
  width: 100%;
  height: 38px;
  border: 1px solid var(--qc-border);
  border-radius: 8px;
  background: var(--qc-surface-soft);
  color: var(--qc-text);
  padding: 0 10px;
}

.qc-transfer-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

@keyframes qc-transfer-panel-in {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

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

.qc-detail-card {
  padding: 16px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
}

.qc-detail-poster {
  border-radius: 10px;
  background-image: var(--qc-poster);
  background-size: cover;
  background-position: center;
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qc-detail-poster.is-placeholder {
  position: relative;
  background-image:
    radial-gradient(120px 120px at 18% 14%, rgba(244, 247, 251, 0.2), transparent 70%),
    radial-gradient(150px 150px at 84% 84%, rgba(31, 42, 60, 0.22), transparent 72%),
    linear-gradient(150deg, rgba(47, 103, 197, 0.88), rgba(47, 103, 197, 0.62));
  background-size: cover;
  background-position: center;
}

.qc-detail-poster.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 12px;
  border: 1px solid rgba(244, 247, 251, 0.24);
  pointer-events: none;
}

.qc-detail-poster-ph {
  width: calc(100% - 24px);
  max-width: 210px;
  min-height: 176px;
  border: 1px solid rgba(244, 247, 251, 0.22);
  border-radius: 16px;
  background: rgba(31, 42, 60, 0.2);
  backdrop-filter: blur(2px);
  color: var(--qc-paper);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  padding: 18px 14px;
  box-shadow: 0 10px 24px rgba(31, 42, 60, 0.22);
}

.qc-detail-poster-ph-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(244, 247, 251, 0.3);
  background: rgba(244, 247, 251, 0.12);
  color: rgba(244, 247, 251, 0.94);
  display: grid;
  place-items: center;
}

.qc-detail-poster-ph-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.qc-detail-poster-ph strong {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.qc-detail-poster-ph span {
  max-width: 164px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 247, 251, 0.88);
}

.qc-detail-main h1 {
  margin: 0 0 10px;
  font-size: 30px;
}

.qc-detail-meta {
  color: var(--qc-text-soft);
  font-size: 14px;
  margin-bottom: 10px;
}

.qc-detail-desc {
  margin: 0;
  color: var(--qc-text);
  line-height: 1.7;
}

.qc-detail-status {
  margin: 10px 0 0;
  color: var(--qc-text-soft);
  font-size: 13px;
  min-height: 18px;
}

.qc-detail-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qc-detail-recommend {
  margin-top: 14px;
}

.qc-footer {
  background: var(--qc-surface);
  border-top: 1px solid var(--qc-border);
  margin-top: 24px;
}

.qc-footer-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--qc-text-soft);
  font-size: 13px;
}

.qc-footer-links {
  display: flex;
  gap: 12px;
}

.qc-submit-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
}

.qc-submit-modal.is-open {
  display: block;
}

.qc-submit-mask {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 60, 0.6);
}

.qc-submit-panel {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 8vh auto 0;
  border-radius: 12px;
  border: 1px solid var(--qc-border);
  background: var(--qc-surface);
  box-shadow: var(--qc-shadow);
  padding: 14px;
}

.qc-submit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.qc-submit-head h3 {
  margin: 0;
  font-size: 18px;
}

.qc-submit-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--qc-border);
  background: var(--qc-surface-soft);
  color: var(--qc-text-soft);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.qc-submit-form {
  display: grid;
  gap: 10px;
}

.qc-submit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.qc-submit-field {
  display: grid;
  gap: 6px;
}

.qc-submit-field > span {
  font-size: 13px;
  color: var(--qc-text-soft);
}

.qc-submit-field input,
.qc-submit-field select,
.qc-submit-field textarea {
  width: 100%;
  border: 1px solid var(--qc-border);
  border-radius: 8px;
  background: var(--qc-surface-soft);
  color: var(--qc-text);
  font-size: 14px;
  padding: 9px 10px;
  outline: none;
}

.qc-submit-field textarea {
  resize: vertical;
  min-height: 86px;
}

.qc-submit-field input:focus,
.qc-submit-field select:focus,
.qc-submit-field textarea:focus {
  border-color: var(--qc-blue);
  box-shadow: 0 0 0 3px var(--qc-blue-soft);
}

.qc-submit-status {
  min-height: 18px;
  font-size: 13px;
  color: var(--qc-text-soft);
}

.qc-submit-status.is-error {
  color: var(--qc-blue);
}

.qc-submit-status.is-success {
  color: var(--qc-blue);
}

.qc-submit-btn {
  border: 1px solid var(--qc-blue);
  background: var(--qc-blue);
  color: var(--qc-paper);
  border-radius: 8px;
  height: 40px;
  font-size: 14px;
  cursor: pointer;
}

.qc-submit-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

@media (max-width: 1180px) {
  .qc-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .qc-topbar-inner {
    gap: 12px;
  }

  .qc-brand-name {
    font-size: 21px;
  }

  .qc-menu-btn {
    display: none;
  }

  .qc-topmenu {
    display: flex;
    position: relative;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .qc-nav {
    width: auto;
    gap: 12px;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .qc-user-links {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .qc-hero-content {
    padding: 22px 20px;
  }

  .qc-hero-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 10px;
  }

  .qc-hero-search {
    margin: 0 auto;
  }

  .qc-hero-search input {
    height: 58px;
    padding-right: 72px;
  }

  .qc-hero-stats {
    gap: 8px;
  }

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

  .qc-section-head-main {
    gap: 10px;
  }

  .qc-section-head h2 {
    font-size: 18px;
  }

  .qc-section-tag {
    height: 30px;
    padding: 0 12px;
    font-size: 13px;
  }

  .qc-search-page .qc-search-form {
    grid-template-columns: 120px 1fr 84px;
  }
}

@media (max-width: 760px) {
  .qc-wrap {
    width: calc(100% - 20px);
  }

  .qc-topbar-inner {
    gap: 12px;
  }

  .qc-menu-btn {
    display: none;
  }

  .qc-topmenu {
    display: flex;
    position: relative;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .qc-nav {
    width: auto;
    gap: 12px;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .qc-user-links {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .qc-main {
    padding-top: 12px;
  }

  .qc-hero {
    min-height: 240px;
  }

  .qc-hero-content {
    padding: 18px 14px;
  }

  .qc-hero-panel {
    padding: 12px 10px 10px;
  }

  .qc-hero-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .qc-hero-search input {
    height: 48px;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 54px;
  }

  .qc-hero-search button {
    width: 34px;
    height: 34px;
    right: 6px;
    border-radius: 8px;
  }

  .qc-hero-search button svg {
    width: 18px;
    height: 18px;
  }

  .qc-hero-hotline {
    margin-top: 10px;
    gap: 8px;
  }

  .qc-hero-tags {
    gap: 6px;
  }

  .qc-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    order: 2;
  }

  .qc-hero-stat {
    padding: 10px 12px;
    min-height: 52px;
  }

  .qc-hero-stat strong {
    font-size: 20px;
  }

  .qc-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .qc-section-head {
    align-items: center;
  }

  .qc-section-head-main {
    min-width: 0;
  }

  .qc-section-head h2 {
    font-size: 18px;
    margin: 0;
  }

  .qc-block .qc-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .qc-block .qc-section-head-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .qc-block .qc-section-head h2 {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .qc-block .qc-section-tags {
    display: flex;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    gap: 6px;
    overflow: hidden;
    padding-bottom: 0;
  }

  .qc-block .qc-section-tag {
    flex: 0 0 auto;
    max-width: none;
    height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }

  .qc-block .qc-section-tag:nth-child(n + 5) {
    display: none;
  }

  .qc-block .qc-section-more {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 0;
    white-space: nowrap;
  }

  .qc-filter-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .qc-filter-row > span {
    line-height: 1.2;
  }

  .qc-search-form {
    grid-template-columns: 1fr;
  }

  .qc-search-page .qc-search-form {
    grid-template-columns: 92px minmax(0, 1fr) 72px;
    gap: 6px;
    align-items: center;
  }

  .qc-search-page .qc-search-form select,
  .qc-search-page .qc-search-form input,
  .qc-search-page .qc-search-form button {
    height: 38px;
    font-size: 13px;
  }

  .qc-search-page .qc-search-form select {
    padding: 0 8px;
  }

  .qc-search-page .qc-search-form input {
    padding: 0 10px;
  }

  .qc-search-page .qc-search-result-board .qc-section-head {
    align-items: center;
    gap: 8px;
  }

  .qc-search-page .qc-search-result-board .qc-section-head h2 {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-search-page .qc-search-result-board .qc-section-head p {
    font-size: 14px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .qc-search-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .qc-search-item-main {
    min-width: 0;
  }

  .qc-search-item-title,
  .qc-search-item-meta,
  .qc-search-item-desc {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-search-item-title {
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
  }

  .qc-search-item-desc {
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
  }

  .qc-search-item-side {
    align-self: center;
    justify-content: flex-end;
  }

  .qc-search-item-btn {
    min-width: 84px;
    height: 34px;
    padding: 0 10px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .qc-transfer-panel {
    margin-top: 4vh;
    padding: 12px;
  }

  .qc-transfer-head {
    align-items: center;
  }

  .qc-transfer-loading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .qc-transfer-spinner-wrap {
    width: 38px;
    height: 38px;
  }

  .qc-transfer-qr-frame {
    padding: 7px;
  }

  .qc-transfer-qr {
    width: 190px;
    height: 190px;
  }

  .qc-transfer-qr canvas,
  .qc-transfer-qr img {
    width: 190px;
    height: 190px;
  }

  .qc-transfer-qr-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .qc-transfer-qr-info {
    width: 100%;
    text-align: left;
  }

  .qc-transfer-actions {
    justify-content: stretch;
  }

  .qc-transfer-actions .qc-btn {
    flex: 1;
  }

  .qc-detail-card {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .qc-detail-poster {
    min-height: 190px;
  }

  .qc-detail-main {
    min-width: 0;
  }

  .qc-detail-main h1 {
    font-size: 20px;
    margin: 0 0 8px;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-detail-meta {
    margin-bottom: 8px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-detail-desc {
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .qc-detail-actions {
    margin-top: 10px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .qc-detail-actions .qc-btn {
    min-width: 0;
    flex: 1;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-detail-poster-ph {
    min-height: 136px;
    padding: 12px 10px;
    gap: 8px;
  }

  .qc-detail-poster-ph-icon {
    width: 36px;
    height: 36px;
  }

  .qc-detail-poster-ph strong {
    max-width: 100%;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-detail-poster-ph span {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-footer-inner {
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .qc-submit-panel {
    margin-top: 4vh;
    padding: 12px;
  }

  .qc-submit-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .qc-topbar-inner {
    gap: 12px;
  }

  .qc-mode-toggle-topbar {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .qc-menu-btn {
    display: inline-grid;
    place-items: center;
    margin-left: 0;
  }

  .qc-topmenu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--qc-surface);
    border-bottom: 1px solid var(--qc-border);
    box-shadow: 0 12px 22px rgba(31, 42, 60, 0.16);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 0 0 10px 10px;
  }

  .qc-topmenu.is-open {
    display: flex;
  }

  .qc-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    position: static;
    left: auto;
    transform: none;
  }

  .qc-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    white-space: nowrap;
    line-height: 1;
    padding: 0 6px;
    border: 1px solid var(--qc-border);
    border-radius: 10px;
    background: var(--qc-surface-soft);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-user-links {
    width: 100%;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    justify-content: stretch;
    margin-left: 0;
  }

  .qc-user-links .qc-mode-toggle {
    display: none;
  }

  .qc-user-links a {
    min-height: 36px;
    border-radius: 10px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .qc-block .qc-section-tag:nth-child(n + 3) {
    display: none;
  }

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

  .qc-user-links {
    grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr);
  }

  .qc-mode-toggle-topbar {
    width: 34px;
    height: 34px;
  }
}

@media (min-width: 641px) {
  .qc-mode-toggle-topbar {
    display: none !important;
  }

  .qc-menu-btn {
    display: none !important;
  }

  .qc-topmenu {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .qc-nav {
    display: flex !important;
    justify-content: center !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .qc-user-links {
    display: inline-flex !important;
    margin-left: auto !important;
  }
}

@media (max-width: 520px) {
  .qc-detail-card {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
  }

  .qc-detail-poster {
    min-height: 166px;
  }

  .qc-detail-main h1 {
    font-size: 17px;
  }

  .qc-detail-actions .qc-btn {
    height: 34px;
    font-size: 12px;
  }

  .qc-search-page .qc-search-form {
    grid-template-columns: 84px minmax(0, 1fr) 66px;
    gap: 5px;
  }

  .qc-search-page .qc-search-form select,
  .qc-search-page .qc-search-form input,
  .qc-search-page .qc-search-form button {
    height: 36px;
    font-size: 12px;
  }

  .qc-search-page .qc-search-result-board .qc-section-head h2 {
    font-size: 14px;
  }

  .qc-search-page .qc-search-result-board .qc-section-head p {
    font-size: 13px;
  }

  .qc-block .qc-section-tag {
    height: 26px;
    padding: 0 7px;
    font-size: 11px;
  }

  .qc-block .qc-section-tag:nth-child(n + 4) {
    display: none;
  }

  .qc-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .qc-hero-stat {
    min-width: 0;
    min-height: 46px;
    padding: 8px 8px;
    gap: 4px;
    overflow: hidden;
  }

  .qc-hero-stat span {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .qc-hero-stat strong {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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