    :root {
      --blue: #2563eb;
      --blue-700: #1d4ed8;
      --blue-50: #eff6ff;
      --rose: #e11d48;
      --green: #059669;
      --orange: #d97706;
      --cyan: #0891b2;
      --ink: #162033;
      --muted: #667085;
      --line: #dce4ee;
      --soft: #f3f6fb;
      --panel: #ffffff;
      --warn: #fff7ed;
      --shadow: 0 16px 40px rgba(22, 32, 51, .08);
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--ink);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      background: var(--soft);
    }

    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; }

    .wrap {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(255, 255, 255, .96);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(10px);
    }

    .header {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 222px;
    }

    .mark {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background:
        radial-gradient(circle at 35% 36%, #fff 0 6%, transparent 7%),
        conic-gradient(from 30deg, #e11d48, #f97316, #2563eb, #059669, #e11d48);
      box-shadow: 0 12px 26px rgba(37, 99, 235, .2);
      flex: 0 0 auto;
    }

    .brand strong {
      display: block;
      font-size: 24px;
      line-height: 1.1;
      letter-spacing: 0;
    }

    .brand span span {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 750;
    }

    .search {
      flex: 1;
      max-width: 520px;
      height: 46px;
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 0 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f8fafc;
      color: #8792a2;
      font-size: 15px;
      font-weight: 650;
    }

    .actions {
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
    }

    .btn {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 0 15px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--blue-700);
      background: #fff;
      font-weight: 850;
    }

    .btn.primary {
      color: #fff;
      border-color: var(--blue);
      background: var(--blue);
    }

    .btn.ghost {
      background: var(--blue-50);
      border-color: transparent;
    }

    .btn.danger {
      color: #b91c1c;
      border-color: #fecaca;
      background: #fff1f2;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 0 15px;
      overflow-x: auto;
    }

    .nav a {
      padding: 9px 14px;
      border-radius: 8px;
      color: var(--blue-700);
      background: var(--blue-50);
      font-size: 14px;
      font-weight: 850;
      white-space: nowrap;
    }

    .nav a.active {
      color: #fff;
      background: var(--blue);
    }

    .main {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 306px;
      gap: 18px;
      padding: 18px 0 96px;
    }

    .panel, .card {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--panel);
      overflow: hidden;
      min-width: 0;
    }

    .panel-head, .card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 52px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      font-size: 18px;
      font-weight: 950;
    }

    .panel-head span, .card-head span {
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .quick {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-bottom: 16px;
    }

    .quick a {
      min-height: 92px;
      padding: 16px;
      border-radius: 8px;
      color: #fff;
      background: var(--blue);
      box-shadow: var(--shadow);
    }

    .quick a strong {
      display: block;
      font-size: 20px;
      margin-bottom: 7px;
    }

    .quick a span {
      display: block;
      font-size: 13px;
      line-height: 1.45;
      font-weight: 750;
      opacity: .92;
    }

    .rose { background: var(--rose) !important; }
    .green { background: var(--green) !important; }
    .orange { background: var(--orange) !important; }

    .category-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      padding: 16px;
    }

    .category {
      min-height: 104px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fbfdff;
    }

    .category strong {
      display: block;
      margin-bottom: 8px;
      font-size: 17px;
    }

    .category em {
      display: inline-flex;
      margin-left: 5px;
      color: var(--muted);
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
    }

    .category span {
      display: block;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
      font-weight: 680;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      padding: 16px;
    }

    .feature-card {
      min-height: 118px;
      padding: 15px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: linear-gradient(180deg, #ffffff, #fbfdff);
    }

    .feature-card strong {
      display: block;
      margin-bottom: 8px;
      font-size: 17px;
    }

    .feature-card span {
      display: block;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
      font-weight: 680;
    }

    .filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      padding: 14px 16px 0;
    }

    .category-field-strip {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      padding: 10px 16px 0;
      color: var(--muted);
      font-size: 12px;
      font-weight: 850;
    }

    .category-field-strip span {
      padding: 5px 8px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f8fafc;
    }

    .field-panel {
      display: grid;
      gap: 10px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fbfdff;
    }

    .field-panel > strong {
      font-size: 14px;
    }

    .empty-state {
      padding: 28px 16px;
      color: var(--muted);
      text-align: center;
      font-size: 14px;
      font-weight: 800;
    }

    .filter-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      padding: 14px 16px 0;
    }

    .filter-form {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
      align-items: end;
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      background: #fbfdff;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 0 11px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .chip.active {
      color: var(--blue-700);
      background: var(--blue-50);
      border-color: #bfdbfe;
    }

    .feed { margin-top: 16px; }

    .post {
      display: grid;
      grid-template-columns: 84px minmax(0, 1fr) 104px;
      gap: 12px;
      align-items: center;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
    }

    .post:last-child { border-bottom: 0; }

    .tag {
      display: inline-flex;
      justify-content: center;
      padding: 5px 8px;
      border-radius: 6px;
      color: var(--blue-700);
      background: var(--blue-50);
      font-size: 13px;
      font-weight: 950;
    }

    .trust-strip, .check-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .trust-strip span, .check-list span {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 10px;
      border-radius: 999px;
      color: #047857;
      background: #ecfdf5;
      font-size: 12px;
      font-weight: 900;
    }

    .check-list span {
      color: var(--blue-700);
      background: var(--blue-50);
    }

    .upload-box {
      min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px dashed #b6c3d5;
      border-radius: 8px;
      background: #f8fafc;
      color: var(--muted);
      font-size: 14px;
      font-weight: 800;
      text-align: center;
      padding: 14px;
    }

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

    .image-grid img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f8fafc;
    }

    .post strong {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 16px;
    }

    .post small {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 680;
    }

    .time {
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
      text-align: right;
    }

    .side {
      display: grid;
      gap: 14px;
      align-content: start;
    }

    .side-line {
      padding: 11px 16px 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.58;
      font-weight: 680;
    }

    .notice {
      margin-top: 12px;
      padding: 13px 16px;
      border-top: 1px solid #fed7aa;
      color: #7c2d12;
      background: var(--warn);
      font-size: 14px;
      line-height: 1.55;
      font-weight: 800;
    }

    .section {
      margin-top: 16px;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 16px;
    }

    .form {
      display: grid;
      gap: 12px;
      padding: 16px;
    }

    .form-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .compact-form .form-row {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .inline-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      min-width: 260px;
    }

    .inline-actions form {
      margin: 0;
    }

    .inline-actions .btn {
      min-height: 32px;
      padding: 0 9px;
      font-size: 12px;
    }

    .check-row {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      color: var(--muted);
      font-weight: 800;
    }

    .check-row input {
      width: auto;
      min-height: auto;
    }

    label {
      display: grid;
      gap: 6px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 850;
    }

    input, select, textarea {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 9px 11px;
      color: var(--ink);
      background: #fff;
      outline: none;
    }

    textarea {
      min-height: 96px;
      resize: vertical;
      line-height: 1.55;
    }

    .hint {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
      font-weight: 680;
    }

    .table-wrap { overflow-x: auto; }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 720px;
      font-size: 14px;
    }

    th, td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      text-align: left;
      vertical-align: middle;
    }

    th {
      color: var(--muted);
      background: #f8fafc;
      font-size: 13px;
      font-weight: 900;
    }

    .status {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 950;
      background: var(--blue-50);
      color: var(--blue-700);
    }

    .status.warn { background: #fff7ed; color: #c2410c; }
    .status.good { background: #ecfdf5; color: #047857; }

    .admin-shell {
      display: none;
      grid-template-columns: 1fr;
      grid-template-rows: 42px minmax(0, 1fr);
      min-height: calc(100vh - 1px);
      background: #e9edf3;
      min-width: 0;
    }

    .admin-login-shell {
      grid-template-rows: minmax(100vh, 1fr);
      place-items: start center;
    }

    .admin-topbar {
      display: flex;
      align-items: center;
      gap: 14px;
      height: 42px;
      padding: 0 12px;
      color: #d7e4f5;
      background: #26384d;
      border-bottom: 1px solid #1b2a3d;
      min-width: 0;
    }

    .admin-logo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-width: 188px;
      color: #fff;
      font-size: 14px;
      font-weight: 950;
    }

    .admin-topnav {
      display: flex;
      align-items: stretch;
      height: 42px;
      gap: 1px;
      flex: 1;
      min-width: 0;
      overflow-x: auto;
    }

    .admin-topnav a {
      display: inline-flex;
      align-items: center;
      padding: 0 16px;
      color: #d7e4f5;
      font-size: 13px;
      font-weight: 850;
      border-left: 1px solid rgba(255,255,255,.06);
      border-right: 1px solid rgba(0,0,0,.18);
    }

    .admin-topnav a.active,
    .admin-topnav a:hover {
      color: #fff;
      background: #1d4f8f;
    }

    .admin-account {
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
      color: #b8c7dc;
      font-size: 12px;
      font-weight: 800;
    }

    .admin-account a {
      color: #fff;
    }

    .admin-body {
      display: grid;
      grid-template-columns: 188px minmax(0, 1fr);
      min-height: 0;
      min-width: 0;
    }

    .admin-sidebar {
      padding: 10px 9px;
      border-right: 1px solid var(--line);
      background: #f8fafc;
      min-width: 0;
    }

    .admin-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      font-weight: 950;
      font-size: 16px;
    }

    .admin-menu-group {
      margin-bottom: 10px;
      border: 1px solid #d8e0ea;
      border-radius: 6px;
      overflow: hidden;
      background: #fff;
    }

    .admin-menu-title {
      height: 30px;
      display: flex;
      align-items: center;
      padding: 0 10px;
      color: #35465d;
      background: linear-gradient(#f8fafc, #edf2f7);
      border-bottom: 1px solid #d8e0ea;
      font-size: 12px;
      font-weight: 950;
    }

    .admin-nav {
      display: grid;
      gap: 0;
    }

    .admin-nav a {
      padding: 7px 10px;
      border-radius: 0;
      color: #526174;
      font-size: 13px;
      font-weight: 850;
      border-bottom: 1px solid #eef2f6;
    }

    .admin-nav a.active, .admin-nav a:hover {
      color: #1d4f8f;
      background: #eef6ff;
    }

    .admin-main {
      padding: 10px 12px 16px;
      min-width: 0;
    }

    .admin-crumb {
      margin-bottom: 8px;
      padding: 7px 10px;
      border: 1px solid #d8e0ea;
      border-radius: 6px;
      color: #65758a;
      background: #fff;
      font-size: 12px;
      font-weight: 750;
    }

    .admin-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
      padding: 10px 12px;
      border: 1px solid #d8e0ea;
      border-radius: 6px;
      background: #fff;
    }

    .admin-head h1 {
      margin: 0;
      font-size: 20px;
    }

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

    .metric-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-bottom: 12px;
    }

    .metric {
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
    }

    .metric strong {
      display: block;
      font-size: 22px;
      margin-bottom: 2px;
    }

    .metric span {
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .admin-toolbar {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      padding: 10px 12px;
      border-bottom: 1px solid var(--line);
      background: #fbfdff;
    }

    .admin-table {
      min-width: 860px;
      font-size: 13px;
    }

    .admin-table th,
    .admin-table td {
      padding: 7px 9px;
    }

    .listing-cell strong,
    .meta-cell strong {
      display: block;
      max-width: 420px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 13px;
      line-height: 1.25;
    }

    .listing-cell small,
    .meta-cell small,
    .risk-text {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.25;
      font-weight: 700;
    }

    .view { display: none; }
    .view.active { display: block; }
    body.admin-mode .site-shell { display: none; }
    body.admin-mode .admin-shell { display: grid; }

    .mobile-tabs {
      display: none;
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      height: 60px;
      grid-template-columns: repeat(5, 1fr);
      border-top: 1px solid var(--line);
      background: #fff;
      z-index: 30;
    }

    .mobile-tabs a {
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      font-size: 12px;
      font-weight: 850;
    }

    .mobile-tabs a.active { color: var(--blue); }

    @media (max-width: 920px) {
      .wrap { width: min(100% - 24px, 680px); }
      .header {
        min-height: 132px;
        align-items: stretch;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
      }
      .brand strong { font-size: 22px; }
      .actions { display: none; }
      .search { max-width: none; width: 100%; }
      .main { display: block; padding-top: 12px; }
      .quick { grid-template-columns: repeat(2, 1fr); }
      .quick a { min-height: 82px; padding: 14px; }
      .category-grid { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 10px; }
      .feature-grid { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 10px; }
      .category { min-height: 92px; padding: 12px; }
      .post { grid-template-columns: 64px minmax(0, 1fr); }
      .time { grid-column: 2; text-align: left; }
      .side { margin-top: 16px; }
      .split, .form-row, .filter-row { grid-template-columns: 1fr; }
      .mobile-tabs { display: grid; }
      .admin-shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
      .admin-topbar { height: auto; min-height: 42px; flex-wrap: wrap; padding: 8px 10px; gap: 8px; }
      .admin-logo { min-width: 0; }
      .admin-topnav { order: 3; width: 100%; overflow-x: auto; }
      .admin-topnav a { padding: 0 12px; white-space: nowrap; }
      .admin-account { margin-left: auto; }
      .admin-body { grid-template-columns: 1fr; }
      .admin-sidebar { position: static; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .admin-nav { grid-template-columns: repeat(2, 1fr); }
      .metric-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 520px) {
      .quick a strong { font-size: 18px; }
      .panel-head, .card-head { font-size: 17px; }
      .metric-grid { grid-template-columns: 1fr; }
      .admin-main { padding: 14px; }
      .admin-sidebar { grid-template-columns: 1fr; }
      .admin-head { align-items: stretch; flex-direction: column; }
      .admin-head-actions { flex-wrap: wrap; }
    }
