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

.crop-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #e6edf2;
}

.crop-subtitle {
  margin: 0 0 12px;
  color: #aab3ba;
  font-size: 12px;
}

.crop-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #d6dde2;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.crop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 12px;
  align-content: start;
  align-items: start;
}

.crop-group {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
}

.crop-group-title {
  font-size: 11px;
  color: #cfd6db;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  text-align: center;
}

.crop-option {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #aab3ba;
  font-size: 11px;
  padding: 0 6px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}

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

.crop-custom {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.crop-custom-title {
  font-size: 12px;
  color: #cfd6db;
}

.crop-custom-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.crop-custom-fields input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e6edf2;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 12px;
  height: 28px;
  line-height: 1;
}

.crop-custom-fields span {
  color: #9aa5ac;
}

.crop-status {
  min-height: 18px;
  margin-top: 10px;
  font-size: 11px;
  color: #9aa5ac;
}

.crop-status.is-error {
  color: #ff8a8a;
}

.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.crop-btn {
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 700;
}

.crop-cancel {
  background: linear-gradient(180deg, #2f5a6d, #223d4a);
  color: #e6edf2;
}

.crop-confirm {
  background: linear-gradient(180deg, #8fd45a, #62b33f);
  color: #0b1416;
}

body.is-crop-open {
  overflow: hidden;
}

.tool-link {
  border: none;
  background: transparent;
  color: #c7cfd5;
  padding: 2px 0;
  font-size: 11px;
  cursor: pointer;
  text-align: left;
}

.tool-link.is-disabled {
  color: #6f7a82;
  cursor: not-allowed;
  pointer-events: auto;
}

.tool-link.is-disabled:hover {
  color: #6f7a82;
}

.tool-link--danger.is-disabled {
  color: #6f7a82;
}

.tool-link.is-active {
  color: #e8f5ea;
}

.tool-link--danger {
  color: #ff8a8a;
}

.tool-link--danger.is-active {
  color: #ffd1d1;
}

.tool-source-form {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.tool-source-form input {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: #111;
  color: #e6edf2;
  font-size: 11px;
  padding: 4px 6px;
  width: 100%;
}

.tool-source-form button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #e6edf2;
  font-size: 11px;
  padding: 4px 6px;
  cursor: pointer;
}

.tool-link:hover {
  color: #ffffff;
}

.single-preview {
  background: transparent;
  border-radius: 4px;
  border: none;
  box-shadow: none;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding: 0;
}

.sidebar-toggle {
  position: absolute;
  top: 28px;
  left: calc(var(--sidebar-width) - 1px);
  width: 32px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 0;
  background: linear-gradient(180deg, rgba(20, 24, 27, 0.98), rgba(12, 15, 18, 0.98));
  color: #cfd6db;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  z-index: 6;
  display: grid;
  place-items: center;
  transform: translateX(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.sidebar-toggle-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.single-layout.is-sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
  gap: 0;
}

.single-layout.is-sidebar-collapsed .single-info {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  width: 0;
  padding: 0;
  overflow: hidden;
}

.single-layout.is-sidebar-collapsed .sidebar-toggle {
  left: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 4px 4px 0;
}

.single-layout.is-sidebar-collapsed .sidebar-toggle-icon {
  transform: rotate(180deg);
}

.single-preview img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-in;
  border-radius: 4px;
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.single-preview img.is-progressive {
  filter: blur(12px);
  transform: scale(1.02);
  opacity: 0.9;
}

.single-preview img.is-progressive.is-loaded {
  filter: none;
  transform: none;
  opacity: 1;
}

.single-preview.is-zoomed {
  overflow: auto;
  padding: 0;
  cursor: grab;
  touch-action: none;
  align-items: flex-start;
  justify-content: flex-start;
}

.single-preview img.is-zoomed {
  width: auto;
  max-width: none;
  max-height: none;
  height: auto;
  cursor: zoom-out;
  border-radius: 4px;
  flex: 0 0 auto;
  display: block;
}

.single-overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.single-share-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #d5dadd;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.single-share-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.share-modal .login-modal__panel {
  max-width: 420px;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.share-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #d5dadd;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

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

.share-qr {
  margin-top: 12px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.share-qr-title {
  font-size: 12px;
  color: #9aa5ac;
}

.share-qr-img {
  width: 180px;
  height: 180px;
  border-radius: 4px;
  background: #0f1215;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.single-preview.is-dragging {
  cursor: grabbing;
}

.panel {
  background: var(--panel);
  border-radius: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.panel h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: none;
  color: var(--muted);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag-add-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-add-btn:hover {
  border-color: rgba(255, 179, 86, 0.6);
  color: var(--accent);
}

.tag-trash-btn {
  border: none;
  background: transparent;
  color: #ff8a8a;
  width: 24px;
  height: 24px;
  border-radius: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
}

.tag-trash-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.tag-trash-btn:hover {
  color: #ffd1d1;
}

.tag-trash-btn.is-drop-target {
  color: #ffffff;
}

.tag-trash-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%;
  top: 50%;
  margin-top: 0;
  margin-right: 8px;
  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;
  transform: translateY(-50%);
}

.tag-trash-btn:hover::after,
.tag-trash-btn:focus-visible::after {
  opacity: 1;
}


.tag-drag-ghost {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.tag-remove-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-remove-btn:hover {
  border-color: rgba(255, 120, 120, 0.6);
  color: #ffb2b2;
}

.tag-remove-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.tag-add-login {
  font-size: 10px;
  color: var(--muted);
}

.tag-notice {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--accent-2);
}

.tag-add-form {
  margin-top: 10px;
  display: none;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tag-add-form.is-open {
  display: flex;
}

.tag-add-form input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 11px;
  min-width: 140px;
}

.tag-add-form button {
  border: none;
  background: var(--accent);
  color: #0f1417;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px;
  cursor: pointer;
}

.tag-add-note {
  color: var(--muted);
  font-size: 11px;
}

.tag-trash-form {
  display: none;
}

.tag-remove-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}

.tag-remove-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
}

.tag-remove-option input {
  accent-color: var(--accent);
}

.tag-remove-option span {
  white-space: nowrap;
}

.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.palette-swatch {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.palette-empty {
  color: var(--muted);
  font-size: 13px;
}


.site-footer {
  margin-top: auto;
  padding: 28px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-meta a {
  color: inherit;
  border-bottom: 1px solid rgba(143, 162, 173, 0.35);
}

.footer-muted {
  color: #aab4bb;
}

.single-footer-meta {
  margin-top: 16px;
}

.footer-meta--sidebar {
  justify-content: center;
  text-align: center;
  font-size: 12px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 10px 12px;
  line-height: 1.4;
}

.footer-dot {
  color: rgba(143, 162, 173, 0.8);
}

.footer-meta--sidebar .footer-meta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.collections-manage-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.collections-manage-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.collections-manage-sidebar {
  border: 1px solid #232323;
  border-radius: 4px;
  background: #1a1a1a;
  padding: 12px;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 54px;
  align-self: start;
}

.collections-manage-sidebar-title {
  font-size: 12px;
  color: #cbd6dc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.collections-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.collections-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  padding-right: 120px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  color: #d0d7dc;
  text-decoration: none;
}

.collections-nav-link--card {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0.55;
}

.collections-nav-link--card .collection-card-media {
  display: block;
  width: 100%;
  height: 86px;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
}

.collections-nav-link--card .collection-card-media.is-empty {
  background: linear-gradient(135deg, #16191d, #121418);
}

.collections-nav-link--card .collection-card-media.is-empty::before {
  display: none;
}

.collections-nav-link--card .collection-card-media .collection-card-empty {
  display: none;
}

.collections-nav-link--card .collection-card-media.is-empty .collection-card-overlay {
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.35), rgba(10, 12, 14, 0.6));
}

.collections-nav-link--card .collection-card-status {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e15b5b;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
  z-index: 4;
}

.collections-nav-link--card .collection-card-status.is-public {
  background: #75d26c;
}

.collections-nav-link--card .collection-card-media::before {
  height: 46px;
}

.collections-nav-link--card .collection-card-thumbs {
  left: 12px;
  width: 56px;
  height: 48px;
}

.collections-nav-link--card .collection-card-thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border-width: 1px;
}

.collections-nav-link--card .collection-card-overlay {
  padding: 10px 12px 10px 78px;
}

.collections-nav-link--card .collection-card-title {
  font-size: 12px;
}

.collections-nav-link--card .collection-card-meta {
  margin-top: 4px;
  font-size: 10px;
}

.collections-nav-link--card.is-active .collection-card-media {
  border-color: rgba(111, 217, 138, 0.6);
  box-shadow: inset 0 0 0 1px rgba(111, 217, 138, 0.2);
}

.collections-nav-link--card.is-active {
  opacity: 1;
}

.collections-nav-item.is-drop-target .collections-nav-link--card {
  opacity: 1;
}

.collections-nav-link--card.is-drop-target .collection-card-media {
  border-color: rgba(111, 217, 138, 0.8);
  box-shadow: inset 0 0 0 1px rgba(111, 217, 138, 0.35);
}

.collections-confirm-body {
  font-size: 13px;
  color: #cfd6db;
  line-height: 1.5;
  margin-bottom: 14px;
}

.collections-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.collections-delete-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.collections-nav-icon {
  font-size: 14px;
  flex: 0 0 auto;
}

.collections-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.collections-nav-link.is-active {
  border-color: rgba(111, 217, 138, 0.6);
  background: rgba(111, 217, 138, 0.12);
  color: #f1f7f1;
}

.collections-nav-link.is-drop-target {
  border-color: rgba(111, 217, 138, 0.8);
  background: rgba(111, 217, 138, 0.2);
}

.collections-nav-status {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: #5b6369;
  flex: 0 0 auto;
}

.collections-nav-status.is-public {
  background: #8fd45a;
}

.collections-nav-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.collections-nav-count {
  font-size: 11px;
  color: #9aa6ac;
}

.collections-nav-item {
  position: relative;
}

.collections-nav-actions-inline {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.collections-nav-item:hover .collections-nav-actions-inline,
.collections-nav-item:focus-within .collections-nav-actions-inline {
  opacity: 1;
  pointer-events: auto;
}

.collection-action {
  border: 1px solid #343434;
  background: rgba(10, 10, 10, 0.6);
  color: #dbe2e6;
  font-size: 10px;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.collection-action:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #4a4a4a;
}

.collection-action-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.collection-action-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-action--public .collection-action-icon--private {
  display: none;
}

.collection-action--public.is-private .collection-action-icon--public {
  display: none;
}

.collection-action--public.is-private .collection-action-icon--private {
  display: inline-flex;
}

.collection-action--danger {
  border-color: rgba(255, 107, 107, 0.45);
  color: #ffb3b3;
  background: rgba(255, 107, 107, 0.12);
}

.collection-action.is-disabled,
.collection-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.collections-trash {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #242424;
}

.collections-trash-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  color: #9aa6ac;
  text-decoration: none;
  font-size: 12px;
}

.collections-trash-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.collections-trash-link.is-drop-target {
  border: 1px dashed rgba(255, 120, 120, 0.6);
  background: rgba(255, 120, 120, 0.15);
  color: #ffd2d2;
}

.collections-trash-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.collections-nav-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-new,
.btn-reorder {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid #333;
  background: rgba(255, 255, 255, 0.04);
  color: #d0d7dc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  text-align: center;
}

.btn-new:hover,
.btn-reorder:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #444;
}

.collections-manage-hint {
  border-top: 1px solid #242424;
  padding-top: 10px;
  margin-top: 8px;
}

.collections-hint-title {
  font-size: 11px;
  color: #cbd6dc;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.collections-hint-text {
  font-size: 11px;
  color: #8a9094;
  line-height: 1.5;
}

.collections-manage-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.collections-manage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.collections-manage-title-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.collections-manage-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: normal;
}

