/* ============================================================
   Admin Dashboard — admin.unun.io
   复刻 admin.updn.pub 完整样式
   ============================================================ */

/* --- AuthGate States --- */
.auth-gate-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 1rem;
  color: var(--color-text-secondary);
}
.auth-gate-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: #DD4C4F;
  border-radius: 50%;
  animation: gate-spin 1s linear infinite;
}
@keyframes gate-spin { to { transform: rotate(360deg); } }

.auth-gate-text { font-size: 1rem; }
.auth-gate-sub { font-size: 0.85rem; color: var(--color-text-secondary); }

.auth-gate-apple-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: #000; color: #fff;
  border: none; border-radius: 8px;
  font-size: 0.95rem; cursor: pointer;
  transition: opacity 0.2s;
}
.auth-gate-apple-btn:hover { opacity: 0.85; }
html[data-theme="dark"] .auth-gate-apple-btn {
  background: #fff; color: #000;
}
html[data-theme="dark"] .auth-gate-apple-btn svg path { fill: #000; }

/* --- Admin Layout --- */
.auth-gate-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
}
.admin-section { position: relative; }

/* --- Page Title (watermark text) --- */
.admin-page-title {
  font-size: 6rem; font-weight: 900; font-style: italic;
  color: rgba(0,0,0,0.04);
  user-select: none; pointer-events: none;
  line-height: 1; margin-bottom: -1.5rem;
  white-space: nowrap; overflow: hidden;
}
html[data-theme="dark"] .admin-page-title { color: rgba(255,255,255,0.03); }
@media (max-width: 768px) {
  .admin-page-title { font-size: 3rem; margin-bottom: -0.5rem; }
}

/* --- Dashboard Card Grid --- */
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; padding: 0;
  user-select: none;
}
@media (max-width: 900px) { .admin-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .admin-card-grid { grid-template-columns: 1fr; } }

/* --- Dashboard Card --- */
.admin-card {
  position: relative;
  aspect-ratio: 1.6 / 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem; border-radius: 24px;
  overflow: hidden; cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  --glow-x: 50%; --glow-y: 50%;
  --glow-intensity: 0; --glow-radius: 200px;
}
html[data-theme="dark"] .admin-card {
  background: linear-gradient(145deg, #1e222d, #14171e);
  border-color: rgba(255,255,255,0.05);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(221,76,79,0.2);
}
html[data-theme="dark"] .admin-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(221,76,79,0.3);
}

/* Card glow border (::after) */
.admin-card::after {
  content: '';
  position: absolute; inset: 0; padding: 6px;
  background: radial-gradient(
    var(--glow-radius) circle at var(--glow-x) var(--glow-y),
    rgba(221,76,79, calc(var(--glow-intensity) * 0.8)) 0%,
    rgba(221,76,79, calc(var(--glow-intensity) * 0.4)) 30%,
    transparent 60%
  );
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none; z-index: 10;
}
.admin-card__number {
  font-size: 100px; font-weight: 900;
  color: #DD4C4F; line-height: 1;
  position: relative; z-index: 2;
}
.admin-card__label {
  font-size: 0.9rem; font-weight: 500;
  color: var(--color-text-secondary);
  position: relative; z-index: 2;
}
.admin-card__watermark {
  position: absolute; bottom: -15px; right: -10px;
  font-size: 100px; font-weight: 900; font-style: italic;
  line-height: 1;
  color: rgba(0,0,0,0.04);
  pointer-events: none; user-select: none; z-index: 1;
}
html[data-theme="dark"] .admin-card__watermark { color: rgba(255,255,255,0.03); }

