/* ============================================================
   ComicHub — 灰度极简设计系统
   配色: 纯白 + 灰度层次 (#F5F5F5, #E0E0E0, #9E9E9E, #424242, #212121)
   原则: 留白、低信息密度、界面隐退、漫画封面为视觉中心
   ============================================================ */

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --black: #000000;

  --color-bg: var(--white);
  --color-bg-secondary: var(--gray-50);
  --color-surface: var(--gray-100);
  --color-border: var(--gray-200);
  --color-border-light: var(--gray-100);
  --color-text: var(--gray-800);
  --color-text-secondary: var(--gray-600);
  --color-text-muted: var(--gray-400);
  --color-text-strong: var(--gray-900);
  --color-emphasis: var(--gray-900);
  --color-divider: var(--gray-100);

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  --max-width: 1200px;
  --header-height: 56px;

  --transition: 0.15s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-strong);
  letter-spacing: -0.01em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.page-wrapper {
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + 32px);
  padding-bottom: 64px;
}

.section {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-header a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.section-header a:hover {
  color: var(--color-text-strong);
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.header-logo .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 400;
  transition: all var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-text-strong);
  background: var(--gray-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
}

.header-search input {
  background: var(--gray-100);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 6px 12px 6px 32px;
  color: var(--color-text);
  font-size: 0.85rem;
  width: 200px;
  transition: all var(--transition);
  font-family: var(--font-sans);
}

.header-search input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gray-300);
  width: 260px;
}

.header-search input::placeholder {
  color: var(--color-text-muted);
}

.header-search .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1;
}

/* ============================================================
   User Menu
   ============================================================ */
.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  background: none;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.user-menu-trigger:hover {
  background: var(--gray-100);
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  display: none;
  overflow: hidden;
}

.user-dropdown.show {
  display: block;
}

.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  color: var(--color-text);
  font-size: 0.85rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-sans);
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: var(--gray-50);
}

.user-dropdown .divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--gray-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--black);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--gray-500);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--color-text-strong);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 10px 24px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   Forms
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9rem;
  transition: all var(--transition);
  font-family: var(--font-sans);
}

.form-input:focus {
  outline: none;
  border-color: var(--gray-500);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input.error {
  border-color: var(--gray-800);
}

.form-error {
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  margin-top: 2px;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%239E9E9E'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
}

/* ============================================================
   Comic Grid
   ============================================================ */
.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.comic-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}

.comic-card:hover {
  transform: translateY(-2px);
}

.comic-card-cover {
  aspect-ratio: 3/4;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

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

.comic-card-cover .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.5rem;
}

.comic-card-info {
  padding: 10px 2px 0;
}

.comic-card-title {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  color: var(--color-text-strong);
}

.comic-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comic-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.tag {
  display: inline-block;
  padding: 1px 6px;
  background: var(--gray-100);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 400;
}

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--gray-50);
}

.auth-logo {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-sm);
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 4px;
  font-size: 1.5rem;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 0.85rem;
}

.auth-card .footer-text {
  text-align: center;
  margin-top: 20px;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

/* ============================================================
   Profile Page
   ============================================================ */
.profile-header {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h2 {
  margin-bottom: 2px;
}

.profile-info .username {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.profile-info .bio {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  max-width: 500px;
}

.profile-stats {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.profile-stats .stat {
  text-align: left;
}

.profile-stats .stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-strong);
}

.profile-stats .stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================================
   Comments
   ============================================================ */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.comment-author {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-text-strong);
}

.comment-time {
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

.comment-body {
  color: var(--color-text);
  font-size: 0.85rem;
  line-height: 1.6;
}

.comment-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.comment-actions button {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 2px 0;
  transition: color var(--transition);
  font-family: var(--font-sans);
}

.comment-actions button:hover {
  color: var(--color-text-strong);
}

.comment-replies {
  margin-left: 38px;
  margin-top: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--gray-200);
}

/* ============================================================
   Admin Dashboard
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  background: var(--white);
  border-right: 1px solid var(--color-border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 20px 0;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar-header {
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.admin-sidebar-nav a:hover {
  background: var(--gray-50);
  color: var(--color-text-strong);
}

.admin-sidebar-nav a.active {
  background: var(--gray-100);
  color: var(--color-text-strong);
}

.admin-main {
  margin-left: 220px;
  flex: 1;
  padding: 32px 36px;
  background: var(--gray-50);
  min-height: 100vh;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-strong);
}

.stat-card .stat-label {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.stat-card .stat-change {
  font-size: 0.75rem;
  margin-top: 6px;
  color: var(--color-text-secondary);
}

/* ============================================================
   Tables
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.85rem;
}

.data-table th {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.75rem;
  background: var(--gray-50);
}

.data-table tr:hover td {
  background: var(--gray-50);
}

.data-table .user-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.data-table .user-cell img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Tabs
   ============================================================ */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 24px;
  gap: 0;
}

.tab-item {
  padding: 10px 20px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  margin-bottom: -1px;
  font-family: var(--font-sans);
}

.tab-item:hover {
  color: var(--color-text-secondary);
}

.tab-item.active {
  color: var(--color-text-strong);
  border-bottom-color: var(--gray-800);
}

/* ============================================================
   Charts
   ============================================================ */
.chart-container {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.chart-container h3 {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.chart-canvas {
  width: 100%;
  height: 260px;
}

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 400;
  background: var(--gray-100);
  color: var(--color-text-secondary);
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 32px;
}

.pagination button,
.pagination .page-num {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--white);
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  padding: 0 8px;
}

.pagination button:hover,
.pagination .page-num:hover {
  border-color: var(--gray-500);
  color: var(--color-text-strong);
}

.pagination .page-num.active {
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: var(--white);
}

.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================================
   Alerts & Messages
   ============================================================ */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.alert-success {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--color-text-secondary);
}

.alert-error {
  background: var(--gray-50);
  border: 1px solid var(--gray-400);
  color: var(--color-text-strong);
}

.alert-info {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--color-text-secondary);
}

/* ============================================================
   Loading
   ============================================================ */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--color-text-muted);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--gray-600);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ============================================================
   Modal
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.modal h2 {
  margin-bottom: 16px;
}

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

/* ============================================================
   Empty State
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--color-text-muted);
}

.empty-state h3 {
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.85rem;
}

/* ============================================================
   Divider
   ============================================================ */
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 16px 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .comic-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 52px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .header-nav {
    display: none;
  }

  .header-search input {
    width: 140px;
  }

  .header-search input:focus {
    width: 180px;
  }

  .comic-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .profile-stats {
    justify-content: center;
  }

  .auth-card {
    padding: 28px 24px;
  }

  .admin-sidebar {
    width: 200px;
  }

  .admin-main {
    margin-left: 200px;
    padding: 24px 20px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .comment-replies {
    margin-left: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .comic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    width: 100%;
    display: none;
  }

  .admin-sidebar.open {
    display: block;
  }

  .admin-main {
    margin-left: 0;
  }
}