.collections-manage-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #9aa6ac;
}

.stat-count strong {
  color: #eef2f5;
  font-weight: 600;
}

.stat-views,
.stat-likes {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-views .icon,
.stat-likes .icon {
  font-size: 16px;
}

.collections-manage-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #9aa6ac;
}

.collections-manage-flag {
  padding: 2px 6px;
  border-radius: 4px;
  background: #222;
  color: #cfd6db;
  font-size: 11px;
}

.collections-manage-flag.is-public {
  border: 1px solid rgba(111, 217, 138, 0.45);
  background: rgba(111, 217, 138, 0.18);
  color: #cfead3;
}

.collections-manage-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-action {
  padding: 6px 12px;
  border: 1px solid #444;
  background: rgba(255, 255, 255, 0.06);
  color: #d0d7dc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #555;
}

.btn-action.is-disabled,
.btn-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.collections-manage-grid {
  min-height: 120px;
  position: relative;
}

.collections-manage-grid .wall-card {
  position: relative;
}

.collection-drop-indicator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: #ffcc33;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 204, 51, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transform: translateX(0);
}

.collections-batch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.collections-batch-bar[hidden] {
  display: none;
}

.collections-batch-count {
  font-size: 12px;
  color: #cfd6db;
}

.collections-batch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-action--danger {
  border-color: rgba(255, 120, 120, 0.55);
  color: #ffb3b3;
  background: rgba(255, 120, 120, 0.16);
}

