﻿/* components.css - 鑷姩鎷嗗垎: 2026-01-18 */

.login-btn:hover {
  color: #ffffff;
}

.user-strip .login-strip-inner {
  background: linear-gradient(90deg, rgba(14, 94, 105, 0.9), rgba(26, 125, 124, 0.95) 55%, rgba(28, 141, 122, 0.95));
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eafffa;
  font-weight: 700;
}

.user-name {
  font-size: 13px;
}

.hero-intro h1 {
  font-family: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.lead {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

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

.hero-intro {
  background: transparent;
  border-radius: 4px;
  padding: 6px 0 0;
  box-shadow: none;
  max-width: 860px;
}

.hero-aside {
  display: grid;
  gap: 16px;
}

.hero-block {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.hero-tags {
  padding: 16px 18px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.hero-block-title {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}

.stat-pill {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  min-width: 110px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 16px rgba(6, 9, 11, 0.35);
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
}

.hero-list {
  display: grid;
  gap: 12px;
}

.hero-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-item:hover {
  transform: none;
  border-color: rgba(255, 179, 86, 0.35);
}

.hero-thumb {
  display: block;
  width: 84px;
  height: 58px;
  border-radius: 4px;
  overflow: hidden;
  background: #0b0f12;
}

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

.hero-item-body {
  display: grid;
  gap: 8px;
}

.hero-item-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-item-meta {
  color: var(--muted);
  font-size: 12px;
}

.hero-rail-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.rail-empty {
  color: var(--muted);
  font-size: 12px;
}

.color-chip {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--chip);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.tag-cloud {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tag-chip:hover {
  background: rgba(255, 179, 86, 0.16);
  border-color: rgba(255, 179, 86, 0.4);
  transform: translateY(-1px);
}

.tag-list .tag-chip {
  color: var(--muted);
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--panel);
  padding: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 26px;
}

.filter-block {
  display: grid;
  gap: 12px;
}

.filter-title {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--muted);
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.active-filter {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chip {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(255, 179, 86, 0.4);
  background: rgba(255, 179, 86, 0.12);
  transform: translateY(-1px);
}

.chip.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 179, 86, 0.18);
}

.filter-dock .chip {
  border-radius: 4px;
  border: 1px solid #111;
  background: linear-gradient(180deg, #2f2f2f, #202020);
  color: #c6cbd0;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.filter-dock .chip:hover {
  color: #fff;
  border-color: #1f1f1f;
  background: linear-gradient(180deg, #3a3a3a, #262626);
  transform: none;
}

.filter-dock .chip.active {
  border-color: #24351a;
  color: #eaf6de;
  background: linear-gradient(180deg, #3f5b2a, #2c3a1d);
}

.filter-block select {
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 4px;
}

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

.section-head h2 {
  margin: 0;
  font-family: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
}

.sort-form select {
  background: var(--panel-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 4px;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.wall-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.wall-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.wall-card.is-seen {
  opacity: 0.55;
}

.wall-card.is-seen::after {
  content: "SEEN";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.25);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.wall-card.is-dragging {
  opacity: 0.35;
  transform: scale(0.98);
}

.collections-shell {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 22, 24, 0.85), rgba(12, 14, 16, 0.9));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  padding: 18px 20px 24px;
  display: grid;
  gap: 16px;
}

.collections-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.collections-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.collections-title-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #cfe7ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.collections-title-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collections-title h2 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #eef3f6;
}

.collections-subtitle {
  font-size: 12px;
  color: #9aa6ac;
}

.collections-note {
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #262626;
  background: #1b1b1b;
  color: #b8c0c6;
  font-size: 12px;
  padding: 10px 12px;
}

.collections-note a {
  color: #9df18b;
  margin-left: 6px;
}

.collections-note-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  background: #121212;
  color: #c8d1d6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.collections-note-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-grid {
  --collection-card-min: 240px;
  --collection-card-max: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--collection-card-min), var(--collection-card-max)));
  gap: 16px;
  justify-content: center;
  width: 100%;
}

.collections-favorites {
  display: grid;
  gap: 12px;
}

.collections-favorites-head,
.collections-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.collections-favorites-head h3,
.collections-section-head h3 {
  margin: 0;
  font-size: 14px;
  color: #eef3f6;
}

.collections-favorites-count,
.collections-section-count {
  font-size: 11px;
  color: var(--muted);
}

.collection-grid--favorites {
  --collection-card-min: 240px;
  --collection-card-max: 300px;
}

.collection-card {
  display: block;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  background: #151515;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.collection-card:hover {
  transform: none;
  border-color: #2a2a2a;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.collection-card-media {
  position: relative;
  height: 128px;
  background-color: #1b1b1b;
  background-size: cover;
  background-position: center;
}

.collection-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 14, 16, 0.6);
  color: #e9eef2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  opacity: 0.9;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.collection-fav-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-fav-btn.is-active {
  color: #f6c453;
  border-color: rgba(246, 196, 83, 0.6);
  background: rgba(12, 14, 16, 0.75);
}

