
    :root {
      --ink: #181410;
      --muted: #665e57;
      --line: rgba(24, 20, 16, 0.12);
      --line-red: rgba(180, 8, 18, 0.22);
      --glass: rgba(252, 251, 252, 0.52);
      --accent: #b40812;
      --header-light-offset: 78px;
      --text-white: #f5f7fb;
      --accent-color: #b40812;
      --cubic-fluid: cubic-bezier(.16,1,.3,1);
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; min-height: 100%; }
    body {
      color: var(--ink);
      background: #f7f1ec;
      overflow: hidden;
      font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    }
    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; }
    #universe-canvas { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
    .spatial-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 78px;
      z-index: 1000;
      padding: 0 38px;
      display: grid;
      grid-template-columns: 120px 1fr auto 1fr 120px;
      align-items: center;
      background: rgba(3,3,12,.045);
      border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .nav-anchor-left { justify-self: start; }
    .nav-anchor-right { justify-self: end; }
    .header-link-btn {
      color: rgba(255,255,255,.92);
      font-size: 11px;
      letter-spacing: .25em;
      font-weight: 500;
      cursor: pointer;
      text-shadow: 0 2px 14px rgba(0,0,0,.55);
      border: 0;
      background: transparent;
      padding: 0;
    }
    .nav-cluster-left { display: flex; gap: 45px; justify-content: flex-end; padding-right: 45px; }
    .nav-cluster-right { display: flex; gap: 45px; justify-content: flex-start; padding-left: 45px; }
    .nav-node {
      color: rgba(255,255,255,.68);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: .15em;
      cursor: pointer;
      position: relative;
      text-shadow: 0 2px 14px rgba(0,0,0,.52);
    }
    .nav-node:hover, .nav-node.active { color: var(--text-white); }
    .nav-node::after {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent-color);
      transform: translateX(-50%);
      transition: width .4s var(--cubic-fluid);
      box-shadow: 0 0 8px var(--accent-color);
    }
    .nav-node.active::after { width: 100%; }
    .nav-brand { text-align: center; color: #fff; cursor: pointer; text-shadow: 0 3px 18px rgba(0,0,0,.56); }
    .brand-txt { display: block; font-family: Georgia, serif; font-size: 26px; font-weight: 600; letter-spacing: .05em; }
    .brand-sub { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .35em; color: rgba(255,255,255,.45); }
    .site-menu-dropdown {
      position: fixed;
      left: 0;
      right: 0;
      top: 78px;
      z-index: 998;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-12px);
      pointer-events: none;
      border-top: 1px solid rgba(255,255,255,.07);
      border-bottom: 1px solid rgba(255,255,255,.12);
      transition: max-height .55s var(--cubic-fluid), opacity .32s ease, transform .42s var(--cubic-fluid);
    }
    .site-menu-dropdown::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(252,251,252,.72), rgba(252,251,252,.86));
      backdrop-filter: blur(18px) saturate(135%);
      -webkit-backdrop-filter: blur(18px) saturate(135%);
    }
    body.menu-open .site-menu-dropdown { max-height: 344px; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .site-menu-shell {
      position: relative;
      z-index: 1;
      margin-left: 42px;
      width: min(860px, calc(100% - 88px));
      min-height: 230px;
      padding: 24px 0 26px;
      display: grid;
      grid-template-columns: 180px minmax(0, 1fr);
      gap: 28px;
    }
    .menu-primary-list, .menu-secondary-list, .menu-third-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
    .menu-primary-list { padding-right: 28px; border-right: 1px solid rgba(0,0,0,.16); }
    .menu-primary, .menu-secondary { border: 0; background: transparent; text-align: left; cursor: pointer; color: #111; font-weight: 700; letter-spacing: .14em; padding: 4px 0; }
    .menu-primary { font-size: 16px; }
    .menu-secondary { display: block; font-size: 15px; }
    .menu-primary:hover, .menu-primary.active, .menu-secondary:hover, .menu-secondary.active, .menu-third-list a:hover { color: var(--accent); }
    .menu-panel { display: none; grid-template-columns: 200px minmax(0,1fr); gap: 26px; min-height: 190px; }
    .menu-panel.active { display: grid; }
    .menu-tertiary-group { display: none; }
    .menu-tertiary-group.active { display: block; }
    .menu-third-list a { color: #111; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
    .site-search-panel { position: fixed; top: 18px; right: 86px; width: min(360px, calc(100vw - 72px)); z-index: 1001; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96); pointer-events: none; transition: opacity .22s ease, visibility .22s ease, transform .28s var(--cubic-fluid); }
    body.site-search-open .site-search-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
    .site-search-form { height: 40px; display: flex; border: 1px solid rgba(17,20,26,.14); background: rgba(252,251,252,.76); box-shadow: 0 16px 36px rgba(17,20,26,.1); border-radius: 14px; overflow: hidden; }
    .site-search-form input { flex: 1; border: 0; background: transparent; padding: 0 14px; outline: none; color: #11141a; font-weight: 600; }
    .site-search-form button { display: none; }
    .site-search-results { margin-top: 10px; display: grid; gap: 8px; max-height: 308px; overflow-y: auto; }
    .site-search-result, .site-search-empty { border: 1px solid rgba(17,20,26,.12); background: rgba(252,251,252,.82); color: #11141a; border-radius: 14px; padding: 11px 13px; box-shadow: 0 18px 34px rgba(17,20,26,.1); }
    .page { position: relative; z-index: 1; height: 100vh; padding-top: 78px; display: grid; grid-template-rows: auto minmax(0,1fr); overflow: hidden; }
    .hero { padding: 24px clamp(18px, 5vw, 72px) 14px; display: flex; justify-content: space-between; gap: 22px; align-items: flex-end; }
    .hero h1 { margin: 0; font-size: clamp(24px, 3vw, 38px); letter-spacing: .08em; color: #120d0a; }
    .hero p { margin: 8px 0 0; max-width: 680px; color: #473d35; line-height: 1.8; font-size: 14px; }
    .hero-badge { color: var(--accent); font-size: 12px; letter-spacing: .18em; font-weight: 800; white-space: nowrap; }
    .consult-shell { min-height: 0; padding: 0 clamp(18px, 5vw, 72px) 28px; display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 18px; overflow: hidden; }
    .side, .chat-panel, .pay-panel {
      border: 1px solid var(--line);
      background: var(--glass);
      box-shadow: 0 26px 54px rgba(61, 38, 23, 0.08);
      backdrop-filter: blur(12px) saturate(128%);
      -webkit-backdrop-filter: blur(12px) saturate(128%);
    }
    .side { min-height: 0; overflow: auto; padding: 16px; border-radius: 24px; }
    .tabs, .lawyer-list { display: grid; gap: 10px; }
    .lawyer-list { margin-top: 16px; }
    .tab, .lawyer-card { border: 1px solid transparent; background: rgba(255,255,255,.28); color: var(--ink); padding: 14px; text-align: left; cursor: pointer; border-radius: 18px; }
    .tab.active, .lawyer-card.active { border-color: var(--line-red); background: rgba(180,8,18,.09); }
    .tab strong { display: block; font-size: 15px; margin-bottom: 6px; }
    .tab span, .lawyer-desc { display: block; color: var(--muted); font-size: 12px; line-height: 1.65; }
    .lawyer-top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
    .lawyer-name { font-weight: 800; }
    .lawyer-meta { color: var(--accent); font-size: 12px; font-weight: 700; }
    .layout-main { min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 18px; }
    .chat-panel { min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; }
    .chat-head { min-height: 64px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .chat-head strong { font-size: 16px; }
    .chat-head span { color: var(--muted); font-size: 12px; }
    .chat-body { flex: 1; min-height: 0; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
    .msg-row { display: flex; }
    .msg-row.left { justify-content: flex-start; }
    .msg-row.right { justify-content: flex-end; }
    .msg-bubble { width: fit-content; max-width: min(72%, 620px); border-radius: 20px; padding: 12px 15px; line-height: 1.75; font-size: 14px; word-break: break-word; box-shadow: 0 12px 26px rgba(61,38,23,.06); }
    .msg-row.left .msg-bubble { background: rgba(255,255,255,.68); border: 1px solid rgba(24,20,16,.08); border-top-left-radius: 7px; }
    .msg-row.right .msg-bubble { background: rgba(180,8,18,.12); border: 1px solid rgba(180,8,18,.18); border-top-right-radius: 7px; }
    .composer { border-top: 1px solid var(--line); padding: 14px; display: grid; gap: 10px; background: rgba(255,255,255,.18); }
    .contact-row { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 10px; }
    input, textarea { border: 1px solid rgba(24,20,16,.12); background: rgba(255,255,255,.5); color: var(--ink); outline: none; border-radius: 16px; }
    input { min-height: 40px; padding: 0 12px; }
    textarea { width: 100%; min-height: 104px; resize: vertical; padding: 13px 14px 44px; line-height: 1.7; }
    .compose-box { position: relative; }
    .send-btn { position: absolute; right: 10px; bottom: 10px; border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 700; }
    .send-btn:disabled, .ghost-btn:disabled { opacity: .55; cursor: not-allowed; }
    .status { min-height: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
    .status.error { color: var(--accent); }
    .pay-panel { border-radius: 24px; padding: 16px; min-height: 0; overflow: auto; }
    .pay-panel h2 { margin: 0 0 8px; font-size: 16px; }
    .pay-price { color: var(--accent); font-size: 30px; font-weight: 900; margin: 8px 0 12px; }
    .qr-box { min-height: 220px; border: 1px dashed rgba(180,8,18,.34); border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.22); color: var(--muted); text-align: center; padding: 14px; }
    .qr-box img { width: 168px; height: 168px; object-fit: contain; border-radius: 14px; background: #fff; padding: 6px; }
    .pay-actions { margin-top: 12px; display: grid; gap: 10px; }
    .ghost-btn { border: 1px solid rgba(180,8,18,.28); color: var(--accent); background: rgba(180,8,18,.06); border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: 800; }
    @media (max-width: 1080px) {
      body { overflow: auto; }
      .page { height: auto; min-height: 100vh; overflow: visible; }
      .consult-shell, .layout-main { grid-template-columns: 1fr; overflow: visible; }
      .chat-panel { min-height: 620px; }
      .contact-row { grid-template-columns: 1fr; }
    }
  