.collections-manage-page .wall-card.is-seen {
  opacity: 1;
}

.collections-manage-page .wall-card.is-seen::after {
  display: none;
}

.wall-card-actions {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.wall-card:hover .wall-card-actions {
  opacity: 1;
  pointer-events: auto;
}

.wall-card-action {
  border: 1px solid #343434;
  background: rgba(10, 10, 10, 0.6);
  color: #e2e8ec;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.wall-card-action:hover {
  background: rgba(255, 255, 255, 0.08);
}

.wall-card-action--danger {
  border-color: rgba(255, 107, 107, 0.45);
  color: #ffb3b3;
  background: rgba(255, 107, 107, 0.12);
}

.collection-batch-check {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(12, 12, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.collection-batch-check input {
  accent-color: #8fd45a;
}

.is-batch-mode .collection-batch-check {
  opacity: 1;
  pointer-events: auto;
}

.collection-cover-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 1px;
  background: rgba(111, 217, 138, 0.2);
  border: 1px solid rgba(111, 217, 138, 0.5);
  color: #cfead3;
  z-index: 3;
}

.wall-card.is-cover {
  box-shadow: 0 0 0 2px rgba(111, 217, 138, 0.4);
}

.wall-add-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: none;
  background: rgba(111, 217, 138, 0.9);
  color: #0f1417;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease;
}

.wall-add-btn:hover {
  background: rgba(111, 217, 138, 1);
}

.collections-nav-item {
  border-radius: 4px;
}

.collections-nav-item.is-dragging {
  opacity: 0.6;
}

.collections-nav-item.is-drop-target .collections-nav-link {
  border-color: rgba(111, 217, 138, 0.8);
  background: rgba(111, 217, 138, 0.2);
}

.is-reorder-mode .collections-nav-item {
  cursor: grab;
}

.is-reorder-mode .collections-nav-link {
  pointer-events: none;
}

.collections-manage-flag.is-default {
  border: 1px solid rgba(120, 164, 255, 0.5);
  background: rgba(120, 164, 255, 0.16);
  color: #d8e4ff;
}

.collections-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 40;
}