.collection-card:hover .collection-fav-btn,
.collections-nav-link--card:hover .collection-fav-btn {
  opacity: 1;
}

.collection-card-media::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 64px;
  background: rgba(8, 10, 12, 0.75);
  z-index: 1;
}

.collection-card-thumbs {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 88px;
  height: 72px;
  pointer-events: none;
  z-index: 3;
}

.collection-card-thumb {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: block;
  object-fit: cover;
  background-color: #111;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
  transform-origin: 0% 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.collection-card-thumb.is-thumb-1 {
  transform: rotate(-4deg);
  z-index: 5;
}

.collection-card-thumb.is-thumb-2 {
  transform: rotate(-12deg);
  z-index: 4;
  opacity: 0.9;
}

.collection-card-thumb.is-thumb-3 {
  transform: rotate(-24deg);
  z-index: 3;
  opacity: 0.8;
}

.collection-card:hover .collection-card-thumb.is-thumb-1 {
  transform: rotate(-4deg);
}

.collection-card:hover .collection-card-thumb.is-thumb-2 {
  transform: rotate(-12deg);
}

.collection-card:hover .collection-card-thumb.is-thumb-3 {
  transform: rotate(-24deg);
}

.collection-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px 14px 132px;
  background: linear-gradient(90deg, rgba(10, 10, 12, 0), rgba(10, 10, 12, 0.45));
  z-index: 2;
}

.collection-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #eef3f6;
}

.collection-card-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #a8b1b7;
}

.collection-card-user {
  color: #9bd6ff;
  font-weight: 500;
}

.collection-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.collection-meta svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-card-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #8c969d;
  background: rgba(0, 0, 0, 0.55);
}

.collections-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #9aa6ac;
}

.collections-back {
  color: #9df18b;
  text-decoration: none;
}

.collections-back:hover {
  text-decoration: underline;
}

.collection-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.collection-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #f1c965;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.collection-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-detail-meta h2 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #eef3f6;
}

.collection-detail-meta span {
  font-size: 12px;
  color: #9aa6ac;
}

.collection-wall-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.collection-pagination .page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.collection-pagination .page-numbers a,
.collection-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  background: #1b1b1b;
  color: #cbd6dc;
  font-size: 12px;
}

.collection-pagination .page-numbers .current {
  background: linear-gradient(180deg, rgba(111, 217, 138, 0.25), rgba(111, 217, 138, 0.15));
  border-color: rgba(111, 217, 138, 0.5);
  color: #ffffff;
}

.wall-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #0b0f12;
  box-shadow: var(--shadow);
  transform: none;
  transition: box-shadow 0.25s ease;
  animation: fadeUp 0.6s ease var(--delay, 0s) both;
}

.wall-card:hover {
  transform: none;
  box-shadow: 0 24px 50px rgba(5, 9, 11, 0.55);
}

.wall-thumb {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: #0b0f12;
}

.wall-thumb-fav {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(12, 14, 16, 0.55);
  color: #f2f2f2;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  z-index: 3;
}

