    :root {
      --bg: #f8fafc;
      --card-bg: #ffffff;
      --text: #1e293b;
      --text-secondary: #64748b;
      --border: #e2e8f0;
      --primary: #6366f1;
      --primary-hover: #4f46e5;
      --danger: #ef4444;
      --danger-hover: #dc2626;
      --success: #10b981;
      --warning: #f59e0b;
      --info: #3b82f6;
      --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
      --shadow-lg: 0 10px 25px rgba(0,0,0,.12);
      --radius: 12px;
      --radius-sm: 8px;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #0f172a;
        --card-bg: #1e293b;
        --text: #f1f5f9;
        --text-secondary: #94a3b8;
        --border: #334155;
        --shadow: 0 1px 3px rgba(0,0,0,.3);
        --shadow-lg: 0 10px 25px rgba(0,0,0,.5);
      }
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      line-height: 1.6;
      position: relative;
    }

    /* ===== 背景水印图 ===== */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: -1;
      background: url('无职.jpg') center/cover no-repeat;
    }

    /* ===== 顶部导航 ===== */
    .header {
      background: transparent;
      padding: 16px 24px;
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }
    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.38);
      padding: 6px 16px;
      border-radius: 20px;
      backdrop-filter: blur(4px);
      border: 1px solid var(--border);
    }
    .logo span { font-size: 1.8rem; }
    .connection-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      display: inline-block;
      margin-left: 8px;
    }
    .connection-dot.online { background: var(--success); box-shadow: 0 0 8px var(--success); }
    .connection-dot.offline { background: var(--danger); }

    /* ===== 统计卡片 ===== */
    .stats-row {
      max-width: 1200px;
      margin: 24px auto 0;
      padding: 0 24px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 16px;
    }
    .stat-card {
      background: rgba(255,255,255,0.38);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      text-align: center;
      box-shadow: var(--shadow);
      transition: transform .2s, border-color .2s;
      cursor: pointer;
      user-select: none;
      backdrop-filter: blur(4px);
    }
    .stat-card:hover { transform: translateY(-2px); border-color: var(--primary); }
    .stat-card.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(99,102,241,.25); }
    .stat-card .number {
      font-size: 2rem;
      font-weight: 700;
      color: var(--primary);
    }
    .stat-card .label {
      font-size: .85rem;
      color: var(--text-secondary);
      margin-top: 4px;
    }

    /* ===== 每日一言 ===== */
    .daily-quote {
      max-width: 1200px;
      margin: 0 auto;
      padding: 14px 24px 10px;
      text-align: center;
      position: relative;
    }
    .daily-date {
      font-size: .95rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 4px;
      letter-spacing: .5px;
      text-shadow: 0 0 8px rgba(99,102,241,0.15);
    }
    .daily-text {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--primary-hover);
      line-height: 1.7;
      font-style: italic;
      position: relative;
      display: inline;
      text-shadow: 0 0 6px rgba(99,102,241,0.1);
    }
    .daily-text::before { content: '\201C'; color: var(--primary); font-weight: 700; font-size: 1.2em; }
    .daily-text::after { content: '\201D'; color: var(--primary); font-weight: 700; font-size: 1.2em; }
    .daily-source-row {
      margin-top: 6px;
    }
    .daily-from {
      display: inline;
      font-size: .95rem;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: .3px;
    }
    .daily-from::before { content: '—— 《'; }
    .daily-from::after { content: '》'; }
    .daily-refresh {
      display: inline-block;
      margin-left: 8px;
      padding: 2px 10px;
      border: none;
      border-radius: 14px;
      background: rgba(99,102,241,0.1);
      color: var(--primary);
      cursor: pointer;
      font-size: .78rem;
      transition: all .2s;
      vertical-align: middle;
    }
    .daily-refresh:hover {
      background: var(--primary);
      color: #fff;
    }

    /* ===== 主要内容区 ===== */
    .main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px;
    }

    /* ===== 工具栏 ===== */
    .toolbar {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .search-box {
      flex: 1;
      min-width: 200px;
      position: relative;
    }
    .search-box input {
      width: 100%;
      padding: 10px 16px 10px 40px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.38);
      color: var(--text);
      font-size: .95rem;
      transition: border-color .2s, box-shadow .2s;
      backdrop-filter: blur(4px);
    }
    .search-box input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99,102,241,.2);
    }
    @media (prefers-color-scheme: dark) {
      .search-box input { background: #1e293b; }
    }
    .search-box .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text);
      font-size: 1.1rem;
      opacity: 1;
      z-index: 1;
    }
    /* ===== 自定义下拉选择器 ===== */
    .custom-select {
      position: relative;
      user-select: none;
    }
    .custom-select-trigger {
      padding: 10px 16px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.38);
      color: var(--text);
      font-size: .95rem;
      cursor: pointer;
      backdrop-filter: blur(4px);
      white-space: nowrap;
      transition: border-color .2s;
      min-width: 145px;
    }
    .custom-select-trigger:hover { border-color: var(--primary); }
    .custom-select-dropdown {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      background: rgba(255,255,255,0.72);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
      z-index: 300;
      box-shadow: var(--shadow-lg);
      display: none;
    }
    .custom-select-dropdown.open { display: block; }
    .custom-select-option {
      padding: 10px 16px;
      cursor: pointer;
      font-size: .9rem;
      color: var(--text);
      transition: background .15s;
    }
    .custom-select-option:hover { background: rgba(99,102,241,0.12); }
    .custom-select-option.selected { background: rgba(99,102,241,0.18); font-weight: 600; }

    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: var(--radius-sm);
      font-size: .95rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }
    .btn-primary {
      background: rgba(99,102,241,0.42);
      color: #fff;
      backdrop-filter: blur(4px);
      border: 1px solid rgba(99,102,241,0.25);
    }
    .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); border-color: var(--primary-hover); }
    .btn-outline {
      background: rgba(255,255,255,0.38);
      border: 1px solid var(--border);
      color: var(--text);
      backdrop-filter: blur(4px);
    }
    .btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
    .btn-sm {
      padding: 6px 12px;
      font-size: .8rem;
      border-radius: 6px;
    }
    .btn-danger { background: var(--danger); color: #fff; }
    .btn-danger:hover { background: var(--danger-hover); }

    /* ===== 添加表单 ===== */
    .add-panel {
      background: rgba(255,255,255,0.45);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      margin-bottom: 20px;
      box-shadow: var(--shadow);
      display: none;
      backdrop-filter: blur(6px);
    }
    .add-panel.open { display: block; animation: slideDown .3s ease; }
    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .add-panel h3 { margin-bottom: 16px; font-size: 1.1rem; }
    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 12px;
    }
    .form-grid input,
    .form-grid select {
      padding: 10px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.38);
      color: var(--text);
      font-size: .95rem;
      width: 100%;
      backdrop-filter: blur(4px);
    }
    .form-grid input:focus,
    .form-grid select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99,102,241,.15);
    }
    .form-actions {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }

    /* ===== 表格 ===== */
    .table-wrapper {
      background: rgba(255,255,255,0.38);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      backdrop-filter: blur(4px);
    }
    .table-scroll {
      overflow-x: auto;
    }
    table {
      width: 100%;
      table-layout: fixed;
      border-collapse: collapse;
      min-width: 700px;
    }
    thead {
      background: rgba(248,250,252,0.48);
      position: sticky;
      top: 0;
    }
    th {
      padding: 14px 16px;
      text-align: left;
      font-size: .8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: var(--text-secondary);
      border-bottom: 2px solid var(--border);
      white-space: nowrap;
    }
    td {
      padding: 12px 16px;
      border-bottom: 1px solid var(--border);
      font-size: .95rem;
    }
    tbody tr.row-saved {
      animation: flashSaved .6s ease;
    }
    tbody tr.row-save-failed {
      animation: flashFailed .6s ease;
    }
    @keyframes flashSaved {
      0% { box-shadow: inset 0 0 0 2px var(--success); }
      100% { box-shadow: inset 0 0 0 0px var(--success); }
    }
    @keyframes flashFailed {
      0% { box-shadow: inset 0 0 0 2px var(--danger); }
      100% { box-shadow: inset 0 0 0 0px var(--danger); }
    }
    tbody tr {
      transition: background .15s;
      content-visibility: auto;
      contain-intrinsic-size: auto 62px;
    }
    tbody tr:hover { background: var(--bg); }
    tbody tr:last-child td { border-bottom: none; }

    .title-cell {
      display: grid;
      grid-template-columns: 32px 1fr;
      gap: 8px;
      align-items: center;
    }
    .title-text {
      font-weight: 600;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.4;
      flex: 1;
      min-width: 0;
    }
    /* ===== 拖动排序 ===== */
    .sortable-row {
      user-select: none;
      -webkit-user-select: none;
    }
    .sortable-row:active { cursor: grabbing; }
    .sortable-row.dragging {
      opacity: 0.4;
      background: var(--bg);
    }
    .sortable-row.drag-over {
      border-top: 3px solid var(--primary);
    }

    .episode-input {
      width: 60px;
      padding: 6px 8px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--bg);
      color: var(--text);
      font-size: .9rem;
      text-align: center;
      transition: border-color .2s;
      display: none;
    }
    .episode-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(99,102,241,.2);
    }
    .episode-input.active { display: inline-block; }
    .episode-display {
      min-width: 36px;
      text-align: center;
      font-weight: 600;
      font-size: .95rem;
      cursor: pointer;
      padding: 4px 6px;
      border-radius: 6px;
      transition: background .15s;
      border: 1px solid transparent;
    }
    .episode-display:hover { background: var(--border); }
    .status-badge {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: .8rem;
      font-weight: 600;
    }
    .status-badge.want { background: #fef3c7; color: #92400e; }
    .status-badge.watching { background: #dbeafe; color: #1e40af; }
    .status-badge.done { background: #d1fae5; color: #065f46; }
    .status-badge.onhold { background: #f3e8ff; color: #6b21a8; }
    .status-badge.dropped { background: #fce7f3; color: #9d174d; }

    @media (prefers-color-scheme: dark) {
      .status-badge.want { background: #78350f; color: #fde68a; }
      .status-badge.watching { background: #1e3a5f; color: #93c5fd; }
      .status-badge.done { background: #064e3b; color: #a7f3d0; }
      .status-badge.onhold { background: #3b0764; color: #d8b4fe; }
      .status-badge.dropped { background: #4a1942; color: #f9a8d4; }
    }

    .progress-bar-wrap {
      width: 100px;
      height: 6px;
      background: var(--border);
      border-radius: 3px;
      overflow: hidden;
    }
    .progress-bar-fill {
      height: 100%;
      background: var(--primary);
      border-radius: 3px;
      transition: width .3s ease;
    }

    .rating-stars {
      color: var(--warning);
      font-size: .85rem;
      letter-spacing: 1px;
    }
    .actions-cell {
      display: flex;
      gap: 6px;
    }

    /* ===== 空状态 ===== */
    .empty-state {
      text-align: center;
      padding: 60px 20px;
      color: var(--text-secondary);
    }
    .empty-state .icon { font-size: 4rem; margin-bottom: 16px; }
    .empty-state p { font-size: 1.1rem; }

    /* ===== Footer ===== */
    .site-footer {
      text-align: center;
      padding: 16px 20px 24px;
      font-size: .85rem;
      color: var(--text-secondary);
      letter-spacing: .5px;
    }
    .site-footer .footer-author {
      font-weight: 700;
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #fda085 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-size: .9rem;
    }
    .site-footer .footer-deco {
      display: inline-block;
      animation: footerBounce 2s ease-in-out infinite;
    }
    .site-footer .footer-deco:last-child { animation-delay: .5s; }
    @keyframes footerBounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-4px); }
    }

    /* ===== 分页 ===== */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
      flex-wrap: wrap;
    }
    .pagination button {
      padding: 8px 16px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(255,255,255,0.35);
      color: var(--text);
      cursor: pointer;
      font-size: .9rem;
      transition: all .2s;
    }
    .pagination button:hover:not(:disabled) {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }
    .pagination button:disabled {
      opacity: .4;
      cursor: not-allowed;
    }
    .pagination button.active {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
      font-weight: 700;
    }
    .pagination .page-info {
      font-size: .85rem;
      color: var(--text-secondary);
      padding: 0 8px;
    }
    .pagination .page-jump {
      font-size: .85rem;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .pagination .page-jump input {
      padding: 4px 6px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--input-bg, #fff);
      color: var(--text);
      font-size: .85rem;
    }
    .pagination .page-jump button {
      padding: 4px 10px;
      font-size: .8rem;
    }

    /* ===== Toast ===== */
    .toast-container {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .toast {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 12px 20px;
      box-shadow: var(--shadow-lg);
      font-size: .9rem;
      animation: toastIn .3s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .toast.success { border-left: 4px solid var(--success); }
    .toast.error { border-left: 4px solid var(--danger); }
    @keyframes toastIn {
      from { opacity: 0; transform: translateX(20px); }
      to { opacity: 1; transform: translateX(0); }
    }

    /* ===== Modal ===== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.5);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeIn .2s;
    }
    .modal {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 32px;
      max-width: 500px;
      width: 90%;
      box-shadow: var(--shadow-lg);
      text-align: center;
    }
    .modal h2 { margin-bottom: 12px; }
    .modal p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

    /* ===== Auth Modal ===== */
    .auth-modal .modal { max-width: 400px; }
    .auth-modal .auth-input {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 1rem;
      margin-bottom: 12px;
      background: var(--bg);
      color: var(--text);
      box-sizing: border-box;
    }
    .auth-modal .auth-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99,102,241,.15);
    }
    .auth-modal .auth-error {
      color: var(--danger);
      font-size: .85rem;
      margin-bottom: 12px;
      display: none;
    }
    .auth-modal .auth-toggle {
      margin-top: 16px;
      font-size: .9rem;
      color: var(--text-secondary);
    }
    .auth-modal .auth-toggle a {
      color: var(--primary);
      cursor: pointer;
      text-decoration: none;
    }
    .auth-modal .auth-toggle a:hover { text-decoration: underline; }
    .auth-modal .btn { width: 100%; }

    /* ===== Profile ===== */
    .avatar-upload-label {
      display: block;
      cursor: pointer;
      text-align: center;
      padding: 10px;
      border: 2px dashed var(--border);
      border-radius: var(--radius-sm);
      color: var(--text-secondary);
      font-size: .9rem;
      transition: border-color .2s, color .2s;
    }
    .avatar-upload-label:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    /* ===== Header User ===== */
    .header-right {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }
    .user-group {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
    }
    .user-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.38);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 6px 14px 6px 6px;
      font-size: .85rem;
      color: var(--text);
      cursor: pointer;
      white-space: nowrap;
      transition: border-color .2s, box-shadow .2s;
      backdrop-filter: blur(4px);
    }
    .user-badge:hover {
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(99,102,241,.15);
    }
    .user-badge .user-icon {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      font-weight: 700;
      flex-shrink: 0;
      overflow: hidden;
    }
    .user-badge .user-icon img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .user-badge .user-name {
      font-weight: 600;
      color: var(--text);
    }
    .user-badge .user-email-sub {
      font-size: .75rem;
      color: var(--text-secondary);
    }
    .logout-icon {
      font-size: .85rem;
      cursor: pointer;
      opacity: .5;
      transition: opacity .15s;
      padding: 2px 6px;
      margin-left: 4px;
    }
    .logout-icon:hover {
      opacity: 1;
    }
    .user-info-line {
      text-align: center;
      font-size: .8rem;
      color: var(--text-secondary);
      margin-bottom: 8px;
      display: none;
    }
    .user-info-line .highlight {
      color: var(--primary);
      font-weight: 600;
    }

    /* ===== Lightbox ===== */
    .lightbox-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.85);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      animation: fadeIn .2s;
    }
    .lightbox-overlay img {
      max-width: 90vw;
      max-height: 90vh;
      border-radius: 8px;
      box-shadow: 0 20px 60px rgba(0,0,0,.5);
      cursor: default;
    }
    .poster-thumb {
      cursor: pointer;
      transition: transform .15s;
    }
    .poster-thumb:hover { transform: scale(1.1); }

    /* ===== 回到顶部按钮 ===== */
    .back-to-top {
      position: fixed;
      bottom: 32px;
      right: 32px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      border: 1px solid rgba(148,163,184,0.25);
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 500;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity .3s, transform .3s, background .2s, border-color .2s, color .2s;
      pointer-events: none;
      backdrop-filter: blur(4px);
    }
    .back-to-top::after {
      content: '';
      width: 10px;
      height: 10px;
      border-left: 2px solid currentColor;
      border-top: 2px solid currentColor;
      transform: rotate(45deg) translateY(2px);
    }
    .back-to-top.visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .back-to-top:hover {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }
    @media (prefers-color-scheme: dark) {
      .back-to-top { background: rgba(30,41,59,0.3); }
    }

    /* ===== 响应式 ===== */
    /* ===== 动画搜索 ===== */
    .anime-search-wrap {
      position: relative;
      grid-column: 1 / -1;
    }
    .anime-search-wrap input {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.38);
      color: var(--text);
      font-size: .95rem;
      backdrop-filter: blur(4px);
    }
    .anime-search-wrap input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99,102,241,.15);
    }
    .search-results {
      position: absolute;
      top: 100%;
      left: 0; right: 0;
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 0 0 var(--radius-sm) var(--radius-sm);
      max-height: 360px;
      overflow-y: auto;
      z-index: 200;
      box-shadow: var(--shadow-lg);
      display: none;
    }
    .search-results.open { display: block; }
    .search-result-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      cursor: pointer;
      border-bottom: 1px solid var(--border);
      transition: background .15s;
    }
    .search-result-item:last-child { border-bottom: none; }
    .search-result-item:hover { background: var(--bg); }
    .search-result-item img {
      width: 40px; height: 56px;
      object-fit: cover;
      border-radius: 4px;
      flex-shrink: 0;
      background: var(--border);
    }
    .search-result-info { flex: 1; min-width: 0; }
    .search-result-info .title {
      font-weight: 600;
      font-size: .9rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .search-result-info .meta {
      font-size: .78rem;
      color: var(--text-secondary);
      margin-top: 2px;
    }
    .search-loading {
      text-align: center;
      padding: 20px;
      color: var(--text-secondary);
      font-size: .9rem;
    }

    /* ===== 暗色模式透明背景 ===== */
    @media (prefers-color-scheme: dark) {
      .logo { background: rgba(30,41,59,0.38); }
      .user-badge { background: rgba(30,41,59,0.38); }
      .btn-outline { background: rgba(30,41,59,0.38); }
      .btn-primary { background: rgba(99,102,241,0.32); }
      .custom-select-trigger { background: rgba(30,41,59,0.38); }
      .custom-select-dropdown { background: rgba(30,41,59,0.72); }
      .stat-card { background: rgba(30,41,59,0.38); }
      .add-panel { background: rgba(30,41,59,0.45); }
      .table-wrapper { background: rgba(30,41,59,0.38); }
      thead { background: rgba(15,23,42,0.48); }
      .pagination button { background: rgba(30,41,59,0.35); }
      .form-grid input, .form-grid select { background: rgba(30,41,59,0.38); }
      .anime-search-wrap input { background: rgba(30,41,59,0.38); }
      .pagination .page-jump input { background: rgba(30,41,59,0.38); }
      .auth-modal .auth-input { background: rgba(30,41,59,0.38); }
      .daily-text { color: #c7d2fe; }
      .daily-date { color: #a5b4fc; }
      .daily-from { color: #a5b4fc; }
      .daily-refresh { background: rgba(129,140,248,0.15); color: #a5b4fc; }
    }

    @media (max-width: 640px) {
      .daily-quote { padding: 10px 16px; margin: 0 8px; }
      .daily-text { font-size: .9rem; }
      .header { padding: 12px 16px; }
      .header-inner { gap: 8px; }
      .logo { font-size: 1.2rem; }
      .stats-row { padding: 0 16px; gap: 10px; grid-template-columns: repeat(2, 1fr); }
      .stat-card { padding: 14px; }
      .stat-card .number { font-size: 1.4rem; }
      .main { padding: 16px; }
      .toolbar { gap: 8px; }
      td, th { padding: 10px 8px; font-size: .85rem; }
      th:nth-child(5), td:nth-child(5) { display: none; } /* 隐藏评分列 */
      .col-rating { visibility: collapse; } /* colgroup 同步隐藏 */
      .title-cell { max-width: none; }
      .poster-thumb { width: 26px !important; height: 37px !important; }
      .form-grid { grid-template-columns: 1fr 1fr; }
      .btn { padding: 8px 14px; font-size: .85rem; }
    }