.collections-modal[hidden] {
  display: none;
}

.collections-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(10, 10, 10, 0.72);
  cursor: pointer;
}

.collections-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  background: #151515;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 18px;
  display: grid;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

.collections-modal-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #e7edf0;
}

.collections-modal-close {
  border: none;
  background: transparent;
  color: #9aa6ac;
  font-size: 18px;
  cursor: pointer;
}

.collections-modal-close:hover {
  color: #e7edf0;
}

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

.collections-modal-field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #a7b1b7;
}

.collections-modal-field input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #2d2d2d;
  background: #0f0f0f;
  color: #e6edf0;
}

.collections-modal-field select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #2d2d2d;
  background: #0f0f0f;
  color: #e6edf0;
}

.collections-modal-field input:focus {
  outline: none;
  border-color: rgba(111, 217, 138, 0.6);
  box-shadow: 0 0 0 2px rgba(111, 217, 138, 0.15);
}

.collections-modal-field select:focus {
  outline: none;
  border-color: rgba(111, 217, 138, 0.6);
  box-shadow: 0 0 0 2px rgba(111, 217, 138, 0.15);
}

.collections-modal-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a7b1b7;
}

.collections-modal-check input {
  accent-color: #8fd45a;
}

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

.is-thumbs-hidden .collections-manage-grid .wall-link {
  background: #111;
}