.wall-thumb-fav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wall-thumb-fav:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.wall-thumb:hover .wall-thumb-fav,
.wall-thumb:focus-within .wall-thumb-fav,
.wall-card:hover .wall-thumb-fav {
  opacity: 1;
  visibility: visible;
}

.wall-thumb-fav.is-active {
  color: #f6c453;
  border-color: rgba(246, 196, 83, 0.6);
  background: rgba(12, 14, 16, 0.75);
}

.wall-thumb-info {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  font-size: 11px;
  color: #cbd6dc;
  z-index: 2;
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wall-thumb:hover .wall-thumb-info,
.wall-thumb:focus-within .wall-thumb-info,
.wall-card:hover .wall-thumb-info {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.page.home .wall-thumb-info {
  display: none;
}

.page.home .wall-thumb-fav {
  display: none;
}

.wall-res {
  font-size: 11px;
  color: #b7c0c6;
}

.wall-favs,
.wall-tags-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: #e9eef2;
  font-size: 11px;
  cursor: pointer;
}

.wall-favs svg,
.wall-tags-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wall-favs.is-active {
  color: #f6c453;
  border-color: rgba(246, 196, 83, 0.6);
}

.wall-tags-toggle {
  padding: 3px 5px;
}

.wall-thumb-tags {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  background: rgba(10, 12, 14, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 4;
}

.wall-thumb-tags a {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e6edf2;
  font-size: 11px;
  text-decoration: none;
}

.wall-thumb-tags a:hover {
  border-color: rgba(111, 217, 138, 0.6);
  color: #9df18b;
}

.wall-thumb.is-tags-open .wall-thumb-tags,
.wall-thumb:hover .wall-thumb-tags {
  opacity: 1;
  pointer-events: auto;
}

.wall-link {
  display: block;
  aspect-ratio: 16 / 9;
  position: relative;
}

.wall-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wall-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #26343c, #11171b 60%, #1b262d);
}

.wall-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 12, 0.85));
  display: grid;
  gap: 8px;
}

.wall-title {
  font-size: 14px;
  font-weight: 700;
}

.wall-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  gap: 12px;
}

.wall-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--panel);
  border-radius: 4px;
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.empty-state p {
  margin: 0 0 12px;
  color: var(--muted);
}

.single-layout {
  display: grid;
  --sidebar-width: 280px;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 12px;
  align-items: stretch;
  height: 100%;
  margin-top: 20px;
  min-height: calc(100vh - var(--site-header-height) - env(safe-area-inset-top));
  position: relative;
}

.single-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 0;
  align-self: stretch;
  max-height: none;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-right: 0;
  align-content: start;
  justify-items: stretch;
}

.single-panel {
  background: linear-gradient(180deg, rgba(20, 24, 27, 0.97), rgba(14, 17, 20, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right-color: rgba(0, 0, 0, 0.65);
  border-radius: 4px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 100%;
  height: 100%;
  overflow: auto;
}

/* 侧边栏自定义滚动条 */
.single-panel::-webkit-scrollbar {
  width: 6px;
}

.single-panel::-webkit-scrollbar-track {
  background: transparent;
}

.single-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.single-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.single-overview {
  display: grid;
  gap: 8px;
}

.single-downloads {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(111, 178, 255, 0.4);
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(42, 95, 124, 0.5), rgba(31, 69, 90, 0.5));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.download-main {
  border: none;
  background: transparent;
  color: #e8f4ff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.download-main:hover {
  color: #ffffff;
}

.download-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  color: var(--accent-2);
}

.download-main {
  white-space: nowrap;
}

.download-main.is-disabled {
  color: #6f7a82;
  cursor: not-allowed;
}

.download-main.is-disabled .download-icon {
  color: rgba(143, 162, 173, 0.7);
}

.download-toggle.is-disabled {
  color: #6f7a82;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.03);
}

.download-toggle {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #c7cfd5;
  width: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.download-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 160px;
  padding: 6px;
  border-radius: 4px;
  background: #101316;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 20;
  display: none;
  gap: 4px;
}

.single-downloads.is-open .download-menu {
  display: grid;
}

.single-downloads.is-open {
  overflow: visible;
}

.download-item {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: #c7cfd5;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
}

.download-item:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.download-item.is-disabled {
  color: #6f7a82;
  cursor: not-allowed;
}

.single-collection.is-disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(14, 17, 20, 0.45);
}