/* --- Tab Bar --- */
.admin-tab-bar {
  display: flex; align-items: stretch; gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0;
  background: var(--color-bg);
  z-index: 50;
}
.admin-tab-back {
  padding: 0.75rem 1.25rem; border: none;
  background: none; cursor: pointer;
  font-size: 0.875rem; color: var(--color-text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.admin-tab-back:hover { color: var(--color-text); }

.admin-tab-items { display: flex; gap: 0; }
.admin-tab {
  padding: 0.75rem 1.25rem; border: none;
  background: none; cursor: pointer;
  font-size: 0.875rem; color: var(--color-text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.admin-tab:hover { color: var(--color-text); }
.admin-tab.active {
  color: #DD4C4F; font-weight: 600;
  border-bottom-color: #DD4C4F;
}

/* --- Stats Cards Row --- */
.admin-stats {
  display: grid; gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-stats--5 { grid-template-columns: repeat(5, 1fr); }
.admin-stats--4 { grid-template-columns: repeat(4, 1fr); }
.admin-stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .admin-stats--5, .admin-stats--4 { grid-template-columns: repeat(2, 1fr); }
  .admin-stats--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .admin-stats--3 { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  background: rgba(255,255,255,0.8); border-radius: 8px;
  padding: 1rem; text-align: center;
}
html[data-theme="dark"] .stat-card { background: rgba(255,255,255,0.05); }
.stat-number { font-size: 1.5rem; font-weight: 600; color: var(--color-text); }
.stat-number.danger { color: #dc2626; }
.stat-label { font-size: 0.75rem; color: #666; margin-top: 0.25rem; }
html[data-theme="dark"] .stat-label { color: #999; }

/* --- Filter Bar --- */
.admin-filters {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}
.admin-filter-select, .admin-filter-input {
  padding: 0.375rem 0.75rem; font-size: 0.875rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  background: var(--color-bg); color: var(--color-text);
}
.admin-filter-label { font-size: 0.875rem; color: #6b7280; white-space: nowrap; margin-right: -0.5rem; }
.admin-filter-input { flex: 1; min-width: 150px; }
.admin-filter-check {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: #6b7280;
  cursor: pointer;
}
.admin-filter-count {
  margin-left: auto; font-size: 0.875rem;
  color: #6b7280; white-space: nowrap;
}

/* --- List Items (shared) --- */
.admin-list { display: flex; flex-direction: column; gap: 0.75rem; }
.admin-list-item {
  display: flex; gap: 0.75rem; padding: 1rem;
  background: rgba(255,255,255,0.8); border-radius: 8px;
  transition: box-shadow 0.2s;
}
html[data-theme="dark"] .admin-list-item { background: rgba(255,255,255,0.05); }
.admin-list-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
html[data-theme="dark"] .admin-list-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.admin-list-item.editing { box-shadow: 0 0 0 2px #DD4C4F; }
.admin-list-item.deleted { opacity: 0.6; }
.admin-list-item.blocked-row { background: #fef2f2; }
html[data-theme="dark"] .admin-list-item.blocked-row { background: rgba(220,38,38,0.06); }

/* --- Avatar --- */
.admin-avatar {
  width: 40px; height: 40px; border-radius: 0.5rem;
  object-fit: cover; flex-shrink: 0;
  background: var(--color-border);
}

/* --- Item Main --- */
.item-main { flex: 1; min-width: 0; }
.item-header {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.5rem; flex-wrap: wrap;
}
.item-name { font-weight: 500; font-size: 0.9rem; }
.item-id { font-size: 0.8rem; color: #9ca3af; }
.item-time { font-size: 0.8rem; color: #999; }
.item-time-right { font-size: 0.8rem; color: #999; margin-left: auto; }

/* --- Badges --- */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.4rem; border-radius: 3px;
  font-size: 0.7rem; font-weight: 500;
  white-space: nowrap;
}
.badge-blog { background: #e0f2fe; color: #0369a1; }
.badge-note { background: #fef3c7; color: #b45309; }
.badge-pinned { background: #DD4C4F; color: #fff; }
.badge-deleted { background: #9ca3af; color: #fff; }
.badge-blocked { background: #fee2e2; color: #dc2626; }

html[data-theme="dark"] .badge-blog { background: #0c4a6e; color: #7dd3fc; }
html[data-theme="dark"] .badge-note { background: #78350f; color: #fde68a; }
html[data-theme="dark"] .badge-blocked { background: rgba(220,38,38,0.2); color: #fca5a5; }

/* Visibility badges */
.badge-vis-public { background: #dcfce7; color: #16a34a; }
.badge-vis-private { background: #fee2e2; color: #dc2626; }
.badge-vis-family { background: #f3e8ff; color: #7c3aed; }
.badge-vis-friends { background: #dbeafe; color: #2563eb; }
.badge-vis-vip { background: #fef3c7; color: #b45309; }
.badge-vis-custom { background: #f3f4f6; color: #374151; }
.badge-category { background: #f3f4f6; color: #374151; }

html[data-theme="dark"] .badge-vis-public { background: rgba(22,163,74,0.15); color: #86efac; }
html[data-theme="dark"] .badge-vis-private { background: rgba(220,38,38,0.15); color: #fca5a5; }
html[data-theme="dark"] .badge-vis-family { background: rgba(124,58,237,0.15); color: #c4b5fd; }
html[data-theme="dark"] .badge-vis-friends { background: rgba(37,99,235,0.15); color: #93c5fd; }
html[data-theme="dark"] .badge-vis-vip { background: rgba(180,83,9,0.15); color: #fde68a; }
html[data-theme="dark"] .badge-vis-custom { background: rgba(255,255,255,0.08); color: #d1d5db; }
html[data-theme="dark"] .badge-category { background: rgba(255,255,255,0.08); color: #d1d5db; }

/* --- User Tags (colored) --- */
.user-tag {
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.5rem; border-radius: 4px;
  font-size: 0.7rem; font-weight: 500;
}

/* --- Content Item Specific --- */
.post-title {
  font-size: 1rem; font-weight: 500;
  white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 500px;
}
.post-title a {
  color: var(--color-text); text-decoration: none;
}
.post-title a:hover { color: #DD4C4F; }
.post-title.deleted-text { text-decoration: line-through; }

.post-desc {
  font-size: 0.85rem; color: #666;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin: 0 0 0.5rem 0;
}
html[data-theme="dark"] .post-desc { color: #999; }
.post-meta { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.post-meta-text { font-size: 0.75rem; color: #999; font-family: monospace; }

/* Actions */
.item-actions {
  display: flex; gap: 0.5rem; align-items: center;
  flex-shrink: 0;
}
.btn-action {
  padding: 0.4rem 0.8rem; border: none;
  border-radius: 4px; cursor: pointer;
  font-size: 0.8rem; transition: all 0.2s;
  background: #f3f4f6; color: #374151;
}
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.4rem; border: none;
  border-radius: 4px; cursor: pointer;
  background: #f3f4f6; color: #666;
  transition: all 0.2s; text-decoration: none;
}
.btn-icon:hover { background: #e5e7eb; color: #DD4C4F; }
html[data-theme="dark"] .btn-icon { background: #374151; color: #9ca3af; }
html[data-theme="dark"] .btn-icon:hover { background: #4b5563; color: #DD4C4F; }
.btn-icon.danger { background: #fee2e2; color: #dc2626; }
.btn-icon.danger:hover { background: #fecaca; }
html[data-theme="dark"] .btn-icon.danger { background: #7f1d1d; color: #fca5a5; }
html[data-theme="dark"] .btn-icon.danger:hover { background: #991b1b; }
.btn-icon.success { background: #dcfce7; color: #16a34a; }
.btn-icon.success:hover { background: #bbf7d0; }
html[data-theme="dark"] .btn-icon.success { background: #14532d; color: #86efac; }
html[data-theme="dark"] .btn-icon.success:hover { background: #166534; }
html[data-theme="dark"] .btn-action {
  background: #374151; color: #d1d5db;
}
.btn-action:hover { background: #e5e7eb; }
html[data-theme="dark"] .btn-action:hover { background: #4b5563; }

.btn-action.danger { background: #fee2e2; color: #dc2626; }
.btn-action.danger:hover { background: #fecaca; }
html[data-theme="dark"] .btn-action.danger { background: #7f1d1d; color: #fca5a5; }

.btn-action.success { background: #dcfce7; color: #16a34a; }
.btn-action.success:hover { background: #bbf7d0; }
html[data-theme="dark"] .btn-action.success { background: #14532d; color: #86efac; }

.btn-action.primary { background: #DD4C4F; color: #fff; }
.btn-action.primary:hover { background: #c93c3f; }

/* Comment delete — show on hover */
.btn-delete-hover {
  opacity: 0; padding: 0.35rem; background: none;
  border: none; color: #999; cursor: pointer;
  border-radius: 4px; transition: all 0.2s;
}
.admin-list-item:hover .btn-delete-hover { opacity: 1; }
.btn-delete-hover:hover { background: #fee2e2; color: #dc2626; }
html[data-theme="dark"] .btn-delete-hover:hover { background: rgba(220,38,38,0.15); color: #fca5a5; }

/* --- Edit Panel (inline) --- */
.edit-panel {
  display: flex; flex-direction: column; gap: 0.5rem;
  min-width: 180px; padding: 0.75rem;
  background: rgba(0,0,0,0.02); border-radius: 8px;
}
html[data-theme="dark"] .edit-panel { background: rgba(255,255,255,0.03); }

.edit-row { display: flex; align-items: center; gap: 0.5rem; }
.edit-label { font-size: 0.8rem; color: var(--color-text-secondary); white-space: nowrap; min-width: 50px; }
.edit-input, .edit-select {
  padding: 0.25rem 0.5rem; font-size: 0.8rem;
  border: 1px solid var(--color-border); border-radius: 4px;
  background: var(--color-bg); color: var(--color-text);
  flex: 1;
}
.edit-check { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; cursor: pointer; }

/* Visibility Picker */
.vis-picker {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  align-items: center; flex: 1;
}
.vis-btn {
  padding: 0.25rem 0.6rem; font-size: 0.75rem;
  border: 1px solid var(--color-border); border-radius: 4px;
  background: var(--color-bg); color: var(--color-text-secondary);
  cursor: pointer; transition: all 0.15s; font-weight: 500;
}
.vis-btn:hover { border-color: #DD4C4F; color: #DD4C4F; }
.vis-btn.active {
  background: #DD4C4F; color: #fff;
  border-color: #DD4C4F;
}
html[data-theme="dark"] .vis-btn {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #999;
}
html[data-theme="dark"] .vis-btn:hover { border-color: #DD4C4F; color: #DD4C4F; }
html[data-theme="dark"] .vis-btn.active {
  background: #DD4C4F; color: #fff; border-color: #DD4C4F;
}
.vis-custom-wrap { flex: 1; min-width: 80px; }
.vis-custom-input {
  width: 100%; padding: 0.25rem 0.5rem; font-size: 0.75rem;
  border: 1px solid var(--color-border); border-radius: 4px;
  background: var(--color-bg); color: var(--color-text);
  box-sizing: border-box;
}
.vis-custom-input:focus {
  outline: none; border-color: #DD4C4F;
}

.edit-buttons { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.edit-buttons .btn-action { flex: 1; text-align: center; }

/* --- Comment Specific --- */
.comment-content {
  font-size: 0.9rem; line-height: 1.5;
  word-break: break-word; margin: 0.25rem 0;
}
.comment-reply { color: #999; font-size: 0.85rem; }
.comment-reply-name { color: #576b95; }
html[data-theme="dark"] .comment-reply-name { color: #7a9fd4; }
.comment-post-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; color: #999; text-decoration: none;
}
.comment-post-link:hover { color: #DD4C4F; }

/* --- Like Specific --- */
.like-action { color: #999; font-size: 0.85rem; }
.like-post-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; color: #576b95; text-decoration: none;
}
.like-post-link:hover { color: #DD4C4F; }
html[data-theme="dark"] .like-post-link { color: #7a9fd4; }

/* --- User Specific --- */
.user-tags-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 0.5rem;
}
.user-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.user-actions { display: flex; gap: 0.25rem; flex-shrink: 0; }

/* --- Modal --- */
.admin-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.admin-modal-content {
  background: var(--color-bg);
  border-radius: 12px; padding: 1.5rem;
  max-width: 400px; width: 90%;
  max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1rem;
}
.modal-title { font-size: 1.1rem; font-weight: 600; }
.modal-close {
  background: none; border: none; color: #999;
  cursor: pointer; font-size: 1.2rem; padding: 0.25rem;
}
.modal-close:hover { color: var(--color-text); }

.modal-user-info {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; background: rgba(0,0,0,0.03);
  border-radius: 8px; margin-bottom: 1rem;
}
html[data-theme="dark"] .modal-user-info { background: rgba(255,255,255,0.05); }

.modal-section { margin-bottom: 1rem; }
.modal-label { font-size: 0.85rem; color: var(--color-text-secondary); margin-bottom: 0.5rem; }

.modal-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  min-height: 32px; padding: 0.5rem;
  border: 1px solid var(--color-border); border-radius: 6px;
}
.editable-tag {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.8rem; padding: 0.25rem 0.5rem; border-radius: 4px;
}
.tag-remove {
  background: none; border: none; cursor: pointer;
  opacity: 0.6; font-size: 0.85rem; padding: 0; margin-left: 0.15rem;
  color: inherit;
}
.tag-remove:hover { opacity: 1; }

.preset-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.preset-tag {
  font-size: 0.8rem; padding: 0.35rem 0.75rem;
  border: none; border-radius: 4px; cursor: pointer;
  font-weight: 500; transition: transform 0.15s;
}
.preset-tag:hover:not(.disabled) { transform: scale(1.05); }
.preset-tag.disabled { opacity: 0.4; cursor: not-allowed; }

.custom-tag-row { display: flex; gap: 0.5rem; }
.custom-tag-input {
  flex: 1; padding: 0.5rem 0.75rem; font-size: 0.85rem;
  border: 1px solid var(--color-border); border-radius: 6px;
  background: var(--color-bg); color: var(--color-text);
}
.custom-tag-add {
  padding: 0.5rem 0.75rem; font-size: 0.85rem;
  background: #f3f4f6; border: none; border-radius: 6px;
  cursor: pointer; white-space: nowrap;
}
html[data-theme="dark"] .custom-tag-add { background: rgba(255,255,255,0.08); color: #d1d5db; }
.custom-tag-add:hover { background: #e5e7eb; }

.modal-warning {
  color: var(--color-text-secondary); font-size: 0.9rem;
  line-height: 1.5; margin: 0 0 1.5rem 0;
  padding: 0.75rem; background: #fef2f2;
  border-radius: 6px; border: 1px solid #fecaca;
}
html[data-theme="dark"] .modal-warning {
  background: rgba(220,38,38,0.08);
  border-color: rgba(220,38,38,0.2);
}

.modal-buttons {
  display: flex; gap: 0.75rem;
  justify-content: flex-end; margin-top: 1.25rem;
}
.modal-btn {
  padding: 0.5rem 1.25rem; border: none;
  border-radius: 8px; cursor: pointer;
  font-size: 0.85rem; font-weight: 500;
  transition: opacity 0.2s;
}
.modal-btn:hover { opacity: 0.85; }
.modal-btn.cancel { background: #f3f4f6; color: #374151; }
html[data-theme="dark"] .modal-btn.cancel { background: rgba(255,255,255,0.08); color: #d1d5db; }
.modal-btn.primary { background: #DD4C4F; color: #fff; }
.modal-btn.danger { background: #dc2626; color: #fff; }
.modal-btn.success { background: #16a34a; color: #fff; }
.modal-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- Loading / Empty --- */
.admin-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 3rem; color: var(--color-text-secondary);
  gap: 0.5rem; font-size: 0.9rem;
}
.admin-loading .mini-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: #DD4C4F; border-radius: 50%;
  animation: gate-spin 1s linear infinite;
}
.admin-empty {
  text-align: center; padding: 3rem;
  color: var(--color-text-secondary); font-size: 0.9rem;
}

/* --- Toast --- */
.admin-toast {
  position: fixed; top: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 0.65rem 1.25rem; border-radius: 8px;
  background: #1f2937; color: #fff;
  font-size: 0.85rem; z-index: 2000;
  opacity: 0; transition: all 0.3s ease;
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
html[data-theme="dark"] .admin-toast {
  background: #374151; border: 1px solid rgba(255,255,255,0.1);
}
.admin-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Spotlight (GSAP driven) --- */
#admin-spotlight {
  position: fixed; width: 800px; height: 800px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle,
    rgba(221,76,79,0.15) 0%, rgba(221,76,79,0.08) 15%,
    rgba(221,76,79,0.04) 25%, rgba(221,76,79,0.02) 40%,
    rgba(221,76,79,0.01) 65%, transparent 70%
  );
  z-index: 200; opacity: 0;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
  .auth-gate-content { padding: 5rem 1rem 2rem; }
  .admin-filters { gap: 0.5rem; }
  .admin-list-item { padding: 0.75rem; gap: 0.5rem; border-radius: 6px; }
  .item-actions { flex-direction: column; }
  .post-title { max-width: 200px; }
  .admin-tab-bar { gap: 0.5rem; flex-wrap: wrap; }
}