.is-thumbs-hidden .collections-manage-grid img {
  opacity: 0;
}

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


.admin-hub__shell {
  width: min(980px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.admin-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.admin-hub__card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 8px;
}

.admin-hub__card h2 {
  margin: 0;
  font-size: 14px;
}

.admin-hub__card p {
  margin: 0;
  font-size: 12px;
  color: #a3afb7;
}

.admin-hub__intro {
  margin: 0;
  font-size: 12px;
  color: #a3afb7;
}

.admin-hub__section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-hub__section-title {
  margin: 0;
  font-size: 13px;
}

.admin-hub__section-desc {
  margin: 0;
  font-size: 12px;
  color: #8fa2ad;
}

.admin-hub__grid--links .admin-hub__card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.admin-hub__card--link:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.admin-hub__card-action {
  font-size: 12px;
  color: #9bd1ff;
}

.admin-hub__note {
  font-size: 12px;
  color: #87939c;
}

.admin-hub__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 4px;
  background: #ff6b4a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.admin-hub__panel {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 24, 0.6);
}

.admin-hub__panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-hub__panel-title {
  margin: 0;
  font-size: 14px;
  color: #e6edf2;
}

.admin-hub__panel-desc {
  font-size: 12px;
  color: #8fa2ad;
}

.admin-hub__empty {
  margin: 0;
  font-size: 12px;
  color: #a3afb7;
}

.admin-hub__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.admin-hub__metric {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 12px;
  background: rgba(8, 12, 16, 0.6);
  display: grid;
  gap: 6px;
}

.admin-hub__metric-label {
  font-size: 11px;
  color: #8fa2ad;
}

.admin-hub__metric-value {
  font-size: 18px;
  color: #e8eff5;
}

.admin-hub__row {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 16, 22, 0.6);
}

.admin-hub__row--with-media {
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
}

.admin-hub__row--selectable.admin-hub__row--with-media {
  grid-template-columns: 28px 76px minmax(0, 1fr);
}

.admin-hub__row-select {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}

.admin-hub__row-select input {
  margin: 0;
}

.admin-hub__row-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-hub__row-media {
  width: 76px;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 16, 0.8);
  display: grid;
  place-items: center;
  color: #7f8c95;
  font-size: 11px;
  text-align: center;
}

.admin-hub__row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-hub__row-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.admin-hub__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-hub__row-title {
  font-size: 13px;
  color: #e6edf2;
}

.admin-hub__row-meta {
  font-size: 11px;
  color: #8fa2ad;
}

.admin-hub__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-hub__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cfd6db;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.admin-hub__tag input {
  margin: 0;
}

.admin-hub__row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-hub__row-actions--checks {
  justify-content: flex-start;
  gap: 14px;
}

.admin-hub__row-actions--checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #c7d3dc;
}

.admin-hub__row-actions--checks input[type="checkbox"] {
  accent-color: #6fd98a;
}

.admin-hub__bulk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(10, 16, 22, 0.6);
}

.admin-hub__bulk-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #c0cbd2;
}

.admin-hub__bulk-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-hub__bulk-count {
  color: #8fa2ad;
}

.admin-hub__bulk-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-hub__bulk-actions .is-disabled {
  opacity: 0.55;
}

.admin-hub__row-body {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #c8d3da;
}

.admin-hub__row-line {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: start;
}

.admin-hub__row-label {
  color: #8fa2ad;
}

.admin-hub__row-chat {
  display: block;
  white-space: pre-line;
  border-radius: 4px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e3ea;
  line-height: 1.5;
  font-size: 11px;
}

.admin-hub__history {
  display: grid;
  gap: 8px;
}

.admin-hub__history-item {
  display: grid;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 16, 20, 0.6);
  font-size: 11px;
  color: #cfdbe2;
}

.admin-hub__history-meta {
  color: #b4c1c9;
}

.admin-hub__history-note {
  color: #dfe8ed;
  line-height: 1.5;
}