.single-collection.is-disabled .single-collection-main,
.single-collection.is-disabled .single-collection-toggle {
  color: #6f7a82;
  cursor: not-allowed;
}

.single-collection.is-disabled .single-collection-star {
  color: rgba(143, 162, 173, 0.7);
}

.single-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
  display: grid;
  gap: 8px;
}

.single-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
}

.single-section-toggle {
  border: none;
  background: transparent;
  color: #c7cfd5;
  font-size: 11px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-section-toggle:hover {
  color: #ffffff;
}

.single-section-caret {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #9aa5ac;
  transform: rotate(90deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.single-section-title {
  white-space: nowrap;
}

.single-section-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.single-section-body {
  display: grid;
  gap: 12px;
  padding-left: 14px;
}

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

.single-section.is-collapsed .single-section-caret {
  transform: rotate(0deg);
  border-color: transparent transparent transparent #c7cfd5;
}

.single-card {
  background: linear-gradient(180deg, rgba(19, 23, 26, 0.95), rgba(16, 19, 22, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 10px 12px 12px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.single-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: none;
  color: #9aa5ac;
  font-weight: 700;
  margin: -10px -12px 4px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.single-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-title-text {
  white-space: nowrap;
}

.single-card-body {
  display: grid;
  gap: 12px;
  justify-items: start;
  align-items: start;
}

.single-card.is-collapsed .single-card-body {
  display: none;
}

.single-card.is-collapsed .single-card-title {
  margin-bottom: 0;
}

.card-toggle {
  border: 1px solid transparent;
  background: transparent;
  color: #c7cfd5;
  font-size: 11px;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.card-toggle:hover {
  color: #ffffff;
}

.card-caret {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #9aa5ac;
  transform: rotate(90deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.single-card.is-collapsed .card-caret {
  transform: rotate(0deg);
  border-color: transparent transparent transparent #c7cfd5;
}

.single-resolution {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #e8eef2;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.single-orientation {
  font-size: 11px;
  font-weight: 600;
  color: #9fb1bb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1;
}

.single-similar {
  font-size: 12px;
  color: #5cc5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.single-similar.is-disabled {
  color: #6f7d85;
  cursor: default;
}

.single-similar-site {
  font-size: 11px;
  color: #7aa3b7;
  white-space: nowrap;
}

.single-source {
  font-size: 11px;
  color: #9aa5ac;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

.single-source.is-empty {
  color: #6f7d85;
}

.single-source:hover {
  color: #ffffff;
}

.single-actions {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  font-size: 11px;
}

.single-action-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #c7cfd5;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
}

.single-action-btn.is-active {
  border-color: rgba(111, 217, 138, 0.6);
  color: #e8f5ea;
}

.single-action-btn .action-count {
  margin-left: 4px;
  color: #9fb1bb;
}

.single-collection {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(14, 17, 20, 0.6);
}

.single-collection.is-active {
  border-color: rgba(111, 217, 138, 0.5);
  background: rgba(18, 24, 20, 0.8);
}

.single-collection-main {
  border: none;
  background: transparent;
  color: #c7cfd5;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  min-width: 86px;
  justify-content: center;
  cursor: pointer;
}

.single-collection-main.is-active {
  color: #e8f5ea;
}

.single-collection-star {
  font-size: 12px;
  color: #f3d26b;
}

.single-collection-toggle {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #c7cfd5;
  width: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.single-collection-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 160px;
  padding: 6px;
  border-radius: 4px;
  background: #101316;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 20;
  display: none;
  gap: 4px;
}

.single-collection.is-open .single-collection-menu {
  display: grid;
}

.single-collection.is-open {
  overflow: visible;
}

.collection-item,
.collection-add {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: #c7cfd5;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
}

.collection-item.is-active {
  border-color: rgba(111, 217, 138, 0.5);
  background: rgba(111, 217, 138, 0.12);
  color: #e8f5ea;
}

.collection-item.is-selected {
  border-color: rgba(111, 217, 138, 0.6);
  background: rgba(111, 217, 138, 0.18);
  color: #f0fbf2;
}

.collection-item:hover,
.collection-add:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.collection-multi {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}

.collection-multi button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e2e7;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.collection-multi button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.single-collection.is-multi .collection-item {
  position: relative;
  padding-left: 26px;
}

.single-collection.is-multi .collection-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}

.single-collection.is-multi .collection-item.is-selected::before {
  background: rgba(111, 217, 138, 0.9);
  border-color: rgba(111, 217, 138, 0.9);
}

.single-collection-link {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c7cfd5;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
}

.is-disabled[data-tooltip] {
  position: relative;
}

.is-disabled[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 4px 6px;
  font-size: 10px;
  line-height: 1.2;
  color: #e9f0f5;
  background: rgba(12, 15, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.is-disabled[data-tooltip]:hover::after,
.is-disabled[data-tooltip]:focus-visible::after {
  opacity: 1;
}

.single-palette {
  display: grid;
  gap: 8px;
}

.single-wallpaper .palette-row {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  height: 12px;
}

.single-wallpaper .palette-swatch {
  flex: 1;
  height: 12px;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.single-wallpaper .palette-swatch:first-child {
  border-radius: 4px 0 0 4px;
}

.single-wallpaper .palette-swatch:last-child {
  border-radius: 0 4px 4px 0;
}

.single-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.single-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.single-tag-item[draggable="true"] {
  cursor: grab;
}

.single-tag-item.is-dragging {
  opacity: 0.6;
}

.single-tag {
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid rgba(111, 217, 138, 0.4);
  background: rgba(111, 217, 138, 0.12);
  color: #cfead7;
  white-space: nowrap;
}

.single-tag-remove {
  margin: 0;
}

.single-tag-remove button {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #b9c6cf;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}

.single-tag-remove button:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.single-more-like {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 0;
  color: #9fc3d6;
  white-space: nowrap;
}

.single-more-like:hover {
  color: #ffffff;
}

.prop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.prop-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prop-label {
  color: #8c969d;
}

.prop-value {
  color: #e3e9ed;
  font-weight: 600;
  text-align: right;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.prop-value small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #8c969d;
  margin-top: 2px;
}

.prop-author {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.prop-author-avatar img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

.prop-author-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  white-space: normal;
}

.prop-author-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.prop-author-name {
  color: #6fb2ff;
}

.prop-author-time {
  font-size: 10px;
  font-weight: 400;
  color: #8c969d;
  display: block;
  width: 100%;
}

.prop-follow-btn {
  border: 1px solid rgba(125, 198, 255, 0.4);
  background: transparent;
  color: #7dc6ff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.prop-follow-btn.is-active {
  background: rgba(125, 198, 255, 0.18);
  border-color: rgba(125, 198, 255, 0.6);
  color: #cfe9ff;
}

.prop-field {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #cfd7dc;
  font-weight: 500;
  line-height: 1.4;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prop-purity {
  font-weight: 600;
}

.prop-purity--sfw {
  color: #7edc6f;
}

.prop-purity--sketchy {
  color: #ffb25c;
}

.prop-edit {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #a9b4bb;
  font-size: 11px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
}

.prop-edit:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.prop-edit.is-disabled {
  color: #6f7a82;
  cursor: not-allowed;
  pointer-events: none;
}

.prop-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  border: 1px solid rgba(111, 217, 138, 0.5);
  background: rgba(111, 217, 138, 0.12);
  color: #7edc6f;
}

.prop-pill--sketchy {
  border-color: rgba(255, 178, 92, 0.5);
  background: rgba(255, 178, 92, 0.12);
  color: #ffb25c;
}

.prop-link {
  color: inherit;
  border-bottom: none;
  text-decoration: none;
  display: inline-block;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
}

.prop-value [data-favorite-count] {
  color: #6fb2ff;
}

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

.tools-empty {
  font-size: 11px;
  color: #9aa5ac;
}

.crop-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.crop-modal.is-open {
  display: flex;
}

.crop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

.crop-panel {
  position: relative;
  width: min(760px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: linear-gradient(180deg, #232628, #141618);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 18px 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.report-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1200;
}

.report-modal.is-open {
  display: flex;
}

.report-modal__panel {
  width: min(560px, 94vw);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: linear-gradient(180deg, #1b1b1b, #141414);
  padding: 14px 16px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.report-modal__backdrop {
  position: absolute;
  inset: 0;
}

.report-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #e6edf2;
  margin-bottom: 8px;
}

.report-modal__close {
  width: 28px;
  height: 28px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #111;
  color: #cbd6dc;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.report-modal__close:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.report-modal__hint {
  font-size: 12px;
  color: #9aa6ac;
  margin-bottom: 12px;
}

.report-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.report-reason {
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 6px 8px;
  background: #191919;
  color: #d5dde2;
  font-size: 12px;
  cursor: pointer;
}

.report-reason:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.report-reason.is-active {
  background: rgba(255, 200, 120, 0.12);
  border-color: rgba(255, 200, 120, 0.5);
  color: #ffd6a6;
}

.report-field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #c7cfd5;
  margin-bottom: 12px;
}

.report-field[hidden] {
  display: none !important;
}

.report-field--inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.report-field--inline[data-report-thread-field] {
  display: none;
}

.report-field--inline[data-report-thread-field].is-visible {
  display: flex;
}

.report-field--inline input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #7dd6a4;
  background-color: #111;
  border: 1px solid #2a2a2a;
  border-radius: 3px;
}

.report-field textarea {
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 8px 10px;
  background: #111;
  color: #e6edf2;
  font-size: 12px;
  resize: vertical;
}

.report-field input[type="file"] {
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 6px 8px;
  background: #111;
  color: #c7cfd5;
  font-size: 12px;
}

.report-modal__panel,
.report-modal__form {
  color-scheme: dark;
}

.report-field input[type="file"]::file-selector-button {
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #d7e2e8;
  border-radius: 4px;
  padding: 4px 8px;
  margin-right: 8px;
  cursor: pointer;
}

.report-field input[type="file"]::-webkit-file-upload-button {
  border: 1px solid #2a2a2a;
  background: #151515;
  color: #d7e2e8;
  border-radius: 4px;
  padding: 4px 8px;
  margin-right: 8px;
  cursor: pointer;
}

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

.report-feedback {
  margin-top: 10px;
  font-size: 12px;
  color: #9df18b;
}

.login-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1300;
}

.login-modal.is-open {
  display: flex;
}

.login-modal__panel {
  width: min(420px, 94vw);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: linear-gradient(180deg, #1b1b1b, #141414);
  padding: 14px 16px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
}
.login-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #e6edf2;
  margin-bottom: 12px;
}

.login-modal__close {
  width: 28px;
  height: 28px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #111;
  color: #cbd6dc;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.login-modal__close:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.similar-modal .login-modal__panel {
  width: min(980px, 92vw);
  max-height: 86vh;
  padding: 14px 16px 18px;
}

.similar-modal {
  padding: 32px;
}

.similar-modal__header {
  justify-content: center;
  position: relative;
  padding-right: 34px;
  text-align: center;
}

.similar-modal__header .login-modal__close {
  position: absolute;
  right: 0;
  top: calc(var(--site-header-height) + env(safe-area-inset-top));
}

.similar-refresh {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 17, 20, 0.6);
  color: #c7cfd5;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.similar-refresh:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 130px;
  gap: 12px;
  height: min(70vh, calc(5 * 130px + 4 * 10px));
  overflow-y: scroll;
  scrollbar-gutter: stable;
  padding-right: 4px;
}

.similar-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #0f1418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

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

.similar-score {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 11px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 4px;
  padding: 2px 6px;
}

.similar-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #9aa5ac;
  font-size: 12px;
  padding: 30px 0;
}

.favorites-modal .login-modal__panel {
  width: min(760px, 94vw);
  max-height: 84vh;
  padding: 16px 18px 20px;
}

.favorites-modal__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.favorites-modal__loading,
.favorites-modal__empty {
  text-align: center;
  font-size: 12px;
  color: #9aa5ac;
  padding: 16px 0;
}

.favorites-modal__list {
  display: grid;
  gap: 16px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  max-height: min(60vh, 520px);
  overflow-y: auto;
  padding-right: 4px;
}

.favorites-modal__list.collection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
}

/* 移动端响应式样式已移除 - 保持PC端布局 */

.search-modal .login-modal__panel {
  width: min(520px, 94vw);
  background: linear-gradient(180deg, rgba(30, 36, 42, 0.98), rgba(18, 22, 26, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

.search-modal__lead {
  margin: 0 0 14px;
  font-size: 12px;
  color: #a7b7c4;
  text-align: center;
}

.search-modal .login-modal__header {
  justify-content: flex-end;
  margin-bottom: 6px;
}

.source-modal .login-modal__header {
  justify-content: space-between;
  margin-bottom: 10px;
}

.purity-modal .login-modal__header,
.tag-notice-modal .login-modal__header {
  justify-content: space-between;
  margin-bottom: 10px;
}

.search-modal__form {
  display: grid;
  gap: 12px;
  align-items: center;
}

.search-modal__field {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.search-modal__field span {
  color: #c5d2dd;
  font-size: 12px;
  text-align: center;
}

.search-modal__field input {
  height: 34px;
  font-size: 14px;
  background: rgba(10, 14, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #eef3f6;
  padding: 0 12px;
  width: min(520px, 100%);
}

.search-modal__hint {
  margin: 0;
  font-size: 12px;
  color: #8fa2ad;
  text-align: center;
}

.search-modal__tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-modal__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(111, 178, 255, 0.12);
  color: #b6d7ff;
  border: 1px solid rgba(111, 178, 255, 0.3);
  font-size: 12px;
}

.search-modal__tag:hover {
  background: rgba(111, 178, 255, 0.2);
  border-color: rgba(111, 178, 255, 0.55);
  color: #e9f2ff;
}

.search-modal__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.search-modal__link {
  display: inline-flex;
  font-size: 12px;
  color: #6fb2ff;
  text-align: right;
  margin-left: 4px;
}

.search-modal__link:hover {
  color: #9fd0ff;
}

.search-modal__actions .btn {
  height: 30px;
  padding: 0 26px;
  min-width: 120px;
}

.purity-modal .search-modal__lead {
  margin-bottom: 12px;
}

.purity-options {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.purity-option {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #cfd7dc;
  font-size: 12px;
  padding: 6px 14px;
  cursor: pointer;
}

.purity-option.is-active {
  border-color: rgba(111, 217, 138, 0.6);
  background: rgba(111, 217, 138, 0.18);
  color: #e8f5ea;
}

.purity-option[data-purity-option="sketchy"].is-active {
  border-color: rgba(255, 178, 92, 0.6);
  background: rgba(255, 178, 92, 0.18);
  color: #ffb25c;
}

.auth-page {
  position: relative;
  padding: 64px 6vw 96px;
  min-height: 70vh;
  overflow: hidden;
  display: grid;
  gap: 16px;
  justify-items: center;
  align-content: start;
}

.auth-page::before,
.auth-page::after {
  display: none;
}

.auth-page::before {
  top: -220px;
  left: -180px;
}

.auth-page::after {
  bottom: -260px;
  right: -200px;
  background: radial-gradient(circle at center, rgba(111, 217, 138, 0.18), transparent 70%);
}

.auth-hero {
  max-width: 640px;
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
}

.auth-hero h1 {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: 2px;
}

.auth-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-panel {
  max-width: 640px;
  width: min(640px, 100%);
  margin: 0 auto;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(20, 30, 36, 0.96), rgba(14, 20, 25, 0.96));
  box-shadow: 0 26px 60px rgba(5, 8, 11, 0.55);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  padding: 22px 24px 24px;
}

.auth-error {
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 138, 138, 0.3);
  background: rgba(255, 138, 138, 0.12);
  color: #ffd1d1;
  font-size: 12px;
}

.auth-notice {
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid rgba(111, 217, 138, 0.3);
  background: rgba(111, 217, 138, 0.12);
  color: #e8f5ea;
  font-size: 12px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.auth-links a {
  color: var(--accent-2);
}

.auth-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.auth-captcha-code {
  min-width: 72px;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px dashed #2a2a2a;
  background: #111;
  color: #e6edf2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
}

.auth-captcha-refresh {
  font-size: 11px;
  color: var(--muted);
}

.auth-captcha-refresh:hover {
  color: #ffffff;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form .message-field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #c7cfd5;
  margin: 0;
}

.auth-form .message-field span {
  color: #b8c7cf;
  font-weight: 500;
}

.auth-form .message-field input {
  background: rgba(14, 20, 26, 0.9);
  border-color: #2a3a44;
  height: 44px;
  padding: 0 12px;
  width: 100%;
  color: #e6edf2;
  caret-color: #e6edf2;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  width: 100%;
  justify-content: flex-start;
  white-space: nowrap;
}

.auth-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--accent);
}

.auth-check a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 178, 255, 0.35);
}

.auth-check a:hover {
  color: #ffffff;
  border-bottom-color: rgba(111, 178, 255, 0.65);
}

.auth-form .message-field input:focus {
  outline: none;
  border-color: rgba(111, 178, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(111, 178, 255, 0.15);
}

.auth-form .message-field input::placeholder {
  color: rgba(143, 162, 173, 0.75);
}

.auth-form .message-field.is-error input {
  border-color: rgba(255, 107, 107, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.12);
}

.auth-form .message-field.is-success input {
  border-color: rgba(111, 217, 138, 0.6);
  box-shadow: 0 0 0 2px rgba(111, 217, 138, 0.12);
}

.auth-field-status {
  font-size: 11px;
  color: #9aa6ac;
  min-height: 14px;
}

.auth-form .message-field.is-error .auth-field-status {
  color: #ffb3b3;
}

.auth-form .message-field.is-success .auth-field-status {
  color: #8fd99f;
}

.auth-strength {
  display: grid;
  gap: 6px;
  margin-top: -6px;
}

.auth-strength-label {
  font-size: 11px;
  color: #9aa6ac;
}

.auth-strength-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.auth-strength-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff8a8a, #ffd66b);
  transition: width 0.2s ease, background 0.2s ease;
}

.auth-strength[data-level="medium"] .auth-strength-bar span {
  background: linear-gradient(90deg, #ffd66b, #86c957);
}

.auth-strength[data-level="strong"] .auth-strength-bar span {
  background: linear-gradient(90deg, #86c957, #6fd98a);
}

.auth-panel .message-actions {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.auth-hint {
  font-size: 11px;
  color: #8f9aa1;
  margin-top: -6px;
}

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

.auth-form--grid .message-field {
  margin: 0;
}

.auth-form--grid .auth-field--full {
  grid-column: 1 / -1;
}

.auth-form--grid .message-actions {
  justify-content: flex-start;
}

.auth-panel .message-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
}

.auth-social {
  display: grid;
  gap: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.auth-social-title {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #9fb0ba;
}

.auth-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-social-actions .btn {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 12px;
}

.auth-social-note {
  font-size: 11px;
  color: #8f9aa1;
}

.auth-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 178, 255, 0.35);
}

/* 移动端响应式样式已移除 - 保持PC端布局 */

