    :root {
      --bg: #f8f6f6;
      --surface: #fff;
      --line: #eee6e6;
      --text: #172033;
      --muted: #667085;
      --brand: #c62828;
      --brand-dark: #8f1515;
      --soft: #fff3f3;
      --shadow: 0 6px 18px rgba(80, 36, 36, .055);
    }

    * { box-sizing: border-box; }

    html,
    body {
      margin: 0;
      padding: 0;
      min-height: 100%;
      background: var(--bg);
      color: var(--text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
      font-size: 15px;
      letter-spacing: 0;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; border: 0; }
    button, input, select, textarea { font: inherit; }

    .page {
      width: 100%;
      max-width: 430px;
      min-height: 100vh;
      margin: 0 auto;
      padding-bottom: 72px;
      background: var(--bg);
    }

    .icon {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .shared-top {
      position: sticky;
      top: 0;
      z-index: 30;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      height: 56px;
      padding: 8px 14px;
      border-bottom: 1px solid rgba(238, 230, 230, .92);
      background: rgba(255, 255, 255, .96);
      backdrop-filter: blur(12px);
      transition: grid-template-columns .18s ease, gap .18s ease;
    }

    .shared-logo img {
      display: block;
      width: 112px;
      max-height: 34px;
      object-fit: contain;
    }

    .shared-logo,
    .menu-button {
      transition: opacity .16s ease, width .18s ease, margin .18s ease;
    }

    .top-search {
      display: flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
      height: 38px;
      padding: 0 10px;
      border: 1px solid #eadede;
      border-radius: 8px;
      background: #fbf8f8;
      color: #7a8495;
      font-size: 14px;
      transition: height .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .shared-top:focus-within {
      grid-template-columns: 0 minmax(0, 1fr) 0;
      gap: 0;
    }

    .shared-top:focus-within .shared-logo,
    .shared-top:focus-within .menu-button {
      width: 0;
      min-width: 0;
      margin: 0;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
    }

    .shared-top:focus-within .top-search {
      height: 44px;
      border-color: rgba(198, 40, 40, .34);
      background: #fff;
      box-shadow: 0 8px 18px rgba(100, 30, 30, .1);
    }

    .top-search input {
      width: 100%;
      min-width: 0;
      overflow: hidden;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--text);
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .top-search button {
      flex: 0 0 auto;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--brand);
      font-size: 12px;
      font-weight: 800;
    }

    .nav-toggle {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .menu-button {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border: 1px solid #eadede;
      border-radius: 8px;
      background: #fff;
      color: #344054;
    }

    .drawer-mask {
      position: fixed;
      inset: 0;
      z-index: 39;
      background: rgba(15, 23, 42, .42);
      opacity: 0;
      pointer-events: none;
      transition: opacity .18s ease;
    }

    .site-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 40;
      width: min(82vw, 330px);
      max-width: 330px;
      height: 100vh;
      transform: translateX(100%);
      background: #fff;
      box-shadow: -18px 0 38px rgba(20, 24, 40, .22);
      transition: transform .2s ease;
    }

    .nav-toggle:checked ~ .drawer-mask {
      opacity: 1;
      pointer-events: auto;
    }

    .nav-toggle:checked ~ .site-drawer {
      transform: translateX(0);
    }

    .drawer-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 16px 12px;
      border-bottom: 1px solid #eee6e6;
    }

    .drawer-title {
      font-size: 17px;
      font-weight: 800;
    }

    .drawer-close {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 8px;
      background: var(--soft);
      color: var(--brand);
    }

    .drawer-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      padding: 14px 16px;
    }

    .drawer-link {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      padding: 10px;
      border: 1px solid #eee6e6;
      border-radius: 8px;
      background: #fbf8f8;
      color: #344054;
      font-size: 14px;
      font-weight: 700;
    }

    .drawer-link .icon {
      color: var(--brand);
    }

    .drawer-section {
      padding: 4px 16px 14px;
    }

    .drawer-subtitle,
    .drawer-section h3 {
      margin: 8px 0;
      color: #667085;
      font-size: 12px;
      font-weight: 700;
    }

    .drawer-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .drawer-tags a {
      padding: 7px 9px;
      border-radius: 999px;
      background: #f8f6f6;
      color: #526071;
      font-size: 12px;
    }

    .bottom-bar {
      position: fixed;
      left: 50%;
      bottom: 0;
      z-index: 30;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      width: 100%;
      max-width: 430px;
      height: 62px;
      transform: translateX(-50%);
      border-top: 1px solid var(--line);
      background: rgba(255, 255, 255, .96);
      backdrop-filter: blur(12px);
    }

    .bottom-bar a {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      color: #667085;
      font-size: 11px;
      font-weight: 700;
    }

    .bottom-bar a.active {
      color: var(--brand);
    }

    footer {
      max-width: 430px;
      margin: 0 auto;
      padding: 4px 14px 78px;
      background: var(--bg);
      color: #98a2b3;
      text-align: center;
      font-size: 12px;
      line-height: 1.7;
    }

    footer .main,
    footer .footlogin {
      display: none;
    }

    .foot_bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 14px;
      padding-top: 12px;
    }

    .foot_bar a {
      color: #667085;
    }

    .copyright {
      margin-top: 6px;
      color: #98a2b3;
    }

    @media (min-width: 390px) {
      body { font-size: 16px; }

      .page,
      .bottom-bar {
        max-width: 430px;
      }

      .shared-top {
        height: 60px;
        gap: 11px;
        padding: 9px 15px;
      }

      .shared-logo img {
        width: 118px;
        max-height: 37px;
      }

      .top-search {
        height: 40px;
        padding: 0 11px;
        font-size: 15px;
      }

      .menu-button {
        width: 40px;
        height: 40px;
      }

      .bottom-bar {
        height: 66px;
      }

      .bottom-bar a {
        gap: 5px;
        font-size: 12px;
      }

      .bottom-bar .icon {
        width: 20px;
        height: 20px;
      }
    }

    @media (max-width: 360px) {
      .shared-top {
        gap: 7px;
        padding-inline: 10px;
      }

      .shared-logo img { width: 96px; }
      .top-search { font-size: 13px; }
      .top-search button { font-size: 12px; }
    }