.admin-hub__row-form--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-hub__row-form--inline input,
.admin-hub__row-form--inline select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6edf2;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 12px;
}

.admin-hub__row-form--ban select {
  min-width: 92px;
}

.admin-hub__row-form--ban input[type="number"] {
  width: 120px;
}

.admin-hub__form-hint {
  font-size: 11px;
  color: #8fa2ad;
}

.admin-hub__ban-list {
  display: grid;
  gap: 10px;
}

.admin-hub__ban-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 22, 0.6);
}

.admin-hub__ban-main {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #cfd6db;
}

.admin-hub__ban-name {
  font-size: 13px;
  color: #e6edf2;
}

.admin-hub__ban-meta {
  font-size: 11px;
  color: #8fa2ad;
}

.admin-hub__ban-reason {
  font-size: 11px;
  color: #b7c4cc;
}

.admin-hub__section-head,
.admin-hub__grid,
.admin-hub__panel--stats,
.admin-hub__note,
.admin-hub__panel-head,
.admin-hub__empty {
  display: none;
}

.admin-hub__panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-hub__panel + .admin-hub__panel {
  margin-top: 12px;
}

.admin-hub__row,
.admin-hub__bulk,
.admin-hub__row-form--inline,
.admin-hub__ban-item {
  position: relative;
  padding-top: 28px;
}

.admin-hub__bulk {
  padding-top: 32px;
}

.admin-hub__row[data-admin-type]::before,
.admin-hub__bulk[data-admin-type]::before,
.admin-hub__row-form--inline[data-admin-type]::before,
.admin-hub__ban-item[data-admin-type]::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 11px;
  color: #7f8c95;
  letter-spacing: 0.5px;
}

.admin-hub__row--selectable[data-admin-type]::before {
  left: 44px;
}

.admin-hub__row[data-admin-type="tag-request"]::before {
  content: "标签申请";
}

.admin-hub__row[data-admin-type="tag-remove"]::before {
  content: "标签移除";
}

.admin-hub__row[data-admin-type="source-update"]::before {
  content: "来源补充";
}

.admin-hub__row[data-admin-type="rating-review"]::before {
  content: "等级审核";
}

.admin-hub__row[data-admin-type="report"]::before {
  content: "举报处理";
}

.admin-hub__row[data-admin-type="appeal"]::before {
  content: "申诉处理";
}

.admin-hub__bulk[data-admin-type="bulk-review"]::before {
  content: "批量审核";
}

.admin-hub__row[data-admin-type="wallpaper-review"]::before {
  content: "待审壁纸";
}

.admin-hub__row[data-admin-type="verify"]::before {
  content: "认证申请";
}

.admin-hub__row-form--inline[data-admin-type="whitelist"]::before {
  content: "白名单管理";
}

.admin-hub__row-form--inline[data-admin-type="ban"]::before {
  content: "禁言管理";
}

.admin-hub__ban-item[data-admin-type="banned-user"]::before {
  content: "禁言用户";
}

.admin-hub__row-form--inline {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 22, 0.6);
}

.admin-hub__row-form--inline[data-admin-type] {
  padding-top: 32px;
}

.admin-hub__ban-list {
  margin-top: 12px;
}

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

.appeal-page {
  display: grid;
  gap: 16px;
}

.appeal-page .message-notice,
.appeal-page .message-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
}

.appeal-page .message-notice {
  border: 1px solid rgba(111, 217, 138, 0.35);
  background: rgba(111, 217, 138, 0.12);
  color: #e8f5ea;
}

.appeal-page .message-error {
  border: 1px solid rgba(255, 138, 138, 0.35);
  background: rgba(255, 138, 138, 0.12);
  color: #ffd1d1;
}

.appeal-hero {
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(140deg, rgba(18, 25, 30, 0.85), rgba(10, 12, 16, 0.9));
}

.appeal-hero h1 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #e6edf2;
}

.appeal-hero p {
  margin: 0;
  font-size: 12px;
  color: #a8b6bf;
}

.appeal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
  align-items: start;
}

.appeal-panel {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 28, 34, 0.9), rgba(13, 16, 20, 0.95));
  padding: 16px;
  display: grid;
  gap: 12px;
}

.appeal-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.appeal-panel__head h2 {
  margin: 0;
  font-size: 14px;
  color: #e6edf2;
}

.appeal-panel__hint {
  font-size: 11px;
  color: var(--muted);
}

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

.appeal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 18, 22, 0.75);
}

.appeal-thumb {
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #7b8a93;
  font-size: 11px;
}

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

.appeal-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.appeal-title {
  font-size: 12px;
  color: #e6edf2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appeal-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #9fb0ba;
}

.appeal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.appeal-tag {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  color: #d5e1e8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.appeal-tag--danger {
  color: #ffd1d1;
  border-color: rgba(255, 140, 140, 0.4);
  background: rgba(255, 120, 120, 0.12);
}

.appeal-tag--muted {
  color: #9fb0ba;
}

.appeal-empty {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #9fb0ba;
}

.appeal-form {
  display: grid;
  gap: 12px;
}

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

.appeal-field input,
.appeal-field select,
.appeal-field textarea {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 10px;
  background: #0f1417;
  color: #e6edf2;
  font-size: 12px;
}

.appeal-field textarea {
  resize: vertical;
  min-height: 90px;
}

.appeal-help {
  font-size: 11px;
  color: #8ea1ad;
}

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

.appeal-targets.is-hidden {
  display: none;
}

.appeal-field.is-hidden {
  display: none;
}

.appeal-thumb.is-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appeal-thumb.is-clickable:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.appeal-panel--history {
  grid-column: 1 / -1;
}

.appeal-history {
  display: grid;
  gap: 12px;
}

.appeal-history-item {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 22, 0.75);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.appeal-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.appeal-history-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.appeal-history-type {
  font-size: 13px;
  font-weight: 600;
  color: #e6edf2;
}

.appeal-history-target {
  font-size: 12px;
  color: #9fb0ba;
}

.appeal-tag--success {
  color: #d1f5d8;
  border-color: rgba(111, 217, 138, 0.4);
  background: rgba(111, 217, 138, 0.12);
}

.appeal-history-timeline {
  display: grid;
  gap: 12px;
  padding-left: 8px;
}

.appeal-timeline-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  position: relative;
}

.appeal-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: -12px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.appeal-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 5px;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(14, 18, 22, 0.75);
}

.appeal-timeline-dot.is-success {
  background: #8fd45a;
}

.appeal-timeline-dot.is-danger {
  background: #ff8a8a;
}

.appeal-timeline-content {
  display: grid;
  gap: 4px;
}

.appeal-timeline-time {
  font-size: 11px;
  color: var(--muted);
}

.appeal-timeline-label {
  font-size: 12px;
  font-weight: 600;
  color: #d5e1e8;
}

.appeal-timeline-text {
  font-size: 12px;
  color: #b5c5ce;
  line-height: 1.5;
}

.appeal-history-detail {
  font-size: 11px;
  color: #9fb0ba;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.5;
}

.appeal-history-detail strong {
  color: #d5dadd;
}

.appeal-image-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.appeal-image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.appeal-image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  border: none;
  cursor: pointer;
  padding: 0;
}

.appeal-image-modal__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appeal-image-modal__content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.appeal-image-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.appeal-image-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
}

body.is-appeal-image-open {
  overflow: hidden;
}

/* ====================
   可访问性增强
   ==================== */

/* 全局焦点可见样式 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 特殊交互元素的焦点样式 */
.btn:focus-visible,
.auth-btn:focus-visible,
.user-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.appeal-thumb.is-clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  transform: scale(1.05);
}

/* 卡片和链接的焦点样式 */
.wall-link:focus-visible,
.appeal-item:focus-visible,
.collections-nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* 减弱动画支持 (尊重用户的动画偏好设置) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* 保留必要的opacity变化,但移除transform */
  .appeal-thumb.is-clickable:hover {
    transform: none;
  }

  .appeal-image-modal {
    transition: none;
  }

  /* 禁用骨架屏动画 */
  body.is-home-loading .home-announcement-card::after,
  body.is-home-loading .home-Moedes .wall-card::after {
    animation: none;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  :root {
    --muted: #b5c1ca;
  }

  .appeal-timeline-dot {
    border-width: 3px;
  }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline-width: 3px;
  }
}

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