  /* App frame */
  .pb-app { position: absolute; inset: 0; color: var(--ink); font-family: var(--font-sans); }
  .pb-screen { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; animation: pb-in 320ms cubic-bezier(.2,.7,.2,1) both; }
  .pb-screen .wd-orbit, .pb-screen .wd-sc { min-height: 0; }
  .pb-me-entry { position: relative; overflow: hidden; isolation: isolate; text-align: left; gap: 12px; min-height: 76px; }
  .pb-me-entry > :not(.wd-bh) { position: relative; z-index: 1; }
  /* Keep the black hole clear of the text: it fades in only over the right third. */
  .pb-me-entry > .wd-bh {
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 52%, rgb(0 0 0 / .5) 66%, #000 78%);
    mask-image: linear-gradient(to right, transparent 0, transparent 52%, rgb(0 0 0 / .5) 66%, #000 78%);
  }
  .pb-me-entry .pb-row__sub { text-shadow: 0 1px 3px rgb(0 0 0 / .6); }
  .pb-me-entry > .wd-icon { flex: none; color: var(--ink-faint); }
  .pb-empty { margin: 0; padding: 32px 12px; text-align: center; color: var(--ink-muted); font-size: 14px; line-height: 22px; }
  .pb-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 8px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
  /* The body scrolls; its children keep their natural height (a sideways-scrolling chip row would otherwise collapse). */
  .pb-body > * { flex-shrink: 0; }
  .pb-top { flex: none; display: flex; align-items: center; gap: 8px; height: 60px; padding: 8px 12px 0; }
  .pb-top h1 { flex: 1; margin: 0; text-align: center; font: 600 17px/24px var(--font-sans); }
  /* 神识探查 in the right corner, level with the back button; open, it covers the title up to the back button. */
  .pb-top { position: relative; z-index: 3; }
  .pb-top > .wd-probe-wrap { position: absolute; right: 12px; top: 14px; --probe-w: calc(100% - 76px); }
  .pb-top h1 { transition: opacity 200ms ease; }
  .pb-top:has(.wd-probe-wrap--open) h1 { opacity: 0; }
  .pb-top .pb-sub { display: block; font: 400 11px/14px var(--font-sans); color: var(--ink-muted); }
  .pb-back, .pb-spacer { flex: none; width: 40px; height: 40px; }
  .pb-back {
    display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--surface-sunk); color: var(--ink);
    -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  }
  .pb-back:focus-visible, .pb-row:focus-visible { outline: 2px solid var(--qing); outline-offset: 2px; }
  .pb-section { display: flex; flex-direction: column; gap: 10px; }
  .pb-h { margin: 0; font: 600 13px/18px var(--font-sans); color: var(--ink-muted); letter-spacing: .04em; }
  .pb-row {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; border-radius: var(--radius-lg);
    background: var(--surface); color: var(--ink); text-align: left; font-family: var(--font-sans); cursor: pointer;
    -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  }
  .pb-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .pb-row__title { display: flex; align-items: baseline; gap: 8px; font: 600 15px/22px var(--font-sans); }
  .pb-row__title small { font: 400 12px/16px var(--font-serif); color: var(--ink-muted); letter-spacing: .04em; }
  .pb-row__sub { font: 400 13px/19px var(--font-sans); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pb-avbtn { flex: none; display: inline-grid; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
  .pb-avbtn:focus-visible, .pb-row__hit:focus-visible { outline: 2px solid var(--qing); outline-offset: 3px; }
  .pb-row--split { cursor: default; padding: 0 0 0 14px; }
  .pb-row__hit {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 0;
    border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }
  .pb-row__hit .pb-row__main, .pb-row__hit .pb-row__title, .pb-row__hit .pb-row__sub { display: flex; }
  .pb-row__hit .pb-row__main { flex-direction: column; }
  .pb-row__hit .pb-row__sub { display: block; }
  .pb-profile__realm { font: 400 13px/19px var(--font-serif); color: var(--ink-muted); letter-spacing: .04em; }
  .pb-profile__status { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/19px var(--font-sans); color: var(--ink); }
  .pb-profile__status--sealed { color: var(--xuan); }
  .pb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--root-mu); }
  .pb-profile__about { margin: 0; font: 400 15px/24px var(--font-sans) !important; color: var(--ink) !important; overflow-wrap: anywhere; }
  .pb-badge { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--qing); color: var(--on-qing); font: 600 12px/22px var(--font-sans); text-align: center; }
  .pb-sect-name { font: 600 16px/22px var(--font-serif) !important; letter-spacing: .08em; }
  .pb-panel { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
  .pb-panel p { margin: 0; font: 400 13px/19px var(--font-sans); color: var(--ink-muted); }
  .pb-panel__head { display: flex; align-items: center; gap: 12px; }
  .pb-panel__title { font: 600 16px/22px var(--font-sans); }
  .pb-meter { height: 6px; border-radius: 3px; background: var(--surface-sunk); overflow: hidden; }
  .pb-meter span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--qing), var(--whisper)); }
  .pb-kv { display: flex; justify-content: space-between; font: 400 13px/19px var(--font-sans); color: var(--ink-muted); }
  .pb-kv b { color: var(--ink); font-weight: 600; }

  /* Home overlay */
  .pb-home-date { position: absolute; top: 18px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; pointer-events: none; }
  /* Prototype-only controls for the shared clock, under the date. */
  .pb-demo { position: absolute; top: 40px; left: 0; right: 0; z-index: 270; display: flex; justify-content: center; gap: 8px; }
  .pb-demo button {
    border: 1px dashed var(--line-strong); border-radius: 999px; background: none; color: var(--ink-faint);
    font: 400 11px/14px var(--font-sans); padding: 4px 10px; cursor: pointer;
  }
  .pb-demo button:hover { color: var(--ink); border-color: var(--ink-muted); }
  .pb-toast {
    position: absolute; left: 50%; top: 72px; transform: translateX(-50%); z-index: 280; width: min(300px, 86%);
    padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); text-align: center;
    -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
    border: 1px solid color-mix(in srgb, var(--root-jin) 45%, transparent); font: 400 13px/19px var(--font-sans);
  }

  /* Intro */
  .pb-intro { position: absolute; inset: 0; color: #ffffff; }
  .pb-intro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: pb-drift 24s ease-in-out infinite alternate; }
  /* Fog: each layer is a strip of soft cloud blobs tiled sideways; sliding by one tile loops seamlessly. */
  .pb-fog {
    position: absolute; left: 0; right: 0; pointer-events: none;
    background-repeat: repeat-x; animation-timing-function: linear; animation-iteration-count: infinite;
  }
  .pb-fog--peak {
    top: 22%; height: 24%; opacity: .75; filter: blur(9px);
    background-image:
      radial-gradient(closest-side, rgba(255, 214, 170, 0.7), rgba(255, 214, 170, 0)),
      radial-gradient(closest-side, rgba(255, 236, 214, 0.55), rgba(255, 236, 214, 0));
    background-size: 420px 60%, 420px 85%;
    background-position: 0 30%, 210px 70%;
    animation-name: pb-fog-peak; animation-duration: 48s;
  }
  .pb-fog--mid {
    top: 42%; height: 22%; opacity: .7; filter: blur(12px);
    background-image:
      radial-gradient(closest-side, rgba(228, 234, 244, 0.7), rgba(228, 234, 244, 0)),
      radial-gradient(closest-side, rgba(212, 220, 234, 0.55), rgba(212, 220, 234, 0));
    background-size: 520px 70%, 520px 50%;
    background-position: 0 40%, 270px 80%;
    animation-name: pb-fog-mid; animation-duration: 38s; animation-direction: reverse;
  }
  .pb-fog--valley {
    top: 55%; height: 28%; opacity: .9; filter: blur(10px);
    background-image:
      radial-gradient(closest-side, rgba(236, 240, 248, 0.85), rgba(236, 240, 248, 0)),
      radial-gradient(closest-side, rgba(218, 226, 240, 0.7), rgba(218, 226, 240, 0)),
      radial-gradient(closest-side, rgba(244, 246, 250, 0.6), rgba(244, 246, 250, 0));
    background-size: 380px 70%, 380px 90%, 380px 55%;
    background-position: 0 40%, 130px 75%, 270px 30%;
    animation-name: pb-fog-valley; animation-duration: 30s;
  }
  .pb-fog--near {
    top: 65%; height: 26%; opacity: .65; filter: blur(16px);
    background-image:
      radial-gradient(closest-side, rgba(224, 232, 244, 0.75), rgba(224, 232, 244, 0)),
      radial-gradient(closest-side, rgba(204, 214, 232, 0.6), rgba(204, 214, 232, 0));
    background-size: 600px 80%, 600px 60%;
    background-position: 0 50%, 320px 80%;
    animation-name: pb-fog-near; animation-duration: 22s;
  }
  @keyframes pb-fog-peak { to { background-position: -420px 30%, -210px 70%; } }
  @keyframes pb-fog-mid { to { background-position: -520px 40%, -250px 80%; } }
  @keyframes pb-fog-valley { to { background-position: -380px 40%, -250px 75%, -110px 30%; } }
  @keyframes pb-fog-near { to { background-position: -600px 50%, -280px 80%; } }
  .pb-intro__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 22, 0.15) 0%, rgba(8, 12, 22, 0.25) 45%, rgba(8, 12, 22, 0.88) 100%); }
  .pb-intro__body { position: absolute; left: 28px; right: 28px; bottom: 44px; display: flex; flex-direction: column; gap: 10px; }
  .pb-intro__name { margin: 0; font: 600 64px/1 var(--font-serif); letter-spacing: .12em; text-shadow: 0 4px 24px rgba(8, 12, 22, 0.5); }
  .pb-intro__latin { font: 500 15px/20px var(--font-sans); letter-spacing: .2em; color: rgba(255, 255, 255, 0.82); }
  .pb-intro__tag { margin: 6px 0 18px; font: 400 15px/22px var(--font-sans); color: rgba(255, 255, 255, 0.88); }
  .pb-intro .pb-metal { align-self: flex-start; margin-bottom: 2px; }
  /* 入道: a dark liquid-metal pill. The outer wrapper tilts a touch toward the pointer; three stacked layers
     give the chrome its depth — the shader rim, a dark inner on top of it, and the label raised above. */
  .pb-metal {
    position: relative; display: inline-block; width: 142px; height: 50px;
    transform-style: preserve-3d; transform: perspective(600px); will-change: transform;
    transition: transform 0.6s cubic-bezier(.22, 1, .36, 1);
    isolation: isolate;
  }
  .pb-metal__shader {
    position: absolute; inset: 0; border-radius: 999px; overflow: hidden;
    background: linear-gradient(180deg, #202020 0%, #000 100%);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 36px 14px -14px rgba(0, 0, 0, 0.22),
      0 20px 12px -8px rgba(0, 0, 0, 0.28),
      0 9px 9px -3px rgba(0, 0, 0, 0.32),
      0 2px 5px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s cubic-bezier(.4, 0, .2, 1);
  }
  .pb-metal__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 999px; }
  /* The dark inner pill sits 2px inside the shader, so the shimmer shows only as a rim. */
  .pb-metal__inner {
    position: absolute; inset: 2px; border-radius: 999px;
    background: linear-gradient(180deg, #262626 0%, #000 100%);
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.06),
      inset 0 -1px 2px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), box-shadow 0.15s ease;
  }
  .pb-metal__btn {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: 0; border-radius: 999px; cursor: pointer;
    overflow: hidden; outline: none; padding: 0;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
  }
  .pb-metal__btn:focus-visible .pb-metal__shader { box-shadow: 0 0 0 2px rgba(255, 220, 160, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4); }
  .pb-metal__label {
    font: 500 16px/1 var(--font-sans); letter-spacing: .2em; color: rgba(230, 230, 230, 0.78);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }
  .pb-metal--hover .pb-metal__shader {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.4),
      0 12px 6px rgba(0, 0, 0, 0.08),
      0 8px 5px rgba(0, 0, 0, 0.14),
      0 4px 4px rgba(0, 0, 0, 0.2),
      0 1px 2px rgba(0, 0, 0, 0.32),
      0 0 20px rgba(255, 196, 120, 0.22);
  }
  .pb-metal--hover .pb-metal__label { color: rgba(248, 234, 198, 0.95); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 196, 120, 0.4); }
  .pb-metal--press .pb-metal__inner { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(0, 0, 0, 0.35); }
  .pb-metal--press .pb-metal__shader {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.32);
  }
  .pb-metal__ripple {
    position: absolute; width: 20px; height: 20px; border-radius: 50%; pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pb-metal-ripple 0.6s ease-out;
  }
  @keyframes pb-metal-ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.65; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .pb-metal, .pb-metal__inner, .pb-metal__shader, .pb-metal__label { transition: none; }
    .pb-metal__ripple { animation: none; display: none; }
  }
  .pb-intro__note { font: 400 12px/16px var(--font-sans); color: rgba(255, 255, 255, 0.6); }

  /* Chat */
  .pb-chatwrap { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--chat-ground); }
  .pb-members { flex: none; display: flex; gap: 22px; padding: 86px 20px 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
  .pb-member { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 500 11px/14px var(--font-sans); color: var(--ink-muted); }
  .pb-chat { flex: 1; min-height: 0; overflow-y: auto; }
  .pb-notice { align-self: center; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--chat-bubble); color: var(--ink-muted); font: 500 12px/16px var(--font-sans); text-align: center; }
  .pb-compose { flex: none; padding: 10px 14px 16px; background: var(--chat-ground); }
  .pb-compose--ci { padding: 8px 12px 14px; }
  /* Talk pages: the log and the input stand on the page itself (the 灵网 that was behind them is on the 山河图 now). */
  .pb-cyc .pb-chat, .pb-cyc .pb-compose { background: transparent; }
  .pb-msg-img { display: block; max-width: 180px; max-height: 220px; border-radius: 10px; }
  .pb-msg-file, .pb-msg-gift { display: inline-flex; align-items: center; gap: 6px; }
  .pb-msg-gift { color: var(--root-jin); font-weight: 600; }
  .pb-slipmsg { display: flex; justify-content: flex-end; align-items: flex-start; gap: 10px; }
  .pb-slipmsg__av { flex: none; }
  .pb-slipmsg .wd-slip { max-width: 260px; }
  /* A row of chips scrolls sideways on its own when it is wider than its place (the nine realms on a phone),
     so the page itself never scrolls sideways. */
  .pb-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; max-width: 100%; }
  .pb-chips::-webkit-scrollbar { display: none; }
  .pb-chips > * { flex: none; }
  .pb-actions { display: flex; gap: 10px; flex-wrap: wrap; }

  /* Profile */
  .pb-profile {
    display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 16px; text-align: center;
    border-radius: var(--radius-lg); background: var(--surface);
    -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  }
  .pb-profile__avatar { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .pb-profile__info { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 100%; }
  .pb-profile__name { font: 600 22px/28px var(--font-serif); letter-spacing: .08em; overflow-wrap: anywhere; }
  .pb-profile__bio { margin: 0 0 4px; max-width: 30ch; font: 400 14px/21px var(--font-sans); color: var(--ink); overflow-wrap: anywhere; }
  .pb-profile__bio--empty { color: var(--ink-muted); }
  .pb-actions--center { justify-content: center; }
  .pb-form { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }
  .pb-field { display: flex; flex-direction: column; gap: 6px; }
  .pb-field__label { display: flex; justify-content: space-between; font: 600 13px/18px var(--font-sans); color: var(--ink-muted); }
  .pb-field__label em { font-style: normal; font-weight: 400; font-variant-numeric: tabular-nums; }
  .pb-input {
    width: 100%; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
    background: var(--surface-sunk); color: var(--ink); font: 400 15px/22px var(--font-sans);
  }
  .pb-input::placeholder { color: var(--ink-faint); }
  .pb-input:focus-visible { outline: 2px solid var(--qing); outline-offset: 1px; }
  .pb-input--area { resize: none; min-height: 80px; }
  .pb-err { margin: 0; font: 500 13px/19px var(--font-sans); color: var(--danger); }

  /* Me */
  .pb-me { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0 4px; text-align: center; }
  .pb-me__orbs { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
  .pb-me__orbs .wd-mini { filter: drop-shadow(0 0 8px var(--orb-a)); }
  .pb-me__realm { font: 600 24px/30px var(--font-serif); letter-spacing: .1em; }

  /* Chuguan */
  .pb-chuguan { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 16px 28px; text-align: center; }
  .pb-chuguan__title { font: 600 26px/32px var(--font-serif); letter-spacing: .3em; }
  .pb-chuguan .wd-stack { transform: scale(.82); transform-origin: top center; margin-bottom: -40px; }

  @keyframes pb-in { from { opacity: 0; transform: translateY(10px); } }
  @keyframes pb-drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-2%); } }
  @media (prefers-reduced-motion: reduce) {
    .pb-screen, .pb-intro img { animation: none !important; }
    /* Fog keeps drifting, three times slower: gentle, low-contrast ambient motion rather than a frozen scene. */
    .pb-fog--peak { animation-duration: 144s; }
    .pb-fog--mid { animation-duration: 114s; }
    .pb-fog--valley { animation-duration: 90s; }
    .pb-fog--near { animation-duration: 66s; }
  }

  /* ---------- Craft: the lower sections of 洞府, 坊市, 动态, 道友, 宗门 ----------
     Nothing added to the screen; only how things arrive and answer the hand. */
  /* Arrival: rows, panels and cards come in one after another, out of a soft blur, ~45ms apart. */
  .pb-body > *, .pb-body .wd-feed > * { animation: pb-arrive 620ms cubic-bezier(.2, .7, .2, 1) both; }
  .pb-body > :nth-child(2), .pb-body .wd-feed > :nth-child(2) { animation-delay: 45ms; }
  .pb-body > :nth-child(3), .pb-body .wd-feed > :nth-child(3) { animation-delay: 90ms; }
  .pb-body > :nth-child(4), .pb-body .wd-feed > :nth-child(4) { animation-delay: 135ms; }
  .pb-body > :nth-child(5), .pb-body .wd-feed > :nth-child(5) { animation-delay: 180ms; }
  .pb-body > :nth-child(6), .pb-body .wd-feed > :nth-child(6) { animation-delay: 225ms; }
  .pb-body > :nth-child(n+7), .pb-body .wd-feed > :nth-child(n+7) { animation-delay: 270ms; }
  .pb-body > .wd-feed { animation: none; }
  @keyframes pb-arrive { from { opacity: 0; transform: translateY(8px); filter: blur(5px); } }

  /* Rows and panels are lit from where the pointer (or finger) is: a soft glow inside, and the hairline edge
     brightening nearest to it. --mx/--my are set by app.js. */
  .pb-row, .pb-panel { position: relative; isolation: isolate; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05); }
  .pb-row::after, .pb-panel::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0;
    padding: 1px; background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .55), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    transition: opacity 320ms ease;
  }
  .pb-row::before, .pb-panel::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .085), transparent 65%);
    transition: opacity 320ms ease;
  }
  .pb-row > :not(.wd-bh), .pb-panel > * { position: relative; z-index: 1; }
  @media (hover: hover) {
    .pb-row:hover::after, .pb-panel:hover::after, .pb-row:hover::before, .pb-panel:hover::before { opacity: 1; }
  }
  /* Press: the row sinks a touch and the light gathers under the finger; it springs back on release. */
  .pb-row, .pb-row__hit { transition: transform 420ms cubic-bezier(.3, 1.5, .5, 1); }
  .pb-row:active, .pb-row--split:has(.pb-row__hit:active) { transform: scale(.985); transition-duration: 120ms; transition-timing-function: ease-out; }
  .pb-row:active::before, .pb-row--split:has(.pb-row__hit:active)::before { opacity: 1; background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .1), transparent 65%); }
  .pb-row--split:has(.pb-row__hit:active) { transform: scale(.985); }
  .pb-row--split:active { transform: none; }

  /* The open row on the website (宗门, 道友): a short bar in qing draws down its left edge. */
  .pb-row--sel::after { opacity: 1; }
  .pb-split .pb-row--sel { box-shadow: inset 2px 0 0 var(--qing), inset 0 0 0 1px rgb(255 255 255 / .05); animation: pb-sel 360ms cubic-bezier(.2, .7, .2, 1); }
  @keyframes pb-sel { from { box-shadow: inset 0 0 0 var(--qing), inset 0 0 0 1px rgb(255 255 255 / .05); } }

  /* 宗门: unread counts in tabular figures; on arrival one ring breathes out of the badge, once. */
  .pb-badge { position: relative; font-variant-numeric: tabular-nums; }
  .pb-badge::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 var(--qing);
    animation: pb-ring 1400ms 700ms cubic-bezier(.2, .7, .2, 1) both;
  }
  @keyframes pb-ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--qing) 70%, transparent); } to { box-shadow: 0 0 0 9px transparent; } }

  /* 道友: friends who are online carry a small living dot that breathes slowly. */
  .pb-live { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: var(--root-mu); box-shadow: 0 0 0 0 var(--root-mu); animation: pb-live 2.8s ease-in-out infinite; }
  @keyframes pb-live { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--root-mu) 55%, transparent); } 50% { box-shadow: 0 0 0 4px transparent; } }

  /* Chips whose selection is a single pill that glides to the one you pick (坊市 categories, 闭关 years). */
  .pb-slide { position: relative; }
  .pb-slide__pill {
    position: absolute; left: 0; top: 0; border-radius: var(--radius-pill); pointer-events: none; z-index: 0;
    background: linear-gradient(180deg, var(--qing-soft) 0%, var(--qing-glow) 140%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--qing) 35%, transparent), 0 6px 18px -10px var(--qing);
  }
  .pb-slide--ready .pb-slide__pill { transition: transform 460ms cubic-bezier(.3, 1.25, .5, 1), width 460ms cubic-bezier(.3, 1.25, .5, 1); }
  .pb-slide .wd-chip { position: relative; z-index: 1; transition: color 240ms ease, background-color 240ms ease; }
  .pb-slide .wd-chip[aria-pressed="true"] { background: transparent; }
  .pb-slide .wd-chip:active { transform: scale(.96); }

  /* Figures that change roll into place instead of swapping (闭关 days). */
  .pb-roll { display: inline-block; font-variant-numeric: tabular-nums; animation: pb-roll 360ms cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes pb-roll { from { opacity: 0; transform: translateY(60%); filter: blur(2px); } }
  .pb-num { font-variant-numeric: tabular-nums; }

  /* 洞府 · 道侣: the 缘分 meter fills on arrival, with a bright bead riding its leading edge. */
  .pb-meter span { position: relative; animation: pb-fill 1200ms 380ms cubic-bezier(.2, .7, .2, 1) both; }
  .pb-meter span::after {
    content: ''; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin: -3px -3px 0 0; border-radius: 50%;
    background: #fff; box-shadow: 0 0 8px 2px var(--whisper);
  }
  .pb-meter { overflow: visible; }
  @keyframes pb-fill { from { width: 0; } }

  @media (prefers-reduced-motion: reduce) {
    .pb-body > *, .pb-body .wd-feed > *, .pb-badge::after, .pb-live, .pb-roll, .pb-meter span, .pb-split .pb-row--sel { animation: none !important; }
    .pb-row, .pb-row__hit, .pb-slide--ready .pb-slide__pill { transition: none !important; }
  }

  /* 五行之境: each main function stands in its element's world (ElementRealm), drawn behind the content. */
  .pb-screen--realm > .pb-body { position: relative; z-index: 1; }
  .pb-realm--mu { --el-c: var(--root-mu); }
  .pb-realm--shui { --el-c: var(--root-shui); }
  .pb-realm--huo { --el-c: var(--root-huo); }
  .pb-realm--jin { --el-c: var(--root-jin); }
  .pb-realm--tu { --el-c: var(--root-tu); }
  /* The title carries its element's glyph, softly lit in that colour. */
  .pb-top__el { display: inline-block; margin-right: 6px; vertical-align: -2px; color: var(--el-c, var(--qing)); filter: drop-shadow(0 0 6px var(--el-c, var(--qing))); }

  /* ---------- 境界实权: 灵力 and what a realm lets you do ---------- */
  /* 灵力: the spendable reserve, in qing, beside 修为. */
  .pb-meter--lingli span { background: linear-gradient(90deg, var(--qing), color-mix(in srgb, var(--qing) 40%, #fff)); }
  .pb-meter--lingli span::after { box-shadow: 0 0 8px 2px var(--qing); }
  .pb-lingli { display: flex; flex-direction: column; gap: 8px; }
  .pb-powers__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .pb-powers__list li { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--line); }
  .pb-powers__list li:first-child { border-top: 0; }
  .pb-powers__list li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  .pb-powers__list b { font: 600 13px/18px var(--font-sans); }
  .pb-powers__list small { font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
  .pb-powers__list i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--qing); box-shadow: 0 0 8px var(--qing); }
  .pb-powers__list .is-locked { opacity: .5; }
  .pb-powers__list .is-locked i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-faint); }
  .pb-powers__list em { flex: none; font: 500 11px/16px var(--font-serif); font-style: normal; letter-spacing: .06em; color: var(--ink-muted); padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
  .pb-powers__demo { margin-top: 4px; font-size: 12px; }
  .pb-powers > * { flex-shrink: 0; }

  /* 神识范围: how far your 神识 reaches, and the cultivators found beyond your friends. */
  .pb-reach { display: flex; align-items: center; gap: 6px; margin: 22px 0 0; padding: 0 4px; font: 400 12px/18px var(--font-sans); color: var(--ink-muted); }
  .pb-reach .wd-icon { flex: none; color: var(--qing); }
  .pb-h--far { color: var(--qing); }
  .pb-row--far { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--qing) 22%, transparent); }

  /* 传音距离: the 结交 button says what it costs, or what your realm still lacks. */
  .pb-power { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .pb-power__note { margin: 0; text-align: center; font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
  .pb-power__note--locked { color: var(--ink-faint); }

  /* 宗门威压: offered only where it applies; chosen reason, cost and visibility up front. */
  .pb-press .wd-well { color: var(--danger); }
  .pb-pressed { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--radius-md, 12px); background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--ink); font: 400 13px/19px var(--font-sans); }
  .pb-pressed .wd-icon { flex: none; color: var(--danger); }
  .pb-notice--press { color: color-mix(in srgb, var(--danger) 60%, var(--ink)); }

  /* Website: 灵力 under 修为 on your card. */
  .pb-side__bar--lingli em { background: color-mix(in srgb, var(--qing) 60%, #fff); }
  .pb-press .pb-row__sub { white-space: normal; }
  .pb-h--far { margin-top: 22px; }

  /* ---------- 第二步: 道心, 护道, 渡劫 announcements, 全宗门传音 ---------- */
  /* 道心: conduct beside 修为, warm gold; it turns cinnabar when it falls below the line. */
  .pb-meter--daoxin span { background: linear-gradient(90deg, var(--root-jin), color-mix(in srgb, var(--root-jin) 40%, #fff)); }
  .pb-meter--daoxin span::after { box-shadow: 0 0 8px 2px var(--root-jin); }
  .pb-daoxin--weak .pb-meter--daoxin span { background: linear-gradient(90deg, #b3342b, #e0705e); }
  .pb-daoxin--weak .pb-meter--daoxin span::after { box-shadow: 0 0 8px 2px #e0705e; }
  .pb-daoxin--weak .pb-kv b { color: #e0705e; }
  .pb-powers__list .is-paused { opacity: .7; }
  .pb-powers__list .is-paused i { background: #b3342b; box-shadow: 0 0 8px #b3342b; }
  .pb-powers__list .is-paused em { color: #e0705e; box-shadow: inset 0 0 0 1px color-mix(in srgb, #e0705e 50%, transparent); }
  .pb-powers__demos { display: flex; flex-wrap: wrap; gap: 8px; }
  .pb-guardian b { color: var(--root-mu); }

  /* 护道: a quiet panel on the profile; once bonded it carries a thin 木 line of care. */
  .pb-guard .wd-well { color: var(--root-mu); }
  .pb-guard--on { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--root-mu) 45%, transparent), 0 0 24px -12px var(--root-mu); }
  .pb-guard-tag { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 999px; font: 500 11px/18px var(--font-sans); color: var(--root-mu); background: color-mix(in srgb, var(--root-mu) 14%, transparent); }

  /* 渡劫 success, announced in the sect: gold instead of 威压's cinnabar. */
  .pb-notice--feat { color: var(--root-jin); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--root-jin) 35%, transparent); }

  /* 全宗门传音: a toggle over the composer, then an announcement spanning the chat. */
  .pb-cast { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 8px; }
  .pb-cast__toggle {
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--surface-sunk); color: var(--ink-muted); font: 500 12px/1 var(--font-sans);
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  }
  .pb-cast__toggle:disabled { opacity: .5; cursor: default; }
  .pb-cast--on .pb-cast__toggle { background: color-mix(in srgb, var(--root-jin) 22%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--root-jin) 55%, transparent), 0 0 18px -6px var(--root-jin); }
  .pb-cast small { font: 400 11px/14px var(--font-sans); color: var(--ink-faint); }
  .pb-broadcast {
    flex-shrink: 0; align-self: stretch; margin: 6px 4px; padding: 12px 14px; border-radius: 14px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, color-mix(in srgb, var(--root-jin) 20%, transparent), color-mix(in srgb, var(--root-jin) 6%, transparent));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--root-jin) 45%, transparent), 0 10px 30px -18px var(--root-jin);
    animation: pb-arrive 620ms cubic-bezier(.2, .7, .2, 1) both;
  }
  .pb-broadcast__head { display: flex; align-items: center; gap: 6px; font: 600 12px/16px var(--font-serif); letter-spacing: .12em; color: var(--root-jin); }
  .pb-broadcast__head span { margin-left: auto; font: 400 11px/14px var(--font-sans); letter-spacing: 0; color: var(--ink-muted); }
  .pb-broadcast p { margin: 6px 0 4px; font: 500 15px/22px var(--font-sans); color: var(--ink); }
  .pb-broadcast small { font: 400 11px/14px var(--font-sans); color: var(--ink-muted); }
  @media (prefers-reduced-motion: reduce) { .pb-broadcast { animation: none; } }

  /* ---------- Home: stable entrances ---------- */
  /* The star system takes the space above the entrance row. */
  .pb-home-orbit { position: relative; flex: 1; min-height: 0; }
  .pb-home-orbit > .wd-orbit { position: absolute; inset: 0; height: auto; min-height: 0; }
  /* The five entrances, always in the same order and place: element glyph, name, news count. */
  .pb-dock {
    flex: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgb(6 8 16 / .86); border-top: 1px solid rgb(255 255 255 / .06);
    -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  }
  .pb-dock__item {
    display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; padding: 6px 0 4px; border: 0; border-radius: 12px;
    background: none; color: var(--ink-muted); font: 500 11px/14px var(--font-sans); letter-spacing: .08em; cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease, transform 140ms ease;
  }
  .pb-dock__item:hover { color: var(--ink); background: rgb(255 255 255 / .04); }
  .pb-dock__item:active { transform: scale(.94); }
  .pb-dock__item:focus-visible { outline: 2px solid var(--qing); outline-offset: 1px; }
  .pb-dock__glyph { position: relative; display: grid; place-items: center; width: 28px; height: 28px; color: var(--el); }
  .pb-dock__badge {
    position: absolute; right: -8px; top: -4px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px;
    background: #c8432f; color: #fff7ee; font: 600 10px/15px var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: 0;
    box-shadow: 0 0 0 1.5px rgb(6 8 16);
  }
  .pb-home-main { position: relative; flex: 1; min-height: 0; display: flex; }

  /* 开场云海: a canvas scene after the reference film — warm amber smoke round a dark centre, with bundles of
     light beams streaking right. The shade on top still darkens the lower third so the title reads. */
  /* The sky is its own layer in the app: under the opening, and over the root test while the dive tears an
     opening onto its black hole. */
  .pb-intro--sky { background: transparent; touch-action: none; -webkit-user-select: none; user-select: none; }
  /* The opening screen has no ground of its own: the sky layer under it must show through. */
  .pb-screen.pb-ground-clear { background: transparent; }
  .pb-sky-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #0c0502; }
  .pb-sky-layer--dive { z-index: 40; background: transparent; }
  /* The home arriving under the meteor from the opening (in step with CloudSea): through the torn clouds its starry
     sky and meteor shower; the planet rises in from the lower right as the camera follows the beam down to it
     (EarthBlaze shift); the beam lands at 3.6s,
     then the mark where it struck, and the rest of the home comes in. */
  .pb-app--arrive .pb-landmark { animation: pb-arrive-ui .5s ease 3.6s both; }
  .pb-app--arrive .pb-ring, .pb-app--arrive .pb-home-date,
  .pb-app--arrive .pb-shouwarn { animation: pb-arrive-ui .9s ease 3.9s both; }
  @keyframes pb-arrive-ui { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .pb-app--arrive * { animation: none !important; } }
  /* After the test: the verdict steps back while the beam fights out of the hole; once it breaks free the whole
     test fades over the home, on the meteor's timing (from 0.5s, over 1.7s). */
  .pb-escape .wd-rt__verdict, .pb-escape .wd-rt__title, .pb-escape .wd-rt__spat { opacity: 0; transition: opacity .5s ease; pointer-events: none; }
  .pb-escape--freed { animation: pb-escape-out 1.7s cubic-bezier(.45, 0, .55, 1) .5s both; pointer-events: none; }
  @keyframes pb-escape-out { from { opacity: 1; } to { opacity: 0; } }
  .pb-intro__body, .pb-intro__shade { transition: opacity 380ms ease, transform 420ms cubic-bezier(.4, 0, .2, 1); }
  .pb-intro--leaving .pb-intro__body { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .pb-intro--leaving .pb-intro__shade { opacity: 0; }
  .pb-sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .pb-intro--sky .pb-intro__shade { background: linear-gradient(180deg, rgba(12, 5, 2, 0) 0%, rgba(12, 5, 2, 0.1) 45%, rgba(12, 5, 2, 0.8) 100%); }

  /* 神识威压 in the sect: a button under the members arms it; the members become targets; the chosen one is
     ringed in cold silver and a sheet asks the reason. */
  .pb-weiya { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
  .pb-weiya small { font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
  .pb-weiya__btn {
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: var(--radius-pill);
    border: 1px solid color-mix(in srgb, #b8ccff 45%, transparent); cursor: pointer;
    background: radial-gradient(120% 140% at 50% 120%, rgb(120 150 230 / .35), rgb(10 12 28 / .85));
    color: #e6edff; font: 600 13px/1 var(--font-sans); letter-spacing: .06em;
    box-shadow: 0 0 0 1px rgb(4 6 16 / .4), 0 0 14px rgb(150 180 255 / .18);
  }
  .pb-weiya--on .pb-weiya__btn { box-shadow: 0 0 0 1px rgb(200 215 255 / .6), 0 0 18px rgb(150 180 255 / .45); }
  .pb-members--aim .pb-member { transition: opacity .2s; }
  .pb-members--aim .pb-member--off { opacity: .35; }
  .pb-aim { border-radius: 50%; animation: pb-aim 1.6s ease-in-out infinite; }
  .pb-member--target .pb-aim { animation: none; box-shadow: 0 0 0 2px #dfe8ff, 0 0 16px 4px rgb(150 180 255 / .6); }
  .pb-member--target { color: var(--ink); }
  @keyframes pb-aim { 0%, 100% { box-shadow: 0 0 0 1px rgb(200 215 255 / .25); } 50% { box-shadow: 0 0 0 2px rgb(200 215 255 / .55), 0 0 12px rgb(150 180 255 / .35); } }
  .pb-weiya__sheet { flex: none; margin: 8px 12px 0; }
  .pb-profile__av { display: inline-block; }
  /* Under 神识威压 the column of light stands on the avatar: leave it room above. */
  .pb-profile__av--pressed { margin-top: 150px; }
  @media (prefers-reduced-motion: reduce) { .pb-aim { animation: none; } }

  /* 寿元: age against the realm's limit, amber as it runs short; the choice of how it ends. */
  .pb-meter--shou span { background: linear-gradient(90deg, color-mix(in srgb, var(--root-tu) 70%, #fff), var(--root-tu)); }
  .pb-shou--near .pb-meter--shou span { background: linear-gradient(90deg, #e0a050, #e2483b); }
  .pb-shou--near .pb-kv b { color: #e8a25a; }
  .pb-shou__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pb-shou__mode {
    display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; text-align: left; cursor: pointer;
    border-radius: var(--radius-md, 12px); border: 1px solid var(--line); background: var(--surface-sunk); color: var(--ink);
  }
  .pb-shou__mode b { font: 600 14px/18px var(--font-sans); }
  .pb-shou__mode small { font: 400 12px/17px var(--font-sans); color: var(--ink-muted); }
  .pb-shou__mode.is-on { border-color: color-mix(in srgb, var(--qing) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--qing) 40%, transparent) inset; }
  .pb-kv--warn b { color: #e8a25a; }
  .pb-shouwarn {
    position: absolute; top: 48px; left: 0; right: 0; z-index: 6; width: fit-content; margin: 0 auto; padding: 5px 14px;
    border-radius: var(--radius-pill); border: 1px solid rgb(232 162 90 / .45); cursor: pointer;
    background: rgb(40 22 10 / .7); color: #f0b46e; font: 500 12px/16px var(--font-sans); letter-spacing: .04em;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    animation: pb-shouwarn 2.8s ease-in-out infinite;
  }
  @keyframes pb-shouwarn { 50% { box-shadow: 0 0 14px rgb(232 162 90 / .35); } }
  /* 坐化: a still, dark screen; the roots stay, dimmed. */
  .pb-zuohua { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 24px; text-align: center; background: radial-gradient(60% 50% at 50% 40%, rgb(30 28 40 / .9), #07070c); }
  .pb-zuohua__orbs { opacity: .45; filter: grayscale(.6); margin-bottom: 8px; }
  .pb-zuohua__title { margin: 0; font: 600 40px/48px var(--font-serif); letter-spacing: .5em; text-indent: .5em; color: #e9e4d8; }
  .pb-zuohua__line { margin: 0; font: 400 14px/22px var(--font-sans); color: #c9c3b6; }
  .pb-zuohua__note { margin: 8px 0 12px; max-width: 30ch; font: 400 13px/20px var(--font-sans); color: #8f8a80; }
  .pb-zuohua__acts { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
  @media (prefers-reduced-motion: reduce) { .pb-shouwarn { animation: none; } }

  /* The home ring: you at the centre, the five places on one quiet ring round you. */
  .pb-home-orbit { display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(90% 70% at 10% 0%, rgb(120 40 50 / .35), transparent 60%), radial-gradient(80% 60% at 100% 100%, rgb(70 80 120 / .3), transparent 60%); }
  .pb-ring { position: relative; width: min(88%, 400px); aspect-ratio: 1; margin-top: -4%; }
  .pb-desk .pb-ring { width: min(70%, 56vh, 460px); }
  .pb-ring__track { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); animation: pb-ring-in 900ms cubic-bezier(.2,.7,.2,1) both; }
  .pb-ring__core {
    position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border: 0; padding: 0; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .05), rgb(0 0 0 / .25) 70%); cursor: pointer;
    display: grid; place-items: center; animation: pb-ring-core 700ms cubic-bezier(.2,.7,.2,1) both;
  }
  .pb-ring__xiu { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
  .pb-ring__xiu circle { fill: none; stroke-width: 3; }
  .pb-ring__xiu-track { stroke: rgb(255 255 255 / .12); }
  .pb-ring__xiu-fill { stroke: #4fd08b; stroke-linecap: round; filter: drop-shadow(0 0 4px rgb(79 208 139 / .7)); }
  .pb-ring__orbs { position: relative; display: grid; place-items: center; }
  .pb-ring__realm {
    position: absolute; left: 50%; top: calc(50% + 20%); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px;
    white-space: nowrap; pointer-events: none; animation: pb-ring-core 700ms 200ms cubic-bezier(.2,.7,.2,1) both;
  }
  .pb-ring__realm b { font: 600 19px/24px var(--font-serif); letter-spacing: .08em; color: var(--ink); }
  .pb-ring__realm small { font: 400 11px/15px var(--font-sans); color: var(--ink-muted); }
  .pb-ring__node {
    position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; padding: 0; border: 0;
    background: none; color: var(--ink); cursor: pointer; animation: pb-ring-node 700ms cubic-bezier(.2,.7,.2,1) both;
  }
  .pb-ring__node:nth-of-type(2) { animation-delay: 60ms; } .pb-ring__node:nth-of-type(3) { animation-delay: 120ms; }
  .pb-ring__node:nth-of-type(4) { animation-delay: 180ms; } .pb-ring__node:nth-of-type(5) { animation-delay: 240ms; }
  .pb-ring__icon {
    position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    border: 1.5px solid rgb(255 255 255 / .55); background: rgb(14 12 24 / .72); color: var(--ink);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s, box-shadow .2s, transform .2s;
  }
  .pb-ring__label { font: 500 13px/16px var(--font-sans); letter-spacing: .1em; color: var(--ink-muted); position: absolute; top: calc(100% + 6px); white-space: nowrap; }
  .pb-ring__node:hover .pb-ring__icon, .pb-ring__node:focus-visible .pb-ring__icon { border-color: #fff; box-shadow: 0 0 16px rgb(255 255 255 / .25); transform: scale(1.06); }
  .pb-ring__node:hover .pb-ring__label { color: var(--ink); }
  .pb-ring__node:focus-visible { outline: none; }
  .pb-ring__badge {
    position: absolute; right: -4px; top: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: #c8402f; color: #fff; font: 600 10px/16px var(--font-sans); font-style: normal;
  }
  @keyframes pb-ring-in { from { opacity: 0; transform: scale(.7); } }
  @keyframes pb-ring-core { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }
  @keyframes pb-ring-node { from { opacity: 0; transform: translate(-50%, -50%) scale(.5); } }
  .pb-ring__realm { animation-name: pb-ring-realm; }
  @keyframes pb-ring-realm { from { opacity: 0; transform: translate(-50%, 8px); } }
  @media (prefers-reduced-motion: reduce) { .pb-ring__track, .pb-ring__core, .pb-ring__node, .pb-ring__realm { animation: none; } }

  /* The ring opens a place: it turns to the top and grows; its card unfolds beneath it; related places pulse,
     the rest dim, and the centre steps back behind the card. */
  .pb-ring__node { transition: opacity .35s ease; }
  .pb-ring__node--active { z-index: 3; }
  .pb-ring__node--active .pb-ring__icon { transform: scale(1.35); border-color: #fff; box-shadow: 0 0 22px rgb(255 255 255 / .35); }
  .pb-ring__node--active .pb-ring__label { color: var(--ink); opacity: 0; }
  .pb-ring__node--related .pb-ring__icon { animation: pb-ring-pulse 1.6s ease-in-out infinite; border-color: rgb(255 255 255 / .85); }
  .pb-ring__node--dim { opacity: .3; }
  .pb-ring--open .pb-ring__core, .pb-ring--open .pb-ring__realm { opacity: .18; transition: opacity .35s ease; }
  .pb-ring__core, .pb-ring__realm { transition: opacity .35s ease; }
  @keyframes pb-ring-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 255 255 / .35); } 50% { box-shadow: 0 0 0 8px rgb(255 255 255 / 0); } }
  .pb-ring__card {
    position: absolute; left: 50%; top: 46px; z-index: 4; width: min(260px, 72%); transform: translateX(-50%);
    display: grid; gap: 8px; padding: 14px 16px 16px; border-radius: 16px; text-align: left;
    background: rgb(16 14 28 / .86); border: 1px solid rgb(255 255 255 / .16); box-shadow: 0 18px 40px rgb(0 0 0 / .45);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    animation: pb-ring-card 380ms cubic-bezier(.2,.8,.2,1) both; transform-origin: 50% 0;
  }
  .pb-ring__card::before { content: ""; position: absolute; left: 50%; top: -12px; width: 1px; height: 12px; background: rgb(255 255 255 / .4); }
  .pb-ring__card-head { display: flex; justify-content: space-between; align-items: center; }
  .pb-ring__status { padding: 2px 8px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .3); font: 500 11px/16px var(--font-sans); color: var(--ink); }
  .pb-ring__card-head small { font: 400 11px/16px var(--font-sans); color: var(--ink-muted); }
  .pb-ring__card-title { font: 600 16px/22px var(--font-serif); letter-spacing: .08em; color: var(--ink); }
  .pb-ring__card p { margin: 0; font: 400 13px/19px var(--font-sans); color: var(--ink-muted); }
  .pb-ring__card-rel { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid rgb(255 255 255 / .1); }
  .pb-ring__card-rel small { font: 400 11px/16px var(--font-sans); color: var(--ink-muted); margin-right: 2px; }
  .pb-ring__chip { padding: 3px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); background: none; color: var(--ink); font: 500 12px/16px var(--font-sans); cursor: pointer; }
  .pb-ring__chip:hover { border-color: #fff; }
  .pb-ring__go { width: 100%; margin-top: 2px; }
  @keyframes pb-ring-card { from { opacity: 0; transform: translateX(-50%) scaleY(.6) translateY(-8px); } }
  @media (prefers-reduced-motion: reduce) { .pb-ring__node--related .pb-ring__icon, .pb-ring__card { animation: none; } }
  /* The home's sky: the EarthBlaze horizon fills the ring's area; the ring sits over it. */
  .pb-home-orbit { background: #000; }
  .pb-home-sky { z-index: 0; }
  .pb-ring { z-index: 1; }
  /* 流星雨 on the left half of the home, fading out toward the middle. */
  .pb-meteors {
    position: absolute; left: 0; top: 0; width: 58%; height: 100%; z-index: 0; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
  }
  /* 降临之地: the point of light where you came down, breathing slowly; and its coordinates. */
  .pb-landmark { position: absolute; z-index: 0; width: 0; height: 0; pointer-events: none; }
  .pb-landmark i {
    position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
    background: radial-gradient(circle, #f4fbff 0%, #8fdcff 45%, rgb(110 214 255 / 0) 72%);
    box-shadow: 0 0 10px 3px rgb(110 214 255 / .65), 0 0 28px 10px rgb(110 214 255 / .22);
    animation: pb-landmark 3.2s ease-in-out infinite;
  }
  .pb-landmark::after {
    content: ""; position: absolute; left: -22px; top: -7px; width: 44px; height: 14px; border-radius: 50%;
    border: 1px solid rgb(150 220 255 / .35); transform: rotate(-26deg); animation: pb-landmark-ring 3.2s ease-out infinite;
  }
  @keyframes pb-landmark { 50% { transform: scale(1.35); box-shadow: 0 0 14px 5px rgb(110 214 255 / .8), 0 0 40px 16px rgb(110 214 255 / .28); } }
  @keyframes pb-landmark-ring { 0% { opacity: .8; transform: rotate(-26deg) scale(.4); } 100% { opacity: 0; transform: rotate(-26deg) scale(1.6); } }
  /* How far a cultivator is from you, on list rows. */
  .pb-dist { font-variant-numeric: tabular-nums; }
  .pb-dist::before { content: " · "; }
  /* 神识扫星 */
  .pb-scan { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
  .pb-scanbar { position: absolute; left: 16px; bottom: 16px; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: calc(100% - 32px); }
  .pb-scanbtn {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill);
    border: 1px solid rgb(140 200 255 / .32); background: rgb(8 12 24 / .6); color: #dbe9ff; cursor: pointer;
    font: 500 13px/1 var(--font-sans); letter-spacing: .04em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .pb-scanbtn small { font-size: 11px; color: rgb(219 233 255 / .6); }
  .pb-scanbtn:hover:not(:disabled) { border-color: rgb(140 200 255 / .6); }
  .pb-scanbtn:disabled { cursor: default; opacity: .55; }
  .pb-scanbtn:focus-visible { outline: 2px solid var(--qing); outline-offset: 2px; }
  .pb-scanbar__row { display: flex; flex-wrap: wrap; gap: 8px; }
  /* 布阵 */
  .pb-ring__spin { display: grid; place-items: center; }
  .pb-ring__orbs { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
  .pb-ring--rootsout .pb-ring__orbs { opacity: 0; transform: scale(.35); transition-duration: .25s; }
  .pb-ring--formed .pb-ring__track { opacity: 0; transition: opacity 1s ease; }
  .pb-rootbeam { position: absolute; width: 0; height: 0; z-index: 8; pointer-events: none; }
  .pb-rootbeam .pb-ring__beam { top: 0; height: 4px; margin-top: -2px; }
  /* The circle of your 修为 leaves the centre, as a beam into the light on the limb, where it rests, flaring as it
     arrives and then breathing. */
  .pb-ring--circleout .pb-ring__core, .pb-ring--circleout .pb-ring__realm { opacity: 0; animation: none; pointer-events: none; transition: opacity .3s ease; }
  .pb-rootbeam--xiu { --beam: #f4dca6; }
  .pb-rootbeam--xiu .pb-ring__beam { height: 5px; margin-top: -2.5px; }
  .pb-sunmark { position: absolute; width: 0; height: 0; z-index: 2; pointer-events: none; }
  .pb-sunmark::before, .pb-sunmark::after { content: ''; position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
  .pb-sunmark::before { width: 90px; height: 90px; background: radial-gradient(circle, rgb(255 246 230 / .9), rgb(255 214 150 / .35) 30%, transparent 70%);
    animation: pb-sun-lit 1.2s ease-out both, pb-sun-breathe 3.6s ease-in-out 1.2s infinite; }
  .pb-sunmark::after { width: 26px; height: 26px; border: 1.5px solid rgb(244 216 160 / .8); box-shadow: 0 0 12px rgb(244 216 160 / .6); animation: pb-sun-ring 1.2s ease-out both; }
  @keyframes pb-sun-lit { from { width: 200px; height: 200px; opacity: 1; } }
  @keyframes pb-sun-breathe { 50% { opacity: .7; width: 110px; height: 110px; } }
  @keyframes pb-sun-ring { from { width: 6px; height: 6px; opacity: 1; } to { width: 70px; height: 70px; opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .pb-sunmark::before, .pb-sunmark::after { animation: none; } .pb-sunmark::after { display: none; } }
  /* The phone's card, top left. */
  .pb-mecard { position: absolute; right: 12px; top: 74px; z-index: 6; display: flex; align-items: center; gap: 9px; max-width: 58%; padding: 7px 12px 7px 7px;
    border-radius: 14px; border: 1px solid rgb(255 255 255 / .08); background: rgb(10 10 20 / .55); color: var(--ink); text-align: left; cursor: pointer;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .4s ease, box-shadow .4s ease; }
  .pb-mecard__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .pb-mecard b { font: 600 13px/17px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pb-mecard small { font: 400 11px/14px var(--font-sans); color: var(--ink-muted); white-space: nowrap; }
  .pb-mecard:focus-visible { outline: 2px solid var(--qing); outline-offset: 2px; }
  .pb-app--arrive .pb-mecard { animation: pb-arrive-ui .9s ease 3.9s both; }
  /* While formed, your card is outlined in your main root's light: it flares as your roots arrive, then breathes. */
  .pb-app--formed .pb-mecard, .pb-app--formed .pb-homecard {
    border-color: var(--formc); box-shadow: 0 0 0 1px var(--formc), 0 0 22px -4px var(--formc);
    animation: pb-card-lit 1.1s ease-out both, pb-card-breathe 3.2s ease-in-out 1.1s infinite; }
  @keyframes pb-card-lit { from { box-shadow: 0 0 0 2px #fff, 0 0 48px 8px var(--formc); } }
  @keyframes pb-card-breathe { 50% { box-shadow: 0 0 0 1px var(--formc), 0 0 32px -2px var(--formc); } }
  @media (prefers-reduced-motion: reduce) { .pb-app--formed .pb-mecard, .pb-app--formed .pb-homecard { animation: none; } }
  .pb-ring__node--beam { pointer-events: none; }
  .pb-ring__node--beam .pb-ring__icon, .pb-ring__node--beam .pb-ring__label { opacity: 0; transform: scale(.3); transition: opacity .18s ease, transform .18s ease; }
  .pb-ring__beam { position: absolute; top: 50%; height: 3px; margin: -1.5px 0 0; border-radius: 2px; transform-origin: 100% 50%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--beam) 55%, transparent) 60%, #fff);
    filter: drop-shadow(0 0 6px var(--beam)); }
  .pb-ring__beam::after { content: ''; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px var(--beam); }
  .pb-ring__node--landed .pb-ring__icon { animation: pb-node-land .55s cubic-bezier(.2,.7,.2,1) both; }
  .pb-ring__node--landed .pb-ring__icon::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--beam); animation: pb-node-flash .7s ease-out both; pointer-events: none; }
  @keyframes pb-node-land { from { transform: scale(.4); opacity: .2; box-shadow: 0 0 30px 8px var(--beam); } to { transform: none; opacity: 1; } }
  @keyframes pb-node-flash { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
  .pb-scannote { margin: 0; padding: 4px 10px; border-radius: 8px; background: rgb(8 12 24 / .55); color: rgb(219 233 255 / .85); font: 400 12px/16px var(--font-sans); }
  .pb-app--arrive .pb-scanbar { animation: pb-arrive-ui .9s ease 3.9s both; }
  .pb-kv__note { margin: 6px 0 0; font: 400 12px/18px var(--font-sans); color: var(--ink-muted); }
  @media (prefers-reduced-motion: reduce) { .pb-landmark i, .pb-landmark::after { animation: none; } }

/* ---------- 洞府 first: the gate, and opening it ---------- */
.pb-ring__node--locked .pb-ring__icon { opacity: .45; border-style: dashed; }
.pb-ring__node--locked .pb-ring__label { opacity: .5; }
.pb-ring__lock { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: rgb(20 18 30 / .9); border: 1px solid rgb(255 255 255 / .25); color: rgb(255 255 255 / .75); }
.pb-ring__node--guide .pb-ring__icon { border-color: var(--root-tu); box-shadow: 0 0 0 0 color-mix(in srgb, var(--root-tu) 60%, transparent); animation: pb-guide-pulse 2s ease-out infinite; }
.pb-ring__node--guide .pb-ring__label { color: var(--root-tu); }
@keyframes pb-guide-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--root-tu) 55%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.pb-guide { position: absolute; left: 50%; bottom: 176px; z-index: 6; transform: translateX(-50%); padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--root-tu) 60%, transparent); background: rgb(30 22 12 / .7); color: #f3d7a8; cursor: pointer;
  font: 500 13px/1 var(--font-sans); letter-spacing: .06em; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pb-guide:focus-visible { outline: 2px solid var(--qing); outline-offset: 2px; }
.pb-hint { position: absolute; left: 50%; top: 46%; z-index: 9; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 10px;
  background: rgb(10 10 20 / .85); color: var(--ink); font: 400 13px/18px var(--font-sans); white-space: nowrap; animation: pb-arrive-ui .25s ease both; pointer-events: none; }
.pb-app--arrive .pb-guide { animation: pb-arrive-ui .9s ease 3.9s both; }
.pb-locknote { color: var(--ink-muted); font: 400 13px/20px var(--font-sans); }
.pb-form { gap: 18px; }
.pb-dfopen { display: grid; justify-items: center; text-align: center; gap: 6px; }
.pb-dfopen__title { font: 600 17px/24px var(--font-serif); }
.pb-dfopen p { margin: 0; color: var(--ink-muted); font: 400 13px/20px var(--font-sans); }

/* ---------- 宗门: 开宗立派 and 招贤榜 ---------- */
.pb-sect-ways { display: grid; gap: 10px; }
.pb-way { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-lg); border: 1px solid rgb(255 255 255 / .1);
  background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; min-width: 0; -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
.pb-way:hover:not(:disabled) { border-color: rgb(255 255 255 / .28); }
.pb-way:disabled { cursor: default; opacity: .6; }
.pb-way:focus-visible { outline: 2px solid var(--qing); outline-offset: 2px; }
.pb-way__seal { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font: 400 22px/1 'Ma Shan Zheng', var(--font-serif); }
.pb-way--found .pb-way__seal { color: #f0c46e; border: 1.5px solid #f0c46e; }
.pb-way--board .pb-way__seal { color: #e8775c; border: 1.5px solid #e8775c; }
.pb-way__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pb-way__main b { font: 600 15px/20px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-way__main small { font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
.pb-recruit-filters { gap: 10px; }
.pb-filter { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pb-filter > span { flex: none; width: 2.5em; font: 600 12px/1 var(--font-sans); color: var(--ink-muted); }
.pb-filter .pb-chips { flex: 1; min-width: 0; }
.pb-fit { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); cursor: pointer; }
.pb-fit input { accent-color: var(--qing); width: 16px; height: 16px; }
.pb-recruit { gap: 12px; }
.pb-recruit--miss { opacity: .78; }
.pb-recruit__head { display: flex; align-items: center; gap: 10px; }
.pb-recruit__seal { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: color-mix(in srgb, #e8775c 18%, transparent);
  color: #f2a58f; font: 400 21px/1 'Ma Shan Zheng', var(--font-serif); }
.pb-recruit__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pb-recruit__who b { font: 600 15px/20px var(--font-sans); }
.pb-recruit__who small { font: 400 12px/16px var(--font-sans); color: var(--ink-muted); }
.pb-recruit__type { flex: none; padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid rgb(255 255 255 / .2); font: 500 12px/16px var(--font-sans); }
.pb-recruit__culture { margin: 0; padding: 8px 12px; border-left: 2px solid #f0c46e; background: rgb(240 196 110 / .07); border-radius: 0 8px 8px 0;
  font: 400 13px/20px var(--font-serif); color: var(--ink); }
.pb-recruit__culture small, .pb-recruit__perks small, .pb-recruit__reqs small { display: block; font: 600 11px/16px var(--font-sans); color: var(--ink-muted); }
.pb-recruit__reqs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pb-recruit__reqs span { padding: 6px 8px; border-radius: 8px; background: rgb(255 255 255 / .04); font: 500 12px/17px var(--font-sans); }
.pb-recruit__perks { margin: 0; font: 400 13px/19px var(--font-sans); }
.pb-recruit__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pb-recruit__fit { font: 500 12px/17px var(--font-sans); }
.pb-recruit__fit.is-fit { color: #7fd8a4; }
.pb-recruit__fit.is-miss { color: #e8a36e; }
.pb-mysect { align-items: center; text-align: center; gap: 8px; }
.pb-mysect__seal { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; border: 2px solid #f0c46e; color: #f0c46e; font: 400 34px/1 'Ma Shan Zheng', var(--font-serif); }
.pb-mysect__name { font: 600 22px/28px var(--font-serif); letter-spacing: .1em; }
.pb-mysect__motto { margin: 0; font: 400 14px/20px var(--font-serif); color: #f3d7a8; }
.pb-mysect__intro { margin: 0; font: 400 13px/20px var(--font-sans); color: var(--ink-muted); }
.pb-mysect .pb-kv { align-self: stretch; }
@media (max-width: 420px) { .pb-recruit__reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The ring's centre is your own light on the planet: the core is only its tap target (no roots, 修为 arc or realm here;
   your card says them all). */
.pb-ring__core { width: 22px; background: none; z-index: 5; }
.pb-ring__xiu { display: none; }
.pb-ring { pointer-events: none; z-index: auto; }
.pb-ring > * { pointer-events: auto; }
.pb-ring > .pb-ring__track { pointer-events: none; }

/* The star system in the app's own tongue: cinnabar for news, spells as plain words, you without a box. */
.pb-ring__badge { right: 3px; top: 3px; min-width: 0; width: 8px; height: 8px; padding: 0; border-radius: 50%; background: #c8402e; box-shadow: 0 0 6px rgb(200 64 46 / .85); }
.pb-mecard { top: 54px; right: 10px; border-color: transparent; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pb-mecard b, .pb-mecard small, .pb-homecard b, .pb-homecard small { text-shadow: 0 1px 3px rgb(0 0 0 / .9); }
/* 布阵: a fine thread of your root's light round you. */
.pb-app--formed .pb-mecard, .pb-app--formed .pb-homecard { border-color: color-mix(in srgb, var(--formc) 50%, transparent); background: rgb(8 10 18 / .35); box-shadow: 0 0 14px -6px var(--formc); animation: none; }
.pb-scanbar { right: 16px; max-width: none; align-items: stretch; }
.pb-scanbar__row { justify-content: space-between; }
.pb-scanbtn { padding: 8px 6px; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #e6dcc6; font: 400 14px/18px var(--font-serif); letter-spacing: .24em; text-shadow: 0 1px 4px rgb(0 0 0 / .9); }
.pb-scanbtn svg { display: none; }
.pb-landname { position: absolute; left: 0; top: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; padding: 4px 8px; border: 0; background: none; color: rgb(214 232 245 / .78);
  font: 400 12px/16px var(--font-serif); letter-spacing: .2em; white-space: nowrap; text-shadow: 0 1px 4px #000; }
.pb-landname small { font: 400 11px/14px var(--font-sans); letter-spacing: .02em; color: rgb(214 232 245 / .6); }
.pb-landname:focus-visible { outline: 1px solid var(--qing); }
.pb-formlines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; animation: pb-arrive-ui 1.2s ease both; }
.pb-formlines polyline { fill: none; stroke: rgb(226 196 134 / .26); stroke-width: 1; }

/* The five: round medallions of gold line and jade light. Where there is a pointer, a place opens into a pill of its own gradient with
   its name in it; on touch there is no hover, so the name stays under the disc. */
.pb-ring__icon { width: 46px; height: 46px; border: 0; border-radius: 30px; background: #0b1533; box-shadow: 0 0 0 1px rgb(226 196 134 / .35), 0 6px 16px rgb(0 0 0 / .5);
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: width .5s, box-shadow .5s, color .3s; }
.pb-ring__icon::before, .pb-ring__icon::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(45deg, var(--grad-from), var(--grad-to)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.pb-ring__icon::after { inset: 10px 0 -10px; z-index: -1; filter: blur(15px); }
.pb-ring__art { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; transition: transform .5s; }
.pb-ring__title { position: absolute; z-index: 1; color: #fff; font: 500 14px/18px var(--font-sans); letter-spacing: .1em; white-space: nowrap; transform: scale(0); transition: transform .5s; }
.pb-ring__badge, .pb-ring__lock { z-index: 2; }
.pb-ring__node:hover, .pb-ring__node:focus-visible { z-index: 4; }
@media (hover: hover) {
  .pb-ring__label { display: none; }
  .pb-ring__node:hover .pb-ring__icon, .pb-ring__node:focus-visible .pb-ring__icon { width: 132px; box-shadow: none; transform: none; }
  .pb-ring__node:hover .pb-ring__icon::before, .pb-ring__node:focus-visible .pb-ring__icon::before { opacity: 1; }
  .pb-ring__node:hover .pb-ring__icon::after, .pb-ring__node:focus-visible .pb-ring__icon::after { opacity: .5; }
  .pb-ring__node:hover .pb-ring__art, .pb-ring__node:focus-visible .pb-ring__art { transform: scale(0); }
  .pb-ring__node:hover .pb-ring__title, .pb-ring__node:focus-visible .pb-ring__title { transform: scale(1); transition-delay: .15s; }
}
.pb-scanbar { transition: bottom .6s ease; }
.pb-scanbar--up { bottom: 88px; }

/* Your 洞府 from within: the room is the whole page, darkened a little so what is on it reads. */
.pb-dongfu-home { background: #0b0a09 url(assets/dongfu-home-phone.jpg) 50% 50% / cover no-repeat; }
.pb-dongfu-home::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 6 8 / .62), rgb(6 6 8 / .3) 34%, rgb(6 6 8 / .58)); pointer-events: none; }
.pb-dongfu-home > * { position: relative; z-index: 1; }
.pb-dongfu-home .pb-panel, .pb-dongfu-home .pb-row { background: rgb(10 10 14 / .58); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* The room stays in view: the date small at the top, you and the small entries along the bottom. */
.pb-dongfu-home .pb-body--dongfu { justify-content: flex-end; gap: 10px; padding-bottom: 18px; }
.pb-dongfu-home .pb-body--dongfu > .wd-date { margin-bottom: auto; zoom: .62; }
.pb-dffolds { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.pb-dftile { display: grid; justify-items: center; gap: 3px; padding: 8px 2px 6px; border: 0; border-radius: 12px; background: rgb(10 10 14 / .58); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); font: 500 12px/15px var(--font-sans); cursor: pointer; }
.pb-dftile:hover, .pb-dftile[aria-expanded="true"] { box-shadow: inset 0 0 0 1px rgb(226 196 134 / .55); }
.pb-dongfu-home > .pb-dfsheet { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; padding: 72px 14px 14px; background: rgb(4 4 6 / .35); animation: pb-arrive-ui .22s ease both; }
.pb-dfsheet__box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-height: 100%; overflow-x: hidden; overflow-y: auto; padding: 10px; border-radius: 18px; background: rgb(12 12 16 / .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pb-dfsheet__close { justify-self: end; padding: 3px 8px; border: 0; background: none; color: var(--ink-muted); font: 400 13px/18px var(--font-sans); cursor: pointer; }
/* 洞府 holds the way out: you at the top right, the five places above the small entries. */
.pb-dongfu-home > .pb-mecard, .pb-dongfu-home > .pb-homecard { position: absolute; z-index: 4; }
.pb-dongfu-home > .pb-dfnav { position: absolute; right: 12px; top: 138px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 34px; }
.pb-dfnav .pb-ring__node { position: relative; left: auto; top: auto; margin: 0; transform: none; animation: none; }
.pb-dfnav .pb-ring__label { color: #e8e2d4; text-shadow: 0 1px 3px #000; }
/* The moving water, between the picture and the shade laid over it. */
.pb-dongfu-home::before { z-index: 1; }
.pb-dongfu-home > .pb-dfwater { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
/* Talking from the 洞府: the box at the very bottom, who hears you just above it. */
.pb-dfchat { flex: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-width: 0; }
.pb-dfchat__to { justify-self: end; display: flex; margin: 2px 0 4px; }
.pb-dfchat__to .pb-metal { width: 104px; height: 36px; }
.pb-dfchat__to .pb-metal__label { font-size: 14px; }
.pb-dfchat__log { display: grid; gap: 2px; padding: 6px 10px; border-radius: 12px; background: rgb(10 10 14 / .58); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-dfchat__log p { margin: 0; overflow: hidden; color: var(--ink); font: 400 12px/17px var(--font-sans); white-space: nowrap; text-overflow: ellipsis; }
.pb-dfchat__log b { margin-right: 6px; color: var(--ink-muted); font-weight: 500; }
.pb-dfchat__log .is-self b { color: #e2c486; }
.pb-dfchat .pb-compose { padding: 0; border: 0; background: none; }
.pb-dfchat__log p:not(:last-child) { display: none; }
/* 道友录: a wheel at the left of the room, the one in the middle open as a pill with their name. */
.pb-dongfu-home > .pb-dfroster { position: absolute; z-index: 6; width: 150px; height: 320px; touch-action: none; animation: pb-arrive-ui .22s ease both; }
.pb-dfroster .pb-ring__node { position: absolute; left: auto; right: 0; top: 50%; margin: 0; animation: none; justify-items: end; transform-origin: right center; transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .28s ease; }
.pb-dfroster .pb-ring__art { display: grid; place-items: center; }
.pb-dfroster .is-on .pb-ring__icon { width: 132px; box-shadow: none; }
.pb-dfroster .is-on .pb-ring__icon::before { opacity: 1; }
.pb-dfroster .is-on .pb-ring__icon::after { opacity: .5; }
.pb-dfroster .is-on .pb-ring__art { transform: scale(0); }
.pb-dfroster .is-on .pb-ring__title { transform: scale(1); transition-delay: .1s; }
.pb-dongfu-home > .pb-dfsound { position: absolute; left: 16px; top: 112px; z-index: 3; padding: 2px 8px; border: 0; border-radius: var(--radius-pill); background: rgb(10 10 14 / .5); color: #e8e2d4; font: 400 11px/16px var(--font-sans); cursor: pointer; }
.pb-dongfu-home > .pb-dfflight { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; pointer-events: none; }
.pb-dongfu-home > .pb-dfvideo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; opacity: 0; transition: opacity .9s ease-in-out; }
.pb-dongfu-home > .pb-dfvideo.is-on { opacity: 1; }
.pb-dongfu-home > .pb-dfvideo.is-under { z-index: -1; opacity: 1; transition: none; }
/* 回到洞府: the same liquid-metal pill as 入道. */
.pb-guide--metal { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; line-height: 0; }
.pb-guide--metal .pb-metal { width: 132px; height: 44px; }
.pb-guide--metal .pb-metal__label { font-size: 15px; letter-spacing: .14em; }
/* The bottom row and the box let more of the room through; the words keep a shadow to stay readable. */
.pb-dongfu-home .pb-dftile { background: rgb(10 10 14 / .4); text-shadow: 0 1px 3px rgb(0 0 0 / .9); }
.pb-dfchat .wd-ci { background: rgb(14 12 22 / .46); }
.pb-dfchat .wd-ci__input, .pb-dfchat .wd-ci__input::placeholder { text-shadow: 0 1px 3px rgb(0 0 0 / .85); }
/* 宗门 before you belong: two ways on, side by side where there is room. */
.pb-sectgate { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-content: center; }
.pb-gateway { position: relative; display: grid; justify-items: center; gap: 8px; padding: 34px 20px 28px; border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-lg); background: rgb(255 255 255 / .04); color: var(--ink); text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.pb-gateway:hover, .pb-gateway:focus-visible { background: rgb(255 255 255 / .08); transform: translateY(-2px); }
.pb-gateway--found:hover, .pb-gateway--found:focus-visible { border-color: #f0c46e; }
.pb-gateway--board:hover, .pb-gateway--board:focus-visible { border-color: #e8775c; }
.pb-gateway__seal { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; border-radius: 16px; font: 400 38px/1 'Ma Shan Zheng', var(--font-serif); }
.pb-gateway--found .pb-gateway__seal { color: #f0c46e; border: 2px solid #f0c46e; }
.pb-gateway--board .pb-gateway__seal { color: #e8775c; border: 2px solid #e8775c; }
.pb-gateway b { font: 600 20px/28px var(--font-serif); letter-spacing: .1em; }
.pb-gateway p { margin: 0; color: var(--ink-muted); font: 400 13px/20px var(--font-sans); }
.pb-gateway small { margin-top: 6px; padding: 3px 10px; border-radius: var(--radius-pill); background: rgb(255 255 255 / .07); color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
/* 开宗立派: what it asks, and the 开宗令. */
.pb-foundreq { display: grid; gap: 10px; }
.pb-foundreq .pb-h { margin: 0; }
.pb-foundreq__row { display: flex; align-items: center; gap: 10px; }
.pb-foundreq__row i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgb(255 255 255 / .28); border-radius: 50%; color: #16130c; font: 700 12px/1 var(--font-sans); font-style: normal; }
.pb-foundreq__row.is-ok i { border-color: #f0c46e; background: #f0c46e; }
.pb-foundreq__row > span { flex: 1; display: grid; gap: 1px; min-width: 0; }
.pb-foundreq__row b { font: 500 14px/20px var(--font-sans); }
.pb-foundreq__row small { color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
.pb-foundtoken { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .1); }
.pb-foundtoken__seal { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid #f0c46e; border-radius: 50%; color: #f0c46e; font: 400 19px/1 'Ma Shan Zheng', var(--font-serif); }
.pb-foundtoken__main { display: grid; gap: 1px; min-width: 0; }
.pb-foundtoken__main b { color: #f0c46e; font: 600 14px/20px var(--font-sans); }
.pb-foundtoken__main small { color: var(--ink-muted); font: 400 12px/17px var(--font-sans); }
.pb-foundtoken__code { display: flex; align-items: center; gap: 8px; }
.pb-foundtoken__code .pb-input { flex: 1; min-width: 0; }
.pb-foundtoken__note { margin: 0; color: #f0c46e; font: 400 12px/16px var(--font-sans); }
/* 宗门职位: folded by default above the members; each member's office under their name. */
.pb-ranks { position: relative; z-index: 2; flex: none; margin: 2px 12px 6px; color: var(--ink); font: 400 12px/18px var(--font-sans); }
.pb-ranks summary { padding: 4px 10px; border-radius: 10px; background: rgb(255 255 255 / .05); color: #f0c46e; cursor: pointer; }
.pb-ranks__list { display: grid; gap: 2px; max-height: 38vh; margin-top: 4px; padding: 6px 10px; overflow-y: auto; border-radius: 10px; background: rgb(255 255 255 / .05); }
.pb-ranks__row { display: flex; gap: 10px; }
.pb-ranks__row b { flex: none; width: 5.5em; font-weight: 600; }
.pb-ranks__row span { color: var(--ink-muted); }
.pb-ranks__row.is-me b, .pb-ranks__row.is-me span { color: #f0c46e; }
.pb-member__rank { display: block; color: var(--ink-faint); font: 400 10px/13px var(--font-sans); white-space: nowrap; }
/* What an office may do, under what it is for; 任免 and the trial switch. */
.pb-ranks__row em { display: block; color: #9fd8c0; font-style: normal; }
.pb-ranks__try { display: grid; gap: 4px; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgb(255 255 255 / .1); }
.pb-ranks__try small { color: var(--ink-faint); }
.pb-ranks__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.pb-ranks__chips button { padding: 2px 8px; border: 0; border-radius: 8px; background: rgb(255 255 255 / .08); color: var(--ink); font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-ranks__chips button[aria-pressed="true"] { background: rgb(226 196 134 / .3); color: #f0dcae; }
.pb-appoint { position: relative; z-index: 2; flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 6px 16px; border-bottom: 1px solid var(--line); }
.pb-appoint small { color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
/* 宗门六堂: one block to a hall in the same folded panel style. */
.pb-halls { margin-top: 0; }
.pb-halls .pb-ranks__list { gap: 10px; max-height: 44vh; }
.pb-hall { display: grid; gap: 3px; padding-bottom: 8px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.pb-hall:last-child { padding-bottom: 0; border-bottom: 0; }
.pb-hall > b { color: #f0c46e; font: 600 13px/18px var(--font-serif); letter-spacing: .1em; }
.pb-hall__about { color: var(--ink); }
.pb-hall ul { margin: 0; padding-left: 16px; color: var(--ink-muted); }
.pb-hall__post { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pb-hall__post > span { color: var(--ink-muted); }
.pb-hall__post em { color: #9fd8c0; font-style: normal; }
.pb-hall__set { margin-left: auto; padding: 0 8px; border: 0; border-radius: 8px; background: rgb(226 196 134 / .22); color: #f0dcae; font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-hall__post .pb-ranks__chips { flex-basis: 100%; }
/* 外事堂. */
.pb-waishi { display: flex; flex-direction: column; gap: 12px; }
.pb-hall__enter { justify-self: start; padding: 2px 10px; border: 1px solid rgb(226 196 134 / .5); border-radius: var(--radius-pill); background: none; color: #f0dcae; font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-apply, .pb-ally { flex-flow: row wrap; align-items: center; }
.pb-apply__main { flex: 1; min-width: 150px; display: grid; gap: 2px; }
.pb-apply__main b { font: 600 15px/20px var(--font-sans); }
.pb-apply__main small { margin-left: 8px; color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
.pb-apply__main p { margin: 0; color: var(--ink-muted); font: 400 13px/19px var(--font-sans); }
.pb-apply__acts { display: flex; flex-wrap: wrap; gap: 6px; }
/* 六堂 on the sect's home, open and side by side as room allows. */
.pb-halls .pb-ranks__list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; max-height: none; overflow: visible; padding: 0; background: none; }
.pb-halls .pb-hall { align-content: start; padding: 14px 16px; border: 0; border-radius: var(--radius-lg); background: var(--surface); }
.pb-halls .pb-hall:last-child { padding-bottom: 14px; }
/* A film scene. The stage is the film's own 16:9, grown to cover the window. */
.pb-sectfilm { position: absolute; inset: 0; z-index: 0; overflow: hidden; container-type: size; }
.pb-sectfilm__stage { position: absolute; left: 50%; top: 50%; isolation: isolate; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); background: 50% 50% / cover no-repeat; transform: translate(-50%, -50%); }
.pb-sectfilm__stage > .pb-dfvideo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity .9s ease-in-out; }
.pb-sectfilm__stage > .pb-dfvideo.is-on { opacity: 1; }
.pb-sectfilm__stage > .pb-dfvideo.is-under { z-index: -1; opacity: 1; transition: none; }
/* 开辟洞府: the terrace above the clouds, on film, darkened only enough for the words over it. */
.pb-dfopenscene { background: #0b0a09; }
.pb-sectfilm__stage--open { background-image: url(assets/dongfu-terrace.jpg); }
.pb-dfopenscene::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(6 6 8 / .42), transparent 18%, transparent 52%, rgb(6 6 8 / .68)); pointer-events: none; }
.pb-dfopenscene > :not(.pb-sectfilm) { position: relative; z-index: 2; }
.pb-dfopenscene .pb-dfopen p { color: var(--ink); text-shadow: 0 1px 6px rgb(0 0 0 / .8); }
.pb-dfopenscene .pb-dfopen__title, .pb-dfopenscene .pb-field__label { text-shadow: 0 1px 6px rgb(0 0 0 / .8); }
.pb-dfopenscene .pb-form { justify-content: flex-end; padding-bottom: 8vh; }
/* Saving failed: said plainly, over everything. */
.pb-savewarn { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 40; padding: 8px 12px; border-radius: 10px; background: #8c2f22; color: #fff; font: 500 13px/18px var(--font-sans); text-align: center; }
/* Coming out of 闭关 early is asked first. */
.pb-askout { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 24px; background: rgb(4 4 8 / .6); }
.pb-askout .pb-panel { width: min(100%, 340px); }
.pb-askout .pb-panel p { color: var(--ink); font-size: 14px; line-height: 22px; }
/* Short phones: the five places close up. */
@media (max-height: 800px) {
  .pb-dongfu-home > .pb-dfnav { top: 116px; gap: 10px; }
}
@media (max-height: 700px) {
  .pb-dongfu-home > .pb-dfnav { top: 96px; gap: 6px; }
  .pb-dfnav .pb-ring__label { display: none; }
}
/* Leaving the sect: the last thing on its page, quiet until asked. */
.pb-sectleave { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.pb-sectleave p { flex-basis: 100%; margin: 0; color: var(--ink-muted); font: 400 13px/20px var(--font-sans); text-align: right; }
/* The name of your 洞府, written down the left of the room. */
.pb-dongfu-home > .pb-dfname { position: absolute; left: 22px; top: 158px; z-index: 2; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; color: #f7ecd2; text-shadow: 0 1px 2px #000, 0 2px 12px rgb(0 0 0 / .85); pointer-events: none; }
.pb-dfname b { font: 400 24px/1 'Ma Shan Zheng', var(--font-serif); letter-spacing: .14em; }
@media (max-height: 700px) { .pb-dongfu-home > .pb-dfname { top: 134px; } .pb-dfname b { font-size: 18px; } }
/* 宗门, before you belong to one: the sect on its peaks above the clouds, darkened only enough for the two ways in. */
.pb-sectgatescene { background: #0b0a09 url(assets/sect-gate-bg.png) 50% 50% / cover no-repeat; }
.pb-sectgatescene::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgb(6 6 8 / .5), rgb(6 6 8 / .12) 22%, rgb(6 6 8 / .12) 48%, rgb(6 6 8 / .62)); pointer-events: none; }
.pb-sectgatescene > * { position: relative; z-index: 1; }
.pb-sectgatescene .pb-gateway { background: rgb(10 10 14 / .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pb-sectgatescene .pb-gateway:hover, .pb-sectgatescene .pb-gateway:focus-visible { background: rgb(10 10 14 / .7); }
/* 道友录 and the slips' wheel: lighter, so the room shows through; the names stay solid. */
.pb-dfroster .pb-ring__icon { background: rgb(11 21 51 / .34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pb-dfroster .pb-ring__art { opacity: .72; }
.pb-dfroster .is-on .pb-ring__icon::before, .pb-dfroster .pb-ring__node:hover .pb-ring__icon::before { opacity: .6; }
.pb-dfroster .is-on .pb-ring__icon::after, .pb-dfroster .pb-ring__node:hover .pb-ring__icon::after { opacity: .28; }
.pb-dfroster .pb-ring__title { text-shadow: 0 1px 3px rgb(0 0 0 / .7); }
/* 道友录: each friend in the colour of their main root, with their realm under the name. */
.pb-dfroster:not(.pb-dfroster--slips) .pb-ring__icon { background: color-mix(in srgb, var(--rc) 40%, rgb(11 21 51 / .3)); }
.pb-ring__title--who { display: grid; justify-items: center; gap: 1px; text-shadow: 0 1px 3px rgb(0 0 0 / .85); }
.pb-ring__title--who b { font: 600 14px/17px var(--font-sans); letter-spacing: .08em; }
.pb-ring__title--who small { font: 400 11px/14px var(--font-sans); letter-spacing: .04em; opacity: .92; }
/* 道友录: cards two-thirds as tall, the name and realm on one line. */
.pb-dfroster:not(.pb-dfroster--slips) .pb-ring__icon { width: 31px; height: 31px; }
.pb-dfroster:not(.pb-dfroster--slips) .is-on .pb-ring__icon { width: 132px; }
.pb-ring__title--who { display: flex; align-items: baseline; gap: 5px; }
.pb-ring__title--who b { font-size: 12px; line-height: 15px; letter-spacing: .04em; }
.pb-ring__title--who small { font-size: 10px; line-height: 13px; letter-spacing: 0; }
/* 神识探查 in the 洞府: a wide button with its name, opening the search by 道籍号. */
.pb-top > .pb-probebtn { position: absolute; right: 12px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid rgb(226 196 134 / .45); border-radius: var(--radius-pill); background: rgb(10 10 14 / .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f0dcae; font: 500 13px/1 var(--font-sans); letter-spacing: .1em; cursor: pointer; }
.pb-top > .pb-probebtn:hover, .pb-top > .pb-probebtn:focus-visible { outline: 0; border-color: #f0c46e; background: rgb(10 10 14 / .66); }
.pb-seek { position: absolute; inset: 0; z-index: 9; display: grid; justify-items: center; align-content: start; padding: 72px 14px 14px; overflow-y: auto; background: rgb(4 4 8 / .55); }
.pb-seek__box { position: relative; width: min(100%, 440px); gap: 12px; background: rgb(12 12 18 / .86); }
.pb-seek__close { position: absolute; right: 10px; top: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .08); color: var(--ink); font: 400 20px/1 var(--font-sans); cursor: pointer; }
.pb-seek__title { display: flex; align-items: center; gap: 8px; margin: 0; color: #f0dcae; font: 600 17px/24px var(--font-serif); letter-spacing: .12em; }
.pb-seek__copy { margin-left: 4px; padding: 1px 8px; border: 0; border-radius: 8px; background: rgb(255 255 255 / .1); color: var(--ink); font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-seek__row { display: flex; gap: 8px; }
.pb-seek__row .pb-input { flex: 1; min-width: 0; letter-spacing: .06em; }
.pb-seek__note { color: var(--ink-muted); }
.pb-seek__who { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgb(255 255 255 / .05); }
.pb-seek__main { flex: 1; min-width: 120px; display: grid; gap: 2px; }
.pb-seek__main b { font: 600 15px/20px var(--font-sans); }
.pb-seek__main small { margin-left: 8px; color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
.pb-seek__main span, .pb-seek__state { color: var(--ink-muted); font: 400 12px/18px var(--font-sans); }
.pb-seek__write { display: grid; gap: 8px; }
.pb-seek__acts { display: flex; justify-content: flex-end; gap: 8px; }
.pb-tienote { position: absolute; left: 50%; top: 84px; z-index: 9; margin: 0; padding: 8px 14px; border-radius: var(--radius-pill); background: rgb(10 10 14 / .78); color: #f0dcae; font: 400 13px/18px var(--font-sans); white-space: nowrap; transform: translateX(-50%); animation: pb-arrive-ui .3s ease both; }
.pb-waiting .pb-kv b { color: var(--ink-muted); font-weight: 400; }
/* 收音盒: a slip going in lights it; a red count for those not yet heard. */
.pb-dftile { position: relative; }
.pb-dftile.is-hit { animation: pb-box-hit 1.1s ease-out; }
.pb-dftile__count { position: absolute; right: 8px; top: 4px; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #c8402e; color: #fff; font: 600 10px/16px var(--font-sans); font-style: normal; text-align: center; }
@keyframes pb-box-hit { 0% { box-shadow: inset 0 0 0 1px rgb(150 232 255 / .95), 0 0 0 0 rgb(96 214 255 / .7); } 100% { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 0 0 16px rgb(96 214 255 / 0); } }
.pb-train { display: grid; gap: 10px; }
.pb-slipbox { display: grid; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .pb-dftile.is-hit { animation: none; } }
/* In the 洞府 you are always sitting: said quietly beside 水声, with a slow breath of light. */
.pb-dongfu-home > .pb-dfsit { position: absolute; left: 92px; top: 112px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 2px 10px; border-radius: var(--radius-pill); background: rgb(10 10 14 / .5); color: #cfe9dc; font: 400 11px/18px var(--font-sans); pointer-events: none; }
.pb-dfsit i { width: 6px; height: 6px; border-radius: 50%; background: #8ff0dc; box-shadow: 0 0 6px #8ff0dc; animation: pb-sit-breathe 4s ease-in-out infinite; }
@keyframes pb-sit-breathe { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .pb-dfsit i { animation: none; } }
/* 道友 or 仙子: asked over the sky after 入道, before the 灵根 test. */
.pb-askcall { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 24px; text-align: center; animation: pb-arrive-ui .5s ease both; }
.pb-askcall__q { margin: 0; color: #f7ecd2; font: 400 18px/28px var(--font-serif); letter-spacing: .04em; white-space: nowrap; text-shadow: 0 2px 14px rgb(0 0 0 / .7); }
.pb-askcall__ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.pb-askcall__note { margin: 0; color: rgb(255 255 255 / .6); font: 400 12px/16px var(--font-sans); }
/* 闭关: your own cave over the cloud sea, a 坤道 or a 乾道 already sitting there; the drawn figure and horizon step aside. */
.pb-secluded .wd-sc { background: #050a0d 50% 50% / cover no-repeat; }
.pb-secluded--m .wd-sc { background-image: url(assets/seclusion-m.png); }
.pb-secluded--f .wd-sc { background-image: url(assets/seclusion-f.png); }
.pb-secluded .wd-sc__dome, .pb-secluded .wd-sc__floor, .pb-secluded .wd-sc__horizon, .pb-secluded .wd-sc__figure { display: none; }
.pb-secluded .wd-sc::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(3 6 9 / .62), rgb(3 6 9 / .1) 28%, rgb(3 6 9 / .06) 62%, rgb(3 6 9 / .7)); pointer-events: none; }
.pb-secluded .wd-sc__top, .pb-secluded .wd-sc__bottom { z-index: 1; text-shadow: 0 1px 6px rgb(0 0 0 / .85); }

/* ---- 洞府, made quieter: the room first, everything else where it belongs ---- */
/* Your card holds how your cultivation stands: realm and stage, 修为 toward the next, and what sitting here has given. */
.pb-dongfu-home > .pb-dfme { align-items: flex-start; border: 1px solid rgb(255 255 255 / .08); background: rgb(8 10 16 / .46); }
.pb-dfme .pb-dfme__row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pb-dfme .pb-dfme__row small { flex: none; }
.pb-dfme .pb-side__bar { display: block; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .18); overflow: hidden; }
.pb-dfme .pb-side__bar em { display: block; height: 100%; background: var(--qing); }
.pb-dfme .pb-dfsit { position: static; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; background: none; color: #cfe9dc; font: 400 11px/15px var(--font-sans); text-shadow: 0 1px 3px rgb(0 0 0 / .9); }
/* The places on the right say what they are, beside each one, on every screen. */
.pb-dongfu-home .pb-dfnav .pb-ring__label { display: block; top: 50%; right: calc(100% + 10px); transform: translateY(-50%); color: #f0e6cf; font-size: 13px; letter-spacing: .14em; text-shadow: 0 1px 3px #000, 0 0 10px rgb(0 0 0 / .8); pointer-events: none; transition: opacity .2s; }
@media (hover: hover) { .pb-dongfu-home .pb-dfnav .pb-ring__node:hover .pb-ring__label, .pb-dongfu-home .pb-dfnav .pb-ring__node:focus-visible .pb-ring__label { opacity: 0; } }
/* The box to speak in rises once someone is chosen; 收起 puts it away. */
.pb-dfchat__to { align-items: center; gap: 10px; }
.pb-dfchat__done { padding: 4px 10px; border: 0; border-radius: var(--radius-pill); background: rgb(10 10 14 / .5); color: #e8e2d4; font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-dfchat__rise { animation: pb-arrive-ui .24s ease both; }
@media (prefers-reduced-motion: reduce) { .pb-dfchat__rise { animation: none; } }
/* The small entries along the bottom are wooden tags edged in old gold, sized to their words, not glass boxes. */
.pb-dongfu-home .pb-dffolds { grid-auto-columns: auto; justify-content: center; gap: 12px; }
.pb-dongfu-home .pb-dftile { grid-auto-flow: column; align-items: center; gap: 6px; padding: 7px 16px 7px 13px; border-radius: 6px; color: #f1dfb6; font: 500 13px/16px var(--font-serif); letter-spacing: .18em;
  background: linear-gradient(180deg, rgb(70 44 22 / .8), rgb(36 21 9 / .84)); box-shadow: inset 0 0 0 1px rgb(214 170 96 / .5), inset 0 1px 0 rgb(255 226 170 / .16), 0 4px 10px rgb(0 0 0 / .35); text-shadow: 0 1px 2px rgb(0 0 0 / .8); }
.pb-dongfu-home .pb-dftile:hover, .pb-dongfu-home .pb-dftile[aria-expanded="true"] { box-shadow: inset 0 0 0 1px rgb(240 204 130 / .9), inset 0 1px 0 rgb(255 226 170 / .24), 0 4px 12px rgb(0 0 0 / .4); }
.pb-dongfu-home .pb-dftile svg { color: #e2c486; }
.pb-dongfu-home .pb-dftile__count { right: -6px; top: -7px; }
/* On the phone the name hangs on the cliff as a small wooden board on a cord, gilded as on the website's pillar. */
.pb-dongfu-home > .pb-dfname { padding: 14px 7px; border-radius: 3px; color: transparent; text-shadow: none;
  background: repeating-linear-gradient(90deg, rgb(255 230 190 / .035) 0 1px, transparent 1px 4px, rgb(0 0 0 / .05) 4px 5px, transparent 5px 9px), linear-gradient(90deg, #2c190a, #573820 30%, #4a2e16 62%, #24140a);
  box-shadow: inset 0 0 0 1px rgb(214 170 96 / .55), inset 0 0 0 3px rgb(24 12 4 / .7), inset 0 0 0 4px rgb(214 170 96 / .25), 0 10px 20px rgb(0 0 0 / .6); }
/* The cord: two strands from a peg up to the board's top corners. */
.pb-dongfu-home > .pb-dfname::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 26px; height: 16px; translate: -50% 0;
  background: linear-gradient(to bottom right, transparent calc(50% - .7px), rgb(176 140 92 / .9) 50%, transparent calc(50% + .7px)) 0 0 / 50% 100% no-repeat, linear-gradient(to bottom left, transparent calc(50% - .7px), rgb(176 140 92 / .9) 50%, transparent calc(50% + .7px)) 100% 0 / 50% 100% no-repeat; }
.pb-dongfu-home > .pb-dfname b { color: transparent; background: linear-gradient(100deg, #8a5a1e 0%, #d9a94e 30%, #f7dd96 48%, #c48f3a 62%, #7a4c16 100%) 0 0 / 100% 2.4em; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 -1px 0 rgb(20 8 0 / .85)) drop-shadow(0 1px 0 rgb(255 218 160 / .3)); }
/* Your card is taller now: the places start below it. */
.pb-dongfu-home > .pb-dfnav { top: 176px; }
@media (max-height: 800px) { .pb-dongfu-home > .pb-dfnav { top: 166px; } }
@media (max-height: 700px) { .pb-dongfu-home > .pb-dfnav { top: 150px; gap: 4px; } }
.pb-dfme .pb-dfme__row .pb-side__bar { flex: 1; min-width: 36px; }
.pb-dongfu-home .pb-dftile { white-space: nowrap; }
@media (max-width: 380px) { .pb-dongfu-home .pb-dftile { padding: 7px 10px 7px 9px; letter-spacing: .06em; } .pb-dongfu-home .pb-dffolds { gap: 8px; } .pb-dongfu-home > .pb-dfme { max-width: calc(100% - 150px); } }
.pb-dongfu-home > .pb-dfme { overflow: hidden; }
.pb-dfme .pb-mecard__meta, .pb-dfme .pb-side__meta { flex: 1; min-width: 0; }
.pb-dfme small { overflow: hidden; text-overflow: ellipsis; }
/* 议事堂: the hall's own painting, kept as it came; darkened where the heading and the talk sit so the words read. */
.pb-chatwrap--yishi { position: relative; isolation: isolate; background: #0b0a0c; }
.pb-chatwrap--yishi > :not(.pb-yishibg) { position: relative; z-index: 1; }
.pb-chatwrap--yishi .pb-chat, .pb-chatwrap--yishi .pb-compose { background: transparent; }
.pb-yishibg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(6 6 10 / .62), rgb(6 6 10 / .22) 26%, rgb(6 6 10 / .38) 60%, rgb(6 6 10 / .82)), url(assets/yishi-hall.png) 40% 28% / cover no-repeat; }
/* 议事堂: a recording under way, said above the box; and the tray of more things to send. */
.pb-sectrec { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 6px 12px; border-radius: 12px; background: rgb(120 30 24 / .55); color: #ffe9e2; font: 500 13px/18px var(--font-sans); }
.pb-sectrec i { width: 8px; height: 8px; border-radius: 50%; background: #ff6b5a; animation: pb-sit-breathe 1.2s ease-in-out infinite; }
.pb-sectrec button { margin-left: auto; padding: 2px 10px; border: 0; border-radius: var(--radius-pill); background: rgb(255 255 255 / .16); color: inherit; font: inherit; cursor: pointer; }
.pb-sectmore { display: flex; gap: 8px; margin: 0 0 8px; }
.pb-sectmore button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid rgb(255 255 255 / .12); border-radius: 12px; background: rgb(14 12 22 / .7); color: var(--ink); font: 500 13px/18px var(--font-sans); cursor: pointer; }
.wd-composer__tool--rec { color: #ff6b5a; box-shadow: inset 0 0 0 1px rgb(255 107 90 / .7); }

/* ---- 洞府 as a home: the room first; whose it is, its name and a few quiet controls along the top ---- */
.pb-res { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.pb-res > * { pointer-events: auto; }
.pb-res-ui { transition: opacity .45s ease; }
.pb-res-top { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px 16px 0; pointer-events: none; }
.pb-res-top > * { pointer-events: auto; }
.pb-res-top__who { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.pb-res-top .pb-back { flex: none; width: 36px; height: 36px; display: grid; place-items: center; margin: 0; border: 0; border-radius: 50%; background: rgb(10 10 14 / .42); color: #ece3cf; cursor: pointer; }
.pb-resme { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 3px 10px 3px 3px; border: 0; border-radius: 14px; background: none; color: #f1e8d4; text-align: left; cursor: pointer; text-shadow: 0 1px 3px rgb(0 0 0 / .9); transition: background .2s; }
.pb-resme:hover, .pb-resme:focus-visible { background: rgb(10 10 14 / .34); }
.pb-resme > span { display: grid; gap: 1px; min-width: 0; }
.pb-resme b { font: 600 14px/18px var(--font-sans); }
.pb-resme small { max-width: 240px; overflow: hidden; color: #ddd3bf; font: 400 11px/15px var(--font-sans); white-space: nowrap; text-overflow: ellipsis; }
.pb-resme .pb-resme__bio { color: #bdb3a0; }
.pb-resname { display: grid; justify-items: center; gap: 4px; padding: 4px 14px; border: 0; border-radius: 12px; background: none; color: #f3e8cf; text-shadow: 0 1px 3px rgb(0 0 0 / .9), 0 0 16px rgb(0 0 0 / .55); cursor: pointer; }
div.pb-resname { cursor: default; }
.pb-resname b { font: 600 22px/1.25 var(--font-serif); letter-spacing: .32em; text-indent: .32em; }
.pb-resname small { max-width: 26em; color: #dacdb2; font: 400 12px/17px var(--font-serif); letter-spacing: .08em; text-align: center; }
.pb-resname .is-hint { opacity: .55; }
/* 2026-11-10: the 洞府's level and 灵气, one quiet line under its name. */
.pb-res .pb-resname .pb-resname__qi { margin-top: 4px; padding: 1px 10px; border-radius: 999px; background: rgb(12 14 16 / .5); color: rgb(236 228 210 / .92); text-shadow: none; font: 400 12px/16px var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.pb-resname em { padding: 0 8px; border-radius: var(--radius-pill); background: rgb(214 170 96 / .22); color: #f0d9a4; font: 400 11px/17px var(--font-sans); font-style: normal; letter-spacing: .1em; }
.pb-res-top__tools { display: flex; justify-content: flex-end; gap: 8px; }
.pb-resutil { position: relative; flex: none; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / .1); border-radius: 50%; background: rgb(10 10 14 / .42); color: #ece3cf; cursor: pointer; transition: background .2s; }
.pb-resutil:hover, .pb-resutil:focus-visible, .pb-resutil[aria-expanded="true"] { background: rgb(10 10 14 / .66); }
.pb-resutil em { position: absolute; right: -3px; top: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #c8402e; color: #fff; font: 600 10px/16px var(--font-sans); font-style: normal; text-align: center; }
/* 出府: the four places and 神识探查, in a small list under its button. */
.pb-resexits { position: absolute; right: 16px; top: 58px; z-index: 6; display: grid; gap: 2px; min-width: 176px; padding: 8px; border-radius: 14px; background: rgb(12 12 16 / .88); box-shadow: 0 12px 30px rgb(0 0 0 / .45); animation: pb-arrive-ui .2s ease both; }
.pb-resexits button { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 500 14px/20px var(--font-sans); letter-spacing: .12em; text-align: left; cursor: pointer; }
.pb-resexits button:hover, .pb-resexits button:focus-visible { background: rgb(255 255 255 / .07); }
.pb-resexits img { width: 30px; height: 30px; border-radius: 50%; }
.pb-resexits button > .wd-icon { width: 30px; }
.pb-resexits em { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #c8402e; }
/* The tea table and the entrance: a soft warm light and their names when you come near; on a touch screen, always, faintly. */
.pb-spot { position: absolute; z-index: 2; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 96px; min-height: 70px; padding: 0; border: 0; background: none; color: #f3e8cf; cursor: pointer; }
.pb-spot i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 230 180 / 0), transparent); transition: background .4s ease; }
.pb-spot span { position: relative; display: grid; justify-items: center; font: 500 13px/17px var(--font-serif); letter-spacing: .24em; text-indent: .24em; text-shadow: 0 1px 3px #000, 0 0 10px rgb(0 0 0 / .7); opacity: 0; transition: opacity .35s ease; }
.pb-spot small { color: #dccfb4; font-size: 11px; letter-spacing: .12em; }
.pb-spot:hover i, .pb-spot:focus-visible i { background: radial-gradient(closest-side, rgb(255 230 180 / .24), transparent); }
.pb-spot:hover span, .pb-spot:focus-visible span { opacity: 1; }
.pb-spot:focus-visible { outline: none; }
.pb-spot.is-fresh::before { content: ''; position: relative; width: 7px; height: 7px; border-radius: 50%; background: #f3c77a; animation: pb-sit-breathe 3.4s ease-in-out infinite; }
@media (hover: none) { .pb-spot span { opacity: .8; } .pb-spot i { background: radial-gradient(closest-side, rgb(255 230 180 / .1), transparent); } }
/* Along the bottom: 留言簿, 访客 and the room's own tags; they dim when left alone and come back at a touch. */
.pb-res-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; justify-items: center; gap: 10px; padding: 0 14px 18px; pointer-events: none; transition: opacity .7s ease; }
.pb-res-bottom > * { pointer-events: auto; }
.pb-res-bottom.is-idle { opacity: .4; }
.pb-res-bottom .pb-dfchat { width: min(100%, 560px); }
.pb-res-nav { max-width: 100%; }
.pb-res-follow { display: flex; align-items: center; }
.pb-dongfu-home .pb-dftile.is-fresh { box-shadow: inset 0 0 0 1px rgb(243 199 122 / .95), inset 0 1px 0 rgb(255 226 170 / .24), 0 4px 12px rgb(0 0 0 / .4); }
/* Panels: from the bottom on the phone, at the side on the website. */
.pb-respanel-wrap { position: absolute; inset: 0; z-index: 8; display: flex; align-items: flex-end; padding: 64px 10px 10px; background: rgb(4 4 6 / .3); animation: pb-arrive-ui .22s ease both; }
.pb-respanel { display: flex; flex-direction: column; width: 100%; max-height: 100%; overflow: hidden; border-radius: 18px; background: rgb(14 13 16 / .92); color: var(--ink); box-shadow: 0 20px 50px rgb(0 0 0 / .5); }
.pb-respanel__head { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid rgb(255 255 255 / .06); }
.pb-respanel__head b { font: 600 16px/22px var(--font-serif); letter-spacing: .14em; }
.pb-respanel__head small { color: var(--ink-muted); font: 400 12px/18px var(--font-sans); }
.pb-respanel__close { margin-left: auto; padding: 3px 8px; border: 0; background: none; color: var(--ink-muted); font: 400 13px/18px var(--font-sans); cursor: pointer; }
.pb-respanel__body { display: grid; align-content: start; gap: 12px; padding: 12px 16px 16px; overflow-y: auto; }
.pb-respanel__note { margin: 0; padding: 10px 16px 14px; border-top: 1px solid rgb(255 255 255 / .06); color: var(--ink-muted); font: 400 11px/16px var(--font-sans); }
.pb-resrow { display: grid; gap: 6px; }
.pb-resrow > span { color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
.pb-reschips { margin: 0; }
.pb-resform { display: grid; gap: 8px; }
.pb-resform textarea { resize: vertical; }
.pb-resempty { display: grid; justify-items: start; gap: 10px; margin: 0; color: var(--ink-muted); font: 400 13px/20px var(--font-sans); }
.pb-gbmsg { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .04); }
.pb-gbmsg__head { display: flex; align-items: center; gap: 8px; }
.pb-gbmsg__head b { font: 600 13px/18px var(--font-sans); }
.pb-gbmsg__head small { margin-left: auto; color: var(--ink-muted); font: 400 11px/16px var(--font-sans); }
.pb-gbmsg p { margin: 0; font: 400 14px/21px var(--font-sans); }
.pb-gbmsg .pb-gbmsg__reply { padding-left: 10px; border-left: 2px solid rgb(214 170 96 / .45); color: #d6cdb9; font-size: 13px; }
.pb-gbmsg__acts { display: flex; flex-wrap: wrap; gap: 14px; }
.pb-gbmsg__acts button { padding: 0; border: 0; background: none; color: var(--ink-muted); font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-gbmsg__acts button:hover { color: var(--ink); }
.pb-gbmsg__acts .is-danger { color: #e0907f; }
.pb-sample { padding: 0 6px; border-radius: 6px; background: rgb(255 255 255 / .08); color: var(--ink-muted); font: 400 10px/16px var(--font-sans); font-style: normal; }
.pb-guest { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgb(255 255 255 / .05); }
.pb-guest__main { display: grid; flex: 1; gap: 2px; min-width: 0; }
.pb-guest__main b { display: flex; align-items: center; gap: 6px; font: 600 14px/19px var(--font-sans); }
.pb-guest__main small { overflow: hidden; color: var(--ink-muted); font: 400 11px/16px var(--font-sans); white-space: nowrap; text-overflow: ellipsis; }
.pb-guest__acts { display: flex; flex: none; gap: 6px; }
.pb-notice-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .04); color: var(--ink); font: 400 13px/19px var(--font-sans); text-align: left; cursor: pointer; }
.pb-notice-row > span { flex: 1; min-width: 0; }
.pb-notice-row small { flex: none; color: var(--ink-muted); font-size: 11px; }
.pb-resowner { display: flex; align-items: center; gap: 14px; }
.pb-resowner > span { display: grid; gap: 4px; }
.pb-resowner b { font: 600 18px/24px var(--font-serif); letter-spacing: .08em; }
.pb-resowner small { color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
.pb-resowner__bio { margin: 0; color: #d6cdb9; font: 400 14px/22px var(--font-sans); }
.pb-reslocked { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; }
.pb-reslocked .pb-panel { display: grid; justify-items: start; gap: 10px; margin: auto 16px; }
/* 沉浸: everything but the room fades; a touch anywhere, or Esc, brings it back. */
.pb-res--imm .pb-res-ui, .pb-res--imm ~ .pb-dfroster, .pb-res--imm ~ .pb-tienote { opacity: 0 !important; pointer-events: none !important; }
.pb-resimm { position: absolute; inset: 0; z-index: 9; padding: 0; border: 0; background: none; cursor: pointer; }
.pb-resimm span { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; padding: 6px 14px; border-radius: var(--radius-pill); background: rgb(10 10 14 / .5); color: #ece3cf; font: 400 12px/18px var(--font-sans); white-space: nowrap; animation: pb-imm-hint 3.2s ease forwards; }
@keyframes pb-imm-hint { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
/* Arriving at a friend's: the room comes up out of a soft blur. */
.pb-res-arrive { animation: pb-res-arrive 1.1s ease both; }
@keyframes pb-res-arrive { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
@media (prefers-reduced-motion: reduce) { .pb-res-arrive, .pb-resexits, .pb-respanel-wrap, .pb-resimm span { animation: none; } .pb-spot.is-fresh::before { animation: none; } }
/* The phone: the name on a line of its own under whose it is and the controls; smaller controls and tags. */
.pb-res--phone .pb-res-top { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 6px; padding: 12px 12px 0; }
.pb-res--phone .pb-res-top .pb-resname { grid-column: 1 / -1; grid-row: 2; }
.pb-res--phone .pb-res-top .pb-back { width: 32px; height: 32px; }
.pb-res--phone .pb-resme { gap: 7px; padding-right: 4px; }
.pb-res--phone .pb-resme small { max-width: 120px; }
.pb-res--phone .pb-res-top__tools { gap: 5px; }
.pb-res--phone .pb-resutil { width: 32px; height: 32px; }
.pb-res--phone .pb-resname b { font-size: 19px; }
.pb-res--phone .pb-resexits { right: 12px; top: 50px; }
.pb-res--phone .pb-res-bottom { padding: 0 10px 14px; }
.pb-dongfu-home .pb-res--phone .pb-res-nav { gap: 6px; }
.pb-dongfu-home .pb-res--phone .pb-res-nav .pb-dftile { padding: 7px 9px 7px 8px; gap: 4px; font-size: 12px; letter-spacing: .04em; }
.pb-dongfu-home .pb-res--phone .pb-res-nav .pb-dftile svg { width: 15px; height: 15px; }
/* Phone: the bottom tags share the width evenly, icon over word, so five fit. */
.pb-dongfu-home .pb-res--phone .pb-res-nav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; gap: 6px; }
.pb-dongfu-home .pb-res--phone .pb-res-nav .pb-dftile { grid-auto-flow: row; justify-items: center; gap: 2px; padding: 6px 2px 5px; font-size: 11px; letter-spacing: .02em; }
.pb-res--phone .pb-res-follow { justify-content: center; }
/* On arriving, the tea table and the entrance show their names for a moment, then wait to be found. */
.pb-spot span { animation: pb-spot-intro 4.2s ease 1.2s backwards; }
@keyframes pb-spot-intro { 0% { opacity: 0; } 20%, 70% { opacity: .9; } 100% { opacity: 0; } }
@media (hover: none) { .pb-spot span { animation: none; } }
@media (prefers-reduced-motion: reduce) { .pb-spot span { animation: none; } }

/* ---- 日志, 相册, 收藏, 装扮 ---- */
/* The light laid over the room by 装扮: below every control, above the picture. */
.pb-mood { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: background .8s ease, opacity .8s ease; }
.pb-mood--dawn { background: linear-gradient(180deg, rgb(232 240 250 / .26), rgb(255 242 228 / .1) 55%, transparent); mix-blend-mode: screen; }
.pb-mood--dusk { background: linear-gradient(180deg, rgb(255 140 70 / .62), rgb(150 70 90 / .56)); mix-blend-mode: multiply; }
.pb-mood--night { background: linear-gradient(180deg, rgb(34 50 96 / .7), rgb(22 26 52 / .62)); mix-blend-mode: multiply; }
.pb-warm--warm { background: rgb(255 170 90 / .22); mix-blend-mode: soft-light; }
.pb-warm--cool { background: rgb(120 170 235 / .26); mix-blend-mode: soft-light; }
/* The two smaller rows along the bottom: the five that are the 洞府's own, then the owner's own affairs, quieter. */
.pb-res-nav--mine .pb-dftile { padding: 5px 12px 5px 10px; font-size: 12px; opacity: .88; }
.pb-res-nav--mine .pb-dftile svg { width: 15px; height: 15px; }
.pb-dongfu-home .pb-res--phone .pb-res-nav--mine .pb-dftile { grid-auto-flow: column; padding: 5px 2px; font-size: 11px; }
.pb-res--phone .pb-res-bottom { gap: 6px; }
.pb-res--phone .pb-spot { min-width: 70px; min-height: 56px; }
.pb-res--phone .pb-spot span { font-size: 12px; letter-spacing: .14em; text-indent: .14em; }
/* 日志: the feed's own cards, with a line under each for a bookmark, a memory and who may see it. */
.pb-jpost { display: grid; gap: 6px; }
.pb-jpost .wd-mo-stage { margin: 0; }
.pb-jpost__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 0 4px; }
.pb-jpost__acts > button { padding: 0; border: 0; background: none; color: var(--ink-muted); font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-jpost__acts > button[aria-pressed="true"] { color: #e2c486; }
.pb-jpost__see { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-muted); font: 400 12px/18px var(--font-sans); }
.pb-jpost__see .wd-chip { padding: 2px 10px; font-size: 12px; }
.pb-desk .pb-respanel--wide { width: min(520px, 100%); }
/* 相册: the pictures close together, each opening large. */
.pb-album { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.pb-album__pic { aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: rgb(255 255 255 / .05); cursor: zoom-in; }
.pb-album__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pb-album__pic:hover img { transform: scale(1.04); }
.pb-viewer { position: absolute; inset: 0; z-index: 12; display: grid; place-items: center; padding: 24px; background: rgb(4 4 6 / .86); animation: pb-arrive-ui .2s ease both; }
.pb-viewer figure { display: grid; justify-items: center; gap: 10px; max-width: 100%; max-height: 100%; margin: 0; }
.pb-viewer img { max-width: 100%; max-height: 70vh; border-radius: 8px; box-shadow: 0 20px 50px rgb(0 0 0 / .6); }
.pb-viewer figcaption { max-width: 36em; color: #ddd3bf; font: 400 13px/20px var(--font-sans); text-align: center; }
.pb-viewer__acts { display: flex; align-items: center; gap: 14px; color: var(--ink-muted); font: 400 12px/18px var(--font-sans); }
.pb-viewer__acts button { padding: 4px 10px; border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius-pill); background: none; color: var(--ink); font: inherit; cursor: pointer; }
.pb-viewer__acts button:disabled { opacity: .35; cursor: default; }
/* 收藏: each kind on its own wooden ledge, the things standing on it in small lit niches. */
.pb-shelf { display: grid; gap: 8px; }
.pb-shelf h3 { margin: 0; color: #e2c486; font: 600 13px/18px var(--font-serif); letter-spacing: .24em; }
.pb-shelf__row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 14px; background: linear-gradient(transparent calc(100% - 9px), #4a2e17 calc(100% - 9px), #2c190a calc(100% - 2px), rgb(0 0 0 / .4) 100%); border-radius: 2px; scrollbar-width: thin; }
.pb-curio { position: relative; flex: none; display: grid; justify-items: center; gap: 3px; width: 92px; text-align: center; }
.pb-curio__face { display: grid; place-items: center; width: 78px; height: 78px; overflow: hidden; padding: 0; border: 0; border-radius: 6px; color: inherit;
  background: radial-gradient(ellipse at 50% 20%, rgb(255 236 200 / .16), transparent 70%), linear-gradient(180deg, rgb(40 26 14 / .9), rgb(22 13 6 / .95));
  box-shadow: inset 0 0 0 1px rgb(214 170 96 / .35), inset 0 -10px 18px rgb(0 0 0 / .45); }
button.pb-curio__face { cursor: zoom-in; }
.pb-curio__face img { width: 100%; height: 100%; object-fit: cover; }
.pb-curio__seal { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; background: linear-gradient(160deg, #b8462f, #7e2a1b); color: #f8e7c6; font: 400 24px/1 'Ma Shan Zheng', var(--font-serif); box-shadow: 0 4px 10px rgb(0 0 0 / .45); }
.pb-curio b { max-width: 100%; overflow: hidden; font: 500 12px/16px var(--font-sans); white-space: nowrap; text-overflow: ellipsis; }
.pb-curio small { color: var(--ink-muted); font: 400 11px/14px var(--font-sans); }
.pb-curio .pb-sample { position: absolute; top: 2px; right: 2px; }
.pb-curio__del { padding: 0; border: 0; background: none; color: #e0907f; font: 400 11px/14px var(--font-sans); cursor: pointer; }
.pb-resform--row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
@media (prefers-reduced-motion: reduce) { .pb-viewer { animation: none; } .pb-mood { transition: none; } }
/* Phone: neither row may be wider than the screen. */
.pb-dongfu-home .pb-res--phone .pb-res-nav .pb-dftile { min-width: 0; overflow: hidden; }
.pb-dongfu-home .pb-res--phone .pb-res-nav--mine .pb-dftile { justify-content: center; gap: 4px; padding: 5px 2px; letter-spacing: 0; }
.pb-res--phone .pb-res-nav--mine .pb-dftile__count { right: 2px; top: -6px; }

/* ---- The 洞府 says less: notes behind an ⓘ, visibility in one small select ---- */
.pb-respanel__head { align-items: center; }
.pb-respanel__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pb-respanel__tools + .pb-respanel__close { margin-left: 4px; }
.pb-info { position: relative; display: inline-flex; }
.pb-info__btn { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 1px solid rgb(255 255 255 / .28); border-radius: 50%; background: none; color: var(--ink-muted); font: italic 600 11px/1 var(--font-serif); cursor: help; }
.pb-info__btn:hover, .pb-info__btn:focus-visible, .pb-info.is-open .pb-info__btn { border-color: var(--ink-muted); color: var(--ink); }
.pb-info__tip { position: absolute; left: 50%; top: calc(100% + 8px); z-index: 3; width: max-content; max-width: 220px; padding: 7px 10px; border-radius: 8px; background: rgb(28 26 32 / .98); box-shadow: 0 8px 20px rgb(0 0 0 / .45); color: var(--ink); font: 400 12px/18px var(--font-sans); letter-spacing: 0; translate: -50% 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; }
.pb-info:hover .pb-info__tip, .pb-info.is-open .pb-info__tip, .pb-info__btn:focus-visible + .pb-info__tip { opacity: 1; visibility: visible; }
.pb-seesel { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-pill); color: var(--ink-muted); cursor: pointer; }
.pb-seesel:hover, .pb-seesel:focus-within { border-color: rgb(255 255 255 / .3); color: var(--ink); }
.pb-seesel select { appearance: none; -webkit-appearance: none; padding: 0 12px 0 0; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23aaa'/%3E%3C/svg%3E") 100% 55% no-repeat; color: inherit; font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-seesel select:focus { outline: none; }
.pb-seesel option { background: #1c1a20; color: var(--ink); }
.pb-resrow .pb-seesel { justify-self: start; }
.pb-switch { padding: 3px 10px; border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-pill); background: none; color: var(--ink-muted); font: 400 12px/18px var(--font-sans); cursor: pointer; }
.pb-switch[aria-checked="true"] { border-color: rgb(120 200 190 / .5); color: #bfe9df; }
.pb-reslock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pb-confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #e8b2a6; font: 400 12px/18px var(--font-sans); }
.pb-confirm button { padding: 0; border: 0; background: none; color: var(--ink-muted); font: inherit; cursor: pointer; }
.pb-confirm .is-danger { color: #ff8f7a; font-weight: 600; }
.pb-confirm--small { display: grid; justify-items: center; gap: 2px; font-size: 11px; }
.pb-jpost__acts > button[aria-pressed="true"]::before { content: '✓ '; }
.pb-jpost__acts .pb-seesel { margin-left: auto; }
.pb-resname { min-height: 32px; }
.pb-resname:not(div):hover b, .pb-resname:not(div):focus-visible b { text-decoration: underline; text-decoration-color: rgb(243 232 207 / .35); text-underline-offset: 6px; }

/* ---- 洞府 laid out like a hall: rail, cards at either side, round seals, a round dock ---- */
:root { --gold: #d6aa60; --gold-line: rgb(214 170 96 / .42); --hall-ink: #eee2c8; }
/* Cards, shared by the website's sides and the phone's 资料. */
.pb-rcard { flex: none; padding: 12px 14px 14px; border-radius: 12px; color: var(--hall-ink);
  background: linear-gradient(180deg, rgb(26 19 12 / .86), rgb(15 11 7 / .9)); box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 1px 0 rgb(255 226 170 / .1), 0 10px 24px rgb(0 0 0 / .35); }
.pb-rcard > header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pb-rcard h3 { margin: 0; color: #f3e3bd; font: 600 17px/22px var(--font-serif); letter-spacing: .14em; }
.pb-rcard h3::before { content: '◈'; margin-right: 8px; color: var(--gold); font-size: 12px; vertical-align: 2px; }
.pb-rcard h3 small { margin-left: 4px; color: #b9ab8e; font: 400 13px/1 var(--font-sans); letter-spacing: 0; }
.pb-rcard__more, .pb-rcard__edit { margin-left: auto; padding: 2px 4px; border: 0; background: none; color: #d9c9a5; font: 400 13px/18px var(--font-serif); cursor: pointer; }
.pb-rcard__more:hover, .pb-rcard__edit:hover { color: #fff1cc; }
.pb-rcard__empty { margin: 0; color: #a89b80; font: 400 13px/20px var(--font-sans); }
.pb-rcard__view { position: relative; display: block; width: 100%; height: 112px; overflow: hidden; padding: 0; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--gold-line); cursor: pointer; }
.pb-rcard__view img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pb-rcard__view:hover img { transform: scale(1.04); }
.pb-rcard__view b { position: absolute; left: 10px; bottom: 8px; color: #fff3d6; font: 600 16px/1 var(--font-serif); letter-spacing: .12em; text-shadow: 0 1px 4px #000; }
.pb-rcard__desc { margin: 10px 0 0; color: #d7cbb1; font: 400 13px/20px var(--font-serif); }
.pb-rcard__kv { display: flex; justify-content: space-between; margin-top: 8px; color: #b9ab8e; font: 400 13px/18px var(--font-sans); }
.pb-rcard__kv b { color: var(--hall-ink); font: 500 14px/18px var(--font-serif); letter-spacing: .08em; }
.pb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border: 1px solid rgb(214 170 96 / .45); border-radius: var(--radius-pill); background: rgb(0 0 0 / .22); color: var(--hall-ink); font: 400 13px/18px var(--font-serif); letter-spacing: .08em; }
button.pb-tag { cursor: pointer; }
.pb-tag i { color: #c9a87a; font-style: normal; }
.pb-tag--add { border-style: dashed; color: #c9b78f; }
.pb-rlist { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pb-rlist li { display: flex; align-items: center; gap: 6px; }
.pb-rlist li > button:first-child { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 6px 4px; border: 0; border-radius: 8px; background: none; color: inherit; text-align: left; cursor: pointer; }
.pb-rlist li > button:first-child:hover { background: rgb(255 230 180 / .06); }
.pb-rlist__icon { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--gold); }
.pb-rlist__text { display: grid; flex: 1; gap: 2px; min-width: 0; overflow: hidden; font: 400 14px/20px var(--font-serif); white-space: nowrap; text-overflow: ellipsis; }
.pb-rlist__text > small, .pb-rlist__text b small { overflow: hidden; color: #b9ab8e; font: 400 12px/17px var(--font-sans); text-overflow: ellipsis; }
.pb-rlist__text b { display: flex; align-items: baseline; gap: 8px; font: 600 14px/20px var(--font-serif); }
.pb-rlist li > small { flex: none; color: #a89b80; font: 400 12px/1 var(--font-sans); }
.pb-rlist li > button:first-child > small { flex: none; margin-left: auto; color: #a89b80; font: 400 12px/1 var(--font-sans); }
.pb-rlist__act { display: grid; flex: none; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: #e9cf96; cursor: pointer; }
.pb-rlist__act:hover { background: rgb(255 230 180 / .08); }
.pb-rgifts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pb-rgift { display: grid; justify-items: center; gap: 4px; padding: 8px 2px; border: 0; border-radius: 8px; background: rgb(0 0 0 / .22); box-shadow: inset 0 0 0 1px rgb(214 170 96 / .25); color: var(--hall-ink); cursor: pointer; }
.pb-rgift .pb-curio__seal { width: 36px; height: 36px; font-size: 20px; }
.pb-rgift b { max-width: 100%; overflow: hidden; font: 500 12px/16px var(--font-serif); white-space: nowrap; text-overflow: ellipsis; }
.pb-rgift small { color: #a89b80; font: 400 11px/14px var(--font-sans); }
.pb-ralbum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pb-ralbum button { aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--gold-line); cursor: zoom-in; }
.pb-ralbum img { width: 100%; height: 100%; object-fit: cover; }
.pb-rcards { display: grid; gap: 12px; }
/* Seals on the things in the picture: a dark round with a gold ring, its name under it. */
.pb-seal { position: absolute; z-index: 2; translate: -50% -50%; display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; }
.pb-seal__disc { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #f3e3bd;
  background: radial-gradient(circle at 50% 32%, rgb(66 50 32 / .94), rgb(20 15 10 / .94)); box-shadow: 0 0 0 1px rgb(214 170 96 / .6), 0 0 0 4px rgb(0 0 0 / .22), 0 8px 20px rgb(0 0 0 / .45); transition: transform .3s ease, box-shadow .3s ease; }
.pb-seal__name { color: #f8ecd2; font: 600 15px/1 var(--font-serif); letter-spacing: .14em; text-indent: .14em; text-shadow: 0 1px 3px #000, 0 0 12px rgb(0 0 0 / .85); }
.pb-seal:hover .pb-seal__disc, .pb-seal:focus-visible .pb-seal__disc { transform: scale(1.06); box-shadow: 0 0 0 1px rgb(240 204 130 / .95), 0 0 0 4px rgb(0 0 0 / .22), 0 10px 24px rgb(0 0 0 / .5); }
.pb-seal:focus-visible { outline: none; }
.pb-seal.is-fresh .pb-seal__disc::after { content: ''; position: absolute; width: 8px; height: 8px; margin: -38px 0 0 38px; border-radius: 50%; background: #e05a40; }
/* The round entries along the bottom. */
.pb-dock { display: flex; align-items: flex-end; justify-content: center; gap: 30px; padding: 12px 44px 12px; border-radius: 60px 60px 16px 16px;
  background: linear-gradient(180deg, rgb(24 18 12 / .5), rgb(14 10 6 / .9)); box-shadow: inset 0 1px 0 rgb(214 170 96 / .45), 0 -6px 24px rgb(0 0 0 / .3); }
.pb-dock__item { display: grid; justify-items: center; gap: 7px; padding: 0; border: 0; background: none; color: #f3e3bd; font: 600 15px/1 var(--font-serif); letter-spacing: .12em; text-indent: .12em; cursor: pointer; }
.pb-dock__disc { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, rgb(70 52 32), rgb(22 16 10)); box-shadow: 0 0 0 1px rgb(214 170 96 / .62), 0 6px 14px rgb(0 0 0 / .5); transition: transform .25s ease, box-shadow .25s ease; }
.pb-dock__item:hover .pb-dock__disc, .pb-dock__item:focus-visible .pb-dock__disc { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(240 204 130 / .95), 0 8px 18px rgb(0 0 0 / .55); }
.pb-dock__disc em { position: absolute; right: -2px; top: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #c8402e; color: #fff; font: 600 10px/16px var(--font-sans); font-style: normal; text-indent: 0; letter-spacing: 0; }
.pb-dock .pb-res-follow { align-self: center; }
.pb-slipbox__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* Website: the rail at the left, the heading along the top, the cards at either side. */
.pb-res--desk .pb-rail { position: absolute; left: 0; top: 0; bottom: 0; z-index: 4; display: flex; flex-direction: column; width: 112px; padding: 20px 0; background: linear-gradient(90deg, rgb(14 11 8 / .94), rgb(14 11 8 / .74)); box-shadow: inset -1px 0 0 rgb(214 170 96 / .2); }
.pb-rail__logo { margin: 0 0 30px; color: #f0dca8; font: 400 36px/1 'Ma Shan Zheng', var(--font-serif); text-align: center; text-shadow: 0 2px 8px rgb(0 0 0 / .6); }
.pb-rail__item { position: relative; display: flex; align-items: center; gap: 12px; margin: 2px 8px; padding: 13px 0 13px 16px; border: 0; border-radius: 10px; background: none; color: #e6dcc6; font: 500 17px/1 var(--font-serif); letter-spacing: .12em; text-align: left; cursor: pointer; }
.pb-rail__item:hover, .pb-rail__item:focus-visible { background: rgb(255 230 180 / .07); }
.pb-rail__item.is-on { background: linear-gradient(90deg, rgb(214 170 96 / .32), rgb(214 170 96 / .06)); box-shadow: inset 0 0 0 1px rgb(214 170 96 / .55); color: #fff2d0; cursor: default; }
.pb-rail__item em { position: absolute; left: 30px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: #c8402e; }
.pb-res--desk .pb-res-top { left: 112px; padding: 14px 24px 0 18px; }
.pb-res--desk .pb-resme { gap: 14px; }
.pb-res--desk .pb-resme .wd-avatar { box-shadow: 0 0 0 2px rgb(214 170 96 / .55); }
.pb-res--desk .pb-resme b { font: 600 19px/24px var(--font-serif); letter-spacing: .08em; }
.pb-res--desk .pb-resme small { color: #e4d6b8; font: 400 13px/18px var(--font-serif); }
.pb-res--desk .pb-resme .pb-resme__bio { max-width: 280px; color: #cfc1a2; }
.pb-res--desk .pb-resname b { display: flex; align-items: center; font: 600 34px/1.25 var(--font-serif); letter-spacing: .2em; text-indent: .2em; }
.pb-res--desk .pb-resname b::before, .pb-res--desk .pb-resname b::after { content: '◈'; width: 90px; color: var(--gold); font-size: 13px; text-indent: 0; background: linear-gradient(90deg, transparent, var(--gold)) 0 50% / 74px 1px no-repeat; text-align: right; }
.pb-res--desk .pb-resname b::after { background: linear-gradient(90deg, var(--gold), transparent) 16px 50% / 74px 1px no-repeat; text-align: left; }
.pb-res--desk .pb-resname small { color: #e8d9b6; font: 500 16px/22px var(--font-serif); letter-spacing: .28em; }
.pb-res--desk .pb-res-top__tools { gap: 14px; padding-top: 4px; }
.pb-res--desk .pb-resutil { width: 40px; height: 40px; border: 0; background: none; color: #eadfc8; }
.pb-res--desk .pb-resutil:hover, .pb-res--desk .pb-resutil[aria-expanded="true"] { background: rgb(255 230 180 / .08); }
.pb-res--desk .pb-res-bottom { bottom: 10px; padding: 0; }
.pb-desk .pb-dongfu-home > .pb-dfname { display: none; }
.pb-desk .pb-res--desk .pb-respanel-wrap { padding-left: 126px; }
@media (max-width: 1000px) { .pb-res--desk .pb-resname b::before, .pb-res--desk .pb-resname b::after { display: none; } }
@media (max-height: 760px) { .pb-dock__disc { width: 48px; height: 48px; } .pb-dock { gap: 22px; padding: 8px 32px; } }
/* Phone: smaller seals and a dock that spans the screen. */
.pb-res--phone .pb-seal__disc { width: 44px; height: 44px; }
.pb-res--phone .pb-seal__disc svg { width: 18px; height: 18px; }
.pb-res--phone .pb-seal__name { font-size: 12px; letter-spacing: .06em; text-indent: .06em; }
.pb-res--phone .pb-dock { width: 100%; justify-content: space-between; gap: 0; padding: 8px 10px 10px; border-radius: 30px 30px 14px 14px; }
.pb-res--phone .pb-dock__item { gap: 5px; font-size: 12px; letter-spacing: .04em; text-indent: .04em; }
.pb-res--phone .pb-dock__disc { width: 42px; height: 42px; }
.pb-res--phone .pb-dock__disc svg { width: 18px; height: 18px; }
.pb-res--phone .pb-resname b { font-size: 20px; }
.pb-res--phone .pb-resname small { letter-spacing: .2em; }
.pb-seal__name { white-space: nowrap; }
/* 洞府等级 and 灵气: a line of figures over a thin gold bar. */
.pb-rcard__kv--bar { flex-wrap: wrap; row-gap: 5px; }
.pb-qibar { flex-basis: 100%; height: 5px; overflow: hidden; border-radius: 3px; background: rgb(0 0 0 / .4); box-shadow: inset 0 0 0 1px rgb(214 170 96 / .22); }
.pb-qibar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8a6a32, #f0d48f); transition: width .6s ease; }
.pb-qibar--qi i { background: linear-gradient(90deg, #5b8f86, #bfe9df); }
/* The rail: the name leads home to the planet, and so does its last entry. */
button.pb-rail__logo { padding: 0; border: 0; background: none; cursor: pointer; }
button.pb-rail__logo:hover { color: #fff1cc; }

/* ---- 传音符箓 ---- */
/* Choosing how to speak: a slip that is kept, or a talisman heard once. */
.pb-chatmode { display: inline-flex; justify-self: center; padding: 3px; border-radius: var(--radius-pill); background: rgb(10 10 14 / .55); box-shadow: inset 0 0 0 1px rgb(214 170 96 / .3); }
.pb-chatmode button { padding: 5px 14px; border: 0; border-radius: var(--radius-pill); background: none; color: #cdbf9f; font: 500 13px/18px var(--font-serif); letter-spacing: .12em; cursor: pointer; }
.pb-chatmode button[aria-pressed="true"] { background: linear-gradient(180deg, rgb(70 46 22 / .95), rgb(38 24 11 / .95)); box-shadow: inset 0 0 0 1px rgb(214 170 96 / .6); color: #fff0cc; }
.pb-fubtn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 18px 8px 10px; border: 0; border-radius: 16px; background: linear-gradient(180deg, rgb(26 19 12 / .92), rgb(14 10 6 / .95)); color: var(--hall-ink); text-align: left; cursor: pointer;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fu) 55%, transparent), 0 0 18px -6px var(--fu); }
.pb-fubtn img { height: 64px; width: auto; filter: drop-shadow(0 0 6px var(--fu)); }
.pb-fubtn span { display: grid; gap: 3px; }
.pb-fubtn b { font: 600 16px/22px var(--font-serif); letter-spacing: .2em; }
.pb-fubtn small { color: #b9ab8e; font: 400 12px/16px var(--font-sans); }
.pb-fubtn:hover { box-shadow: inset 0 0 0 1px var(--fu), 0 0 24px -4px var(--fu); }
/* Speaking into it: the talisman stands in the middle of the room, alight in your root's colour, waves going out to either side. */
.pb-fucast { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 46%, rgb(4 4 8 / .2) 18%, rgb(4 4 8 / .82) 72%); animation: pb-arrive-ui .3s ease both; }
.pb-fucast::before { content: ''; position: absolute; left: 50%; top: 46%; width: min(30%, 260px); height: min(62%, 600px); translate: -50% -50%; border-radius: 40%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fu) 75%, transparent), transparent); filter: blur(26px); animation: pb-fu-glow 1.6s ease-in-out infinite; }
.pb-fucast__fu { position: absolute; left: 50%; top: 46%; z-index: 2; height: min(58%, 560px); width: auto; translate: -50% -50%; animation: pb-fu-breathe 1.6s ease-in-out infinite; }
/* The air stirred by its voice (FuAir): level ripples to either side and away towards the pavilion, behind the talisman. */
.pb-fucast__air { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.pb-fucast__bar { position: absolute; left: 0; right: 0; bottom: 6%; z-index: 3; display: grid; justify-items: center; gap: 10px; }
.pb-fucast__bar p { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: var(--radius-pill); background: rgb(10 10 14 / .6); color: #f3e8cf; font: 500 13px/18px var(--font-serif); letter-spacing: .08em; }
.pb-fucast__bar p i { width: 8px; height: 8px; border-radius: 50%; background: var(--fu); box-shadow: 0 0 8px var(--fu); animation: pb-sit-breathe 1.2s ease-in-out infinite; }
@keyframes pb-fu-glow { 0%, 100% { opacity: .55; scale: .94; } 50% { opacity: 1; scale: 1.08; } }
@keyframes pb-fu-breathe { 0%, 100% { filter: drop-shadow(0 0 10px var(--fu)) drop-shadow(0 0 26px var(--fu)) brightness(1); } 50% { filter: drop-shadow(0 0 18px var(--fu)) drop-shadow(0 0 48px var(--fu)) brightness(1.12); } }
/* A talisman in a chat. */
.pb-fumsg { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.pb-fumsg__fu { height: 70px; width: auto; transition: filter .4s ease; }
.pb-fumsg.is-on .pb-fumsg__fu { filter: drop-shadow(0 0 10px var(--fu)) brightness(1.15); animation: pb-fu-breathe 1.2s ease-in-out infinite; }
.pb-fumsg.is-spent .pb-fumsg__fu { filter: grayscale(1) brightness(.5); }
.pb-fumsg__main { display: grid; gap: 3px; }
.pb-fumsg__main b { display: flex; align-items: center; gap: 6px; font: 600 14px/20px var(--font-serif); letter-spacing: .12em; }
.pb-fumsg__main small { color: var(--ink-muted); font: 400 12px/16px var(--font-sans); }
.pb-fumsg__play { justify-self: start; margin-top: 2px; padding: 4px 12px; border: 0; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--fu) 30%, rgb(20 16 12)); box-shadow: inset 0 0 0 1px var(--fu); color: #fff3d6; font: 500 12px/18px var(--font-sans); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pb-fucast::before, .pb-fucast__fu, .pb-fucast__bar p i, .pb-fumsg.is-on .pb-fumsg__fu { animation: none; } }
/* While speaking into a talisman, the room's own controls step back. */
.pb-dongfu-home:has(.pb-fucast) .pb-res-ui, .pb-dongfu-home:has(.pb-fucast) .pb-dfroster { opacity: 0 !important; pointer-events: none !important; }
.pb-switch--go { border-color: rgb(214 170 96 / .45); color: var(--hall-ink); }
/* The chat box at the foot of the 洞府 keeps clear of the cards at either side on the website. */
.pb-res--desk .pb-res-bottom .pb-dfchat { width: min(560px, calc(100vw - 900px)); min-width: 360px; }
@media (max-width: 1000px) { .pb-res--desk .pb-res-bottom .pb-dfchat { width: min(560px, 100%); min-width: 0; } }
/* A narrow phone keeps the name on one line. */
.pb-res--phone .pb-resme b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pb-res--phone .pb-resme > span { min-width: 0; }

/* ---- 道友: a calm social page in the cultivators' world ---- */
.pb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pb-fd { --fd-ink: #242A2A; --fd-night: #17262D; --fd-jade: #527E78; --fd-ivory: #F6F4EF; --fd-mist: #DCE4E3; --fd-gold: #B49A69;
  position: absolute; inset: 0; display: flex; overflow: hidden; background: linear-gradient(180deg, #e7ecea, #eef0ec 40%, #f2f1ec); color: var(--fd-ink); font-family: var(--font-sans); }
.pb-fd button { font-family: inherit; }
.pb-fd-rail { background: linear-gradient(180deg, #17262D 0%, #142128 70%, #0f191e 100%) !important; }
.pb-fd-rail::after { content: ''; position: absolute; left: 0; right: 0; bottom: 70px; height: 120px; pointer-events: none; opacity: .5;
  background: linear-gradient(170deg, transparent 52%, rgb(82 126 120 / .35) 53%, transparent 70%), linear-gradient(195deg, transparent 58%, rgb(82 126 120 / .25) 59%, transparent 76%); }
.pb-fd-rail .pb-rail__item.is-on { background: linear-gradient(90deg, rgb(82 126 120 / .55), rgb(82 126 120 / .18)); box-shadow: inset 0 0 0 1px rgb(140 190 180 / .45), inset 0 0 14px rgb(140 190 180 / .2); color: #f2f6f4; }
.pb-fd-rail .pb-rail__item:hover:not(.is-on) { background: rgb(220 228 227 / .08); }
.pb-fd-rail .pb-rail__logo { color: #e9dcbc; }
.pb-fd-rail .pb-rail__item { transition: background .18s ease, color .18s ease; }
.pb-fd-main { position: relative; flex: 1; min-width: 0; overflow-y: auto; scroll-behavior: smooth; }
.pb-fd--desk .pb-fd-main { margin-left: 112px; }
/* The landscape at the head of the page, with the page's name over its left side. */
.pb-fd-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 280px; padding: 0 40px 34px;
  isolation: isolate; color: #fff; }
/* 2026-11-09: the head is a film. Its file is the user's, untouched: a 2560×1440 frame whose picture is the box
   x 42–2498, y 395–1206 (grey and a thin yellow line around it). The picture box covers the head; the film hangs off it. */
.pb-fd-head__film { position: absolute; inset: 0; z-index: -1; overflow: hidden; container-type: size; background: #6f8aa3; }
.pb-fd-head__film::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(15 25 30 / .62), rgb(15 25 30 / .12) 55%, transparent), linear-gradient(0deg, rgb(15 25 30 / .45), transparent 60%); }
.pb-fd-head__pic { position: absolute; left: 50%; top: 45%; width: max(100cqw, calc(100cqh * 2456 / 811)); aspect-ratio: 2456 / 811; transform: translate(-50%, -45%); }
.pb-fd-head__pic > .pb-loopvid { inset: auto; left: -1.7101%; top: -48.7053%; width: 104.2345%; height: 177.5586%; }
.pb-fd-head__title h1 { margin: 0; font: 700 40px/1.1 var(--font-serif); letter-spacing: .14em; text-shadow: 0 2px 12px rgb(0 0 0 / .45); }
.pb-fd-head__title p { margin: 10px 0 0; font: 400 17px/1.5 var(--font-serif); letter-spacing: .3em; opacity: .92; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.pb-fd-search { display: flex; align-items: center; gap: 10px; width: min(440px, 46%); height: 46px; padding: 0 18px; border-radius: 23px; background: rgb(246 244 239 / .94); box-shadow: 0 8px 24px rgb(15 25 30 / .25); color: #6b7574; }
.pb-fd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--fd-ink); font: 400 15px/1 var(--font-sans); }
.pb-fd-search:focus-within { box-shadow: 0 0 0 2px rgb(82 126 120 / .55), 0 8px 24px rgb(15 25 30 / .25); }
.pb-fd-head .pb-back { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(15 25 30 / .45); color: #fff; cursor: pointer; }
/* Ways to look, and the three filters. */
.pb-fd-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 40px; background: rgb(246 244 239 / .92); box-shadow: 0 1px 0 rgb(36 42 42 / .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-fd-tabs { display: flex; gap: 30px; }
.pb-fd-tabs button { position: relative; padding: 18px 2px 16px; border: 0; background: none; color: #6b7574; font: 500 16px/1 var(--font-sans); letter-spacing: .06em; cursor: pointer; transition: color .18s ease; }
.pb-fd-tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--fd-jade); transform: scaleX(0); transition: transform .2s ease; }
.pb-fd-tabs button.is-on { color: var(--fd-ink); font-weight: 600; }
.pb-fd-tabs button.is-on::after { transform: scaleX(1); }
.pb-fd-tabs button:hover { color: var(--fd-ink); }
.pb-fd-picks { display: flex; gap: 10px; }
.pb-fd-pick select { appearance: none; -webkit-appearance: none; height: 36px; padding: 0 32px 0 16px; border: 1px solid rgb(36 42 42 / .1); border-radius: 18px; color: var(--fd-ink); font: 400 14px/1 var(--font-sans); cursor: pointer;
  background: #fbfaf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23527E78' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") right 13px center no-repeat; box-shadow: 0 1px 3px rgb(36 42 42 / .06); transition: border-color .18s ease; }
.pb-fd-pick select:hover, .pb-fd-pick select:focus { border-color: rgb(82 126 120 / .6); outline: 0; }
/* The cards and the side panel. */
.pb-fd-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding: 28px 40px 40px; align-items: start; }
.pb-fd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pb-fd-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--fd-ivory); box-shadow: 0 1px 0 rgb(180 154 105 / .35) inset, 0 10px 28px -12px rgb(23 38 45 / .28), 0 2px 6px rgb(23 38 45 / .06); transition: transform .2s ease, box-shadow .2s ease; animation: pb-fd-in .22s ease both; }
.pb-fd-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgb(180 154 105 / .45) inset, 0 18px 36px -14px rgb(23 38 45 / .35), 0 2px 6px rgb(23 38 45 / .08); }
@keyframes pb-fd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pb-fd-card__face { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; cursor: pointer;
  background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--rc) 38%, #f6f4ef), color-mix(in srgb, var(--rc) 22%, #dce4e3) 60%, color-mix(in srgb, var(--rc) 30%, #17262d)); }
.pb-fd-card__face::after { content: ''; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(175deg, transparent 40%, rgb(23 38 45 / .16) 41%, transparent 70%), linear-gradient(190deg, transparent 50%, rgb(23 38 45 / .12) 51%, transparent 80%); pointer-events: none; }
.pb-fd-card__ink { color: color-mix(in srgb, var(--rc) 45%, #17262d); font: 400 92px/1 'Ma Shan Zheng', var(--font-serif); opacity: .82; transition: transform .25s ease; }
.pb-fd-card__face:hover .pb-fd-card__ink { transform: scale(1.05); }
.pb-fd-dot { position: absolute; right: 14px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #a7afae; box-shadow: 0 0 0 3px rgb(246 244 239 / .85); }
.pb-fd-dot.is-on { background: #3fb27f; }
.pb-fd-card__state { position: absolute; left: 12px; top: 10px; padding: 2px 10px; border-radius: 10px; background: rgb(246 244 239 / .82); color: #4a5453; font: 400 12px/18px var(--font-sans); }
.pb-fd-card__body { display: grid; gap: 10px; padding: 14px 16px 16px; }
.pb-fd-card__who { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pb-fd-card__name { padding: 0; border: 0; background: none; color: var(--fd-ink); font: 600 19px/1.2 var(--font-serif); letter-spacing: .06em; cursor: pointer; }
.pb-fd-card__name:hover { color: var(--fd-jade); }
.pb-fd-card__meta { display: flex; align-items: center; gap: 6px; margin: -4px 0 0; color: #5d6766; font: 400 14px/1.4 var(--font-sans); }
.pb-fd-card__meta i { color: var(--fd-gold); font-style: normal; }
.pb-fd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-fd-tags span { padding: 3px 10px; border-radius: 11px; background: rgb(82 126 120 / .1); color: #3f6660; font: 400 13px/18px var(--font-sans); }
.pb-fd-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid rgb(36 42 42 / .07); }
.pb-fd-mutual { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #5d6766; font: 400 13px/1 var(--font-sans); cursor: pointer; }
.pb-fd-mutual:hover { color: var(--fd-jade); }
.pb-fd-mutual.is-none { cursor: default; color: #9aa3a2; }
.pb-fd-mutual__faces { display: inline-flex; }
.pb-fd-mutual__faces .wd-avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--fd-ivory); border-radius: 50%; }
.pb-fd-mutual__faces .wd-avatar:first-child { margin-left: 0; }
.pb-fd-act { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border: 1px solid rgb(82 126 120 / .35); border-radius: 15px; background: none; color: var(--fd-jade); font: 500 13px/1 var(--font-sans); cursor: pointer; transition: background .18s ease; }
.pb-fd-act:hover { background: rgb(82 126 120 / .1); }
.pb-fd-follow { flex: none; padding: 6px 14px; border: 0; border-radius: 15px; background: var(--fd-jade); color: #fff; font: 500 13px/1 var(--font-sans); cursor: pointer; transition: background .18s ease, color .18s ease; }
.pb-fd-follow:hover { background: #456c67; }
.pb-fd-follow.is-on { background: rgb(36 42 42 / .07); color: #5d6766; }
.pb-fd-mlist { display: grid; gap: 4px; margin: 0; padding: 8px; border-radius: 10px; background: rgb(220 228 227 / .55); list-style: none; animation: pb-fd-in .18s ease both; }
.pb-fd-mlist button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px; border: 0; border-radius: 8px; background: none; color: var(--fd-ink); font: 400 14px/1 var(--font-sans); cursor: pointer; }
.pb-fd-mlist button:hover { background: rgb(246 244 239 / .8); }
.pb-fd-mlist small { margin-left: auto; color: #6b7574; font-size: 12px; }
.pb-fd-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 14px; padding: 60px 0; color: #5d6766; font: 400 15px/1.5 var(--font-sans); }
.pb-fd-empty b { font: 600 18px/1.4 var(--font-serif); color: var(--fd-ink); }
.pb-fd-empty button { padding: 8px 20px; border: 0; border-radius: 18px; background: var(--fd-jade); color: #fff; font: 500 14px/1 var(--font-sans); cursor: pointer; }
.pb-fd-end { grid-column: 1 / -1; margin: 6px 0 0; color: #9aa3a2; font: 400 13px/1 var(--font-sans); text-align: center; }
.pb-fd-side { position: sticky; top: 76px; display: grid; gap: 18px; }
.pb-fd-banner { position: relative; height: 150px; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 28px -12px rgb(23 38 45 / .35); }
.pb-fd-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.pb-fd-banner div { position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 16px 18px; background: linear-gradient(0deg, rgb(15 25 30 / .7), transparent); color: #fff; }
.pb-fd-banner b { font: 600 20px/1.2 var(--font-serif); letter-spacing: .16em; }
.pb-fd-banner small { font: 400 13px/1.4 var(--font-serif); letter-spacing: .1em; opacity: .9; }
.pb-fd-panel { display: grid; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--fd-ivory); box-shadow: 0 1px 0 rgb(180 154 105 / .35) inset, 0 10px 28px -14px rgb(23 38 45 / .25); }
.pb-fd-panel h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--fd-ink); font: 600 17px/1.3 var(--font-serif); letter-spacing: .12em; }
.pb-fd-panel h3::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--fd-gold); }
.pb-fd-sug { display: flex; align-items: center; gap: 10px; }
.pb-fd-sug__who { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 4px; border: 0; border-radius: 10px; background: none; color: inherit; text-align: left; cursor: pointer; transition: background .18s ease; }
.pb-fd-sug__who:hover { background: rgb(220 228 227 / .5); }
.pb-fd-sug__who > span { display: grid; gap: 2px; min-width: 0; }
.pb-fd-sug__who b { font: 600 15px/1.3 var(--font-serif); }
.pb-fd-sug__who small { color: #6b7574; font: 400 13px/1.3 var(--font-sans); }
.pb-fd-sug__who em { overflow: hidden; color: #3f6660; font: 400 12px/1.3 var(--font-sans); font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.pb-fd-wait { margin: 0; color: #5d6766; font: 400 14px/1.5 var(--font-sans); }
.pb-fd-wait b { margin-right: 6px; color: var(--fd-ink); }
.pb-fd-none { margin: 0; color: #9aa3a2; font: 400 14px/1.4 var(--font-sans); }
/* Narrower windows: two columns of cards, then the side panel under them. */
@media (max-width: 1440px) { .pb-fd--desk .pb-fd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .pb-fd--desk .pb-fd-body { grid-template-columns: minmax(0, 1fr); } .pb-fd--desk .pb-fd-side { position: static; } }
/* The phone: the same page, one column, the panel after the cards. */
.pb-fd:not(.pb-fd--desk) .pb-fd-head { min-height: 220px; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 16px; padding: 56px 16px 18px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-head__title h1 { font-size: 30px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-head__title p { margin-top: 6px; font-size: 14px; letter-spacing: .22em; }
.pb-fd:not(.pb-fd--desk) .pb-fd-search { width: auto; height: 42px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-bar { flex-direction: column; align-items: stretch; gap: 0; padding: 0 16px 10px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-tabs { justify-content: space-between; gap: 0; }
.pb-fd:not(.pb-fd--desk) .pb-fd-tabs button { padding: 14px 4px 12px; font-size: 15px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-picks { gap: 6px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-pick { flex: 1; min-width: 0; }
.pb-fd:not(.pb-fd--desk) .pb-fd-pick select { width: 100%; height: 34px; padding: 0 24px 0 10px; font-size: 13px; background-position: right 8px center; }
.pb-fd:not(.pb-fd--desk) .pb-fd-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 16px 28px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-card { flex-direction: row; }
.pb-fd:not(.pb-fd--desk) .pb-fd-card__face { flex: none; width: 108px; aspect-ratio: auto; }
.pb-fd:not(.pb-fd--desk) .pb-fd-card__ink { font-size: 54px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-card__state { left: 6px; top: 6px; padding: 1px 6px; font-size: 11px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-card__body { min-width: 0; flex: 1; gap: 8px; padding: 12px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-card__name { font-size: 17px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-side { position: static; }
@media (prefers-reduced-motion: reduce) { .pb-fd-card, .pb-fd-mlist { animation: none; } .pb-fd-card:hover { transform: none; } }
/* The rail stands at the left edge on its own, as in the 洞府. */
.pb-fd--desk .pb-rail { position: absolute; left: 0; top: 0; bottom: 0; z-index: 4; display: flex; flex-direction: column; width: 112px; padding: 20px 0; }
.pb-fd--desk .pb-fd-main { margin-left: 112px; }
.pb-fd--desk .pb-fd-card__face { aspect-ratio: 16 / 10; }
.pb-fd-act, .pb-fd-mutual, .pb-fd-follow { white-space: nowrap; }
.pb-fd:not(.pb-fd--desk) .pb-fd-mutual__faces { display: none; }
.pb-fd:not(.pb-fd--desk) .pb-fd-act { padding: 6px 10px; }

/* ---- 宗门: the sect's headquarters ---- */
.pb-sx-head { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; min-height: 360px; padding: 0 40px 26px; color: #fff;
  background: linear-gradient(90deg, rgb(15 25 30 / .7), rgb(15 25 30 / .15) 60%, transparent), linear-gradient(0deg, rgb(15 25 30 / .66), transparent 55%), url(assets/sect-gate-bg.png) 50% 38% / cover no-repeat; }
.pb-sx-head .pb-back { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(15 25 30 / .45); color: #fff; cursor: pointer; }
.pb-sx-id { display: flex; align-items: center; gap: 22px; }
.pb-emblem { position: relative; flex: none; display: grid; place-items: center; width: 76px; height: 76px; color: #e9d7a8; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .5)); }
.pb-emblem svg { position: absolute; inset: 0; }
.pb-emblem b { font: 400 30px/1 'Ma Shan Zheng', var(--font-serif); color: #f6ead0; }
.pb-sx-badge { display: inline-block; margin-bottom: 6px; padding: 2px 12px; border: 1px solid rgb(180 154 105 / .8); border-radius: 12px; background: rgb(23 38 45 / .5); color: #ecdcb4; font: 500 13px/20px var(--font-sans); letter-spacing: .12em; }
.pb-sx-id h1 { margin: 0; font: 400 56px/1.05 'Ma Shan Zheng', var(--font-serif); letter-spacing: .08em; text-shadow: 0 3px 14px rgb(0 0 0 / .55); }
.pb-sx-id p { margin: 6px 0 0; font: 400 18px/1.4 var(--font-serif); letter-spacing: .32em; opacity: .94; text-shadow: 0 1px 8px rgb(0 0 0 / .6); }
/* The numbers, in a translucent band under the name. */
.pb-sx-stats { display: flex; flex-wrap: wrap; margin: 0; max-width: 900px; border-radius: 14px; background: rgb(23 38 45 / .5); box-shadow: inset 0 0 0 1px rgb(220 228 227 / .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pb-sx-stats div { flex: 1 1 0; min-width: 120px; padding: 12px 20px; }
.pb-sx-stats div + div { box-shadow: inset 1px 0 0 rgb(220 228 227 / .16); }
.pb-sx-stats dt { color: #c7d3d1; font: 400 13px/1.4 var(--font-sans); letter-spacing: .1em; }
.pb-sx-stats dd { margin: 2px 0 0; color: #fff; font: 600 19px/1.3 var(--font-serif); letter-spacing: .04em; white-space: nowrap; }
.pb-sx .pb-fd-bar { justify-content: flex-start; }
/* The six halls. */
.pb-sx-main { min-width: 0; }
.pb-sx-halls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pb-sx-hall { position: relative; display: grid; justify-items: start; align-content: start; gap: 8px; min-height: 210px; padding: 22px 22px 20px; border: 0; border-radius: 16px; text-align: left; cursor: pointer;
  background: linear-gradient(180deg, #fbfaf6, var(--fd-ivory)); box-shadow: inset 0 0 0 1px rgb(180 154 105 / .45), 0 10px 26px -14px rgb(23 38 45 / .3); color: var(--fd-ink); transition: transform .2s ease, box-shadow .2s ease; }
.pb-sx-hall:hover, .pb-sx-hall:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(180 154 105 / .8), inset 0 -3px 0 var(--fd-jade), 0 18px 32px -16px rgb(23 38 45 / .38); outline: 0; }
.pb-sx-hall__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgb(82 126 120 / .1); box-shadow: inset 0 0 0 1px rgb(82 126 120 / .25); color: var(--fd-jade); }
.pb-sx-hall b { margin-top: 4px; font: 600 21px/1.3 var(--font-serif); letter-spacing: .14em; }
.pb-sx-hall small { color: #5d6766; font: 400 14px/1.6 var(--font-sans); }
.pb-sx-hall em { color: #8a8270; font: 400 13px/1.5 var(--font-sans); font-style: normal; }
.pb-sx-hall__go { position: absolute; right: 18px; top: 22px; color: var(--fd-jade); font: 500 13px/1 var(--font-sans); opacity: 0; transition: opacity .18s ease; }
.pb-sx-hall:hover .pb-sx-hall__go, .pb-sx-hall:focus-visible .pb-sx-hall__go { opacity: 1; }
/* Notices and events at the side. */
.pb-sx-note { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid rgb(36 42 42 / .07); }
.pb-sx-note:last-of-type { border-bottom: 0; }
.pb-sx-note__head { display: flex; align-items: center; gap: 8px; }
.pb-sx-note__head i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--fd-gold); }
.pb-sx-note.is-high .pb-sx-note__head i { background: #c0463a; box-shadow: 0 0 0 3px rgb(192 70 58 / .15); }
.pb-sx-note__head b { flex: 1; font: 600 15px/1.4 var(--font-serif); }
.pb-sx-note__head em { padding: 1px 8px; border-radius: 8px; background: rgb(192 70 58 / .1); color: #a63b30; font: 500 12px/18px var(--font-sans); font-style: normal; }
.pb-sx-note small { color: #8a9291; font: 400 12px/1 var(--font-sans); }
.pb-sx-note p { display: -webkit-box; margin: 2px 0 0; overflow: hidden; color: #4a5453; font: 400 14px/1.6 var(--font-sans); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pb-sx-note p.is-open { display: block; }
.pb-sx-note button { justify-self: start; padding: 0; border: 0; background: none; color: var(--fd-jade); font: 500 13px/1.6 var(--font-sans); cursor: pointer; }
.pb-sx-event { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.pb-sx-event img { flex: none; width: 64px; height: 48px; border-radius: 8px; object-fit: cover; box-shadow: inset 0 0 0 1px rgb(180 154 105 / .4); }
.pb-sx-event__main { display: grid; flex: 1; gap: 2px; min-width: 0; }
.pb-sx-event__main b { font: 600 15px/1.3 var(--font-serif); }
.pb-sx-event__main small { color: #6b7574; font: 400 12px/1.4 var(--font-sans); }
.pb-sx-event__main em { color: #8a9291; font: 400 12px/1.4 var(--font-sans); font-style: normal; }
.pb-sx-event__main em.is-on { color: var(--fd-jade); }
/* 宗门大厅: the gathering, the roll of disciples, the treasury, recruiting. */
.pb-sx-lobby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pb-sx-lobby > .pb-sx-gather, .pb-sx-lobby > .pb-sectleave { grid-column: 1 / -1; }
.pb-sx-gather p { margin: 0; color: #4a5453; font: 400 15px/1.6 var(--font-serif); }
.pb-sx-gather .wd-btn { justify-self: start; }
.pb-sx-members { display: grid; gap: 2px; max-height: 320px; overflow-y: auto; }
.pb-sx-member { display: flex; align-items: center; gap: 10px; padding: 6px; border: 0; border-radius: 10px; background: none; color: var(--fd-ink); text-align: left; cursor: pointer; }
button.pb-sx-member:hover { background: rgb(220 228 227 / .5); }
.pb-sx-member.is-me { cursor: default; background: rgb(82 126 120 / .08); }
.pb-sx-member > span { display: grid; flex: 1; gap: 1px; min-width: 0; }
.pb-sx-member b { font: 600 14px/1.3 var(--font-serif); }
.pb-sx-member small { color: #6b7574; font: 400 12px/1.3 var(--font-sans); }
.pb-sx-member em { color: var(--fd-gold); font: 500 12px/1 var(--font-sans); font-style: normal; white-space: nowrap; }
.pb-sx-treasure { margin: 0; color: #4a5453; font: 400 14px/1 var(--font-sans); }
.pb-sx-treasure b { color: var(--fd-ink); font: 600 28px/1.2 var(--font-serif); }
.pb-sx-quiet { margin: 0; color: #8a9291; font: 400 13px/1.5 var(--font-sans); }
.pb-sx-news p { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 8px 0; border-bottom: 1px solid rgb(36 42 42 / .06); color: var(--fd-ink); font: 400 15px/1.6 var(--font-sans); }
.pb-sx-news p i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--fd-jade); transform: translateY(-2px); }
.pb-sx-news p span { flex: 1; }
.pb-sx-news p small { flex: none; color: #8a9291; font-size: 12px; }
/* A hall's own sheet. */
.pb-sx-about { margin: 0; color: var(--ink); font: 400 15px/1.6 var(--font-serif); }
.pb-sx-duties { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: var(--ink-muted); font: 400 14px/1.6 var(--font-sans); }
.pb-sx-talk { display: grid; gap: 8px; }
.pb-sx-talk h4 { margin: 0; color: var(--ink); font: 600 15px/1.4 var(--font-serif); letter-spacing: .1em; }
.pb-sx-talk p { margin: 0; color: var(--ink); font: 400 14px/1.6 var(--font-sans); }
.pb-sx-talk p b { margin-right: 8px; color: #e2c486; }
.pb-sx-talk p small { margin-left: 8px; color: var(--ink-muted); font-size: 11px; }
.pb-sx .pb-respanel .pb-sx-quiet { color: var(--ink-muted); }
/* Tablet: three halls across, the side under them. Phone: two across, everything stacked, a smaller header. */
@media (max-width: 1440px) { .pb-fd--desk.pb-sx .pb-sx-halls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1280px) { .pb-fd--desk.pb-sx .pb-sx-halls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pb-sx:not(.pb-fd--desk) .pb-sx-head { min-height: 280px; gap: 14px; padding: 60px 16px 16px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-id { gap: 14px; }
.pb-sx:not(.pb-fd--desk) .pb-emblem { width: 56px; height: 56px; }
.pb-sx:not(.pb-fd--desk) .pb-emblem svg { width: 56px; height: 56px; }
.pb-sx:not(.pb-fd--desk) .pb-emblem b { font-size: 22px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-id h1 { font-size: 40px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-id p { font-size: 14px; letter-spacing: .2em; }
.pb-sx:not(.pb-fd--desk) .pb-sx-stats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.pb-sx:not(.pb-fd--desk) .pb-sx-stats div { flex: none; min-width: 0; padding: 8px 14px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-stats dd { font-size: 16px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-halls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-hall { min-height: 0; gap: 6px; padding: 14px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-hall__mark { width: 44px; height: 44px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-hall b { font-size: 17px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-hall small { font-size: 13px; }
.pb-sx:not(.pb-fd--desk) .pb-sx-hall em { display: none; }
.pb-sx:not(.pb-fd--desk) .pb-sx-lobby { grid-template-columns: minmax(0, 1fr); }
.pb-sx:not(.pb-fd--desk) .pb-fd-tabs { gap: 0; justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { .pb-sx-hall:hover { transform: none; } }
/* Wide windows: the six halls side by side in one row. */
@media (min-width: 1600px) { .pb-fd--desk.pb-sx .pb-sx-halls { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } .pb-fd--desk.pb-sx .pb-sx-hall { min-height: 250px; padding: 20px 16px 18px; } .pb-fd--desk.pb-sx .pb-sx-hall b { font-size: 19px; } .pb-fd--desk.pb-sx .pb-sx-hall__go { display: none; } }

/* ---- 坊市 ---- */
/* The head: a market street at dusk — rooflines, lanterns, warm windows — drawn until a photograph of one is given. */
.pb-mk-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 280px; overflow: hidden; padding: 0 40px 32px; color: #fff;
  background:
    linear-gradient(0deg, rgb(23 18 12 / .78), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 280' preserveAspectRatio='none'%3E%3Cpath d='M0 150 L120 150 L170 118 L330 118 L380 150 L460 150 L520 104 L700 104 L760 150 L860 150 L910 122 L1080 122 L1130 150 L1220 150 L1280 96 L1460 96 L1520 150 L1600 150 L1600 280 L0 280Z' fill='%23281c12'/%3E%3Cpath d='M0 196 L200 196 L240 170 L420 170 L460 196 L640 196 L690 164 L880 164 L930 196 L1120 196 L1170 168 L1360 168 L1400 196 L1600 196 L1600 280 L0 280Z' fill='%231a120b'/%3E%3Cg fill='%23f4b25c' opacity='.85'%3E%3Crect x='190' y='132' width='26' height='16'/%3E%3Crect x='560' y='120' width='30' height='18'/%3E%3Crect x='640' y='120' width='22' height='18'/%3E%3Crect x='950' y='136' width='28' height='12'/%3E%3Crect x='1320' y='112' width='30' height='18'/%3E%3Crect x='280' y='180' width='34' height='14'/%3E%3Crect x='740' y='178' width='40' height='16'/%3E%3Crect x='1230' y='182' width='34' height='12'/%3E%3C/g%3E%3C/svg%3E") 50% 100% / 100% 70% no-repeat,
    radial-gradient(80% 60% at 70% 30%, #e8b77a 0%, #b9764a 30%, #5a3b2a 62%, #2b1e16 100%); }
.pb-mk-head .pb-back { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(15 25 30 / .45); color: #fff; cursor: pointer; z-index: 2; }
.pb-mk-lanterns { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-around; pointer-events: none; }
.pb-mk-lanterns i { position: relative; width: 26px; height: 34px; margin-top: 44px; border-radius: 45% 45% 40% 40%; background: radial-gradient(circle at 50% 40%, #ffe2a8, #e0663c 60%, #8f2a1c); box-shadow: 0 0 30px 6px rgb(255 160 80 / .45); animation: pb-mk-sway 5s ease-in-out infinite; transform-origin: 50% -40px; }
.pb-mk-lanterns i::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 44px; background: rgb(40 25 15 / .7); }
.pb-mk-lanterns i:nth-child(2n) { margin-top: 64px; animation-delay: -2s; }
@keyframes pb-mk-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.pb-mk-title { position: relative; z-index: 1; padding: 12px 18px 12px 0; }
.pb-mk-title h1 { font-family: 'Ma Shan Zheng', var(--font-serif); font-weight: 400; font-size: 60px; letter-spacing: .1em; }
.pb-mk-head__right { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.pb-mk-purse { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 23px; background: rgb(23 38 45 / .62); box-shadow: inset 0 0 0 1px rgb(180 154 105 / .55); color: #f6ead0; font: 600 18px/1 var(--font-serif); white-space: nowrap; }
.pb-mk-purse small { color: #d7c49a; font: 400 13px/1 var(--font-sans); }
.pb-mk-purse i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, #e6f6ee, #6fb08f 55%, #2f6a52); transform: rotate(45deg); box-shadow: 0 0 6px rgb(111 176 143 / .6); }
/* Categories as pills; the real-world board kept apart at the end. */
.pb-mk-bar { gap: 16px; }
.pb-mk-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
.pb-mk-cats button { padding: 8px 18px; border: 1px solid rgb(36 42 42 / .1); border-radius: 18px; background: #fbfaf7; color: #4a5453; font: 500 14px/1 var(--font-sans); cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.pb-mk-cats button:hover { border-color: rgb(82 126 120 / .5); color: var(--fd-ink); }
.pb-mk-cats button.is-on { border-color: var(--fd-jade); background: var(--fd-jade); color: #fff; }
.pb-mk-cats .pb-mk-cats__merch { margin-left: 10px; border-style: dashed; }
/* The banner for something of note: dark jade, restrained gold. */
.pb-mk-main { min-width: 0; display: grid; gap: 22px; align-content: start; }
.pb-mk-promo { display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; border-radius: 18px; background: linear-gradient(120deg, #1d3a36, #17262D 70%); box-shadow: inset 0 0 0 1px rgb(180 154 105 / .45), 0 14px 30px -16px rgb(23 38 45 / .5); color: #f2ece0; }
.pb-mk-promo__art { min-height: 170px; }
.pb-mk-promo__text { display: grid; align-content: center; gap: 8px; padding: 22px 28px; }
.pb-mk-promo__text em { justify-self: start; padding: 2px 10px; border: 1px solid rgb(180 154 105 / .7); border-radius: 10px; color: #e7cf94; font: 500 12px/18px var(--font-sans); font-style: normal; letter-spacing: .08em; }
.pb-mk-promo__text b { font: 600 24px/1.3 var(--font-serif); letter-spacing: .1em; }
.pb-mk-promo__text p { margin: 0; color: #c9d3d0; font: 400 14px/1.6 var(--font-sans); }
.pb-mk-promo__text button { justify-self: start; padding: 0; border: 0; background: none; color: #e7cf94; font: 500 14px/1.6 var(--font-sans); cursor: pointer; }
/* Goods, four across. */
.pb-mk-badge { position: absolute; left: 10px; top: 10px; padding: 2px 10px; border-radius: 10px; background: rgb(23 38 45 / .72); box-shadow: inset 0 0 0 1px rgb(180 154 105 / .7); color: #ecd9ab; font: 500 12px/18px var(--font-sans); letter-spacing: .08em; }
.pb-mk-card__body { display: grid; gap: 8px; padding: 12px 14px 14px; }
.pb-mk-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pb-mk-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid rgb(36 42 42 / .07); }
.pb-mk-seller { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 0; border: 0; background: none; color: #5d6766; font: 400 13px/1 var(--font-sans); white-space: nowrap; cursor: pointer; }
.pb-mk-seller:hover { color: var(--fd-jade); }
.pb-mk-card__foot em { flex: none; color: var(--fd-jade); font: 500 12px/1 var(--font-sans); font-style: normal; }
.pb-mk-card__foot em.is-out { color: #a0a6a5; }
/* The auction in antique gold; the stall like a small market booth. */
.pb-mk-auction { box-shadow: inset 0 0 0 1px rgb(180 154 105 / .75), 0 12px 28px -14px rgb(120 90 40 / .4); background: linear-gradient(180deg, #fbf6ea, var(--fd-ivory)); }
.pb-mk-auction__art { height: 150px; overflow: hidden; border-radius: 12px; }
.pb-mk-auction__name { font: 600 19px/1.3 var(--font-serif); letter-spacing: .08em; }
.pb-mk-auction__kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; color: #6b7574; font: 400 14px/1.3 var(--font-sans); }
.pb-mk-auction__kv b { color: var(--fd-ink); font: 600 15px/1.3 var(--font-sans); justify-self: end; }
.pb-mk-gold { padding: 10px 0; border: 0; border-radius: 20px; background: linear-gradient(180deg, #c9ae78, #a1834f); color: #fff; font: 600 15px/1 var(--font-sans); letter-spacing: .1em; cursor: pointer; transition: filter .18s ease; }
.pb-mk-gold:hover { filter: brightness(1.06); }
.pb-mk-ghost { padding: 9px 0; border: 1px solid rgb(82 126 120 / .45); border-radius: 20px; background: none; color: var(--fd-jade); font: 600 14px/1 var(--font-sans); cursor: pointer; transition: background .18s ease; }
.pb-mk-ghost:hover { background: rgb(82 126 120 / .08); }
.pb-mk-stall__pic { position: relative; height: 86px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #e9dcc4, #cdb48b); }
.pb-mk-stall__pic::before { content: ''; position: absolute; left: 8%; right: 8%; top: 10px; height: 26px; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(90deg, #7a3326 0 18px, #efe2c8 18px 36px); clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); }
.pb-mk-stall__pic::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 10px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, #8a5a32, #5e3b1f); }
.pb-mk-stall__pic i { position: absolute; bottom: 34px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e6fbef, #6fb08f 55%, #2f6a52); }
.pb-mk-stall__pic i:nth-child(1) { left: 30%; } .pb-mk-stall__pic i:nth-child(2) { left: 46%; background: radial-gradient(circle at 35% 30%, #fff1d2, #d9a94e 55%, #8a5a1e); } .pb-mk-stall__pic i:nth-child(3) { left: 62%; }
.pb-mk-note { display: flex; gap: 8px; margin: 0; padding: 8px 10px; border-radius: 10px; background: rgb(82 126 120 / .08); color: #3f6660; font: 400 13px/1.5 var(--font-sans); }
.pb-mk-note i { flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--fd-jade); }
/* A good's own sheet, and the stall's. */
.pb-good-sheet__art { height: 220px; overflow: hidden; border-radius: 12px; }
.pb-good-sheet__about { margin: 0; color: var(--ink); font: 400 15px/1.7 var(--font-serif); }
.pb-good-sheet__kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; color: var(--ink-muted); font: 400 14px/1.3 var(--font-sans); }
.pb-good-sheet__kv b, .pb-good-sheet__kv .pb-linkbtn { justify-self: start; color: var(--ink); font: 600 15px/1.3 var(--font-sans); }
.pb-good-confirm { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: rgb(214 170 96 / .1); box-shadow: inset 0 0 0 1px rgb(214 170 96 / .4); }
.pb-good-confirm p { margin: 0; color: var(--ink); font: 400 14px/1.7 var(--font-sans); }
.pb-good-confirm b { color: #f0d9a4; }
.pb-good-report { display: grid; gap: 8px; }
.pb-good-report > span { color: var(--ink-muted); font: 400 13px/1 var(--font-sans); }
.pb-stall-sec { display: grid; gap: 8px; }
.pb-stall-sec h4 { margin: 0; color: var(--ink); font: 600 15px/1.4 var(--font-serif); letter-spacing: .1em; }
.pb-stall-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .06); }
.pb-stall-row > b { flex: 1; color: var(--ink); font: 600 14px/1.3 var(--font-sans); }
.pb-stall-row small { color: var(--ink-muted); font-size: 12px; }
.pb-stall-row__art { width: 40px; height: 40px; overflow: hidden; border-radius: 8px; }
.pb-stall-row__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pb-stall-row__acts .pb-input { width: 96px; height: 32px; padding: 0 10px; }
/* Narrower: two or three across; the phone: two across, categories scrolling, a simpler auction. */
.pb-mk:not(.pb-fd--desk) .pb-mk-head { min-height: 230px; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 12px; padding: 60px 16px 16px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-title h1 { font-size: 44px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-head__right { flex-direction: row-reverse; gap: 8px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-head__right .pb-fd-search { flex: 1; width: auto; height: 42px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-purse { height: 42px; padding: 0 12px; font-size: 15px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-lanterns i:nth-child(n+5) { display: none; }
.pb-mk:not(.pb-fd--desk) .pb-mk-bar { flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 10px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-cats { flex-wrap: nowrap; overflow-x: auto; padding: 12px 16px 10px; scrollbar-width: none; }
.pb-mk:not(.pb-fd--desk) .pb-mk-cats button { flex: none; }
.pb-mk:not(.pb-fd--desk) .pb-mk-bar .pb-fd-pick { padding: 0 16px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-bar .pb-fd-pick select { width: 100%; }
.pb-mk:not(.pb-fd--desk) .pb-mk-card__body { gap: 6px; padding: 10px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-card__foot em { display: none; }
.pb-mk:not(.pb-fd--desk) .pb-mk-promo { grid-template-columns: 110px minmax(0, 1fr); }
.pb-mk:not(.pb-fd--desk) .pb-mk-promo__text { padding: 14px 16px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-promo__text b { font-size: 18px; }
.pb-mk:not(.pb-fd--desk) .pb-mk-promo__text p { display: none; }
.pb-mk:not(.pb-fd--desk) .pb-mk-auction__art { height: 110px; }
@media (prefers-reduced-motion: reduce) { .pb-mk-lanterns i { animation: none; } }
.pb-mk:not(.pb-fd--desk) .pb-mk-head__right .pb-fd-search { min-width: 0; }
.pb-mk:not(.pb-fd--desk) .pb-mk-head__right { min-width: 0; width: 100%; }
/* One rail beside every place on the website, drawn like the 洞府's: dark wood, gold for where you are. */
.pb-desk--railed .pb-desk-rail { position: absolute; left: 0; top: 0; bottom: 0; z-index: 6; display: flex; flex-direction: column; width: 112px; padding: 20px 0; background: linear-gradient(180deg, #17120d, #0e0b08 70%, #0b0906); box-shadow: inset -1px 0 0 rgb(214 170 96 / .2), 4px 0 18px rgb(0 0 0 / .18); }
.pb-desk--railed .pb-main { margin-left: 112px; }
.pb-desk--railed .pb-fd--desk .pb-fd-main { margin-left: 0; }
.pb-desk--railed .pb-respanel-wrap { padding-left: 0; }

/* ---------- A clip that loops without a seam: two copies, one over the other ---------- */
.pb-loopvid { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pb-loopvid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- The rail's wallpaper: misty peaks, under a veil of deep jade so the words stay clear ---------- */
.pb-desk .pb-rail { overflow: hidden; isolation: isolate; background: #13232a !important; box-shadow: inset -1px 0 0 rgb(220 228 227 / .16), 4px 0 18px rgb(0 0 0 / .16); }
.pb-railsky { z-index: -1; background: #13232a; }
/* The clip is a tall picture in the middle of a wide frame: stand it full height and centre it, so only the picture shows. */
.pb-railsky video { left: 50%; right: auto; width: auto; height: 100%; object-fit: fill; transform: translateX(-50%); }
.pb-railsky::after { content: ''; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, rgb(19 35 42 / .94) 0%, rgb(19 35 42 / .84) 34%, rgb(19 35 42 / .55) 68%, rgb(19 35 42 / .38) 100%); }
.pb-desk .pb-rail .pb-rail__logo { color: #ead9ae; text-shadow: 0 2px 10px rgb(0 0 0 / .55); }
.pb-desk .pb-rail .pb-rail__item { color: #e8eeec; text-shadow: 0 1px 6px rgb(0 0 0 / .55); transition: background .18s ease, color .18s ease; }
.pb-desk .pb-rail .pb-rail__item:hover:not(.is-on) { background: rgb(220 228 227 / .1); }
.pb-desk .pb-rail .pb-rail__item.is-on { background: linear-gradient(90deg, rgb(82 126 120 / .78), rgb(82 126 120 / .3)); box-shadow: inset 0 0 0 1px rgb(190 220 212 / .5), 0 0 16px rgb(140 190 180 / .25); color: #fff; }

/* ---------- 宗门: sky, name, a card of numbers, six halls; notices and events at the side ---------- */
.pb-sq { background: linear-gradient(180deg, #e9f0f2 0%, #eef2f1 45%, #f3f2ed 100%); }
.pb-sq .pb-fd-main { background:
  radial-gradient(ellipse 60% 30% at 15% 100%, rgb(160 186 192 / .25), transparent 70%),
  radial-gradient(ellipse 50% 26% at 85% 100%, rgb(160 186 192 / .2), transparent 70%); }
.pb-sq-hero { position: relative; height: clamp(260px, 38vh, 380px); overflow: hidden; background: #8fb2c4; }
.pb-sq-sky video { object-position: 50% 40%; }
/* 2026-11-08: the user's picture in place of the film. */
.pb-sq-sky--img { position: absolute; inset: 0; z-index: 0; background: url(assets/sect-top.png) 50% 6% / cover no-repeat; pointer-events: none; }
.pb-sq-hero::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgb(240 246 248 / .78) 0%, rgb(240 246 248 / .42) 26%, transparent 50%),
              linear-gradient(180deg, transparent 58%, rgb(233 240 242 / .55) 86%, #e9f0f2 100%); }
.pb-sq-hero > .pb-back { position: absolute; left: 12px; top: 12px; z-index: 5; }
.pb-sq-title { position: absolute; left: clamp(28px, 5vw, 80px); top: 50%; z-index: 4; transform: translateY(-62%); }
.pb-sq-title__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pb-sq-title h1 { margin: 0; color: #141c1f; font: 400 clamp(52px, 6vw, 88px)/1 'Ma Shan Zheng', var(--font-serif); letter-spacing: .04em; text-shadow: 0 2px 0 rgb(255 255 255 / .6), 0 0 24px rgb(255 255 255 / .8); }
.pb-sq-grade { padding: 5px 16px; border-radius: 16px; background: linear-gradient(180deg, #5b4120, #3a2913); color: #f1d9a0; font: 600 16px/1.2 var(--font-serif); letter-spacing: .14em; box-shadow: inset 0 0 0 1px #c9a464, 0 2px 8px rgb(0 0 0 / .25); }
.pb-sq-title p { margin: 12px 0 0; color: #1d2a2e; font: 500 clamp(18px, 1.7vw, 26px)/1.3 var(--font-serif); letter-spacing: .3em; text-shadow: 0 0 14px rgb(255 255 255 / .9); }
.pb-sq-tools { position: absolute; right: 20px; top: 14px; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; border-radius: 28px; background: rgb(255 255 255 / .62); backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgb(23 38 45 / .14); }
.pb-sq-tools button { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: none; color: #1d2a2e; cursor: pointer; }
.pb-sq-tools button:hover { background: rgb(23 38 45 / .07); }
.pb-sq-tools em { position: absolute; right: 9px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #d23b2e; box-shadow: 0 0 0 2px #fff; }
.pb-sq-tools__me { width: 46px !important; height: 46px !important; }

.pb-sq-wrap { position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; margin-top: -64px; padding: 0 28px 36px; }
.pb-sq-col { display: grid; gap: 20px; min-width: 0; }
.pb-sq-card { border-radius: 18px; background: rgb(250 251 250 / .86); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 0 0 1px rgb(180 154 105 / .22), 0 14px 32px -16px rgb(23 38 45 / .35); }
.pb-sq-side { position: sticky; top: 16px; display: grid; gap: 18px; }
.pb-sq-side .pb-sq-card { display: grid; gap: 4px; padding: 16px 18px; }
.pb-sq-side h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid rgb(36 42 42 / .08); color: #1a2326; font: 700 20px/1.2 var(--font-serif); letter-spacing: .12em; }
.pb-sq-ico { flex: none; width: 26px; height: 26px; border-radius: 7px; background: #b58a4a; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.pb-sq-ico--note { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-6 9 6'/%3E%3Cpath d='M5 10v9h14v-9'/%3E%3Cpath d='M9 19v-5h6v5'/%3E%3C/svg%3E"); }
.pb-sq-ico--cal { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M12 13v4M10 15h4'/%3E%3C/svg%3E"); }
.pb-sq-note .pb-sx-note__head em { order: -1; padding: 2px 10px; border-radius: 6px; background: linear-gradient(180deg, #c8402e, #a8301f); color: #fff; font: 600 13px/18px var(--font-serif); letter-spacing: .1em; }
.pb-sq-side .pb-sx-event { padding: 10px 0; border-bottom: 1px solid rgb(36 42 42 / .07); }
.pb-sq-side .pb-sx-event:last-child { border-bottom: 0; }
.pb-sq-side .pb-sx-event img { width: 92px; height: 62px; border-radius: 8px; }

/* The card of numbers: the seal, four figures between thin rules, and where you stand. */
.pb-sq-stats { display: flex; align-items: center; gap: 18px; padding: 14px 22px 14px 18px; }
.pb-sq-stats .pb-emblem { width: 84px; height: 84px; color: #c9a464; filter: drop-shadow(0 3px 8px rgb(23 38 45 / .3)); }
.pb-sq-stats .pb-emblem svg { width: 84px; height: 84px; }
.pb-sq-stats .pb-emblem::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3e6a72, #17262d 75%); box-shadow: 0 0 0 2px #c9a464; }
.pb-sq-stats .pb-emblem b { position: relative; color: #f2e1b4; }
.pb-sq-stats dl { display: flex; flex: 1; margin: 0; }
.pb-sq-stats dl > div { flex: 1; display: grid; gap: 6px; justify-items: center; padding: 4px 8px; border-left: 1px solid rgb(36 42 42 / .1); }
.pb-sq-stats dl > div:first-child { border-left: 0; }
.pb-sq-stats dt { color: #4a5453; font: 500 15px/1 var(--font-serif); letter-spacing: .14em; }
.pb-sq-stats dd { margin: 0; color: #141c1f; font: 600 clamp(18px, 1.6vw, 26px)/1.2 var(--font-serif); white-space: nowrap; }
.pb-sq-joined { display: grid; justify-items: center; gap: 2px; flex: none; min-width: 132px; padding: 10px 22px; border-radius: 24px; background: linear-gradient(180deg, #3f7570, #1f4a49); color: #fff; font: 600 19px/1.2 var(--font-serif); letter-spacing: .2em; box-shadow: inset 0 0 0 1px rgb(200 230 220 / .45), 0 6px 14px -6px rgb(31 74 73 / .7); }
.pb-sq-joined small { color: #cfe3dc; font: 400 12px/1.2 var(--font-sans); letter-spacing: .06em; }

/* Tabs: a row of words, the one you are on in a jade pill. */
.pb-sq-board { padding: 14px 18px 22px; }
.pb-sq-tabs { display: flex; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid rgb(36 42 42 / .08); }
.pb-sq-tabs button { flex: 1; padding: 11px 6px; border: 0; border-radius: 22px; background: none; color: #1a2326; font: 600 18px/1 var(--font-serif); letter-spacing: .16em; cursor: pointer; transition: background .18s ease, color .18s ease; }
.pb-sq-tabs button:hover:not(.is-on) { background: rgb(82 126 120 / .1); }
.pb-sq-tabs button.is-on { background: linear-gradient(180deg, #3f7570, #1f4a49); color: #fff; box-shadow: inset 0 0 0 1px rgb(200 230 220 / .4), 0 6px 14px -6px rgb(31 74 73 / .7); }
.pb-sq-body { padding-top: 18px; }
.pb-sq-body .pb-fd-panel { background: rgb(255 255 255 / .7); }

/* Six hall cards: ivory, a gold mark, the name, its line, and ink hills at the foot. */
.pb-sq-halls { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pb-sq-hall { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; min-height: 270px; padding: 30px 8px 70px; overflow: hidden; border: 0; border-radius: 16px; cursor: pointer;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V38l18-10 14 8 22-20 20 16 16-8 26 18 20-14 24 12 18-10 22 14v16z' fill='%23c9cfcc' fill-opacity='.45'/%3E%3Cpath d='M0 60V48l26-8 20 6 30-14 24 12 22-6 30 10 22-8 26 10v10z' fill='%23aeb8b4' fill-opacity='.4'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat,
    linear-gradient(180deg, #fffdf8, #f6f1e6);
  box-shadow: inset 0 0 0 1px rgb(201 164 100 / .55), inset 0 0 0 5px #fffdf8, inset 0 0 0 6px rgb(201 164 100 / .3), 0 8px 18px -10px rgb(23 38 45 / .35);
  transition: transform .2s ease, box-shadow .2s ease; }
.pb-sq-hall:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(201 164 100 / .8), inset 0 0 0 5px #fffdf8, inset 0 0 0 6px rgb(201 164 100 / .45), 0 14px 26px -12px rgb(23 38 45 / .45); }
.pb-sq-hall__mark { display: grid; place-items: center; width: 84px; height: 84px; color: #b8863e; filter: drop-shadow(0 3px 4px rgb(140 100 40 / .35)); }
.pb-sq-hall__mark svg { stroke-width: 1.5; }
.pb-sq-hall b { color: #141c1f; font: 700 clamp(20px, 1.7vw, 28px)/1.2 var(--font-serif); letter-spacing: .1em; }
.pb-sq-hall small { color: #4a5453; font: 500 clamp(14px, 1.1vw, 17px)/1.2 var(--font-serif); letter-spacing: .2em; }
.pb-sq .pb-sx-lobby { gap: 18px; }

@media (max-width: 1500px) { .pb-sq-halls { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pb-sq-hall { min-height: 220px; } }
@media (max-width: 1200px) { .pb-sq-wrap { grid-template-columns: minmax(0, 1fr); } .pb-sq-side { position: static; } }
@media (prefers-reduced-motion: reduce) { .pb-sq-hall { transition: none; } .pb-sq-hall:hover { transform: none; } }

/* On the phone: a shorter sky, the numbers in two rows, halls three across, tabs scroll. */
.pb-sq:not(.pb-fd--desk) .pb-sq-hero { height: 240px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-title { left: 18px; top: auto; bottom: 74px; transform: none; }
.pb-sq:not(.pb-fd--desk) .pb-sq-title h1 { font-size: 48px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-grade { font-size: 13px; padding: 3px 10px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-title p { font-size: 15px; letter-spacing: .2em; }
.pb-sq:not(.pb-fd--desk) .pb-sq-tools { right: 10px; top: 10px; padding: 3px 4px 3px 8px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-tools button { width: 36px; height: 36px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-wrap { margin-top: -48px; padding: 0 12px 28px; gap: 14px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-stats { flex-wrap: wrap; gap: 10px; padding: 12px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-stats .pb-emblem { display: none; }
.pb-sq:not(.pb-fd--desk) .pb-sq-stats dl { flex-basis: 100%; }
.pb-sq:not(.pb-fd--desk) .pb-sq-stats dt { font-size: 12px; letter-spacing: .06em; }
.pb-sq:not(.pb-fd--desk) .pb-sq-stats dd { font-size: 15px; white-space: normal; text-align: center; }
.pb-sq:not(.pb-fd--desk) .pb-sq-joined { flex: 1; min-width: 0; padding: 8px; font-size: 16px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-board { padding: 10px 10px 16px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-tabs { overflow-x: auto; scrollbar-width: none; }
.pb-sq:not(.pb-fd--desk) .pb-sq-tabs button { flex: none; padding: 9px 14px; font-size: 15px; letter-spacing: .08em; }
.pb-sq:not(.pb-fd--desk) .pb-sq-halls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-hall { min-height: 150px; padding: 16px 4px 40px; background-size: 100% 36px, auto; }
.pb-sq:not(.pb-fd--desk) .pb-sq-hall__mark { width: 52px; height: 52px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-hall__mark svg { width: 44px; height: 44px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-hall b { font-size: 17px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-hall small { font-size: 12px; letter-spacing: .1em; }
.pb-sq:not(.pb-fd--desk) .pb-sx-lobby { grid-template-columns: minmax(0, 1fr); }
.pb-sq-sky video { object-position: 50% 14%; }
.pb-sx-member > span:first-child { flex: none; }
.pb-sq .wd-btn:not(.wd-btn--secondary) { background: linear-gradient(180deg, #3f7570, #1f4a49); color: #fff; box-shadow: inset 0 0 0 1px rgb(200 230 220 / .4); }
.pb-sq-hall__mark { color: #b07a2c; }
.pb-sq-hall__mark svg { stroke-width: 1.8; }
@media (max-width: 1500px) { .pb-fd--desk .pb-sq-hall { min-height: 200px; padding: 22px 8px 54px; } .pb-fd--desk .pb-sq-hall__mark { width: 66px; height: 66px; } }
/* The looping clips use the room's own film player: the copy showing fades in over the one beneath. */
.pb-loopvid { isolation: isolate; }
.pb-loopvid > .pb-dfvideo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity .9s ease-in-out; }
.pb-loopvid > .pb-dfvideo.is-on { opacity: 1; }
.pb-loopvid > .pb-dfvideo.is-under { z-index: -1; opacity: 1; transition: none; }
.pb-railsky > .pb-dfvideo { left: 50%; right: auto; width: auto; object-fit: fill; transform: translateX(-50%); }
.pb-sq-sky > .pb-dfvideo { object-position: 50% 14%; }

/* ---------- 坊市: a moving lantern street, a bar of kinds, a night-blue banner, today's goods, three cards, the news ---------- */
.pb-mk2 { background: linear-gradient(180deg, #e8eef2 0%, #eef1f0 50%, #f2f1ec 100%); }
.pb-mk2 .pb-fd-main { display: flex; flex-direction: column; }
.pb-mk2-hero { position: relative; flex: none; height: clamp(300px, 40vh, 400px); overflow: hidden; background: #2a3550; }
.pb-mk2-sky > .pb-dfvideo { object-position: 50% 42%; }
.pb-mk2-hero::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgb(20 24 34 / .45) 0%, rgb(20 24 34 / .12) 34%, transparent 55%),
              linear-gradient(180deg, rgb(20 24 34 / .32) 0%, transparent 22%, transparent 64%, rgb(232 238 242 / .5) 90%, #e8eef2 100%); }
.pb-mk2-top { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 14px 20px; }
.pb-mk2-search { display: flex; align-items: center; gap: 10px; width: min(440px, 40%); height: 44px; padding: 0 18px; border-radius: 22px; background: rgb(255 255 255 / .82); backdrop-filter: blur(10px); color: #3a4446; box-shadow: 0 6px 18px rgb(0 0 0 / .18); }
.pb-mk2-search input { flex: 1; min-width: 0; border: 0; background: none; color: #1d2a2e; font: 400 15px/1 var(--font-sans); outline: none; }
.pb-mk2-search:focus-within { box-shadow: 0 0 0 2px rgb(82 126 120 / .6), 0 6px 18px rgb(0 0 0 / .18); }
.pb-mk2-purse { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; height: 42px; padding: 0 20px 0 14px; border-radius: 22px; background: rgb(18 26 40 / .62); backdrop-filter: blur(8px); color: #fff; box-shadow: inset 0 0 0 1px rgb(220 200 150 / .45); }
.pb-mk2-purse i { width: 16px; height: 22px; background: linear-gradient(160deg, #e6f6ff, #5fa8e8 55%, #2a5fa8); clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%); }
.pb-mk2-purse small { color: #e8dcc0; font: 500 14px/1 var(--font-serif); letter-spacing: .1em; }
.pb-mk2-purse b { font: 600 19px/1 var(--font-serif); }
.pb-mk2-me { padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: 0 0 0 2px #e9d7a8, 0 4px 12px rgb(0 0 0 / .3); cursor: pointer; }
.pb-mk2-title { position: absolute; left: clamp(28px, 4vw, 64px); top: 30%; z-index: 4; }
.pb-mk2-title h1 { position: relative; display: inline-block; margin: 0; color: #fbf3e2; font: 400 clamp(64px, 7vw, 104px)/1 'Ma Shan Zheng', var(--font-serif); text-shadow: 0 3px 0 rgb(80 50 20 / .5), 0 0 28px rgb(0 0 0 / .45); }
.pb-mk2-seal { position: absolute; right: -34px; top: 18%; width: 22px; padding: 4px 0; border-radius: 3px; background: #b5281c; color: #fbe6c8; font: 400 13px/1.1 var(--font-serif); text-align: center; text-shadow: none; writing-mode: vertical-rl; letter-spacing: 0; }
.pb-mk2-title p { margin: 10px 0 0; color: #fbf3e2; font: 500 clamp(18px, 1.8vw, 26px)/1.3 var(--font-serif); letter-spacing: .3em; text-shadow: 0 2px 10px rgb(0 0 0 / .6); }
.pb-mk2-ways { position: absolute; right: 24px; bottom: 54px; z-index: 4; display: flex; gap: 16px; }
.pb-mk2-ways button { display: grid; justify-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #fff; font: 500 14px/1.2 var(--font-serif); letter-spacing: .08em; text-shadow: 0 1px 6px rgb(0 0 0 / .8); cursor: pointer; }
.pb-mk2-ways span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, rgb(60 70 90 / .75), rgb(18 24 36 / .85)); color: #ecd9a6; box-shadow: inset 0 0 0 2px rgb(220 190 120 / .7), 0 6px 14px rgb(0 0 0 / .35); transition: transform .18s ease; }
.pb-mk2-ways button:hover span { transform: translateY(-2px); }

/* The bar of kinds, half over the street. */
.pb-mk2-bar { position: relative; z-index: 5; margin: -34px 24px 0; padding: 6px; border-radius: 30px; background: rgb(250 251 251 / .86); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgb(180 154 105 / .25), 0 10px 26px -12px rgb(23 38 45 / .35); }
.pb-mk2 .pb-mk-cats { flex-wrap: nowrap; gap: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.pb-mk2 .pb-mk-cats button { flex: 1 0 auto; padding: 12px 22px; border: 0; border-radius: 24px; background: none; color: #1d2a2e; font: 600 18px/1 var(--font-serif); letter-spacing: .14em; }
.pb-mk2 .pb-mk-cats button + button { box-shadow: -1px 0 0 rgb(36 42 42 / .08); }
.pb-mk2 .pb-mk-cats button:hover:not(.is-on) { background: rgb(82 126 120 / .1); }
.pb-mk2 .pb-mk-cats button.is-on { background: linear-gradient(180deg, #3f7570, #1f4a49); color: #fff; box-shadow: inset 0 0 0 1px rgb(200 230 220 / .4), 0 6px 14px -6px rgb(31 74 73 / .7); }
.pb-mk2 .pb-mk-cats .pb-mk-cats__merch { margin-left: 0; font-size: 15px; color: #6b5a3a; }

.pb-mk2-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; padding: 18px 24px 14px; }
.pb-mk2-main { display: grid; gap: 16px; min-width: 0; }

/* The banner: night blue, gold words, a vessel at the right. */
.pb-mk2-promo { position: relative; display: flex; align-items: center; min-height: 140px; overflow: hidden; border-radius: 18px;
  background: radial-gradient(ellipse 50% 90% at 78% 50%, rgb(110 140 220 / .35), transparent 70%), linear-gradient(100deg, #18223a 0%, #24345a 55%, #1a2440 100%);
  box-shadow: inset 0 0 0 1px rgb(220 190 120 / .55), inset 0 0 0 5px rgb(24 34 58 / .9), inset 0 0 0 6px rgb(220 190 120 / .3), 0 12px 26px -14px rgb(23 38 45 / .5); }
.pb-mk2-promo__text { position: relative; z-index: 1; display: grid; gap: 8px; justify-items: start; padding: 20px 34px; }
.pb-mk2-promo__text b { color: #f3e2b4; font: 600 clamp(24px, 2.2vw, 34px)/1.2 var(--font-serif); letter-spacing: .18em; text-shadow: 0 2px 10px rgb(0 0 0 / .4); }
.pb-mk2-promo__text p { margin: 0; color: #d9dfee; font: 400 15px/1.4 var(--font-serif); letter-spacing: .2em; }
.pb-mk2-promo__text button { margin-top: 4px; padding: 7px 20px; border: 1px solid rgb(220 190 120 / .7); border-radius: 18px; background: rgb(255 255 255 / .06); color: #f3e2b4; font: 500 15px/1 var(--font-serif); letter-spacing: .1em; cursor: pointer; }
.pb-mk2-promo__text button:hover { background: rgb(220 190 120 / .18); }
.pb-mk2-promo__art { position: absolute; right: 6%; top: 50%; width: 150px; height: 150px; transform: translateY(-50%); filter: drop-shadow(0 0 22px rgb(150 180 255 / .55)); }
.pb-mk2-promo__art svg { width: 100%; height: 100%; }

/* Today's goods: a pale panel, a flame, the day's clock, ivory cards with a price pill. */
.pb-mk2-shelf { display: grid; gap: 14px; padding: 14px 16px 18px; border-radius: 18px; background: rgb(250 251 250 / .86); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgb(180 154 105 / .22), 0 12px 28px -16px rgb(23 38 45 / .35); }
.pb-mk2-shelf__head { display: flex; align-items: center; gap: 14px; }
.pb-mk2-shelf__head h2 { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; margin: 0; color: #1a2326; font: 700 21px/1.2 var(--font-serif); letter-spacing: .14em; }
.pb-mk2-flame { flex: none; width: 22px; height: 26px; background: linear-gradient(0deg, #b8401f, #e88a2c 60%, #f6c35a); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0c1 5 7 8 7 15a7 7 0 0 1-14 0c0-4 3-6 3-10 2 2 3 4 3 6 2-3 2-7 1-11z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0c1 5 7 8 7 15a7 7 0 0 1-14 0c0-4 3-6 3-10 2 2 3 4 3 6 2-3 2-7 1-11z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pb-mk2-clock { display: inline-flex; align-items: baseline; gap: 8px; color: #4a5453; font: 500 14px/1 var(--font-serif); }
.pb-mk2-clock b { color: #a8301f; font: 600 20px/1 var(--font-serif); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.pb-mk2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pb-mk2 .pb-mk-seller { justify-content: center; color: #6b7574; font: 400 13px/1.2 var(--font-serif); letter-spacing: .06em; }

/* Three cards at the side, each a way in: ivory, a title in ink, a line and a picture at the right. */
.pb-mk2-side { display: grid; gap: 14px; position: sticky; top: 14px; }
.pb-mk2-way { position: relative; display: flex; align-items: center; min-height: 128px; padding: 0; overflow: hidden; border: 0; border-radius: 16px; text-align: left; cursor: pointer;
  background: radial-gradient(ellipse 60% 80% at 85% 50%, rgb(255 236 200 / .7), transparent 70%), linear-gradient(180deg, #fbf8f1, #efe7d7);
  box-shadow: inset 0 0 0 1px rgb(201 164 100 / .6), inset 0 0 0 5px #fbf8f1, inset 0 0 0 6px rgb(201 164 100 / .3), 0 10px 22px -14px rgb(23 38 45 / .45); transition: transform .2s ease; }
.pb-mk2-way:hover { transform: translateY(-2px); }
.pb-mk2-way.is-on { box-shadow: inset 0 0 0 2px #3f7570, inset 0 0 0 6px #fbf8f1, 0 10px 22px -14px rgb(23 38 45 / .45); }
.pb-mk2-way__text { position: relative; z-index: 1; display: grid; gap: 6px; flex: 1; min-width: 0; padding: 16px 0 16px 22px; }
.pb-mk2-way__text b { color: #141c1f; font: 700 clamp(24px, 1.9vw, 32px)/1.1 'Ma Shan Zheng', var(--font-serif); letter-spacing: .08em; }
.pb-mk2-way__text small { color: #3a4446; font: 500 14px/1.3 var(--font-serif); letter-spacing: .06em; }
.pb-mk2-way__text em { color: #7a6438; font: 500 13px/1.3 var(--font-serif); font-style: normal; letter-spacing: .06em; }
.pb-mk2-way__art { flex: none; width: 128px; height: 108px; margin-right: 10px; }
.pb-mk2-way__art svg { width: 100%; height: 100%; }
.pb-mk2-way .pb-mk-stall__pic { flex: none; width: 140px; height: 96px; margin-right: 12px; }

/* The market's news, running right to left. */
.pb-mk2-news { display: flex; align-items: center; gap: 16px; margin: 0 24px 22px; padding: 10px 18px; border-radius: 16px; background: rgb(250 251 250 / .86); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgb(180 154 105 / .22), 0 8px 20px -14px rgb(23 38 45 / .35); }
.pb-mk2-news > b { display: inline-flex; align-items: center; gap: 8px; flex: none; color: #1a2326; font: 700 19px/1 var(--font-serif); letter-spacing: .14em; }
.pb-mk2-scrollico { width: 24px; height: 24px; background: #7a6438; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 4h12a2 2 0 0 1 0 4H6M6 4a2 2 0 0 0 0 4v10a2 2 0 0 0 2 2h10M18 8v10a2 2 0 0 1-2 2M9 11h6M9 14h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 4h12a2 2 0 0 1 0 4H6M6 4a2 2 0 0 0 0 4v10a2 2 0 0 0 2 2h10M18 8v10a2 2 0 0 1-2 2M9 11h6M9 14h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.pb-mk2-news__run { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.pb-mk2-news__run > div { display: flex; gap: 46px; width: max-content; animation: pb-mk2-run 60s linear infinite; }
.pb-mk2-news__run:hover > div { animation-play-state: paused; }
.pb-mk2-news__run span { color: #3a4446; font: 400 15px/1.6 var(--font-serif); white-space: nowrap; }
@keyframes pb-mk2-run { to { transform: translateX(-50%); } }
.pb-mk2-news > button { flex: none; padding: 0 0 0 16px; border: 0; border-left: 1px solid rgb(36 42 42 / .12); background: none; color: #1d2a2e; font: 500 15px/1.4 var(--font-serif); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pb-mk2-news__run > div { animation: none; flex-wrap: wrap; width: auto; } .pb-mk2-way { transition: none; } }

@media (max-width: 1600px) { .pb-mk2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pb-mk2-body { grid-template-columns: minmax(0, 1fr) 330px; } }
@media (max-width: 1360px) { .pb-mk2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pb-mk2 .pb-mk-cats button { padding: 11px 16px; font-size: 16px; letter-spacing: .08em; } }

/* On the phone: a shorter street, the ways in a row under the name, kinds scrolling, two goods across, cards stacked. */
.pb-mk2:not(.pb-fd--desk) .pb-mk2-hero { height: 300px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-top { gap: 8px; padding: 10px 12px; flex-wrap: wrap; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-search { order: 3; width: 100%; height: 38px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-purse { height: 36px; padding: 0 14px 0 10px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-purse b { font-size: 16px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-title { left: 18px; top: 112px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-title h1 { font-size: 56px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-title p { font-size: 15px; letter-spacing: .2em; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-ways { right: 12px; bottom: 46px; gap: 10px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-ways button { font-size: 12px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-ways span { width: 46px; height: 46px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-bar { margin: -26px 12px 0; padding: 4px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk-cats button { flex: none; padding: 9px 14px; font-size: 15px; letter-spacing: .06em; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-body { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 10px; gap: 14px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-promo { min-height: 120px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-promo__text { padding: 16px 18px; max-width: 64%; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-promo__text b { font-size: 19px; letter-spacing: .08em; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-promo__text p { font-size: 12px; letter-spacing: .06em; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-promo__art { width: 100px; height: 100px; right: 4%; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-shelf { padding: 12px 10px 14px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-shelf__head { flex-wrap: wrap; gap: 8px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-shelf__head h2 { font-size: 18px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-side { position: static; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-way { min-height: 104px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-way__art { width: 96px; height: 84px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-way .pb-mk-stall__pic { width: 104px; height: 76px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-news { margin: 0 12px 18px; padding: 8px 12px; gap: 10px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-news > b { font-size: 15px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-news > button { font-size: 13px; padding-left: 10px; }
.pb-mk2-promo__art { overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 2px rgb(220 190 120 / .7), 0 0 36px rgb(150 180 255 / .5); }
.pb-mk2-way__art, .pb-mk2-way .pb-mk-stall__pic { overflow: hidden; border-radius: 12px; }
.pb-mk2-shelf__head h2 { white-space: nowrap; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-shelf__head h2 { flex: 1 0 100%; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-clock { flex: 1; font-size: 13px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-clock b { font-size: 17px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-title { top: 96px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-title h1 { font-size: 48px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-ways { bottom: 40px; }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-ways span { width: 42px; height: 42px; }
.pb-mk2 .pb-mk2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1600px) { .pb-mk2 .pb-mk2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .pb-mk2 .pb-mk2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pb-mk2:not(.pb-fd--desk) .pb-mk2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ==========================================================================
   Made to the reference picture (1672 × 941). On the website every size below is a number of that picture's pixels,
   times --u (one picture pixel at this window's width), so the page keeps the picture's proportions at any width.
   ========================================================================== */
.pb-desk { --u: calc(100vw / 1672); --rail-w: calc(165 * var(--u)); }

/* ---------- The rail: its wallpaper at the foot, deep slate above, line marks, the place you are in a pale jade pill ---------- */
.pb-desk .pb-rail { width: var(--rail-w) !important; padding: 0 !important; background: #19232b !important; box-shadow: inset -1px 0 0 rgb(255 255 255 / .06), 2px 0 12px rgb(0 0 0 / .25) !important; }
.pb-railwall { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #19232b; }
/* The picture's own top edge melts into the dark, wherever the window's height puts it. */
.pb-railwall::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 724 / 2172; background: url(assets/rail-wall.png) center bottom / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .18) 8%, rgb(0 0 0 / .5) 16%, rgb(0 0 0 / .82) 24%, #000 32%); mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .18) 8%, rgb(0 0 0 / .5) 16%, rgb(0 0 0 / .82) 24%, #000 32%); }
.pb-railwall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #19232b 0%, #19232b 42%, rgb(25 35 43 / .86) 47%, rgb(25 35 43 / .6) 52%, rgb(25 35 43 / .32) 57%, rgb(25 35 43 / .12) 62%, rgb(25 35 43 / 0) 68%); }
.pb-desk .pb-rail .pb-rail__logo { margin: calc(20 * var(--u)) 0 0; color: #f4efe4; font: 400 calc(48 * var(--u))/1 'Ma Shan Zheng', var(--font-serif); text-shadow: 0 0 calc(10 * var(--u)) rgb(255 255 255 / .35); }
.pb-railcloud { display: block; width: calc(54 * var(--u)); height: calc(27 * var(--u)); margin: calc(32 * var(--u)) 0 calc(28 * var(--u)) calc(34 * var(--u)); color: #c9d2d6; opacity: .85; }
.pb-desk .pb-rail .pb-rail__item { gap: calc(18 * var(--u)); height: calc(50 * var(--u)); margin: 0 0 calc(3 * var(--u)) calc(14 * var(--u)); padding: 0 0 0 calc(24 * var(--u)); border-radius: calc(25 * var(--u)) 0 0 calc(25 * var(--u));
  color: #eef1f0; font: 500 calc(22 * var(--u))/1 var(--font-serif); letter-spacing: .14em; text-shadow: 0 1px 4px rgb(0 0 0 / .5); }
.pb-desk .pb-rail .pb-rail__item .pb-railmark { flex: none; width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.pb-desk .pb-rail .pb-rail__item em { left: calc(48 * var(--u)); top: calc(10 * var(--u)); width: calc(7 * var(--u)); height: calc(7 * var(--u)); }
.pb-desk .pb-rail .pb-rail__item:hover:not(.is-on) { background: rgb(220 235 235 / .08); }
.pb-desk .pb-rail .pb-rail__item.is-on { background: linear-gradient(90deg, rgb(150 190 192 / .42), rgb(120 160 165 / .26)); color: #fff;
  box-shadow: inset 1px 1px 0 rgb(230 245 245 / .8), inset 1px -1px 0 rgb(230 245 245 / .8), 0 calc(4 * var(--u)) calc(14 * var(--u)) calc(-6 * var(--u)) rgb(0 0 0 / .35); }
/* What stands beside the rail moves over by its width. */
.pb-desk--railed .pb-main { margin-left: var(--rail-w); }
.pb-res--desk .pb-res-top { left: var(--rail-w); }
.pb-desk .pb-res--desk .pb-respanel-wrap { padding-left: calc(var(--rail-w) + 14px); }

/* ---------- 坊市 ---------- */
.pb-mk3 { background: #e7e9ea; font-family: var(--font-serif); }
.pb-mk3 .pb-fd-main { position: relative; background:
  radial-gradient(ellipse 50% 22% at 20% 92%, rgb(255 255 255 / .55), transparent 70%), radial-gradient(ellipse 50% 24% at 80% 96%, rgb(255 255 255 / .5), transparent 70%),
  linear-gradient(180deg, #dfe3e6 0%, #e9ebec 60%, #e4e6e7 100%); }
/* The street picture, its full width, fading into mist under the shelves. */
.pb-mk3-street { position: absolute; left: 0; right: 0; top: 0; height: calc(753 * var(--u)); pointer-events: none;
  background: url(assets/market-street.png) center calc(-280 * var(--u)) / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgb(0 0 0 / .45) 56%, transparent 66%); mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgb(0 0 0 / .45) 56%, transparent 66%); }
.pb-mk3-hero { position: relative; height: calc(410 * var(--u)); }
.pb-mk3-hero > .pb-back { position: absolute; left: 12px; top: 12px; z-index: 3; }

.pb-mk3-search { position: absolute; left: calc(45 * var(--u)); top: calc(18 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); width: calc(430 * var(--u)); height: calc(40 * var(--u)); padding: 0 calc(20 * var(--u));
  border-radius: calc(20 * var(--u)); background: rgb(255 255 255 / .72); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .85), 0 2px 10px rgb(0 0 0 / .12); color: #3c3c3c; }
.pb-mk3-search .pb-mkmark { width: calc(22 * var(--u)); height: calc(22 * var(--u)); flex: none; }
.pb-mk3-search input { flex: 1; min-width: 0; border: 0; background: none; color: #2a2a2a; font: 400 calc(17 * var(--u))/1 var(--font-serif); letter-spacing: .04em; outline: none; }
.pb-mk3-search input::placeholder { color: #6a6a6a; }
.pb-mk3-search:focus-within { box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px rgb(61 106 108 / .5); }

.pb-mk3-purses { position: absolute; right: calc(12 * var(--u)); top: calc(6 * var(--u)); display: flex; align-items: center; gap: calc(14 * var(--u)); }
.pb-mk3-purse { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); height: calc(36 * var(--u)); padding: 0 calc(6 * var(--u)) 0 calc(16 * var(--u)); border-radius: calc(18 * var(--u));
  background: linear-gradient(180deg, rgb(40 52 68 / .72), rgb(22 30 42 / .78)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22), 0 2px 8px rgb(0 0 0 / .25); color: #fff; }
.pb-mk3-purse:first-child { min-width: calc(200 * var(--u)); }
.pb-mk3-purse:nth-child(2) { min-width: calc(175 * var(--u)); }
.pb-mk3-purse > .pb-mkmark { width: auto; height: calc(26 * var(--u)); }
.pb-mk3-purse small { color: #ece4cf; font: 500 calc(17 * var(--u))/1 var(--font-serif); letter-spacing: .08em; }
.pb-mk3-purse b { flex: 1; text-align: right; font: 500 calc(19 * var(--u))/1 var(--font-serif); letter-spacing: .02em; }
.pb-mk3-purse button { display: grid; place-items: center; width: calc(28 * var(--u)); height: calc(28 * var(--u)); padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.pb-mk3-purse button:hover { background: rgb(255 255 255 / .14); }
.pb-mk3-purse button .pb-mkmark { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.pb-mk3-me { width: calc(58 * var(--u)); height: calc(58 * var(--u)); padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: none; box-shadow: 0 0 0 calc(2 * var(--u)) #efe3c4, 0 2px 8px rgb(0 0 0 / .35); cursor: pointer; }
.pb-mk3-me > * { width: 100% !important; height: 100% !important; }

.pb-mk3-title { position: absolute; left: calc(65 * var(--u)); top: calc(118 * var(--u)); }
.pb-mk3-title h1 { position: relative; display: inline-block; margin: 0; color: #fbf6ea; font: 400 calc(112 * var(--u))/1 'Ma Shan Zheng', var(--font-serif); letter-spacing: -.02em;
  text-shadow: 0 calc(2 * var(--u)) 0 rgb(90 60 30 / .55), 0 0 calc(18 * var(--u)) rgb(0 0 0 / .35); }
.pb-mk3-seal { position: absolute; left: calc(208 * var(--u)); top: calc(56 * var(--u)); display: flex; align-items: center; justify-content: center; width: calc(18 * var(--u)); height: calc(36 * var(--u)); border-radius: calc(3 * var(--u));
  background: #b4241a; color: #fbe4c8; font: 400 calc(12 * var(--u))/1.05 var(--font-serif); writing-mode: vertical-rl; text-shadow: none; letter-spacing: 0; }
.pb-mk3-title p { margin: calc(8 * var(--u)) 0 0; color: #fff; font: 600 calc(29 * var(--u))/1.2 var(--font-serif); letter-spacing: .14em; text-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgb(0 0 0 / .55); }


.pb-mk3-cats { position: absolute; left: calc(45 * var(--u)); top: calc(338 * var(--u)); display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 0 !important; width: calc(1075 * var(--u)); height: calc(52 * var(--u)); padding: 0 calc(5 * var(--u)) !important;
  border-radius: calc(26 * var(--u)); background: rgb(242 244 245 / .8); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 0 0 1px rgb(190 196 200 / .6), 0 calc(4 * var(--u)) calc(14 * var(--u)) rgb(0 0 0 / .12); }
.pb-mk3 .pb-mk3-cats button { position: relative; flex: 1 1 0; height: calc(42 * var(--u)); padding: 0 !important; border: 0 !important; border-radius: calc(21 * var(--u)) !important; background: none; color: #2b2b2b;
  font: 600 calc(22 * var(--u))/1 var(--font-serif) !important; letter-spacing: .1em !important; box-shadow: none !important; }
.pb-mk3 .pb-mk3-cats button + button::before { content: ''; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: rgb(0 0 0 / .14); }
.pb-mk3 .pb-mk3-cats button.is-on + button::before, .pb-mk3 .pb-mk3-cats button.is-on::before { display: none; }
.pb-mk3 .pb-mk3-cats button:hover:not(.is-on) { background: rgb(61 106 108 / .08); }
.pb-mk3 .pb-mk3-cats button.is-on { flex: 0 0 calc(138 * var(--u)); margin-right: calc(4 * var(--u)); background: linear-gradient(180deg, #46777a, #23484c) !important; color: #fff !important;
  box-shadow: inset 0 0 0 1px rgb(210 236 232 / .65), 0 0 0 calc(2 * var(--u)) rgb(255 255 255 / .75), 0 0 calc(8 * var(--u)) rgb(255 255 255 / .6) !important; }

.pb-mk3-body { display: grid; grid-template-columns: calc(1008 * var(--u)) calc(417 * var(--u)); grid-template-rows: auto 1fr; column-gap: calc(20 * var(--u)); row-gap: calc(15 * var(--u)); padding: 0 0 0 calc(35 * var(--u)); position: relative; }

.pb-mk3 .pb-mk2-flame { width: calc(24 * var(--u)); height: calc(28 * var(--u)); background: linear-gradient(0deg, #a8401e, #d0682a 60%, #e89a40); }
.pb-mk3-rule { position: relative; display: block; width: calc(48 * var(--u)); height: 1px; margin-left: calc(4 * var(--u)); background: linear-gradient(90deg, #c8a464, transparent); }
.pb-mk3-rule::before { content: ''; position: absolute; left: 0; top: 50%; width: calc(6 * var(--u)); height: calc(6 * var(--u)); background: #c8a464; transform: translate(-50%, -50%) rotate(45deg); }


.pb-mk3-way__art { position: absolute; right: calc(10 * var(--u)); bottom: calc(4 * var(--u)); width: calc(170 * var(--u)); height: calc(104 * var(--u)); }

.pb-mk3-news { display: flex; align-items: center; gap: calc(26 * var(--u)); margin: calc(15 * var(--u)) calc(27 * var(--u)) calc(30 * var(--u)) calc(32 * var(--u)); height: calc(50 * var(--u)); padding: 0 calc(20 * var(--u)) 0 calc(30 * var(--u));
  border-radius: calc(12 * var(--u)); background: rgb(246 247 247 / .8); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .95), 0 0 0 1px rgb(200 204 206 / .7), 0 calc(4 * var(--u)) calc(12 * var(--u)) rgb(20 30 40 / .08); }
.pb-mk3-news > b { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); flex: none; color: #1f1f1f; font: 700 calc(25 * var(--u))/1 var(--font-serif); letter-spacing: .14em; }
.pb-mk3 .pb-mk2-scrollico { width: calc(32 * var(--u)); height: calc(32 * var(--u)); background: #6e5a3a; }
.pb-mk3-news .pb-mk2-news__run > div { gap: calc(50 * var(--u)); }
.pb-mk3-news .pb-mk2-news__run span { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); color: #2f2f2f; font: 500 calc(17 * var(--u))/1 var(--font-serif); letter-spacing: .04em; }
.pb-mk3-news > button { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); flex: none; padding: 0 0 0 calc(18 * var(--u)); border: 0; border-left: 1px solid rgb(0 0 0 / .16); background: none; color: #222; font: 500 calc(17 * var(--u))/1.4 var(--font-serif); cursor: pointer; }
.pb-mk3-news > button .pb-mkmark { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

.pb-mk3-newslist { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.pb-mk3-newslist p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 6px 0; border-bottom: 1px solid rgb(0 0 0 / .06); font: 400 14px/1.5 var(--font-serif); }
.pb-mk3-earn { display: grid; gap: 10px; }
.pb-mk3-earn p { display: flex; align-items: flex-start; gap: 8px; margin: 0; font: 400 14px/1.7 var(--font-sans); }
.pb-mk3-earn b { flex: none; font-family: var(--font-serif); }

/* ---------- 坊市 on the phone: the same parts, reflowed to one column ---------- */
.pb-mk3:not(.pb-fd--desk) { --u: 1px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-street { height: 340px; background-size: cover; background-position: 38% top; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%); }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-hero { height: 330px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-search { left: 12px; right: 12px; top: 60px; width: auto; height: 38px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-search input { font-size: 14px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-purses { right: 10px; top: 10px; gap: 6px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-purse { height: 34px; gap: 5px; padding: 0 2px 0 9px; min-width: 0 !important; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-purse > .pb-mkmark { height: 20px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-purse small { font-size: 12px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-purse b { font-size: 14px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-purse button { width: 24px; height: 24px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-me { width: 38px; height: 38px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-title { left: 18px; top: 108px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-title h1 { font-size: 58px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-seal { left: 112px; top: 26px; width: 15px; height: 30px; font-size: 10px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-title p { font-size: 16px; letter-spacing: .12em; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-cats { left: 12px; right: 12px; top: 276px; width: auto; height: 46px; overflow-x: auto; scrollbar-width: none; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-cats button { flex: none !important; height: 38px; padding: 0 14px !important; font-size: 16px !important; letter-spacing: .06em !important; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-cats button.is-on { flex: none !important; padding: 0 18px !important; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 14px; padding: 4px 12px 0; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-way__art { width: 150px; height: 92px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-news { margin: 14px 12px 20px; height: 44px; gap: 10px; padding: 0 12px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-news > b { font-size: 16px; gap: 6px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-news > b .pb-mk3-rule { display: none; }
.pb-mk3:not(.pb-fd--desk) .pb-mk2-scrollico { width: 22px; height: 22px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-news .pb-mk2-news__run span { font-size: 13px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-news > button { font-size: 13px; padding-left: 10px; }
.pb-desk .pb-rail .pb-rail__item em { display: none; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-seal { left: 124px; }

/* ---------- 坊市 · 周边 (2026-11-08): measured on the 1672 × 941 picture, in --u; the shared top comes from .pb-mk3 ---------- */

.pb-zb .pb-mk3-hero { height: calc(376 * var(--u)); }
.pb-zb .pb-mk3-search { width: calc(535 * var(--u)); }
.pb-zb-title { left: calc(57 * var(--u)); top: calc(80 * var(--u)); }
.pb-zb .pb-zb-title h1 { font-size: calc(86 * var(--u)); }
.pb-zb .pb-mk3-seal { left: calc(178 * var(--u)); top: calc(30 * var(--u)); width: calc(22 * var(--u)); height: calc(44 * var(--u)); font-size: calc(14 * var(--u)); }
.pb-zb .pb-zb-title p { margin-top: calc(6 * var(--u)); font-size: calc(24 * var(--u)); letter-spacing: .12em; }
.pb-zb-title small { display: block; margin-top: calc(6 * var(--u)); color: #fff; font: 500 calc(16 * var(--u))/1.2 var(--font-serif); letter-spacing: .22em; text-shadow: 0 1px calc(6 * var(--u)) rgb(0 0 0 / .7); }

.pb-zb-ways { position: absolute; left: calc(1140 * var(--u)); top: calc(186 * var(--u)); display: flex; gap: calc(26 * var(--u)); }
.pb-zb-ways button { display: grid; justify-items: center; gap: calc(3 * var(--u)); width: calc(64 * var(--u)); padding: 0; border: 0; background: none; color: #fff; font: 500 calc(15 * var(--u))/1.2 var(--font-serif); white-space: nowrap; text-shadow: 0 1px 4px rgb(0 0 0 / .9); cursor: pointer; }
.pb-zb-ways button > span { position: relative; display: grid; place-items: center; width: calc(52 * var(--u)); height: calc(52 * var(--u)); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgb(70 56 40 / .78), rgb(24 20 16 / .86)); color: #f1dca4;
  box-shadow: inset 0 0 0 calc(1.5 * var(--u)) #cfa860, inset 0 0 0 calc(3.5 * var(--u)) rgb(30 24 18 / .9), inset 0 0 0 calc(4.5 * var(--u)) rgb(207 168 96 / .5), 0 calc(3 * var(--u)) calc(10 * var(--u)) rgb(0 0 0 / .4); transition: transform .18s ease; }
.pb-zb-ways button:hover > span { transform: translateY(-2px); }
.pb-zb-ways .pb-mkmark { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.pb-zb-dot { position: absolute; right: calc(9 * var(--u)); top: calc(7 * var(--u)); width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: #e0443a; box-shadow: 0 0 0 calc(1.5 * var(--u)) #2a2016; }
.pb-zb-badge { position: absolute; right: calc(-4 * var(--u)); top: calc(-3 * var(--u)); min-width: calc(18 * var(--u)); height: calc(18 * var(--u)); padding: 0 calc(4 * var(--u)); border-radius: calc(9 * var(--u)); background: #d83a2e; color: #fff; font: 600 calc(12 * var(--u))/calc(18 * var(--u)) var(--font-sans); font-style: normal; text-align: center; text-shadow: none; box-sizing: border-box; }

.pb-zb .pb-zb-cats { left: calc(20 * var(--u)); top: calc(270 * var(--u)); width: calc(1137 * var(--u)); height: calc(50 * var(--u)); }
.pb-zb .pb-zb-cats button { font-size: calc(21 * var(--u)) !important; }

.pb-zb-filters { position: absolute; left: calc(20 * var(--u)); top: calc(330 * var(--u)); display: flex; align-items: center; gap: calc(15 * var(--u)); }
.pb-zb-chip { display: inline-flex; align-items: center; justify-content: center; gap: calc(7 * var(--u)); height: calc(36 * var(--u)); padding: 0 calc(24 * var(--u)); border: 0; border-radius: calc(18 * var(--u));
  background: rgb(246 247 247 / .84); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 0 0 1px rgb(190 196 200 / .7), 0 calc(2 * var(--u)) calc(6 * var(--u)) rgb(0 0 0 / .08);
  color: #2b2b2b; font: 500 calc(16 * var(--u))/1 var(--font-serif); letter-spacing: .12em; white-space: nowrap; cursor: pointer; }
.pb-zb-chip:hover:not(.is-on):not(:disabled) { background: rgb(255 255 255 / .95); }
.pb-zb-chip.is-on { background: linear-gradient(180deg, #46777a, #23484c); color: #fff; box-shadow: inset 0 0 0 1px rgb(210 236 232 / .6), 0 0 0 1px rgb(255 255 255 / .7); }
.pb-zb-chip .pb-mkmark { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.pb-zb-funnel { width: calc(44 * var(--u)); padding: 0; }
.pb-zb-funnel:disabled { cursor: default; color: #555; }
.pb-zb-pricesel { position: relative; padding: 0 calc(18 * var(--u)) 0 calc(24 * var(--u)); }
.pb-zb-pricesel select { appearance: none; -webkit-appearance: none; padding: 0 calc(4 * var(--u)) 0 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; outline: none; }
.pb-zb-pricesel select option { color: #222; }
.pb-zb-pricesel:focus-within { box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px rgb(61 106 108 / .5); }

.pb-zb-acts { position: absolute; right: calc(22 * var(--u)); top: calc(328 * var(--u)); display: flex; gap: calc(16 * var(--u)); }
.pb-zb-act { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); height: calc(44 * var(--u)); padding: 0 calc(28 * var(--u)) 0 calc(24 * var(--u)); border: 0; border-radius: calc(22 * var(--u));
  background: linear-gradient(180deg, #3f6668, #1f3d40); color: #fff; font: 600 calc(19 * var(--u))/1 var(--font-serif); letter-spacing: .12em; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(222 196 140 / .9), inset 0 0 0 calc(3 * var(--u)) rgb(20 40 42 / .6), 0 0 0 calc(2 * var(--u)) rgb(255 255 255 / .55), 0 calc(3 * var(--u)) calc(10 * var(--u)) rgb(0 0 0 / .22); transition: transform .18s ease; }
.pb-zb-act.is-gold { background: linear-gradient(180deg, #a3824e, #6a4e26); }
.pb-zb-act:hover { transform: translateY(-1px); }
.pb-zb-act .pb-mkmark { width: calc(20 * var(--u)); height: calc(20 * var(--u)); color: #f3e2b8; }

.pb-zb .pb-zb-body { grid-template-columns: calc(1143 * var(--u)) calc(315 * var(--u)); column-gap: calc(14 * var(--u)); row-gap: calc(10 * var(--u)); padding: 0 0 0 calc(20 * var(--u)); }
.pb-zb-banner { grid-column: 1; grid-row: 1; position: relative; height: calc(150 * var(--u)); overflow: hidden; border-radius: calc(14 * var(--u)); background: #2b2f45;
  box-shadow: inset 0 0 0 calc(1.5 * var(--u)) #d6b476, 0 0 0 calc(2 * var(--u)) rgb(255 255 255 / .6), 0 calc(6 * var(--u)) calc(16 * var(--u)) rgb(20 30 50 / .25); }
.pb-zb-banner__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pb-zb-banner__text { position: relative; z-index: 1; display: grid; justify-items: start; padding: calc(24 * var(--u)) 0 0 calc(60 * var(--u)); }
.pb-zb-banner__text b { font: 700 calc(36 * var(--u))/1.2 var(--font-serif); letter-spacing: .1em; background: linear-gradient(180deg, #fbf0d4, #dcbb7c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .45)); }
.pb-zb-banner__text p { margin: calc(8 * var(--u)) 0 0 calc(12 * var(--u)); color: #eee8da; font: 500 calc(17 * var(--u))/1.2 var(--font-serif); letter-spacing: .2em; }
.pb-zb-banner__text button { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); margin: calc(12 * var(--u)) 0 0 calc(12 * var(--u)); height: calc(30 * var(--u)); padding: 0 calc(18 * var(--u)) 0 calc(32 * var(--u)); border: 1px solid rgb(232 214 176 / .85); border-radius: calc(15 * var(--u));
  background: rgb(90 60 40 / .45); color: #f2e8d0; font: 500 calc(16 * var(--u))/1 var(--font-serif); letter-spacing: .12em; cursor: pointer; }
.pb-zb-banner__text button:hover { background: rgb(232 214 176 / .2); }
.pb-zb-banner__text button .pb-mkmark { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }

.pb-zb-shelf { grid-column: 1; grid-row: 2; align-self: start; padding: calc(4 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)); border-radius: calc(14 * var(--u)); background: rgb(246 247 247 / .76); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .95), 0 0 0 1px rgb(200 204 206 / .7), 0 calc(6 * var(--u)) calc(16 * var(--u)) rgb(20 30 40 / .1); }
.pb-zb-shelf__head { display: flex; align-items: center; gap: calc(12 * var(--u)); height: calc(34 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(14 * var(--u)); margin-bottom: calc(4 * var(--u)); }
.pb-zb-shelf__head h2 { display: flex; align-items: center; gap: calc(10 * var(--u)); flex: 1; min-width: 0; margin: 0; color: #222; font: 700 calc(23 * var(--u))/1 var(--font-serif); letter-spacing: .12em; white-space: nowrap; }
.pb-zb .pb-mk2-flame { width: calc(20 * var(--u)); height: calc(24 * var(--u)); background: linear-gradient(0deg, #a8401e, #d0682a 60%, #e89a40); }
.pb-zb-shelf__count { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); color: #555; font: 500 calc(14 * var(--u))/1 var(--font-serif); }
.pb-zb-shelf .pb-info__btn { color: #555; border-color: rgb(0 0 0 / .25); }
.pb-zb-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: calc(5 * var(--u)); }
.pb-zb-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: calc(258 * var(--u)); padding: 0 0 calc(6 * var(--u)); overflow: hidden; border-radius: calc(8 * var(--u));
  background: linear-gradient(180deg, #fbfaf7, #efebe3); box-shadow: inset 0 0 0 1px rgb(214 204 186 / .9), 0 calc(2 * var(--u)) calc(6 * var(--u)) rgb(20 30 40 / .1); transition: transform .18s ease, box-shadow .18s ease; }
.pb-zb-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgb(200 170 110 / .9), 0 calc(6 * var(--u)) calc(14 * var(--u)) rgb(20 30 40 / .16); }
.pb-zb-card__art { display: block; flex: none; width: 100%; height: calc(134 * var(--u)); padding: 0; border: 0; background: none; cursor: zoom-in; }
.pb-zb-card__art svg { display: block; width: 100%; height: 100%; }
.pb-zb-tag { position: absolute; left: calc(5 * var(--u)); top: calc(5 * var(--u)); height: calc(19 * var(--u)); padding: 0 calc(7 * var(--u)); border-radius: calc(4 * var(--u)); color: #fff; font: 500 calc(12 * var(--u))/calc(19 * var(--u)) var(--font-serif); letter-spacing: .06em; }
.pb-zb-tag.is-v { background: rgb(84 66 138 / .9); }
.pb-zb-tag.is-b { background: rgb(138 104 70 / .92); }
.pb-zb-tag.is-g { background: rgb(52 104 90 / .92); }
.pb-zb-tag.is-r { background: rgb(150 86 52 / .92); }
.pb-zb-card__name { margin: calc(6 * var(--u)) calc(5 * var(--u)) 0; padding: 0; border: 0; background: none; color: #1e1e1e; text-align: left; font: 700 calc(12.5 * var(--u))/1.3 var(--font-serif); letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.pb-zb-card__line { margin: calc(3 * var(--u)) calc(6 * var(--u)) 0; color: #6a6a6a; font: 500 calc(11.5 * var(--u))/1.2 var(--font-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-zb-seller { display: flex; align-items: center; gap: calc(4 * var(--u)); min-width: 0; color: #333; font: 500 calc(12 * var(--u))/1.2 var(--font-serif); white-space: nowrap; }
.pb-zb-seller > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.pb-zb-card .pb-zb-seller { margin: calc(5 * var(--u)) calc(6 * var(--u)) 0; }
.pb-zb-seller__av { flex: none; width: calc(17 * var(--u)); height: calc(17 * var(--u)); overflow: hidden; border-radius: 50%; }
.pb-zb-seller__av > * { width: 100% !important; height: 100% !important; font-size: calc(9 * var(--u)) !important; }
.pb-zb-check { flex: none; width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.pb-zb-price { display: inline-flex; align-items: baseline; gap: calc(3 * var(--u)); color: #a8361f; font-family: var(--font-serif); }
.pb-zb-price small { font: 600 calc(14 * var(--u))/1 var(--font-serif); }
.pb-zb-price b { font: 700 calc(19 * var(--u))/1 var(--font-serif); }
.pb-zb-price.is-swap { align-items: center; color: #b2402a; font: 700 calc(16 * var(--u))/1 var(--font-serif); letter-spacing: .06em; }
.pb-zb-price.is-swap .pb-mkmark { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.pb-zb-card .pb-zb-price { margin: calc(4 * var(--u)) calc(6 * var(--u)) 0; }
.pb-zb-card__acts { display: grid; grid-template-columns: 1fr 1fr; gap: calc(5 * var(--u)); margin-top: auto; padding: 0 calc(6 * var(--u)); }
.pb-zb-card__acts button { display: inline-flex; align-items: center; justify-content: center; gap: calc(3 * var(--u)); height: calc(22 * var(--u)); padding: 0; border: 0; border-radius: calc(11 * var(--u)); background: rgb(255 255 255 / .9);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .13); color: #444; font: 500 calc(11 * var(--u))/1 var(--font-serif); cursor: pointer; }
.pb-zb-card__acts button:hover { background: #fff; color: #23484c; }
.pb-zb-card__acts button.is-on { color: #b23a2a; }
.pb-zb-card__acts .pb-mkmark { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.pb-zb-card__acts button.is-on .pb-mkmark path { fill: currentColor; }

.pb-zb-side { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-rows: calc(100 * var(--u)) calc(100 * var(--u)) calc(100 * var(--u)) calc(116 * var(--u)); row-gap: calc(9 * var(--u)); align-content: start; }
.pb-zb-way { position: relative; display: flex; align-items: flex-start; padding: 0; overflow: hidden; border: 0; border-radius: calc(12 * var(--u)); text-align: left; cursor: pointer;
  background: radial-gradient(ellipse 50% 80% at 78% 60%, rgb(255 246 226 / .9), transparent 70%), linear-gradient(180deg, #fbfaf6 0%, #efeae0 100%);
  box-shadow: inset 0 0 0 1px rgb(206 182 134 / .85), inset 0 0 0 calc(4 * var(--u)) rgb(250 248 242 / .9), inset 0 0 0 calc(5 * var(--u)) rgb(206 182 134 / .45), 0 0 0 calc(2 * var(--u)) rgb(255 255 255 / .6), 0 calc(4 * var(--u)) calc(12 * var(--u)) rgb(20 30 40 / .12); transition: transform .2s ease; }
.pb-zb-way:hover { transform: translateY(-2px); }
.pb-zb-way.is-on { box-shadow: inset 0 0 0 calc(2 * var(--u)) #3d6a6c, inset 0 0 0 calc(5 * var(--u)) rgb(250 248 242 / .9), 0 calc(4 * var(--u)) calc(12 * var(--u)) rgb(20 30 40 / .12); }
.pb-zb-way__text { position: relative; z-index: 1; display: grid; gap: calc(12 * var(--u)); padding: calc(18 * var(--u)) 0 0 calc(18 * var(--u)); }
.pb-zb-way__text b { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); color: #161616; font: 900 calc(26 * var(--u))/1 var(--font-serif); letter-spacing: .06em; }
.pb-zb-way__text b .pb-mkmark { width: calc(26 * var(--u)); height: calc(26 * var(--u)); color: #8a6a2a; }
.pb-zb-way__text small { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding-left: calc(4 * var(--u)); color: #2e2e2e; font: 500 calc(15 * var(--u))/1 var(--font-serif); letter-spacing: .1em; }
.pb-zb-way__text small .pb-mkmark { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.pb-zb-way--stall .pb-zb-way__text { padding-top: calc(26 * var(--u)); gap: calc(16 * var(--u)); }
.pb-zb-way__art { position: absolute; right: calc(6 * var(--u)); bottom: 0; width: calc(110 * var(--u)); height: calc(96 * var(--u)); opacity: .95; }
.pb-zb-way .pb-mk3-way__art { width: calc(140 * var(--u)); height: calc(92 * var(--u)); right: calc(4 * var(--u)); bottom: calc(6 * var(--u)); }

.pb-zb .pb-zb-news { margin: calc(18 * var(--u)) calc(14 * var(--u)) calc(24 * var(--u)) calc(17 * var(--u)); height: calc(52 * var(--u)); }
.pb-zb-news .pb-mk2-news__run button { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: 0; border: 0; background: none; color: #2f2f2f; font: 500 calc(16 * var(--u))/1 var(--font-serif); letter-spacing: .02em; white-space: nowrap; cursor: pointer; }
.pb-zb-news .pb-mk2-news__run button:hover { color: #23484c; text-decoration: underline; }
.pb-zb-news .pb-mk2-news__run .pb-mkmark { width: calc(13 * var(--u)); height: calc(13 * var(--u)); color: #777; }

/* The panels: chat, forms, rows, orders. */
.pb-zb-sheet__art { background: #eef0f3; }
.pb-zb-sheet__art svg, .pb-stall-row__art svg { display: block; width: 100%; height: 100%; }
.pb-respanel .pb-zb-seller { color: inherit; font-size: 14px; gap: 6px; }
.pb-respanel .pb-zb-seller__av { width: 20px; height: 20px; }
.pb-respanel .pb-zb-check { width: 14px; height: 14px; }
.pb-respanel .pb-zb-price { color: #f0b49a; }
.pb-respanel .pb-zb-price small { font-size: 13px; }
.pb-respanel .pb-zb-price b { font-size: 17px; }
.pb-respanel .pb-zb-price.is-swap { color: #9fd6c2; font-size: 15px; }
.pb-respanel .pb-zb-price .pb-mkmark { width: 15px; height: 15px; }
.pb-zb-chat { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; padding: 4px 0 10px; }
.pb-zb-chat__msg { justify-self: start; max-width: 85%; margin: 0; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: rgb(255 255 255 / .08); font: 400 14px/1.6 var(--font-sans); }
.pb-zb-chat__msg small { display: block; color: var(--ink-muted); font-size: 11px; }
.pb-zb-chat__msg.is-me { justify-self: end; border-radius: 12px 12px 4px 12px; background: rgb(82 126 120 / .55); }
.pb-zb-chat__form { display: flex; gap: 8px; }
.pb-zb-chat__form .pb-input { flex: 1; min-width: 0; }
.pb-zb-form { display: grid; gap: 12px; }
.pb-zb-form > label { display: grid; gap: 6px; font: 500 13px/1.3 var(--font-sans); color: var(--ink-muted); }
.pb-zb-form > label.pb-zb-form__check { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.pb-zb-rows { display: grid; gap: 2px; }
.pb-zb-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / .06); background: none; color: inherit; text-align: left; cursor: pointer; }
.pb-zb-row > b { flex: 1; font: 600 14px/1.3 var(--font-sans); }
.pb-zb-qty { display: inline-flex; align-items: center; gap: 6px; }
.pb-zb-qty button { width: 28px; height: 28px; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; background: none; color: inherit; font: 500 16px/1 var(--font-sans); cursor: pointer; }
.pb-zb-qty output { min-width: 18px; text-align: center; font: 600 14px/1 var(--font-sans); }
.pb-zb-order { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.pb-zb-order p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font: 400 14px/1.5 var(--font-sans); }
.pb-zb-order p b { flex: 1; font-weight: 600; }
.pb-zb-order small { color: var(--ink-muted); }
.pb-zb-order em { flex: 1; color: var(--ink-muted); font-style: normal; font-size: 13px; }
.pb-zb-order .pb-actions { margin: 0; }

/* ---------- 坊市 · 周边 on the phone: one column, the bars slide sideways ---------- */
.pb-zb:not(.pb-fd--desk) .pb-mk3-street { height: 470px; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-hero { height: auto; display: flex; flex-direction: column; gap: 12px; padding: 10px 12px 12px; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-hero > :not(.pb-back) { position: relative; left: auto; right: auto; top: auto; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-hero > .pb-back { position: absolute; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-purses { order: 0; justify-content: flex-end; padding-left: 46px; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-purse small { display: none; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-search { order: 1; width: auto; }
.pb-zb:not(.pb-fd--desk) .pb-zb-title { order: 2; margin-top: 8px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-title h1 { font-size: 60px; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-seal { left: 124px; top: 22px; width: 16px; height: 32px; font-size: 10px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-title p { font-size: 16px; letter-spacing: .08em; }
.pb-zb:not(.pb-fd--desk) .pb-zb-title small { font-size: 12px; letter-spacing: .12em; }
.pb-zb:not(.pb-fd--desk) .pb-zb-ways { order: 3; justify-content: space-between; gap: 0; }
.pb-zb:not(.pb-fd--desk) .pb-zb-ways button { width: 25%; font-size: 12px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-ways button > span { width: 46px; height: 46px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-ways .pb-mkmark { width: 22px; height: 22px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-dot { right: 7px; top: 6px; width: 8px; height: 8px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-badge { min-width: 17px; height: 17px; font-size: 11px; line-height: 17px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-cats { order: 4; width: auto; height: 46px; overflow-x: auto; scrollbar-width: none; }
.pb-zb:not(.pb-fd--desk) .pb-zb-cats button { font-size: 16px !important; }
.pb-zb:not(.pb-fd--desk) .pb-zb-filters { order: 5; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-chip { flex: none; height: 32px; padding: 0 14px; font-size: 13px; letter-spacing: .06em; }
.pb-zb:not(.pb-fd--desk) .pb-zb-funnel { width: 36px; padding: 0; }
.pb-zb:not(.pb-fd--desk) .pb-zb-chip .pb-mkmark { width: 14px; height: 14px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-acts { order: 6; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-act { justify-content: center; height: 42px; padding: 0 12px; font-size: 16px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 14px; padding: 0 12px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-banner, .pb-zb:not(.pb-fd--desk) .pb-zb-shelf, .pb-zb:not(.pb-fd--desk) .pb-zb-side { grid-column: 1; grid-row: auto; }
.pb-zb:not(.pb-fd--desk) .pb-zb-banner { height: 150px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-banner__art { left: auto; right: -440px; width: 1000px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-banner__text { padding: 18px 0 0 16px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-banner__text b { font-size: 20px; letter-spacing: .04em; max-width: 13em; }
.pb-zb:not(.pb-fd--desk) .pb-zb-banner__text p { margin-left: 0; font-size: 12px; letter-spacing: .08em; }
.pb-zb:not(.pb-fd--desk) .pb-zb-banner__text button { margin-left: 0; font-size: 13px; height: 28px; padding: 0 12px 0 16px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-shelf { padding: 6px 8px 8px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-shelf__head { flex-wrap: wrap; height: auto; min-height: 34px; row-gap: 4px; padding: 0 4px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-shelf__head h2 { font-size: 19px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-card { height: auto; padding-bottom: 8px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-card__art { height: 150px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-card__name { font-size: 14px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-card__line, .pb-zb:not(.pb-fd--desk) .pb-zb-seller { font-size: 12px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-card__acts { margin-top: 8px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-card__acts button { height: 30px; font-size: 12px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 110px; gap: 10px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-way__text { padding: 14px 0 0 12px; gap: 8px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-way__text b { font-size: 18px; gap: 4px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-way__text b .pb-mkmark { width: 18px; height: 18px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-way__text small { font-size: 11px; letter-spacing: .02em; padding-left: 0; }
.pb-zb:not(.pb-fd--desk) .pb-zb-way__art { width: 74px; height: 62px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-way .pb-mk3-way__art { width: 100px; height: 64px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-news { margin: 14px 12px 20px; height: 44px; gap: 10px; padding: 0 12px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-news > b { font-size: 16px; gap: 6px; }
.pb-zb:not(.pb-fd--desk) .pb-zb-news > b .pb-mk3-rule { display: none; }
.pb-zb:not(.pb-fd--desk) .pb-zb-news .pb-mk2-news__run button { font-size: 13px; }

/* ---------- 万象 (2026-11-07): landscape header, category bar, feed; 发现 and 我的万象 columns. Palette from the brief. ---------- */
.pb-wx { --wx-jade: #174F4B; --wx-ink: #19383D; --wx-turq: #3C8983; --wx-ivory: #F7F6F2; --wx-mist: #E9EFF0; --wx-gold: #C5A36A; --wx-char: #252B2C; --wx-mute: #7d8a8a;
  position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #e3eaea, #edf1ef 34%, #f3f3ef); color: var(--wx-char); font-family: 'Noto Sans SC', var(--font-sans); }
.pb-wx-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; }
.pb-wx button { font-family: inherit; color: inherit; cursor: pointer; }
.pb-wx button:focus-visible, .pb-wx input:focus-visible { outline: 2px solid var(--wx-turq); outline-offset: 2px; }

/* Header: the realm wide across the page, the name at its left, the search above, your tools at the right. */
.pb-wx-hero { position: relative; height: clamp(250px, 18vw, 360px); }
.pb-wx-hero__img { position: absolute; inset: 0; background: url(assets/wanxiang-top.png) center 42% / cover no-repeat; }
.pb-wx-hero__img::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(10 26 28 / .62) 0%, rgb(10 26 28 / .26) 30%, rgb(10 26 28 / 0) 55%), linear-gradient(180deg, rgb(10 22 26 / .38) 0%, rgb(10 22 26 / 0) 32%, rgb(227 234 234 / 0) 70%, #e3eaea 100%); }
.pb-wx-title { position: absolute; left: clamp(28px, 3vw, 56px); bottom: clamp(56px, 4.6vw, 84px); color: #fbf8f0; text-shadow: 0 2px 14px rgb(0 0 0 / .45); }
.pb-wx-title h1 { margin: 0; font: 400 clamp(48px, 3.4vw, 64px)/1 'Ma Shan Zheng', var(--font-serif); letter-spacing: .06em; }
.pb-wx-title p { margin: 10px 0 0; font: 500 clamp(15px, 1vw, 18px)/1.5 var(--font-serif); letter-spacing: .32em; opacity: .95; }
.pb-wx-search { position: absolute; top: 22px; left: 50%; z-index: 4; width: min(560px, 38%); translate: -50% 0; transition: width .25s ease; }
.pb-wx-search.is-focus { width: min(640px, 46%); }
.pb-wx-search__field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 1px solid rgb(255 255 255 / .5); border-radius: 999px;
  background: rgb(255 255 255 / .2); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: #fff; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.pb-wx-search.is-focus .pb-wx-search__field { background: rgb(247 246 242 / .95); color: var(--wx-ink); box-shadow: 0 0 0 3px rgb(60 137 131 / .28), 0 10px 30px rgb(0 0 0 / .18); }
.pb-wx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: inherit; font: 400 15px/1 'Noto Sans SC', var(--font-sans); }
.pb-wx-search input::placeholder { color: currentColor; opacity: .82; }
.pb-wx-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: rgb(247 246 242 / .98); box-shadow: 0 16px 40px rgb(10 30 32 / .22); animation: pb-arrive-ui .18s ease both; }
.pb-wx-sugg button { display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 9px 14px; border: 0; border-radius: 10px; background: none; text-align: left; }
.pb-wx-sugg button:hover { background: var(--wx-mist); }
.pb-wx-sugg b { font: 500 14px/20px 'Noto Sans SC', var(--font-sans); color: var(--wx-char); }
.pb-wx-sugg small { margin-left: auto; color: var(--wx-mute); font-size: 12px; }
.pb-wx-tools { position: absolute; top: 18px; right: clamp(20px, 2vw, 40px); z-index: 4; display: flex; align-items: center; gap: 12px; }
.pb-wx-tool { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(255 255 255 / .4); border-radius: 50%;
  background: rgb(255 255 255 / .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff !important; transition: background .2s ease; }
.pb-wx-tool:hover { background: rgb(255 255 255 / .32); }
.pb-wx-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #c8553d; box-shadow: 0 0 0 2px rgb(255 255 255 / .85); }
.pb-wx-me { padding: 0; border: 2px solid rgb(255 255 255 / .75); border-radius: 50%; background: none; line-height: 0; box-shadow: 0 4px 14px rgb(0 0 0 / .25); }

/* Three columns under the header: feed 52, 发现 25, 我的万象 23. */
.pb-wx--desk .pb-wx-cols { position: relative; z-index: 2; display: grid; grid-template-columns: 52fr 25fr 23fr; gap: clamp(16px, 1.4vw, 26px); align-items: start; margin-top: -38px; padding: 0 clamp(20px, 2vw, 40px) 48px; }
.pb-wx-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* The kinds bar and 发布见闻. */
.pb-wx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; padding: 0 10px 0 26px; border: 1px solid rgb(255 255 255 / .75); border-radius: 18px;
  background: rgb(247 246 242 / .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 28px rgb(25 56 61 / .09); }
.pb-wx-cats { display: flex; gap: clamp(20px, 2vw, 36px); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pb-wx-cats::-webkit-scrollbar { display: none; }
.pb-wx-cats button { position: relative; flex: none; padding: 20px 2px; border: 0; background: none; color: #5d6c6c !important; font: 500 16px/1 'Noto Sans SC', var(--font-sans); transition: color .2s ease; }
.pb-wx-cats button:hover { color: var(--wx-jade) !important; }
.pb-wx-cats button.is-on { color: var(--wx-jade) !important; font-weight: 700; }
.pb-wx-cats button.is-on::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 10px; height: 2px; border-radius: 2px; background: var(--wx-turq); }
.pb-wx-jade { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 22px; border: 1px solid rgb(197 163 106 / .75); border-radius: 999px;
  background: linear-gradient(180deg, #2b6d66, #174F4B); color: #fbf8f0 !important; font: 600 15px/1 'Noto Sans SC', var(--font-sans); letter-spacing: .06em;
  box-shadow: 0 6px 16px rgb(23 79 75 / .25), inset 0 1px 0 rgb(255 255 255 / .22); transition: box-shadow .2s ease, filter .2s ease; white-space: nowrap; }
.pb-wx-jade:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 8px 22px rgb(23 79 75 / .32), 0 0 0 3px rgb(60 137 131 / .14), inset 0 1px 0 rgb(255 255 255 / .28); }
.pb-wx-jade:disabled { opacity: .45; cursor: default; }
.pb-wx-jade--sm { height: 34px; padding: 0 16px; font-size: 14px; }
.pb-wx-jade.is-done { background: var(--wx-mist); color: var(--wx-jade) !important; border-color: rgb(23 79 75 / .25); box-shadow: none; }
.pb-wx-ghost { height: 34px; padding: 0 16px; border: 1px solid rgb(37 43 44 / .15); border-radius: 999px; background: transparent; color: #3d4a4b !important; font: 400 13.5px/1 'Noto Sans SC', var(--font-sans); transition: border-color .2s ease, color .2s ease; }
.pb-wx-ghost:hover { border-color: var(--wx-turq); color: var(--wx-jade) !important; }
.pb-wx-gold { height: 34px; padding: 0 20px; border: 1px solid rgb(240 216 162 / .85); border-radius: 999px; background: linear-gradient(180deg, #dcc08a, #b48f50); color: #2a200f !important;
  font: 600 14px/1 'Noto Sans SC', var(--font-sans); letter-spacing: .08em; box-shadow: 0 6px 16px rgb(0 0 0 / .25); transition: filter .2s ease; }
.pb-wx-gold:hover { filter: brightness(1.08); }

/* The feed. */
.pb-wx-feed { display: flex; flex-direction: column; gap: 18px; }
.pb-wx-feed__head { display: flex; align-items: baseline; gap: 10px; padding: 2px 6px; }
.pb-wx-feed__head b { font: 700 17px/1.4 var(--font-serif); color: var(--wx-ink); }
.pb-wx-feed__head small { color: var(--wx-mute); font-size: 13px; }
.pb-wx-feed__head .pb-wx-ghost { margin-left: auto; }
.pb-wx-empty { display: grid; justify-items: center; gap: 16px; padding: 46px 20px; border-radius: 18px; background: rgb(247 246 242 / .9); color: #4c5a5b; }
.pb-wx-empty b { font: 500 16px/1.5 'Noto Sans SC', var(--font-sans); }
.pb-wx-post { position: relative; padding: 22px 26px 12px; border: 1px solid rgb(37 43 44 / .08); border-radius: 18px; background: rgb(247 246 242 / .96);
  box-shadow: 0 10px 30px rgb(25 56 61 / .06); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.pb-wx-post:hover { transform: translateY(-2px); border-color: rgb(60 137 131 / .32); box-shadow: 0 16px 38px rgb(25 56 61 / .11); }
.pb-wx-post__head { display: flex; align-items: center; gap: 12px; }
.pb-wx-post__head .pb-avbtn { flex: none; }
.pb-wx-post__who { flex: 1; min-width: 0; }
.pb-wx-post__line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.pb-wx-post__name { padding: 0; border: 0; background: none; color: var(--wx-char) !important; font: 600 16px/1.3 'Noto Sans SC', var(--font-sans); }
.pb-wx-post__name:hover { color: var(--wx-jade) !important; }
.pb-wx-realm { padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--wx-mist); color: #4e6363; font: 400 12px/1.2 'Noto Sans SC', var(--font-sans); font-style: normal; }
.pb-wx-post__meta { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: #8a9696; font: 400 12.5px/1.2 'Noto Sans SC', var(--font-sans); }
.pb-wx-cat { padding: 2px 8px; border: 1px solid rgb(197 163 106 / .55); border-radius: 4px; background: rgb(197 163 106 / .1); color: #94743a; font-size: 12px; line-height: 1.3; }
.pb-wx-follow { flex: none; height: 30px; padding: 0 14px; border: 1px solid rgb(23 79 75 / .45); border-radius: 999px; background: transparent; color: var(--wx-jade) !important; font: 600 13px/1 'Noto Sans SC', var(--font-sans); transition: background .2s ease, color .2s ease; }
.pb-wx-follow:hover { background: rgb(60 137 131 / .08); }
.pb-wx-follow.is-on { border-color: transparent; background: var(--wx-mist); color: #6b7a7a !important; font-weight: 400; }
.pb-wx-more { position: relative; flex: none; }
.pb-wx-iconbtn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: #7b8888 !important; transition: background .2s ease; }
.pb-wx-iconbtn:hover { background: var(--wx-mist); }
.pb-wx-menu { position: absolute; right: 0; top: 38px; z-index: 5; display: grid; min-width: 140px; padding: 6px; border-radius: 12px; background: #fbfaf6; box-shadow: 0 12px 32px rgb(25 56 61 / .18); animation: pb-arrive-ui .16s ease both; }
.pb-wx-menu button { padding: 9px 14px; border: 0; border-radius: 8px; background: none; text-align: left; font: 400 14px/1.2 'Noto Sans SC', var(--font-sans); }
.pb-wx-menu button:hover { background: var(--wx-mist); }
.pb-wx-post__text { display: block; width: 100%; margin: 16px 0 14px; padding: 0; border: 0; background: none; color: #2c3435 !important; text-align: left; font: 400 15.5px/1.9 var(--font-serif); letter-spacing: .02em; }
.pb-wx-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 6px; }
.pb-wx-pics--2 { grid-template-columns: repeat(2, 1fr); }
.pb-wx-pics--1 { grid-template-columns: minmax(0, 72%); }
.pb-wx-pic { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; background: #dfe5e5; cursor: zoom-in !important; }
.pb-wx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pb-wx-pic:hover img { transform: scale(1.05); }
.pb-wx-pic b { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(10 20 24 / .45); color: #fff; font: 600 20px/1 var(--font-sans); }
.pb-wx-pic span { position: absolute; left: 8px; bottom: 6px; color: #fff; font: 500 12px/1.3 'Noto Sans SC', var(--font-sans); text-shadow: 0 1px 6px rgb(0 0 0 / .7); }
.pb-wx-video { overflow: hidden; margin: 4px 0 6px; border-radius: 12px; background: #000; }
.pb-wx-video video { display: block; width: 100%; max-height: 420px; }
.pb-wx-acts { display: flex; align-items: center; gap: 28px; margin-top: 12px; padding-top: 8px; border-top: 1px solid rgb(37 43 44 / .07); }
.pb-wx-acts button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; color: #7a8686 !important; font: 400 13.5px/1 'Noto Sans SC', var(--font-sans); transition: color .18s ease; }
.pb-wx-acts button:hover { color: var(--wx-jade) !important; }
.pb-wx-acts button.is-on { color: var(--wx-turq) !important; }
.pb-wx-acts button:first-child.is-on { color: #b9574a !important; }
.pb-wx-acts button:first-child.is-on svg path { fill: currentColor; }
.pb-wx-acts .pb-wx-acts__save { margin-left: auto; }
.pb-wx-acts .pb-wx-acts__save.is-on { color: #a8843f !important; }
/* A 论道 thread: picture at the left, words at the right. */
.pb-wx-talk { display: grid; grid-template-columns: 36% 1fr; gap: 20px; margin: 16px 0 6px; }
.pb-wx-talk__thumb { overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; }
.pb-wx-talk__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pb-wx-talk__thumb:hover img { transform: scale(1.05); }
.pb-wx-talk__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pb-wx-talk__title { padding: 0; border: 0; background: none; color: var(--wx-ink) !important; text-align: left; font: 700 18px/1.5 var(--font-serif); }
.pb-wx-talk__title:hover { color: var(--wx-jade) !important; }
.pb-wx-talk__text { display: -webkit-box; margin: 0; overflow: hidden; color: #566364; font: 400 14px/1.8 'Noto Sans SC', var(--font-sans); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.pb-wx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-wx-tags button, .pb-wx-tags span { padding: 4px 10px; border: 0; border-radius: 999px; background: rgb(60 137 131 / .09); color: var(--wx-turq) !important; font: 400 12.5px/1.2 'Noto Sans SC', var(--font-sans); }
.pb-wx-tags button:hover { background: rgb(60 137 131 / .16); }
.pb-wx-talk__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pb-wx-talk__foot small { color: #8a9696; font-size: 12.5px; }
/* A sect's notice: official, with a gold frame inside. */
.pb-wx-post--notice { border-color: rgb(197 163 106 / .5); background: linear-gradient(135deg, #f9f6ee, #f2eddf); }
.pb-wx-post--notice::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgb(197 163 106 / .28); border-radius: 13px; pointer-events: none; }
.pb-wx-post__sealwrap { flex: none; line-height: 0; }
.pb-wx-notice { margin: 14px 0 6px; }
.pb-wx-notice__title { padding: 0; border: 0; background: none; color: var(--wx-ink) !important; text-align: left; font: 700 19px/1.5 var(--font-serif); letter-spacing: .04em; }
.pb-wx-notice p { margin: 8px 0 14px; color: #4f5c5d; font: 400 14.5px/1.85 'Noto Sans SC', var(--font-sans); }
.pb-wx-notice__acts { position: relative; z-index: 1; display: flex; gap: 10px; }

/* Side columns. */
.pb-wx-banner { position: relative; overflow: hidden; min-height: 188px; padding: 26px 24px; border: 1px solid rgb(197 163 106 / .65); border-radius: 18px;
  background: linear-gradient(90deg, rgb(12 30 32 / .8), rgb(12 30 32 / .3) 62%, rgb(12 30 32 / .05)), url(assets/dongfu-terrace.jpg) center / cover no-repeat; box-shadow: 0 12px 30px rgb(25 56 61 / .16); color: #fbf8f0; }
.pb-wx-banner::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgb(232 205 150 / .4); border-radius: 12px; pointer-events: none; }
.pb-wx-banner__text { position: relative; z-index: 1; }
.pb-wx-banner b { display: block; font: 400 36px/1.1 'Ma Shan Zheng', var(--font-serif); letter-spacing: .08em; text-shadow: 0 2px 10px rgb(0 0 0 / .4); }
.pb-wx-banner p { margin: 8px 0 18px; font: 500 14px/1.5 var(--font-serif); letter-spacing: .12em; opacity: .92; }
.pb-wx-card { padding: 18px 20px; border: 1px solid rgb(37 43 44 / .07); border-radius: 18px; background: rgb(247 246 242 / .94); box-shadow: 0 8px 24px rgb(25 56 61 / .05); }
.pb-wx-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pb-wx-card__head h3 { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--wx-ink); font: 700 18px/1.3 var(--font-serif); letter-spacing: .06em; }
.pb-wx-card__head h3::before { content: ''; width: 7px; height: 7px; background: var(--wx-gold); rotate: 45deg; }
.pb-wx-card .pb-info__btn { border-color: rgb(37 43 44 / .25); color: var(--wx-mute); }
.pb-wx-card .pb-info__tip { background: #fbfaf6; color: var(--wx-char); box-shadow: 0 8px 20px rgb(25 56 61 / .18); }
.pb-wx-swap { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px 6px; border: 0; background: none; color: var(--wx-mute) !important; font: 400 13px/1 'Noto Sans SC', var(--font-sans); transition: color .2s ease; }
.pb-wx-swap:hover { color: var(--wx-jade) !important; }
.pb-wx-topics, .pb-wx-events, .pb-wx-mine, .pb-wx-recs, .pb-wx-notes, .pb-wx-replies { margin: 0; padding: 0; list-style: none; }
.pb-wx-topics button { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px dashed rgb(37 43 44 / .09); background: none; text-align: left; font: 400 14px/1.4 'Noto Sans SC', var(--font-sans); }
.pb-wx-topics li:last-child button { border-bottom: 0; }
.pb-wx-topics button:hover span { color: var(--wx-jade); }
.pb-wx-topics span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pb-wx-topics small { color: #93a0a0; font-size: 12px; }
.pb-wx-rank { color: #a3aeae; font: 700 16px/1 var(--font-serif); font-style: normal; text-align: center; }
.pb-wx-rank.is-1 { color: #c29a4c; }
.pb-wx-rank.is-2 { color: #8f9ea6; }
.pb-wx-rank.is-3 { color: #a9764e; }
.pb-wx-events button { display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 9px 0; border: 0; background: none; text-align: left; }
.pb-wx-events img { width: 68px; height: 50px; border-radius: 9px; object-fit: cover; transition: transform .25s ease; }
.pb-wx-events button:hover img { transform: scale(1.04); }
.pb-wx-events span { display: grid; gap: 4px; min-width: 0; }
.pb-wx-events b { font: 600 14.5px/1.3 'Noto Sans SC', var(--font-sans); color: var(--wx-char); }
.pb-wx-events small { overflow: hidden; color: #889494; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.pb-wx-status { padding: 3px 9px; border-radius: 999px; background: var(--wx-mist); color: #4e6363; font: 400 12px/1.2 'Noto Sans SC', var(--font-sans); font-style: normal; white-space: nowrap; }
.pb-wx-status.is-live { background: rgb(60 137 131 / .15); color: var(--wx-jade); }
.pb-wx-mine button { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 11px 8px; border: 0; border-bottom: 1px solid rgb(37 43 44 / .06); border-radius: 0; background: none; text-align: left; font: 400 14.5px/1.2 'Noto Sans SC', var(--font-sans); transition: background .2s ease; }
.pb-wx-mine li:last-child button { border-bottom: 0; }
.pb-wx-mine button:hover, .pb-wx-mine button.is-on { border-radius: 10px; background: rgb(60 137 131 / .08); }
.pb-wx-mine svg { color: var(--wx-turq); }
.pb-wx-mine b { color: var(--wx-ink); font: 700 17px/1 var(--font-serif); }
.pb-wx-recs li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 0; }
.pb-wx-recs__who { display: grid; gap: 3px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
.pb-wx-recs__who b { font: 600 14.5px/1.2 'Noto Sans SC', var(--font-sans); }
.pb-wx-recs__who small { overflow: hidden; color: #889494; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.pb-wx-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pb-wx-gallery .pb-wx-pic { border-radius: 10px; }

/* Over the page: a post opened, the notices, an event. */
.pb-wx .pb-respanel-wrap { z-index: 9; }
.pb-wx-detail { display: grid; gap: 12px; }
.pb-wx-detail__img { width: 100%; max-height: 240px; border-radius: 10px; object-fit: cover; }
.pb-wx-detail__text { margin: 0; font: 400 15px/1.85 var(--font-serif); }
.pb-wx-detail h4 { margin: 6px 0 0; color: var(--ink-muted); font: 500 13px/1.4 var(--font-sans); letter-spacing: .1em; }
.pb-wx-replies li { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid rgb(255 255 255 / .06); font: 400 14px/1.6 var(--font-sans); }
.pb-wx-replies b { color: #d6c49a; font-weight: 500; }
.pb-wx-replies small { margin-left: auto; color: var(--ink-muted); font-size: 12px; }
.pb-wx-reply { display: flex; gap: 8px; }
.pb-wx-reply .pb-input { flex: 1; min-width: 0; }
.pb-wx-notes button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 10px 4px; border: 0; border-bottom: 1px solid rgb(255 255 255 / .06); background: none; color: var(--ink) !important; text-align: left; font: 400 14px/1.6 var(--font-sans); }
.pb-wx-notes b { font-weight: 600; }
.pb-wx-notes small { color: var(--ink-muted); font-size: 12px; white-space: nowrap; }
.pb-wx-event { display: grid; gap: 12px; }
.pb-wx-event img { width: 100%; max-height: 220px; border-radius: 10px; object-fit: cover; }
.pb-wx-event p { margin: 0; font: 400 15px/1.7 var(--font-sans); }
.pb-wx .pb-viewer { z-index: 12; }

/* Phones: one column, the header shorter, 发现 as its own tab. */
.pb-wx--phone .pb-wx-hero { height: 236px; }
.pb-wx--phone .pb-wx-back { position: absolute; top: 14px; left: 12px; z-index: 4; color: #fff; }
.pb-wx--phone .pb-wx-title { left: 20px; bottom: 50px; }
.pb-wx--phone .pb-wx-title h1 { font-size: 46px; }
.pb-wx--phone .pb-wx-title p { margin-top: 8px; font-size: 13.5px; letter-spacing: .24em; }
.pb-wx--phone .pb-wx-search, .pb-wx--phone .pb-wx-search.is-focus { top: 14px; left: 56px; right: 108px; width: auto; translate: none; }
.pb-wx--phone .pb-wx-search.is-focus { right: 12px; }
.pb-wx--phone .pb-wx-search.is-focus ~ .pb-wx-tools { opacity: 0; pointer-events: none; }
.pb-wx--phone .pb-wx-search__field { height: 40px; padding: 0 14px; gap: 8px; }
.pb-wx--phone .pb-wx-search input { font-size: 14px; }
.pb-wx--phone .pb-wx-tools { top: 14px; right: 12px; gap: 6px; transition: opacity .2s ease; }
.pb-wx--phone .pb-wx-tool { width: 38px; height: 38px; }
.pb-wx--phone .pb-wx-tool:nth-child(2) { display: none; }
.pb-wx--phone .pb-wx-dot { top: 7px; right: 8px; }
.pb-wx--phone .pb-wx-cols { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; margin-top: -30px; padding: 0 12px 28px; }
.pb-wx--phone .pb-wx-bar { height: 54px; padding: 0 8px 0 16px; border-radius: 16px; }
.pb-wx--phone .pb-wx-cats { gap: 20px; }
.pb-wx--phone .pb-wx-cats button { padding: 17px 1px; font-size: 15px; }
.pb-wx--phone .pb-wx-cats button.is-on::after { bottom: 8px; }
.pb-wx--phone .pb-wx-publish { height: 36px; padding: 0 14px; font-size: 14px; }
.pb-wx--phone .pb-wx-feed, .pb-wx--phone .pb-wx-col { gap: 14px; }
.pb-wx--phone .pb-wx-post { padding: 16px 16px 8px; border-radius: 16px; }
.pb-wx--phone .pb-wx-post:hover { transform: none; }
.pb-wx--phone .pb-wx-post__head { flex-wrap: wrap; }
.pb-wx--phone .pb-wx-post__text { margin: 12px 0; font-size: 15px; }
.pb-wx--phone .pb-wx-pics { gap: 6px; }
.pb-wx--phone .pb-wx-pic { border-radius: 9px; }
.pb-wx--phone .pb-wx-talk { grid-template-columns: 1fr; gap: 12px; }
.pb-wx--phone .pb-wx-talk__thumb { aspect-ratio: 16 / 9; }
.pb-wx--phone .pb-wx-acts { gap: 20px; }
.pb-wx--phone .pb-wx-banner { min-height: 160px; padding: 22px 20px; }
.pb-wx .pb-respanel__head b { flex: 1; min-width: 0; }
.pb-wx .pb-respanel__head small, .pb-wx .pb-respanel__close, .pb-wx .pb-respanel__head .pb-info { flex: none; white-space: nowrap; }
.pb-wx-realm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pb-wx-post__meta, .pb-wx-cat { white-space: nowrap; }
.pb-wx--phone .pb-wx-post__head { flex-wrap: nowrap; gap: 10px; }
.pb-wx--phone .pb-wx-follow { height: 28px; padding: 0 10px; font-size: 12px; }
.pb-wx--phone .pb-wx-iconbtn { width: 28px; }

/* 灵石 (2026-11-07): the faceted crystal from the design sheet, with a faint ice-blue glow. */

/* ---------- 2026-11-08: 万象 and 坊市 titles set like 道友's (.pb-fd-head__title): serif, not calligraphy, no seal; 40px from the left ---------- */
.pb-wx-title { left: 40px; color: #fff; text-shadow: none; }
.pb-wx-title h1 { font: 700 40px/1.1 var(--font-serif); letter-spacing: .14em; text-shadow: 0 2px 12px rgb(0 0 0 / .45); }
.pb-wx-title p { margin: 10px 0 0; font: 400 17px/1.5 var(--font-serif); letter-spacing: .3em; opacity: .92; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.pb-wx--phone .pb-wx-title { left: 16px; }
.pb-wx--phone .pb-wx-title h1 { font-size: 30px; }
.pb-wx--phone .pb-wx-title p { margin-top: 6px; font-size: 14px; letter-spacing: .22em; }

.pb-mk3 .pb-mk3-title { left: 40px; top: auto; bottom: calc(80 * var(--u)); color: #fff; }
.pb-zb .pb-mk3-title { bottom: calc(114 * var(--u)); }
.pb-mk3 .pb-mk3-title h1, .pb-zb .pb-zb-title h1 { color: #fff; font: 700 40px/1.1 var(--font-serif); letter-spacing: .14em; text-shadow: 0 2px 12px rgb(0 0 0 / .45); }
.pb-mk3 .pb-mk3-seal { display: none; }
.pb-mk3 .pb-mk3-title p, .pb-zb .pb-zb-title p { margin: 10px 0 0; color: #fff; font: 400 17px/1.5 var(--font-serif); letter-spacing: .3em; opacity: .92; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.pb-zb .pb-zb-title small { margin-top: 2px; font: 400 14px/1.5 var(--font-serif); letter-spacing: .2em; opacity: .9; text-shadow: 0 1px 8px rgb(0 0 0 / .55); }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-title { left: 16px; bottom: auto; top: 120px; }
.pb-zb:not(.pb-fd--desk) .pb-mk3-title { left: auto; top: auto; margin-left: 4px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-title h1, .pb-zb:not(.pb-fd--desk) .pb-zb-title h1 { font-size: 30px; }
.pb-mk3:not(.pb-fd--desk) .pb-mk3-title p, .pb-zb:not(.pb-fd--desk) .pb-zb-title p { margin-top: 6px; font-size: 14px; letter-spacing: .22em; }
.pb-zb:not(.pb-fd--desk) .pb-zb-title small { font-size: 12px; letter-spacing: .12em; }
.pb-mk3 .pb-mk3-title p, .pb-zb .pb-zb-title p, .pb-zb .pb-zb-title small { opacity: 1; text-shadow: 0 1px 2px rgb(0 0 0 / .6), 0 1px 10px rgb(0 0 0 / .65); }

/* ---------- 2026-11-08: the 宗门 title set like 道友's too: white serif, 40px from the left, under a dark wash on the left ---------- */
.pb-sq-hero::after { background: linear-gradient(90deg, rgb(15 25 30 / .58), rgb(15 25 30 / .12) 50%, transparent 70%),
  linear-gradient(180deg, transparent 58%, rgb(233 240 242 / .55) 86%, #e9f0f2 100%); }
.pb-sq-title { left: 40px; top: 160px; transform: none; color: #fff; }
.pb-sq-title__row { gap: 16px; }
.pb-sq-title h1 { color: #fff; font: 700 40px/1.1 var(--font-serif); letter-spacing: .14em; text-shadow: 0 2px 12px rgb(0 0 0 / .45); }
.pb-sq-title p { margin: 10px 0 0; color: #fff; font: 400 17px/1.5 var(--font-serif); letter-spacing: .3em; opacity: .92; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.pb-sq-grade { font-size: 14px; padding: 4px 12px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-title { left: 16px; top: auto; bottom: 74px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-title h1 { font-size: 30px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-title p { margin-top: 6px; font-size: 14px; letter-spacing: .22em; }
.pb-sq:not(.pb-fd--desk) .pb-sq-grade { font-size: 12px; padding: 3px 9px; }

/* ---------- 2026-11-08: glass instead of white, after the user's brief (an adjustable glass dashboard).
   Each page sits on its own picture, blurred and lightly washed; its cards are frosted glass over it:
   ~40% white, blur 22px saturate 1.2, a white top edge, a faint white rim and a soft long shadow. ---------- */
.pb-fd, .pb-wx { --gl-wall: url(assets/friends-top.png); --gl-wash: rgb(236 240 236 / .52);
  --gl-bg: rgb(255 255 255 / .42); --gl-bg-in: rgb(255 255 255 / .5); --gl-blur: blur(22px) saturate(1.2);
  --gl-edge: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 0 0 1px rgb(255 255 255 / .22);
  --gl-shadow: 0 20px 52px -25px rgb(23 41 35 / .3); --gl-shadow-in: 0 8px 22px -20px rgb(20 37 28 / .3); isolation: isolate; }
.pb-sq { --gl-wall: url(assets/sect-top.png); }
.pb-mk3 { --gl-wall: url(assets/market-street.png); --gl-wash: rgb(238 238 240 / .5); }
.pb-wx { --gl-wall: url(assets/wanxiang-top.png); }
.pb-fd::before, .pb-wx::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--gl-wash), var(--gl-wash)), var(--gl-wall) center 35% / cover no-repeat; filter: blur(30px) saturate(1.15); }
.pb-mk3 .pb-fd-main { background: transparent; }
.pb-wx-hero__img::after { background: linear-gradient(90deg, rgb(10 26 28 / .62) 0%, rgb(10 26 28 / .26) 30%, rgb(10 26 28 / 0) 55%), linear-gradient(180deg, rgb(10 22 26 / .38) 0%, rgb(10 22 26 / 0) 32%); }
.pb-sq-hero::after { background: linear-gradient(90deg, rgb(15 25 30 / .58), rgb(15 25 30 / .12) 50%, transparent 70%); }

/* The glass itself: the big surfaces. */
.pb-fd-card, .pb-fd-panel, .pb-fd .pb-fd-bar, .pb-wx-post, .pb-wx-card, .pb-wx-bar, .pb-sq-card, .pb-sq-tools,
.pb-zb-shelf, .pb-zb-way, .pb-mk3-news {
  background: var(--gl-bg) !important; -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); box-shadow: var(--gl-edge), var(--gl-shadow) !important; }
.pb-fd .pb-fd-bar { box-shadow: inset 0 -1px 0 rgb(255 255 255 / .5) !important; }
.pb-wx-post--notice { background: linear-gradient(135deg, rgb(255 251 240 / .6), rgb(250 241 218 / .45)) !important; }
.pb-zb-way { box-shadow: var(--gl-edge), inset 0 0 0 1px rgb(206 182 134 / .55), var(--gl-shadow) !important; }
.pb-zb-way.is-on { box-shadow: inset 0 0 0 2px #3d6a6c, var(--gl-shadow) !important; }
.pb-sq-tools { border-radius: 29px; }
/* Inside the glass: panels a little more solid, as the brief's panels within its workspace. */
.pb-sq .pb-fd-panel, .pb-zb-card { background: var(--gl-bg-in) !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / .75), inset 0 0 0 1px rgb(255 255 255 / .25), var(--gl-shadow-in) !important; }
.pb-zb-card:hover { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(200 170 110 / .6), 0 14px 26px -16px rgb(20 37 28 / .35) !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pb-fd-card, .pb-fd-panel, .pb-wx-post, .pb-wx-card, .pb-sq-card, .pb-zb-shelf, .pb-zb-way, .pb-mk3-news { background: rgb(246 245 240 / .94) !important; } }
.pb-wx-hero__img, .pb-sq-sky--img { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.pb-sq .pb-sq-hero { background: transparent; }

/* ---------- 宗门传承碑 (2026-11-08): the way in from the halls, and what the archive holds (records, forms, timeline).
   The page itself, on the user's picture of the stone, is further down (.pb-heritage). */
.pb-sq-mon { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 22px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
  color: #e9e6df; background: linear-gradient(100deg, rgb(30 34 36 / .92), rgb(48 53 55 / .86) 60%, rgb(70 74 74 / .78)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .08), 0 14px 30px -18px rgb(10 16 18 / .6);
  transition: transform .2s ease, box-shadow .2s ease; }
.pb-sq-mon:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 0 0 1px rgb(201 164 100 / .4), 0 18px 34px -18px rgb(10 16 18 / .7); }
.pb-sq-mon:focus-visible { outline: 2px solid #c9a464; outline-offset: 3px; }
.pb-sq-mon__mark { flex: none; display: grid; place-items: center; width: 54px; height: 64px; border-radius: 26px 26px 4px 4px; color: #d8d2c4; font: 700 24px/1 var(--font-serif);
  background: linear-gradient(180deg, #4a4f51, #2a2e30); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 -3px 6px rgb(0 0 0 / .4); text-shadow: 0 -1px 0 rgb(0 0 0 / .6); }
.pb-sq-mon__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.pb-sq-mon__text b { font: 700 22px/1.2 var(--font-serif); letter-spacing: .14em; }
.pb-sq-mon__text small { color: #bdb8ad; font: 400 15px/1.3 var(--font-serif); letter-spacing: .2em; }
.pb-sq-mon > em { font-style: normal; font-size: 26px; color: #c9a464; }
.pb-sq:not(.pb-fd--desk) .pb-sq-mon { padding: 12px 14px; gap: 12px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-mon__mark { width: 42px; height: 50px; font-size: 19px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-mon__text b { font-size: 18px; }
.pb-sq:not(.pb-fd--desk) .pb-sq-mon__text small { font-size: 12px; letter-spacing: .12em; }

.pb-mon button { font-family: inherit; }


.pb-mon-h { margin: 22px 0 10px; color: var(--mon-dim); font: 600 13px/1 var(--font-sans); letter-spacing: .2em; }
.pb-mon-note { margin: 14px 0 0; color: var(--mon-dim); font-size: 13px; line-height: 1.6; }
.pb-mon-empty { margin: 6px 0; padding: 18px; border: 1px dashed var(--mon-line); border-radius: 10px; color: var(--mon-dim); font: 400 14px/1.5 var(--font-serif); text-align: center; letter-spacing: .1em; }
.pb-mon-link { padding: 4px 6px; border: 0; background: none; color: var(--mon-gold); font-size: 14px; cursor: pointer; }
.pb-mon-link:hover { text-decoration: underline; }
.pb-mon-tag { display: inline-block; padding: 2px 8px; border: 1px solid rgb(201 164 100 / .4); border-radius: 999px; color: #d9c49a; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.pb-mon-kv { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--mon-line); }
.pb-mon-kv dt { color: var(--mon-dim); font-size: 13px; letter-spacing: .1em; }
.pb-mon-kv dd { margin: 0; font: 400 15px/1.55 var(--font-serif); overflow-wrap: anywhere; }
.pb-mon-kv dd.is-unknown { color: #8d897f; letter-spacing: .2em; }
.pb-mon dl { margin: 0; }
.pb-mon-epitaph { margin: 0 0 18px; padding: 16px 20px; border-left: 2px solid var(--mon-gold); background: rgb(255 255 255 / .03); font: 500 17px/1.8 var(--font-serif); letter-spacing: .08em; }

/* 大事记: a line down the left, a knot at each record. */
.pb-mon-line { position: relative; margin: 0; padding: 0 0 0 22px; list-style: none; }
.pb-mon-line::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--mon-gold), rgb(201 164 100 / .15)); }
.pb-mon-ev { position: relative; padding: 4px 0 8px; }
.pb-mon-ev::before { content: ''; position: absolute; left: -20px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #1d2022; box-shadow: 0 0 0 1.5px var(--mon-gold); }
.pb-mon-ev--manual::before { box-shadow: 0 0 0 1.5px #8fb3ad; }
.pb-mon-ev.is-pending, .pb-mon-ev.is-rejected { opacity: .78; }
.pb-mon-ev__head { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) auto auto; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: inherit; text-align: left; cursor: pointer; }
.pb-mon-ev__head:hover { background: rgb(255 255 255 / .04); }
.pb-mon-ev__head time { color: var(--mon-dim); font: 400 13px/1.3 var(--font-serif); }
.pb-mon-ev__head b { font: 600 16px/1.4 var(--font-serif); letter-spacing: .06em; }
.pb-mon-ev__head small { color: var(--mon-dim); font-size: 12px; white-space: nowrap; }
.pb-mon-ev__more { margin: 2px 10px 8px; padding: 4px 14px; border-radius: 8px; background: rgb(0 0 0 / .18); }
.pb-mon-tools { display: flex; gap: 8px; padding: 4px 10px 8px; }

/* Forms in the book. */
.pb-mon-form { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--mon-line); border-radius: 12px; background: rgb(255 255 255 / .03); }
.pb-mon-form summary { cursor: pointer; color: var(--mon-gold); font: 600 15px/1.4 var(--font-serif); letter-spacing: .14em; }
.pb-mon-form[open] summary { margin-bottom: 12px; }
.pb-mon-form label { display: grid; gap: 6px; margin: 0 0 12px; color: var(--mon-dim); font-size: 13px; letter-spacing: .08em; }
.pb-mon-form label small { color: #8d897f; font-size: 12px; }
.pb-mon input, .pb-mon select, .pb-mon textarea { box-sizing: border-box; width: 100%; padding: 9px 12px; border: 1px solid rgb(255 255 255 / .14); border-radius: 8px; background: rgb(0 0 0 / .25); color: var(--mon-ink); font: 400 15px/1.4 var(--font-sans); color-scheme: dark; }
.pb-mon input:focus, .pb-mon select:focus, .pb-mon textarea:focus { outline: none; border-color: var(--mon-gold); }
.pb-mon-form fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.pb-mon-form legend { margin-bottom: 6px; color: var(--mon-dim); font-size: 13px; letter-spacing: .08em; }
.pb-mon-form .pb-mon-chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 12px; border: 1px solid rgb(255 255 255 / .14); border-radius: 999px; color: var(--mon-ink); font-size: 13px; cursor: pointer; }
.pb-mon-form .pb-mon-chip.is-on { border-color: var(--mon-gold); background: rgb(201 164 100 / .14); }
.pb-mon-chip input { width: auto; margin: 0; accent-color: #c9a464; }
.pb-mon-form__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pb-mon-form__go input { flex: 1; min-width: 12em; width: auto; }
.pb-mon-form__go small { color: #b9d2cb; font-size: 13px; }

/* 宗主谱, 功德, 元老. */
.pb-mon-heads, .pb-mon-merits, .pb-mon-elders, .pb-mon-annals { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pb-mon-heads li { border: 1px solid var(--mon-line); border-radius: 12px; overflow: hidden; }
.pb-mon-heads li.is-now { border-color: rgb(201 164 100 / .45); }
.pb-mon-heads button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; background: rgb(255 255 255 / .03); color: inherit; text-align: left; cursor: pointer; }
.pb-mon-heads button b { font: 700 18px/1.2 var(--font-serif); letter-spacing: .1em; }
.pb-mon-heads button em { margin-left: auto; font-style: normal; color: var(--mon-gold); font-size: 13px; letter-spacing: .14em; }
.pb-mon-heads__no { color: var(--mon-dim); font: 400 13px/1 var(--font-serif); letter-spacing: .14em; }
.pb-mon-heads dl { padding: 4px 16px 10px; }
.pb-mon-merits li, .pb-mon-elders li { padding: 12px 16px; border: 1px solid var(--mon-line); border-radius: 12px; background: rgb(255 255 255 / .03); }
.pb-mon-merits li.is-revoked { opacity: .6; }
.pb-mon-merits__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pb-mon-merits__head b, .pb-mon-elders li > b { font: 700 17px/1.3 var(--font-serif); letter-spacing: .08em; margin-right: 8px; }
.pb-mon-merits__head em { font-style: normal; color: #d49a8a; font-size: 13px; }
.pb-mon-elders li > dl { margin-top: 6px; }

/* 史册. */
.pb-mon-chaps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pb-mon-chaps button { padding: 7px 16px; border: 1px solid var(--mon-line); border-radius: 999px; background: none; color: var(--mon-dim); font: 500 14px/1.2 var(--font-serif); letter-spacing: .12em; cursor: pointer; }
.pb-mon-chaps button.is-on { border-color: var(--mon-gold); color: var(--mon-ink); background: rgb(201 164 100 / .12); }
.pb-mon-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.pb-mon-filters label { display: grid; gap: 4px; color: var(--mon-dim); font-size: 12px; letter-spacing: .1em; }
.pb-mon-annals li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 4px; border-bottom: 1px solid var(--mon-line); }
.pb-mon-annals time { color: var(--mon-dim); font: 400 13px/1.6 var(--font-serif); }
.pb-mon-annals b { font: 600 16px/1.5 var(--font-serif); }
.pb-mon-annals p { grid-column: 2 / -1; margin: 0; color: #c8c3b8; font: 400 14px/1.7 var(--font-serif); }
.pb-mon-ai { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 16px; border: 1px dashed var(--mon-line); border-radius: 10px; color: var(--mon-dim); }
.pb-mon-ai b { color: var(--mon-ink); font: 600 15px/1.2 var(--font-serif); letter-spacing: .12em; }
.pb-mon-ai span { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgb(255 255 255 / .06); }

/* On the phone: one column, the contents a row of tabs to swipe along. */
.pb-mon:not(.pb-mon--desk) .pb-mon-ev__head { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
.pb-mon:not(.pb-mon--desk) .pb-mon-ev__head time, .pb-mon:not(.pb-mon--desk) .pb-mon-ev__head small { grid-column: 1 / -1; }
.pb-mon:not(.pb-mon--desk) .pb-mon-filters { grid-template-columns: minmax(0, 1fr); }
.pb-mon:not(.pb-mon--desk) .pb-mon-annals li { grid-template-columns: minmax(0, 1fr) auto; }
.pb-mon:not(.pb-mon--desk) .pb-mon-annals time, .pb-mon:not(.pb-mon--desk) .pb-mon-annals p { grid-column: 1 / -1; }
.pb-mon:not(.pb-mon--desk) .pb-mon-kv { grid-template-columns: 5.5em minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) { .pb-sq-mon { transition: none; } .pb-sq-mon:hover { transform: none; } }

/* Your own 洞府 shows at once (2026-11-08): fading it in from clear let the near-black page show through, sidebar and all,
   while the room was being built. Calling on a friend keeps its arrival (.pb-res-arrive). */
.pb-screen.pb-dongfu-home:not(.pb-res-arrive) { animation: none; }

/* ---------- 宗门传承碑, second version (2026-11-08): the user's picture of the stone (sect-heritage.png) with the
   inscription, contents and archive laid over it. Colours from the user's brief: #101D26, rgba(13,26,35,.74), #E4EBEC,
   #9AAEB7, #73C9D0, borders rgba(150,200,209,.18). Only transform and opacity move. */
.pb-heritage { --mon-ink: #E4EBEC; --mon-dim: #9AAEB7; --mon-gold: #73C9D0; --mon-line: rgb(150 200 209 / .18); --hg-panel: rgb(13 26 35 / .74);
  position: absolute; inset: 0; overflow: hidden; background: #101D26; color: var(--mon-ink); font-family: var(--font-sans); isolation: isolate; }
.sect-heritage-background { position: absolute; z-index: 0; transform-origin: 42.6% 42%; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.pb-heritage-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; -webkit-user-select: none; user-select: none; }
.pb-heritage-glow { position: absolute; pointer-events: none; border-radius: 45% 45% 12% 12%; opacity: 0; mix-blend-mode: screen; transition: opacity .6s ease;
  background: radial-gradient(closest-side, rgb(115 201 208 / .32), rgb(115 201 208 / .08) 70%, transparent); }
.sect-heritage-background:has(.pb-heritage-stone:hover) .pb-heritage-glow, .sect-heritage-background:has(.pb-heritage-stone:focus-visible) .pb-heritage-glow { opacity: .55; }
.pb-heritage.is-reading .pb-heritage-glow { opacity: .5; animation: hg-pulse 4.8s ease-in-out infinite; }

/* The inscription: four columns, right to left, cut into the face. */
.pb-heritage-face { position: absolute; display: grid; pointer-events: none; }
.pb-heritage-words { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(var(--k) * 9px);
  box-sizing: border-box; width: 100%; height: 100%; padding: calc(var(--k) * 16px) 0; writing-mode: vertical-rl; color: rgb(204 234 236 / .64);
  font-family: var(--font-serif); text-shadow: 0 calc(var(--k) * 1px) 0 rgb(0 0 0 / .7), 0 calc(var(--k) * -1px) 0 rgb(255 255 255 / .06), 0 0 calc(var(--k) * 6px) rgb(115 201 208 / .2);
  opacity: .78; transition: opacity .5s ease; animation: hg-breathe 6s ease-in-out infinite; }
.pb-heritage-face.is-bright .pb-heritage-words { opacity: .95; }
.sect-heritage-background:has(.pb-heritage-stone:hover) .pb-heritage-words { opacity: 1; }
.pb-heritage-words__name { font: 400 calc(var(--k) * 38px)/1.1 'Ma Shan Zheng', var(--font-serif); letter-spacing: .16em; color: rgb(214 242 244 / .8); }
.pb-heritage-words__side { font-size: calc(var(--k) * 14px); letter-spacing: .32em; white-space: nowrap; }
.pb-heritage-words__motto { font-size: calc(var(--k) * 16px); letter-spacing: .28em; max-height: 100%; }
/* The same words, lit from below up when the stone is read. */
.pb-heritage-words--lit { color: rgb(226 250 250 / .92); opacity: 1; animation: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.3,.6,.2,1) .1s;
  text-shadow: 0 calc(var(--k) * 1px) 0 rgb(0 0 0 / .5), 0 0 calc(var(--k) * 8px) rgb(115 201 208 / .55); }
.pb-heritage-words--lit .pb-heritage-words__name { color: rgb(232 252 252 / .92); }
.pb-heritage.is-reading .pb-heritage-words--lit { clip-path: inset(0 0 0 0); }

/* The stone itself is the button: 神识探碑. */
.pb-heritage-stone { position: absolute; padding: 0; border: 0; border-radius: 30% 30% 4% 4%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pb-heritage-stone:focus-visible { outline: 2px solid rgb(115 201 208 / .6); outline-offset: 4px; }
.pb-heritage-stone__hint { position: absolute; left: 50%; bottom: 3%; padding: 6px 16px; border: 1px solid var(--mon-line); border-radius: 999px; white-space: nowrap;
  background: rgb(13 26 35 / .72); color: #cfe9ec; font: 500 13px/1.2 var(--font-serif); letter-spacing: .32em; opacity: 0; transform: translate(-50%, 6px); transition: opacity .35s ease, transform .35s ease; }
.pb-heritage-stone:hover .pb-heritage-stone__hint, .pb-heritage-stone:focus-visible .pb-heritage-stone__hint { opacity: 1; transform: translate(-50%, 0); }
.pb-heritage.is-reading .pb-heritage-stone__hint { opacity: 0; }
.pb-heritage-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.1s ease;
  background: radial-gradient(ellipse 62% 78% at 42% 46%, transparent 52%, rgb(5 12 16 / .55)); }
.pb-heritage.is-reading .pb-heritage-vignette { opacity: 1; }

/* Title. */
.pb-heritage-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 18px 24px 34px;
  background: linear-gradient(180deg, rgb(8 16 22 / .62), rgb(8 16 22 / 0)); pointer-events: none; animation: hg-in .6s ease both; }
.pb-heritage-top > * { pointer-events: auto; }
.pb-heritage-top .pb-back { color: #e9e2d2; }
.pb-heritage-title h1 { margin: 0; color: #e9e2d2; font: 600 26px/1.2 var(--font-serif); letter-spacing: .22em; text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
.pb-heritage-title p { margin: 4px 0 0; color: rgb(233 226 210 / .72); font: 400 14px/1.3 var(--font-serif); letter-spacing: .3em; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.pb-heritage-top .pb-info { margin-left: auto; }

/* Contents, at the left (website). */
.pb-heritage-nav { position: absolute; z-index: 2; left: 24px; top: 104px; display: grid; gap: 2px; width: 190px; box-sizing: border-box; padding: 10px;
  border: 1px solid var(--mon-line); border-radius: 14px; background: rgb(13 26 35 / .6); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 18px 40px -24px rgb(0 0 0 / .6); animation: hg-in .6s ease .1s both; }
.pb-heritage-nav button { display: block; width: 100%; padding: 12px 14px; border: 0; border-radius: 8px; background: none; color: var(--mon-dim); cursor: pointer; text-align: left;
  font: 500 16px/1.2 var(--font-serif); letter-spacing: .16em; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.pb-heritage-nav button:hover { color: var(--mon-ink); background: rgb(115 201 208 / .08); }
.pb-heritage-nav button.is-on { color: var(--mon-ink); background: rgb(115 201 208 / .13); box-shadow: inset 2px 0 0 #73C9D0; }
.pb-heritage-nav button:focus-visible { outline: 2px solid rgb(115 201 208 / .6); outline-offset: 1px; }

/* The archive, at the right (website). */
.pb-heritage-archive { position: absolute; z-index: 2; right: 24px; top: 96px; bottom: 24px; width: 440px; box-sizing: border-box; overflow-y: auto; padding: 20px 22px;
  border: 1px solid var(--mon-line); border-radius: 16px; background: var(--hg-panel); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 24px 52px -26px rgb(0 0 0 / .65); scrollbar-width: thin; scrollbar-color: rgb(150 200 209 / .25) transparent; animation: hg-in .6s ease .15s both; }
.pb-heritage-archive__page { animation: hg-fade .45s ease both; }
.pb-heritage-archive__page > h3 { margin: 0 0 14px; color: var(--mon-ink); font: 600 20px/1.3 var(--font-serif); letter-spacing: .2em; }
.pb-heritage-card { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--mon-line); border-radius: 12px; background: rgb(16 32 42 / .5); }
.pb-heritage-card > h4 { margin: 2px 0 8px; color: #cfe3e6; font: 600 15px/1.3 var(--font-serif); letter-spacing: .2em; }
.pb-heritage .pb-mon-epitaph { border-left-color: #73C9D0; background: rgb(115 201 208 / .05); font-size: 15px; }
.pb-heritage .pb-mon-tag { border-color: rgb(115 201 208 / .35); color: #a9dfe3; }
.pb-heritage .pb-mon-line::before { background: linear-gradient(180deg, #73C9D0, rgb(115 201 208 / .12)); }
.pb-heritage .pb-mon-ev.is-open::before { animation: hg-ping .9s ease-out 1; }
.pb-heritage .pb-mon-ev__head { grid-template-columns: 7.6em minmax(0, 1fr) auto; }
.pb-heritage .pb-mon-ev__head small { grid-column: 2 / -1; }
.pb-heritage .pb-mon-kv { grid-template-columns: 5.6em minmax(0, 1fr); }
.pb-heritage .pb-mon-annals li { grid-template-columns: 7.6em minmax(0, 1fr) auto; }
.pb-heritage .pb-mon-filters { grid-template-columns: minmax(0, 1fr); }
.pb-heritage .pb-mon-merits__head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.pb-heritage .pb-mon-heads__go { margin: 0 12px 12px; }
.pb-heritage .pb-mon-chaps button { transition: background .25s ease, color .25s ease, border-color .25s ease; }

/* On the phone: the stone in the middle, the six along the bottom, and the archive a drawer that rises over them. */
.pb-heritage--phone .pb-heritage-top { padding: 12px 14px 28px; }
.pb-heritage--phone .pb-heritage-title h1 { font-size: 20px; letter-spacing: .18em; }
.pb-heritage--phone .pb-heritage-title p { font-size: 12px; letter-spacing: .2em; }
.pb-heritage--phone .pb-heritage-stone__hint { opacity: .85; transform: translate(-50%, 0); font-size: 12px; }
.pb-heritage--phone.has-drawer .pb-heritage-stone__hint { opacity: 0; }
.pb-heritage-dock { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; }
.pb-heritage-dock > * { pointer-events: auto; }
.pb-heritage--phone .pb-heritage-nav { position: static; display: flex; gap: 6px; width: auto; overflow-x: auto; padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  border: 0; border-top: 1px solid var(--mon-line); border-radius: 0; background: linear-gradient(0deg, rgb(8 16 22 / .9), rgb(8 16 22 / .62)); scrollbar-width: none; box-shadow: none; }
.pb-heritage--phone .pb-heritage-nav::-webkit-scrollbar { display: none; }
.pb-heritage--phone .pb-heritage-nav button { flex: none; width: auto; min-height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; letter-spacing: .1em; }
.pb-heritage--phone .pb-heritage-nav button.is-on { border-color: rgb(115 201 208 / .6); box-shadow: none; }
.pb-heritage-drawer { flex: none; display: flex; flex-direction: column; height: 52%; border: 1px solid var(--mon-line); border-bottom: 0; border-radius: 18px 18px 0 0;
  background: rgb(13 26 35 / .82); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); box-shadow: 0 -18px 40px -24px rgb(0 0 0 / .7);
  transition: height .35s cubic-bezier(.2,.7,.2,1); animation: hg-rise .35s cubic-bezier(.2,.7,.2,1) both; }
.has-drawer--full .pb-heritage-drawer { height: calc(100% - 150px); }
.pb-heritage-drawer__bar { display: flex; align-items: center; gap: 6px; padding: 4px 8px 0 56px; touch-action: none; }
.pb-heritage-drawer__grip { flex: 1; min-height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.pb-heritage-drawer__grip i { display: block; width: 44px; height: 4px; margin: 0 auto; border-radius: 2px; background: rgb(228 235 236 / .35); }
.pb-heritage-drawer__bar .pb-mon-link { min-width: 48px; min-height: 40px; }
.pb-heritage-drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; overscroll-behavior: contain; }
.pb-heritage--phone .pb-heritage-archive__page > h3 { font-size: 18px; margin-bottom: 10px; }

@keyframes hg-in { from { opacity: 0; } }
@keyframes hg-fade { from { opacity: 0; transform: translateY(6px); } }
@keyframes hg-rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes hg-breathe { 50% { opacity: .62; } }
@keyframes hg-pulse { 50% { opacity: .3; } }
@keyframes hg-ping { from { box-shadow: 0 0 0 1.5px #73C9D0, 0 0 0 0 rgb(115 201 208 / .55); } to { box-shadow: 0 0 0 1.5px #73C9D0, 0 0 0 12px rgb(115 201 208 / 0); } }
/* Less moving for those who ask for it, and on modest machines. */
.pb-heritage.is-calm .pb-heritage-words, .pb-heritage.is-calm .pb-heritage-glow, .pb-heritage.is-calm .pb-mon-ev.is-open::before { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .pb-heritage *, .pb-heritage *::before { animation: none !important; }
  .pb-heritage .sect-heritage-background, .pb-heritage-words--lit, .pb-heritage-vignette, .pb-heritage-drawer { transition: none; }
}
.pb-res--desk .pb-resname .pb-resname__qi { font-size: 13px; line-height: 18px; }

/* ---- 洞府, 2026-11-10 critique follow-up: cool grey-teal glass, gold only on thin lines and small marks;
   panel words at 14px (13px for what is secondary); glass behind words at least 72% opaque; 44px to touch on the phone ---- */
:root { --gold: #c2a46b; --gold-line: rgb(194 164 107 / .34); --hall-ink: #e6ebe9; --hall-soft: #b3bfbf; --hall-faint: #98a5a6;
  --hall-glass: linear-gradient(180deg, rgb(24 33 38 / .9), rgb(15 21 25 / .93)); --hall-solid: rgb(17 24 28 / .94); --hall-veil: rgb(16 23 27 / .76);
  --hall-disc: radial-gradient(circle at 50% 32%, rgb(54 68 74), rgb(16 22 26)); }
/* Along the top. */
.pb-res-top .pb-back, .pb-resutil { background: var(--hall-veil); color: var(--hall-ink); }
.pb-resutil:hover, .pb-resutil:focus-visible, .pb-resutil[aria-expanded="true"] { background: rgb(28 39 44 / .9); }
.pb-resutil em, .pb-dock__disc em, .pb-resme__pic em { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font: 600 13px/18px var(--font-sans); }
.pb-resme { color: #eef1ef; }
.pb-resme small { color: #d9e0de; font-size: 13px; line-height: 17px; }
.pb-resme .pb-resme__bio { color: #c3ccca; }
.pb-resme > .pb-resme__pic { position: relative; display: block; flex: none; }
.pb-resme__pic em { position: absolute; right: -6px; top: -4px; background: #c8402e; color: #fff; font-style: normal; text-align: center; text-shadow: none; }
.pb-resme__pic i { position: absolute; right: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: #c8402e; box-shadow: 0 0 0 2px rgb(16 23 27); }
.pb-resname { color: #f1f2ee; }
.pb-resname small { color: #dde3e1; font-size: 14px; line-height: 19px; }
.pb-res .pb-resname .pb-resname__qi { padding: 2px 12px; background: var(--hall-veil); box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--hall-ink); font-size: 13px; line-height: 18px; }
.pb-resname em { background: rgb(194 164 107 / .18); color: var(--hall-ink); font-size: 13px; line-height: 18px; }
.pb-res--desk .pb-resme small { color: #dbe2e0; }
.pb-res--desk .pb-resme .pb-resme__bio { color: #c3ccca; }
.pb-res--desk .pb-resme .wd-avatar { box-shadow: 0 0 0 1px var(--gold-line), 0 0 0 3px rgb(16 23 27 / .6); }
.pb-res--desk .pb-resname small { color: #e2e7e5; }
/* Website: the five tools in one strip of glass, a word under each icon. */
.pb-res--desk .pb-res-top__tools { justify-self: end; gap: 2px; padding: 6px; border-radius: 18px; background: var(--hall-veil);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 var(--gold-line), 0 12px 28px -14px rgb(0 0 0 / .6); }
.pb-res--desk .pb-resutil--word { width: auto; min-width: 58px; height: auto; display: grid; justify-items: center; gap: 4px; padding: 8px 8px 7px; border-radius: 12px; background: none; color: var(--hall-ink); }
.pb-res--desk .pb-resutil--word:hover, .pb-res--desk .pb-resutil--word:focus-visible, .pb-res--desk .pb-resutil--word[aria-expanded="true"] { background: rgb(220 235 235 / .08); }
.pb-resutil__word { font: 500 13px/16px var(--font-sans); letter-spacing: .06em; white-space: nowrap; }
.pb-res--desk .pb-resutil--word em { right: 6px; top: 2px; }
/* Panels in the 洞府. */
.pb-dongfu-home .pb-respanel { background: var(--hall-solid); color: var(--hall-ink); box-shadow: inset 0 1px 0 var(--gold-line), 0 20px 50px rgb(0 0 0 / .5); }
.pb-dongfu-home .pb-respanel__head { border-bottom-color: rgb(220 235 235 / .08); }
.pb-dongfu-home .pb-respanel-wrap { background: rgb(6 10 12 / .34); }
.pb-respanel__head small, .pb-resrow > span, .pb-gbmsg__acts button, .pb-jpost__acts > button, .pb-jpost__see, .pb-jpost__see .wd-chip,
.pb-viewer__acts, .pb-seesel select, .pb-switch, .pb-confirm, .pb-info__tip, .pb-resowner small, .pb-fumsg__main small, .pb-fumsg__play, .pb-fubtn small { font-size: 13px; }
.pb-respanel__close { font-size: 14px; }
.pb-respanel__note { font-size: 13px; line-height: 19px; }
.pb-resempty, .pb-notice-row, .pb-viewer figcaption, .pb-gbmsg__head b { font-size: 14px; }
.pb-gbmsg__head small, .pb-guest__main small, .pb-notice-row small, .pb-curio small, .pb-curio__del, .pb-confirm--small { font-size: 13px; line-height: 18px; }
.pb-curio b { font-size: 13px; line-height: 18px; }
.pb-sample { font-size: 12px; line-height: 17px; }
.pb-gbmsg .pb-gbmsg__reply { border-left-color: var(--gold-line); color: var(--hall-soft); font-size: 14px; }
.pb-dongfu-home .pb-gbmsg, .pb-dongfu-home .pb-notice-row { background: rgb(220 235 235 / .05); }
.pb-jpost__acts > button[aria-pressed="true"] { color: #bfe0dc; }
.pb-shelf h3 { color: var(--gold); font-size: 14px; }
.pb-resowner__bio { color: var(--hall-soft); }
.pb-info__tip, .pb-seesel option { background: rgb(20 28 32 / .98); }
.pb-dongfu-home .pb-resimm span { background: var(--hall-veil); color: var(--hall-ink); font-size: 13px; }
/* Cards in 资料: one rhythm inside, 12px between every part. */
.pb-rcard { display: grid; gap: 12px; padding: 16px; border-radius: 14px; color: var(--hall-ink); background: var(--hall-glass);
  box-shadow: inset 0 0 0 1px rgb(220 235 235 / .07), inset 0 1px 0 var(--gold-line), 0 12px 26px -12px rgb(0 0 0 / .45); }
.pb-rcard > header, .pb-rcard__desc, .pb-rcard__kv { margin: 0; }
.pb-rcard h3 { color: #eef1ee; }
.pb-rcard h3 small { color: var(--hall-faint); }
.pb-rcard__more, .pb-rcard__edit { color: var(--hall-soft); font-size: 14px; }
.pb-rcard__more:hover, .pb-rcard__edit:hover { color: #fff; }
.pb-rcard__empty { color: var(--hall-faint); font-size: 14px; }
.pb-rcard__desc { color: var(--hall-soft); font-size: 14px; line-height: 22px; }
.pb-rcard__kv { color: var(--hall-faint); font-size: 14px; line-height: 20px; }
.pb-rcard__kv b { font-size: 15px; line-height: 20px; }
.pb-rcard__kv--bar { row-gap: 8px; }
.pb-rcards { gap: 14px; }
.pb-qibar { height: 8px; border-radius: 4px; background: rgb(0 0 0 / .45); box-shadow: inset 0 0 0 1px rgb(220 235 235 / .1); }
.pb-qibar i { background: linear-gradient(90deg, #8c7444, #d4b97f); }
.pb-qibar--qi i { background: linear-gradient(90deg, #4f7f78, #a8d8cf); }
.pb-tag { border-color: var(--gold-line); background: rgb(220 235 235 / .05); font-size: 14px; }
.pb-tag i { color: var(--hall-faint); }
.pb-tag--add { color: var(--hall-soft); }
.pb-rlist li > button:first-child:hover, .pb-rlist__act:hover { background: rgb(220 235 235 / .07); }
.pb-rlist__icon { color: var(--gold); }
.pb-rlist__act { color: var(--hall-soft); }
.pb-rlist__text > small, .pb-rlist__text b small, .pb-rlist li > small, .pb-rlist li > button:first-child > small { color: var(--hall-faint); font-size: 13px; line-height: 18px; }
.pb-rgift { background: rgb(220 235 235 / .05); box-shadow: inset 0 0 0 1px var(--gold-line); }
.pb-rgift b { font-size: 13px; line-height: 18px; }
.pb-rgift small { color: var(--hall-faint); font-size: 13px; line-height: 18px; }
.pb-curio__face { background: radial-gradient(ellipse at 50% 20%, rgb(220 235 235 / .1), transparent 70%), linear-gradient(180deg, rgb(30 40 45 / .92), rgb(14 20 24 / .96)); box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 -10px 18px rgb(0 0 0 / .4); }
/* The dock, the seals in the room, the chat box. */
.pb-dock { background: linear-gradient(180deg, rgb(22 31 36 / .78), rgb(13 19 23 / .92)); box-shadow: inset 0 1px 0 var(--gold-line), 0 -6px 24px rgb(0 0 0 / .3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pb-dock__item { color: var(--hall-ink); }
.pb-dock__disc { background: var(--hall-disc); box-shadow: 0 0 0 1px rgb(194 164 107 / .5), 0 6px 14px rgb(0 0 0 / .45); }
.pb-dock__item:hover .pb-dock__disc, .pb-dock__item:focus-visible .pb-dock__disc { box-shadow: 0 0 0 1px rgb(214 190 140 / .9), 0 8px 18px rgb(0 0 0 / .5); }
.pb-seal__disc { color: var(--hall-ink); background: var(--hall-disc); box-shadow: 0 0 0 1px rgb(194 164 107 / .5), 0 8px 20px rgb(0 0 0 / .45); }
.pb-seal:hover .pb-seal__disc, .pb-seal:focus-visible .pb-seal__disc { box-shadow: 0 0 0 1px rgb(214 190 140 / .9), 0 10px 24px rgb(0 0 0 / .5); }
.pb-seal__name { color: #f1f2ee; }
.pb-dfchat .wd-ci { background: rgb(16 23 27 / .78); border-color: rgb(220 235 235 / .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pb-dfchat__log { background: rgb(16 23 27 / .78); }
.pb-dfchat__log p { font-size: 14px; line-height: 20px; }
.pb-dfchat__log .is-self b { color: var(--gold); }
.pb-chatmode { background: rgb(16 23 27 / .78); box-shadow: inset 0 0 0 1px var(--gold-line); }
.pb-chatmode button { color: var(--hall-soft); font-size: 14px; }
.pb-chatmode button[aria-pressed="true"] { background: linear-gradient(180deg, rgb(58 76 80 / .96), rgb(32 44 48 / .96)); box-shadow: inset 0 0 0 1px rgb(194 164 107 / .55); color: #f4f6f4; }
.pb-fubtn { background: linear-gradient(180deg, rgb(24 33 38 / .94), rgb(14 20 24 / .96)); }
.pb-fucast__bar p { background: rgb(16 23 27 / .8); color: var(--hall-ink); font-size: 14px; }
.pb-dongfu-home > .pb-dfsound { background: var(--hall-veil); color: var(--hall-ink); font-size: 13px; line-height: 18px; padding: 3px 10px; }
.pb-spot { color: #f1f2ee; }
.pb-spot small { color: #d9e0de; font-size: 13px; }
/* The chat box's tools say what they are on hover and on focus; 赠送灵石 is a wrapped gift. */
.pb-dfchat .wd-ci__tool { position: relative; }
.pb-dfchat .wd-ci__tool::after { content: attr(aria-label); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 2; padding: 5px 10px; border-radius: 8px;
  background: rgb(18 26 30 / .96); box-shadow: inset 0 0 0 1px var(--gold-line), 0 8px 20px -8px rgb(0 0 0 / .6); color: var(--hall-ink);
  font: 500 13px/18px var(--font-sans); white-space: nowrap; translate: -50% 4px; opacity: 0; pointer-events: none;
  transition: opacity .15s ease, translate .25s cubic-bezier(.22, 1, .36, 1); }
.pb-dfchat .wd-ci__tool:hover::after, .pb-dfchat .wd-ci__tool:focus-visible::after { opacity: 1; translate: -50% 0; }
.pb-dfchat .wd-ci__tool[aria-label="赠送灵石"] svg { display: none; }
.pb-dfchat .wd-ci__tool[aria-label="赠送灵石"]::before { content: ''; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8.5' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12.5V19a1.5 1.5 0 0 0 1.5 1.5h11A1.5 1.5 0 0 0 19 19v-6.5M12 8.5v12M12 8.5C11 5.5 9.6 3.8 8 4.2 6.4 4.6 6.5 7 8 7.8c1.2.7 4 .7 4 .7zM12 8.5c1-3 2.4-4.7 4-4.3 1.6.4 1.5 2.8 0 3.6-1.2.7-4 .7-4 .7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8.5' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12.5V19a1.5 1.5 0 0 0 1.5 1.5h11A1.5 1.5 0 0 0 19 19v-6.5M12 8.5v12M12 8.5C11 5.5 9.6 3.8 8 4.2 6.4 4.6 6.5 7 8 7.8c1.2.7 4 .7 4 .7zM12 8.5c1-3 2.4-4.7 4-4.3 1.6.4 1.5 2.8 0 3.6-1.2.7-4 .7-4 .7z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .pb-dfchat .wd-ci__tool::after { transition: opacity .15s ease; translate: -50% 0; } }
/* Phone: 44px to touch everywhere along the top, the talk switch and the dock; icons stay their size. */
.pb-res--phone .pb-res-top .pb-back, .pb-res--phone .pb-resutil { width: 44px; height: 44px; }
.pb-res--phone .pb-resme { min-height: 44px; }
.pb-res--phone .pb-chatmode { padding: 0; }
.pb-res--phone .pb-chatmode button { min-height: 44px; padding: 0 18px; }
.pb-res--phone .pb-dock__item { min-width: 44px; font-size: 13px; }
.pb-res--phone .pb-dock__disc { width: 44px; height: 44px; }
.pb-res--phone .pb-seal__name { font-size: 13px; }
.pb-res--phone .pb-dfchat .wd-ci__tool { width: 44px; height: 44px; margin: -7px 0; }
.pb-res--phone .pb-dfchat__to .pb-metal { width: 112px; height: 44px; }
/* Phone: the 洞府 menu behind your own picture. */
.pb-resmenu { display: grid; gap: 4px; }
.pb-resmenu__row { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: rgb(220 235 235 / .05); color: var(--hall-ink); font: 500 15px/20px var(--font-sans); text-align: left; cursor: pointer; }
.pb-resmenu__row:hover, .pb-resmenu__row:focus-visible { background: rgb(220 235 235 / .1); }
.pb-resmenu__row > .wd-icon { color: var(--gold); }
.pb-resmenu__row em { min-width: 20px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 10px; background: #c8402e; color: #fff; font: 600 12px/20px var(--font-sans); font-style: normal; text-align: center; }
.pb-resmenu__out { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid rgb(220 235 235 / .08); }
.pb-resmenu__out > b { color: var(--hall-faint); font: 500 13px/18px var(--font-sans); letter-spacing: .2em; }
.pb-resmenu__out > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pb-resmenu__out button { position: relative; display: grid; justify-items: center; gap: 6px; min-height: 44px; padding: 8px 0; border: 0; border-radius: 12px; background: none; color: var(--hall-ink); font: 500 14px/18px var(--font-serif); letter-spacing: .12em; text-indent: .12em; cursor: pointer; }
.pb-resmenu__out button:hover, .pb-resmenu__out button:focus-visible { background: rgb(220 235 235 / .07); }
.pb-resmenu__out img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--gold-line); }
.pb-resmenu__out em { position: absolute; top: 8px; right: calc(50% - 26px); width: 9px; height: 9px; border-radius: 50%; background: #c8402e; }
/* 2026-11-10, second pass: the phone's 资料 keeps 44px to touch without growing; your picture shows it opens a menu; 灵根 at 13px. */
.pb-resme__more { flex: none; align-self: center; margin-left: -2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .9)); }
.pb-dongfu-home .wd-root-badge { font-size: 13px; }
.pb-res--phone .pb-respanel__close, .pb-res--phone .pb-rcard__more, .pb-res--phone .pb-rcard__edit, .pb-res--phone .pb-info__btn { position: relative; }
.pb-res--phone .pb-respanel__close::before, .pb-res--phone .pb-rcard__more::before, .pb-res--phone .pb-rcard__edit::before, .pb-res--phone .pb-info__btn::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); translate: -50% -50%; }
.pb-res--phone .pb-tag--add, .pb-res--phone .pb-rlist li > button:first-child, .pb-res--phone .pb-respanel .wd-btn--sm, .pb-res--phone .pb-resmenu__out button { min-height: 44px; }
.pb-res--phone .pb-dfchat .wd-ci__main { width: 44px; height: 44px; }

/* ---------- 神识威压 (2026-11-10): jade column, gold eave, rain; drawn in app.js (pressField) ---------- */
/* The app draws its own column on the avatar; the design system's is put away. */
.pb-wy { position: relative; display: inline-grid; }
.pb-wy .wd-avatar__pressure { display: none; }
.pb-wy__col {
  position: absolute; left: -70%; right: -70%; top: -100%; bottom: -30%; z-index: 2; pointer-events: none; /* about two faces high (2026-11-21) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
}
.pb-wy__col canvas { display: block; width: 100%; height: 100%; }
/* Pressed flat and shaking under it; it springs back when the 威压 is lifted. */
.pb-wy .wd-avatar__face { transition: transform 520ms cubic-bezier(.3, 1.6, .5, 1), filter 400ms ease, box-shadow 400ms ease; }
.pb-wy--on .wd-avatar--suppressed .wd-avatar__face {
  transform: translateY(13%) scale(1.06, .74); filter: saturate(.3) brightness(.74);
  box-shadow: 0 0 0 1px rgb(150 226 216 / .5), 0 -4px 14px rgb(120 220 208 / .4);
  animation: pb-wy-shake 1.6s linear infinite;
}
@keyframes pb-wy-shake {
  0%, 100% { transform: translate(0, 13%) scale(1.06, .74); }
  8% { transform: translate(.6px, 17%) scale(1.09, .69); }
  16% { transform: translate(-.6px, 13%) scale(1.06, .74); }
  24% { transform: translate(.5px, 14%) scale(1.06, .73); }
  32%, 60% { transform: translate(-.4px, 13%) scale(1.06, .74); }
  46%, 74% { transform: translate(.4px, 13.5%) scale(1.06, .74); }
  88% { transform: translate(-.5px, 13%) scale(1.06, .74); }
}
.pb-profile__av { transition: margin-top 600ms ease; }
.pb-pressed .wd-btn { flex: none; margin-left: auto; }
.pb-member--target .pb-aim { box-shadow: 0 0 0 2px #e6fbf6, 0 0 16px 4px rgb(110 216 204 / .6); }

/* 施展: over everything in its screen. */
.pb-wystrike { position: absolute; inset: 0; z-index: 400; overflow: hidden; pointer-events: auto; }
.pb-wystrike canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pb-wystrike__word {
  position: absolute; left: 0; right: 0; bottom: 16%; margin: 0; display: grid; justify-items: center; gap: 6px;
  color: #e6fbf6; text-shadow: 0 1px 10px #000; font: 400 13px/18px var(--font-sans); letter-spacing: .08em;
  animation: pb-wy-word 2.6s ease both;
}
.pb-wystrike__word b { font: 600 22px/28px var(--font-serif); letter-spacing: .3em; color: #fff3d2; }
@keyframes pb-wy-word { 0% { opacity: 0; transform: translateY(8px); } 12%, 76% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* Struck: everything else in the screen is knocked down a little. */
.pb-wyquake > :not(.pb-wystrike) { animation: pb-wyquake 460ms cubic-bezier(.2, .7, .3, 1); }
@keyframes pb-wyquake { 0% { transform: none; } 12% { transform: translateY(10px); } 30% { transform: translateY(-4px); } 48% { transform: translateY(3px); } 68% { transform: translateY(-1px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pb-wy .wd-avatar__face, .pb-profile__av { transition: none; }
  .pb-wy--on .wd-avatar--suppressed .wd-avatar__face { animation: none; }
  .pb-wy__col { animation: pb-wy-fade 300ms ease both; }
  .pb-wy--off .pb-wy__col { animation: pb-wy-out 300ms ease both; }
  .pb-wystrike { background: rgb(3 16 20 / .6); animation: pb-wy-veil 1.1s ease both; }
  .pb-wystrike__word { animation: none; }
}
@keyframes pb-wy-fade { from { opacity: 0; } }
@keyframes pb-wy-out { to { opacity: 0; } }
@keyframes pb-wy-veil { 0% { opacity: 0; } 20%, 75% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- The rail, narrower and see-through (2026-11-10, the user's request) ---------- */
/* 132 of the reference picture's pixels instead of 165; smaller words and marks. */
.pb-desk { --rail-w: calc(132 * var(--u)); }
/* Glass: the slate thins out and the page's own scene shows through, blurred. */
.pb-desk .pb-rail { background: rgb(25 35 43 / .34) !important; -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: inset -1px 0 0 rgb(255 255 255 / .12), 2px 0 12px rgb(0 0 0 / .18) !important; }
.pb-railwall { background: none; opacity: .72; }
.pb-railwall::after { background: linear-gradient(180deg, rgb(25 35 43 / .5) 0%, rgb(25 35 43 / .42) 42%, rgb(25 35 43 / .28) 50%, rgb(25 35 43 / .1) 60%, rgb(25 35 43 / 0) 68%); }
.pb-desk--railed::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--rail-w); z-index: 0; pointer-events: none;
  background: #19232b var(--rail-back, none) left top / auto 100% no-repeat; }
.pb-desk--at-friends { --rail-back: url(assets/friends-top.png); }
.pb-desk--at-moments { --rail-back: url(assets/wanxiang-top.png); }
.pb-desk--at-sect, .pb-desk--at-recruit, .pb-desk--at-waishi, .pb-desk--at-mysect, .pb-desk--at-recruitPost, .pb-desk--at-found { --rail-back: url(assets/sect-top.png); }
.pb-desk--at-monument { --rail-back: url(assets/sect-heritage.png); }
.pb-desk--at-market { --rail-back: url(assets/market-street.png); }
/* Over a bright scene the words keep a soft shadow under them. */
.pb-desk .pb-rail .pb-rail__logo { margin-top: calc(18 * var(--u)); font-size: calc(38 * var(--u)); text-shadow: 0 1px calc(8 * var(--u)) rgb(0 0 0 / .55), 0 0 calc(10 * var(--u)) rgb(255 255 255 / .25); }
.pb-railcloud { width: calc(44 * var(--u)); height: calc(22 * var(--u)); margin: calc(24 * var(--u)) 0 calc(22 * var(--u)) calc(26 * var(--u)); }
.pb-desk .pb-rail .pb-rail__item { gap: calc(13 * var(--u)); height: calc(40 * var(--u)); margin: 0 0 calc(3 * var(--u)) calc(10 * var(--u)); padding-left: calc(18 * var(--u));
  border-radius: calc(20 * var(--u)) 0 0 calc(20 * var(--u)); font-size: calc(17 * var(--u)); text-shadow: 0 1px 5px rgb(0 0 0 / .65); }
.pb-desk .pb-rail .pb-rail__item .pb-railmark { width: calc(23 * var(--u)); height: calc(23 * var(--u)); }

/* ---------- 洞府 v4, the website (2026-11-10): the user's final picture. Sizes are the picture's own pixels (--u = 100vw / 1672);
   what stands on the film is placed in the film's pixels (--p), by the same sums as filmBox in app.js: the film covers what is
   right of the rail. ---------- */
.pb-desk .pb-dongfu-home { --d4-aw: calc(100vw - var(--rail-w)); --d4-iw: max(var(--d4-aw), 177.778vh); --d4-ih: max(100vh, calc(var(--d4-aw) * .5625));
  --d4-x: calc(var(--rail-w) + (var(--d4-aw) - var(--d4-iw)) / 2); --d4-y: calc((100vh - var(--d4-ih)) / 2); --p: calc(var(--d4-iw) / 2560);
  --d4-line: #c9a063; --d4-ink: #ecd9b0; --d4-dim: #c9ad7c; --d4-ground: rgb(9 9 11 / .8); --d4-serif: 'Noto Serif SC', var(--font-serif);
  background-color: #0a0a0c; background-repeat: no-repeat; background-size: var(--d4-iw) var(--d4-ih); background-position: var(--d4-x) var(--d4-y); }
.pb-desk .pb-dongfu-home > .pb-dfvideo { inset: auto; left: var(--d4-x); top: var(--d4-y); width: var(--d4-iw); height: var(--d4-ih); object-fit: fill; }
.pb-desk .pb-dongfu-home::before { background: linear-gradient(180deg, rgb(6 6 8 / .3), transparent 15%); }
.pb-desk .pb-dongfu-home > .pb-dfflight { z-index: 11; }
.pb-desk .pb-d4 .pb-rail { background: rgb(8 9 12 / .8) !important; }

/* What stands in the room: the user's three things on the film, the censer already in it, and a plaque by each. */
.pb-d4-scene { position: absolute; left: var(--d4-x); top: var(--d4-y); width: var(--d4-iw); height: var(--d4-ih); pointer-events: none; }
.pb-d4-thing { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.pb-d4-thing img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transition: filter .3s ease, transform .3s ease; }
.pb-d4-thing--slip img { filter: drop-shadow(0 0 calc(18 * var(--p)) rgb(110 235 190 / .38)); }
.pb-d4-thing--slip:hover img { filter: drop-shadow(0 0 calc(24 * var(--p)) rgb(120 245 200 / .55)) brightness(1.06); }
.pb-d4-thing__lit { position: absolute; left: 34%; top: 45%; width: 33%; height: 43%; border-radius: 10%; opacity: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(180deg, transparent 30%, rgb(190 255 230 / .5) 46%, transparent 62%) 0 0 / 100% 300% no-repeat; }
.pb-d4-thing--slip:hover .pb-d4-thing__lit { opacity: 1; animation: pb-d4-flow 2.2s linear infinite; }
.pb-d4-thing__lit.is-hit { animation: pb-d4-hit 1.9s ease-out both; }
.pb-d4-thing--slip.is-waking img { animation: pb-d4-wake .46s ease both; }
.pb-d4-thing--book img, .pb-d4-thing--letters img { filter: drop-shadow(calc(-8 * var(--p)) calc(14 * var(--p)) calc(14 * var(--p)) rgb(0 0 0 / .5)); }
.pb-d4-thing--book:hover img, .pb-d4-thing--letters:hover img { filter: drop-shadow(calc(-8 * var(--p)) calc(14 * var(--p)) calc(14 * var(--p)) rgb(0 0 0 / .5)) drop-shadow(0 0 calc(16 * var(--p)) rgb(255 214 140 / .4)) brightness(1.06); }
.pb-d4-thing--book.is-waking img { animation: pb-d4-open .46s ease both; transform-origin: 20% 60%; }
.pb-d4-thing--letters.is-fresh img { animation: pb-d4-fresh 3.2s ease-in-out infinite; }
/* The two on the desk are pictures taken from above; they are laid back onto the desk as the picture has them. */
.pb-d4-thing--book { transform: perspective(calc(2800 * var(--p))) rotateX(56deg); }
.pb-d4-thing--letters { transform: perspective(calc(2800 * var(--p))) rotateX(46deg); }
.pb-d4-thing--censer { border-radius: 40%; transition: background .3s ease; }
.pb-d4-thing--censer:hover { background: radial-gradient(ellipse at 50% 62%, rgb(255 210 140 / .2), transparent 62%); }
@keyframes pb-d4-flow { from { background-position: 0 100%; } to { background-position: 0 0; } }
@keyframes pb-d4-hit { 0% { opacity: 0; box-shadow: 0 0 0 0 rgb(170 255 220 / 0); } 12% { opacity: 1; box-shadow: 0 0 calc(60 * var(--p)) calc(18 * var(--p)) rgb(170 255 220 / .7); background-position: 0 50%; } 100% { opacity: 0; box-shadow: 0 0 calc(90 * var(--p)) calc(30 * var(--p)) rgb(170 255 220 / 0); background-position: 0 0; } }
@keyframes pb-d4-wake { 45% { filter: drop-shadow(0 0 calc(44 * var(--p)) rgb(150 255 215 / .95)) brightness(1.4); transform: scale(1.03); } }
@keyframes pb-d4-open { 60% { filter: drop-shadow(0 0 calc(30 * var(--p)) rgb(255 220 150 / .8)) brightness(1.25); transform: perspective(900px) rotateX(-9deg) rotateY(7deg) scale(1.06); } 100% { transform: perspective(900px) rotateX(-12deg) rotateY(10deg) scale(1.1); opacity: .7; } }
@keyframes pb-d4-fresh { 50% { filter: drop-shadow(calc(-8 * var(--p)) calc(14 * var(--p)) calc(14 * var(--p)) rgb(0 0 0 / .5)) drop-shadow(0 0 calc(20 * var(--p)) rgb(255 206 130 / .55)); } }

.pb-d4-tag { position: absolute; display: grid; justify-items: start; gap: calc(3 * var(--p)); padding: calc(13 * var(--p)) calc(36 * var(--p)) calc(15 * var(--p)); border: 1px solid var(--d4-line); border-radius: calc(28 * var(--p));
  background: var(--d4-ground); box-shadow: 0 0 calc(16 * var(--p)) rgb(214 160 80 / .3), inset 0 0 calc(20 * var(--p)) rgb(214 160 80 / .1); color: var(--d4-ink); text-align: left; white-space: nowrap; cursor: pointer; pointer-events: auto; transition: box-shadow .25s ease, opacity .45s ease; }
.pb-d4-tag:hover, .pb-d4-tag:focus-visible { box-shadow: 0 0 calc(22 * var(--p)) rgb(244 180 90 / .55), inset 0 0 calc(20 * var(--p)) rgb(214 160 80 / .18); }
.pb-d4-tag b { color: #f6e6c2; font: 700 max(15px, calc(34 * var(--p)))/1.25 var(--d4-serif); letter-spacing: .05em; }
.pb-d4-tag small { color: var(--d4-dim); font: 600 max(13px, calc(21.5 * var(--p)))/1.3 var(--d4-serif); letter-spacing: .06em; }
.pb-d4-tag em { position: absolute; right: calc(16 * var(--p)); top: calc(-8 * var(--p)); width: calc(19 * var(--p)); height: calc(19 * var(--p)); border-radius: 50%; background: #e6393d; box-shadow: 0 0 0 calc(2 * var(--p)) rgb(10 10 12 / .65), 0 0 calc(9 * var(--p)) rgb(230 57 61 / .75); }
.pb-d4-tag::before, .pb-d4-tag::after { content: ''; position: absolute; top: 50%; width: calc(8 * var(--p)); height: calc(8 * var(--p)); background: var(--d4-line); rotate: 45deg; translate: -50% -50%; }
.pb-d4-tag::before { left: 0; } .pb-d4-tag::after { left: 100%; }
.pb-d4-tag__line { position: absolute; background: linear-gradient(90deg, rgb(201 160 99 / .15), var(--d4-line)); }
.pb-d4-tag__line::after { content: ''; position: absolute; left: 0; top: 50%; width: calc(7 * var(--p)); height: calc(7 * var(--p)); border-radius: 50%; background: #ffe2a8; box-shadow: 0 0 calc(8 * var(--p)) #f4b45a; translate: -50% -50%; }
.pb-d4-tag--slip { left: calc(var(--rail-w) + 52 * var(--u) - var(--d4-x) + 155 * var(--p)); top: calc(314 * var(--p)); }
.pb-d4-tag--slip .pb-d4-tag__line { right: 100%; top: 50%; width: calc(92 * var(--p)); height: 1px; }
.pb-d4-tag--censer { left: calc(480 * var(--p)); top: calc(684 * var(--p)); }
.pb-d4-tag--censer .pb-d4-tag__line { right: 100%; top: 50%; width: calc(64 * var(--p)); height: 1px; rotate: -14deg; transform-origin: 100% 50%; }
.pb-d4-tag--book { left: calc(922 * var(--p)); top: calc(712 * var(--p)); }
.pb-d4-tag--book .pb-d4-tag__line, .pb-d4-tag--letters .pb-d4-tag__line { left: 56%; top: 100%; width: 1px; height: calc(62 * var(--p)); background: linear-gradient(180deg, var(--d4-line), rgb(201 160 99 / .15)); }
.pb-d4-tag--book .pb-d4-tag__line::after, .pb-d4-tag--letters .pb-d4-tag__line::after { left: 50%; top: 100%; }
.pb-d4-tag--letters { left: calc(1626 * var(--p)); top: calc(601 * var(--p)); }
.pb-d4-tag--letters .pb-d4-tag__line { left: 50%; height: calc(40 * var(--p)); }

/* The frame round the room: who you are, four entries and the 洞府's own card at the top, six entries and the hour at the foot. */
.pb-d4 { font-family: var(--d4-serif); }
.pb-d4-icon { display: block; }
.pb-d4 button:focus-visible { outline: 2px solid #f4d08a; outline-offset: 2px; }
.pb-d4-foot { position: absolute; left: 0; right: 0; bottom: 0; height: calc(200 * var(--u)); background: linear-gradient(180deg, rgb(8 9 11 / 0), rgb(8 9 11 / .8) 40%, rgb(8 9 11 / .95)); pointer-events: none; }
.pb-d4-top { position: absolute; left: calc(var(--rail-w) + 10 * var(--u)); top: calc(8 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); pointer-events: auto; }
.pb-d4-back { display: grid; place-items: center; width: calc(46 * var(--u)); height: calc(46 * var(--u)); padding: 0; border: 0; border-radius: 50%; background: rgb(8 8 10 / .82); box-shadow: 0 0 0 1px rgb(201 160 99 / .55); color: #e8c98e; cursor: pointer; }
.pb-d4-back .pb-d4-icon { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.pb-d4-me { display: flex; align-items: flex-start; gap: calc(22 * var(--u)); padding: 0; border: 0; background: none; color: #fff8ef; text-align: left; cursor: pointer; }
.pb-d4-me__pic { position: relative; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--d4-line), 0 0 0 calc(3 * var(--u)) rgb(10 10 12 / .7), 0 0 calc(16 * var(--u)) rgb(214 160 80 / .4); }
.pb-d4-me__pic em { position: absolute; z-index: 3; right: calc(-7 * var(--u)); bottom: calc(-3 * var(--u)); display: grid; place-items: center; min-width: calc(28 * var(--u)); height: calc(28 * var(--u)); padding: 0 calc(3 * var(--u)); border-radius: 999px; background: #17130e;
  box-shadow: 0 0 0 1px var(--d4-line); color: var(--d4-ink); font: 600 max(12px, calc(14 * var(--u)))/1 var(--d4-serif); }
.pb-d4-me__words { display: grid; justify-items: start; gap: calc(4 * var(--u)); padding-top: calc(5 * var(--u)); text-shadow: 0 1px 6px rgb(0 0 0 / .85); }
.pb-d4-me__words b { font: 700 calc(20 * var(--u))/1.3 var(--d4-serif); letter-spacing: .06em; }
.pb-d4-me__words small { color: #ece2cc; font: 500 max(13px, calc(15 * var(--u)))/1.3 var(--d4-serif); letter-spacing: .05em; }
.pb-d4-me__words i { margin-top: calc(3 * var(--u)); padding: calc(4 * var(--u)) calc(16 * var(--u)); border-radius: 999px; background: rgb(126 92 58 / .85); box-shadow: inset 0 0 0 1px var(--d4-line); color: #f8ead0; font: 600 max(13px, calc(15 * var(--u)))/1.3 var(--d4-serif); letter-spacing: .08em; text-shadow: none; }
.pb-d4-right { position: absolute; right: calc(14 * var(--u)); top: calc(6 * var(--u)); display: grid; justify-items: end; gap: calc(9 * var(--u)); pointer-events: none; }
.pb-d4-right > * { pointer-events: auto; }
.pb-d4-tools { display: flex; gap: calc(2 * var(--u)); }
.pb-d4-tools--visit { padding: calc(20 * var(--u)) calc(16 * var(--u)); }
.pb-d4-tool { position: relative; display: grid; justify-items: center; align-content: center; gap: calc(3 * var(--u)); width: calc(82 * var(--u)); height: calc(82 * var(--u)); padding: 0; border: 0; border-radius: 50%; background: rgb(8 8 10 / .84);
  color: var(--d4-ink); font: 600 max(13px, calc(15 * var(--u)))/1.2 var(--d4-serif); letter-spacing: .1em; text-indent: .1em; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.pb-d4-tool .pb-d4-icon { width: calc(31 * var(--u)); height: calc(31 * var(--u)); color: #ecc98a; }
.pb-d4-tool:hover, .pb-d4-tool:focus-visible { background: rgb(34 26 16 / .92); box-shadow: 0 0 0 1px var(--d4-line), 0 0 calc(12 * var(--u)) rgb(244 180 90 / .35); }
.pb-d4-tool em { position: absolute; right: calc(13 * var(--u)); top: calc(7 * var(--u)); min-width: calc(20 * var(--u)); height: calc(20 * var(--u)); padding: 0 calc(4 * var(--u)); border-radius: 999px; background: #e6393d; color: #fff;
  font: 700 max(12px, calc(13 * var(--u)))/calc(20 * var(--u)) var(--font-sans); font-style: normal; letter-spacing: 0; text-indent: 0; text-align: center; }
.pb-d4-card { display: grid; gap: calc(5 * var(--u)); min-width: calc(300 * var(--u)); margin-right: calc(16 * var(--u)); padding: calc(11 * var(--u)) calc(34 * var(--u)) calc(12 * var(--u)); border: 1px solid var(--d4-line); border-radius: calc(24 * var(--u));
  background: var(--d4-ground); box-shadow: 0 0 calc(14 * var(--u)) rgb(214 160 80 / .28), inset 0 0 calc(18 * var(--u)) rgb(214 160 80 / .08); color: var(--d4-ink); font: 600 calc(18 * var(--u))/1.5 var(--d4-serif); letter-spacing: .05em; text-align: left; white-space: nowrap; }
button.pb-d4-card { cursor: pointer; }
.pb-d4-card b { color: #fff3d8; font-weight: 600; }
.pb-d4-name { margin-right: calc(16 * var(--u)); padding: calc(2 * var(--u)) calc(14 * var(--u)); border: 0; border-radius: 999px; background: none; color: #efe3c8; font: 600 max(13px, calc(15 * var(--u)))/1.4 var(--d4-serif); letter-spacing: .14em; text-shadow: 0 1px 6px rgb(0 0 0 / .95), 0 0 12px rgb(0 0 0 / .7); }
button.pb-d4-name { cursor: pointer; }
.pb-d4-dock { position: absolute; left: 50%; bottom: calc(40 * var(--u)); translate: -50% 0; display: flex; align-items: center; gap: calc(54 * var(--u)); pointer-events: auto; }
.pb-d4-dock::after { content: ''; position: absolute; left: 22%; right: -6%; bottom: calc(-14 * var(--u)); height: 1px; background: linear-gradient(90deg, transparent, rgb(201 160 99 / .55) 20%, rgb(201 160 99 / .55) 80%, transparent); pointer-events: none; }
.pb-d4-entry { position: relative; display: grid; justify-items: center; gap: calc(6 * var(--u)); min-width: calc(78 * var(--u)); padding: 0; border: 0; background: none; color: var(--d4-ink); font: 700 max(13px, calc(17 * var(--u)))/1.3 var(--d4-serif); letter-spacing: .1em; text-indent: .1em; white-space: nowrap; cursor: pointer; }
.pb-d4-entry__disc { display: grid; place-items: center; width: calc(64 * var(--u)); height: calc(64 * var(--u)); border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgb(44 34 22 / .92), rgb(10 10 12 / .94));
  box-shadow: 0 0 0 1px rgb(201 160 99 / .5), 0 0 calc(12 * var(--u)) rgb(0 0 0 / .5); color: #ecc98a; transition: box-shadow .2s ease, color .2s ease; }
.pb-d4-entry__disc .pb-d4-icon { width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.pb-d4-entry:hover .pb-d4-entry__disc, .pb-d4-entry:focus-visible .pb-d4-entry__disc { box-shadow: 0 0 0 1px #ecc98a, 0 0 calc(16 * var(--u)) rgb(244 180 90 / .5); color: #ffe6b4; }
.pb-d4-entry + .pb-d4-entry::before { content: ''; position: absolute; right: calc(100% + 4 * var(--u)); top: calc(32 * var(--u)); width: calc(46 * var(--u)); height: 1px; background: linear-gradient(90deg, transparent, rgb(201 160 99 / .75) 50%, transparent); }
.pb-d4-entry + .pb-d4-entry::after { content: ''; position: absolute; right: calc(100% + 24 * var(--u)); top: calc(32 * var(--u)); width: calc(6 * var(--u)); height: calc(6 * var(--u)); background: var(--d4-line); rotate: 45deg; translate: 0 -50%; }
.pb-d4-entry.is-on { min-width: calc(112 * var(--u)); color: #fff8ef; }
.pb-d4-entry.is-on .pb-d4-entry__disc { align-content: start; width: calc(112 * var(--u)); height: calc(112 * var(--u)); padding-top: calc(14 * var(--u)); background: radial-gradient(circle at 50% 42%, rgb(244 180 90 / .3), rgb(20 14 8 / .72) 68%);
  box-shadow: 0 0 0 1px #f0bd6c, 0 0 0 calc(5 * var(--u)) rgb(10 10 12 / .35), 0 0 0 calc(6 * var(--u)) rgb(240 189 108 / .45), 0 0 calc(30 * var(--u)) rgb(244 180 90 / .6), inset 0 0 calc(22 * var(--u)) rgb(244 180 90 / .3); color: #ffe9bd; }
.pb-d4-entry.is-on .pb-d4-entry__disc .pb-d4-icon { width: calc(54 * var(--u)); height: calc(54 * var(--u)); filter: drop-shadow(0 0 calc(8 * var(--u)) rgb(255 200 110 / .8)); }
.pb-d4-entry.is-on > span:last-child { position: absolute; left: 0; right: 0; bottom: calc(14 * var(--u)); text-shadow: 0 1px 4px rgb(0 0 0 / .8); }
.pb-d4-entry .wd-icon, .pb-d4-entry__disc > svg:not(.pb-d4-icon) { color: #ecc98a; }
.pb-d4-time { position: absolute; right: calc(50 * var(--u)); bottom: calc(50 * var(--u)); display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: calc(24 * var(--u)); row-gap: calc(3 * var(--u)); min-width: calc(250 * var(--u));
  padding: calc(12 * var(--u)) calc(32 * var(--u)); border: 1px solid var(--d4-line); border-radius: calc(28 * var(--u)); background: var(--d4-ground); box-shadow: 0 0 calc(14 * var(--u)) rgb(214 160 80 / .28), inset 0 0 calc(18 * var(--u)) rgb(214 160 80 / .08); color: #f6e6c2; pointer-events: auto; }
.pb-d4-time .pb-d4-icon { width: calc(34 * var(--u)); height: calc(34 * var(--u)); color: #fff8ef; }
.pb-d4-time b { font: 700 calc(22 * var(--u))/1.3 var(--d4-serif); letter-spacing: .14em; }
.pb-d4-time small { grid-column: 1 / -1; justify-self: center; color: var(--d4-dim); font: 600 max(13px, calc(14 * var(--u)))/1.3 var(--d4-serif); letter-spacing: .1em; }
.pb-d4-card, .pb-d4-time { position: relative; }
.pb-d4-time { position: absolute; }
.pb-d4-card::before, .pb-d4-card::after, .pb-d4-time::before, .pb-d4-time::after { content: ''; position: absolute; top: 50%; width: calc(7 * var(--u)); height: calc(7 * var(--u)); background: var(--d4-line); rotate: 45deg; translate: -50% -50%; }
.pb-d4-card::before, .pb-d4-time::before { left: 0; } .pb-d4-card::after, .pb-d4-time::after { left: 100%; }
.pb-d4-soonwrap { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; background: rgb(4 4 6 / .42); pointer-events: auto; animation: pb-arrive-ui .2s ease both; }
.pb-d4-soon { display: grid; justify-items: center; gap: 10px; min-width: 240px; padding: 24px 40px 20px; border: 1px solid var(--d4-line); border-radius: 24px; background: rgb(10 10 12 / .95); box-shadow: 0 0 24px rgb(214 160 80 / .3); color: var(--d4-ink); }
.pb-d4-soon b { font: 700 22px/1.3 var(--d4-serif); letter-spacing: .1em; color: #f6e6c2; }
.pb-d4-soon p { margin: 0; color: var(--d4-dim); font: 600 16px/1.4 var(--d4-serif); letter-spacing: .2em; }
.pb-d4-soon button { margin-top: 6px; padding: 6px 24px; border: 1px solid rgb(201 160 99 / .6); border-radius: 999px; background: none; color: var(--d4-ink); font: 600 14px/1.4 var(--d4-serif); letter-spacing: .1em; cursor: pointer; }
/* Behind the hanging slip: what has come, and the box to speak in. Behind the book: how your practice stands. */
.pb-desk .pb-dongfu-home > .pb-dfsheet { z-index: 10; justify-content: center; padding: 24px 24px 24px calc(var(--rail-w) + 24px); background: rgb(4 4 6 / .5); }
.pb-desk .pb-dongfu-home > .pb-dfsheet .pb-dfsheet__box { box-sizing: border-box; width: min(600px, 100%); max-width: none; padding: 14px 18px 18px; border: 1px solid rgb(201 160 99 / .5); background: rgb(12 15 18 / .96); box-shadow: 0 0 24px rgb(214 160 80 / .22), 0 20px 50px rgb(0 0 0 / .5); }
.pb-desk .pb-dongfu-home > .pb-dfroster { z-index: 12; }
.pb-d4-talk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; }
.pb-d4-stats { display: flex; gap: 10px; }
.pb-d4-stats span { flex: 1; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgb(220 235 235 / .05); box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--hall-faint); font: 400 13px/18px var(--font-sans); }
.pb-d4-stats b { color: var(--hall-ink); font: 600 16px/22px var(--d4-serif); }
@media (prefers-reduced-motion: reduce) { .pb-d4-thing img, .pb-d4-thing__lit { animation: none !important; } }

/* ---------- 传音玉简 on the website (2026-11-11, after the user's picture): a gilded panel, who you speak with on the
   left; picking one opens your talk with them on the right, over a misted landscape. ---------- */
.pb-slt-wrap { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px 24px 24px calc(var(--rail-w, 0px) + 24px); background: rgb(3 6 8 / .55); animation: pb-arrive-ui .22s ease both; }
.pb-slt { --slt-gold: rgb(222 186 118); --slt-line: rgb(214 176 104 / .55); --slt-ink: #eef0ea; --slt-dim: #a9b8b6; --slt-glass: rgb(16 34 38 / .9);
  position: relative; display: grid; grid-template-columns: 410px; width: 410px; height: min(880px, 100%); box-sizing: border-box; border: 1.5px solid var(--slt-line); border-radius: 34px;
  background: linear-gradient(180deg, rgb(20 40 44 / .95), rgb(12 26 30 / .97)); color: var(--slt-ink);
  box-shadow: 0 0 0 1px rgb(255 226 160 / .12) inset, 0 0 26px rgb(226 180 96 / .35), 0 0 4px rgb(255 214 140 / .6), 0 30px 80px rgb(0 0 0 / .6);
  transition: width .32s cubic-bezier(.2, .7, .2, 1); }
.pb-slt.is-open { grid-template-columns: 410px minmax(0, 1fr); width: min(1100px, 100%); }
/* The gilded edge's two marks, top and bottom middle, and the light along it. */
.pb-slt::before { content: ''; position: absolute; inset: -1.5px; border-radius: 34px; pointer-events: none;
  background: linear-gradient(90deg, transparent 8%, rgb(255 222 150 / .9) 50%, transparent 92%) top / 100% 1.5px no-repeat, linear-gradient(90deg, transparent 8%, rgb(255 222 150 / .9) 50%, transparent 92%) bottom / 100% 1.5px no-repeat; }
.pb-slt__gem { position: absolute; left: 50%; z-index: 2; width: 13px; height: 13px; border: 1.5px solid var(--slt-gold); background: #142a2e; rotate: 45deg; translate: -50% -50%; box-shadow: 0 0 10px rgb(255 214 140 / .7); pointer-events: none; }
.pb-slt__gem--top { top: 0; } .pb-slt__gem--bottom { top: 100%; }
.pb-slt__gem::after { content: ''; position: absolute; inset: 3px; background: var(--slt-gold); }

/* Left: who you speak with. */
.pb-slt-list { display: flex; flex-direction: column; min-height: 0; padding: 30px 16px 24px 20px; }
.pb-slt.is-open .pb-slt-list { border-right: 1px solid rgb(214 176 104 / .22); }
.pb-slt-find { display: flex; align-items: center; gap: 12px; margin: 0 4px 20px; }
.pb-slt-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 26px; background: rgb(8 20 22 / .6); box-shadow: inset 0 0 0 1px rgb(214 176 104 / .32); color: var(--slt-dim); }
.pb-slt-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--slt-ink); font: 400 19px/1 var(--font-serif); letter-spacing: .06em; }
.pb-slt-search input::placeholder { color: var(--slt-dim); }
.pb-slt-search:focus-within { box-shadow: inset 0 0 0 1px var(--slt-gold), 0 0 0 3px rgb(222 186 118 / .2); }
.pb-slt-round { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--slt-line); border-radius: 50%; background: rgb(10 22 24 / .7); color: #f2e2bc; cursor: pointer; box-shadow: 0 0 10px rgb(222 186 118 / .2); transition: box-shadow .18s ease, color .18s ease; }
.pb-slt-round:hover { box-shadow: 0 0 16px rgb(222 186 118 / .45); color: #fff3d4; }
.pb-slt-round:focus-visible, .pb-slt-back:focus-visible, .pb-slt-item:focus-visible, .pb-slt-shut:focus-visible { outline: 2px solid var(--slt-gold); outline-offset: 2px; }
.pb-slt-shut { flex: none; padding: 6px 4px; border: 0; background: none; color: var(--slt-dim); font: 500 14px/1 var(--font-serif); letter-spacing: .1em; cursor: pointer; }
.pb-slt-shut:hover { color: var(--slt-ink); }
.pb-slt.is-open .pb-slt-shut { display: none; }
.pb-slt-people { flex: 1; min-height: 0; margin: 0; padding: 0 2px 0 0; list-style: none; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(214 176 104 / .35) transparent; }
.pb-slt-item { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 8px; align-items: center; width: 100%; padding: 16px 16px 16px 22px; border: 0; border-bottom: 1px solid rgb(214 176 104 / .14); border-radius: 0; background: none; color: inherit; text-align: left; cursor: pointer; transition: background .18s ease; }
.pb-slt-item:hover { background: rgb(222 186 118 / .06); }
.pb-slt-item.is-on { border: 1px solid rgb(232 196 124 / .85); border-radius: 18px; background: linear-gradient(100deg, rgb(70 62 38 / .55), rgb(30 44 44 / .5)); box-shadow: 0 0 16px rgb(226 186 110 / .35), inset 0 0 18px rgb(226 186 110 / .12); }
.pb-slt-item.is-on::before { content: ''; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: #ffe7b0; box-shadow: 0 0 8px #ffd27a; translate: 0 -50%; }
.pb-slt-item__av { grid-row: 1 / 3; display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; box-shadow: 0 0 0 2px rgb(222 186 118 / .55), 0 0 12px rgb(222 186 118 / .3); }
.pb-slt-item__av .wd-avatar { width: 76px !important; height: 76px !important; }
.pb-slt-item b { min-width: 0; overflow: hidden; color: var(--slt-ink); font: 500 23px/1.25 var(--font-serif); letter-spacing: .08em; white-space: nowrap; text-overflow: ellipsis; }
.pb-slt-item time { justify-self: end; color: var(--slt-dim); font: 400 16px/1 var(--font-serif); white-space: nowrap; }
.pb-slt-item small { grid-column: 2 / 4; min-width: 0; overflow: hidden; color: #c8d0cb; font: 400 17px/1.4 var(--font-serif); letter-spacing: .04em; white-space: nowrap; text-overflow: ellipsis; }
.pb-slt-item em { position: absolute; right: 10px; top: 12px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; box-sizing: border-box; border-radius: 12px; background: #e0452f; color: #fff; font: 600 14px/1 var(--font-sans); font-style: normal; box-shadow: 0 0 8px rgb(224 69 47 / .6); }
.pb-slt-item em ~ time, .pb-slt-item:has(em) time { margin-top: 18px; }
.pb-slt-none { padding: 30px 10px; color: var(--slt-dim); font: 400 16px/1.5 var(--font-serif); text-align: center; }

/* Right: your talk with one of them, over a misted landscape. */
.pb-slt-talk { position: relative; isolation: isolate; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; overflow: hidden; border-radius: 0 32px 32px 0; }
.pb-slt-talk::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(14 30 34 / .82), rgb(14 30 34 / .5) 40%, rgb(12 26 30 / .78)), url(assets/rail-wall.png) 70% 30% / cover no-repeat; filter: saturate(.7); }
.pb-slt-head { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 26px; padding: 28px 0 18px; border-bottom: 1px solid rgb(214 176 104 / .2); }
.pb-slt-back { display: grid; place-items: center; width: 40px; height: 48px; margin-right: 6px; border: 0; background: none; color: #f2e2bc; cursor: pointer; }
.pb-slt-head .wd-avatar { box-shadow: 0 0 0 2px rgb(222 186 118 / .55); border-radius: 50%; }
.pb-slt-who { flex: 1; min-width: 0; display: grid; gap: 6px; }
.pb-slt-who b { color: var(--slt-ink); font: 500 28px/1.2 var(--font-serif); letter-spacing: .1em; }
.pb-slt-who small { display: flex; align-items: center; gap: 8px; color: #c8d0cb; font: 400 18px/1.3 var(--font-serif); letter-spacing: .06em; }
.pb-slt-who small i { width: 10px; height: 10px; border-radius: 50%; background: #8a9590; }
.pb-slt-who small i.is-live { background: #3fcf7a; box-shadow: 0 0 6px #3fcf7a; }
.pb-slt-head .pb-slt-round { width: 54px; height: 54px; }
.pb-slt-menu { position: absolute; right: 0; top: calc(100% - 6px); z-index: 3; display: grid; min-width: 150px; padding: 6px; border: 1px solid var(--slt-line); border-radius: 14px; background: rgb(12 24 26 / .97); box-shadow: 0 12px 30px rgb(0 0 0 / .5); }
.pb-slt-menu button { padding: 10px 14px; border: 0; border-radius: 10px; background: none; color: var(--slt-ink); font: 400 16px/1.3 var(--font-serif); letter-spacing: .08em; text-align: left; cursor: pointer; }
.pb-slt-menu button:hover, .pb-slt-menu button:focus-visible { background: rgb(222 186 118 / .12); outline: 0; }
.pb-slt-log { min-height: 0; overflow-y: auto; padding: 18px 26px 12px; scrollbar-width: thin; scrollbar-color: rgb(214 176 104 / .35) transparent; }
.pb-slt-day { display: flex; justify-content: center; margin: 4px 0 22px; }
.pb-slt-day span { padding: 7px 26px; border-radius: 20px; background: rgb(16 34 38 / .75); box-shadow: inset 0 0 0 1px rgb(214 176 104 / .35); color: #e9eae2; font: 400 18px/1 var(--font-serif); letter-spacing: .2em; }
.pb-slt-said { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 22px; }
.pb-slt-said__av { align-self: flex-start; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px rgb(222 186 118 / .45); }
.pb-slt-said.is-mine { justify-content: flex-end; }
.pb-slt-said.is-mine .pb-slt-said__sent { order: -1; }
.pb-slt-said.is-mine .pb-slt-said__time { order: -1; }
.pb-slt-bubble { position: relative; max-width: min(460px, 78%); padding: 14px 20px 12px; border-radius: 16px; background: rgb(40 58 60 / .78); box-shadow: inset 0 0 0 1px rgb(214 196 150 / .3); color: #f1f2ec; font: 400 19px/1.65 var(--font-serif); letter-spacing: .04em; overflow-wrap: anywhere; }
.pb-slt-bubble time { float: right; margin: 12px 0 0 18px; color: #a7b3ae; font: 400 15px/1 var(--font-serif); }
.is-mine .pb-slt-bubble { background: linear-gradient(180deg, rgb(52 108 108 / .9), rgb(38 88 90 / .9)); box-shadow: inset 0 0 0 1px rgb(150 220 210 / .35); }
.pb-slt-bubble--note { display: inline-flex; align-items: center; gap: 8px; }
.pb-slt-said__time { flex: none; color: #c8d0cb; font: 400 16px/1 var(--font-serif); }
.pb-slt-said__sent { flex: none; color: #7fd8c2; font: 400 14px/1 var(--font-sans); font-style: normal; letter-spacing: -.25em; }
.pb-slt-pic { position: relative; display: block; max-width: min(320px, 60%); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgb(0 0 0 / .4), inset 0 0 0 1px rgb(214 196 150 / .3); }
.pb-slt-pic img { display: block; width: 100%; }
.pb-slt-pic__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(20 26 26 / .72); color: #f1f2ec; cursor: pointer; }
.pb-slt-said .wd-slip, .pb-slt-said .pb-fumsg { max-width: min(420px, 78%); }
.pb-slt-foot { display: grid; gap: 10px; padding: 12px 26px 24px; border-top: 1px solid rgb(214 176 104 / .2); }
.pb-slt-mode { justify-self: start; }
.pb-slt-fu { border-radius: 30px; }
/* The box to speak in, set as the picture's: the voice key at the left, then the line with its tools inside it. */
.pb-slt .pb-slt-input .wd-ci { min-height: 0; flex-direction: row-reverse; align-items: center; gap: 16px; padding: 0; border: 0; background: none; box-shadow: none; }
.pb-slt .pb-slt-input .wd-ci__main { width: 58px; height: 58px; border: 1px solid var(--slt-line); background: rgb(10 22 24 / .75); color: #f2e2bc; box-shadow: 0 0 10px rgb(222 186 118 / .25); }
.pb-slt .pb-slt-input .wd-ci__main--send { background: linear-gradient(180deg, rgb(64 120 118), rgb(40 88 90)); color: #fff; }
.pb-slt .pb-slt-input .wd-ci__body { flex-direction: row; align-items: center; gap: 12px; min-height: 58px; padding: 0 14px 0 24px; border-radius: 29px; background: rgb(8 20 22 / .6); box-shadow: inset 0 0 0 1px rgb(214 176 104 / .32); }
.pb-slt .pb-slt-input .wd-ci__body:focus-within { box-shadow: inset 0 0 0 1px var(--slt-gold); }
.pb-slt .pb-slt-input .wd-ci__input { flex: 1; min-width: 0; color: var(--slt-ink); font: 400 19px/1.4 var(--font-serif); letter-spacing: .06em; }
.pb-slt .pb-slt-input .wd-ci__input::placeholder { color: var(--slt-dim); }
.pb-slt .pb-slt-input .wd-ci__tools { flex: none; color: #f2e2bc; }
.pb-slt .pb-slt-input .wd-ci__div { background: rgb(214 176 104 / .3); }
.pb-slt .pb-slt-input .wd-ci__tool:hover { background: rgb(222 186 118 / .12); color: #fff3d4; }

/* 未开放, and a picture seen large. */
.pb-slt-soon { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 10px; border-radius: 34px; background: rgb(4 8 10 / .55); }
.pb-slt-soon b { color: #f6e6c2; font: 700 22px/1.3 var(--font-serif); letter-spacing: .1em; }
.pb-slt-soon p { margin: 0; color: var(--slt-dim); font: 600 16px/1.4 var(--font-serif); letter-spacing: .2em; }
.pb-slt-soon button, .pb-slt-view button { margin-top: 6px; padding: 7px 26px; border: 1px solid var(--slt-line); border-radius: 999px; background: rgb(10 22 24 / .85); color: var(--slt-ink); font: 600 14px/1.4 var(--font-serif); letter-spacing: .1em; cursor: pointer; }
.pb-slt-view { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 30px; border-radius: 34px; background: rgb(2 4 6 / .88); }
.pb-slt-view img { max-width: 100%; max-height: calc(100% - 70px); border-radius: 10px; box-shadow: 0 10px 40px rgb(0 0 0 / .6); }
@media (max-height: 820px) { .pb-slt-item { padding-block: 11px; } .pb-slt-item__av { width: 66px; height: 66px; } .pb-slt-item__av .wd-avatar { width: 60px !important; height: 60px !important; } .pb-slt-item { grid-template-columns: 66px minmax(0, 1fr) auto; } .pb-slt-head { padding-top: 20px; } }
@media (prefers-reduced-motion: reduce) { .pb-slt, .pb-slt-wrap { transition: none; animation: none; } }
.pb-slt .pb-slt-input .wd-ci__input { align-self: center; height: 30px !important; max-height: 30px; min-height: 0; padding: 0; line-height: 30px; resize: none; overflow: hidden; }
.pb-slt .pb-slt-input .wd-ci__tool { width: 42px; height: 42px; }
.pb-slt .pb-slt-input .wd-ci__tool svg { width: 24px; height: 24px; }
.pb-slt .pb-slt-input .wd-ci__main svg { width: 26px; height: 26px; }

/* ---------- 修行手札, opened (2026-11-11). Laid out on the user's picture (1672 x 941): --j is one of its pixels, the whole
   picture fitted in the window. The open book is the user's picture dongfu-jotbook.png (1448 x 1086, with the room behind
   it), cut to the book's own outline; --a is one of its pixels, and the box starts at its (38, 97). ---------- */
.pb-jot { position: absolute; inset: 0; z-index: 20; pointer-events: auto; --j: min(calc(100vw / 1672), calc(100vh / 941)); --a: calc(var(--j) * .979);
  font-family: 'Noto Serif SC', var(--font-serif); color: #3a2c1e; touch-action: none; }
.pb-jot-veil { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgb(6 6 8 / .5), rgb(6 6 8 / .82)); transition: opacity .6s ease; }
.pb-jot.is-lift .pb-jot-veil, .pb-jot.is-drop .pb-jot-veil { opacity: 0; }
.pb-jot-stage { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.pb-jot-book { position: relative; width: calc(1406 * var(--a)); height: calc(865 * var(--a)); perspective: calc(2600 * var(--a)); pointer-events: auto; }
.pb-jot-open { position: absolute; inset: 0; transform-style: preserve-3d; clip-path: inset(-10% -10% -10% -10%); transition: clip-path .72s cubic-bezier(.35,.05,.3,1), opacity .2s ease; }
.pb-jot.is-lift .pb-jot-open, .pb-jot.is-rise .pb-jot-open, .pb-jot.is-drop .pb-jot-open { opacity: 0; clip-path: inset(-10% -10% -10% 50.4%); transition: none; }
.pb-jot.is-shut .pb-jot-open { clip-path: inset(-10% -10% -10% 50.4%); }
.pb-jot-board { position: absolute; inset: 0; background: url(assets/dongfu-jotbook.png) calc(-38 * var(--a)) calc(-97 * var(--a)) / calc(1448 * var(--a)) calc(1086 * var(--a)) no-repeat;
  clip-path: polygon(4.5% 0.2%, 95.9% 0.2%, 100% 99.4%, 0% 99.4%); filter: drop-shadow(0 calc(26 * var(--a)) calc(40 * var(--a)) rgb(0 0 0 / .6)); }
.pb-jot-title, .pb-jot-tabs, .pb-jot-arrow, .pb-jot-count, .pb-jot-close { transition: opacity .32s ease .4s; }
.pb-jot:is(.is-lift, .is-rise, .is-shut, .is-drop) :is(.pb-jot-title, .pb-jot-tabs, .pb-jot-arrow, .pb-jot-count, .pb-jot-close) { opacity: 0; transition-delay: 0s; transition-duration: .2s; pointer-events: none; }
/* The closed book lifting off the desk, then swinging open on its spine (15% across its picture). */
.pb-jot-closed { position: absolute; z-index: 5; pointer-events: none; transform-style: preserve-3d; transition: left .78s cubic-bezier(.22,.7,.2,1), top .78s cubic-bezier(.22,.7,.2,1), width .78s cubic-bezier(.22,.7,.2,1), height .78s cubic-bezier(.22,.7,.2,1); }
.pb-jot-closed img { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 15% 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 calc(24 * var(--j)) calc(30 * var(--j)) rgb(0 0 0 / .55)); transition: transform .78s cubic-bezier(.22,.7,.2,1), opacity .3s ease; }
.pb-jot.is-lift .pb-jot-closed, .pb-jot.is-lift .pb-jot-closed img { transition: none; }
.pb-jot.is-lift .pb-jot-closed img, .pb-jot.is-drop .pb-jot-closed img { transform: var(--lie); }
.pb-jot.is-open .pb-jot-closed img { transform: perspective(calc(2600 * var(--a))) rotateY(-178deg); transition: transform .74s cubic-bezier(.35,.05,.3,1), opacity .2s ease .58s; opacity: 0; }
.pb-jot.is-read .pb-jot-closed { visibility: hidden; }
.pb-jot.is-shut .pb-jot-closed img { transform: perspective(calc(2600 * var(--a))) rotateY(0deg); transition: transform .7s cubic-bezier(.35,.05,.3,1), opacity .12s ease; opacity: 1; }
.pb-jot.is-read .pb-jot-closed img { transform: perspective(calc(2600 * var(--a))) rotateY(-178deg); opacity: 0; }
.pb-jot-title { position: absolute; left: calc(-145 * var(--a)); top: calc(-34 * var(--a)); margin: 0; display: flex; align-items: flex-start; gap: calc(8 * var(--j)); color: #ecd29a;
  font: 400 calc(60 * var(--j))/1.1 'Ma Shan Zheng', var(--font-serif); text-shadow: 0 calc(2 * var(--j)) calc(10 * var(--j)) rgb(0 0 0 / .85); white-space: nowrap; }
.pb-jot-seal { display: grid; place-items: center; width: calc(26 * var(--j)); height: calc(30 * var(--j)); margin-top: calc(16 * var(--j)); border: 1px solid #c2453a; border-radius: calc(3 * var(--j)); color: #d0574a;
  font: 700 calc(11 * var(--j))/1.05 var(--font-serif); writing-mode: vertical-rl; letter-spacing: 0; }
/* Bookmarks, standing out of the left board. */
.pb-jot-tabs { position: absolute; left: calc(-150 * var(--a)); top: calc(120 * var(--a)); display: grid; gap: calc(22 * var(--j)); width: calc(240 * var(--j)); }
.pb-jot-tab { display: flex; align-items: center; gap: calc(16 * var(--j)); height: calc(64 * var(--j)); padding: 0 calc(24 * var(--j)); border: 1px solid rgb(214 173 106 / .35); border-radius: calc(10 * var(--j));
  background: linear-gradient(90deg, rgb(28 24 20 / .92), rgb(20 18 16 / .86)); box-shadow: 0 calc(6 * var(--j)) calc(14 * var(--j)) rgb(0 0 0 / .45);
  color: #e2d2b2; font: 600 calc(23 * var(--j))/1 'Noto Serif SC', var(--font-serif); letter-spacing: .08em; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.pb-jot-tab .pb-jot-glyph { width: calc(32 * var(--j)); height: calc(32 * var(--j)); flex: none; color: #d9bf8a; }
.pb-jot-tab:hover { background: linear-gradient(90deg, rgb(58 44 30 / .95), rgb(30 24 18 / .9)); }
.pb-jot-tab.is-on { border-color: #d6ad6a; background: linear-gradient(90deg, rgb(120 88 52 / .95), rgb(70 50 30 / .9)); box-shadow: 0 0 calc(18 * var(--j)) rgb(244 180 90 / .5); color: #fff3d6; }
.pb-jot button:focus-visible, .pb-jot input:focus-visible, .pb-jot textarea:focus-visible { outline: 2px solid #c0892f; outline-offset: 2px; }
/* The pages lie on the picture's paper: left 132–709, right 709–1354 across, 43–808 down. Only a turning leaf carries paper of its own. */
.pb-jot-spread { position: absolute; left: 0; top: calc(25 * var(--a)); width: 100%; height: calc(806 * var(--a)); transform-style: preserve-3d; }
.pb-jot-page { position: absolute; top: 0; bottom: 0; color: #3a2c1e; }
.pb-jot-page--left { left: calc(132 * var(--a)); width: calc(577 * var(--a)); }
.pb-jot-page--right { left: calc(709 * var(--a)); width: calc(645 * var(--a)); }
.pb-jot-page__in { position: absolute; inset: calc(52 * var(--a)) calc(46 * var(--a)) calc(69 * var(--a)); display: flex; flex-direction: column; }
.pb-jot-page__no { position: absolute; bottom: calc(41 * var(--a)); left: 0; right: 0; color: #9b8462; font: 500 calc(13 * var(--j))/1 var(--font-serif); text-align: center; opacity: .8; }
.pb-jot-page--right .pb-jot-page__no { display: none; }
.pb-jot-head { position: relative; display: flex; align-items: center; justify-content: center; gap: calc(18 * var(--j)); margin: 0 0 calc(12 * var(--j)); color: #2c2016; font: 700 calc(27 * var(--j))/1.4 'Noto Serif SC', var(--font-serif); letter-spacing: .12em; }
.pb-jot-head::before, .pb-jot-head::after { content: ''; width: calc(70 * var(--j)); height: 1px; background: linear-gradient(90deg, transparent, #a8834a); }
.pb-jot-head::after { transform: scaleX(-1); }
.pb-jot-empty { margin: auto; color: #9b8462; font-size: calc(17 * var(--j)); }
/* 修行概览 */
.pb-jot-ov__art { position: relative; flex: none; height: calc(168 * var(--j)); margin: 0 calc(-14 * var(--j)); border-radius: calc(6 * var(--j));
  background: radial-gradient(ellipse at 45% 70%, rgb(255 236 196 / .7), transparent 60%), radial-gradient(ellipse at 50% 100%, rgb(120 104 80 / .18), transparent 70%); }
.pb-jot-ov__realm { position: absolute; right: calc(20 * var(--j)); top: calc(6 * var(--j)); color: #2a1e14; font: 700 calc(30 * var(--j))/1.15 'Noto Serif SC', var(--font-serif); writing-mode: vertical-rl; letter-spacing: .06em; }
.pb-jot-ov__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: calc(6 * var(--j)) 0 calc(10 * var(--j)); border: 1px solid rgb(176 136 76 / .45); border-radius: calc(6 * var(--j)); background: rgb(255 248 232 / .4); }
.pb-jot-ov__stats span { display: grid; justify-items: center; gap: calc(2 * var(--j)); padding: calc(10 * var(--j)) 0; }
.pb-jot-ov__stats span + span { border-left: 1px solid rgb(176 136 76 / .35); }
.pb-jot-ov__stats small { color: #5b4630; font: 600 calc(15 * var(--j))/1.3 var(--font-serif); }
.pb-jot-ov__stats b { color: #2a1e14; font: 600 calc(24 * var(--j))/1.25 'Noto Serif SC', var(--font-serif); }
.pb-jot-ov__stats b i { font-style: normal; font-size: calc(16 * var(--j)); }
.pb-jot-ov__clock { font-variant-numeric: tabular-nums; }
.pb-jot-ov__sec { margin-top: calc(8 * var(--j)); }
.pb-jot-ov__sec h4 { display: flex; align-items: center; gap: calc(10 * var(--j)); margin: 0 0 calc(8 * var(--j)); color: #2c2016; font: 700 calc(20 * var(--j))/1.4 'Noto Serif SC', var(--font-serif); letter-spacing: .08em; }
.pb-jot-ov__sec h4::before { content: ''; width: calc(9 * var(--j)); height: calc(9 * var(--j)); border: 1px solid #a8834a; rotate: 45deg; }
.pb-jot-ov__sec h4 button { margin-left: auto; padding: 0; border: 0; background: none; color: #4a3826; font: 600 calc(15 * var(--j))/1.4 var(--font-serif); cursor: pointer; }
.pb-jot-ov__prog { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: calc(18 * var(--j)); row-gap: calc(4 * var(--j)); padding-left: calc(18 * var(--j)); }
.pb-jot-ov__prog > span:first-child { display: flex; justify-content: space-between; color: #2a1e14; font: 600 calc(16 * var(--j))/1.3 var(--font-serif); }
.pb-jot-ov__prog > span:first-child i { font-style: normal; }
.pb-jot-ov__prog small { grid-row: 1 / span 2; grid-column: 2; max-width: calc(130 * var(--j)); color: #4a3826; font: 600 calc(14 * var(--j))/1.4 var(--font-serif); text-align: center; }
.pb-jot-ov__bar { height: calc(10 * var(--j)); border-radius: 99px; background: rgb(60 40 20 / .7); box-shadow: inset 0 0 0 1px rgb(176 136 76 / .5); overflow: hidden; }
.pb-jot-ov__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c08a3a, #f6d48e 85%, #fff2c8); box-shadow: 0 0 calc(8 * var(--j)) #f2c06a; }
.pb-jot-ov__way { display: flex; justify-content: space-between; margin: 0; padding: 0 calc(18 * var(--j)); list-style: none; position: relative; }
.pb-jot-ov__way::before { content: ''; position: absolute; left: calc(46 * var(--j)); right: calc(46 * var(--j)); top: calc(15 * var(--j)); height: 1px; background: #a8834a; }
.pb-jot-ov__way li { position: relative; display: grid; justify-items: center; gap: calc(6 * var(--j)); color: #4a3826; font: 600 calc(16 * var(--j))/1.2 var(--font-serif); }
.pb-jot-ov__way li i { width: calc(30 * var(--j)); height: calc(30 * var(--j)); border-radius: 50%; background: radial-gradient(circle, #f3e6c8 30%, #c9b08a); box-shadow: inset 0 0 0 1px #8c6c40; }
.pb-jot-ov__way li.is-past i { background: radial-gradient(circle, #d8b878 30%, #a07a40); }
.pb-jot-ov__way li.is-on { color: #2a1e14; }
.pb-jot-ov__way li.is-on i { scale: 1.3; background: radial-gradient(circle, #fff3cf 20%, #f0bd62 60%, #b07a2c); box-shadow: 0 0 0 1px #8c6a2c, 0 0 calc(14 * var(--j)) #f4b85c; }
.pb-jot-ov__recent { flex: 1; min-height: 0; }
.pb-jot-ov__recent ul { margin: 0; padding: 0; list-style: none; }
.pb-jot-ov__recent li + li { border-top: 1px solid rgb(176 136 76 / .3); }
.pb-jot-ov__recent li button { display: grid; grid-template-columns: calc(60 * var(--j)) 1fr auto; align-items: center; gap: calc(12 * var(--j)); width: 100%; padding: calc(8 * var(--j)) calc(10 * var(--j)) calc(8 * var(--j)) calc(18 * var(--j)); border: 0; background: none; color: #2a1e14; font: 500 calc(16 * var(--j))/1.4 var(--font-serif); text-align: left; cursor: pointer; }
.pb-jot-ov__recent li button:hover { background: rgb(176 136 76 / .12); }
.pb-jot-ov__recent li button span:nth-child(2) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pb-jot-ov__recent li small { color: #5b4630; font-size: calc(14 * var(--j)); }
/* 心境随笔 */
.pb-jot-note__tools { position: relative; display: flex; justify-content: flex-end; gap: calc(6 * var(--j)); margin: 0 0 calc(6 * var(--j)); }
.pb-jot-note__tools > button, .pb-jot-write__go button, .pb-jot-write__pic button, .pb-jot-quotes__add button { padding: calc(5 * var(--j)) calc(14 * var(--j)); border: 1px solid rgb(150 114 62 / .5); border-radius: 99px; background: rgb(255 248 232 / .45); color: #3a2c1e;
  font: 600 calc(15 * var(--j))/1.4 var(--font-serif); cursor: pointer; }
.pb-jot-note__tools > button:hover, .pb-jot-write__go button:hover, .pb-jot-write__pic button:hover { background: rgb(255 240 210 / .9); }
.pb-jot-note__tools > button[aria-pressed="true"] { border-color: #b8862f; background: rgb(240 200 120 / .45); }
.pb-jot-note__menu { position: absolute; right: 0; top: calc(100% + 6 * var(--j)); z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: calc(8 * var(--j)); padding: calc(10 * var(--j)) calc(12 * var(--j)); border: 1px solid rgb(150 114 62 / .5); border-radius: calc(8 * var(--j)); background: #f7ecd6; box-shadow: 0 calc(8 * var(--j)) calc(20 * var(--j)) rgb(60 40 20 / .25); }
.pb-jot-note__menu p { flex-basis: 100%; margin: 0; font-size: calc(15 * var(--j)); }
.pb-jot-note__menu button { padding: calc(4 * var(--j)) calc(12 * var(--j)); border: 1px solid rgb(150 114 62 / .5); border-radius: 99px; background: none; color: #3a2c1e; font: 600 calc(15 * var(--j))/1.4 var(--font-serif); cursor: pointer; }
.pb-jot-note__menu .is-danger { border-color: #b3443a; color: #a2342a; }
.pb-jot-note__title { display: flex; align-items: baseline; gap: calc(12 * var(--j)); margin: 0 0 calc(8 * var(--j)); padding-left: calc(10 * var(--j)); color: #1f160e; font: 700 calc(38 * var(--j))/1.3 'Noto Serif SC', var(--font-serif); letter-spacing: .06em; }
.pb-jot-note__title small, .pb-jot-quotes small:last-of-type:not(:first-of-type) { color: #9b8462; font: 600 calc(14 * var(--j))/1 var(--font-serif); letter-spacing: .1em; }
.pb-jot-note__meta { display: flex; gap: calc(14 * var(--j)); margin: 0 0 calc(14 * var(--j)); padding-left: calc(10 * var(--j)); color: #4a3826; font: 500 calc(16 * var(--j))/1.4 var(--font-serif); }
.pb-jot-note__meta span + span { padding-left: calc(14 * var(--j)); border-left: 1px solid rgb(150 114 62 / .5); }
.pb-jot-note__body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 calc(10 * var(--j)); }
.pb-jot-note__body p { margin: 0; color: #2a1e14; font: 500 calc(18 * var(--j))/1.78 'Noto Serif SC', var(--font-serif); text-indent: 2em; letter-spacing: .04em; }
.pb-jot-note__img { flex: none; max-height: calc(190 * var(--j)); width: 100%; margin-top: calc(10 * var(--j)); object-fit: cover; border-radius: calc(4 * var(--j)); box-shadow: 0 0 0 1px rgb(150 114 62 / .4); }
/* 名言摘录 */
.pb-jot-quotes ul { display: grid; gap: calc(14 * var(--j)); margin: 0; padding: 0 calc(10 * var(--j)); list-style: none; }
.pb-jot-quotes li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(4 * var(--j)) calc(12 * var(--j)); padding: calc(10 * var(--j)) calc(40 * var(--j)) calc(10 * var(--j)) calc(18 * var(--j)); border-left: calc(3 * var(--j)) solid rgb(168 131 74 / .6); }
.pb-jot-quotes li p { flex-basis: 100%; margin: 0; color: #1f160e; font: 600 calc(21 * var(--j))/1.6 'Noto Serif SC', var(--font-serif); letter-spacing: .06em; }
.pb-jot-quotes li small { color: #5b4630; font: 500 calc(14 * var(--j))/1.3 var(--font-serif); }
.pb-jot-quotes__drop { position: absolute; right: 0; top: calc(8 * var(--j)); width: calc(32 * var(--j)); height: calc(32 * var(--j)); padding: 0; border: 0; border-radius: 50%; background: none; color: #8a7050; font: 400 calc(22 * var(--j))/1 var(--font-sans); cursor: pointer; opacity: .55; }
.pb-jot-quotes__drop:hover, .pb-jot-quotes__drop:focus-visible { opacity: 1; background: rgb(150 114 62 / .15); }
.pb-jot-quotes__add button { flex: none; white-space: nowrap; }
.pb-jot-quotes__add { display: flex; gap: calc(10 * var(--j)); margin-top: auto; padding: 0 calc(10 * var(--j)); }
.pb-jot-input { width: 100%; box-sizing: border-box; padding: calc(8 * var(--j)) calc(12 * var(--j)); border: 1px solid rgb(150 114 62 / .5); border-radius: calc(6 * var(--j)); background: rgb(255 250 238 / .7); color: #1f160e; font: 500 calc(17 * var(--j))/1.6 'Noto Serif SC', var(--font-serif); }
.pb-jot button:disabled { opacity: .45; cursor: default; }
/* 写一篇 */
.pb-jot-write { gap: calc(10 * var(--j)); }
.pb-jot-field { display: grid; gap: calc(4 * var(--j)); color: #4a3826; font: 600 calc(15 * var(--j))/1.4 var(--font-serif); }
.pb-jot-field--grow { flex: 1; min-height: 0; grid-template-rows: auto 1fr; }
.pb-jot-field textarea { resize: none; min-height: calc(120 * var(--j)); }
.pb-jot-write__pic { display: flex; align-items: center; gap: calc(10 * var(--j)); }
.pb-jot-write__pic img { width: calc(90 * var(--j)); height: calc(60 * var(--j)); object-fit: cover; border-radius: calc(4 * var(--j)); }
.pb-jot-write__go { display: flex; justify-content: flex-end; gap: calc(10 * var(--j)); }
.pb-jot-write__go .is-main { border-color: #8c6328; background: #6e4c22; color: #fff4dc; }
/* Arrows, the count, the clasp. */
.pb-jot-arrow { position: absolute; top: calc(395 * var(--a)); display: grid; place-items: center; width: calc(46 * var(--j)); height: calc(64 * var(--j)); padding: 0; border: 1px solid rgb(214 173 106 / .8); border-radius: calc(10 * var(--j));
  background: linear-gradient(180deg, rgb(48 36 22 / .92), rgb(24 18 12 / .94)); color: #f0d49a; cursor: pointer; box-shadow: 0 0 calc(10 * var(--j)) rgb(0 0 0 / .4); }
.pb-jot-arrow .pb-d4-icon { width: calc(30 * var(--j)); height: calc(30 * var(--j)); }
.pb-jot-arrow--prev { left: calc(108 * var(--a)); }
.pb-jot-arrow--next { left: calc(1332 * var(--a)); }
.pb-jot-arrow--next .pb-d4-icon { transform: scaleX(-1); }
.pb-jot-arrow:hover:not(:disabled) { box-shadow: 0 0 calc(14 * var(--j)) rgb(244 180 90 / .6); }
.pb-jot.is-read .pb-jot-arrow:disabled { opacity: .25; }
.pb-jot-count { position: absolute; left: calc(970 * var(--a)); top: calc(762 * var(--a)); width: calc(120 * var(--a)); margin: 0; padding: calc(2 * var(--j)) 0; border: 1px solid rgb(176 136 76 / .5); border-radius: 99px; color: #3a2c1e; font: 600 calc(16 * var(--j))/1.4 var(--font-serif); text-align: center; font-variant-numeric: tabular-nums; }
.pb-jot-close { position: absolute; left: calc(1400 * var(--a)); top: calc(-30 * var(--a)); display: grid; place-items: center; width: calc(58 * var(--j)); height: calc(58 * var(--j)); padding: 0; border: 1px solid rgb(214 173 106 / .8); border-radius: 50%;
  background: rgb(20 16 12 / .88); color: #f0d49a; font: 300 calc(40 * var(--j))/1 var(--font-sans); cursor: pointer; }
.pb-jot-close:hover { box-shadow: 0 0 calc(14 * var(--j)) rgb(244 180 90 / .6); }
/* A turning leaf: as wide as the wider page, turning on the spine. Each face carries a page with the picture's own paper
   under it, and is shaded as it lifts. */
.pb-jot-leaf { position: absolute; top: 0; bottom: 0; width: calc(645 * var(--a)); transform-style: preserve-3d; z-index: 3; }
.pb-jot-leaf--fwd { left: calc(709 * var(--a)); transform-origin: 0 50%; }
.pb-jot-leaf--back { left: calc(64 * var(--a)); transform-origin: 100% 50%; }
.pb-jot-leaf.is-run { transition: transform .62s cubic-bezier(.32,.08,.28,1); }
.pb-jot-leaf__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pb-jot-leaf__face--back { transform: rotateY(180deg); }
.pb-jot-leaf .pb-jot-page--left { left: calc(68 * var(--a)); }
.pb-jot-leaf .pb-jot-page--right { left: 0; }
.pb-jot-leaf .pb-jot-page { background: url(assets/dongfu-jotbook.png) no-repeat; background-size: calc(1448 * var(--a)) calc(1086 * var(--a)); box-shadow: 0 0 calc(30 * var(--a)) rgb(40 26 10 / calc(var(--shade) * .5)); }
.pb-jot-leaf .pb-jot-page--left { background-position: calc(-170 * var(--a)) calc(-122 * var(--a)); clip-path: polygon(0 2.4%, 100% 0.3%, 100% 100%, 0 97.6%); }
.pb-jot-leaf .pb-jot-page--right { background-position: calc(-747 * var(--a)) calc(-122 * var(--a)); clip-path: polygon(0 0.3%, 100% 2.4%, 100% 99.4%, 0 100%); }
.pb-jot-leaf .pb-jot-page::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: calc(var(--shade) * .6); }
.pb-jot-leaf--fwd .pb-jot-leaf__face:not(.pb-jot-leaf__face--back) .pb-jot-page::after, .pb-jot-leaf--back .pb-jot-leaf__face--back .pb-jot-page::after { background: linear-gradient(90deg, rgb(70 48 22 / .55), transparent 30%, rgb(255 250 235 / .3) 70%, rgb(70 48 22 / .35)); }
.pb-jot-leaf--back .pb-jot-leaf__face:not(.pb-jot-leaf__face--back) .pb-jot-page::after, .pb-jot-leaf--fwd .pb-jot-leaf__face--back .pb-jot-page::after { background: linear-gradient(270deg, rgb(70 48 22 / .55), transparent 30%, rgb(255 250 235 / .3) 70%, rgb(70 48 22 / .35)); }
.pb-jot-note-toast { position: absolute; left: 50%; bottom: calc(40 * var(--j)); z-index: 6; margin: 0; padding: 8px 18px; border-radius: 99px; background: rgb(14 12 10 / .9); box-shadow: 0 0 0 1px rgb(201 160 99 / .6); color: #f0dcae; font: 600 14px/20px 'Noto Serif SC', var(--font-serif); translate: -50% 0; animation: pb-arrive-ui .25s ease both; }
.pb-d4-thing--book.is-away { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .pb-jot-closed { display: none; } .pb-jot-open, .pb-jot-leaf.is-run { transition: none !important; } .pb-jot { animation: pb-arrive-ui .2s ease both; } }
/* 2026-11-11 (user): in a private talk a voice message shows no jade slip of its own, only its wave, who and how long. */
.pb-chat .wd-slip > svg, .pb-slt-log .wd-slip > svg { display: none; }
.pb-chat .wd-slip, .pb-slt-log .wd-slip { padding-left: var(--space-4); }
.pb-slt-log .pb-slt-said .wd-slip { max-width: 300px; }
/* 2026-11-11 (user): a slip coming in lights the hanging slip at its heart, a short glow, no rings or halo round it. */
.pb-d4-thing__lit.is-hit { left: 30%; top: 40%; width: 40%; height: 40%; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(circle, rgb(235 255 245 / .95), rgb(150 245 210 / .55) 35%, rgb(120 230 200 / 0) 70%); animation: pb-d4-heart 1.4s ease-out both; }
@keyframes pb-d4-heart { 0% { opacity: 0; transform: scale(.5); } 18% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1); } }
/* 2026-11-11 (user): the row along the foot (six entries and the hour) at half its size; words keep 12px at least. */
.pb-d4-foot { height: calc(110 * var(--u)); }
.pb-d4-dock { bottom: calc(20 * var(--u)); gap: calc(27 * var(--u)); }
.pb-d4-dock::after { bottom: calc(-7 * var(--u)); }
.pb-d4-entry { gap: calc(3 * var(--u)); min-width: calc(39 * var(--u)); font-size: max(12px, calc(8.5 * var(--u))); }
.pb-d4-entry__disc { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.pb-d4-entry__disc .pb-d4-icon { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.pb-d4-entry + .pb-d4-entry::before { right: calc(100% + 2 * var(--u)); top: calc(16 * var(--u)); width: calc(23 * var(--u)); }
.pb-d4-entry + .pb-d4-entry::after { right: calc(100% + 12 * var(--u)); top: calc(16 * var(--u)); width: calc(3 * var(--u)); height: calc(3 * var(--u)); }
.pb-d4-entry.is-on { min-width: calc(56 * var(--u)); }
.pb-d4-entry.is-on .pb-d4-entry__disc { width: calc(56 * var(--u)); height: calc(56 * var(--u)); padding-top: calc(7 * var(--u));
  box-shadow: 0 0 0 1px #f0bd6c, 0 0 0 calc(2.5 * var(--u)) rgb(10 10 12 / .35), 0 0 0 calc(3 * var(--u)) rgb(240 189 108 / .45), 0 0 calc(15 * var(--u)) rgb(244 180 90 / .6), inset 0 0 calc(11 * var(--u)) rgb(244 180 90 / .3); }
.pb-d4-entry.is-on .pb-d4-entry__disc .pb-d4-icon { width: calc(27 * var(--u)); height: calc(27 * var(--u)); }
.pb-d4-entry.is-on > span:last-child { bottom: calc(7 * var(--u)); }
.pb-d4-time { right: calc(25 * var(--u)); bottom: calc(25 * var(--u)); min-width: calc(125 * var(--u)); column-gap: calc(12 * var(--u)); row-gap: calc(1.5 * var(--u)); padding: calc(6 * var(--u)) calc(16 * var(--u)); border-radius: calc(14 * var(--u)); }
.pb-d4-time .pb-d4-icon { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.pb-d4-time b { font-size: max(12px, calc(11 * var(--u))); }
.pb-d4-time small { font-size: 12px; }
.pb-d4-time::before, .pb-d4-time::after { width: calc(3.5 * var(--u)); height: calc(3.5 * var(--u)); }

/* ---------- 宗门入口、招贤榜、开宗立派 (V1.0, 2026-11-11) ----------
   After the user's three pictures (1672×941). Scenes, frames and paintings are the user's files in assets/sect-v1/,
   untouched: frames are stretched by their middles only (border-image), paintings are placed and faded by CSS.
   Website: every measure is n × --u from the picture. Phone: --u is a share of the phone's width, and the blocks stack. */
.pb-sv { --gold: #ecd9a8; --gold-hi: #fff3cf; --gold-lo: #c9a45e; --jade: #7fd6c0; --sv-ink: #e9eeec; --sv-soft: #a9b6b4; --sv-line: rgb(160 190 184 / .3);
  container-type: inline-size; background-color: #0b1115; background-repeat: no-repeat; color: var(--sv-ink); animation: none; }
.pb-sv--gate { background-image: url(assets/sect-v1/gate-bg.png); }
.pb-sv--recruit { background-image: url(assets/sect-v1/recruit-bg.png); }
.pb-sv--found { background-image: url(assets/sect-v1/found-bg.png); }
.pb-sv:not(.pb-sv--desk) { --u: calc(100cqw / 565); background-size: cover; background-position: 50% 0; }
.pb-sv--desk { --sv-bw: max(100vw, calc(100vh * 1672 / 941)); background-size: var(--sv-bw) auto; background-position: 0 0; }
.pb-sv--desk.pb-sv--gate { background-position: calc(-1 * var(--rail-w)) 0; }
.pb-desk--at-sect:has(.pb-sv--gate)::before { background: #0b1115 url(assets/sect-v1/gate-bg.png) 0 0 / max(100vw, calc(100vh * 1672 / 941)) auto no-repeat; }
.pb-sv-stage { position: relative; flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; }
:where(.pb-sv) button { font: inherit; color: inherit; cursor: pointer; }
.pb-sv button:disabled { cursor: not-allowed; }
.pb-sv :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pb-sv-i { width: 1.15em; height: 1.15em; flex: none; }

/* Back, title */
.pb-sv-back { position: absolute; left: calc(36 * var(--u)); top: calc(20 * var(--u)); z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); min-width: 44px; height: max(44px, calc(48 * var(--u))); padding: 0 calc(12 * var(--u)); border: 1px solid rgb(255 255 255 / .12); border-radius: 999px; background: rgb(10 20 24 / .55); color: var(--sv-ink); font-family: var(--font-serif); font-size: max(15px, calc(26 * var(--u))); letter-spacing: .12em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.pb-sv-back--named { padding: 0 calc(26 * var(--u)) 0 calc(16 * var(--u)); }
.pb-sv-back:hover { background: rgb(10 20 24 / .8); border-color: rgb(236 217 168 / .5); }
.pb-sv-title { position: relative; z-index: 1; display: grid; justify-items: center; padding-top: calc(30 * var(--u)); text-align: center; pointer-events: none; }
.pb-sv-title h1 { margin: 0; font: 900 calc(62 * var(--u)) / 1.15 var(--font-serif); letter-spacing: .22em; text-indent: .22em; background: linear-gradient(180deg, var(--gold-hi) 20%, #e2c182 70%, #b88f4c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .6)); }
.pb-sv-title p { margin: calc(8 * var(--u)) 0 0; color: #dfe6e4; font: 500 max(13px, calc(24 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .12em; text-shadow: 0 1px 6px rgb(0 0 0 / .7); }
.pb-sv-title__rule { display: block; width: calc(420 * var(--u)); height: auto; aspect-ratio: 650 / 40; margin-top: calc(2 * var(--u)); }
.pb-sv--recruit .pb-sv-title, .pb-sv--found .pb-sv-title { padding-top: calc(10 * var(--u)); }
.pb-sv--recruit .pb-sv-title h1, .pb-sv--found .pb-sv-title h1 { font-size: calc(50 * var(--u)); }
.pb-sv--recruit .pb-sv-title__rule, .pb-sv--found .pb-sv-title__rule { width: calc(520 * var(--u)); margin-top: calc(-6 * var(--u)); }

/* Frames: the user's drawing behind, and once more in front (screened, so only its bright lines add) to keep the corner work over a painting. */
.pb-sv-card, .pb-sv-row, .pb-sv-panel, .pb-sv-today { position: relative; isolation: isolate; }
.pb-sv-card::before, .pb-sv-row::before, .pb-sv-panel::before, .pb-sv-today::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border: calc(60 * var(--u)) solid transparent; border-image: var(--frame) 60 fill / calc(60 * var(--u)) stretch; transition: filter .25s; }
.pb-sv-card::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border: calc(60 * var(--u)) solid transparent; border-image: var(--frame) 60 / calc(60 * var(--u)) stretch; mix-blend-mode: screen; opacity: .9;
  -webkit-mask: linear-gradient(#000, #000) 0 0 / calc(60 * var(--u)) calc(60 * var(--u)) no-repeat, linear-gradient(#000, #000) 100% 0 / calc(60 * var(--u)) calc(60 * var(--u)) no-repeat; mask: linear-gradient(#000, #000) 0 0 / calc(60 * var(--u)) calc(60 * var(--u)) no-repeat, linear-gradient(#000, #000) 100% 0 / calc(60 * var(--u)) calc(60 * var(--u)) no-repeat; }

/* 宗门入口 */
.pb-sv-gates { position: relative; display: flex; justify-content: center; gap: calc(7 * var(--u)); margin-top: calc(22 * var(--u)); }
.pb-sv-card { display: block; flex: none; width: calc(533 * var(--u)); height: calc(418 * var(--u)); padding: 0; border: 0; background: none; text-align: center; transition: transform .25s cubic-bezier(.2,.7,.2,1), filter .25s; }
.pb-sv-card--gold { --frame: url(assets/sect-v1/01_gold_feature_card.svg); filter: drop-shadow(0 0 calc(10 * var(--u)) rgb(240 196 110 / .5)); }
.pb-sv-card--jade { --frame: url(assets/sect-v1/02_jade_feature_card.svg); width: calc(550 * var(--u)); }
.pb-sv-card:hover, .pb-sv-card:focus-visible { transform: translateY(calc(-6 * var(--u))); }
.pb-sv-card--gold:hover, .pb-sv-card--gold:focus-visible { filter: drop-shadow(0 0 calc(20 * var(--u)) rgb(250 210 130 / .75)) brightness(1.08); }
.pb-sv-card--jade:hover, .pb-sv-card--jade:focus-visible { filter: drop-shadow(0 0 calc(18 * var(--u)) rgb(127 214 192 / .6)) brightness(1.1); }
.pb-sv-card > * { position: absolute; z-index: 1; }
.pb-sv-card__art { left: calc(17 * var(--u)); right: calc(17 * var(--u)); top: calc(17 * var(--u)); border-radius: calc(24 * var(--u)) calc(24 * var(--u)) 0 0; background: center / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent); mask-image: linear-gradient(180deg, #000 52%, transparent); }
.pb-sv-card--gold .pb-sv-card__art { height: calc(290 * var(--u)); background-image: url(assets/sect-v1/art-board.png); background-size: 100% auto; background-position: 50% 16%; }
.pb-sv-card--jade .pb-sv-card__art { height: calc(210 * var(--u)); background-image: url(assets/sect-v1/art-found.png); background-size: 122% auto; background-position: 58% 44%; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 92%); mask-image: linear-gradient(180deg, #000 35%, transparent 92%); }
.pb-sv-ribbon { left: calc(12 * var(--u)); top: calc(12 * var(--u)); width: calc(124 * var(--u)); height: calc(104 * var(--u)); background: url(assets/sect-v1/10_recommended_corner_ribbon.svg) 0 0 / 100% 100% no-repeat; z-index: 3; }
.pb-sv-ribbon em { position: absolute; left: 6%; top: 22%; width: 86%; color: #3a2a10; font: 700 max(11px, calc(20 * var(--u))) / 1 var(--font-serif); letter-spacing: .2em; transform: rotate(-42.5deg); }
.pb-sv-card__name { left: 0; right: 0; font: 900 calc(46 * var(--u)) / calc(56 * var(--u)) var(--font-serif); letter-spacing: .12em; text-indent: .12em; background: linear-gradient(180deg, var(--gold-hi) 15%, #e6c98c 65%, #c39a56); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 5px rgb(0 0 0 / .75)); }
.pb-sv-card__sub { left: 0; right: 0; color: #d5dcd9; font: 400 max(12px, calc(21 * var(--u))) / calc(28 * var(--u)) var(--font-serif); letter-spacing: .06em; text-shadow: 0 1px 4px rgb(0 0 0 / .8); }
.pb-sv-card--gold .pb-sv-card__name { top: calc(186 * var(--u)); }
.pb-sv-card--gold .pb-sv-card__sub { top: calc(252 * var(--u)); }
.pb-sv-card--jade .pb-sv-card__name { top: calc(119 * var(--u)); }
.pb-sv-card--jade .pb-sv-card__sub { top: calc(180 * var(--u)); font-size: max(12px, calc(19 * var(--u))); color: #c3cfcc; }
.pb-sv-card__go { left: calc(75 * var(--u)); top: calc(299 * var(--u)); width: calc(383 * var(--u)); height: calc(76 * var(--u)); display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u)); background: url(assets/sect-v1/07_gold_primary_button.svg) center / 100% 100% no-repeat; color: var(--gold); font: 600 max(13px, calc(24 * var(--u))) / 1 var(--font-serif); letter-spacing: .1em; }
.pb-sv-card__go em { margin: 0 .2em; font: 900 1.55em/1 var(--font-serif); color: var(--gold-hi); vertical-align: -.08em; }
.pb-sv-card__go .pb-sv-i:last-child { margin-left: calc(18 * var(--u)); }
.pb-sv-ring { left: calc(55 * var(--u)); top: calc(227 * var(--u)); width: calc(150 * var(--u)); height: calc(150 * var(--u)); display: grid; place-content: center; justify-items: center; }
.pb-sv-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pb-sv-ring__track { fill: rgb(8 18 22 / .6); stroke: rgb(140 170 165 / .32); stroke-width: 7; }
.pb-sv-ring__arc { fill: none; stroke: var(--jade); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 3px rgb(127 214 192 / .8)); transition: stroke-dasharray .5s; }
.pb-sv-ring b { position: relative; font: 600 calc(30 * var(--u)) / 1.1 var(--font-serif); color: #fff; }
.pb-sv-ring small { position: relative; margin-top: calc(4 * var(--u)); color: #c9d3d0; font-size: max(11px, calc(15 * var(--u))); }
.pb-sv-reqs { left: calc(226 * var(--u)); top: calc(224 * var(--u)); width: calc(280 * var(--u)); display: grid; gap: calc(6 * var(--u)); }
.pb-sv-reqs > span { display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(34 * var(--u)); padding: 0 calc(8 * var(--u)) 0 calc(10 * var(--u)); border-radius: calc(6 * var(--u)); background: rgb(255 255 255 / .045); color: #dbe3e0; font-size: max(11px, calc(15 * var(--u))); text-align: left; white-space: nowrap; }
.pb-sv-reqs .pb-sv-i { color: var(--gold-lo); }
.pb-sv-reqs i { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.pb-sv-reqs em { color: #8f9c9a; font-style: normal; }
.pb-sv-reqs .is-ok em, .pb-sv-reqs .is-ok .pb-sv-i { color: var(--jade); }
.pb-sv-card__token { left: 0; right: 0; bottom: calc(-22 * var(--u)); display: flex; justify-content: center; align-items: center; gap: .4em; color: var(--gold); font-size: max(12px, calc(16 * var(--u))); text-shadow: 0 1px 4px #000; }
/* 入口两张卡：发光圆角卡（2026-11-18，取自 PeakChart 的边框光效；用户选定招贤榜金、开宗立派玉青）。
   画在内缩 12u 的 ::before / ::after 上，换掉原来的 SVG 框；颜色只由 --g-* 令牌决定。 */
.pb-sv-card { --r: calc(50 * var(--u)); --g-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.pb-sv-card--gold { --g-base: 92 64 24; --g-c1: 138 92 30; --g-c2: 196 140 62; --g-c3: 255 233 184; --g-halo: 200 140 50; --g-halo-a: .6; --g-mist: 243 215 154; }
.pb-sv-card--jade { --g-base: 24 96 86; --g-c1: 30 120 104; --g-c2: 63 174 152; --g-c3: 200 255 238; --g-halo: 31 156 134; --g-halo-a: .6; --g-mist: 168 239 224; }
.pb-sv-card--gold, .pb-sv-card--jade { filter: none; }
.pb-sv-card::before, .pb-sv-card::after { inset: calc(12 * var(--u)); border: 0; border-image: none; border-radius: var(--r); }
.pb-sv-card::before {
  background: var(--g-grain),
    radial-gradient(60% 46% at 50% 62%, rgb(0 0 0 / .82), transparent 74%),
    radial-gradient(100% 66% at 50% 74%, rgb(0 0 0 / .6), transparent 82%),
    radial-gradient(130% 60% at 50% 112%, rgb(0 0 0 / .45), transparent 72%),
    radial-gradient(80% 42% at 50% -4%, rgb(var(--g-mist) / .55), transparent 72%),
    rgb(var(--g-base));
  box-shadow: 0 0 calc(46 * var(--u)) calc(2 * var(--u)) rgb(var(--g-halo) / var(--g-halo-a)),
    0 calc(16 * var(--u)) calc(70 * var(--u)) rgb(var(--g-halo) / calc(var(--g-halo-a) * .45)),
    inset 0 calc(-26 * var(--u)) calc(40 * var(--u)) calc(-12 * var(--u)) rgb(var(--g-c1) / .9),
    inset 0 calc(-12 * var(--u)) calc(20 * var(--u)) calc(-6 * var(--u)) rgb(var(--g-c2) / .95),
    inset 0 calc(-3 * var(--u)) calc(6 * var(--u)) 0 rgb(var(--g-c3) / .8),
    inset 0 calc(3 * var(--u)) calc(8 * var(--u)) calc(-2 * var(--u)) rgb(var(--g-c3) / .28); }
.pb-sv-card::after { padding: calc(2 * var(--u)); mix-blend-mode: normal; opacity: .8; animation: pb-sv-breathe 7s ease-in-out infinite;
  background: radial-gradient(calc(120 * var(--u)) calc(120 * var(--u)) at 0 0, rgb(var(--g-c3) / .95), transparent 70%),
    radial-gradient(calc(120 * var(--u)) calc(120 * var(--u)) at 100% 0, rgb(var(--g-c3) / .95), transparent 70%),
    radial-gradient(calc(140 * var(--u)) calc(140 * var(--u)) at 0 100%, rgb(var(--g-c3)), transparent 70%),
    radial-gradient(calc(140 * var(--u)) calc(140 * var(--u)) at 100% 100%, rgb(var(--g-c3)), transparent 70%),
    linear-gradient(0deg, rgb(var(--g-c3) / .8), rgb(var(--g-c2) / .55) 45%, rgb(var(--g-c3) / .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@keyframes pb-sv-breathe { 0%, 100% { opacity: .62; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pb-sv-card::after { animation: none; opacity: .8; } }
.pb-sv-card .pb-sv-card__art { border-radius: calc(38 * var(--u)) calc(38 * var(--u)) 0 0; }
.pb-sv-card--gold:hover, .pb-sv-card--gold:focus-visible, .pb-sv-card--jade:hover, .pb-sv-card--jade:focus-visible { filter: brightness(1.08); }
.pb-sv-today { --frame: url(assets/sect-v1/03_recruitment_list_gold.svg); position: absolute; right: calc(10 * var(--u)); top: calc(778 * var(--u)); width: calc(284 * var(--u)); height: calc(128 * var(--u)); margin: 0; display: grid; grid-template-columns: auto auto; place-content: center; align-items: center; gap: 0 calc(12 * var(--u)); color: #e6ebe9; font: 500 max(12px, calc(20 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .08em; }
.pb-sv-today .pb-sv-i { color: var(--gold); font-size: 1.3em; }
.pb-sv-today em { margin: 0 .25em; font: 900 1.8em/1 var(--font-serif); color: var(--gold-hi); vertical-align: -.1em; }
.pb-sv-today span:last-child { grid-column: 1 / -1; justify-self: center; padding-left: 1.6em; }

/* 招贤榜 */
.pb-sv-post { position: absolute; right: calc(96 * var(--u)); top: calc(24 * var(--u)); z-index: 3; display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: 0 calc(22 * var(--u)); border: 1px solid rgb(236 217 168 / .55); border-radius: 999px; background: rgb(20 28 24 / .7); color: var(--gold); font-size: max(13px, calc(18 * var(--u))); }
.pb-sv-post:hover { background: rgb(60 48 20 / .7); }
.pb-sv-filters { position: relative; z-index: 4; display: flex; align-items: center; gap: calc(10 * var(--u)); width: calc(1475 * var(--u)); min-height: calc(68 * var(--u)); margin: calc(8 * var(--u)) auto 0; padding: calc(8 * var(--u)) calc(36 * var(--u)); border: 1px solid rgb(150 190 180 / .32); border-radius: calc(14 * var(--u)); background: rgb(13 26 31 / .84); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 6px 20px rgb(0 0 0 / .35); font-size: max(13px, calc(20 * var(--u))); font-family: var(--font-serif); }
.pb-sv-filters__k, .pb-sv-sel > span:first-child { color: #dfe6e3; letter-spacing: .08em; white-space: nowrap; }
.pb-sv-chips { display: flex; gap: calc(10 * var(--u)); }
.pb-sv-chips button { flex: none; height: max(32px, calc(38 * var(--u))); padding: 0 calc(16 * var(--u)); border: 1px solid rgb(160 185 180 / .38); border-radius: 999px; background: rgb(255 255 255 / .03); color: #d0d9d6; font-size: max(13px, calc(18 * var(--u))); white-space: nowrap; transition: background .2s, border-color .2s; }
.pb-sv-chips button:hover { border-color: rgb(127 214 192 / .7); }
.pb-sv-chips button[aria-pressed="true"] { border-color: #8fe0cc; background: linear-gradient(180deg, #2f8f80, #1d5f58); color: #fff; box-shadow: 0 0 calc(12 * var(--u)) rgb(127 214 192 / .55); }
.pb-sv-sel { position: relative; display: flex; align-items: center; gap: calc(6 * var(--u)); margin-left: calc(10 * var(--u)); padding-left: calc(22 * var(--u)); border-left: 1px solid rgb(255 255 255 / .16); }
.pb-sv-sel + .pb-sv-sel { margin-left: calc(8 * var(--u)); padding-left: calc(20 * var(--u)); }
.pb-sv-sel select, .pb-sv-sel > button { display: inline-flex; align-items: center; justify-content: space-between; gap: .6em; min-width: calc(96 * var(--u)); height: max(32px, calc(38 * var(--u))); padding: 0 calc(12 * var(--u)); border: 1px solid rgb(160 185 180 / .38); border-radius: calc(8 * var(--u)); background: rgb(8 16 20 / .7); color: #e3e9e7; font: inherit; font-size: max(13px, calc(18 * var(--u))); }
.pb-sv-sel select option { background: #10202a; color: #e3e9e7; }
.pb-sv-pop { position: absolute; left: calc(20 * var(--u)); top: calc(100% + 8px); z-index: 5; display: grid; gap: 4px; min-width: 120px; padding: 10px 12px; border: 1px solid rgb(160 185 180 / .4); border-radius: 10px; background: #10202a; box-shadow: 0 10px 30px rgb(0 0 0 / .5); font: 400 15px/1.2 var(--font-sans); }
.pb-sv-pop label { display: flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; }
.pb-sv-pop input { width: 16px; height: 16px; accent-color: #3fae98; }
.pb-sv-switch { display: flex; align-items: center; gap: calc(12 * var(--u)); margin-left: auto; padding-left: calc(24 * var(--u)); border-left: 1px solid rgb(255 255 255 / .16); color: #e3e9e7; white-space: nowrap; cursor: pointer; }
.pb-sv-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-sv-switch i { position: relative; flex: none; width: max(40px, calc(48 * var(--u))); height: max(22px, calc(26 * var(--u))); border-radius: 999px; background: rgb(255 255 255 / .16); transition: background .2s; }
.pb-sv-switch i::after { content: ''; position: absolute; left: 3px; top: 3px; bottom: 3px; aspect-ratio: 1; border-radius: 50%; background: #dfe6e3; transition: transform .2s; }
.pb-sv-switch input:checked + i { background: linear-gradient(180deg, #3fae98, #23786c); box-shadow: 0 0 8px rgb(127 214 192 / .5); }
.pb-sv-switch input:checked + i::after { transform: translateX(calc(max(40px, 48 * var(--u)) - max(22px, 26 * var(--u)))); background: #fff; }
.pb-sv-switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.pb-sv-list { position: relative; z-index: 1; width: calc(1508 * var(--u)); margin: calc(6 * var(--u)) auto 0; padding-bottom: calc(30 * var(--u)); }
.pb-sv-none { margin: calc(60 * var(--u)) 0; text-align: center; color: #d0d9d6; font-size: max(14px, calc(20 * var(--u))); text-shadow: 0 1px 6px #000; }
.pb-sv-row { --frame: url(assets/sect-v1/04_recruitment_list_jade.svg); --bar: url(assets/sect-v1/12_status_bar_eligible.png); display: flex; min-height: calc(250 * var(--u)); margin-bottom: calc(-16 * var(--u)); padding: calc(27 * var(--u)) calc(36 * var(--u)) calc(24 * var(--u)) calc(344 * var(--u)); transition: transform .25s; }
.pb-sv-row:hover { transform: translateY(calc(-2 * var(--u))); }
.pb-sv-row:hover::before { filter: brightness(1.25); }
.pb-sv-row--partial { --frame: url(assets/sect-v1/03_recruitment_list_gold.svg); --bar: url(assets/sect-v1/13_status_bar_partial.png); }
.pb-sv-row--none, .pb-sv-row--ended { --bar: url(assets/sect-v1/14_status_bar_ineligible.png); }
.pb-sv-row--none::before, .pb-sv-row--ended::before { filter: grayscale(.9) brightness(.9); }
.pb-sv-row--ended .pb-sv-row__art, .pb-sv-row--ended .pb-sv-row__main { opacity: .6; }
.pb-sv-row__bar { position: absolute; left: calc(13 * var(--u)); top: calc(18 * var(--u)); bottom: calc(18 * var(--u)); width: calc(20 * var(--u)); background: var(--bar) center / 100% 100% no-repeat; }
.pb-sv-row__art { position: absolute; left: calc(27 * var(--u)); top: calc(18 * var(--u)); bottom: calc(18 * var(--u)); width: calc(330 * var(--u)); border-radius: calc(14 * var(--u)) 0 0 calc(14 * var(--u)); background: 50% 42% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent); mask-image: linear-gradient(90deg, #000 58%, transparent); }
.pb-sv-row__art--0 { background-image: url(assets/sect-v1/thumb-qingyun.png); }
.pb-sv-row__art--1 { background-image: url(assets/sect-v1/thumb-danding.png); }
.pb-sv-row__art--2 { background-image: url(assets/sect-v1/thumb-tianji.png); }
.pb-sv-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(5 * var(--u)); }
.pb-sv-row__head { display: flex; align-items: center; gap: calc(18 * var(--u)); }
.pb-sv-seal { flex: none; display: grid; place-items: center; width: calc(58 * var(--u)); height: calc(58 * var(--u)); border: 1.5px solid var(--gold-lo); border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgb(60 50 30 / .7), rgb(12 20 22 / .85)); box-shadow: inset 0 0 0 calc(3 * var(--u)) rgb(12 20 22 / .9), inset 0 0 0 calc(4 * var(--u)) rgb(201 164 94 / .5); color: var(--gold); font: 400 calc(30 * var(--u)) / 1 'Ma Shan Zheng', var(--font-serif); }
.pb-sv-row__who { display: grid; gap: calc(2 * var(--u)); min-width: 0; }
.pb-sv-row__who > span { display: flex; align-items: center; gap: calc(22 * var(--u)); }
.pb-sv-row__who b { font: 700 calc(34 * var(--u)) / 1.15 var(--font-serif); letter-spacing: .1em; color: #fff; white-space: nowrap; }
.pb-sv-tag { padding: calc(4 * var(--u)) calc(18 * var(--u)); border: 1px solid rgb(236 217 168 / .65); border-radius: 999px; background: rgb(90 70 30 / .45); color: var(--gold-hi); font: 500 max(12px, calc(19 * var(--u))) / 1.3 var(--font-serif); font-style: normal; letter-spacing: .08em; white-space: nowrap; }
.pb-sv-row__who small { display: flex; align-items: center; gap: .35em; color: #cfd8d5; font-size: max(12px, calc(18 * var(--u))); letter-spacing: .04em; }
.pb-sv-state { display: inline-flex; align-items: center; gap: .5em; margin-left: auto; min-height: calc(40 * var(--u)); padding: calc(4 * var(--u)) calc(20 * var(--u)); border: 1px solid; border-radius: 999px; font: 500 max(12px, calc(19 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .08em; white-space: nowrap; }
.pb-sv-state.is-fit { border-color: rgb(127 214 192 / .8); background: rgb(20 70 62 / .6); color: #a8f0dc; }
.pb-sv-state.is-partial { border-color: rgb(224 167 93 / .85); background: rgb(80 55 20 / .6); color: #f3d59a; }
.pb-sv-state.is-partial i { display: grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: #e0a75d; color: #2b1c05; font: 700 .85em/1 var(--font-sans); }
.pb-sv-state.is-none, .pb-sv-state.is-ended { border-color: rgb(170 180 180 / .5); background: rgb(40 48 52 / .7); color: #d3dad8; }
.pb-sv-state.is-own { border-color: rgb(236 217 168 / .5); background: rgb(50 44 24 / .5); color: var(--gold); }
.pb-sv-row__reqs { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)) calc(26 * var(--u)); }
.pb-sv-row__reqs span { display: inline-flex; align-items: center; gap: .55em; min-height: calc(36 * var(--u)); padding: 0 calc(16 * var(--u)); border: 1px solid rgb(160 185 180 / .28); border-radius: calc(6 * var(--u)); background: rgb(255 255 255 / .04); color: #e6ebe9; font: 400 max(12px, calc(18 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .04em; white-space: nowrap; }
.pb-sv-row__reqs .pb-sv-i { color: #c7d0cd; }
.pb-sv-row__culture { display: flex; align-items: baseline; gap: .2em; margin: 0; color: #dbe2df; font: 400 max(12px, calc(18 * var(--u))) / 1.6 var(--font-serif); letter-spacing: .03em; }
.pb-sv-row__culture b { flex: none; color: #fff; font-weight: 600; }
.pb-sv-row__culture > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pb-sv-row__culture.is-open { flex-wrap: wrap; }
.pb-sv-row__culture.is-open > span { flex: 1 1 60%; white-space: normal; }
.pb-sv-row__culture button { flex: none; display: inline-flex; align-items: center; gap: .2em; min-height: 28px; margin-left: .8em; padding: 0 4px; border: 0; background: none; color: #e8eeeb; }
.pb-sv-row__culture button:hover { color: var(--gold); }
.pb-sv-row__perks { display: flex; align-items: center; gap: .5em; min-height: calc(36 * var(--u)); margin: 0; padding: calc(3 * var(--u)) calc(18 * var(--u)); border-radius: calc(6 * var(--u)); background: linear-gradient(90deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03)); color: #e3e9e6; font: 400 max(12px, calc(18 * var(--u))) / 1.5 var(--font-serif); letter-spacing: .03em; }
.pb-sv-row__perks .pb-sv-i { color: var(--gold); }
.pb-sv-row__perks b { flex: none; color: var(--gold); font-weight: 600; }
.pb-sv-row__gap { display: grid; gap: 4px; margin: 0; padding: calc(10 * var(--u)) calc(18 * var(--u)); border: 1px dashed rgb(224 167 93 / .5); border-radius: calc(8 * var(--u)); list-style: none; font-size: max(12px, calc(17 * var(--u))); }
.pb-sv-row__gap li { display: flex; align-items: center; gap: .7em; }
.pb-sv-row__gap b { flex: none; width: 2.6em; font-weight: 600; }
.pb-sv-row__gap span { flex: 1; }
.pb-sv-row__gap em { font-style: normal; color: var(--sv-soft); }
.pb-sv-row__gap .is-ok .pb-sv-i { color: var(--jade); }
.pb-sv-row__gap .is-miss .pb-sv-i, .pb-sv-row__gap .is-miss em { color: #f0b98a; }
.pb-sv-row__act { flex: none; display: grid; align-content: center; justify-items: center; gap: calc(4 * var(--u)); width: calc(236 * var(--u)); margin-left: calc(14 * var(--u)); }
.pb-sv-row__act small { color: #b7c0be; font-size: max(12px, calc(16 * var(--u))); text-align: center; }
.pb-sv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; width: calc(236 * var(--u)); height: calc(76 * var(--u)); min-height: 44px; padding: 0 calc(26 * var(--u)); --btn: url(assets/sect-v1/09_disabled_button.svg); border: 0 solid transparent; border-image: var(--btn) 0 50 fill / 0 calc(51 * var(--u)) stretch; background: none; color: #9aa5a6; font: 700 max(14px, calc(27 * var(--u))) / 1 var(--font-serif); letter-spacing: .14em; white-space: nowrap; transition: filter .2s, transform .2s; }
.pb-sv-btn--gold:not(:disabled) { --btn: url(assets/sect-v1/07_gold_primary_button.svg); color: var(--gold-hi); text-shadow: 0 0 calc(10 * var(--u)) rgb(250 210 130 / .6); }
.pb-sv-btn--jade { --btn: url(assets/sect-v1/08_jade_secondary_button.svg); color: #b9f0e2; }
.pb-sv-btn:not(:disabled):hover { filter: brightness(1.25) drop-shadow(0 0 calc(8 * var(--u)) rgb(250 210 130 / .5)); transform: translateY(-1px); }
.pb-sv-btn:not(:disabled):active { transform: scale(.98); }

/* 开宗立派 */
.pb-sv--found .pb-sv-stage { display: grid; grid-template-columns: calc(610 * var(--u)) calc(870 * var(--u)); grid-template-rows: auto auto auto 1fr; justify-content: center; align-content: start; }
.pb-sv--found .pb-sv-title { grid-column: 1 / -1; }
.pb-sv-panel { --frame: url(assets/sect-v1/06_conditions_panel_jade.svg); }
.pb-sv-prog { grid-column: 1; grid-row: 2; margin-top: calc(4 * var(--u)); padding: calc(34 * var(--u)) calc(32 * var(--u)) calc(32 * var(--u)); display: grid; gap: calc(10 * var(--u)); align-content: start; }
.pb-sv-token { grid-column: 1; grid-row: 3; margin-top: calc(-6 * var(--u)); min-height: calc(246 * var(--u)); padding: calc(40 * var(--u)) calc(30 * var(--u)) calc(34 * var(--u)) calc(192 * var(--u)); }
.pb-sv-form { --frame: url(assets/sect-v1/05_form_panel_gold.svg); grid-column: 2; grid-row: 2 / span 3; align-self: start; margin: calc(4 * var(--u)) 0 calc(20 * var(--u)) calc(-7 * var(--u)); min-height: calc(763 * var(--u)); padding: calc(44 * var(--u)) calc(54 * var(--u)) calc(40 * var(--u)) calc(60 * var(--u)); display: flex; flex-direction: column; gap: calc(14 * var(--u)); }
.pb-sv-round { flex: none; display: grid; place-items: center; width: calc(56 * var(--u)); height: calc(56 * var(--u)); border: 1px solid rgb(236 217 168 / .6); border-radius: 50%; background: rgb(10 20 24 / .5); color: var(--gold); font-size: calc(26 * var(--u)); }
.pb-sv-prog__head { display: flex; align-items: center; gap: calc(22 * var(--u)); padding: 0 calc(8 * var(--u)); }
.pb-sv-prog__head .pb-sv-round { width: calc(80 * var(--u)); height: calc(80 * var(--u)); font-size: calc(40 * var(--u)); box-shadow: 0 0 calc(14 * var(--u)) rgb(240 200 120 / .35); }
.pb-sv-prog__title { flex: 1; display: grid; gap: calc(4 * var(--u)); }
.pb-sv-prog__title b { font: 700 calc(30 * var(--u)) / 1.2 var(--font-serif); letter-spacing: .12em; color: #fff; }
.pb-sv-prog__title em { margin-left: .6em; font: 600 1.2em/1 var(--font-serif); color: var(--gold-hi); letter-spacing: 0; }
.pb-sv-prog__title small { color: #d5dcd9; font: 400 max(12px, calc(19 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .06em; }
.pb-sv-fold { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #e6ebe9; font-size: calc(24 * var(--u)); }
.pb-sv-fold:hover { background: rgb(255 255 255 / .08); }
.pb-sv-prog__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(12 * var(--u)); margin: calc(6 * var(--u)) calc(30 * var(--u)) calc(12 * var(--u)); }
.pb-sv-prog__bar i { height: calc(6 * var(--u)); border-radius: 3px; background: rgb(255 255 255 / .2); }
.pb-sv-prog__bar i.is-on { background: linear-gradient(90deg, #f6deA0, #e0b060); box-shadow: 0 0 calc(8 * var(--u)) rgb(240 200 120 / .7); }
.pb-sv-check { display: flex; align-items: center; gap: calc(16 * var(--u)); min-height: calc(72 * var(--u)); padding: calc(8 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u)) calc(16 * var(--u)); border: 1px solid rgb(201 164 94 / .28); border-radius: calc(8 * var(--u)); background: linear-gradient(90deg, rgb(120 90 40 / .22), rgb(255 255 255 / .03)); }
.pb-sv-check.is-ok { border-color: rgb(127 214 192 / .3); background: linear-gradient(90deg, rgb(40 110 96 / .25), rgb(255 255 255 / .03)); }
.pb-sv-check__main { flex: 1; min-width: 0; display: grid; gap: calc(3 * var(--u)); }
.pb-sv-check__main b { font: 600 max(13px, calc(19 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .06em; color: #fff; }
.pb-sv-check__main small { color: #c3ccc9; font-size: max(12px, calc(15 * var(--u))); }
.pb-sv-check__state { flex: none; display: inline-flex; align-items: center; gap: .45em; color: #f0a070; font: 500 max(12px, calc(17 * var(--u))) / 1 var(--font-serif); letter-spacing: .06em; }
.pb-sv-check__state .pb-sv-i { font-size: 1.3em; }
.pb-sv-check.is-ok .pb-sv-check__state { color: #8fe6cc; }
.pb-sv-mini { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: .2em; min-width: calc(98 * var(--u)); min-height: max(32px, calc(36 * var(--u))); padding: 0 calc(12 * var(--u)); border: 1px solid rgb(200 210 208 / .55); border-radius: calc(8 * var(--u)); background: rgb(255 255 255 / .1); color: #f1f4f3; font: 500 max(12px, calc(16 * var(--u))) / 1 var(--font-serif); letter-spacing: .06em; white-space: nowrap; transition: background .2s, border-color .2s; }
.pb-sv-mini:not(:disabled):hover { background: rgb(255 255 255 / .2); border-color: var(--gold); }
.pb-sv-mini:disabled { opacity: .5; }
.pb-sv-mini--none { visibility: hidden; }
.pb-sv-token__art { position: absolute; left: calc(22 * var(--u)); top: calc(8 * var(--u)); width: calc(184 * var(--u)); height: calc(230 * var(--u)); background: url(assets/sect-v1/token.png) center / contain no-repeat; filter: drop-shadow(0 0 calc(14 * var(--u)) rgb(240 210 140 / .45)); }
.pb-sv-token__main { display: grid; gap: calc(10 * var(--u)); }
.pb-sv-token h2 { display: flex; align-items: center; gap: .4em; margin: 0; font: 700 calc(34 * var(--u)) / 1.2 var(--font-serif); letter-spacing: .14em; background: linear-gradient(180deg, var(--gold-hi), #d8b676); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb-sv-token p { margin: 0; color: #dfe6e3; font: 400 max(12px, calc(17.5 * var(--u))) / 1.5 var(--font-serif); letter-spacing: 0; }
.pb-sv-token__code { display: flex; gap: calc(10 * var(--u)); margin-top: calc(8 * var(--u)); }
.pb-sv-token__code .pb-sv-input { flex: 1; min-width: 0; }
.pb-sv-mini--take { min-width: calc(86 * var(--u)); height: max(40px, calc(46 * var(--u))); font-size: max(13px, calc(18 * var(--u))); }
.pb-sv-token__note { color: var(--gold) !important; }
.pb-sv-tip { display: inline-grid; place-items: center; color: #b9c4c1; font-size: max(14px, calc(18 * var(--u))); cursor: help; -webkit-text-fill-color: currentColor; }
.pb-sv-input { width: 100%; height: max(40px, calc(46 * var(--u))); padding: 0 calc(20 * var(--u)); border: 1px solid rgb(160 180 178 / .4); border-radius: calc(8 * var(--u)); background: rgb(8 16 20 / .55); color: #f1f4f3; font: 400 max(14px, calc(18 * var(--u))) / 1.5 var(--font-serif); letter-spacing: .04em; transition: border-color .2s, box-shadow .2s; }
.pb-sv-input::placeholder { color: #8f9c9b; }
.pb-sv-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgb(236 217 168 / .25); }
textarea.pb-sv-input { display: block; height: calc(136 * var(--u)); min-height: 96px; padding-top: calc(10 * var(--u)); padding-bottom: calc(26 * var(--u)); resize: none; }
.pb-sv-field { position: relative; display: grid; gap: calc(8 * var(--u)); }
.pb-sv-field__k { display: flex; align-items: center; gap: .35em; color: #fff; font: 700 max(14px, calc(22 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .1em; }
.pb-sv-field__k > i { color: var(--gold); font-style: normal; }
.pb-sv-field__box { position: relative; display: block; }
.pb-sv-field__box em { position: absolute; right: calc(16 * var(--u)); bottom: calc(11 * var(--u)); color: #c3ccc9; font: 400 max(12px, calc(17 * var(--u))) / 1 var(--font-serif); pointer-events: none; }
.pb-sv-field__box input.pb-sv-input { padding-right: calc(80 * var(--u)); }
.pb-sv-mini--sample { position: absolute; right: 0; top: calc(-6 * var(--u)); gap: .5em; padding: 0 calc(16 * var(--u)); }
.pb-sv-samples { position: absolute; right: 0; top: calc(36 * var(--u)); z-index: 5; display: grid; gap: 6px; width: min(100%, 520px); padding: 10px; border: 1px solid rgb(236 217 168 / .5); border-radius: 10px; background: #10202a; box-shadow: 0 12px 34px rgb(0 0 0 / .6); }
.pb-sv-samples button { padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; background: rgb(255 255 255 / .05); color: #e3e9e6; font: 400 14px/1.6 var(--font-serif); text-align: left; }
.pb-sv-samples button:hover { border-color: var(--gold); }
.pb-sv-field--els { margin-top: calc(8 * var(--u)); padding-top: calc(18 * var(--u)); border-top: 1px solid rgb(255 255 255 / .16); gap: calc(14 * var(--u)); }
.pb-sv-els { display: grid; grid-template-columns: repeat(6, 1fr); gap: calc(14 * var(--u)); }
.pb-sv-els button { display: grid; justify-items: center; align-content: center; gap: calc(6 * var(--u)); height: calc(72 * var(--u)); min-height: 52px; border: 1px solid rgb(160 180 178 / .4); border-radius: calc(10 * var(--u)); background: rgb(255 255 255 / .05); color: #dfe6e3; font: 500 max(13px, calc(19 * var(--u))) / 1 var(--font-serif); transition: border-color .2s, background .2s; }
.pb-sv-els button .pb-sv-i, .pb-sv-els button svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); min-width: 18px; min-height: 18px; }
.pb-sv-els button:hover { border-color: rgb(236 217 168 / .7); }
.pb-sv-els button[aria-checked="true"] { border: 2px solid var(--gold); background: rgb(90 70 30 / .35); color: var(--gold-hi); box-shadow: 0 0 calc(14 * var(--u)) rgb(240 200 120 / .45), inset 0 0 calc(12 * var(--u)) rgb(240 200 120 / .15); }
.pb-sv-form__token { display: flex; justify-content: center; align-items: center; gap: .6em; margin: auto 0 0; padding-top: calc(10 * var(--u)); color: var(--gold); font: 600 max(13px, calc(20 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .1em; }
.pb-sv-form__sure { margin: 0; color: #ffd0a0; font-size: max(13px, calc(17 * var(--u))); text-align: center; }
.pb-sv-btn--create { align-self: center; width: calc(540 * var(--u)); max-width: 100%; height: calc(80 * var(--u)); min-height: 48px; border-image-width: 0 calc(54 * var(--u)); color: #c9d0cf; letter-spacing: .16em; }

/* Phone: the same things, stacked. */
.pb-sv:not(.pb-sv--desk) .pb-sv-stage { padding-bottom: 28px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-back { left: 12px; top: 12px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-title { padding-top: 18px; }
.pb-sv:not(.pb-sv--desk).pb-sv--found .pb-sv-title { padding-top: 62px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-title h1 { font-size: 30px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-title__rule { width: 240px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-gates { flex-direction: column; align-items: center; gap: 0; margin-top: 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-card--jade { width: calc(533 * var(--u)); }
.pb-sv:not(.pb-sv--desk) .pb-sv-card--jade .pb-sv-ring { left: calc(46 * var(--u)); }
.pb-sv:not(.pb-sv--desk) .pb-sv-card--jade .pb-sv-reqs { left: calc(212 * var(--u)); }
.pb-sv:not(.pb-sv--desk) .pb-sv-today { position: relative; right: auto; top: auto; margin: 4px auto 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-post { position: relative; right: auto; top: auto; display: flex; width: fit-content; margin: 10px auto 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-filters { width: auto; margin: 10px 12px 0; padding: 10px 12px; flex-wrap: wrap; gap: 10px 8px; border-radius: 12px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-chips { flex: 1 1 70%; min-width: 0; overflow-x: auto; gap: 8px; padding-bottom: 2px; scrollbar-width: none; }
.pb-sv:not(.pb-sv--desk) .pb-sv-chips button { padding: 0 14px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-sel { margin-left: 0; padding-left: 0; border-left: 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-sel + .pb-sv-sel { margin-left: 4px; padding-left: 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-sel select, .pb-sv:not(.pb-sv--desk) .pb-sv-sel > button { min-width: 84px; padding: 0 10px; border-radius: 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-pop { left: 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-switch { flex-basis: 100%; margin-left: 0; padding-left: 0; border-left: 0; min-height: 32px; gap: 10px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-list { width: auto; margin: 6px 4px 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row { --u: .5px; flex-direction: column; gap: 10px; min-height: 0; margin-bottom: -4px; padding: 148px 22px 22px 26px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__art { left: 14px; right: 9px; top: 9px; bottom: auto; width: auto; height: 132px; border-radius: 10px 10px 0 0; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__bar { left: 5px; top: 9px; bottom: 9px; width: 10px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__main { gap: 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__head { flex-wrap: wrap; gap: 8px 10px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-seal { width: 40px; height: 40px; font-size: 22px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__who { flex: 1 1 60%; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__who > span { gap: 8px; flex-wrap: wrap; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__who b { font-size: 20px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-tag { padding: 2px 10px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-state { flex: 0 0 auto; max-width: 100%; margin-left: 0; min-height: 30px; padding: 3px 12px; white-space: normal; text-align: left; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__reqs { gap: 6px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__reqs span { min-height: 28px; padding: 0 8px; border-radius: 6px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__culture, .pb-sv:not(.pb-sv--desk) .pb-sv-row__perks { font-size: 13px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__perks { align-items: flex-start; padding: 6px 10px; border-radius: 6px; flex-wrap: wrap; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__gap { padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__gap li { flex-wrap: wrap; gap: 2px 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__act { width: 100%; margin: 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-row__act .pb-sv-btn { width: 100%; height: 50px; font-size: 17px; border-image-width: 0 34px; }
.pb-sv:not(.pb-sv--desk).pb-sv--found .pb-sv-stage { display: block; }
.pb-sv:not(.pb-sv--desk) .pb-sv-panel { --u: .62px; margin: 0 2px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-prog { margin-top: 6px; padding: 24px 20px 22px; gap: 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-prog__head { gap: 12px; padding: 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-prog__head .pb-sv-round { width: 48px; height: 48px; font-size: 24px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-prog__title b { font-size: 20px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-fold { font-size: 20px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-prog__bar { margin: 4px 6px 6px; gap: 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-prog__bar i { height: 5px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-check { flex-wrap: wrap; gap: 6px 10px; min-height: 0; padding: 8px 10px; border-radius: 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-check .pb-sv-round { width: 36px; height: 36px; font-size: 18px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-check__main { flex: 1 1 60%; }
.pb-sv:not(.pb-sv--desk) .pb-sv-check__state { margin-left: 46px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-mini { min-width: 76px; min-height: 36px; padding: 0 10px; border-radius: 8px; margin-left: auto; }
.pb-sv:not(.pb-sv--desk) .pb-sv-mini--none { display: none; }
.pb-sv:not(.pb-sv--desk) .pb-sv-token { margin-top: -6px; min-height: 0; padding: 26px 20px 24px 104px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-token__art { left: 10px; top: 14px; width: 92px; height: 120px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-token h2 { font-size: 22px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-token__code { flex-wrap: wrap; gap: 8px; margin-left: -84px; margin-top: 10px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-mini--take { margin-left: 0; min-width: 72px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-form { margin: -6px 2px 0; min-height: 0; padding: 28px 22px 26px; gap: 14px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-field { gap: 6px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-input { padding: 0 12px; border-radius: 8px; font-size: 16px; }
.pb-sv:not(.pb-sv--desk) textarea.pb-sv-input { height: 132px; padding-top: 8px; padding-bottom: 22px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-field__box input.pb-sv-input { padding-right: 52px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-field__box em { right: 10px; bottom: 12px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-mini--sample { top: -8px; margin-left: 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-samples { top: 34px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-field--els { margin-top: 2px; padding-top: 14px; gap: 10px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-els { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-els button { height: 56px; border-radius: 8px; gap: 4px; }
.pb-sv:not(.pb-sv--desk) .pb-sv-form__token { margin-top: 4px; padding-top: 0; }
.pb-sv:not(.pb-sv--desk) .pb-sv-btn--create { width: 100%; height: 54px; border-image-width: 0 36px; font-size: 16px; letter-spacing: .08em; padding: 0 22px; }
@media (prefers-reduced-motion: reduce) { .pb-sv-card, .pb-sv-row, .pb-sv-btn { transition: none; } .pb-sv-card:hover, .pb-sv-row:hover { transform: none; } }

/* ---------- 2026-11-12: save notices with a button, 存档 in 我, and the words shown when a page breaks ---------- */
.pb-savewarn button { margin-left: 10px; padding: 2px 10px; min-height: 28px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 8px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.pb-savewarn button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pb-savewarn--near { background: #6b4e12; }
.pb-archive .pb-actions { flex-wrap: wrap; }
.pb-archive__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; }
.pb-archive__text textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-sunk); color: var(--ink); font: 13px/18px ui-monospace, Consolas, monospace; resize: vertical; }
.pb-archive__note { margin: 10px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.pb-archive__ask { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pb-archive__ask p { margin: 0 0 10px; font-size: 14px; line-height: 20px; color: var(--ink); }
.pb-crash { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: #0b0e14; color: #fff; font: 15px/22px var(--font-sans, system-ui, sans-serif); text-align: center; }
.pb-crash--root { position: fixed; }
.pb-crash p { margin: 0; }
.pb-crash__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pb-crash button { min-height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; cursor: pointer; }
.pb-crash button:hover { background: rgba(255, 255, 255, 0.16); }
.pb-crash button:focus-visible { outline: 2px solid #6cc7e0; outline-offset: 2px; }

/* ---------- 议事堂 V1.1 (2026-11-12) ----------
   After the user's document and picture (1672 × 941; 1 unit = one pixel of it). The hall is the user's own background,
   whole; frames come out of the user's three transparent sheets in assets/yishi-v11/ (used whole, shown in part). */
.pb-ys-ground { position: relative; height: 100%; overflow: hidden; background: #070b14; }
.pb-ys {
  --sw: 1448; --sh: 1086;
  --s-btn: url(assets/yishi-v11/sheet-buttons.png); --s-plq: url(assets/yishi-v11/sheet-plaque.png); --s-pnl: url(assets/yishi-v11/sheet-panels.png);
  --ys-ink: #f1ebdd; --ys-soft: #c9c5bb; --ys-faint: #9ea6b4; --ys-gold: #e9c987; --ys-gold-deep: #b98d45; --ys-line: rgb(170 188 214 / .2);
  --ys-panel: rgb(9 15 28 / .34); --ys-bubble: rgb(30 41 60 / .74);
  position: absolute; inset: 0; color: var(--ys-ink); font-family: var(--font-sans, "Noto Sans SC", sans-serif);
}
:where(.pb-ys) button { font: inherit; color: inherit; }
.pb-ys-3s { background-color: transparent; }
.pb-ys-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(4 7 14 / .55), rgb(4 7 14 / 0) 10%), url(assets/yishi-v11/hall-bg.png) 50% 50% / cover no-repeat; }
.pb-ys > :not(.pb-ys-bg) { position: relative; z-index: 1; }
.pb-ys > .pb-ys-top { z-index: 3; }

/* A piece of a sheet stretched along its middle: --rx --ry --rw --rh is the piece, --cap the width kept at each end. */
.pb-ys-3s { isolation: isolate; --capw: calc(var(--h) * var(--cap) / var(--rh)); height: var(--h); padding-inline: var(--capw); box-sizing: border-box;
  background-image: var(--sheet); background-repeat: no-repeat; background-origin: content-box; background-clip: content-box;
  background-size: calc(var(--sw) / (var(--rw) - 2 * var(--cap)) * 100%) calc(var(--sh) / var(--rh) * 100%);
  background-position: calc((var(--rx) + var(--cap)) / (var(--sw) - var(--rw) + 2 * var(--cap)) * 100%) calc(var(--ry) / (var(--sh) - var(--rh)) * 100%); }
.pb-ys-3s::before, .pb-ys-3s::after { content: ''; position: absolute; top: 0; bottom: 0; width: var(--capw); z-index: -1; pointer-events: none;
  background-image: var(--sheet); background-repeat: no-repeat; background-size: calc(var(--sw) / var(--cap) * 100%) calc(var(--sh) / var(--rh) * 100%); }
.pb-ys-3s::before { left: 0; background-position: calc(var(--rx) / (var(--sw) - var(--cap)) * 100%) calc(var(--ry) / (var(--sh) - var(--rh)) * 100%); }
.pb-ys-3s::after { right: 0; background-position: calc((var(--rx) + var(--rw) - var(--cap)) / (var(--sw) - var(--cap)) * 100%) calc(var(--ry) / (var(--sh) - var(--rh)) * 100%); }
/* A piece shown whole, the element having its shape. */
.pb-ys-1s, .pb-ys--phone .pb-ys-head--back, .pb-ys--phone .pb-ys-head--search, .pb-ys--phone .pb-ys-head--settings, .pb-ys--phone .pb-ys-head--bell.has-dot { background-image: var(--sheet); background-repeat: no-repeat;
  background-size: calc(var(--sw) / var(--rw) * 100%) calc(var(--sh) / var(--rh) * 100%);
  background-position: calc(var(--rx) / (var(--sw) - var(--rw)) * 100%) calc(var(--ry) / (var(--sh) - var(--rh)) * 100%); }

/* The pieces. */
.pb-ys-tab, .pb-ys-sidetab, .pb-ys-input, .pb-ys-team__btn { position: relative; }
.pb-ys-tab, .pb-ys-sidetab { --sheet: var(--s-btn); --rx: 764; --ry: 88; --rw: 612; --rh: 136; --cap: 96; }
.pb-ys-tab.is-on, .pb-ys-sidetab.is-on { --rx: 76; --rw: 608; }
.pb-ys-input { --sheet: var(--s-btn); --rx: 60; --ry: 544; --rw: 1052; --rh: 152; --cap: 120; }
.pb-ys-team__btn { --sheet: var(--s-btn); --rx: 76; --ry: 304; --rw: 640; --rh: 148; --cap: 100; }
.pb-ys-send { --sheet: var(--s-btn); --rx: 1160; --ry: 516; --rw: 212; --rh: 208; }
.pb-ys-plaque { --sheet: var(--s-plq); --rx: 28; --ry: 196; --rw: 1396; --rh: 300; }
.pb-ys-day::before, .pb-ys-day::after { --sheet: var(--s-pnl); --ry: 784; --rw: 236; --rh: 36; }
.pb-ys-day::before { --rx: 644; }
.pb-ys-day::after { --rx: 904; }

/* ----- The website: the picture's own layout ----- */
.pb-ys--desk { --u: min(100vw / 1672, 100vh / 941); display: grid; grid-template-columns: minmax(0, 1fr) calc(262 * var(--u)); grid-template-rows: calc(78 * var(--u)) minmax(0, 1fr);
  column-gap: calc(5 * var(--u)); padding: 0 calc(12 * var(--u)) calc(13 * var(--u)) calc(25 * var(--u)); font-size: calc(17 * var(--u)); }
.pb-ys-top { grid-column: 1 / -1; display: flex; align-items: center; min-width: 0; }
.pb-ys-head { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: calc(6 * var(--u)); padding: 0; border: 0; background: none; color: #efe6d1; cursor: pointer; }
.pb-ys-head:hover, .pb-ys-head.is-on { color: var(--ys-gold); }
.pb-ys-head:focus-visible, .pb-ys button:focus-visible, .pb-ys a:focus-visible, .pb-ys input:focus-visible { outline: 2px solid var(--ys-gold); outline-offset: 2px; }
.pb-ys--desk .pb-ys-head--back { width: calc(48 * var(--u)); height: calc(48 * var(--u)); margin-left: calc(1 * var(--u)); }
.pb-ys--desk .pb-ys-head .pb-ys-ico { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.pb-ys--desk .pb-ys-head--back .pb-ys-ico { width: calc(34 * var(--u)); height: calc(34 * var(--u)); }
.pb-ys-top__title { margin-left: calc(28 * var(--u)); font: 500 calc(28 * var(--u)) / 1 var(--font-sans, sans-serif); letter-spacing: .04em; color: #f6efe0; text-shadow: 0 1px 6px rgb(0 0 0 / .6); }
.pb-ys-plaque { position: absolute; left: 50%; top: calc(-23 * var(--u)); width: calc(560 * var(--u)); height: calc(120 * var(--u)); margin: 0 0 0 calc(-280 * var(--u));
  display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 calc(4 * var(--u)) calc(10 * var(--u)) rgb(0 0 0 / .55)); }
.pb-ys-plaque > span:first-child { padding-left: .22em; font: 400 calc(46 * var(--u)) / 1 "Ma Shan Zheng", var(--font-serif, serif); letter-spacing: .22em;
  background: linear-gradient(180deg, #fff3cf 10%, #e8c47e 55%, #b78a44); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .7)); }
.pb-ys-top__acts { position: relative; display: flex; align-items: center; margin-left: auto; padding-right: calc(18 * var(--u)); }
.pb-ys--desk .pb-ys-head--search { margin-right: calc(40 * var(--u)); }
.pb-ys--desk .pb-ys-head--bell { margin-right: calc(30 * var(--u)); }
.pb-ys--desk .pb-ys-head--settings { margin-right: calc(32 * var(--u)); font-size: calc(20 * var(--u)); gap: calc(4 * var(--u)); }
.pb-ys--desk .pb-ys-head--settings .pb-ys-ico { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.pb-ys-head__dot { position: absolute; top: calc(-1 * var(--u)); right: calc(-1 * var(--u)); width: calc(9 * var(--u)); height: calc(9 * var(--u)); min-width: 6px; min-height: 6px; border-radius: 50%; background: #e2332c; box-shadow: 0 0 6px rgb(226 51 44 / .7); }
.pb-ys-search { position: absolute; z-index: 21; top: calc(100% + 6px); right: calc(14 * var(--u)); display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgb(233 201 135 / .35); border-radius: 999px; background: rgb(10 15 27 / .9); }
.pb-ys-search input { width: calc(300 * var(--u)); min-width: 160px; height: calc(36 * var(--u)); min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .06); color: var(--ys-ink); font: 400 max(13px, calc(16 * var(--u))) / 1 var(--font-sans, sans-serif); }
.pb-ys-search small { color: var(--ys-soft); font-size: max(12px, calc(14 * var(--u))); white-space: nowrap; }
.pb-ys mark { padding: 0 1px; border-radius: 3px; background: rgb(233 201 135 / .85); color: #1a1408; }

/* Popovers from the bar. */
.pb-ys-pop { position: absolute; z-index: 20; top: 100%; right: calc(14 * var(--u)); width: min(380px, calc(100% - 24px)); max-height: 62vh; overflow-y: auto; padding: 14px 16px;
  border: 1px solid rgb(233 201 135 / .4); border-radius: 12px; background: rgb(10 15 27 / .94); box-shadow: 0 16px 40px rgb(0 0 0 / .5); font: 400 13px / 20px var(--font-sans, sans-serif); color: var(--ys-ink); }
.pb-ys-pop > b { display: block; margin-bottom: 8px; color: var(--ys-gold); font: 600 15px / 22px var(--font-serif, serif); }
.pb-ys-pop ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pb-ys-pop li { padding-bottom: 8px; border-bottom: 1px solid var(--ys-line); }
.pb-ys-pop li small { display: block; color: var(--ys-faint); font-size: 12px; }
.pb-ys-ranks { display: grid; gap: 2px; }
.pb-ys-ranks__row { display: flex; gap: 10px; }
.pb-ys-ranks__row > b { flex: none; width: 5.5em; font-weight: 600; }
.pb-ys-ranks__row span { color: var(--ys-soft); }
.pb-ys-ranks__row em { display: block; color: #9fd8c0; font-style: normal; }
.pb-ys-ranks__row.is-me b, .pb-ys-ranks__row.is-me span { color: var(--ys-gold); }
.pb-ys-try { display: grid; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ys-line); }
.pb-ys-try > small { color: var(--ys-faint); }
.pb-ys-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-ys-chips button { padding: 3px 10px; border: 1px solid rgb(170 188 214 / .28); border-radius: 999px; background: rgb(30 41 60 / .7); font-size: 12px; line-height: 18px; cursor: pointer; }
.pb-ys-chips button small { color: var(--ys-faint); }
.pb-ys-chips button[aria-pressed="true"] { border-color: rgb(233 201 135 / .7); background: rgb(185 141 69 / .35); color: #fbe9c2; }
.pb-ys-none { margin: 0; color: var(--ys-faint); }

/* The talk. */
.pb-ys-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; border: 1px solid var(--ys-line); border-radius: calc(14 * var(--u)); background: var(--ys-panel);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 10px 40px rgb(0 0 0 / .25); }
.pb-ys-bar { flex: none; display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(15 * var(--u)) calc(43 * var(--u)) calc(6 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid rgb(170 188 214 / .1); }
.pb-ys-tabs { display: flex; gap: calc(5 * var(--u)); min-width: 0; }
.pb-ys-tab, .pb-ys-sidetab { --h: calc(42 * var(--u)); display: inline-flex; align-items: center; justify-content: center; flex: none; border: 0; cursor: pointer; white-space: nowrap; }
.pb-ys-tab { min-width: calc(126 * var(--u)); font-size: calc(19 * var(--u)); color: #e4e0d6; opacity: .92; }
.pb-ys-tab:not(.is-on) { filter: brightness(.82) saturate(.8); }
.pb-ys-tab.is-on { color: #fff6df; font-weight: 600; text-shadow: 0 1px 3px rgb(60 30 0 / .7); opacity: 1; }
.pb-ys-tab:hover:not(.is-on) { filter: none; }
.pb-ys-online { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); margin-left: auto; padding: 0; border: 0; background: none; color: #e6e1d6; font-size: calc(17 * var(--u)); cursor: default; white-space: nowrap; }
.pb-ys--desk .pb-ys-online { pointer-events: none; }
.pb-ys-online .pb-ys-ico { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.pb-ys-list { flex: 1; min-height: 0; overflow-y: auto; padding: calc(12 * var(--u)) calc(30 * var(--u)) calc(16 * var(--u)) calc(35 * var(--u)); scrollbar-width: thin; scrollbar-color: rgb(170 188 214 / .25) transparent; }
.pb-ys-day { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); margin: 0 0 calc(10 * var(--u)); color: #ece6d8; font-size: calc(17 * var(--u)); }
.pb-ys-day::before, .pb-ys-day::after { content: ''; width: calc(126 * var(--u)); height: calc(19 * var(--u)); opacity: .85;
  background-image: var(--sheet); background-repeat: no-repeat; background-size: calc(var(--sw) / var(--rw) * 100%) calc(var(--sh) / var(--rh) * 100%);
  background-position: calc(var(--rx) / (var(--sw) - var(--rw)) * 100%) calc(var(--ry) / (var(--sh) - var(--rh)) * 100%); }
.pb-ys-msg { display: flex; gap: calc(24 * var(--u)); margin-top: calc(10 * var(--u)); }
.pb-ys-msg__av { flex: none; padding-top: calc(4 * var(--u)); }
.pb-ys-msg__av .pb-avbtn { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.pb-ys-msg__main { display: flex; flex-direction: column; align-items: flex-start; gap: calc(3 * var(--u)); min-width: 0; max-width: calc(726 * var(--u)); }
.pb-ys-msg__head { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(16 * var(--u)); line-height: calc(22 * var(--u)); }
.pb-ys-msg__head > b { color: #f0d79f; font-weight: 500; }
.pb-ys-msg__head time { color: #d4d0c6; }
.pb-ys-tag { display: inline-flex; align-items: center; height: calc(22 * var(--u)); padding: 0 calc(8 * var(--u)); border: 1px solid rgb(190 200 220 / .35); border-radius: calc(6 * var(--u));
  background: rgb(28 36 52 / .7); color: #d6d9df; font-size: calc(15 * var(--u)); white-space: nowrap; }
.pb-ys-tag--gold { border-color: rgb(233 201 135 / .65); background: linear-gradient(180deg, rgb(120 88 36 / .55), rgb(70 50 20 / .55)); color: #f6d998; }
.pb-ys-bubble { max-width: 100%; padding: calc(5 * var(--u)) calc(13 * var(--u)) calc(6 * var(--u)); border: 1px solid rgb(160 180 210 / .14); border-radius: calc(10 * var(--u));
  background: var(--ys-bubble); color: #f3eee2; font-size: calc(19 * var(--u)); line-height: calc(27 * var(--u)); overflow-wrap: anywhere; white-space: pre-line; box-shadow: 0 2px 10px rgb(0 0 0 / .18); }
.pb-ys-bubble--whisper { border: 1px dashed rgb(185 170 235 / .6); background: rgb(48 40 78 / .7); }
.pb-ys-bubble__to { display: flex; align-items: center; gap: 4px; color: #cbbff0; font-size: calc(13 * var(--u)); line-height: 1.6; }
.pb-ys-img { display: block; max-width: min(100%, calc(320 * var(--u))); max-height: calc(260 * var(--u)); margin: calc(3 * var(--u)) 0; border-radius: 6px; }
.pb-ys-msg--self { flex-direction: row-reverse; }
.pb-ys-msg--self .pb-ys-msg__main { align-items: flex-end; }
.pb-ys-msg--self .pb-ys-msg__head { flex-direction: row-reverse; }
.pb-ys-msg--self .pb-ys-bubble:not(.pb-ys-bubble--whisper) { border-color: rgb(233 201 135 / .3); background: rgb(92 72 38 / .7); }
.pb-ys-slip .wd-voiceslip { max-width: 100%; }
.pb-ys-file { display: flex; align-items: center; gap: calc(14 * var(--u)); width: calc(424 * var(--u)); max-width: 100%; box-sizing: border-box; padding: calc(10 * var(--u)) calc(22 * var(--u)) calc(10 * var(--u)) calc(18 * var(--u));
  border: 1px solid rgb(170 190 220 / .3); border-radius: calc(12 * var(--u)); background: linear-gradient(180deg, rgb(30 44 68 / .86), rgb(18 28 46 / .86)); box-shadow: 0 4px 14px rgb(0 0 0 / .3), inset 0 1px 0 rgb(255 255 255 / .06); }
.pb-ys-file__ico { flex: none; display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(42 * var(--u)); border-radius: calc(7 * var(--u));
  background: linear-gradient(180deg, #6fb2f2, #3b7fd3); color: #eaf4ff; box-shadow: 0 0 0 1px rgb(255 255 255 / .18) inset; }
.pb-ys-file__ico .pb-ys-ico { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.pb-ys-file__main { display: grid; min-width: 0; flex: 1; }
.pb-ys-file__main b { overflow: hidden; color: #f3eee2; font-size: calc(17 * var(--u)); font-weight: 400; line-height: calc(24 * var(--u)); text-overflow: ellipsis; white-space: nowrap; }
.pb-ys-file__main small { color: #b7bcc6; font-size: calc(13 * var(--u)); line-height: calc(18 * var(--u)); }
.pb-ys-file__down { flex: none; display: grid; place-items: center; color: #e6e0d2; }
.pb-ys-file__down .pb-ys-ico { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.pb-ys-file__down:hover { color: var(--ys-gold); }
.pb-ys-team { display: flex; align-items: center; gap: calc(14 * var(--u)); width: calc(392 * var(--u)); max-width: 100%; box-sizing: border-box; height: calc(46 * var(--u)); padding: 0 calc(8 * var(--u)) 0 calc(22 * var(--u));
  border: 1px solid rgb(233 201 135 / .55); border-radius: 999px; background: linear-gradient(90deg, rgb(70 54 28 / .85), rgb(38 32 24 / .85)); color: #f2dfae; box-shadow: 0 0 14px rgb(233 190 110 / .12); }
.pb-ys-team > .pb-ys-ico { flex: none; width: calc(28 * var(--u)); height: calc(28 * var(--u)); color: #f0d79f; }
.pb-ys-team__text { flex: 1; font-size: calc(19 * var(--u)); white-space: nowrap; }
.pb-ys-team__btn { --h: calc(34 * var(--u)); display: inline-flex; align-items: center; justify-content: center; min-width: calc(94 * var(--u)); border: 0; color: #3a2709 !important; font-size: calc(19 * var(--u)); font-weight: 600; cursor: pointer; }
.pb-ys-team__btn[aria-pressed="true"] { filter: saturate(.55) brightness(.9); }
.pb-ys-team__btn:disabled { filter: grayscale(.8); cursor: default; }
.pb-ys-notice { width: fit-content; max-width: 86%; margin: calc(12 * var(--u)) auto; padding: calc(4 * var(--u)) calc(14 * var(--u)); border: 1px solid var(--ys-line); border-radius: 999px;
  background: rgb(9 14 26 / .66); color: #d9d2c0; font-size: calc(14 * var(--u)); line-height: 1.5; text-align: center; }
.pb-ys-notice--press { border-color: rgb(120 210 200 / .35); color: #aee3d9; }
.pb-ys-broadcast { margin: calc(14 * var(--u)) 0; padding: calc(10 * var(--u)) calc(16 * var(--u)); border: 1px solid rgb(233 201 135 / .55); border-radius: calc(12 * var(--u)); background: linear-gradient(180deg, rgb(70 54 28 / .78), rgb(30 26 22 / .78)); }
.pb-ys-broadcast__head { display: flex; align-items: center; gap: 6px; color: var(--ys-gold); font-size: calc(15 * var(--u)); font-weight: 600; }
.pb-ys-broadcast__head span { color: var(--ys-soft); font-weight: 400; }
.pb-ys-broadcast p { margin: 4px 0; font-size: calc(18 * var(--u)); line-height: 1.5; }
.pb-ys-broadcast small { color: var(--ys-faint); font-size: calc(13 * var(--u)); }

/* The other tabs. */
.pb-ys-page { flex: 1; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: calc(12 * var(--u)); padding: calc(18 * var(--u)) calc(35 * var(--u)); }
.pb-ys-card { padding: calc(12 * var(--u)) calc(16 * var(--u)); border: 1px solid var(--ys-line); border-radius: calc(12 * var(--u)); background: rgb(14 22 38 / .78); }
.pb-ys-card > b { display: flex; align-items: center; gap: 8px; color: #f0d79f; font: 600 calc(18 * var(--u)) / 1.4 var(--font-serif, serif); }
.pb-ys-card p { margin: 6px 0 0; color: #e2ddd1; font-size: calc(16 * var(--u)); line-height: 1.6; }
.pb-ys-page .pb-ys-notice { margin: 0; }
.pb-ys-fileline { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.pb-ys-fileline > small { color: var(--ys-faint); font-size: calc(14 * var(--u)); }
.pb-ys-tasks .pb-sx-event { display: flex; align-items: center; gap: calc(14 * var(--u)); padding: calc(10 * var(--u)); border: 1px solid var(--ys-line); border-radius: calc(12 * var(--u)); background: rgb(14 22 38 / .78); }
.pb-ys-tasks .pb-sx-event img { width: calc(120 * var(--u)); height: calc(68 * var(--u)); object-fit: cover; border-radius: 8px; }
.pb-ys-tasks .pb-sx-event__main { display: grid; flex: 1; gap: 2px; }
.pb-ys-tasks .pb-sx-event__main b { color: #f0d79f; font-size: calc(18 * var(--u)); }
.pb-ys-tasks .pb-sx-event__main small, .pb-ys-tasks .pb-sx-event__main em { color: var(--ys-soft); font-size: calc(14 * var(--u)); font-style: normal; }
.pb-ys-tasks .pb-sx-event__main em.is-on { color: #9fd8c0; }
.pb-ys-tasks .pb-fd-follow { padding: 6px 18px; border: 1px solid rgb(233 201 135 / .6); border-radius: 999px; background: linear-gradient(180deg, #f1d38e, #c99a4c); color: #3a2709; font-size: calc(16 * var(--u)); cursor: pointer; }
.pb-ys-tasks .pb-fd-follow.is-on { background: rgb(30 41 60 / .8); color: var(--ys-ink); }

/* 神识威压's choice, over the talk. */
.pb-ys-main { position: relative; }
.pb-ys > .pb-ys-sheet { position: absolute; z-index: 35; left: calc(49 * var(--u)); bottom: calc(106 * var(--u)); width: min(440px, calc(100% - 48px)); padding: 14px 16px; border: 1px solid rgb(120 210 200 / .45); border-radius: 12px;
  background: rgb(8 18 24 / .95); box-shadow: 0 12px 36px rgb(0 0 0 / .5); font: 400 13px / 20px var(--font-sans, sans-serif); }
.pb-ys-sheet__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pb-ys-sheet__head span { display: grid; }
.pb-ys-sheet__head b { color: #bfeee4; font-size: 15px; }
.pb-ys-sheet__head small { color: var(--ys-faint); font-size: 12px; }
.pb-ys-sheet__note { margin: 0 0 8px; color: #f0c0a0; }
.pb-ys-sheet__acts { display: flex; gap: 8px; margin-top: 10px; }
.pb-ys-btn { padding: 6px 16px; border: 1px solid rgb(170 188 214 / .35); border-radius: 999px; background: rgb(30 41 60 / .8); font-size: 13px; cursor: pointer; }
.pb-ys-btn--danger { border-color: rgb(120 210 200 / .6); background: linear-gradient(180deg, #2f7f78, #1c5552); color: #eafff9 !important; }
.pb-ys-btn:disabled { opacity: .5; cursor: default; }

/* What you write. */
.pb-ys-compose { flex: none; position: relative; border-top: 1px solid rgb(233 201 135 / .28); border-radius: 0 0 calc(14 * var(--u)) calc(14 * var(--u)); background: rgb(10 17 31 / .55); }
.pb-ys-compose__row { display: flex; align-items: center; height: calc(80 * var(--u)); padding: 0 calc(25 * var(--u)) 0 calc(26 * var(--u)); }
.pb-ys-round { flex: none; display: grid; place-items: center; width: calc(48 * var(--u)); height: calc(48 * var(--u)); margin-right: calc(21 * var(--u)); padding: 0; border: 1px solid rgb(205 195 170 / .42); border-radius: 50%;
  background: rgb(14 21 36 / .7); color: #e9dfc8; cursor: pointer; }
.pb-ys-round .pb-ys-ico { width: calc(28 * var(--u)); height: calc(28 * var(--u)); }
.pb-ys-round:hover, .pb-ys-round[aria-expanded="true"] { border-color: rgb(233 201 135 / .8); color: var(--ys-gold); }
.pb-ys-input { --h: calc(50 * var(--u)); flex: 1; display: flex; align-items: center; min-width: 0; margin: 0 calc(22 * var(--u)) 0 calc(14 * var(--u)); padding-inline: calc(var(--capw) * .45) !important; }
.pb-ys-input__field { flex: 1; min-width: 0; height: 100%; padding: 0 calc(12 * var(--u)); border: 0; outline: 0; background: none; color: var(--ys-ink); font: 400 calc(19 * var(--u)) / 1 var(--font-sans, sans-serif); }
.pb-ys-input__field::placeholder { color: #a7acb6; }
.pb-ys-input__emoji { flex: none; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #e6e0d2; cursor: pointer; }
.pb-ys-input__emoji .pb-ys-ico { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.pb-ys-send { flex: none; display: grid; place-items: center; width: calc(62 * var(--u)); height: calc(61 * var(--u)); padding: 0; border: 0; border-radius: 50%; color: #fff4d6; cursor: pointer; }
.pb-ys-send .pb-ys-ico { opacity: 0; }
.pb-ys-send:disabled { filter: saturate(.75) brightness(.85); cursor: default; }
.pb-ys-send:not(:disabled):hover { filter: brightness(1.12); }
.pb-ys-tray { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px calc(26 * var(--u)) 0; }
.pb-ys-tray button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid rgb(205 195 170 / .35); border-radius: 12px; background: rgb(14 21 36 / .82); font-size: 13px; line-height: 18px; cursor: pointer; }
.pb-ys-tray button[aria-pressed="true"] { border-color: rgb(233 201 135 / .8); color: #fbe9c2; }
.pb-ys-tray button:disabled { opacity: .5; cursor: default; }
.pb-ys-tray button small { color: var(--ys-faint); font-size: 11px; }
.pb-ys-tray--emoji button { padding: 4px 8px; font-size: 20px; line-height: 26px; }
.pb-ys-rec, .pb-ys-mode { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px calc(26 * var(--u)) 0; color: var(--ys-soft); font-size: 13px; }
.pb-ys-rec i { width: 8px; height: 8px; border-radius: 50%; background: #e2332c; animation: wd-pulse 1s infinite alternate; }
.pb-ys-rec button, .pb-ys-mode button { padding: 2px 10px; border: 1px solid rgb(205 195 170 / .35); border-radius: 999px; background: rgb(14 21 36 / .8); font-size: 12px; cursor: pointer; }
.pb-ys-mode { color: #cbbff0; }

/* Members. */
.pb-ys-side { display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--ys-line); border-radius: calc(14 * var(--u)); background: rgb(9 15 28 / .5); }
.pb-ys-side__tabs { flex: none; display: flex; gap: calc(6 * var(--u)); padding: calc(17 * var(--u)) calc(10 * var(--u)) calc(12 * var(--u)); border-bottom: 1px solid rgb(170 188 214 / .1); }
.pb-ys-sidetab { flex: 1; min-width: 0; font-size: calc(19 * var(--u)); color: #ece7da; }
.pb-ys-sidetab:not(.is-on) { --rx: 752; --ry: 776; --rw: 396; --rh: 84; --cap: 60; background-image: none; }
.pb-ys-sidetab:not(.is-on)::before, .pb-ys-sidetab:not(.is-on)::after { opacity: 0; }
.pb-ys-sidetab.is-on { color: #fff6df; font-weight: 600; text-shadow: 0 1px 3px rgb(60 30 0 / .7); }
.pb-ys-side__list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 calc(10 * var(--u)) calc(10 * var(--u)); scrollbar-width: thin; scrollbar-color: rgb(170 188 214 / .25) transparent; }
.pb-ys-group { border-bottom: 1px solid rgb(170 188 214 / .14); }
.pb-ys-group__head { display: flex; align-items: center; gap: calc(6 * var(--u)); width: 100%; height: calc(50 * var(--u)); padding: 0 calc(6 * var(--u)) 0 calc(10 * var(--u)); border: 0; background: none; cursor: pointer; font-size: calc(19 * var(--u)); color: #f0d79f; }
.pb-ys-group__head .pb-ys-ico { flex: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); color: #d9d4c8; }
.pb-ys-group__end { margin-left: auto; }
.pb-ys-group__body { padding-bottom: calc(6 * var(--u)); }
.pb-ys-group__more { margin: 0; padding: calc(4 * var(--u)) 0 calc(6 * var(--u)) calc(82 * var(--u)); color: var(--ys-faint); font-size: calc(14 * var(--u)); }
.pb-ys-mem { display: flex; align-items: center; gap: calc(18 * var(--u)); width: 100%; min-height: calc(65 * var(--u)); padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)) calc(16 * var(--u)); box-sizing: border-box;
  border: 0; border-radius: 10px; background: none; text-align: left; }
button.pb-ys-mem { cursor: pointer; }
button.pb-ys-mem:hover { background: rgb(255 255 255 / .05); }
.pb-ys-mem.is-target { background: rgb(120 210 200 / .14); box-shadow: inset 0 0 0 1px rgb(120 210 200 / .5); }
.pb-ys-mem.is-off { opacity: .35; }
.pb-ys-mem__av { position: relative; display: inline-block; }
.pb-ys-dot { position: absolute; right: -1px; bottom: 1px; width: calc(12 * var(--u)); height: calc(12 * var(--u)); min-width: 8px; min-height: 8px; border: 2px solid #0d1524; border-radius: 50%; background: #34c46a; }
.pb-ys-mem__name { display: grid; min-width: 0; }
.pb-ys-mem__name b { overflow: hidden; color: #f0d79f; font-size: calc(19 * var(--u)); font-weight: 500; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.pb-ys-mem__name small { display: flex; align-items: center; gap: 4px; color: #c7c9cf; font-size: calc(14 * var(--u)); line-height: 1.4; }
.pb-ys-mem__name small.is-on::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #34c46a; }
.pb-ys-press { flex: none; display: grid; gap: 4px; padding: calc(10 * var(--u)) calc(14 * var(--u)) calc(12 * var(--u)); border-top: 1px solid rgb(170 188 214 / .14); }
.pb-ys-press__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; border: 1px solid rgb(120 210 200 / .45); border-radius: 999px; background: rgb(14 40 44 / .7); color: #bfeee4 !important; font-size: 13px !important; cursor: pointer; }
.pb-ys-press.is-on .pb-ys-press__btn { box-shadow: 0 0 0 1px rgb(150 230 215 / .6), 0 0 18px rgb(110 220 200 / .4); }
.pb-ys-press small { color: var(--ys-faint); font-size: 12px; text-align: center; }
.pb-ys-side__close, .pb-ys-scrim { display: none; }

/* ----- The phone: one column; the members come out from the right ----- */
.pb-ys--phone { --u: .58px; display: flex; flex-direction: column; padding: 0 8px 8px; font-size: 14px; }
.pb-ys--phone .pb-ys-bg { background-position: 50% 50%, 62% 50%; }
.pb-ys--phone .pb-ys-top { flex: none; height: 58px; padding-top: env(safe-area-inset-top, 0px); }
.pb-ys--phone .pb-ys-head { width: 38px; height: 38px; border: 1px solid rgb(225 190 120 / .55); border-radius: 50%; background: rgb(12 20 36 / .7); box-shadow: inset 0 0 0 2px rgb(10 16 30 / .6); }
.pb-ys--phone .pb-ys-plaque { top: -12px; width: 214px; height: 46px; margin-left: -107px; }
.pb-ys--phone .pb-ys-plaque > span:first-child { font-size: 21px; }
.pb-ys--phone .pb-ys-top__acts { gap: 6px; padding-right: 0; }
.pb-ys--phone .pb-ys-search { right: 0; }
.pb-ys--phone .pb-ys-search input { width: 200px; }
.pb-ys--phone .pb-ys-pop { right: 0; }
.pb-ys--phone .pb-ys-main { flex: 1; border-radius: 12px; }
.pb-ys--phone .pb-ys-bar { flex-wrap: wrap; row-gap: 4px; padding: 8px 8px 6px; }
.pb-ys--phone .pb-ys-tabs { width: 100%; gap: 3px; overflow-x: auto; scrollbar-width: none; }
.pb-ys--phone .pb-ys-tab { --h: 31px; --cap: 64; flex: 1 0 auto; min-width: 0; font-size: 13px; }
.pb-ys--phone .pb-ys-online { margin-left: auto; padding: 2px 10px; border: 1px solid rgb(233 201 135 / .4); border-radius: 999px; background: rgb(12 20 36 / .7); font-size: 12px; cursor: pointer; }
.pb-ys--phone .pb-ys-online .pb-ys-ico { width: 14px; height: 14px; }
.pb-ys--phone .pb-ys-list { padding: 8px 10px 12px; }
.pb-ys--phone .pb-ys-day { font-size: 12px; }
.pb-ys--phone .pb-ys-day::before, .pb-ys--phone .pb-ys-day::after { width: 52px; height: 9px; }
.pb-ys--phone .pb-ys-msg { gap: 10px; margin-top: 10px; }
.pb-ys--phone .pb-ys-msg__main { max-width: calc(100% - 46px); gap: 4px; }
.pb-ys--phone .pb-ys-msg__head { gap: 6px; font-size: 12px; line-height: 18px; }
.pb-ys--phone .pb-ys-tag { height: 17px; padding: 0 5px; font-size: 11px; }
.pb-ys--phone .pb-ys-bubble { padding: 5px 10px; font-size: 14px; line-height: 21px; white-space: normal; }
.pb-ys--phone .pb-ys-file { width: 240px; gap: 10px; padding: 8px 12px; }
.pb-ys--phone .pb-ys-file__ico { width: 30px; height: 32px; }
.pb-ys--phone .pb-ys-file__ico .pb-ys-ico { width: 18px; height: 18px; }
.pb-ys--phone .pb-ys-file__main b { font-size: 13px; line-height: 18px; }
.pb-ys--phone .pb-ys-file__main small { font-size: 11px; line-height: 14px; }
.pb-ys--phone .pb-ys-file__down .pb-ys-ico { width: 20px; height: 20px; }
.pb-ys--phone .pb-ys-team { width: 236px; height: 36px; gap: 8px; padding: 0 5px 0 12px; }
.pb-ys--phone .pb-ys-team > .pb-ys-ico { width: 20px; height: 20px; }
.pb-ys--phone .pb-ys-team__text { font-size: 13px; }
.pb-ys--phone .pb-ys-team__btn { --h: 26px; min-width: 62px; font-size: 13px; }
.pb-ys--phone .pb-ys-notice { font-size: 12px; }
.pb-ys--phone .pb-ys-broadcast p { font-size: 14px; }
.pb-ys--phone .pb-ys-broadcast__head, .pb-ys--phone .pb-ys-broadcast small { font-size: 12px; }
.pb-ys--phone .pb-ys-compose__row { height: 56px; padding: 0 8px; }
.pb-ys--phone .pb-ys-round { width: 34px; height: 34px; margin-right: 6px; }
.pb-ys--phone .pb-ys-round .pb-ys-ico { width: 20px; height: 20px; }
.pb-ys--phone .pb-ys-input { --h: 38px; margin: 0 6px 0 2px; }
.pb-ys--phone .pb-ys-input__field { padding: 0 4px; font-size: 14px; }
.pb-ys--phone .pb-ys-input__emoji .pb-ys-ico { width: 22px; height: 22px; }
.pb-ys--phone .pb-ys-send { width: 44px; height: 43px; }
.pb-ys--phone .pb-ys-tray { padding: 8px 8px 0; }
.pb-ys--phone .pb-ys-rec, .pb-ys--phone .pb-ys-mode { padding: 8px 8px 0; font-size: 12px; }
.pb-ys--phone .pb-ys-page { padding: 12px; gap: 10px; }
.pb-ys--phone .pb-ys-card > b { font-size: 15px; }
.pb-ys--phone .pb-ys-card p, .pb-ys--phone .pb-ys-fileline > small { font-size: 13px; }
.pb-ys--phone .pb-ys-fileline { flex-wrap: wrap; }
.pb-ys--phone .pb-ys-tasks .pb-sx-event img { width: 72px; height: 48px; }
.pb-ys--phone .pb-ys-tasks .pb-sx-event__main b { font-size: 14px; }
.pb-ys--phone .pb-ys-tasks .pb-sx-event__main small, .pb-ys--phone .pb-ys-tasks .pb-sx-event__main em { font-size: 12px; }
.pb-ys--phone .pb-ys-tasks .pb-fd-follow { font-size: 13px; padding: 5px 12px; }
.pb-ys--phone > .pb-ys-sheet { left: 12px; right: 12px; bottom: 72px; width: auto; }
.pb-ys--phone .pb-ys-side { position: absolute; z-index: 30; top: 0; right: 0; bottom: 0; width: min(300px, 82%); border-radius: 14px 0 0 14px; background: rgb(8 13 25 / .96);
  transform: translateX(105%); transition: transform .28s ease; visibility: hidden; }
.pb-ys--phone .pb-ys-side.is-open { transform: none; visibility: visible; }
.pb-ys--phone .pb-ys-side__tabs { padding: 12px 44px 10px 10px; }
.pb-ys--phone .pb-ys-sidetab { --h: 34px; font-size: 14px; }
.pb-ys--phone .pb-ys-side__close { position: absolute; z-index: 2; top: 12px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .06); cursor: pointer; }
.pb-ys--phone .pb-ys-group__head { height: 42px; font-size: 15px; }
.pb-ys--phone .pb-ys-group__head .pb-ys-ico { width: 14px; height: 14px; }
.pb-ys--phone .pb-ys-group__more { padding-left: 64px; font-size: 12px; }
.pb-ys--phone .pb-ys-mem { gap: 12px; min-height: 52px; padding-left: 10px; }
.pb-ys--phone .pb-ys-mem__name b { font-size: 15px; }
.pb-ys--phone .pb-ys-mem__name small { font-size: 12px; }
.pb-ys--phone .pb-ys-dot { width: 9px; height: 9px; }
.pb-ys--phone .pb-ys-scrim { position: absolute; z-index: 29; inset: 0; display: block; padding: 0; border: 0; background: rgb(0 0 0 / .45); }
@media (prefers-reduced-motion: reduce) { .pb-ys--phone .pb-ys-side { transition: none; } }

/* The phone's round buttons are the user's own (sheet-plaque); the bell's own picture has its red dot, so it is used only when there is something unread. */
.pb-ys--phone .pb-ys-head--back { --sheet: var(--s-plq); --rx: 32; --ry: 640; --rw: 252; --rh: 252; }
.pb-ys--phone .pb-ys-head--search { --sheet: var(--s-plq); --rx: 320; --ry: 640; --rw: 244; --rh: 248; }
.pb-ys--phone .pb-ys-head--bell.has-dot { --sheet: var(--s-plq); --rx: 600; --ry: 640; --rw: 248; --rh: 248; }
.pb-ys--phone .pb-ys-head--settings { --sheet: var(--s-plq); --rx: 880; --ry: 640; --rw: 248; --rh: 248; }
.pb-ys--phone .pb-ys-head--back, .pb-ys--phone .pb-ys-head--search, .pb-ys--phone .pb-ys-head--settings, .pb-ys--phone .pb-ys-head--bell.has-dot { width: 40px; height: 40px; border: 0; border-radius: 50%; box-shadow: none;
  background: var(--sheet) no-repeat calc(var(--rx) / (var(--sw) - var(--rw)) * 100%) calc(var(--ry) / (var(--sh) - var(--rh)) * 100%) / calc(var(--sw) / var(--rw) * 100%) calc(var(--sh) / var(--rh) * 100%); }
.pb-ys--phone .pb-ys-head--back .pb-ys-ico, .pb-ys--phone .pb-ys-head--search .pb-ys-ico, .pb-ys--phone .pb-ys-head--settings .pb-ys-ico, .pb-ys--phone .pb-ys-head--bell.has-dot .pb-ys-ico, .pb-ys--phone .pb-ys-head--bell.has-dot .pb-ys-head__dot { opacity: 0; }
.pb-ys--phone .pb-ys-head.is-on { filter: brightness(1.2); }
/* 2026-11-14 (user): the focus ring of the box to speak in is the box itself, round-ended, not a rectangle round the words. */
.pb-ys .pb-ys-input__field:focus-visible { outline: none; }
.pb-ys .pb-ys-input:focus-within { outline: 2px solid var(--ys-gold); outline-offset: 0; border-radius: 999px; }
/* 2026-11-14 (user): the sect's headquarters moved into the 议事堂's tabs — 宗门大厅, 职能部门; 公告 under 宗门动态. */
.pb-ys-tabs { overflow-x: auto; scrollbar-width: none; }
.pb-ys-tabs::-webkit-scrollbar { display: none; }
.pb-ys-hq { gap: calc(16 * var(--u)); }
.pb-ys-hq-stats { display: flex; align-items: center; gap: calc(22 * var(--u)); padding: calc(14 * var(--u)) calc(22 * var(--u)); }
.pb-ys-hq-stats .pb-emblem { width: calc(76 * var(--u)); height: calc(76 * var(--u)); min-width: 44px; min-height: 44px; color: var(--ys-gold); }
.pb-ys-hq-stats .pb-emblem svg { width: 100%; height: 100%; }
.pb-ys-hq-stats .pb-emblem b { font-size: max(20px, calc(30 * var(--u))); }
.pb-ys-hq-stats dl { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.pb-ys-hq-stats dl > div { display: grid; gap: calc(4 * var(--u)); padding: 0 calc(10 * var(--u)); text-align: center; border-left: 1px solid var(--ys-line); }
.pb-ys-hq-stats dl > div:first-child { border-left: 0; }
.pb-ys-hq-stats dt { color: var(--ys-faint); font-size: max(12px, calc(15 * var(--u))); }
.pb-ys-hq-stats dd { margin: 0; color: #f0d79f; font: 600 max(14px, calc(24 * var(--u))) / 1.25 var(--font-serif, serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-ys-hq-joined { flex: none; display: grid; justify-items: center; gap: 2px; padding: calc(8 * var(--u)) calc(22 * var(--u)); border: 1px solid rgb(233 201 135 / .6); border-radius: 999px;
  background: linear-gradient(180deg, rgb(120 88 36 / .55), rgb(70 50 20 / .55)); color: #fff1cf; font: 600 max(13px, calc(19 * var(--u))) / 1.2 var(--font-serif, serif); letter-spacing: .12em; }
.pb-ys-hq-joined small { color: var(--ys-soft); font: 400 max(11px, calc(13 * var(--u))) / 1 var(--font-sans, sans-serif); letter-spacing: .04em; }
.pb-ys-hq-halls { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: calc(12 * var(--u)); }
.pb-ys-hq-hall { display: grid; justify-items: center; align-content: start; gap: calc(6 * var(--u)); padding: calc(18 * var(--u)) calc(8 * var(--u)); border: 1px solid rgb(233 201 135 / .3); border-radius: calc(12 * var(--u));
  background: linear-gradient(180deg, rgb(28 38 58 / .85), rgb(12 19 33 / .85)); color: var(--ys-ink); cursor: pointer; text-align: center; transition: border-color .15s, transform .15s; }
.pb-ys-hq-hall:hover { border-color: rgb(233 201 135 / .8); transform: translateY(-1px); }
.pb-ys-hq-hall__mark { color: var(--ys-gold); line-height: 0; }
.pb-ys-hq-hall b { color: #f0d79f; font: 700 max(14px, calc(22 * var(--u))) / 1.3 var(--font-serif, serif); letter-spacing: .1em; }
.pb-ys-hq-hall small { color: var(--ys-soft); font-size: max(11px, calc(14 * var(--u))); letter-spacing: .12em; }
.pb-ys-mon { display: flex; align-items: center; gap: calc(16 * var(--u)); width: 100%; padding: calc(14 * var(--u)) calc(22 * var(--u)); border: 1px solid rgb(233 201 135 / .3); border-radius: calc(12 * var(--u));
  background: linear-gradient(90deg, rgb(40 44 52 / .92), rgb(22 26 34 / .92)); color: var(--ys-ink); cursor: pointer; text-align: left; }
.pb-ys-mon:hover { border-color: rgb(233 201 135 / .8); }
.pb-ys-mon__mark { flex: none; display: grid; place-items: center; width: calc(50 * var(--u)); height: calc(58 * var(--u)); min-width: 34px; min-height: 40px; border-radius: 22px 22px 4px 4px;
  background: linear-gradient(180deg, #4a4f58, #2a2e36); box-shadow: inset 0 0 0 1px rgb(233 201 135 / .35); color: #e3dccb; font: 700 max(17px, calc(24 * var(--u))) / 1 var(--font-serif, serif); }
.pb-ys-mon__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.pb-ys-mon__text b { color: #f0d79f; font: 700 max(15px, calc(21 * var(--u))) / 1.2 var(--font-serif, serif); letter-spacing: .14em; }
.pb-ys-mon__text small { color: var(--ys-soft); font-size: max(12px, calc(14 * var(--u))); letter-spacing: .16em; }
.pb-ys-mon > em { color: var(--ys-gold); font-style: normal; font-size: max(18px, calc(26 * var(--u))); }
.pb-ys-hq-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(180px, calc(240 * var(--u))), 1fr)); gap: calc(8 * var(--u)); margin-top: calc(10 * var(--u)); }
.pb-ys-hq-member { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid transparent; border-radius: 10px; background: rgb(255 255 255 / .03); color: var(--ys-ink); text-align: left; }
button.pb-ys-hq-member { cursor: pointer; }
button.pb-ys-hq-member:hover { border-color: rgb(233 201 135 / .4); }
.pb-ys-hq-member.is-me { border-color: rgb(233 201 135 / .35); }
.pb-ys-hq-member__who { display: grid; flex: 1; min-width: 0; }
.pb-ys-hq-member b { font-size: max(13px, calc(16 * var(--u))); font-weight: 600; }
.pb-ys-hq-member small, .pb-ys-hq-member em { color: var(--ys-faint); font-size: max(11px, calc(13 * var(--u))); font-style: normal; }
.pb-ys-hq-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(180px, calc(260 * var(--u))), 1fr)); gap: calc(12 * var(--u)); }
.pb-ys-hq-treasure { margin: 6px 0 0 !important; color: var(--ys-soft) !important; }
.pb-ys-hq-treasure b { color: #f0d79f; font: 700 max(18px, calc(26 * var(--u))) / 1.2 var(--font-serif, serif); }
.pb-ys-hq-quiet { color: var(--ys-faint) !important; font-size: max(12px, calc(14 * var(--u))) !important; }
.pb-ys-hq-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pb-ys-btn { color: var(--ys-ink); }
.pb-ys-btn:hover { border-color: rgb(233 201 135 / .7); }
.pb-ys-btn--gold { border-color: rgb(233 201 135 / .6); background: linear-gradient(180deg, #f1d38e, #c99a4c); color: #3a2709; }
.pb-ys-btn--warn { border-color: rgb(230 120 100 / .7); background: linear-gradient(180deg, #8a3a2c, #5a2219); color: #ffeae4; }
.pb-sectleave--dark p { color: var(--ys-soft); }
.pb-ys-note > b small { margin-left: auto; color: var(--ys-faint); font: 400 max(11px, calc(13 * var(--u))) / 1 var(--font-sans, sans-serif); }
/* 宗门大厅 on the phone: three halls a row, the four numbers two a row. */
.pb-ys--phone .pb-ys-hq-halls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pb-ys--phone .pb-ys-hq-hall { padding: 10px 4px; }
.pb-ys--phone .pb-ys-hq-stats { flex-wrap: wrap; gap: 10px; padding: 12px; }
.pb-ys--phone .pb-ys-hq-stats dl { flex-basis: 100%; order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
.pb-ys--phone .pb-ys-hq-stats dl > div:nth-child(3) { border-left: 0; }
.pb-ys--phone .pb-ys-hq-joined { margin-left: auto; }
.pb-ys--phone .pb-ys-tab { flex: none; }
.pb-ys-hq-hall em { color: var(--ys-faint); font-size: max(10px, calc(12 * var(--u))); font-style: normal; line-height: 1.4; }
.pb-ys-hq-hall em i { font-style: normal; }
.pb-ys--phone .pb-ys-hq-hall em span { display: block; }
.pb-ys--phone .pb-ys-hq-hall em i { display: none; }
/* 2026-11-14 三大堂口 (the user's document): 宗门大厅's three halls, each a picture in the user's gold frame. */
.pb-ys-hq-halls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(16 * var(--u)); }
.pb-ys-hq-hall { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: calc(16 * var(--u)); border: 0; border-radius: 0; background: none; text-align: center; transition: transform .15s, filter .15s; }
.pb-ys-hq-hall::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border: calc(40 * var(--u)) solid transparent; border-image: url(assets/sect-v1/01_gold_feature_card.svg) 60 fill / calc(40 * var(--u)) stretch; }
.pb-ys-hq-hall:hover { transform: translateY(-2px); filter: brightness(1.1); }
.pb-ys-hq-hall__art { display: block; height: calc(150 * var(--u)); min-height: 84px; border-radius: calc(8 * var(--u)); background: 50% 50% / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
.pb-ys-hq-hall--yishi .pb-ys-hq-hall__art { background-image: url(assets/yishi-hall.png); }
.pb-ys-hq-hall--cangjing .pb-ys-hq-hall__art { background-image: url(assets/dongfu-terrace.jpg); }
.pb-ys-hq-hall--waishi .pb-ys-hq-hall__art { background-image: url(assets/sect-gate-bg.png); background-position: 50% 35%; }
.pb-ys-hq-hall__text { display: grid; gap: calc(5 * var(--u)); padding: calc(6 * var(--u)) calc(10 * var(--u)) calc(12 * var(--u)); }
.pb-ys-hq-hall__text b { font-size: max(16px, calc(26 * var(--u))); }
.pb-ys-hq-hall__text small { letter-spacing: .06em; }
.pb-ys--phone .pb-ys-hq-halls { grid-template-columns: 1fr; gap: 8px; }
.pb-ys--phone .pb-ys-hq-hall { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; }
.pb-ys--phone .pb-ys-hq-hall__art { flex: none; width: 96px; height: 64px; min-height: 0; -webkit-mask-image: none; mask-image: none; }
.pb-ys--phone .pb-ys-hq-hall__text { padding: 0; }

/* The three halls' own pages: the 宗门 look (the user's frames and buttons), the parts under tabs. */
.pb-sv--tang { background-image: linear-gradient(rgb(6 12 16 / .58), rgb(6 12 16 / .58)), url(assets/sect-v1/recruit-bg.png); }
.pb-tg { position: relative; z-index: 1; display: grid; gap: calc(18 * var(--u)); width: min(calc(1320 * var(--u)), 100% - 24px); margin: calc(14 * var(--u)) auto calc(48 * var(--u)); font-family: var(--font-serif); }
.pb-tg-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(12 * var(--u)); }
.pb-tg-tabs button { min-width: calc(170 * var(--u)); height: max(40px, calc(54 * var(--u))); padding: 0 calc(24 * var(--u)); border: 1px solid rgb(236 217 168 / .45); border-radius: 999px; background: rgb(10 20 24 / .75); color: #dfe6e3; font-size: max(15px, calc(23 * var(--u))); letter-spacing: .12em; }
.pb-tg-tabs button:hover { border-color: var(--gold); }
.pb-tg-tabs button.is-on { border-color: #f3dda2; background: linear-gradient(180deg, #e9c983, #b98d45); color: #2e1f06; font-weight: 700; box-shadow: 0 0 calc(14 * var(--u)) rgb(240 196 110 / .45); }
.pb-tg-flash { justify-self: center; margin: 0; padding: 8px 18px; border: 1px solid rgb(127 214 192 / .55); border-radius: 999px; background: rgb(10 38 34 / .9); color: #d3f2ea; font-size: max(13px, calc(18 * var(--u))); }
.pb-tg-flash.is-bad { border-color: rgb(230 140 120 / .7); background: rgb(52 20 16 / .92); color: #ffd9cf; }
.pb-tg-panel { display: grid; align-content: start; gap: calc(14 * var(--u)); padding: max(26px, calc(46 * var(--u))) max(24px, calc(52 * var(--u))); }
.pb-tg-panel--gold { --frame: url(assets/sect-v1/05_form_panel_gold.svg); }
.pb-tg-h { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--gold-hi); font: 700 max(17px, calc(26 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .12em; }
.pb-tg-h__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; letter-spacing: 0; }
.pb-tg-h .pb-info__btn { color: #c3cfcc; border-color: rgb(255 255 255 / .35); }
.pb-tg-h .pb-info__tip { color: #e9eeec; font-weight: 400; letter-spacing: 0; }
.pb-tg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: calc(18 * var(--u)); align-items: start; }
@container (max-width: 760px) { .pb-tg-split { grid-template-columns: 1fr; } }
.pb-tg-pick { display: grid; gap: 10px; }
.pb-tg-pick__list { display: grid; gap: 6px; max-height: max(260px, calc(480 * var(--u))); overflow-y: auto; }
.pb-tg-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border: 1px solid var(--sv-line); border-radius: 10px; background: rgb(8 16 20 / .6); color: var(--sv-ink); text-align: left; }
.pb-tg-row--btn:hover { border-color: rgb(236 217 168 / .6); }
.pb-tg-row.is-on { border-color: var(--gold); background: rgb(60 46 20 / .55); }
.pb-tg-row__main { display: grid; flex: 1; min-width: 0; gap: 2px; }
.pb-tg-row__main b { font-size: max(14px, calc(19 * var(--u))); }
.pb-tg-row__main small { color: var(--sv-soft); font-size: max(12px, calc(15 * var(--u))); }
.pb-tg-rank { flex: none; color: var(--gold); font-size: max(12px, calc(16 * var(--u))); font-style: normal; }
.pb-tg-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pb-tg-kv div { padding: 8px 10px; border: 1px solid var(--sv-line); border-radius: 8px; background: rgb(8 16 20 / .5); }
.pb-tg-kv dt { color: var(--sv-soft); font-size: max(12px, calc(14 * var(--u))); }
.pb-tg-kv dd { margin: 2px 0 0; color: var(--gold-hi); font-size: max(14px, calc(19 * var(--u))); }
.pb-tg-field { display: grid; gap: 8px; }
.pb-tg-field__k { color: #fff; font: 700 max(14px, calc(19 * var(--u))) / 1.3 var(--font-serif); letter-spacing: .08em; }
.pb-tg-chips { flex-wrap: wrap; }
.pb-tg-duty { display: grid; gap: 4px; padding: 10px 14px; border-left: 2px solid var(--gold-lo); background: rgb(8 16 20 / .45); }
.pb-tg-duty p, .pb-tg-mine p { margin: 0; color: #dfe6e3; font-size: max(13px, calc(17 * var(--u))); line-height: 1.6; }
.pb-tg-duty b { color: var(--gold); }
.pb-tg-why { margin: 0; color: #f2b8a8; font-size: max(13px, calc(16 * var(--u))); }
.pb-tg-mine { display: grid; gap: 4px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--sv-line); }
.pb-tg-mine b { color: var(--gold); font-size: max(13px, calc(17 * var(--u))); }
.pb-tg-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pb-tg-big { width: auto; min-width: calc(200 * var(--u)); height: max(44px, calc(64 * var(--u))); font-size: max(15px, calc(23 * var(--u))); }
.pb-tg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border: 1px solid rgb(160 190 184 / .5); border-radius: 999px; background: rgb(255 255 255 / .05); color: #e3ebe8; font-size: max(13px, calc(17 * var(--u))); letter-spacing: .06em; white-space: nowrap; }
.pb-tg-btn:not(:disabled):hover { border-color: var(--gold); }
.pb-tg-btn--gold { border-color: rgb(243 221 162 / .8); background: linear-gradient(180deg, #e9c983, #b98d45); color: #2e1f06; font-weight: 700; }
.pb-tg-btn--warn { border-color: rgb(230 140 120 / .7); background: linear-gradient(180deg, #8a3a2c, #5a2219); color: #ffeae4; }
.pb-tg-btn:disabled, .pb-tg-link:disabled { opacity: .4; }
.pb-tg-link { padding: 4px 6px; border: 0; background: none; color: var(--jade); font-size: max(13px, calc(16 * var(--u))); }
.pb-tg-link:not(:disabled):hover { text-decoration: underline; }
.pb-tg-link.is-warn { color: #f2a898; }
.pb-tg-list { display: grid; gap: 10px; }
.pb-tg-item { display: grid; gap: 6px; padding: 12px 16px; border: 1px solid var(--sv-line); border-radius: 10px; background: rgb(8 16 20 / .6); }
.pb-tg-item.is-pinned { border-color: rgb(236 217 168 / .55); }
.pb-tg-item.is-off { opacity: .6; }
.pb-tg-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pb-tg-item header b { color: var(--gold-hi); font-size: max(15px, calc(21 * var(--u))); }
.pb-tg-item header small { color: var(--sv-soft); font-size: max(12px, calc(15 * var(--u))); }
.pb-tg-item > p { margin: 0; color: #dfe6e3; font-size: max(13px, calc(17 * var(--u))); line-height: 1.7; white-space: pre-line; }
.pb-tg-item footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pb-tg-item footer small { color: var(--sv-soft); font-size: max(12px, calc(14 * var(--u))); }
.pb-tg-item__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.pb-tg-pin { padding: 1px 10px; border: 1px solid rgb(236 217 168 / .65); border-radius: 999px; background: rgb(90 70 30 / .5); color: var(--gold-hi); font-size: max(11px, calc(14 * var(--u))); font-style: normal; }
.pb-tg-pin.is-soft { border-color: var(--sv-line); background: rgb(255 255 255 / .05); color: var(--sv-soft); }
.pb-tg-sect .pb-sv-seal { width: 34px; height: 34px; font-size: 18px; }
.pb-tg-quiet { margin: 0; color: var(--sv-soft); font-size: max(12px, calc(15 * var(--u))); }
.pb-tg-none { margin: 0; padding: 10px 0; color: var(--sv-soft); font-size: max(13px, calc(17 * var(--u))); }
.pb-tg-form { display: grid; gap: 12px; padding: 14px; border: 1px solid rgb(236 217 168 / .35); border-radius: 12px; background: rgb(8 16 20 / .55); }
.pb-tg-area { height: auto; padding-top: 10px; padding-bottom: 10px; resize: vertical; }
.pb-tg-switch { position: relative; margin: 0; padding: 0; border: 0; white-space: normal; }
.pb-tg-switch:has(input:focus-visible) i { outline: 2px solid var(--gold); outline-offset: 2px; }
.pb-tg-perms { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pb-tg-perms li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 12px; border: 1px solid var(--sv-line); border-radius: 8px; background: rgb(8 16 20 / .5); font-size: max(13px, calc(17 * var(--u))); }
.pb-tg-perms li.is-off { opacity: .6; }
.pb-tg-perms small { margin-left: auto; color: var(--sv-soft); font-size: max(12px, calc(14 * var(--u))); }
.pb-tg-rules { display: grid; gap: 8px; margin: 0; padding-left: 1.6em; color: var(--gold); }
.pb-tg-rules li { padding: 6px 0; border-bottom: 1px solid var(--sv-line); }
.pb-tg-rules li > span { color: #e7ede9; }
.pb-tg-rules__text { font-size: max(14px, calc(18 * var(--u))); line-height: 1.7; }
.pb-tg-rules__edit { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-tg-rules__edit .pb-sv-input { flex: 1; min-width: 180px; }
.pb-tg-rules .pb-tg-item__acts { margin-left: 0; }
.pb-tg-add { display: flex; gap: 8px; }
.pb-tg-add .pb-sv-input { flex: 1; min-width: 0; }
.pb-tg-say { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: baseline; padding: 8px 12px; border-radius: 8px; background: rgb(8 16 20 / .55); }
.pb-tg-say b { color: var(--gold); font-size: max(13px, calc(17 * var(--u))); }
.pb-tg-say p { margin: 0; color: #e3ebe8; font-size: max(13px, calc(17 * var(--u))); }
.pb-tg-say small { color: var(--sv-soft); font-size: 12px; }
.pb-tg-say .pb-tg-link { grid-column: 3; }
.pb-tg-say.is-me b { color: var(--jade); }
.pb-tg-jots { display: grid; gap: 6px; max-height: 240px; overflow-y: auto; }
.pb-tg-talk { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--sv-line); }
.pb-tg-talk > p { margin: 0; color: #dfe6e3; font-size: max(13px, calc(16 * var(--u))); }
.pb-tg-talk > p b { margin-right: 8px; color: var(--gold); }
.pb-tg-ask { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / .6); }
.pb-tg-ask__box { display: grid; gap: 12px; width: min(440px, 100%); padding: 22px 24px; border: 1px solid rgb(236 217 168 / .55); border-radius: 14px; background: #0f1a1f; box-shadow: 0 20px 60px rgb(0 0 0 / .6); color: var(--sv-ink); font-family: var(--font-serif); }
.pb-tg-ask__box > b { color: var(--gold-hi); font-size: 18px; line-height: 1.4; }
.pb-tg-ask__box > p { margin: 0; color: #d6dfdc; font-size: 14px; line-height: 1.7; }
.pb-tg-ask__box .pb-tg-acts { justify-content: flex-end; }

/* ---------- 执事堂 (2026-11-14, the user's 《执事堂四页面高保真 UI》 and four pictures, 1672 × 941) ----------
   The hall behind is the user's plain background; frames and buttons are pieces of the user's two sheets, cut in nine
   (.pb-zs-9: the corners kept, edges and middle stretched). On the website every size is n × --u, measured on the
   pictures; the picture's stage is centred in the window (--ox, --oy). */
.pb-zs {
  --u: min(calc(100vw / 1672), calc(100vh / 941));
  --zs-pnl: url(assets/zhishi-v1/sheet-panels.png); --zs-btn: url(assets/zhishi-v1/sheet-buttons.png);
  --zs-ink: #f0e7d3; --zs-soft: #c9c3b5; --zs-faint: #9aa3b2; --zs-gold: #e9c88a; --zs-gold-deep: #b8893f; --zs-red: #b8382c; --zs-warn: #ef9a86;
  --zs-serif: "Noto Serif SC", var(--font-serif, serif);
  --ox: calc((100vw - 1672 * var(--u)) / 2); --oy: calc((100vh - 941 * var(--u)) / 2);
  position: absolute; inset: 0; overflow: hidden; color: var(--zs-ink); font-family: var(--zs-serif); background: #0b1320;
}
:where(.pb-zs) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.pb-zs) button:disabled { cursor: default; }
.pb-zs :focus-visible { outline: 2px solid var(--zs-gold); outline-offset: 2px; }
.pb-zs-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(5 10 18 / .82), rgb(5 10 18 / .35) 16%, rgb(5 10 18 / 0) 30%), linear-gradient(180deg, rgb(5 9 16 / .45), rgb(5 9 16 / 0) 12%, rgb(5 9 16 / 0) 70%, rgb(5 9 16 / .5)),
    url(assets/zhishi-v1/bg.png) 50% 0 / cover no-repeat; }
.pb-zs--desk .pb-zs-scroll { display: contents; }
.pb-zs-ico { flex: none; width: 1em; height: 1em; }

/* nine-part frames */
.pb-zs-box { position: relative; isolation: isolate; box-sizing: border-box; }
.pb-zs-9 { position: absolute; inset: 0; z-index: -1; display: grid; pointer-events: none;
  grid-template-columns: var(--dx) minmax(0, 1fr) var(--dx); grid-template-rows: var(--dy) minmax(0, 1fr) var(--dy); }
.pb-zs-9 > i { display: block; background-image: var(--sheet); background-repeat: no-repeat;
  background-size: calc(1448 / var(--w) * 100%) calc(1086 / var(--hh) * 100%);
  background-position: calc(var(--x) / (1448 - var(--w)) * 100%) calc(var(--y) / (1086 - var(--hh)) * 100%); }
.pb-zs-9 > i:nth-child(3n+1) { --x: var(--rx); --w: var(--cx); }
.pb-zs-9 > i:nth-child(3n+2) { --x: calc(var(--rx) + var(--cx)); --w: calc(var(--rw) - 2 * var(--cx)); }
.pb-zs-9 > i:nth-child(3n) { --x: calc(var(--rx) + var(--rw) - var(--cx)); --w: var(--cx); }
.pb-zs-9 > i:nth-child(-n+3) { --y: var(--ry); --hh: var(--cy); }
.pb-zs-9 > i:nth-child(n+4):nth-child(-n+6) { --y: calc(var(--ry) + var(--cy)); --hh: calc(var(--rh) - 2 * var(--cy)); }
.pb-zs-9 > i:nth-child(n+7) { --y: calc(var(--ry) + var(--rh) - var(--cy)); --hh: var(--cy); }
.pb-zs-p--panel { --sheet: var(--zs-pnl); --rx: 17; --ry: 37; --rw: 994; --rh: 468; --cx: 64; --cy: 64; --dx: calc(40 * var(--u)); --dy: calc(40 * var(--u)); }
.pb-zs-p--card, .pb-zs-p--dialog, .pb-zs-p--tile { --sheet: var(--zs-pnl); --rx: 1041; --ry: 60; --rw: 391; --rh: 442; --cx: 56; --cy: 56; --dx: calc(34 * var(--u)); --dy: calc(34 * var(--u)); }
.pb-zs-p--tile { --dx: calc(26 * var(--u)); --dy: calc(26 * var(--u)); }
.pb-zs-p--bar { --sheet: var(--zs-pnl); --rx: 27; --ry: 547; --rw: 736; --rh: 90; --cx: 64; --cy: 40; --dx: calc(40 * var(--u)); --dy: calc(26 * var(--u)); }
.pb-zs-p--group { --sheet: var(--zs-pnl); --rx: 27; --ry: 547; --rw: 736; --rh: 90; --cx: 190; --cy: 40; --dx: calc(150 * var(--u)); --dy: calc(30 * var(--u)); }
.pb-zs-p--title { --sheet: var(--zs-pnl); --rx: 175; --ry: 656; --rw: 421; --rh: 76; --cx: 60; --cy: 36; --dx: calc(42 * var(--u)); --dy: calc(26 * var(--u)); }
.pb-zs-p--row, .pb-zs-check--row, .pb-zs-nav__item { --sheet: var(--zs-pnl); --rx: 1136; --ry: 561; --rw: 291; --rh: 77; --cx: 40; --cy: 37; --dx: calc(26 * var(--u)); --dy: calc(22 * var(--u)); }
.pb-zs-p--rowon, .pb-zs-nav__item.is-on { --sheet: var(--zs-btn); --rx: 45; --ry: 483; --rw: 844; --rh: 126; --cx: 92; --cy: 62; --dx: calc(40 * var(--u)); --dy: calc(28 * var(--u)); }
.pb-zs-p--gold { --sheet: var(--zs-btn); --rx: 53; --ry: 73; --rw: 787; --rh: 171; --cx: 92; --cy: 84; --dx: calc(28 * var(--u)); --dy: calc(26 * var(--u)); }
.pb-zs-p--small, .pb-zs-p--chap { --sheet: var(--zs-btn); --rx: 57; --ry: 814; --rw: 304; --rh: 87; --cx: 44; --cy: 42; --dx: calc(22 * var(--u)); --dy: calc(21 * var(--u)); }
.pb-zs-p--dark { --sheet: var(--zs-btn); --rx: 50; --ry: 292; --rw: 720; --rh: 146; --cx: 100; --cy: 72; --dx: calc(34 * var(--u)); --dy: calc(24 * var(--u)); }
.pb-zs-p--tabon, .pb-zs-p--lead { --sheet: var(--zs-btn); --rx: 50; --ry: 643; --rw: 393; --rh: 117; --cx: 64; --cy: 57; --dx: calc(30 * var(--u)); --dy: calc(27 * var(--u)); }
.pb-zs-p--lead { --dx: calc(44 * var(--u)); --dy: calc(47 * var(--u)); }
.pb-zs-p--tab { --sheet: var(--zs-btn); --rx: 479; --ry: 648; --rw: 387; --rh: 105; --cx: 60; --cy: 51; --dx: calc(28 * var(--u)); --dy: calc(26 * var(--u)); }
.pb-zs-p--vice { --sheet: var(--zs-btn); --rx: 1149; --ry: 949; --rw: 238; --rh: 90; --cx: 62; --cy: 44; --dx: calc(46 * var(--u)); --dy: calc(40 * var(--u)); }
.pb-zs-p--elder { --sheet: var(--zs-btn); --rx: 696; --ry: 946; --rw: 417; --rh: 99; --cx: 80; --cy: 48; --dx: calc(52 * var(--u)); --dy: calc(46 * var(--u)); }
.pb-zs-btn:disabled { --sheet: var(--zs-btn); --rx: 1089; --ry: 814; --rw: 304; --rh: 85; --cx: 44; --cy: 41; --dx: calc(22 * var(--u)); --dy: calc(21 * var(--u)); color: #8d939c !important; }

/* buttons */
.pb-zs-btn { display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); min-height: calc(44 * var(--u)); padding: 0 calc(24 * var(--u));
  font-size: calc(18 * var(--u)); letter-spacing: .08em; color: var(--zs-ink); white-space: nowrap; transition: filter .15s; }
.pb-zs-btn .pb-zs-ico { font-size: calc(20 * var(--u)); }
.pb-zs-btn:not(:disabled):hover { filter: brightness(1.15); }
.pb-zs-p--gold { min-height: calc(52 * var(--u)); padding: 0 calc(34 * var(--u)); font-size: calc(21 * var(--u)); font-weight: 700; color: #2c1d08; }
.pb-zs-p--gold .pb-zs-ico { font-size: calc(24 * var(--u)); }
.pb-zs-btn--mid { min-height: calc(46 * var(--u)); font-size: calc(19 * var(--u)); padding: 0 calc(26 * var(--u)); }
.pb-zs-btn--mini { min-height: calc(36 * var(--u)); padding: 0 calc(16 * var(--u)); font-size: calc(16 * var(--u)); }
.pb-zs-btn--mini .pb-zs-ico { font-size: calc(17 * var(--u)); }
.pb-zs-btn.is-warn { color: var(--zs-warn); }
.pb-zs-acts { display: flex; flex-wrap: wrap; align-items: center; gap: calc(14 * var(--u)); }

/* the frame: back, title, sect, the four on the left */
.pb-zs-back { position: absolute; z-index: 3; left: calc(var(--ox) + 26 * var(--u)); top: calc(var(--oy) + 12 * var(--u)); display: flex; align-items: center; gap: calc(16 * var(--u));
  height: calc(50 * var(--u)); font-size: calc(28 * var(--u)); font-weight: 700; letter-spacing: .1em; color: #efe3c6; text-shadow: 0 2px 6px rgb(0 0 0 / .6); }
.pb-zs-back .pb-zs-ico { font-size: calc(40 * var(--u)); }
.pb-zs-back:hover { color: var(--zs-gold); }
.pb-zs-title { position: absolute; z-index: 2; left: calc(var(--ox) + 470 * var(--u)); width: calc(820 * var(--u)); top: calc(var(--oy) + 4 * var(--u)); text-align: center; pointer-events: none; }
.pb-zs-title h1 { position: relative; display: inline-block; margin: 0; font-size: calc(62 * var(--u)); line-height: 1.25; font-weight: 900; letter-spacing: .16em; padding-left: .16em;
  background: linear-gradient(180deg, #fff6df 10%, #e9c98d 55%, #b98a44 95%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .7)); }
.pb-zs-seal { position: absolute; left: 100%; top: calc(14 * var(--u)); width: calc(22 * var(--u)); padding: calc(3 * var(--u)) 0; border-radius: calc(3 * var(--u)); background: var(--zs-red);
  color: #f6dfc6; -webkit-text-fill-color: #f6dfc6; font-size: calc(13 * var(--u)); line-height: 1.2; letter-spacing: 0; font-weight: 700; text-align: center; box-shadow: 0 0 0 1px rgb(0 0 0 / .25); }
.pb-zs-title p { margin: calc(2 * var(--u)) 0 0; font-size: calc(23 * var(--u)); letter-spacing: .2em; color: #efe4c9; text-shadow: 0 2px 6px rgb(0 0 0 / .8); }
.pb-zs-title p::before, .pb-zs-title p::after { content: ''; display: inline-block; vertical-align: middle; width: calc(56 * var(--u)); height: 1px; margin: 0 calc(10 * var(--u)); background: linear-gradient(90deg, transparent, var(--zs-gold)); }
.pb-zs-title p::after { background: linear-gradient(90deg, var(--zs-gold), transparent); }
.pb-zs-sect { position: absolute; z-index: 3; right: calc(var(--ox) + 16 * var(--u)); top: calc(var(--oy) + 14 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); }
.pb-zs-sect__name { display: flex; align-items: center; gap: calc(10 * var(--u)); height: calc(42 * var(--u)); padding: 0 calc(20 * var(--u)) 0 calc(4 * var(--u)); border-radius: 999px;
  background: rgb(8 14 24 / .72); box-shadow: inset 0 0 0 1px rgb(233 200 138 / .35); font-size: calc(20 * var(--u)); font-weight: 700; letter-spacing: .08em; }
.pb-zs-sect__mark { display: grid; place-items: center; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%; border: 1px solid var(--zs-gold); color: var(--zs-gold); font-size: calc(17 * var(--u)); }
.pb-zs-help { position: relative; }
.pb-zs-help__btn { display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; border: 1.5px solid #e7dcc4 !important; font-size: calc(22 * var(--u)); font-family: var(--font-sans, sans-serif); }
.pb-zs-help__tip { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, 80vw); padding: 12px 14px; border-radius: 8px; background: #0e1828; box-shadow: 0 0 0 1px rgb(233 200 138 / .4), 0 10px 30px rgb(0 0 0 / .5);
  font-family: var(--font-sans, sans-serif); font-size: 13px; line-height: 1.6; color: var(--zs-soft); z-index: 9; }
.pb-zs-nav { position: absolute; z-index: 2; left: calc(var(--ox) + 12 * var(--u)); top: calc(var(--oy) + 128 * var(--u)); display: grid; gap: calc(16 * var(--u)); width: calc(214 * var(--u)); }
.pb-zs-nav__item { position: relative; isolation: isolate; display: flex; align-items: center; gap: calc(16 * var(--u)); height: calc(58 * var(--u)); padding-left: calc(30 * var(--u));
  font-size: calc(25 * var(--u)); font-weight: 700; letter-spacing: .12em; color: #e9e2d2; text-align: left; transition: color .15s; }
.pb-zs-nav__item .pb-zs-ico { font-size: calc(32 * var(--u)); color: #e3d6b8; }
.pb-zs-nav__item:not(.is-on):hover { color: #fff; text-shadow: 0 0 10px rgb(233 200 138 / .45); }
.pb-zs-nav__item.is-on { color: #fff3da; }
.pb-zs-nav__item.is-on .pb-zs-ico { color: var(--zs-gold); }
.pb-zs-main { position: absolute; z-index: 1; left: calc(var(--ox) + 240 * var(--u)); width: calc(1416 * var(--u)); top: calc(var(--oy) + 168 * var(--u)); height: calc(726 * var(--u)); }
.pb-zs--appoint .pb-zs-main { left: calc(var(--ox) + 250 * var(--u)); width: calc(1406 * var(--u)); top: calc(var(--oy) + 256 * var(--u)); height: calc(638 * var(--u)); }
.pb-zs--rules .pb-zs-main { left: calc(var(--ox) + 232 * var(--u)); width: calc(1428 * var(--u)); top: calc(var(--oy) + 138 * var(--u)); height: calc(758 * var(--u)); }

/* shared parts */
.pb-zs-h { display: flex; align-items: center; gap: calc(12 * var(--u)); min-height: calc(44 * var(--u)); color: var(--zs-ink); }
.pb-zs-h > .pb-zs-ico { font-size: calc(28 * var(--u)); color: var(--zs-gold); }
.pb-zs-h h2 { margin: 0; font-size: calc(28 * var(--u)); font-weight: 700; letter-spacing: .1em; }
.pb-zs-h__tools { margin-left: auto; display: flex; align-items: center; gap: calc(10 * var(--u)); }
.pb-zs-h__note { font-size: calc(17 * var(--u)); color: var(--zs-soft); letter-spacing: .06em; }
.pb-zs-none { margin: 0; color: var(--zs-faint); font-size: calc(17 * var(--u)); text-align: center; padding: calc(14 * var(--u)) 0; }
.pb-zs-none--big { font-size: calc(22 * var(--u)); padding: calc(60 * var(--u)) 0; }
.pb-zs-dot { display: inline-block; width: calc(9 * var(--u)); height: calc(9 * var(--u)); margin-left: calc(6 * var(--u)); border-radius: 50%; background: #e2463a; vertical-align: middle; }
.pb-zs-rule { display: block; height: 1px; margin: calc(14 * var(--u)) 0; background: linear-gradient(90deg, transparent, rgb(233 200 138 / .7) 8%, rgb(233 200 138 / .7) 92%, transparent); position: relative; }
.pb-zs-rule::before, .pb-zs-rule::after { content: '◆'; position: absolute; top: 50%; transform: translateY(-52%); font-size: calc(10 * var(--u)); color: var(--zs-gold); font-style: normal; }
.pb-zs-rule::before { left: 1%; } .pb-zs-rule::after { right: 1%; }
.pb-zs-flash { position: absolute; z-index: 30; left: 50%; top: calc(var(--oy) + 120 * var(--u)); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 20px; border-radius: 999px;
  background: rgb(10 24 20 / .94); box-shadow: 0 0 0 1px rgb(120 200 140 / .5), 0 8px 24px rgb(0 0 0 / .45); color: #cfeed4; font-size: 15px; font-family: var(--font-sans, sans-serif); max-width: 90vw; }
.pb-zs-flash .pb-zs-ico { color: #7ed58f; font-size: 18px; }
.pb-zs-flash.is-bad { background: rgb(36 12 12 / .94); box-shadow: 0 0 0 1px rgb(239 154 134 / .55), 0 8px 24px rgb(0 0 0 / .45); color: #f6d3c9; }
.pb-zs-flash.is-bad .pb-zs-ico { color: var(--zs-warn); }

/* dialogs */
.pb-zs-veil { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgb(3 6 12 / .62); }
.pb-zs-veil--ask { z-index: 25; }
.pb-zs-dialog { width: min(560px, 100%); max-height: calc(100% - 32px); display: flex; flex-direction: column; padding: 26px 30px 28px; --u: 1px; font-size: 16px; }
.pb-zs-dialog--wide { width: min(860px, 100%); }
.pb-zs-dialog--ask { width: min(460px, 100%); gap: 12px; }
.pb-zs-dialog--ask p { margin: 0; color: var(--zs-soft); line-height: 1.7; }
.pb-zs-dialog--ask .pb-zs-acts { justify-content: flex-end; margin-top: 8px; }
.pb-zs-dialog__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pb-zs-dialog__title { font-size: 22px; font-weight: 700; letter-spacing: .08em; color: var(--zs-gold); }
.pb-zs-x { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; color: var(--zs-soft); }
.pb-zs-x:hover { color: #fff; background: rgb(255 255 255 / .06); }
.pb-zs-dialog__body { overflow: auto; min-height: 0; padding-right: 4px; }
.pb-zs-duty { margin: 0 0 12px; color: var(--zs-soft); line-height: 1.7; font-size: 15px; }
.pb-zs-duty b { color: var(--zs-gold); font-weight: 700; }
.pb-zs-why { margin: 8px 0 0; color: var(--zs-warn); font-size: 14px; }
.pb-zs-fine { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--zs-faint); font-size: 13px; line-height: 1.6; }
.pb-zs-fine .pb-zs-ico { font-size: 16px; margin-top: 2px; }
.pb-zs-holders { display: grid; gap: 10px; }
.pb-zs-holder { display: flex; align-items: center; gap: 14px; padding: 12px 18px; --u: 1px; }
.pb-zs-holder__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pb-zs-holder__main b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-holder__main small { color: var(--zs-faint); font-size: 13px; font-family: var(--font-sans, sans-serif); }
.pb-zs-holder .pb-zs-acts { gap: 8px; }
.pb-zs-holder .pb-zs-btn { font-size: 14px; min-height: 36px; padding: 0 14px; }
.pb-zs-manage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; min-height: 0; }
.pb-zs-pick { display: grid; gap: 10px; align-content: start; }
.pb-zs-pick__list { display: grid; gap: 6px; max-height: 380px; overflow: auto; }
.pb-zs-pick__row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; text-align: left; box-shadow: inset 0 0 0 1px rgb(170 188 214 / .18); }
.pb-zs-pick__row:hover { background: rgb(255 255 255 / .04); }
.pb-zs-pick__row.is-on { box-shadow: inset 0 0 0 1.5px var(--zs-gold), 0 0 14px rgb(233 200 138 / .25); background: rgb(233 200 138 / .07); }
.pb-zs-pick__row em { font-style: normal; font-size: 13px; color: var(--zs-gold); white-space: nowrap; }
.pb-zs-manage__empty { align-self: center; }
.pb-zs-form { display: grid; gap: 14px; }
.pb-zs-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pb-zs-kv div { padding: 8px 12px; border-radius: 8px; background: rgb(255 255 255 / .04); }
.pb-zs-kv dt { font-size: 12px; color: var(--zs-faint); font-family: var(--font-sans, sans-serif); }
.pb-zs-kv dd { margin: 2px 0 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-field { display: grid; gap: 6px; }
.pb-zs-field__k { font-size: 14px; color: var(--zs-soft); letter-spacing: .06em; }
.pb-zs-input { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 8px; border: 1px solid rgb(233 200 138 / .35); background: rgb(4 9 17 / .7); color: var(--zs-ink);
  font: inherit; font-size: 15px; outline: none; }
.pb-zs-input:focus { border-color: var(--zs-gold); box-shadow: 0 0 0 3px rgb(233 200 138 / .18); }
.pb-zs-input::placeholder { color: #7d8594; }
.pb-zs-area { resize: vertical; line-height: 1.7; }
.pb-zs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-zs-chip { min-height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(233 200 138 / .35); font-size: 15px; }
.pb-zs-chip:hover { background: rgb(233 200 138 / .08); }
.pb-zs-chip[aria-pressed="true"], .pb-zs-chip[aria-checked="true"] { color: #2c1d08; background: linear-gradient(180deg, #f6dfa6, #d4a75b); box-shadow: 0 0 12px rgb(233 200 138 / .35); }
.pb-zs-check { position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.pb-zs-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-zs-check > i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgb(233 200 138 / .6); color: transparent; font-size: 16px; }
.pb-zs-check input:checked + i { background: linear-gradient(180deg, #e9c98d, #b8893f); color: #1d1406; box-shadow: none; }
.pb-zs-check input:focus-visible + i { outline: 2px solid var(--zs-gold); outline-offset: 2px; }
.pb-zs-check.is-off { opacity: .55; cursor: default; }
.pb-zs-check small { margin-left: auto; color: var(--zs-faint); font-size: 12px; font-family: var(--font-sans, sans-serif); }
.pb-zs-glist { display: grid; gap: 12px; }
.pb-zs-gset { margin: 0; padding: 10px 14px 12px; border: 1px solid rgb(233 200 138 / .22); border-radius: 10px; display: grid; gap: 8px; }
.pb-zs-gset legend { padding: 0 6px; color: var(--zs-gold); font-size: 15px; letter-spacing: .08em; }

/* 职位任命 */
.pb-zs-grid { display: grid; grid-template-columns: calc(858 * var(--u)) calc(526 * var(--u)); gap: calc(22 * var(--u)); height: 100%; }
.pb-zs-tree { height: 100%; padding: calc(16 * var(--u)) calc(26 * var(--u)); }
.pb-zs-org { position: absolute; inset: 0; pointer-events: none; }
.pb-zs-org > * { pointer-events: auto; }
.pb-zs-org__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pb-zs-org__lines path { stroke: #e2bf7c; stroke-width: 1.6; fill: none; filter: drop-shadow(0 0 3px rgb(233 200 138 / .6)); }
.pb-zs-org__row { position: absolute; left: 0; right: 0; display: flex; justify-content: center; }
.pb-zs-org__row--lead { top: calc(87 * var(--u)); }
.pb-zs-org__row--vice { top: calc(242 * var(--u)); gap: calc(117 * var(--u)); }
.pb-zs-org__row--elder { top: calc(397 * var(--u)); gap: calc(28 * var(--u)); }
.pb-zs-crest { position: absolute; left: 50%; top: calc(-46 * var(--u)); width: calc(150 * var(--u)); height: calc(50 * var(--u)); transform: translateX(-50%); pointer-events: none;
  background: var(--zs-pnl) no-repeat; background-size: calc(1448 / 160 * 100%) calc(1086 / 54 * 100%); background-position: calc(305 / (1448 - 160) * 100%) calc(738 / (1086 - 54) * 100%); }
.pb-zs-node { display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u)); text-align: left; color: var(--zs-ink); }
button.pb-zs-node:hover { filter: brightness(1.18); }
.pb-zs-node--lead { width: calc(318 * var(--u)); height: calc(96 * var(--u)); }
.pb-zs-node--vice { width: calc(246 * var(--u)); height: calc(82 * var(--u)); }
.pb-zs-node--elder { width: calc(248 * var(--u)); height: calc(96 * var(--u)); flex-direction: column; gap: calc(2 * var(--u)); padding-top: calc(14 * var(--u)); text-align: center; }
.pb-zs-node__face { flex: none; display: grid; border-radius: 50%; box-shadow: 0 0 0 calc(2 * var(--u)) #e3c27f, 0 0 12px rgb(233 200 138 / .5); }
.pb-zs-node__text { display: grid; min-width: 0; max-width: calc(170 * var(--u)); }
.pb-zs-node--elder .pb-zs-node__text { max-width: calc(200 * var(--u)); }
.pb-zs-node__text b { font-size: calc(26 * var(--u)); font-weight: 700; letter-spacing: .1em; color: #f8ecd1; }
.pb-zs-node--lead .pb-zs-node__text b { font-size: calc(30 * var(--u)); color: #fff1cf; }
.pb-zs-node__text small { font-size: calc(21 * var(--u)); letter-spacing: .08em; color: #e9e2d2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-node__text small.is-empty { color: var(--zs-faint); }
.pb-zs-node.is-empty { opacity: .82; }
.pb-zs-node__badge { position: absolute; left: 50%; top: calc(-28 * var(--u)); transform: translateX(-50%); display: grid; place-items: center; width: calc(50 * var(--u)); height: calc(50 * var(--u));
  background: var(--zs-btn) no-repeat; background-size: calc(1448 / 138 * 100%) calc(1086 / 137 * 100%); background-position: calc(1091 / (1448 - 138) * 100%) calc(626 / (1086 - 137) * 100%); color: var(--zs-gold); }
.pb-zs-node__badge .pb-zs-ico { font-size: calc(26 * var(--u)); }
.pb-zs-count { position: absolute; left: calc(28 * var(--u)); right: calc(22 * var(--u)); bottom: calc(30 * var(--u)); height: calc(60 * var(--u)); display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.pb-zs-count > span { display: flex; align-items: center; justify-content: center; gap: calc(12 * var(--u)); font-size: calc(20 * var(--u)); letter-spacing: .06em; color: var(--zs-ink); }
.pb-zs-count > span + span { border-left: 1px solid rgb(233 200 138 / .4); }
.pb-zs-count .pb-zs-ico { font-size: calc(26 * var(--u)); color: #d9cba9; }
.pb-zs-count b { font-weight: 500; margin-left: calc(10 * var(--u)); }
.pb-zs-side { display: grid; grid-template-rows: calc(194 * var(--u)) calc(212 * var(--u)) minmax(0, 1fr); gap: calc(16 * var(--u)); min-height: 0; }
.pb-zs-card { padding: calc(14 * var(--u)) calc(22 * var(--u)); display: flex; flex-direction: column; gap: calc(10 * var(--u)); min-height: 0; }
.pb-zs-card .pb-zs-h h2 { font-size: calc(26 * var(--u)); }
.pb-zs-todo__row { display: flex; align-items: center; gap: calc(14 * var(--u)); height: calc(42 * var(--u)); padding: 0 calc(22 * var(--u)); font-size: calc(19 * var(--u)); letter-spacing: .06em; text-align: left; }
.pb-zs-todo__row > span { flex: 1; }
.pb-zs-todo__row > .pb-zs-ico:first-child { font-size: calc(24 * var(--u)); color: #d9cba9; }
.pb-zs-todo__row b { font-weight: 500; font-size: calc(19 * var(--u)); }
.pb-zs-todo__row:hover { filter: brightness(1.15); }
.pb-zs-peek__card { display: flex; gap: calc(14 * var(--u)); align-items: stretch; height: calc(118 * var(--u)); padding: calc(6 * var(--u)); border-radius: calc(6 * var(--u)); text-align: left; overflow: hidden;
  background: linear-gradient(90deg, rgb(208 220 232 / .92), rgb(226 232 238 / .96)); color: #1e2836; box-shadow: 0 0 0 1px rgb(233 200 138 / .55); }
.pb-zs-peek__card img { flex: none; width: calc(118 * var(--u)); object-fit: cover; border-radius: calc(4 * var(--u)); }
.pb-zs-peek__card:hover { box-shadow: 0 0 0 1.5px var(--zs-gold), 0 0 14px rgb(233 200 138 / .4); }
.pb-zs-peek__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(4 * var(--u)); padding: calc(4 * var(--u)) calc(8 * var(--u)) 0 0; }
.pb-zs-peek__text b { font-size: calc(19 * var(--u)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-peek__text small { font-size: calc(15 * var(--u)); color: #3a4656; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-peek__text time { margin-top: auto; align-self: flex-end; font-size: calc(15 * var(--u)); color: #3a4656; font-family: var(--font-sans, sans-serif); }
.pb-zs-pinned { align-self: flex-start; font-style: normal; font-size: calc(13 * var(--u)); padding: 0 calc(8 * var(--u)); border-radius: calc(4 * var(--u)); background: #c6873a; color: #fff6e0; }
.pb-zs-dots { display: flex; justify-content: center; gap: calc(10 * var(--u)); }
.pb-zs-dots button { width: calc(14 * var(--u)); height: calc(14 * var(--u)); display: grid; place-items: center; }
.pb-zs-dots button::before { content: ''; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: rgb(220 214 200 / .35); }
.pb-zs-dots button.is-on::before { background: #f3ead6; }
.pb-zs-tiles { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: calc(26 * var(--u)); padding: calc(4 * var(--u)) calc(10 * var(--u)) calc(6 * var(--u)); min-height: 0; }
.pb-zs-p--tile.pb-zs-btn { flex-direction: column; gap: calc(8 * var(--u)); font-size: calc(23 * var(--u)); font-weight: 700; letter-spacing: .1em; height: 100%;
  background: radial-gradient(ellipse at 50% 30%, rgb(233 200 138 / .12), transparent 70%); }
.pb-zs-p--tile .pb-zs-ico { font-size: calc(40 * var(--u)); color: var(--zs-gold); }

/* 宗门公告 */
.pb-zs-nwrap { height: 100%; }
.pb-zs-nlist { position: absolute; left: calc(16 * var(--u)); top: calc(20 * var(--u)); width: calc(530 * var(--u)); bottom: calc(26 * var(--u)); display: flex; flex-direction: column; }
.pb-zs-kinds { display: flex; gap: calc(4 * var(--u)); margin-left: calc(10 * var(--u)); }
.pb-zs-kinds .pb-zs-btn { width: calc(168 * var(--u)); height: calc(58 * var(--u)); font-size: calc(21 * var(--u)); letter-spacing: .1em; }
.pb-zs-p--tab.pb-zs-btn { color: #e2dccd; }
.pb-zs-nitems { list-style: none; margin: calc(22 * var(--u)) 0 0; padding: 0; display: grid; gap: calc(10 * var(--u)); }
.pb-zs-nitem { display: flex; align-items: center; gap: calc(18 * var(--u)); width: 100%; height: calc(82 * var(--u)); padding: 0 calc(22 * var(--u)) 0 calc(24 * var(--u)); text-align: left; font-size: calc(19 * var(--u)); letter-spacing: .05em; }
.pb-zs-nitem > .pb-zs-ico { font-size: calc(28 * var(--u)); color: #d9cba9; }
.pb-zs-nitem b { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-nitem time { font-size: calc(16 * var(--u)); color: #d6d0c2; font-family: "Times New Roman", var(--zs-serif); }
.pb-zs-nitem:not(.is-on):hover { filter: brightness(1.2); }
.pb-zs-pinmark { display: inline-flex; vertical-align: -.1em; margin-right: calc(6 * var(--u)); color: var(--zs-gold); }
.pb-zs-kind { flex: none; display: inline-grid; place-items: center; min-width: calc(56 * var(--u)); height: calc(30 * var(--u)); padding: 0 calc(8 * var(--u)); border-radius: calc(5 * var(--u)); font-style: normal;
  font-size: calc(17 * var(--u)); letter-spacing: .12em; }
.pb-zs-kind--high { background: linear-gradient(180deg, #c8443a, #9e2a22); color: #fbe8d4; box-shadow: inset 0 0 0 1px rgb(255 200 160 / .35); }
.pb-zs-kind--daily { background: rgb(150 162 180 / .28); color: #e3e6ea; box-shadow: inset 0 0 0 1px rgb(200 210 225 / .25); }
.pb-zs-pager { align-self: center; margin-top: auto; display: flex; align-items: center; justify-content: space-between; width: calc(250 * var(--u)); height: calc(48 * var(--u)); padding: 0 calc(16 * var(--u)); font-size: calc(18 * var(--u)); font-family: "Times New Roman", var(--zs-serif); }
.pb-zs-pager button { display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(40 * var(--u)); font-size: calc(24 * var(--u)); }
.pb-zs-pager button:disabled { opacity: .35; }
.pb-zs-publish { position: absolute; right: calc(30 * var(--u)); top: calc(22 * var(--u)); width: calc(220 * var(--u)); height: calc(56 * var(--u)); font-size: calc(23 * var(--u)) !important; }
.pb-zs-ndetail { position: absolute; left: calc(568 * var(--u)); top: calc(98 * var(--u)); width: calc(832 * var(--u)); bottom: calc(14 * var(--u)); display: flex; flex-direction: column; padding: calc(4 * var(--u)) calc(4 * var(--u)) calc(22 * var(--u)); }
.pb-zs-ndetail__art { position: relative; flex: none; height: calc(196 * var(--u)); border-radius: calc(16 * var(--u)) calc(16 * var(--u)) 0 0; overflow: hidden; }
.pb-zs-ndetail__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.pb-zs-ndetail__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(14 24 38 / .92)); }
.pb-zs-ndetail h3 { position: absolute; z-index: 1; left: calc(22 * var(--u)); right: calc(22 * var(--u)); bottom: calc(6 * var(--u)); display: flex; align-items: center; gap: calc(16 * var(--u)); margin: 0;
  font-size: calc(34 * var(--u)); font-weight: 700; letter-spacing: .06em; color: #fff6e3; text-shadow: 0 2px 8px rgb(0 0 0 / .8); }
.pb-zs-ndetail h3 .pb-zs-kind { font-size: calc(20 * var(--u)); height: calc(36 * var(--u)); min-width: calc(72 * var(--u)); }
.pb-zs-meta { display: flex; flex-wrap: wrap; gap: calc(14 * var(--u)) calc(30 * var(--u)); margin: calc(14 * var(--u)) calc(36 * var(--u)) 0; font-size: calc(17 * var(--u)); color: #e3dccd; letter-spacing: .04em; }
.pb-zs-meta span { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); }
.pb-zs-meta span + span { padding-left: calc(30 * var(--u)); border-left: 1px solid rgb(233 200 138 / .35); }
.pb-zs-meta .pb-zs-ico { font-size: calc(22 * var(--u)); color: #d9cba9; margin-right: calc(4 * var(--u)); }
.pb-zs-ndetail .pb-zs-rule { margin: calc(14 * var(--u)) calc(26 * var(--u)); }
.pb-zs-ndetail__body { flex: 1; min-height: 0; overflow: auto; padding: 0 calc(36 * var(--u)); font-size: calc(20 * var(--u)); line-height: 2.05; letter-spacing: .05em; color: #efe8d8; outline: none; }
.pb-zs-ndetail__body p { margin: 0 0 calc(4 * var(--u)); }
.pb-zs-ndetail__acts { justify-content: flex-end; padding: calc(10 * var(--u)) calc(22 * var(--u)) 0; }
.pb-zs-ndetail__acts .pb-zs-btn { width: calc(136 * var(--u)); min-height: calc(48 * var(--u)); font-size: calc(19 * var(--u)); }
.pb-zs-ndetail.is-empty { display: grid; place-items: center; }

/* 宗规管理 */
.pb-zs-rules { position: absolute; inset: 0; }
.pb-zs-toc { position: absolute; left: 0; top: 0; width: calc(406 * var(--u)); height: calc(684 * var(--u)); padding: calc(26 * var(--u)) calc(18 * var(--u)) calc(20 * var(--u)); display: flex; flex-direction: column; }
.pb-zs-toc__head { display: flex; align-items: baseline; gap: calc(12 * var(--u)); padding: 0 calc(22 * var(--u)) calc(14 * var(--u)); }
.pb-zs-toc__head h2 { margin: 0; font-size: calc(30 * var(--u)); font-weight: 700; letter-spacing: .14em; }
.pb-zs-toc__head small { margin-left: auto; font-size: calc(17 * var(--u)); color: var(--zs-soft); letter-spacing: .05em; }
.pb-zs-toc__list { list-style: none; margin: 0; padding: 0; overflow: auto; min-height: 0; display: grid; gap: calc(6 * var(--u)); align-content: start; }
.pb-zs-chap { display: flex; align-items: center; gap: calc(14 * var(--u)); width: 100%; height: calc(46 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(28 * var(--u)); font-size: calc(19 * var(--u)); letter-spacing: .08em; text-align: left; }
.pb-zs-chap.is-on { height: calc(50 * var(--u)); }
.pb-zs-chap__no { flex: none; }
.pb-zs-chap b { flex: 1; min-width: 0; font-weight: 500; padding-left: calc(18 * var(--u)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-chap small { font-size: calc(17 * var(--u)); color: var(--zs-soft); }
.pb-zs-chap .pb-zs-ico { font-size: calc(20 * var(--u)); }
.pb-zs-chap:not(.is-on):hover { filter: brightness(1.2); }
.pb-zs-toc__items { list-style: none; margin: calc(4 * var(--u)) 0 calc(6 * var(--u)); padding: 0; }
.pb-zs-toc__items button { display: flex; align-items: center; gap: calc(12 * var(--u)); width: 100%; height: calc(32 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(34 * var(--u)); text-align: left; font-size: calc(17 * var(--u)); color: #dcd6c8; border-radius: calc(4 * var(--u)); }
.pb-zs-toc__items button:hover { background: rgb(233 200 138 / .08); color: var(--zs-gold); }
.pb-zs-toc__items i { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: rgb(200 190 170 / .35); }
.pb-zs-toc__items li:first-child i { background: var(--zs-gold); box-shadow: 0 0 6px var(--zs-gold); }
.pb-zs-toc__items b { font-weight: 500; padding-left: calc(18 * var(--u)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-zs-addchap { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: calc(10 * var(--u)); height: calc(44 * var(--u)); border-radius: calc(8 * var(--u)); border: 1px dashed rgb(233 200 138 / .5) !important; color: var(--zs-gold); font-size: calc(18 * var(--u)); }
.pb-zs-rbody { position: absolute; left: calc(418 * var(--u)); right: 0; top: 0; height: calc(684 * var(--u)); padding: calc(16 * var(--u)) calc(22 * var(--u)) calc(30 * var(--u)) calc(24 * var(--u)); display: flex; flex-direction: column; }
.pb-zs-rbody__head { display: flex; align-items: center; gap: calc(14 * var(--u)); min-height: calc(60 * var(--u)); }
.pb-zs-rbody__head > .pb-zs-acts { margin-left: auto; }
.pb-zs-chtitle { display: inline-flex; align-items: center; gap: calc(24 * var(--u)); height: calc(56 * var(--u)); margin: 0; padding: 0 calc(42 * var(--u)); font-size: calc(30 * var(--u)); font-weight: 700; letter-spacing: .12em; color: #f6e8c7; }
.pb-zs-chtitle .pb-zs-input { width: calc(240 * var(--u)); min-height: calc(40 * var(--u)); font-size: calc(22 * var(--u)); }
.pb-zs-rbody__scroll { flex: 1; min-height: 0; overflow: auto; padding: calc(10 * var(--u)) calc(6 * var(--u)) 0 calc(8 * var(--u)); }
.pb-zs-art { scroll-margin-top: 10px; margin-bottom: calc(18 * var(--u)); }
.pb-zs-art__head { display: flex; align-items: center; gap: calc(14 * var(--u)); margin: 0 0 calc(10 * var(--u)); font-size: calc(26 * var(--u)); font-weight: 700; letter-spacing: .1em; color: #f3e6c8; }
.pb-zs-art__head .pb-zs-ico { font-size: calc(24 * var(--u)); color: var(--zs-gold); }
.pb-zs-art__head b { margin-left: calc(14 * var(--u)); font-weight: 700; }
.pb-zs-art__head .pb-zs-input { flex: 1; max-width: calc(320 * var(--u)); font-size: calc(19 * var(--u)); }
.pb-zs-art__tools { margin-left: auto; display: flex; gap: calc(6 * var(--u)); }
.pb-zs-iconbtn { display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; font-size: calc(20 * var(--u)); color: var(--zs-soft); box-shadow: inset 0 0 0 1px rgb(233 200 138 / .35); }
.pb-zs-iconbtn:hover:not(:disabled) { color: var(--zs-gold); background: rgb(233 200 138 / .08); }
.pb-zs-iconbtn:disabled { opacity: .3; }
.pb-zs-iconbtn.is-warn { color: var(--zs-warn); }
.pb-zs-paper { display: block; box-sizing: border-box; padding: calc(16 * var(--u)) calc(40 * var(--u)); border-radius: calc(4 * var(--u)); color: #2a241a; font-size: calc(18 * var(--u)); line-height: 1.85; letter-spacing: .05em;
  background: linear-gradient(90deg, rgb(226 218 198 / .96), rgb(238 232 216 / .95) 55%, rgb(214 208 192 / .9)); box-shadow: 0 0 0 1px rgb(233 200 138 / .55), inset 0 0 22px rgb(150 130 90 / .25); }
.pb-zs-paper p { margin: 0; }
textarea.pb-zs-paper { border: 0; width: 100%; color: #2a241a; }
textarea.pb-zs-paper::placeholder { color: #7b7262; }
.pb-zs-mode { position: absolute; left: calc(392 * var(--u)); width: calc(616 * var(--u)); top: calc(702 * var(--u)); height: calc(54 * var(--u)); display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--u)); padding: 0 calc(4 * var(--u)) 0 calc(36 * var(--u)); }
.pb-zs-rules.is-editing .pb-zs-mode { width: calc(760 * var(--u)); left: calc(320 * var(--u)); }
.pb-zs-mode__now { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(19 * var(--u)); letter-spacing: .08em; white-space: nowrap; }
.pb-zs-mode__now .pb-zs-ico { font-size: calc(26 * var(--u)); color: #d9cba9; margin-right: calc(10 * var(--u)); }
.pb-zs-mode__now em { font-style: normal; color: var(--zs-gold); }
.pb-zs-mode .pb-zs-p--gold { width: calc(276 * var(--u)); height: calc(54 * var(--u)); }
.pb-zs-rules.is-editing .pb-zs-mode .pb-zs-p--gold { width: auto; }

/* 权限分配 */
.pb-zs-perms { position: absolute; inset: 0; display: grid; grid-template-columns: calc(386 * var(--u)) minmax(0, 1fr); gap: calc(10 * var(--u)); }
.pb-zs-perms > * { min-height: 0; }
.pb-zs-offices { padding: calc(24 * var(--u)) calc(18 * var(--u)); }
.pb-zs-offices .pb-zs-h { padding-left: calc(14 * var(--u)); margin-bottom: calc(10 * var(--u)); }
.pb-zs-offices .pb-zs-h h2 { font-size: calc(30 * var(--u)); }
.pb-zs-offices ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(11 * var(--u)); overflow: auto; }
.pb-zs-office { display: flex; align-items: center; gap: calc(26 * var(--u)); width: 100%; height: calc(64 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(30 * var(--u)); font-size: calc(25 * var(--u)); letter-spacing: .12em; text-align: left; }
.pb-zs-office .pb-zs-ico { font-size: calc(34 * var(--u)); color: #e6d6b0; }
.pb-zs-office b { font-weight: 600; }
.pb-zs-office small { font-size: calc(15 * var(--u)); letter-spacing: .02em; color: #efe4cc; margin-left: calc(-8 * var(--u)); white-space: nowrap; }
.pb-zs-office:not(.is-on):hover { filter: brightness(1.2); }
.pb-zs-pconf { display: flex; flex-direction: column; padding: calc(18 * var(--u)) calc(20 * var(--u)) calc(22 * var(--u)); }
.pb-zs-pconf__head { display: flex; align-items: center; gap: calc(16 * var(--u)); min-height: calc(56 * var(--u)); padding: 0 0 calc(14 * var(--u)) calc(14 * var(--u)); border-bottom: 1px solid rgb(233 200 138 / .25); }
.pb-zs-pconf__head > .pb-zs-ico { font-size: calc(34 * var(--u)); color: var(--zs-gold); }
.pb-zs-pconf__head h2 { margin: 0; font-size: calc(28 * var(--u)); font-weight: 700; letter-spacing: .12em; }
.pb-zs-saved { margin-left: auto; display: inline-flex; align-items: center; gap: calc(10 * var(--u)); height: calc(42 * var(--u)); padding: 0 calc(22 * var(--u)); border-radius: calc(8 * var(--u));
  background: linear-gradient(90deg, rgb(30 70 50 / .6), rgb(20 40 34 / .3)); color: #e9f3e4; font-size: calc(18 * var(--u)); font-weight: 700; letter-spacing: .06em; }
.pb-zs-saved .pb-zs-ico { color: #6fd08a; font-size: calc(24 * var(--u)); }
.pb-zs-saved small { margin-left: calc(14 * var(--u)); font-weight: 400; font-size: calc(16 * var(--u)); color: #d7ded6; }
.pb-zs-pconf__head > .pb-zs-btn { margin-left: auto; width: calc(188 * var(--u)); }
.pb-zs-saved + .pb-zs-btn { margin-left: 0; }
.pb-zs-pconf__groups { flex: 1; min-height: 0; overflow: auto; display: grid; gap: calc(16 * var(--u)); align-content: start; padding: calc(18 * var(--u)) 0 calc(6 * var(--u)); }
.pb-zs-group { display: grid; grid-template-columns: calc(340 * var(--u)) minmax(0, 1fr); align-items: center; min-height: calc(118 * var(--u)); padding: calc(14 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)) 0; }
.pb-zs-group__name { display: flex; align-items: center; gap: calc(22 * var(--u)); padding-left: calc(48 * var(--u)); }
.pb-zs-group__name > .pb-zs-ico { font-size: calc(54 * var(--u)); color: var(--zs-gold); }
.pb-zs-group__name span { display: grid; gap: calc(6 * var(--u)); }
.pb-zs-group__name b { font-size: calc(30 * var(--u)); font-weight: 700; letter-spacing: .12em; }
.pb-zs-group__name small { font-size: calc(17 * var(--u)); color: var(--zs-soft); letter-spacing: .05em; }
.pb-zs-group__items { display: grid; grid-template-columns: 1fr 1fr; gap: calc(10 * var(--u)) calc(10 * var(--u)); }
.pb-zs-check--row { height: calc(44 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(22 * var(--u)); gap: calc(26 * var(--u)); font-size: calc(19 * var(--u)); letter-spacing: .06em; }
.pb-zs-check--row > i { width: calc(28 * var(--u)); height: calc(28 * var(--u)); font-size: calc(20 * var(--u)); }
.pb-zs-check--row.is-ro { cursor: default; }
.pb-zs-check--row:not(.is-ro):hover { filter: brightness(1.15); }
.pb-zs-pnote { display: flex; align-items: center; gap: calc(16 * var(--u)); margin: calc(8 * var(--u)) 0 0; min-height: calc(48 * var(--u)); padding: 0 calc(28 * var(--u)); font-size: calc(17 * var(--u)); letter-spacing: .05em; color: #e3dccd; }
.pb-zs-pnote .pb-zs-ico { font-size: calc(24 * var(--u)); color: var(--zs-gold); }

/* the phone: one column; the four become a row under the title; lists and details one after another */
.pb-zs--phone { --u: .62px; --ox: 0px; --oy: 0px; }
.pb-zs--phone .pb-zs-scroll { position: absolute; inset: 0; z-index: 1; overflow: auto; overscroll-behavior: contain; }
.pb-zs--phone .pb-zs-bg { background: linear-gradient(180deg, rgb(5 9 16 / .2), rgb(5 9 16 / .78) 34%, rgb(5 9 16 / .9)), url(assets/zhishi-v1/bg.png) 50% 0 / auto 330px no-repeat, #0b1320; }
.pb-zs--phone .pb-zs-back { position: relative; left: auto; top: auto; margin: 10px 12px 0; height: 44px; font-size: 18px; gap: 8px; }
.pb-zs--phone .pb-zs-back .pb-zs-ico { font-size: 24px; }
.pb-zs--phone .pb-zs-sect { position: absolute; right: 12px; top: 12px; gap: 8px; }
.pb-zs--phone .pb-zs-sect__name { height: 34px; font-size: 14px; padding-right: 12px; gap: 6px; }
.pb-zs--phone .pb-zs-sect__mark { width: 28px; height: 28px; font-size: 13px; }
.pb-zs--phone .pb-zs-help__btn { width: 44px; height: 44px; font-size: 18px; }
.pb-zs--phone .pb-zs-title { position: relative; left: auto; top: auto; width: auto; margin: 26px 16px 0; }
.pb-zs--phone .pb-zs-title h1 { font-size: 38px; }
.pb-zs--phone .pb-zs-seal { width: 16px; font-size: 10px; top: 8px; }
.pb-zs--phone .pb-zs-title p { font-size: 14px; letter-spacing: .12em; }
.pb-zs--phone .pb-zs-title p::before, .pb-zs--phone .pb-zs-title p::after { width: 24px; margin: 0 6px; }
.pb-zs--phone .pb-zs-nav { position: relative; left: auto; top: auto; width: auto; display: flex; gap: 6px; margin: 18px 12px 0; overflow-x: auto; scrollbar-width: none; }
.pb-zs--phone .pb-zs-nav__item { flex: 1 0 auto; height: 48px; padding: 0 12px; gap: 6px; font-size: 15px; letter-spacing: .04em; justify-content: center; }
.pb-zs--phone .pb-zs-nav__item:not(.is-on) { background: rgb(12 20 34 / .6); border-radius: 10px; box-shadow: inset 0 0 0 1px rgb(170 188 214 / .2); }
.pb-zs--phone .pb-zs-nav__item .pb-zs-ico { font-size: 18px; }
.pb-zs--phone .pb-zs-main { position: relative; left: auto !important; top: auto !important; width: auto !important; height: auto !important; margin: 14px 12px 32px; }
.pb-zs--phone .pb-zs-flash { top: 70px; }
/* 职位任命 on the phone */
.pb-zs--phone .pb-zs-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; height: auto; }
.pb-zs--phone .pb-zs-tree { height: auto; padding: 14px 12px 16px; display: grid; gap: 14px; }
.pb-zs--phone .pb-zs-org { position: relative; inset: auto; display: grid; gap: 30px; padding-top: 30px; }
.pb-zs--phone .pb-zs-org__lines { display: none; }
.pb-zs--phone .pb-zs-org__row { position: relative; top: auto; gap: 8px; }
.pb-zs--phone .pb-zs-org__row + .pb-zs-org__row::before { content: ''; position: absolute; left: 50%; top: -30px; height: 30px; width: 1px; background: #e2bf7c; }
.pb-zs--phone .pb-zs-org__row--elder { gap: 6px; }
.pb-zs--phone .pb-zs-node--lead { width: 240px; height: 76px; }
.pb-zs--phone .pb-zs-node--vice { width: calc(50% - 4px); height: 66px; padding: 0 8px; gap: 8px; }
.pb-zs--phone .pb-zs-node--elder { width: calc((100% - 12px) / 3); height: 76px; padding-top: 12px; }
.pb-zs--phone .pb-zs-node__text b { font-size: 16px; letter-spacing: .04em; }
.pb-zs--phone .pb-zs-node--lead .pb-zs-node__text b { font-size: 19px; }
.pb-zs--phone .pb-zs-node__text small { font-size: 13px; letter-spacing: 0; }
.pb-zs--phone .pb-zs-node__badge { width: 34px; height: 34px; top: -20px; }
.pb-zs--phone .pb-zs-node__badge .pb-zs-ico { font-size: 18px; }
.pb-zs--phone .pb-zs-crest { top: -30px; width: 96px; height: 32px; }
.pb-zs--phone .pb-zs-count { position: relative; left: auto; right: auto; bottom: auto; height: auto; min-height: 54px; padding: 8px 4px; }
.pb-zs--phone .pb-zs-count > span { flex-direction: column; gap: 2px; font-size: 13px; text-align: center; }
.pb-zs--phone .pb-zs-count .pb-zs-ico { font-size: 18px; }
.pb-zs--phone .pb-zs-count b { margin: 0; }
.pb-zs--phone .pb-zs-side { grid-template-rows: none; gap: 14px; }
.pb-zs--phone .pb-zs-card { padding: 14px 14px 16px; }
.pb-zs--phone .pb-zs-card .pb-zs-h h2 { font-size: 19px; }
.pb-zs--phone .pb-zs-h > .pb-zs-ico { font-size: 22px; }
.pb-zs--phone .pb-zs-h h2 { font-size: 19px; }
.pb-zs--phone .pb-zs-h__note { font-size: 13px; }
.pb-zs--phone .pb-zs-btn { min-height: 44px; font-size: 15px; padding: 0 18px; }
.pb-zs--phone .pb-zs-btn--mini { min-height: 44px; font-size: 14px; padding: 0 14px; }
.pb-zs--phone .pb-zs-todo__row { height: 48px; font-size: 15px; padding: 0 16px; }
.pb-zs--phone .pb-zs-todo__row b { font-size: 15px; }
.pb-zs--phone .pb-zs-peek__card { height: 104px; }
.pb-zs--phone .pb-zs-peek__card img { width: 96px; }
.pb-zs--phone .pb-zs-peek__text b { font-size: 15px; }
.pb-zs--phone .pb-zs-peek__text small, .pb-zs--phone .pb-zs-peek__text time { font-size: 12px; }
.pb-zs--phone .pb-zs-pinned { font-size: 11px; }
.pb-zs--phone .pb-zs-dots button { width: 32px; height: 32px; }
.pb-zs--phone .pb-zs-dots button::before { width: 8px; height: 8px; }
.pb-zs--phone .pb-zs-tiles { height: 96px; flex: none; }
.pb-zs--phone .pb-zs-p--tile.pb-zs-btn { font-size: 16px; }
.pb-zs--phone .pb-zs-p--tile .pb-zs-ico { font-size: 26px; }
.pb-zs--phone .pb-zs-none { font-size: 14px; }
.pb-zs--phone .pb-zs-none--big { font-size: 16px; padding: 40px 0; }
/* 宗门公告 on the phone */
.pb-zs--phone .pb-zs-nwrap { height: auto; padding: 14px 12px 18px; display: grid; gap: 12px; }
.pb-zs--phone .pb-zs-publish { position: relative; right: auto; top: auto; width: 100%; height: 50px; font-size: 17px !important; }
.pb-zs--phone .pb-zs-nlist { position: relative; left: auto; top: auto; width: auto; bottom: auto; gap: 12px; }
.pb-zs--phone .pb-zs-kinds { margin: 0; gap: 4px; }
.pb-zs--phone .pb-zs-kinds .pb-zs-btn { flex: 1; width: auto; height: 46px; font-size: 14px; letter-spacing: .04em; padding: 0 6px; }
.pb-zs--phone .pb-zs-nitems { margin: 0; gap: 8px; }
.pb-zs--phone .pb-zs-nitem { height: auto; min-height: 60px; padding: 8px 14px; gap: 10px; font-size: 15px; flex-wrap: wrap; }
.pb-zs--phone .pb-zs-nitem > .pb-zs-ico { display: none; }
.pb-zs--phone .pb-zs-nitem b { flex-basis: calc(100% - 70px); }
.pb-zs--phone .pb-zs-nitem time { font-size: 12px; margin-left: 58px; }
.pb-zs--phone .pb-zs-kind { min-width: 44px; height: 24px; font-size: 12px; letter-spacing: .06em; }
.pb-zs--phone .pb-zs-pager { margin-top: 4px; width: 200px; height: 48px; font-size: 15px; }
.pb-zs--phone .pb-zs-pager button { width: 44px; height: 44px; font-size: 20px; }
.pb-zs--phone .pb-zs-ndetail { position: relative; left: auto; top: auto; width: auto; bottom: auto; padding: 4px 4px 16px; }
.pb-zs--phone .pb-zs-backlist { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; font-size: 15px; color: var(--zs-gold); }
.pb-zs--phone .pb-zs-ndetail__art { height: 150px; }
.pb-zs--phone .pb-zs-ndetail h3 { font-size: 20px; gap: 8px; }
.pb-zs--phone .pb-zs-ndetail h3 .pb-zs-kind { font-size: 12px; height: 24px; min-width: 44px; }
.pb-zs--phone .pb-zs-meta { margin: 12px 14px 0; font-size: 13px; gap: 6px 14px; }
.pb-zs--phone .pb-zs-meta span + span { padding-left: 0; border-left: 0; }
.pb-zs--phone .pb-zs-meta .pb-zs-ico { font-size: 16px; }
.pb-zs--phone .pb-zs-ndetail__body { padding: 0 14px; font-size: 15px; line-height: 1.9; }
.pb-zs--phone .pb-zs-ndetail__acts { justify-content: stretch; padding: 12px 10px 0; gap: 8px; }
.pb-zs--phone .pb-zs-ndetail__acts .pb-zs-btn { flex: 1; width: auto; min-height: 44px; font-size: 14px; padding: 0 8px; }
/* 宗规管理 on the phone */
.pb-zs--phone .pb-zs-rules { position: relative; inset: auto; display: grid; gap: 12px; }
.pb-zs--phone .pb-zs-toc { position: relative; width: auto; height: auto; padding: 14px 12px; }
.pb-zs--phone .pb-zs-toc__head { padding: 0 6px; align-items: center; flex-wrap: wrap; }
.pb-zs--phone .pb-zs-toc__head h2 { font-size: 19px; }
.pb-zs--phone .pb-zs-toc__head small { font-size: 13px; }
.pb-zs--phone .pb-zs-toc__fold { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px; color: var(--zs-gold); font-size: 14px; }
.pb-zs--phone .pb-zs-toc:not(.is-open) .pb-zs-toc__list, .pb-zs--phone .pb-zs-toc:not(.is-open) .pb-zs-addchap { display: none; }
.pb-zs--phone .pb-zs-toc__list { margin-top: 8px; }
.pb-zs--phone .pb-zs-chap { height: 48px; font-size: 15px; padding: 0 12px 0 18px; gap: 8px; }
.pb-zs--phone .pb-zs-chap small { font-size: 13px; }
.pb-zs--phone .pb-zs-chap b { padding-left: 4px; }
.pb-zs--phone .pb-zs-toc__items button { height: 44px; font-size: 14px; padding-left: 24px; }
.pb-zs--phone .pb-zs-addchap { height: 44px; font-size: 15px; }
.pb-zs--phone .pb-zs-rbody { position: relative; left: auto; right: auto; top: auto; height: auto; padding: 14px 12px 18px; }
.pb-zs--phone .pb-zs-rbody__head { flex-wrap: wrap; gap: 10px; }
.pb-zs--phone .pb-zs-rbody__head > .pb-zs-acts { margin-left: 0; }
.pb-zs--phone .pb-zs-chtitle { height: 48px; font-size: 18px; padding: 0 26px; gap: 12px; }
.pb-zs--phone .pb-zs-chtitle .pb-zs-input { width: 130px; font-size: 15px; }
.pb-zs--phone .pb-zs-art__head { font-size: 17px; flex-wrap: wrap; }
.pb-zs--phone .pb-zs-art__head .pb-zs-ico { font-size: 16px; }
.pb-zs--phone .pb-zs-art__head .pb-zs-input { max-width: none; font-size: 15px; }
.pb-zs--phone .pb-zs-iconbtn { width: 44px; height: 44px; font-size: 18px; }
.pb-zs--phone .pb-zs-paper { padding: 12px 14px; font-size: 15px; }
.pb-zs--phone .pb-zs-mode { position: sticky; bottom: 8px; left: auto; width: auto !important; top: auto; height: auto; min-height: 56px; padding: 6px 6px 6px 16px; flex-wrap: wrap; z-index: 2; }
.pb-zs--phone .pb-zs-mode::before { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: 12px; background: rgb(8 14 24 / .9); }
.pb-zs--phone .pb-zs-mode__now { font-size: 14px; }
.pb-zs--phone .pb-zs-mode__now .pb-zs-ico { font-size: 18px; margin-right: 0; }
.pb-zs--phone .pb-zs-mode .pb-zs-p--gold { width: auto; height: 46px; }
/* 权限分配 on the phone */
.pb-zs--phone .pb-zs-perms { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pb-zs--phone .pb-zs-offices { padding: 12px; }
.pb-zs--phone .pb-zs-offices .pb-zs-h { padding-left: 4px; margin-bottom: 6px; }
.pb-zs--phone .pb-zs-offices ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pb-zs--phone .pb-zs-office { width: auto; height: 48px; padding: 0 16px; gap: 6px; font-size: 15px; letter-spacing: .04em; white-space: nowrap; }
.pb-zs--phone .pb-zs-office .pb-zs-ico { font-size: 18px; }
.pb-zs--phone .pb-zs-office small { display: none; }
.pb-zs--phone .pb-zs-pconf { padding: 14px 12px; }
.pb-zs--phone .pb-zs-pconf__head { flex-wrap: wrap; gap: 10px; padding-left: 4px; }
.pb-zs--phone .pb-zs-pconf__head h2 { font-size: 18px; }
.pb-zs--phone .pb-zs-pconf__head > .pb-zs-ico { font-size: 22px; }
.pb-zs--phone .pb-zs-saved { margin-left: 0; height: 36px; font-size: 13px; padding: 0 12px; }
.pb-zs--phone .pb-zs-saved small { font-size: 12px; }
.pb-zs--phone .pb-zs-pconf__head > .pb-zs-btn { width: 100%; margin-left: 0; }
.pb-zs--phone .pb-zs-pconf__groups { overflow: visible; gap: 12px; }
.pb-zs--phone .pb-zs-group { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 12px; }
.pb-zs--phone .pb-zs-group__name { padding-left: 64px; gap: 12px; }
.pb-zs--phone .pb-zs-group__name > .pb-zs-ico { font-size: 30px; }
.pb-zs--phone .pb-zs-group__name b { font-size: 18px; }
.pb-zs--phone .pb-zs-group__name small { font-size: 12px; }
.pb-zs--phone .pb-zs-group__items { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pb-zs--phone .pb-zs-check--row { height: 48px; font-size: 15px; gap: 14px; }
.pb-zs--phone .pb-zs-check--row > i { width: 24px; height: 24px; font-size: 17px; }
.pb-zs--phone .pb-zs-pnote { font-size: 13px; padding: 10px 14px; line-height: 1.6; gap: 10px; }
.pb-zs--phone .pb-zs-pnote .pb-zs-ico { font-size: 18px; }
.pb-zs--phone .pb-zs-manage { grid-template-columns: minmax(0, 1fr); }
.pb-zs--phone .pb-zs-kv { grid-template-columns: 1fr 1fr; }
.pb-zs--phone .pb-zs-holder { flex-wrap: wrap; }
.pb-zs--phone .pb-zs-dialog { padding: 20px 18px 22px; }
@media (prefers-reduced-motion: reduce) { .pb-zs * { transition: none !important; } }
.pb-zs-grid > *, .pb-zs-side > *, .pb-zs-card > * { min-width: 0; }
.pb-zs-peek__card { width: 100%; }
.pb-zs-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pb-zs--phone .pb-zs-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 6px; }
.pb-zs--phone .pb-zs-nav__item { flex-direction: column; height: 60px; padding: 0 2px; gap: 3px; font-size: 13px; letter-spacing: 0; }
.pb-zs--phone .pb-zs-nav__item .pb-zs-ico { font-size: 20px; }
.pb-zs--phone .pb-zs-group__name { padding-left: 8px; }
/* Two halls since the 修行堂 went (2026-11-14); the 执事堂's tree has two elders, each under a 副宗主. */
.pb-ys:not(.pb-ys--phone) .pb-ys-hq-halls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-zs-org__row--elder { gap: calc(115 * var(--u)); }
.pb-zs--phone .pb-zs-node--elder { width: calc(50% - 4px); }
.pb-zs--phone .pb-zs-org__row--elder { gap: 8px; }

/* ---------- 外务堂 V2 (2026-11-14, the user's 《外务堂三页面高保真还原》 and three pictures, 1536 × 864) ----------
   The hall and the mountain banner are the user's two plain backgrounds; every frame, button and tag is one of the
   user's SVG pieces used as a border-image, so its corners keep their shape at any size. On the website every size is
   n × --u, measured on the pictures; the picture's stage is centred in the window. The phone stacks the same parts. */
.pb-ws {
  --u: min(calc(100vw / 1536), calc(100vh / 864));
  --ws: url(assets/waishi-v1/);
  --ws-ink: #f3e8d1; --ws-soft: #cfc6b2; --ws-faint: #b3b9bd; --ws-gold: #d7ae67; --ws-gold-hi: #f1d197; --ws-deep: #081928;
  --ws-serif: "Noto Serif SC", var(--font-serif, serif); --ws-brush: "Ma Shan Zheng", "Noto Serif SC", serif;
  position: absolute; inset: 0; overflow: hidden; color: var(--ws-ink); font-family: var(--ws-serif); background: #07111c;
}
:where(.pb-ws) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.pb-ws) button:disabled { cursor: default; }
.pb-ws :focus-visible { outline: 2px solid var(--ws-gold-hi); outline-offset: 2px; }
.pb-ws h1, .pb-ws h2, .pb-ws h3, .pb-ws h4, .pb-ws p, .pb-ws ol, .pb-ws ul, .pb-ws dl, .pb-ws dd { margin: 0; padding: 0; }
.pb-ws ol, .pb-ws ul { list-style: none; }
.pb-ws-ico { flex: none; width: 1em; height: 1em; }
.pb-ws-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, #17324a, rgb(12 30 46 / 0) 70%), radial-gradient(ellipse at 50% 120%, rgb(120 84 38 / .28), rgb(8 25 40 / 0) 55%), linear-gradient(180deg, #0b1d2e, #081928 45%, #050f19); }

/* the stage: the picture's 1536 × 864, centred */
.pb-ws--desk .pb-ws-stage { position: absolute; left: 50%; top: 50%; width: calc(1536 * var(--u)); height: calc(864 * var(--u)); transform: translate(-50%, -50%); font-size: calc(15 * var(--u)); }
.pb-ws-back { position: absolute; left: calc(22 * var(--u)); top: calc(14 * var(--u)); width: calc(44 * var(--u)); height: calc(44 * var(--u)); display: grid; place-items: center;
  font-size: calc(34 * var(--u)); color: #f5ead2; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .7)); }
.pb-ws-back:hover { color: var(--ws-gold-hi); }
.pb-ws-plaque { position: absolute; left: 50%; top: calc(4 * var(--u)); transform: translateX(-50%); display: flex; align-items: center; gap: calc(14 * var(--u)); white-space: nowrap; }
.pb-ws-plaque h1 { font-family: var(--ws-brush); font-weight: 400; font-size: calc(54 * var(--u)); line-height: 1.25; letter-spacing: .14em; margin-right: -.14em;
  background: linear-gradient(180deg, #fff8e6 10%, #f0d59c 55%, #c99a55); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .8)); }
.pb-ws-plaque__line { position: relative; display: block; width: calc(150 * var(--u)); height: calc(14 * var(--u)); margin-top: calc(8 * var(--u));
  background: linear-gradient(90deg, rgb(215 174 103 / 0), #e3bf7c) 0 50% / 100% 2px no-repeat; }
.pb-ws-plaque__line::after { content: ""; position: absolute; right: calc(-2 * var(--u)); top: 50%; width: calc(9 * var(--u)); height: calc(9 * var(--u)); transform: translate(0, -50%) rotate(45deg);
  border: 1.5px solid #e3bf7c; background: #1a2430; }
.pb-ws-plaque__line.is-r { background-image: linear-gradient(270deg, rgb(215 174 103 / 0), #e3bf7c); }
.pb-ws-plaque__line.is-r::after { right: auto; left: calc(-2 * var(--u)); }
.pb-ws-seal { display: grid; place-items: center; width: calc(26 * var(--u)); height: calc(46 * var(--u)); margin-left: calc(-8 * var(--u)); border-radius: calc(4 * var(--u));
  background: linear-gradient(#b8382c, #8e2117); color: #ffe9c9; font-family: var(--ws-brush); font-size: calc(15 * var(--u)); line-height: 1.05; box-shadow: 0 0 0 1px rgb(240 190 120 / .55), 0 2px 4px rgb(0 0 0 / .6); }
.pb-ws-help { position: absolute; right: calc(24 * var(--u)); top: calc(18 * var(--u)); }
.pb-ws-help__btn { width: calc(34 * var(--u)); height: calc(34 * var(--u)); border-radius: 50%; border: 1.5px solid #e9dcc0 !important; color: #f3e8d1; font-size: calc(20 * var(--u)); line-height: 1; }
.pb-ws-help__tip { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: max(260px, calc(320 * var(--u))); padding: 12px 14px; font-size: 13px; line-height: 1.7; color: var(--ws-soft);
  background: #0b1a28f2; border: 1px solid #b8893f; border-radius: 6px; box-shadow: 0 8px 24px rgb(0 0 0 / .5); }

/* the three buttons on top */
.pb-ws-nav { position: absolute; left: calc(355 * var(--u)); top: calc(86 * var(--u)); display: flex; gap: calc(17 * var(--u)); }
.pb-ws-nav__item { box-sizing: border-box; width: calc(266 * var(--u)); height: calc(52 * var(--u)); display: flex; align-items: center; justify-content: center; gap: calc(26 * var(--u));
  font-size: calc(23 * var(--u)); letter-spacing: .12em; color: #eadfc8; text-shadow: 0 1px 2px rgb(0 0 0 / .8);
  border: calc(12 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/nav.svg) 16 fill / calc(12 * var(--u)) stretch; }
.pb-ws-nav__item .pb-ws-ico { font-size: calc(34 * var(--u)); color: #e8dcc2; }
.pb-ws-nav__item.is-on { color: #fff3d6; border-image-source: url(assets/waishi-v1/nav-on.svg); filter: drop-shadow(0 0 calc(10 * var(--u)) rgb(239 173 83 / .35)); }
.pb-ws-nav__item.is-on .pb-ws-ico { color: #fff0cc; }
.pb-ws-nav__item:not(.is-on):hover { color: var(--ws-gold-hi); }

/* the main panel: title, then the page */
.pb-ws-main { position: absolute; left: calc(34 * var(--u)); right: calc(30 * var(--u)); top: calc(150 * var(--u)); height: calc(652 * var(--u)); box-sizing: border-box;
  border: calc(26 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/panel-wide.svg) 62 fill / calc(26 * var(--u)) stretch; }
.pb-ws-title { position: absolute; left: calc(46 * var(--u)); top: calc(-12 * var(--u)); }
.pb-ws-title h2 { font-family: var(--ws-brush); font-weight: 400; font-size: calc(58 * var(--u)); line-height: 1.2; letter-spacing: .06em; padding-left: calc(30 * var(--u));
  background: linear-gradient(180deg, #fffaf0 15%, #f4dcae 60%, #d6ac6b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .85)); }
.pb-ws-title__cloud { position: absolute; left: calc(250 * var(--u)); top: calc(26 * var(--u)); width: calc(120 * var(--u)); height: calc(42 * var(--u));
  background: url(assets/waishi-v1/cloud.svg) 0 0 / contain no-repeat; opacity: .8; }
.pb-ws--ties .pb-ws-title__cloud, .pb-ws--events .pb-ws-title__cloud { left: calc(262 * var(--u)); }
.pb-ws-title p { margin-top: calc(6 * var(--u)); padding: 0 calc(20 * var(--u)) calc(4 * var(--u)) calc(14 * var(--u)); font-size: calc(21 * var(--u)); font-weight: 600; letter-spacing: .14em; color: #f2d9a4;
  text-shadow: 0 1px 3px rgb(0 0 0 / .9); background: linear-gradient(90deg, rgb(215 174 103 / 0), rgb(215 174 103 / .8) 20%, rgb(215 174 103 / 0)) 0 100% / 100% 1px no-repeat; }
.pb-ws-page { position: absolute; inset: 0; }

/* boxes, heads, chips, buttons, tags */
.pb-ws-box { position: absolute; box-sizing: border-box; display: flex; flex-direction: column;
  border: calc(22 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/panel-narrow.svg) 62 fill / calc(22 * var(--u)) stretch; }
.pb-ws-boxhead { flex: none; display: flex; align-items: center; gap: calc(12 * var(--u)); min-height: calc(38 * var(--u)); padding: 0 calc(6 * var(--u)) calc(4 * var(--u));
  background: url(assets/waishi-v1/gold-line.svg) 0 100% / 100% 1px no-repeat; }
.pb-ws-boxhead > .pb-ws-ico { font-size: calc(30 * var(--u)); color: var(--ws-gold-hi); }
.pb-ws-boxhead h3 { font-size: calc(26 * var(--u)); font-weight: 700; letter-spacing: .12em; color: #f6ead0; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.pb-ws-boxhead h3 small { font-size: .82em; letter-spacing: .04em; color: #f6ead0; font-weight: 600; }
.pb-ws-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: calc(16 * var(--u)); color: #e9dcc2; white-space: nowrap; }
.pb-ws-more:hover { color: var(--ws-gold-hi); }
.pb-ws-chips { display: flex; flex-wrap: wrap; gap: calc(16 * var(--u)); }
.pb-ws-boxhead .pb-ws-chips { margin-left: auto; flex-wrap: nowrap; }
.pb-ws-chip { box-sizing: border-box; min-width: calc(86 * var(--u)); height: calc(38 * var(--u)); padding: 0 calc(10 * var(--u)); font-size: calc(17 * var(--u)); color: #e3dccb; white-space: nowrap;
  border: calc(9 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/btn-small.svg) 15 fill / calc(9 * var(--u)) stretch; display: inline-flex; align-items: center; justify-content: center; }
.pb-ws-chip.is-on { color: #fff3d6; border-image-source: url(assets/waishi-v1/btn-main.svg); border-image-slice: 18 fill; }
.pb-ws-chip:disabled { opacity: .45; }
.pb-ws-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: .4em; white-space: nowrap; letter-spacing: .08em;
  border: calc(10 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/btn-second.svg) 16 fill / calc(10 * var(--u)) stretch; color: #eadfca; }
.pb-ws-btn--main, .pb-ws-btn--gold { border-image-source: url(assets/waishi-v1/btn-main.svg); border-image-slice: 18 fill; color: #fff2d2; text-shadow: 0 1px 2px rgb(0 0 0 / .7); }
.pb-ws-btn--main:active, .pb-ws-btn--gold:active { border-image-source: url(assets/waishi-v1/btn-main-down.svg); }
.pb-ws-btn--small { border-image-source: url(assets/waishi-v1/btn-small.svg); border-image-slice: 15 fill; }
.pb-ws-btn--gold, .pb-ws-btn--small { height: calc(40 * var(--u)); min-width: calc(108 * var(--u)); padding: 0 calc(6 * var(--u)); font-size: calc(17 * var(--u)); }
.pb-ws-btn--main { height: calc(48 * var(--u)); min-width: calc(120 * var(--u)); padding: 0 calc(14 * var(--u)); font-size: calc(19 * var(--u)); }
.pb-ws-btn:disabled { opacity: .5; }
.pb-ws-btn:not(:disabled):hover { filter: brightness(1.15); }
.pb-ws-btn.is-warn { color: #f2a08c; }
.pb-ws-tag { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: calc(34 * var(--u)); min-width: calc(102 * var(--u)); padding: 0 calc(6 * var(--u));
  font-style: normal; font-size: calc(16 * var(--u)); letter-spacing: .08em; white-space: nowrap; color: #f6ecd6;
  border: calc(9 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/tag-open.svg) 14 fill / calc(9 * var(--u)) stretch; }
.pb-ws-tag--candidate { border-image-source: url(assets/waishi-v1/tag-candidate.svg); }
.pb-ws-tag--closed { border-image-source: url(assets/waishi-v1/tag-closed.svg); }
.pb-ws-tag--review { border-image-source: url(assets/waishi-v1/tag-review.svg); }
.pb-ws-tag--friend { border-image-source: url(assets/waishi-v1/tag-friend.svg); }
.pb-ws-tag--ally { border-image-source: url(assets/waishi-v1/tag-ally.svg); }
.pb-ws-tag--wait { border-image-source: url(assets/waishi-v1/tag-wait.svg); }
.pb-ws-tag--live { border-image-source: url(assets/waishi-v1/tag-live.svg); }
.pb-ws-tag--soon { border-image-source: url(assets/waishi-v1/tag-soon.svg); }
.pb-ws-tag--ended { border-image-source: url(assets/waishi-v1/tag-ended.svg); }
.pb-ws-none { padding: calc(30 * var(--u)) 0; text-align: center; color: var(--ws-faint); font-size: calc(16 * var(--u)); }
.pb-ws-quiet { color: var(--ws-faint); font-size: 13px; line-height: 1.6; }
.pb-ws-link { color: #e9dcc2; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.pb-ws-link.is-gold { color: var(--ws-gold-hi); }
.pb-ws-pic { display: flex; align-items: center; justify-content: center; gap: .35em; box-sizing: border-box; overflow: hidden; color: #e9c88a;
  background: radial-gradient(ellipse at 50% 35%, #1f3d56, #0c1f30 75%); box-shadow: inset 0 0 0 1px rgb(215 174 103 / .35); }
.pb-ws-pic b { font-family: var(--ws-brush); font-weight: 400; font-size: 2.2em; line-height: 1; color: #f0d59c; text-shadow: 0 2px 4px rgb(0 0 0 / .6); }
.pb-ws-pic.is-icon b { font-family: var(--ws-serif); font-weight: 700; font-size: 1.15em; letter-spacing: .14em; }
.pb-ws-pic .pb-ws-ico { font-size: 2em; }
.pb-ws-face { font-size: calc(15 * var(--u)); }
.pb-ws-sect__pic, .pb-ws-ev__cover .pb-ws-pic { font-size: calc(22 * var(--u)); }
.pb-ws-dapp__pic { font-size: calc(11 * var(--u)); }
.pb-ws-sectcard__pic, .pb-ws-evinfo__pic { font-size: 20px; }
.pb-ws-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8a6a3a transparent; }
.pb-ws-dot { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); border-radius: 50%; box-sizing: border-box; border: 2px solid #e4bf7c; background: #3a2a14; box-shadow: 0 0 6px rgb(228 191 124 / .6); }

/* 招贤纳士 */
.pb-ws-stats { position: absolute; left: calc(366 * var(--u)); top: calc(54 * var(--u)); width: calc(750 * var(--u)); height: calc(76 * var(--u)); box-sizing: border-box; display: grid; grid-template-columns: repeat(4, 1fr);
  border: calc(14 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/stats.svg) 62 fill / calc(22 * var(--u)) stretch; }
.pb-ws-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(2 * var(--u)); position: relative; }
.pb-ws-stat + .pb-ws-stat::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: linear-gradient(transparent, #b8893f, transparent); }
.pb-ws-stat span { display: flex; align-items: center; gap: calc(12 * var(--u)); font-size: calc(18 * var(--u)); letter-spacing: .1em; color: #ece2cc; }
.pb-ws-stat .pb-ws-ico { font-size: calc(24 * var(--u)); }
.pb-ws-stat b { font-size: calc(26 * var(--u)); font-weight: 600; color: #f6d9a0; line-height: 1.1; }
.pb-ws-rc__post { position: absolute; right: calc(10 * var(--u)); top: calc(64 * var(--u)); width: calc(250 * var(--u)); height: calc(54 * var(--u)) !important; font-size: calc(24 * var(--u)) !important; letter-spacing: .14em;
  border-width: calc(12 * var(--u)) !important; border-image-width: calc(12 * var(--u)) !important; }
.pb-ws-rc__post .pb-ws-ico { font-size: calc(22 * var(--u)); }
.pb-ws-rc__seal { display: inline-grid; place-items: center; width: calc(26 * var(--u)); height: calc(30 * var(--u)); font-style: normal; font-family: var(--ws-brush); font-size: calc(15 * var(--u)); letter-spacing: 0;
  color: #7a1d12; background: linear-gradient(#f3e3bd, #d8bd85); border-radius: 2px; transform: rotate(-8deg); margin-right: calc(6 * var(--u)); }
.pb-ws-rc__box { left: calc(-6 * var(--u)); right: calc(-4 * var(--u)); top: calc(140 * var(--u)); bottom: calc(-6 * var(--u)); border-image-source: url(assets/waishi-v1/frame.svg); border-image-slice: 62; background: rgb(6 18 30 / .55); }
.pb-ws-rc .pb-ws-boxhead { background: none; padding-bottom: calc(8 * var(--u)); }
.pb-ws-rc .pb-ws-boxhead .pb-ws-chips { margin-left: calc(16 * var(--u)); gap: calc(8 * var(--u)); }
.pb-ws-rc .pb-ws-chip { min-width: calc(74 * var(--u)); height: calc(34 * var(--u)); font-size: calc(15 * var(--u)); }
.pb-ws .pb-ws-rule { margin-left: auto; display: flex; gap: calc(10 * var(--u)); align-items: flex-start; width: calc(500 * var(--u)); box-sizing: border-box; padding: calc(7 * var(--u)) calc(12 * var(--u));
  font-size: calc(13.5 * var(--u)); line-height: 1.55; color: #e2d8c3; letter-spacing: .04em;
  border: calc(8 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/list-frame.svg) 30 / calc(8 * var(--u)) stretch; background: rgb(8 22 36 / .55) padding-box; }
.pb-ws-rule .pb-ws-ico { font-size: calc(20 * var(--u)); margin-top: 2px; }
.pb-ws-table { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: calc(6 * var(--u)); }
.pb-ws-tr { display: grid; grid-template-columns: minmax(0, 238fr) minmax(0, 300fr) minmax(0, 84fr) minmax(0, 84fr) minmax(0, 132fr) minmax(0, 192fr) minmax(0, 130fr) minmax(0, 238fr); align-items: center; }
.pb-ws-th { flex: none; height: calc(36 * var(--u)); font-size: calc(17 * var(--u)); letter-spacing: .1em; color: #ece0c6; text-align: center;
  background: linear-gradient(90deg, rgb(40 64 84 / .55), rgb(26 46 64 / .8), rgb(40 64 84 / .55)); border-top: 1px solid rgb(184 137 63 / .5); border-bottom: 1px solid rgb(184 137 63 / .5); }
.pb-ws-th > span + span { border-left: 1px solid rgb(184 137 63 / .25); }
.pb-ws-tbody { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8a6a3a transparent; padding-top: calc(4 * var(--u)); }
.pb-ws-row { min-height: calc(72 * var(--u)); margin-bottom: calc(3 * var(--u)); font-size: calc(15 * var(--u)); text-align: center; background: linear-gradient(90deg, rgb(20 40 58 / .7), rgb(12 28 44 / .55));
  border: 1px solid rgb(184 137 63 / .28); border-radius: calc(4 * var(--u)); }
.pb-ws-row:hover { background: linear-gradient(90deg, rgb(28 52 72 / .8), rgb(16 34 52 / .65)); }
.pb-ws-who { display: flex; align-items: center; gap: calc(20 * var(--u)); padding-left: calc(18 * var(--u)); text-align: left; }
.pb-ws-face { flex: none; width: calc(62 * var(--u)); height: calc(62 * var(--u)); border-radius: 50%; box-shadow: 0 0 0 2px #c9a265, 0 0 0 4px rgb(10 22 34 / .9), 0 0 0 5px rgb(201 162 101 / .5); }
.pb-ws-who b { font-size: calc(21 * var(--u)); font-weight: 700; letter-spacing: .08em; color: #f6ead2; white-space: nowrap; }
.pb-ws-who b small { font-size: .82em; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.pb-ws-who b { white-space: normal; min-width: 0; }
.pb-ws-desc { text-align: left; padding: calc(6 * var(--u)) calc(14 * var(--u)) calc(6 * var(--u)) calc(4 * var(--u)); line-height: 1.55; color: #e0d7c4; font-size: calc(14.5 * var(--u));
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pb-ws-num { font-size: calc(19 * var(--u)); color: #efe4cc; }
.pb-ws-when { display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u)); text-align: left; line-height: 1.5; color: #ece2cc; font-size: calc(15 * var(--u)); }
.pb-ws-when .pb-ws-ico { font-size: calc(24 * var(--u)); color: #d9c39a; }
.pb-ws-left { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: calc(34 * var(--u)); min-width: calc(100 * var(--u)); padding: 0 calc(6 * var(--u));
  font-style: normal; font-size: calc(16 * var(--u)); letter-spacing: .06em; color: #f8e6c0; white-space: nowrap;
  border: calc(9 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/btn-main-down.svg) 18 fill / calc(9 * var(--u)) stretch; }
.pb-ws-left.is-off { color: var(--ws-faint); border-image-source: url(assets/waishi-v1/btn-small.svg); border-image-slice: 15 fill; }
.pb-ws-ops { display: flex; justify-content: center; gap: calc(16 * var(--u)); }
.pb-ws-ops .pb-ws-btn { min-width: calc(102 * var(--u)); }
.pb-ws-ops .pb-ws-btn--small { min-width: calc(86 * var(--u)); }

/* tiles (宗门外交 / 跨宗活动) */
.pb-ws-tiles { position: absolute; left: calc(-4 * var(--u)); top: calc(102 * var(--u)); display: grid; grid-template-columns: repeat(4, calc(230 * var(--u))); gap: calc(12 * var(--u)); }
.pb-ws-tile { box-sizing: border-box; height: calc(88 * var(--u)); display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; column-gap: calc(12 * var(--u)); align-items: center; text-align: center;
  padding: 0 calc(6 * var(--u)) 0 calc(4 * var(--u)); border: calc(16 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/card.svg) 62 fill / calc(16 * var(--u)) stretch; }
.pb-ws-tile .pb-ws-ico { grid-row: 1 / 3; font-size: calc(46 * var(--u)); color: #f3e2bd; filter: drop-shadow(0 0 4px rgb(240 200 130 / .45)); }
.pb-ws-tile b { align-self: end; font-size: calc(22 * var(--u)); letter-spacing: .14em; color: #f6ead0; font-weight: 700; }
.pb-ws-tile small { align-self: start; font-size: calc(14 * var(--u)); color: #d8cdb6; letter-spacing: .06em; white-space: nowrap; }
.pb-ws-tile:not(:disabled):hover, .pb-ws-tile.is-on { border-image-source: url(assets/waishi-v1/event-card.svg); filter: brightness(1.18) drop-shadow(0 0 8px rgb(239 173 83 / .35)); }
.pb-ws-tile:disabled { opacity: .7; }
.pb-ws-side { position: absolute; right: calc(-6 * var(--u)); top: calc(102 * var(--u)); bottom: calc(-6 * var(--u)); width: calc(456 * var(--u)); display: flex; flex-direction: column; gap: calc(16 * var(--u)); }
.pb-ws-side .pb-ws-box { position: relative; inset: auto; }
.pb-ws-side__a { flex: 0 0 calc(224 * var(--u)); }
.pb-ws-side__b { flex: 1; min-height: 0; }

/* 宗门外交 */
.pb-ws-ti__list { left: calc(-6 * var(--u)); top: calc(212 * var(--u)); width: calc(988 * var(--u)); bottom: calc(-6 * var(--u)); }
.pb-ws-ti .pb-ws-side { top: calc(98 * var(--u)); }
.pb-ws-ti .pb-ws-side__a { flex-basis: calc(226 * var(--u)); }
.pb-ws-ti__list .pb-ws-scroll { padding-top: calc(6 * var(--u)); }
.pb-ws-sect { display: grid; grid-template-columns: calc(240 * var(--u)) minmax(0, 1fr) auto; gap: calc(22 * var(--u)); align-items: center; box-sizing: border-box; min-height: calc(110 * var(--u)); margin-bottom: calc(4 * var(--u));
  padding: 0 calc(6 * var(--u)); border: calc(8 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/diplo-row.svg) 62 fill / calc(14 * var(--u)) stretch; }
.pb-ws-sect__pic { width: calc(236 * var(--u)); height: calc(94 * var(--u)); margin-left: calc(-4 * var(--u)); border: 1px solid #c9a265; border-radius: 3px; box-shadow: 0 0 0 2px rgb(10 22 34 / .9); }
.pb-ws-sect__main { min-width: 0; display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.pb-ws-sect__main header { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.pb-ws-sect h4 { font-size: calc(24 * var(--u)); letter-spacing: .1em; color: #f6ead2; }
.pb-ws-sect .pb-ws-tag { height: calc(28 * var(--u)); min-width: calc(86 * var(--u)); font-size: calc(14 * var(--u)); }
.pb-ws-sect p { font-size: calc(15 * var(--u)); color: #e0d7c4; }
.pb-ws-sect footer { display: flex; gap: calc(24 * var(--u)); font-size: calc(14 * var(--u)); color: #d6ccb6; white-space: nowrap; overflow: hidden; }
.pb-ws-sect footer span { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); }
.pb-ws-sect footer .pb-ws-ico { font-size: calc(20 * var(--u)); color: #e1c48c; }
.pb-ws-sect__acts { display: flex; flex-direction: column; gap: calc(8 * var(--u)); padding-right: calc(8 * var(--u)); }
.pb-ws-sect__acts .pb-ws-btn { min-width: calc(102 * var(--u)); }
.pb-ws-log { display: flex; flex-direction: column; padding: calc(6 * var(--u)) 0 0; position: relative; }
.pb-ws-log li { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: calc(14 * var(--u)); min-height: calc(40 * var(--u)); font-size: calc(15.5 * var(--u)); color: #e9e0cc; position: relative;
  border-bottom: 1px solid rgb(184 137 63 / .18); padding-left: calc(8 * var(--u)); }
.pb-ws-log li::before { content: ""; position: absolute; left: calc(14 * var(--u)); top: 0; bottom: 0; width: 1px; background: rgb(215 174 103 / .5); }
.pb-ws-log li .pb-ws-dot { position: relative; }
.pb-ws-log time, .pb-ws-cal small { font-size: calc(15 * var(--u)); color: #e3d7bd; white-space: nowrap; }
.pb-ws-log span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-ws-log.is-all span { white-space: normal; }
.pb-ws-mini { font-style: normal; font-size: calc(14 * var(--u)); padding: calc(2 * var(--u)) calc(8 * var(--u)); border-radius: calc(4 * var(--u)); border: 1px solid; letter-spacing: .06em; }
.pb-ws-mini--ally { color: #f3d79b; border-color: #c9a265; background: #5b3c1c; }
.pb-ws-mini--live { color: #d6efc2; border-color: #8fb46f; background: #2e4a26; }
.pb-ws-mini--friend { color: #cfe3ff; border-color: #7aa0d6; background: #1f3a63; }
.pb-ws-mini--invite { color: #ffd2c8; border-color: #c27667; background: #5a2620; }
.pb-ws-mini--ended { color: #d6d6d6; border-color: #8a8f96; background: #2c333c; }
.pb-ws-seg { display: grid; grid-template-columns: 1fr 1fr; gap: calc(26 * var(--u)); padding: calc(8 * var(--u)) calc(20 * var(--u)) calc(4 * var(--u)); }
.pb-ws-seg__b { height: calc(38 * var(--u)); font-size: calc(16 * var(--u)); letter-spacing: .06em; color: #e3dccb; box-sizing: border-box;
  border: calc(9 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/btn-small.svg) 15 fill / calc(9 * var(--u)) stretch; display: flex; align-items: center; justify-content: center; }
.pb-ws-seg__b.is-on { color: #fff3d6; border-image-source: url(assets/waishi-v1/btn-main.svg); border-image-slice: 18 fill; }
.pb-ws-dapps { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8a6a3a transparent; }
.pb-ws-dapp { display: grid; grid-template-columns: calc(82 * var(--u)) auto 1fr auto; grid-template-rows: auto auto; column-gap: calc(18 * var(--u)); align-items: center; min-height: calc(66 * var(--u));
  padding: calc(4 * var(--u)) 0; border-bottom: 1px solid rgb(184 137 63 / .2); font-size: calc(15.5 * var(--u)); }
.pb-ws-dapp__pic { grid-row: 1 / 3; width: calc(82 * var(--u)); height: calc(52 * var(--u)); border: 1px solid #b8893f; border-radius: 2px; }
.pb-ws-dapp b { grid-row: 1 / 3; font-size: calc(19 * var(--u)); color: #f4e7cd; letter-spacing: .06em; white-space: nowrap; }
.pb-ws-dapp__k { grid-row: 1 / 3; color: #e5dcc8; display: flex; flex-direction: column; min-width: 0; }
.pb-ws-dapp__k small { color: var(--ws-faint); font-size: .85em; }
.pb-ws-dapp__left { display: inline-flex; align-items: center; gap: 6px; color: #f0c77f; white-space: nowrap; }
.pb-ws-dapp__left .pb-ws-ico { font-size: calc(20 * var(--u)); }
.pb-ws-dapp .pb-ws-tag { height: calc(28 * var(--u)); min-width: calc(76 * var(--u)); font-size: calc(14 * var(--u)); }
.pb-ws-dapp.is-row { display: block; padding: 0; }
.pb-ws-dapp.is-row > button { width: 100%; display: grid; grid-template-columns: calc(82 * var(--u)) auto minmax(0, 1fr) auto; column-gap: calc(18 * var(--u)); align-items: center; min-height: calc(64 * var(--u)); text-align: left; }
.pb-ws-dapp.is-row > button:hover b { color: var(--ws-gold-hi); }
.pb-ws-dapp.is-row .pb-ws-dapp__pic, .pb-ws-dapp.is-row b, .pb-ws-dapp.is-row .pb-ws-dapp__k { grid-row: auto; }
.pb-ws-dapp.is-row .pb-ws-dapp__k { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-ws-dapp__acts { grid-column: 4; display: flex; gap: 12px; justify-content: flex-end; font-size: calc(14 * var(--u)); }

/* 跨宗活动 */
.pb-ws-ev .pb-ws-tiles { grid-template-columns: repeat(4, calc(244 * var(--u))); gap: calc(14 * var(--u)); top: calc(96 * var(--u)); }
.pb-ws-ev .pb-ws-tile { height: calc(76 * var(--u)); }
.pb-ws-ev__list { left: calc(-6 * var(--u)); top: calc(186 * var(--u)); width: calc(1044 * var(--u)); bottom: calc(-6 * var(--u)); }
.pb-ws-ev .pb-ws-side { width: calc(402 * var(--u)); top: calc(96 * var(--u)); }
.pb-ws-ev .pb-ws-side__a { flex-basis: calc(232 * var(--u)); }
.pb-ws-ev__new { margin-left: calc(24 * var(--u)); }
.pb-ws-ev .pb-ws-boxhead .pb-ws-chips { margin-left: auto; }
.pb-ws-ev__new + .pb-ws-chips { margin-left: calc(20 * var(--u)) !important; }
.pb-ws-ev__list .pb-ws-scroll { padding-top: calc(6 * var(--u)); }
.pb-ws-ev__card { display: grid; grid-template-columns: calc(290 * var(--u)) 1fr auto; gap: calc(26 * var(--u)); align-items: center; box-sizing: border-box; min-height: calc(110 * var(--u)); margin-bottom: calc(3 * var(--u));
  padding: 0 calc(4 * var(--u)); border: calc(6 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/event-card.svg) 62 fill / calc(14 * var(--u)) stretch; }
.pb-ws-ev__card.is-over { opacity: .72; }
.pb-ws-ev__cover { display: block; width: calc(290 * var(--u)); height: calc(96 * var(--u)); border: 1px solid #c9a265; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 2px rgb(10 22 34 / .9); }
.pb-ws-ev__cover .pb-ws-pic { width: 100%; height: 100%; transition: transform .3s; }
.pb-ws-ev__cover:hover .pb-ws-pic { transform: scale(1.04); }
.pb-ws-ev__main { min-width: 0; display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.pb-ws-ev__main header { display: flex; align-items: center; gap: calc(14 * var(--u)); flex-wrap: nowrap; white-space: nowrap; }
.pb-ws-ev__main h4 button { font-size: calc(23 * var(--u)); font-weight: 700; letter-spacing: .08em; color: #f7e5bf; text-align: left; }
.pb-ws-ev__main h4 button:hover { color: #fff3d6; }
.pb-ws-type, .pb-ws-spoil { font-style: normal; font-size: calc(14 * var(--u)); padding: calc(2 * var(--u)) calc(12 * var(--u)); border-radius: calc(6 * var(--u)); border: 1px solid; letter-spacing: .06em; white-space: nowrap; }
.pb-ws-type--0 { color: #d8e7ff; border-color: #6f93cf; background: #1b3763; }
.pb-ws-type--1 { color: #f7dfa5; border-color: #c9a265; background: #5b3c1c; }
.pb-ws-type--2 { color: #e9d6ff; border-color: #9a7dd0; background: #3e2a63; }
.pb-ws-type--3 { color: #d6efc2; border-color: #8fb46f; background: #2e4a26; }
.pb-ws-spoil { color: var(--ws-faint); border-color: #5d6670; }
.pb-ws-spoil.is-on { color: #ffd2c8; border-color: #c27667; }
.pb-ws-ev__main p { font-size: calc(16 * var(--u)); color: #e3dac6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-ws-ev__main footer { display: flex; gap: calc(30 * var(--u)); font-size: calc(14.5 * var(--u)); color: #d9cfb9; white-space: nowrap; }
.pb-ws-ev__main footer span { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); }
.pb-ws-ev__main footer .pb-ws-ico { font-size: calc(20 * var(--u)); color: #e1c48c; }
.pb-ws-ev__side { display: flex; flex-direction: column; align-items: center; gap: calc(14 * var(--u)); padding-right: calc(6 * var(--u)); min-width: calc(112 * var(--u)); }
.pb-ws-evst { display: inline-flex; align-items: center; gap: 8px; font-size: calc(16 * var(--u)); letter-spacing: .06em; white-space: nowrap; }
.pb-ws-evst .pb-ws-ico { font-size: calc(20 * var(--u)); }
.pb-ws-evst--live { color: #b6e39a; }
.pb-ws-evst--soon { color: #8fb6ff; }
.pb-ws-evst--open { color: #f0c77f; }
.pb-ws-evst--ended { color: var(--ws-faint); }
.pb-ws-cal { padding-top: calc(6 * var(--u)); }
.pb-ws-cal li { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: calc(16 * var(--u)); min-height: calc(39 * var(--u)); font-size: calc(15.5 * var(--u)); position: relative;
  border-bottom: 1px solid rgb(184 137 63 / .18); padding-left: calc(8 * var(--u)); }
.pb-ws-cal li::before { content: ""; position: absolute; left: calc(14 * var(--u)); top: 0; bottom: 0; width: 1px; background: rgb(215 174 103 / .5); }
.pb-ws-cal time { color: #efe4cb; padding-right: calc(14 * var(--u)); border-right: 1px solid rgb(184 137 63 / .4); }
.pb-ws-cal button { text-align: left; color: #ece2cc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-ws-cal button:hover { color: var(--ws-gold-hi); }
.pb-ws-topics { display: flex; flex-direction: column; gap: calc(9 * var(--u)); padding-top: calc(10 * var(--u)); }
.pb-ws-topics li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: calc(12 * var(--u)); height: calc(38 * var(--u)); padding: 0 calc(16 * var(--u)) 0 calc(12 * var(--u)); font-size: calc(16 * var(--u));
  box-sizing: border-box; border: calc(8 * var(--u)) solid transparent; border-image: url(assets/waishi-v1/btn-small.svg) 15 fill / calc(8 * var(--u)) stretch; color: #ece2cc; }
.pb-ws-topics .pb-ws-ico { font-size: calc(18 * var(--u)); color: #e1c48c; }
.pb-ws-topics small { font-size: calc(14 * var(--u)); color: #e3d7bd; }

/* dialogs and the flash */
.pb-ws-veil { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgb(3 8 14 / .62); }
.pb-ws-dialog { box-sizing: border-box; width: min(640px, 100%); max-height: calc(100% - 32px); display: flex; flex-direction: column; font-size: 15px;
  border: 22px solid transparent; border-image: url(assets/waishi-v1/dialog.svg) 62 fill / 22px stretch; filter: drop-shadow(0 12px 30px rgb(0 0 0 / .6)); }
.pb-ws-dialog.is-wide { width: min(860px, 100%); }
.pb-ws-dialog__head { display: flex; align-items: center; gap: 12px; padding: 0 4px 10px; background: url(assets/waishi-v1/gold-line.svg) 0 100% / 100% 1px no-repeat; }
.pb-ws-dialog h3 { font-size: 21px; letter-spacing: .1em; color: #f6ead0; }
.pb-ws-x { margin-left: auto; font-size: 22px; color: #d8cdb6; padding: 4px !important; }
.pb-ws-dialog__body { overflow-y: auto; padding: 14px 4px 2px; scrollbar-width: thin; scrollbar-color: #8a6a3a transparent; }
.pb-ws-dialog--ask { width: min(440px, 100%); gap: 12px; }
.pb-ws-dialog--ask p { color: var(--ws-soft); line-height: 1.7; }
.pb-ws-dialog .pb-ws-btn--gold, .pb-ws-dialog .pb-ws-btn--small, .pb-ws-dialog .pb-ws-btn--main { height: 40px; min-width: 92px; font-size: 15px; border-width: 9px; border-image-width: 9px; padding: 0 8px; }
.pb-ws-dialog .pb-ws-chip { height: 34px; min-width: 70px; font-size: 14px; border-width: 8px; border-image-width: 8px; }
.pb-ws-dialog .pb-ws-chips { gap: 8px; }
.pb-ws-dialog .pb-ws-tag { height: 28px; min-width: 76px; font-size: 13px; border-width: 8px; border-image-width: 8px; }
.pb-ws-acts { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pb-ws-form { display: flex; flex-direction: column; gap: 14px; }
.pb-ws-form__row { display: flex; gap: 14px; flex-wrap: wrap; }
.pb-ws-form__row > .pb-ws-field { flex: 1 1 180px; }
.pb-ws-form__row > .pb-ws-field.is-short { flex: 0 1 140px; }
.pb-ws-field { display: flex; flex-direction: column; gap: 6px; }
.pb-ws-field__k { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #e9d8b2; letter-spacing: .06em; }
.pb-ws-field__k small { margin-left: auto; color: var(--ws-faint); font-size: 12px; }
.pb-ws-input { box-sizing: border-box; width: 100%; min-height: 38px; padding: 7px 10px; font: inherit; font-size: 15px; color: var(--ws-ink); color-scheme: dark;
  background: rgb(6 18 30 / .8); border: 1px solid rgb(184 137 63 / .55); border-radius: 4px; }
.pb-ws-input:focus { outline: none; border-color: var(--ws-gold-hi); box-shadow: 0 0 0 2px rgb(215 174 103 / .25); }
.pb-ws-area { resize: vertical; line-height: 1.6; }
.pb-ws-err { color: #f2a08c; font-size: 14px; }
.pb-ws-apps__sum { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--ws-soft); margin-bottom: 10px; }
.pb-ws-apps__sum small { color: var(--ws-faint); }
.pb-ws-apps__note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #f0c77f; font-size: 14px; margin-bottom: 10px; }
.pb-ws-apps__list li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgb(184 137 63 / .2); }
.pb-ws-apps__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--ws-soft); font-size: 14px; }
.pb-ws-apps__who b { color: var(--ws-ink); font-size: 16px; }
.pb-ws-apps__who b small { margin-left: 8px; color: var(--ws-faint); font-size: 13px; font-weight: 400; }
.pb-ws-apps__at { color: var(--ws-faint); white-space: nowrap; }
.pb-ws-apps .pb-ws-acts { margin: 0; flex-wrap: nowrap; }
.pb-ws-apps .pb-ws-quiet { margin-top: 10px; }
.pb-ws-sectcard, .pb-ws-evinfo { display: flex; flex-direction: column; gap: 12px; color: var(--ws-soft); line-height: 1.7; }
.pb-ws-sectcard__pic, .pb-ws-evinfo__pic { height: 150px; border: 1px solid #b8893f; border-radius: 3px; }
.pb-ws-sectcard dl, .pb-ws-evinfo dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center; }
.pb-ws-sectcard dt, .pb-ws-evinfo dt { color: #e9d8b2; white-space: nowrap; }
.pb-ws-prog { display: inline-block; width: 84px; min-height: 30px; padding: 2px 8px; margin: 0 6px; }
.pb-ws-evinfo .pb-ws-link { margin-left: 10px; }
.pb-ws-dapps.is-all .pb-ws-dapp { grid-template-columns: 82px auto 1fr auto; font-size: 14px; column-gap: 14px; }
.pb-ws-dapps.is-all .pb-ws-dapp__pic { width: 82px; height: 52px; }
.pb-ws-dapps.is-all .pb-ws-dapp b { font-size: 16px; }
.pb-ws-dapps.is-all .pb-ws-dapp__acts, .pb-ws-dapps.is-all .pb-ws-dapp__left { font-size: 14px; }
.pb-ws-dialog .pb-ws-log li, .pb-ws-dialog .pb-ws-cal li { font-size: 14px; min-height: 38px; gap: 12px; }
.pb-ws-dialog .pb-ws-log time, .pb-ws-dialog .pb-ws-cal small { font-size: 13px; }
.pb-ws-dialog .pb-ws-dot { width: 12px; height: 12px; }
.pb-ws-dialog .pb-ws-mini { font-size: 12px; }
.pb-ws-room { display: flex; flex-direction: column; gap: 10px; }
.pb-ws-room ul { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.pb-ws-room li { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 4px; background: rgb(20 40 58 / .6); color: var(--ws-soft); }
.pb-ws-room li b { color: #f0d59c; white-space: nowrap; }
.pb-ws-room li.is-me { background: rgb(91 60 28 / .45); }
.pb-ws-room li time { margin-left: auto; color: var(--ws-faint); font-size: 12px; }
.pb-ws-room__say { display: flex; gap: 10px; }
.pb-ws-veilnote { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 8px; text-align: center; color: var(--ws-soft); }
.pb-ws-veilnote b { font-size: 20px; letter-spacing: .2em; color: #f2a08c; }
.pb-ws-flash { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 32px);
  padding: 10px 18px; font-size: 15px; color: #f6ead0; background: #0b1a28f0; border: 1px solid #b8893f; border-radius: 6px; box-shadow: 0 8px 24px rgb(0 0 0 / .5); }
.pb-ws-flash.is-bad { color: #f2a08c; border-color: #c27667; }

/* the phone: the same parts, one under another */
.pb-ws--phone { --u: .62px; }
.pb-ws--phone .pb-ws-stage { position: absolute; inset: 0; overflow-y: auto; padding: 8px 12px 28px; font-size: 14px; }
.pb-ws--phone .pb-ws-back { left: 4px; top: 6px; font-size: 26px; }
.pb-ws--phone .pb-ws-plaque { position: relative; left: auto; top: auto; transform: none; justify-content: center; }
.pb-ws--phone .pb-ws-plaque h1 { font-size: 34px; }
.pb-ws--phone .pb-ws-plaque__line { width: 44px; }
.pb-ws--phone .pb-ws-seal { width: 20px; height: 34px; font-size: 11px; }
.pb-ws--phone .pb-ws-help { right: 6px; top: 12px; }
.pb-ws--phone .pb-ws-help__btn { width: 28px; height: 28px; font-size: 16px; }
.pb-ws--phone .pb-ws-nav { position: relative; left: auto; top: auto; margin: 6px 0 12px; gap: 6px; }
.pb-ws--phone .pb-ws-nav__item { flex: 1; width: auto; height: 42px; gap: 4px; font-size: 14px; letter-spacing: .02em; border-width: 9px; border-image-width: 9px; padding: 0; }
.pb-ws--phone .pb-ws-nav__item .pb-ws-ico { font-size: 18px; }
.pb-ws--phone .pb-ws-main { position: relative; left: auto; right: auto; top: auto; height: auto; padding: 4px 2px 6px; border-width: 18px; border-image-width: 18px; }
.pb-ws--phone .pb-ws-title { position: relative; left: auto; top: auto; margin-bottom: 12px; }
.pb-ws--phone .pb-ws-title h2 { font-size: 34px; padding-left: 4px; }
.pb-ws--phone .pb-ws-title__cloud { left: 150px; top: 12px; width: 70px; height: 26px; }
.pb-ws--phone .pb-ws-title p { font-size: 14px; padding-left: 4px; }
.pb-ws--phone .pb-ws-page { position: relative; inset: auto; display: flex; flex-direction: column; gap: 12px; }
.pb-ws--phone .pb-ws-page > *, .pb-ws--phone .pb-ws-side { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: auto !important; height: auto !important; }
.pb-ws--phone .pb-ws-stats { grid-template-columns: repeat(2, 1fr); row-gap: 8px; border-width: 12px; padding: 4px 0; }
.pb-ws--phone .pb-ws-stat span { font-size: 13px; gap: 6px; }
.pb-ws--phone .pb-ws-stat .pb-ws-ico { font-size: 16px; }
.pb-ws--phone .pb-ws-stat b { font-size: 20px; }
.pb-ws--phone .pb-ws-stat:nth-child(3)::before { display: none; }
.pb-ws--phone .pb-ws-rc__post { width: 100% !important; height: 48px !important; font-size: 18px !important; }
.pb-ws--phone .pb-ws-rc__seal { width: 20px; height: 24px; font-size: 12px; }
.pb-ws--phone .pb-ws-box { border-width: 16px; border-image-width: 16px; }
.pb-ws--phone .pb-ws-boxhead { flex-wrap: wrap; row-gap: 8px; }
.pb-ws--phone .pb-ws-boxhead h3 { font-size: 18px; }
.pb-ws--phone .pb-ws-boxhead > .pb-ws-ico { font-size: 20px; }
.pb-ws--phone .pb-ws-boxhead .pb-ws-chips { margin-left: 0 !important; flex-wrap: wrap; gap: 6px; width: 100%; order: 3; }
.pb-ws--phone .pb-ws-chip, .pb-ws--phone .pb-ws-rc .pb-ws-chip { height: 32px; min-width: 0; font-size: 13px; border-width: 7px; border-image-width: 7px; padding: 0 4px; }
.pb-ws--phone .pb-ws-more { font-size: 13px; }
.pb-ws--phone .pb-ws-rule { width: 100%; font-size: 12px; order: 4; border-width: 6px; }
.pb-ws--phone .pb-ws-th { display: none; }
.pb-ws--phone .pb-ws-tbody { max-height: none; overflow: visible; }
.pb-ws--phone .pb-ws-row { grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px; text-align: left; font-size: 13px; }
.pb-ws--phone .pb-ws-who { grid-column: 1 / -1; padding: 0; gap: 10px; }
.pb-ws--phone .pb-ws-face { width: 40px; height: 40px; }
.pb-ws--phone .pb-ws-who b { font-size: 17px; }
.pb-ws--phone .pb-ws-desc { grid-column: 1 / -1; padding: 0; font-size: 13px; -webkit-line-clamp: 4; }
.pb-ws--phone .pb-ws-num { font-size: 13px; }
.pb-ws--phone .pb-ws-num::before { color: var(--ws-faint); }
.pb-ws--phone .pb-ws-row > .pb-ws-num:nth-child(3)::before { content: "申请 "; }
.pb-ws--phone .pb-ws-row > .pb-ws-num:nth-child(4)::before { content: "招募 "; }
.pb-ws--phone .pb-ws-when { justify-content: flex-start; font-size: 13px; gap: 6px; }
.pb-ws--phone .pb-ws-when .pb-ws-ico { font-size: 16px; }
.pb-ws--phone .pb-ws-tag, .pb-ws--phone .pb-ws-left { height: 28px; min-width: 70px; font-size: 12px; border-width: 7px; border-image-width: 7px; }
.pb-ws--phone .pb-ws-ops { grid-column: 1 / -1; justify-content: flex-end; gap: 8px; }
.pb-ws--phone .pb-ws-btn--gold, .pb-ws--phone .pb-ws-btn--small, .pb-ws--phone .pb-ws-btn--main { height: 36px; min-width: 76px; font-size: 14px; border-width: 8px; border-image-width: 8px; }
.pb-ws--phone .pb-ws-tiles, .pb-ws--phone .pb-ws-ev .pb-ws-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
.pb-ws--phone .pb-ws-tile, .pb-ws--phone .pb-ws-ev .pb-ws-tile { height: 64px; border-width: 10px; border-image-width: 10px; column-gap: 6px; }
.pb-ws--phone .pb-ws-tile .pb-ws-ico { font-size: 26px; }
.pb-ws--phone .pb-ws-tile b { font-size: 15px; letter-spacing: .04em; }
.pb-ws--phone .pb-ws-tile small { font-size: 11px; white-space: normal; }
.pb-ws--phone .pb-ws-scroll, .pb-ws--phone .pb-ws-dapps { overflow: visible; }
.pb-ws--phone .pb-ws-sect, .pb-ws--phone .pb-ws-ev__card { grid-template-columns: 1fr; gap: 8px; padding: 6px; border-width: 10px; border-image-width: 10px; }
.pb-ws--phone .pb-ws-sect__pic, .pb-ws--phone .pb-ws-ev__cover { width: 100%; height: 64px; margin: 0; font-size: 14px; }
.pb-ws--phone .pb-ws-dapp__pic { font-size: 8px; }
.pb-ws--phone .pb-ws-sect h4 { font-size: 17px; }
.pb-ws--phone .pb-ws-sect p, .pb-ws--phone .pb-ws-ev__main p { font-size: 13px; white-space: normal; }
.pb-ws--phone .pb-ws-sect footer, .pb-ws--phone .pb-ws-ev__main footer { flex-wrap: wrap; gap: 4px 12px; font-size: 12px; white-space: normal; }
.pb-ws--phone .pb-ws-sect footer .pb-ws-ico, .pb-ws--phone .pb-ws-ev__main footer .pb-ws-ico { font-size: 14px; }
.pb-ws--phone .pb-ws-sect__acts, .pb-ws--phone .pb-ws-ev__side { flex-direction: row; justify-content: flex-end; align-items: center; gap: 8px; padding: 0; }
.pb-ws--phone .pb-ws-ev__side { justify-content: space-between; }
.pb-ws--phone .pb-ws-ev__main h4 button { font-size: 16px; }
.pb-ws--phone .pb-ws-type, .pb-ws--phone .pb-ws-spoil, .pb-ws--phone .pb-ws-evst, .pb-ws--phone .pb-ws-mini { font-size: 12px; }
.pb-ws--phone .pb-ws-side { gap: 12px; }
.pb-ws--phone .pb-ws-side .pb-ws-box { flex: none; }
.pb-ws--phone .pb-ws-log li, .pb-ws--phone .pb-ws-cal li { font-size: 13px; gap: 8px; min-height: 36px; }
.pb-ws--phone .pb-ws-log time, .pb-ws--phone .pb-ws-cal small { font-size: 12px; }
.pb-ws--phone .pb-ws-dot { width: 10px; height: 10px; }
.pb-ws--phone .pb-ws-seg { gap: 8px; padding: 8px 0; }
.pb-ws--phone .pb-ws-seg__b { height: 32px; font-size: 13px; border-width: 7px; border-image-width: 7px; }
.pb-ws--phone .pb-ws-dapp { grid-template-columns: 56px auto 1fr; font-size: 13px; column-gap: 8px; }
.pb-ws--phone .pb-ws-dapp.is-row > button { grid-template-columns: 56px auto minmax(0, 1fr); column-gap: 8px; row-gap: 2px; }
.pb-ws--phone .pb-ws-dapp.is-row .pb-ws-dapp__left, .pb-ws--phone .pb-ws-dapp.is-row .pb-ws-tag { grid-column: 3; }
.pb-ws--phone .pb-ws-ev__main header { flex-wrap: wrap; white-space: normal; }
.pb-ws--phone .pb-ws-dapp__pic { width: 56px; height: 38px; }
.pb-ws--phone .pb-ws-dapp b { font-size: 14px; }
.pb-ws--phone .pb-ws-dapp__left, .pb-ws--phone .pb-ws-dapp .pb-ws-tag, .pb-ws--phone .pb-ws-dapp__acts { grid-column: 2 / -1; font-size: 12px; justify-self: start; }
.pb-ws--phone .pb-ws-topics li { height: 34px; font-size: 13px; border-width: 7px; border-image-width: 7px; }
.pb-ws--phone .pb-ws-topics small { font-size: 12px; }
.pb-ws--phone .pb-ws-none { font-size: 13px; padding: 16px 0; }
.pb-ws--phone .pb-ws-dialog { border-width: 16px; border-image-width: 16px; }
.pb-ws--phone .pb-ws-plaque__line { display: none; }

/* ---------- 开场 (2026-11-16): the earth's horizon lower right (EarthBlaze), the figure a little left of the middle,
   signing in on the left; then 天衍 out of the blur, and everything climbs away into the dark ----------
   Static offsets use `translate`; `transform` and `opacity` of the moving parts belong to the rAF loop in Intro.
   Sizes in container units (cqw, cqh, cqmin). */
.pb-screen.pb-gen-ground { background: #000; }
.pb-intro.pb-gen { position: absolute; inset: 0; overflow: hidden; overflow: clip; container-type: size; color: #c9d2e3; background: #000;
  -webkit-user-select: none; user-select: none; --gen-accent: #a5c8ff; --gen-dim: rgb(201 210 227 / .55); }
.pb-gen__stage { position: absolute; inset: 0; overflow: hidden; overflow: clip; transform-origin: 50% 0; background-color: #000;
  background-image:
    radial-gradient(1.2px 1.2px at 23px 41px, rgb(220 230 255 / .8), transparent),
    radial-gradient(1px 1px at 121px 97px, rgb(220 230 255 / .55), transparent),
    radial-gradient(1px 1px at 67px 163px, rgb(255 225 205 / .5), transparent),
    radial-gradient(1.4px 1.4px at 173px 19px, rgb(230 225 255 / .7), transparent),
    radial-gradient(1px 1px at 211px 131px, rgb(220 230 255 / .45), transparent),
    radial-gradient(60% 40% at 28% 22%, rgb(70 34 76 / .32), transparent 70%),
    radial-gradient(45% 32% at 52% 38%, rgb(20 62 92 / .22), transparent 70%);
  background-size: 240px 190px, 240px 190px, 240px 190px, 240px 190px, 240px 190px, 100% 100%, 100% 100%; }
/* The black hole (HoleScene): one WebGL canvas over the whole screen, clear but for the shadow, the disc and its glow;
   the meteors are behind it. Without WebGL, a ring of the same light in CSS. */
.pb-gen__hole { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pb-gen__hole.is-fallback { background: radial-gradient(circle at 68% 47%, #000 0 9cqh, rgb(255 200 140 / .9) 10cqh, rgb(255 120 40 / .35) 13cqh, transparent 22cqh); }
.pb-gen__layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.pb-gen__rain { position: absolute; inset: 0; pointer-events: none; will-change: opacity; }
.pb-gen__rain .pb-meteors { left: 0; top: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
.pb-gen__haze--near { background: linear-gradient(to top, rgb(0 0 0 / .7), rgb(0 0 0 / 0) 20%); }
/* Below the near mist, more of it: as the layer climbs its foot never shows. */
.pb-gen__haze--near::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 160%; background: linear-gradient(to bottom, rgb(0 0 0 / .7), #000 30%); }
/* The dark that rises from below and swallows the scene at the end. */
.pb-gen__veil { position: absolute; left: -10%; right: -10%; top: -20%; bottom: -10%; transform: translateY(100%);
  background: linear-gradient(to bottom, rgb(0 0 0 / 0) 0%, #000 15%, #000 100%); }

/* 天衍, very wide, out of the blur (the loop sets --ls, the opacity and the blur). */
.pb-gen__title { position: absolute; left: 0; right: 0; top: 42%; translate: 0 -50%; text-align: center; pointer-events: none; opacity: 0;
  font: 300 clamp(56px, 19cqw, 300px)/1 'Noto Serif SC', var(--font-serif); --ls: .92em; letter-spacing: var(--ls); text-indent: var(--ls);
  color: #f1f3f8; text-shadow: 0 0 30px rgb(165 200 255 / .3); will-change: opacity, filter; }

.pb-gen__huds { position: absolute; inset: 0; pointer-events: none; font: 500 11px/1.5 'Instrument Sans', var(--font-sans);
  letter-spacing: .26em; color: var(--gen-dim); font-variant-numeric: tabular-nums; }
.pb-gen__hud { position: absolute; display: flex; gap: 14px; padding: 6px 10px; }
.pb-gen__hud i { position: absolute; width: 12px; height: 12px; border: 0 solid rgb(201 210 227 / .45); }
.pb-gen__hud--tl { top: 16px; left: 16px; } .pb-gen__hud--tl i { top: 0; left: 0; border-width: 1px 0 0 1px; }
.pb-gen__hud--tr { top: 16px; right: 16px; } .pb-gen__hud--tr i { top: 0; right: 0; border-width: 1px 1px 0 0; }
.pb-gen__hud--bl { bottom: 16px; left: 16px; } .pb-gen__hud--bl i { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.pb-gen__hud--br { bottom: 16px; right: 16px; } .pb-gen__hud--br i { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.pb-gen__hud .is-on { color: var(--gen-accent); }

/* Signing in: on the phone at the foot of the screen, on the website at the left. */
.pb-gen__card { position: absolute; left: 50%; bottom: max(52px, 8cqh); translate: -50% 0; width: min(360px, calc(100% - 40px));
  display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 18px; border-radius: 18px;
  background: rgb(8 10 18 / .5); border: 1px solid rgb(180 200 255 / .14); box-shadow: 0 20px 60px rgb(0 0 0 / .45);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  animation: pb-gen-fade 1.2s cubic-bezier(.2, .7, .2, 1) .4s both; }
@keyframes pb-gen-fade { from { opacity: 0; } }
.pb-gen__mark { margin: 0 0 2px; text-align: center; font: 400 26px/1 'Noto Serif SC', var(--font-serif); letter-spacing: .7em; text-indent: .7em; color: #e6ebf5; }
.pb-gen__card .pb-form { gap: 12px; padding: 0; }
.pb-gen__card .pb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pb-gen__q { margin: 0; font: 400 15px/1.6 'Noto Serif SC', var(--font-serif); color: #e2e7f2; text-align: center; }
.pb-gen__mail { margin: 0; font: 500 12px/1.4 'Instrument Sans', var(--font-sans); letter-spacing: .12em; color: var(--gen-dim); text-align: center; }
.pb-gen__ways, .pb-gen__solo { display: flex; justify-content: center; align-items: center; gap: 14px; }
.pb-gen__wait { margin: 0; text-align: center; color: var(--gen-dim); }
.pb-gen__skip { align-self: center; padding: 6px 10px; border: 0; background: none; color: var(--gen-dim); font: inherit; font-size: 13px;
  letter-spacing: .12em; cursor: pointer; }
.pb-gen__skip:hover, .pb-gen__skip:focus-visible { color: #e2e7f2; }
.pb-gen--go .pb-gen__card { pointer-events: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.desk-root .pb-gen__title { font-size: clamp(72px, 13cqw, 300px); }
.desk-root .pb-gen__card { left: 6%; bottom: auto; top: 50%; translate: 0 -50%; width: 380px; padding: 28px 28px 20px; }
.desk-root .pb-gen__mark { text-align: left; text-indent: 0; }
.desk-root .pb-gen__solo, .desk-root .pb-gen__ways { justify-content: flex-start; }
.desk-root .pb-gen__q, .desk-root .pb-gen__mail { text-align: left; }
.desk-root .pb-gen__skip { align-self: flex-start; padding-left: 0; }
.desk-root .pb-gen__huds { font-size: 12px; }
.desk-root .pb-gen__hud--tl, .desk-root .pb-gen__hud--tr { top: 24px; } .desk-root .pb-gen__hud--bl, .desk-root .pb-gen__hud--br { bottom: 24px; }
.desk-root .pb-gen__hud--tl, .desk-root .pb-gen__hud--bl { left: 28px; } .desk-root .pb-gen__hud--tr, .desk-root .pb-gen__hud--br { right: 28px; }

/* Into the dark after the test, and up out of it on the page after. */
.pb-dark { position: absolute; inset: 0; z-index: 80; background: #03050b; pointer-events: none; }
.pb-dark--in { animation: pb-dark-in .7s ease both; }
.pb-dark--out { animation: pb-dark-out 1.1s ease .05s both; }
@keyframes pb-dark-in { from { opacity: 0; } }
@keyframes pb-dark-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pb-gen__card, .pb-dark { animation: none !important; }
  .pb-dark--out { display: none; }
}

/* ---------- 开场登录 (2026-11-16, after the user's AuthComponent prompt): one step at a time, liquid-glass pills ----------
   The card itself is bare now; its parts are the glass. Each part comes in blurred, rising and fading (.pb-gate__in, a
   quarter second apart); a step leaving fades and rises away. */
@property --gate-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.pb-gen__card.pb-gate { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; animation: none; }
.pb-gate__step { display: flex; flex-direction: column; gap: 16px; transition: opacity .24s ease, transform .24s ease; }
.pb-gate__step.is-leaving { opacity: 0; transform: translateY(-10px); }
.pb-gate__form { display: flex; flex-direction: column; gap: 16px; }
.pb-gate__in { animation: pb-gate-in .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pb-gate-in { from { opacity: 0; transform: translateY(12px); filter: blur(8px); } }
.pb-gate__head { display: flex; align-items: center; gap: 10px; }
.pb-gate__title { margin: 0; font: 200 34px/1.15 'Noto Serif SC', var(--font-serif); letter-spacing: .1em; color: #eef1f8; text-shadow: 0 2px 18px rgb(0 0 0 / .6); }
.pb-gate__title--sm { font-size: 24px; }
.pb-gate__sub { margin: 0; font: 400 13px/1.5 'Instrument Sans', 'Noto Sans SC', var(--font-sans); letter-spacing: .06em; color: var(--gen-dim); }

/* Liquid glass: a dark clear body, layered inner light, and a ring of conic light that turns on hover and focus. */
.pb-gate__pill, .pb-gate__btn, .pb-gate__go, .pb-gate__pop { position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 -1px 0 rgb(0 0 0 / .45), inset 0 0 20px rgb(165 200 255 / .07), 0 12px 30px rgb(0 0 0 / .4);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.pb-gate__pill::before, .pb-gate__btn::before, .pb-gate__go::before, .pb-gate__pop::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--gate-angle), rgb(255 255 255 / .07), rgb(165 200 255 / .75) 12%, rgb(255 255 255 / .07) 28%, rgb(255 255 255 / .07) 58%, rgb(240 220 168 / .6) 72%, rgb(255 255 255 / .07) 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pb-gate__pill:hover::before, .pb-gate__pill:focus-within::before, .pb-gate__btn:hover::before, .pb-gate__btn:focus-visible::before,
.pb-gate__go:hover::before, .pb-gate__pop::before { animation: pb-gate-turn 4s linear infinite; }
@keyframes pb-gate-turn { to { --gate-angle: 360deg; } }

.pb-gate__pill { display: flex; align-items: center; height: 54px; padding: 0 7px 0 18px; border-radius: 999px; transition: box-shadow .25s ease; }
.pb-gate__pill:focus-within { box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 -1px 0 rgb(0 0 0 / .45), inset 0 0 20px rgb(165 200 255 / .1), 0 0 0 3px rgb(165 200 255 / .18), 0 12px 30px rgb(0 0 0 / .4); }
.pb-gate__lead { display: flex; flex: none; margin-right: 10px; color: var(--gen-dim); transition: color .25s ease; }
.pb-gate__pill.is-ready .pb-gate__lead { color: var(--gen-accent); }
.pb-gate__input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: #eef1f8;
  font: 400 15px/1 'Instrument Sans', 'Noto Sans SC', var(--font-sans); letter-spacing: .04em; }
.pb-gate__input::placeholder { color: rgb(201 210 227 / .4); }
.pb-gate__input[inputmode=numeric] { letter-spacing: .5em; font-variant-numeric: tabular-nums; }
.pb-gate__tag { position: absolute; left: 22px; top: -9px; padding: 0 6px; border-radius: 6px; background: #05070d; color: var(--gen-dim);
  font: 500 10px/18px 'Instrument Sans', 'Noto Sans SC', var(--font-sans); letter-spacing: .14em; animation: pb-gate-in .5s ease .3s both; }
/* The round → at the end of a field slides in once what is typed will do. */
.pb-gate__go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-left: 8px; padding: 0; border: 0; border-radius: 50%;
  color: #eef1f8; cursor: pointer; opacity: 0; transform: translateX(14px) scale(.6); pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.pb-gate__pill.is-ready .pb-gate__go { opacity: 1; transform: none; pointer-events: auto; }
.pb-gate__go:focus-visible { outline: 2px solid var(--gen-accent); outline-offset: 2px; }

.pb-gate__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; border: 0; border-radius: 999px;
  color: #eef1f8; font: 400 15px/1 'Noto Serif SC', var(--font-serif); letter-spacing: .3em; text-indent: .3em; cursor: pointer;
  transition: transform .2s ease; transform-origin: 50% 100%; }
.pb-gate__btn:active, .pb-gate__go:active { transform: perspective(600px) rotateX(14deg) scale(.97); }
.pb-gate__btn:focus-visible { outline: 2px solid var(--gen-accent); outline-offset: 3px; }
.pb-gate__btn:disabled { opacity: .5; cursor: default; }
.pb-gate__btn--wide { align-self: stretch; }
.pb-gate__btn--ghost { background: none; box-shadow: none; }
.pb-gate__ways { display: flex; gap: 12px; }
.pb-gate__ways .pb-gate__btn { flex: 1; }
.pb-gate__row { display: flex; justify-content: space-between; align-items: center; }
.pb-gate__link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; color: var(--gen-dim);
  font: 400 13px/1 'Instrument Sans', 'Noto Sans SC', var(--font-sans); letter-spacing: .1em; cursor: pointer; }
.pb-gate__link:hover:not(:disabled), .pb-gate__link:focus-visible { color: #eef1f8; }
.pb-gate__link:disabled { opacity: .45; cursor: default; }
.pb-gate__skip { align-self: center; }
.desk-root .pb-gate__skip { align-self: flex-start; }
.pb-gate .pb-err { margin: -6px 0 0 18px; }

/* While the code is checked, and after: a blurred veil and a small glass card in the middle. */
.pb-gate__veil { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: rgb(0 0 0 / .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: pb-gen-fade .3s ease both; }
.pb-gate__pop { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 220px; padding: 28px 30px; border-radius: 22px; color: #eef1f8;
  animation: pb-gate-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.pb-gate__spin { color: var(--gen-accent); animation: pb-gate-spin 1s linear infinite; }
@keyframes pb-gate-spin { to { transform: rotate(360deg); } }
.pb-gate__line { margin: 0; font: 400 15px/1.4 'Noto Serif SC', var(--font-serif); letter-spacing: .14em; animation: pb-gate-line .45s ease both; }
@keyframes pb-gate-line { from { opacity: 0; transform: translateY(10px); } }
.pb-gate__line--err { color: #ffb3a7; }
.pb-gate__pop--ok { color: #f0dca8; }
.pb-gate__pop--ok .pb-gate__icon { animation: pb-gate-burst .6s cubic-bezier(.2, .9, .3, 1.4) both; }
.pb-gate__pop--ok .pb-gate__line { color: #eef1f8; font-size: 18px; }
@keyframes pb-gate-burst { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
.pb-gate__confetti { position: absolute; inset: 0; z-index: 30; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .pb-gate__in, .pb-gate__tag, .pb-gate__pop, .pb-gate__line, .pb-gate__veil, .pb-gate__pop--ok .pb-gate__icon { animation: none !important; }
  .pb-gate__pill::before, .pb-gate__btn::before, .pb-gate__go::before, .pb-gate__pop::before { animation: none !important; }
  .pb-gate__step { transition: none; }
}

/* ---------- 灵根测试 (2026-11-16, after the user's SparklesCore prompt): the meditating figure on a line of light,
   sparks beneath, 灵根测试 below the middle; the roots leap from the belly into an arc over the head ----------
   --arc: where the line of light runs; --fw: the figure's width (rootsit-meditator.png is 1284 × 1225, its seat on the line at 91%, the navel at 51.4%). */
.pb-screen.pb-sit-ground { background: #000; }
.pb-sit { position: absolute; inset: 0; overflow: hidden; overflow: clip; container-type: size; background: #000; color: #eef1f8;
  --arc: 46%; --fw: min(58px, 14.8cqw); --gen-dim: rgb(201 210 227 / .55); --gen-accent: #a5c8ff; }
.desk-root .pb-sit { --arc: 50%; --fw: min(72px, 5.2cqw, 8.8cqh); }
.pb-sit__field { position: absolute; left: 50%; top: var(--arc); width: min(40rem, 94cqw); height: 30cqh; translate: -50% 0; }
.pb-sit__arc i { position: absolute; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #6366f1, transparent); }
.pb-sit__arc i:nth-child(1) { left: 12.5%; width: 75%; height: 2px; filter: blur(3px); }
.pb-sit__arc i:nth-child(2) { left: 12.5%; width: 75%; }
.pb-sit__arc i:nth-child(3) { left: 37.5%; width: 25%; height: 5px; filter: blur(3px); background: linear-gradient(90deg, transparent, #0ea5e9, transparent); }
.pb-sit__arc i:nth-child(4) { left: 37.5%; width: 25%; background: linear-gradient(90deg, transparent, #0ea5e9, transparent); }
.pb-sit__sparks { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: radial-gradient(60% 100% at 50% 0%, #000 22%, transparent 100%); mask-image: radial-gradient(60% 100% at 50% 0%, #000 22%, transparent 100%); }
.pb-intro .pb-sit__figure, .pb-sit__figure { position: absolute; left: 50%; top: var(--arc); width: var(--fw); height: auto; translate: -50% -91%;
  pointer-events: none; animation: pb-sit-in 1.4s ease both; }
@keyframes pb-sit-in { from { opacity: 0; filter: blur(6px); } }
/* The belly lights up as the roots come out of it (the navel, 39.6% of the figure's height above the line; it is 0.954 as tall as wide). */
.pb-sit__belly { position: absolute; left: 50%; top: calc(var(--arc) - var(--fw) * 0.378); width: calc(var(--fw) * 0.6); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .95), rgb(165 220 255 / .5) 35%, transparent 70%); opacity: 0; pointer-events: none; }
.pb-sit--out .pb-sit__belly { animation: pb-sit-flash 1.8s ease-out both; }
@keyframes pb-sit-flash { 0% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(1.8); } }
.pb-sit__orb { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.pb-sit__orb b { font: 400 15px/1 'Noto Serif SC', var(--font-serif); color: #eef1f8; text-shadow: 0 0 10px rgb(0 0 0 / .8); }
.pb-sit__foot { position: absolute; left: 0; right: 0; top: 78%; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 20px; }
.pb-sit__foot.is-shown { top: calc(var(--arc) + 3cqh); }
/* Cool light behind the dark figure, so it stands out of the black. */
.pb-sit__halo { position: absolute; left: 50%; top: var(--arc); width: calc(var(--fw) * 4); aspect-ratio: 1; translate: -50% -70%; pointer-events: none;
  background: radial-gradient(circle, rgb(130 170 235 / .3), rgb(70 100 170 / .13) 40%, transparent 68%); animation: pb-sit-in 1.4s ease both; }
/* Naming the 洞府 under the verdict (after the user's screenshot of its opening page). */
.pb-sit__in { animation: pb-gate-in .8s cubic-bezier(.2, .7, .2, 1) .35s both; }
.pb-sit__open { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: min(700px, 100%); text-align: center; }
.pb-sit__open-title { font: 600 18px/1.4 'Noto Serif SC', var(--font-serif); color: #fff; letter-spacing: .04em; }
.pb-sit__open p { margin: 0 0 6px; font: 400 13px/1.6 'Noto Sans SC', var(--font-sans); color: rgb(255 255 255 / .82); }
.pb-sit__name { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.pb-sit__label { display: flex; justify-content: space-between; font: 600 13px/1 'Noto Sans SC', var(--font-sans); color: rgb(255 255 255 / .88); }
.pb-sit__label em { font-style: normal; font-weight: 400; color: rgb(255 255 255 / .6); }
.pb-sit__input { height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .38); background: rgb(255 255 255 / .1);
  color: #fff; font: 400 16px/1 'Noto Sans SC', var(--font-sans); outline: 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-sit__input::placeholder { color: rgb(255 255 255 / .5); }
.pb-sit__input:focus { border-color: rgb(255 255 255 / .7); box-shadow: 0 0 0 3px rgb(165 200 255 / .2); }
.pb-sit__openbtn { height: 52px; margin-top: 8px; border: 0; border-radius: 14px; background: rgb(255 255 255 / .22); color: #fff; cursor: pointer;
  font: 500 16px/1 'Noto Sans SC', var(--font-sans); letter-spacing: .1em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s ease; }
.pb-sit__openbtn:hover:not(:disabled) { background: rgb(255 255 255 / .3); }
.pb-sit__openbtn:disabled { color: rgb(255 255 255 / .55); cursor: default; }
.pb-sit__openbtn:focus-visible { outline: 2px solid var(--gen-accent); outline-offset: 3px; }
button.pb-sit__openbtn.pb-sit__in { width: min(700px, 100%); }
.desk-root .pb-sit__foot:not(.is-shown) { top: 76%; }
.pb-sit__go { min-width: 188px; animation: pb-gate-in .8s cubic-bezier(.2, .7, .2, 1) .6s both; }
.pb-sit--out .pb-sit__go { opacity: 0; transition: opacity .3s ease; }
.pb-sit__verdict { margin: 0; font: 300 22px/1.4 'Noto Serif SC', var(--font-serif); letter-spacing: .3em; text-indent: .3em; color: #eef1f8; animation: pb-gate-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.pb-sit__verdict span { color: var(--gen-dim); }
@media (prefers-reduced-motion: reduce) {
  .pb-sit__figure, .pb-sit__halo, .pb-sit__go, .pb-sit__verdict, .pb-sit__in, .pb-sit--out .pb-sit__belly { animation: none !important; }
}

/* ---------- 视觉收敛 · 洞府 (2026-11-16, docs/VISUAL_RESTRAINT_PLAN.md, the user: 「按建议全定」) ----------
   A deliberate step away from the 洞府 reference picture: the room leads, the frame steps back. One 雾玻璃 for every
   control on the picture (ink, a thin white edge, no glow), gold kept for 修行 alone, new things marked by a small dot. */
.pb-d4 { --fog: rgb(14 20 24 / .46); --fog-hi: rgb(22 30 34 / .62); --fog-edge: rgb(255 255 255 / .16); --fog-ink: #e8eeec; --fog-dim: rgb(214 226 224 / .74); --fog-dot: #e46a5c; }
.pb-d4 button:focus-visible { outline-color: rgb(232 238 236 / .85); }
/* Plaques: a point of light at the end of the line till the thing or the point is hovered (or touched once). */
.pb-d4-tag { padding: calc(10 * var(--p)) calc(28 * var(--p)) calc(12 * var(--p)); border-color: var(--fog-edge); background: var(--fog); box-shadow: none; color: var(--fog-ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s ease, border-color .3s ease; }
.pb-d4-tag::before, .pb-d4-tag::after { display: none; }
.pb-d4-tag:hover, .pb-d4-tag:focus-visible { box-shadow: none; background: var(--fog-hi); }
.pb-d4-tag b { color: var(--fog-ink); font-size: max(14px, calc(30 * var(--p))); }
.pb-d4-tag small { color: var(--fog-dim); font-weight: 500; font-size: max(12px, calc(19 * var(--p))); }
.pb-d4-tag b, .pb-d4-tag small, .pb-d4-tag em { transition: opacity .3s ease; }
.pb-d4-tag em { right: calc(12 * var(--p)); top: calc(-5 * var(--p)); width: calc(13 * var(--p)); height: calc(13 * var(--p)); background: var(--fog-dot); box-shadow: 0 0 0 calc(2 * var(--p)) rgb(10 12 14 / .55); }
.pb-d4-tag__line, .pb-d4-tag--book .pb-d4-tag__line, .pb-d4-tag--letters .pb-d4-tag__line { background: rgb(255 255 255 / .32); }
.pb-d4-tag__line::after { width: calc(9 * var(--p)); height: calc(9 * var(--p)); background: #f4f7f5; box-shadow: 0 0 calc(10 * var(--p)) rgb(235 245 240 / .8); }
.pb-d4-tag.is-shut { border-color: transparent; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pb-d4-tag.is-shut b, .pb-d4-tag.is-shut small, .pb-d4-tag.is-shut em { opacity: 0; }
.pb-d4-tag.is-shut .pb-d4-tag__line { background: transparent; }
/* Hover (the thing or the point), focus or a first touch opens it. */
.pb-d4-tag.is-shut:hover, .pb-d4-tag.is-shut:focus-visible,
.pb-d4-scene:has(.pb-d4-thing--slip:hover) .pb-d4-tag--slip, .pb-d4-scene:has(.pb-d4-thing--censer:hover) .pb-d4-tag--censer,
.pb-d4-scene:has(.pb-d4-thing--book:hover) .pb-d4-tag--book, .pb-d4-scene:has(.pb-d4-thing--letters:hover) .pb-d4-tag--letters { border-color: var(--fog-edge); background: var(--fog); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-d4-tag.is-shut:hover :is(b, small), .pb-d4-tag.is-shut:focus-visible :is(b, small),
.pb-d4-scene:has(.pb-d4-thing--slip:hover) .pb-d4-tag--slip :is(b, small), .pb-d4-scene:has(.pb-d4-thing--censer:hover) .pb-d4-tag--censer :is(b, small),
.pb-d4-scene:has(.pb-d4-thing--book:hover) .pb-d4-tag--book :is(b, small), .pb-d4-scene:has(.pb-d4-thing--letters:hover) .pb-d4-tag--letters :is(b, small, em) { opacity: 1; }
.pb-d4-tag.is-shut:hover .pb-d4-tag__line, .pb-d4-tag.is-shut:focus-visible .pb-d4-tag__line,
.pb-d4-scene:has(.pb-d4-thing--slip:hover) .pb-d4-tag--slip .pb-d4-tag__line, .pb-d4-scene:has(.pb-d4-thing--censer:hover) .pb-d4-tag--censer .pb-d4-tag__line,
.pb-d4-scene:has(.pb-d4-thing--book:hover) .pb-d4-tag--book .pb-d4-tag__line, .pb-d4-scene:has(.pb-d4-thing--letters:hover) .pb-d4-tag--letters .pb-d4-tag__line { background: rgb(255 255 255 / .32); }
/* Who you are: the name and the realm, no 道籍 line; the picture without its gold halo. */
.pb-d4-me__pic { box-shadow: 0 0 0 1px rgb(255 255 255 / .28), 0 0 0 calc(3 * var(--u)) rgb(10 12 14 / .45); }
.pb-d4-me__words { color: var(--fog-ink); }
.pb-d4-me__words i { background: var(--fog); box-shadow: inset 0 0 0 1px var(--fog-edge); color: var(--fog-ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* 传讯 and 设置 only; a dot, not a number. */
.pb-d4-tools { gap: calc(10 * var(--u)); }
.pb-d4-tool { width: calc(64 * var(--u)); height: calc(64 * var(--u)); background: var(--fog); box-shadow: inset 0 0 0 1px var(--fog-edge); color: var(--fog-ink); font-size: max(12px, calc(13 * var(--u))); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-d4-tool .pb-d4-icon { width: calc(24 * var(--u)); height: calc(24 * var(--u)); color: var(--fog-ink); }
.pb-d4-tool:hover, .pb-d4-tool:focus-visible { background: var(--fog-hi); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.pb-d4-tool em.is-dot { right: calc(14 * var(--u)); top: calc(9 * var(--u)); min-width: 0; width: max(7px, calc(9 * var(--u))); height: max(7px, calc(9 * var(--u))); padding: 0; background: var(--fog-dot); box-shadow: 0 0 0 2px rgb(10 12 14 / .5); }
/* The 洞府's name opens its 灵气 and level. */
.pb-d4-name { position: relative; z-index: 4; margin-top: calc(4 * var(--u)); color: var(--fog-ink); cursor: pointer; }
.pb-d4-name:hover, .pb-d4-name[aria-expanded=true] { background: var(--fog); }
.pb-d4-card { position: relative; z-index: 4; min-width: calc(260 * var(--u)); padding: calc(10 * var(--u)) calc(26 * var(--u)); border-color: var(--fog-edge); border-radius: calc(16 * var(--u)); background: var(--fog-hi); box-shadow: none; color: var(--fog-dim); font-size: max(13px, calc(16 * var(--u)));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: pb-arrive-ui .2s ease both; }
.pb-d4-card b { color: var(--fog-ink); }
.pb-d4-card::before, .pb-d4-card::after, .pb-d4-time::before, .pb-d4-time::after { display: none; }
.pb-d4-catch { position: absolute; inset: 0; z-index: 3; pointer-events: auto; }
/* The foot: 修行 (the one gold on the page) and 「⋯」. */
.pb-d4-dock { z-index: 4; gap: calc(22 * var(--u)); }
.pb-d4-dock::after, .pb-d4-entry + .pb-d4-entry::before, .pb-d4-entry + .pb-d4-entry::after { display: none; }
.pb-d4-entry--more { align-self: center; min-width: 0; }
.pb-d4-entry--more .pb-d4-entry__disc { width: calc(40 * var(--u)); height: calc(40 * var(--u)); min-width: 36px; min-height: 36px; background: var(--fog); box-shadow: inset 0 0 0 1px var(--fog-edge); color: var(--fog-ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-d4-entry--more .pb-d4-icon { stroke-width: 3.4; }
.pb-d4-entry--more:hover .pb-d4-entry__disc, .pb-d4-entry--more:focus-visible .pb-d4-entry__disc, .pb-d4-entry--more[aria-expanded=true] .pb-d4-entry__disc { background: var(--fog-hi); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .32); color: #fff; }
.pb-d4-more { position: absolute; left: 50%; bottom: calc(100% + 14 * var(--u)); translate: -50% 0; display: grid; min-width: 168px; padding: 6px; border: 1px solid var(--fog-edge); border-radius: 16px; background: rgb(14 20 24 / .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: pb-arrive-ui .18s ease both; }
.pb-d4-moreitem { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--fog-ink); font: 500 15px/1.3 var(--d4-serif); letter-spacing: .12em; text-align: left; cursor: pointer; }
.pb-d4-moreitem .pb-d4-icon { width: 20px; height: 20px; flex: none; color: var(--fog-dim); }
.pb-d4-moreitem:hover, .pb-d4-moreitem:focus-visible { background: rgb(255 255 255 / .08); }
.pb-d4-time { border-color: var(--fog-edge); background: var(--fog); box-shadow: none; color: var(--fog-ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-d4-time small { color: var(--fog-dim); }
.pb-d4-soon { border-color: var(--fog-edge); background: rgb(14 20 24 / .9); box-shadow: none; }
.pb-d4-soon b { color: var(--fog-ink); }
.pb-d4-soon button { border-color: var(--fog-edge); }

/* The phone's 洞府: 修行 and 「⋯」 at the foot, dots not numbers, the 灵气 line only when the name is touched. */
.pb-resutil em.is-dot, .pb-resme__pic em.is-dot { min-width: 0; width: 9px; height: 9px; padding: 0; border-radius: 50%; background: #e46a5c; box-shadow: 0 0 0 2px rgb(10 12 14 / .55); }
.pb-resutil em.is-dot { right: 4px; top: 4px; }
.pb-res--phone:not(.pb-res--visit) .pb-dock { justify-content: center; gap: 56px; }
.pb-res--phone .pb-dock__item--more .pb-dock__disc { color: #e8eeec; }
.pb-res .pb-resname .pb-resname__qi { animation: pb-arrive-ui .2s ease both; }

/* ---------- 视觉收敛 · 「我」 (2026-11-16, docs/VISUAL_RESTRAINT_PLAN.md) ----------
   Night mist in place of the red-and-violet ground: ink black and a grey-teal haze; the cards are the 洞府's 雾玻璃.
   Only this page, only at night (the 昼 look is left as it is); the design system's tokens are not touched. */
[data-theme="night"] .pb-me-night {
  --mist: #0d1215; --mist-sky: #141d22; --mist-blush: #0a0e10;
  --bloom-warm: rgba(132, 160, 166, 0.14); --bloom-cool: rgba(92, 136, 146, 0.16);
  --surface-sunk: rgba(255, 255, 255, 0.1);
  --whisper: #a9c9cf;
}
[data-theme="night"] .pb-me-night :is(.pb-profile, .pb-panel) { background: rgb(18 27 31 / .56); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }

/* ---------- 传音 (2026-11-17, first-test round): talks, friends, requests; light like 道友 and 万象 ---------- */
.pb-screen.pb-cy-ground { background: linear-gradient(180deg, #e8eeec 0%, #f3f1ec 100%); color: #242a2a; }
.pb-cy-head { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 10px; padding: 18px 20px 10px; }
.pb-cy-head h1 { margin: 0; color: #17262d; font: 700 24px/32px 'Noto Serif SC', serif; letter-spacing: .14em; }
.pb-cy-demo { display: inline-flex; align-items: center; gap: 4px; padding: 1px 4px 1px 9px; border-radius: 999px; background: rgb(82 126 120 / .1); color: #3f6863; font: 500 12px/20px var(--font-sans); }
.pb-cy-demo .pb-info__btn { color: #3f6863; }
.pb-cy-add { all: unset; box-sizing: border-box; cursor: pointer; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; color: #17262d; font: 500 14px/1 var(--font-sans); }
.pb-cy-add:hover, .pb-cy-add:focus-visible { background: rgb(23 38 45 / .06); }
.pb-cy-add:focus-visible, .pb-cy-btn:focus-visible, .pb-cy-tabs button:focus-visible, .pb-cy-row__hit:focus-visible, .pb-cy-more:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-cy-tabs { position: relative; z-index: 2; flex: none; display: flex; gap: 24px; padding: 0 20px; border-bottom: 1px solid rgb(23 38 45 / .1); }
.pb-cy-tabs button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0 9px; border-bottom: 2px solid transparent; color: #5b6766; font: 500 15px/20px var(--font-sans); }
.pb-cy-tabs button[aria-selected="true"] { border-color: #527e78; color: #17262d; font-weight: 600; }
.pb-cy-tabs em, .pb-cy-row__side em { min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #b8453a; color: #fff; font: 600 11px/18px var(--font-sans); font-style: normal; text-align: center; }
.pb-cy-body { position: relative; z-index: 1; flex: 1; min-height: 0; overflow-y: auto; padding: 8px 10px 20px; }
.pb-cy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pb-cy-row { position: relative; display: flex; align-items: center; gap: 6px; border-radius: 12px; }
.pb-cy-row:hover, .pb-cy-row.is-on { background: rgb(255 255 255 / .72); }
.pb-cy-row.is-pinned { background: rgb(82 126 120 / .07); }
.pb-cy-row.is-on { box-shadow: inset 3px 0 0 #527e78; }
.pb-cy-row__hit { all: unset; box-sizing: border-box; cursor: pointer; flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; }
.pb-cy-row__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pb-cy-row__main b { display: flex; align-items: center; gap: 6px; min-width: 0; color: #17262d; font: 600 15px/21px var(--font-sans); }
.pb-cy-row__main b > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pb-cy-row__main b small { flex: none; padding: 0 6px; border-radius: 4px; background: rgb(180 154 105 / .18); color: #6f5c32; font: 500 11px/18px var(--font-sans); }
.pb-cy-row__main > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #5b6766; font: 400 13px/18px var(--font-sans); }
.pb-cy-row__side { flex: none; display: grid; justify-items: end; gap: 4px; min-width: 36px; }
.pb-cy-row__side small { color: #7d8786; font: 400 12px/16px var(--font-sans); }
.pb-cy-row__acts { flex: none; display: flex; gap: 6px; padding-right: 8px; }
.pb-cy-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: #b8453a; }
.pb-cy-muted { display: grid; color: #7d8786; }
.pb-cy-sect { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #31454c, #17262d); color: #eadfc6; font: 700 18px/1 'Noto Serif SC', serif; }
.pb-cy-more { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 34px; height: 34px; margin-right: 4px; display: grid; place-items: center; border-radius: 8px; color: #5b6766; }
.pb-cy-more:hover { background: rgb(23 38 45 / .06); }
.pb-cy-catch { position: absolute; inset: 0; z-index: 3; }
.pb-cy-row:has(.pb-cy-menu) { z-index: 5; }
.pb-cy-menu { position: absolute; right: 8px; top: calc(100% - 4px); z-index: 6; display: grid; min-width: 128px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgb(23 38 45 / .18), 0 0 0 1px rgb(23 38 45 / .06); }
.pb-cy-menu button { all: unset; cursor: pointer; padding: 9px 12px; border-radius: 6px; color: #242a2a; font: 400 14px/20px var(--font-sans); }
.pb-cy-menu button:hover, .pb-cy-menu button:focus-visible { background: rgb(82 126 120 / .1); }
.pb-cy-menu .is-danger { color: #a83a2f; }
.pb-cy-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid rgb(23 38 45 / .16); background: #fff; color: #17262d; font: 500 13px/1 var(--font-sans); white-space: nowrap; }
.pb-cy-btn:hover { border-color: rgb(23 38 45 / .32); }
.pb-cy-btn--main { border-color: #527e78; background: #527e78; color: #fff; }
.pb-cy-btn--main:hover { border-color: #456d68; background: #456d68; }
.pb-cy-btn.is-danger { border-color: #a83a2f; background: #a83a2f; color: #fff; }
.pb-cy-btn:disabled { opacity: .45; cursor: default; }
.pb-cy-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 8px 10px; }
.pb-cy-h { margin: 16px 8px 6px; color: #5b6766; font: 600 13px/18px var(--font-sans); }
.pb-cy-empty { list-style: none; margin: 20px 8px; color: #7d8786; font: 400 14px/20px var(--font-sans); text-align: center; }
.pb-cy-note { position: absolute; left: 50%; bottom: 18px; z-index: 8; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 8px; background: #17262d; color: #fff; font: 400 13px/18px var(--font-sans); white-space: nowrap; }
.pb-cy-wrap { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgb(10 14 18 / .42); }
.pb-cy-dialog { width: min(360px, 100%); box-sizing: border-box; display: grid; gap: 14px; padding: 20px; border-radius: 14px; background: #fff; color: #242a2a; box-shadow: 0 24px 60px rgb(0 0 0 / .25); }
.pb-cy-dialog h2 { margin: 0; color: #17262d; font: 600 17px/24px var(--font-sans); }
.pb-cy-dialog p { margin: 0; color: #5b6766; font: 400 14px/21px var(--font-sans); }
.pb-cy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-cy-acts { display: flex; justify-content: flex-end; gap: 8px; }
.pb-cy-blocked { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--ink-muted); font: 400 14px/20px var(--font-sans); }
.pb-cy-none { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; background: linear-gradient(180deg, #e8eeec, #f3f1ec); color: #7d8786; font: 400 15px/22px var(--font-sans); }
.pb-cy-none .pb-railmark { width: 40px; height: 40px; opacity: .5; }
.pb-cy-none p { margin: 0; }

/* The phone's four tabs (2026-11-17): what is above them stops short of them. */
.pb-tabview { position: absolute; inset: 0 0 calc(58px + env(safe-area-inset-bottom, 0px)) 0; overflow: hidden; }
.pb-tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(58px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(4, 1fr); background: rgb(14 20 24 / .94); border-top: 1px solid rgb(255 255 255 / .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pb-tabbar button { all: unset; cursor: pointer; position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; color: rgb(214 222 221 / .6); font: 500 11px/14px var(--font-sans); }
.pb-tabbar button.is-on { color: #eadfc6; }
.pb-tabbar .pb-railmark { width: 22px; height: 22px; }
.pb-tabbar em { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: #b8453a; color: #fff; font: 600 10px/16px var(--font-sans); font-style: normal; text-align: center; }
.pb-tabbar button:focus-visible { outline: 2px solid #eadfc6; outline-offset: -4px; border-radius: 10px; }

/* ---------- 传音 and 宗门 on the server (2026-11-17): the same light page as the local 传音 ---------- */
.pb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pb-cy-me { color: #5b6766; font: 500 12px/18px var(--font-sans); letter-spacing: .04em; }
.pb-cy-row__hit--still { cursor: default; }
.pb-cy-gate { margin: 24px 16px; padding: 24px 20px; display: grid; justify-items: center; gap: 12px; border-radius: 14px; background: rgb(255 255 255 / .7); color: #5b6766; text-align: center; font: 400 14px/21px var(--font-sans); }
.pb-cy-gate .pb-railmark { width: 32px; height: 32px; color: #527e78; }
.pb-cy-gate p { margin: 0; }
.pb-cy-error { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 12px 0; padding: 8px 12px; border-radius: 10px; background: #fbeeea; color: #8f3127; font: 400 13px/19px var(--font-sans); }
.pb-cy-field { display: grid; gap: 6px; color: #5b6766; font: 500 13px/18px var(--font-sans); }
.pb-cy-field input, .pb-ns-role select { box-sizing: border-box; width: 100%; height: 40px; padding: 0 12px; border: 1px solid rgb(23 38 45 / .18); border-radius: 8px; background: #fff; color: #17262d; font: 400 15px/20px var(--font-sans); }
.pb-cy-field input:focus-visible, .pb-ns-role select:focus-visible { outline: 2px solid #527e78; outline-offset: 1px; }
.pb-nt-head { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; border-bottom: 1px solid rgb(23 38 45 / .1); background: rgb(255 255 255 / .55); }
.pb-nt-head h1 { margin: 0; color: #17262d; font: 600 17px/24px var(--font-sans); }
.pb-nt-head small { color: #5b6766; font: 400 12px/16px var(--font-sans); }
.pb-nt-back, .pb-nt-round { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #17262d; }
.pb-nt-back:hover, .pb-nt-round:hover { background: rgb(23 38 45 / .06); }
.pb-nt-back:focus-visible, .pb-nt-round:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-nt-log { position: relative; z-index: 1; flex: 1; min-height: 0; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; }
.pb-nt-earlier { align-self: center; margin-bottom: 10px; }
.pb-nt-list { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.pb-nt-msg { justify-self: start; max-width: min(78%, 560px); display: grid; gap: 3px; }
.pb-nt-msg.is-mine { justify-self: end; justify-items: end; }
.pb-nt-msg b { color: #5b6766; font: 500 12px/16px var(--font-sans); }
.pb-nt-msg p { margin: 0; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: #fff; color: #17262d; font: 400 15px/22px var(--font-sans); white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgb(23 38 45 / .08); }
.pb-nt-msg.is-mine p { border-radius: 12px 12px 4px 12px; background: #dcebe7; }
.pb-nt-msg.is-sending p { opacity: .7; }
.pb-nt-msg.is-failed p { box-shadow: 0 0 0 1px #c0473b; }
.pb-nt-msg small { color: #7d8786; font: 400 11px/15px var(--font-sans); }
.pb-nt-fail { color: #a83a2f !important; }
.pb-nt-fail button { all: unset; cursor: pointer; margin-left: 8px; color: #17262d; text-decoration: underline; font: 500 12px/15px var(--font-sans); }
.pb-nt-compose { position: relative; z-index: 2; flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgb(23 38 45 / .1); background: rgb(255 255 255 / .7); }
.pb-nt-input { flex: 1; min-width: 0; box-sizing: border-box; min-height: 40px; max-height: 140px; padding: 9px 12px; border: 1px solid rgb(23 38 45 / .18); border-radius: 10px; background: #fff; color: #17262d; font: 400 15px/21px var(--font-sans); resize: none; field-sizing: content; }
.pb-nt-input:focus-visible { outline: 2px solid #527e78; outline-offset: 1px; }
.pb-nt-compose .pb-cy-btn { min-height: 40px; }
.pb-nt-plus { position: relative; }
.pb-nt-round { border: 1px solid rgb(23 38 45 / .16); background: #fff; font: 400 22px/1 var(--font-sans); }
.pb-nt-plusmenu { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }
.pb-ns-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 8px; padding: 16px; border-radius: 14px; background: rgb(255 255 255 / .75); }
.pb-ns-card > div { flex: 1; min-width: 160px; display: grid; gap: 2px; }
.pb-ns-card h2 { margin: 0; color: #17262d; font: 700 20px/28px 'Noto Serif SC', serif; letter-spacing: .08em; }
.pb-ns-card p { margin: 0; color: #5b6766; font: 400 14px/20px var(--font-sans); }
.pb-ns-card small { color: #7d8786; font: 400 12px/18px var(--font-sans); }
.pb-cy-sect--big { width: 56px; height: 56px; border-radius: 14px; font-size: 22px; }
.pb-ns-role select { width: auto; height: 32px; font-size: 13px; }
.pb-ns-wait { color: #7d8786; font: 400 12px/16px var(--font-sans); }
.pb-ns-leave { margin-top: 16px; }

/* The opening put off (2026-11-17): 暂不登录 and 先逛逛 side by side; the 洞府 waiting for its roots. */
.pb-gate__row--skip { justify-content: center; gap: 22px; }
.desk-root .pb-gate__row--skip { justify-content: flex-start; }
.pb-screen.pb-unrooted { display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(120% 80% at 50% 0%, #22343b 0%, #101a1f 60%, #0a1013 100%); color: #e6ece9; }
.pb-unrooted__card { width: min(420px, 100%); display: grid; justify-items: center; gap: 14px; text-align: center; }
.pb-unrooted__card h1 { margin: 0; font: 700 28px/36px 'Noto Serif SC', serif; letter-spacing: .3em; margin-right: -.3em; }
.pb-unrooted__card p { margin: 0; color: rgb(230 236 233 / .78); font: 400 15px/24px var(--font-sans); }
.pb-unrooted__go { margin-top: 8px; min-height: 42px; padding: 0 22px; font-size: 15px; }

/* A private talk in 传音: day theme, light page (2026-11-17). */
.pb-dm-day { position: absolute; inset: 0; color: var(--ink); }
.pb-dm-day .pb-top { background: rgb(255 255 255 / .55); border-bottom: 1px solid rgb(23 38 45 / .1); }

/* 收音盒 on the phone: a slip can be answered (2026-11-17). */
.pb-slipreply { display: flex; justify-content: flex-end; margin-top: -2px; }
.pb-slipreply__btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px; color: var(--ink-muted); font: 500 13px/1 var(--font-sans); }
.pb-slipreply__btn:hover { color: var(--ink); background: rgb(255 255 255 / .08); }
.pb-slipreply__btn:focus-visible { outline: 2px solid var(--qing); outline-offset: 1px; }

/* ---------- 天衍 sidebar (2026-11-19, the user's 15-picture pack): a narrow rail, each place a mark over its name ----------
   One width only (90 units; --ru is one unit at 860 high, so it fits any window). Every picture is cut to what shows
   (RAIL_PIC in app.js), so the sizes here are the sizes you see. The pack's background is far wider than the rail: its
   frame is laid on as a nine-slice border, its sky and hills fill the rail at full height, centred, never stretched. */
.pb-desk { --ru: min(calc(100vw / 1672), calc(100vh / 860)); --rail-w: calc(90 * var(--ru));
  --tr-base: #0b1924; --tr-gold: #e2cba2; --tr-gold-hi: #f6dfb0; --tr-ink: #f1ede4; }
.pb-desk .pb-rail.pb-trail { position: absolute; left: 0; top: 0; bottom: 0; z-index: 30; display: block; width: var(--rail-w) !important; padding: 0 !important; overflow: hidden; isolation: isolate;
  background: var(--tr-base) !important; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--tr-gold); box-shadow: 3px 0 16px rgb(0 0 0 / .32) !important; }
.pb-desk .pb-d4 .pb-rail.pb-trail { background: var(--tr-base) !important; }
.pb-trail button { font: inherit; }
.pb-trail :focus-visible { outline: 1px solid var(--tr-gold-hi); outline-offset: 2px; }
.pb-trail__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: url(assets/rail/sidebar-background.png) center bottom / auto 100% no-repeat, var(--tr-base); }
.pb-trail__frame { position: absolute; inset: 0; z-index: 3; pointer-events: none; border: calc(7 * var(--ru)) solid transparent;
  border-image: url(assets/rail/sidebar-background.png) 46 / calc(7 * var(--ru)) / 0 stretch; }
.pb-trail__pic { display: block; flex: none; background-repeat: no-repeat; }

/* The name: the cloud-wave band, then the gold line with its diamond. */
.pb-trail__brand { all: unset; box-sizing: border-box; position: relative; display: block; height: calc(136 * var(--ru)); cursor: default; }
button.pb-trail__brand { cursor: pointer; }
.pb-trail__pic--logo { position: absolute; left: calc(50% - 31.8 * var(--ru)); top: calc(51 * var(--ru)); width: calc(63.6 * var(--ru)); }
.pb-trail__rule { position: absolute; left: calc(50% - 33.7 * var(--ru)); top: calc(112 * var(--ru)); width: calc(67.3 * var(--ru)); }
.pb-trail__rule .pb-trail__pic { width: 100%; }

/* The five places: mark over name; the chosen one has the halo behind its mark (no frame drawn). */
.pb-trail__nav { display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--ru)); }
.pb-desk .pb-rail.pb-trail .pb-rail__item { all: unset; box-sizing: border-box; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: calc(var(--rail-w) - 14 * var(--ru)); height: calc(66 * var(--ru)); color: var(--tr-gold); cursor: pointer; }
.pb-trail__slot { position: relative; display: grid; place-items: center; width: 100%; height: calc(38 * var(--ru)); }
.pb-trail__slot > .pb-trail__pic { grid-area: 1 / 1; filter: drop-shadow(0 calc(1 * var(--ru)) calc(1.5 * var(--ru)) rgb(0 0 0 / .5)); transition: filter .18s ease; }
.pb-trail__pic--dongfu, .pb-trail__pic--sect, .pb-trail__pic--market { width: calc(34 * var(--ru)); }
.pb-trail__pic--chuanyin, .pb-trail__pic--moments { height: calc(31 * var(--ru)); }
.pb-trail__slot > .pb-trail__pic--halo { z-index: -1; width: calc(var(--rail-w) - 14 * var(--ru)); opacity: 0; filter: none; transition: opacity .2s ease; }
.pb-desk .pb-rail.pb-trail .pb-rail__item.is-on .pb-trail__pic--halo { opacity: 1; }
.pb-desk .pb-rail.pb-trail .pb-rail__item.is-on { color: var(--tr-gold-hi); cursor: default; }
.pb-desk .pb-rail.pb-trail .pb-rail__item:hover:not(.is-on) .pb-trail__slot > .pb-trail__pic:not(.pb-trail__pic--halo) { filter: brightness(1.15) drop-shadow(0 0 calc(4 * var(--ru)) rgb(236 200 140 / .35)); }
.pb-trail .pb-rail__word { display: block; margin-top: calc(3 * var(--ru)); color: inherit; font: 500 calc(13 * var(--ru))/1.2 'Noto Serif SC', var(--font-serif), serif; letter-spacing: .12em; text-indent: .12em;
  white-space: nowrap; text-shadow: 0 1px calc(3 * var(--ru)) rgb(0 0 0 / .6); }
/* The pack's red point, only where there is something new (NEWS, real data). */
.pb-desk .pb-rail.pb-trail .pb-rail__item em, .pb-trail__tool em { display: block; position: absolute; width: calc(11 * var(--ru)); height: calc(11 * var(--ru)); border-radius: 0; box-shadow: none;
  background: url(assets/rail/badge-unread-red.png) 49.85% 50.25% / 752.9% 478.5% no-repeat; }
.pb-desk .pb-rail.pb-trail .pb-rail__item em { left: calc(50% + 12 * var(--ru)); top: calc(4 * var(--ru)); }
.pb-trail__tool em { right: calc(2 * var(--ru)); top: calc(2 * var(--ru)); }

/* The foot, from the bottom up: 退出 (its place kept even when there is none), 设置, 通知, your face, the cloud line. */
.pb-trail__foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: calc(12 * var(--ru)); padding-bottom: calc(28 * var(--ru)); }
.pb-trail__cloud .pb-trail__pic { width: calc(74 * var(--ru)); }
.pb-trail__me { all: unset; box-sizing: border-box; display: block; flex: none; width: calc(46 * var(--ru)); height: calc(46 * var(--ru)); border-radius: 50%; cursor: pointer; }
.pb-trail__me.is-on { cursor: default; }
/* Your own face (never a sample picture) in a fine gold ring. */
.pb-trail__face { display: block; width: 100%; height: 100%; border-radius: 50%;
  box-shadow: 0 0 0 calc(1.5 * var(--ru)) rgb(226 198 150 / .9), 0 0 0 calc(2.5 * var(--ru)) rgb(10 26 39 / .7), 0 0 calc(9 * var(--ru)) rgb(236 200 140 / .28); }
.pb-trail__face > .wd-avatar { width: 100% !important; height: 100% !important; }
.pb-trail__face .wd-avatar__roots { display: none; }
.pb-trail__me:hover .pb-trail__face { box-shadow: 0 0 0 calc(1.5 * var(--ru)) rgb(244 216 172 / 1), 0 0 0 calc(2.5 * var(--ru)) rgb(10 26 39 / .7), 0 0 calc(12 * var(--ru)) rgb(236 200 140 / .4); }
.pb-trail__tool { all: unset; box-sizing: border-box; position: relative; display: grid; place-items: center; flex: none; width: calc(36 * var(--ru)); height: calc(36 * var(--ru)); border-radius: calc(8 * var(--ru)); }
button.pb-trail__tool { cursor: pointer; }
.pb-trail__tool .pb-trail__pic { filter: drop-shadow(0 calc(1 * var(--ru)) calc(1.5 * var(--ru)) rgb(0 0 0 / .5)); transition: filter .18s ease; }
button.pb-trail__tool:hover .pb-trail__pic { filter: brightness(1.15) drop-shadow(0 0 calc(4 * var(--ru)) rgb(236 200 140 / .35)); }
.pb-trail__pic--bell { height: calc(23 * var(--ru)); }
.pb-trail__pic--gear { height: calc(25 * var(--ru)); }
.pb-trail__pic--power { height: calc(22 * var(--ru)); }
/* 退出, asked once: what it does, then 确认退出 or 取消. */
.pb-trail__ask { position: fixed; left: calc(var(--rail-w) + 10px); bottom: calc(24 * var(--ru)); z-index: 60; width: 260px; padding: 14px 16px; border: 1px solid rgb(223 196 155 / .45); border-radius: 8px;
  background: rgb(10 26 39 / .96); box-shadow: 0 10px 30px rgb(0 0 0 / .45); color: var(--tr-ink); font: 400 13px/1.6 var(--font-sans); }
.pb-trail__ask p { margin: 0 0 12px; }
.pb-trail__ask div { display: flex; gap: 8px; justify-content: flex-end; }
.pb-trail__ask button { padding: 6px 12px; border: 1px solid rgb(223 196 155 / .4); border-radius: 6px; background: none; color: var(--tr-gold); cursor: pointer; }
.pb-trail__ask button.is-go { border-color: #c0473b; background: #8e2f27; color: #fbe9e4; }
.pb-trail__ask button:disabled { opacity: .5; cursor: default; }
@media (prefers-reduced-motion: reduce) { .pb-trail, .pb-trail * , .pb-trail *::before, .pb-trail *::after { transition: none !important; } }

/* ---------- 传音 talk, 晨雾 (2026-11-18): grouped messages, answers, the round input; the 灵网 stays behind ---------- */
.pb-cyc { --cy-ink: #17262d; --cy-ink-2: #3d4b4f; --cy-mute: #7d8786; --cy-line: rgb(23 38 45 / .09);
  --cy-other: #fff; --cy-self: #2f5753; --cy-on-self: #f1f5f3; --cy-jade: #527e78; --cy-jade-soft: rgb(82 126 120 / .1);
  --cy-field-line: rgb(23 38 45 / .12); --cy-hover: rgb(23 38 45 / .05); color: var(--cy-ink); }
.pb-cyc-head { flex: none; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 16px; box-sizing: border-box; background: rgb(255 255 255 / .62); border-bottom: 1px solid var(--cy-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-cyc-head .pb-back { flex: none; }
.pb-desk .pb-cyc-back { display: none; }
.pb-cyc-who { min-width: 0; display: grid; gap: 1px; }
.pb-cyc-who h1 { margin: 0; color: var(--cy-ink); font: 600 16px/22px var(--font-serif); letter-spacing: .04em; }
.pb-cyc-who small { color: var(--cy-mute); font: 400 12px/16px var(--font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-cyc-log { display: flex; flex-direction: column; gap: 14px; padding: 12px 20px 18px; }
.pb-cyc-day { display: flex; align-items: center; gap: 12px; margin: 4px 0 -2px; color: var(--cy-mute); font: 400 12px/16px var(--font-sans); }
.pb-cyc-day::before, .pb-cyc-day::after { content: ""; flex: 1; height: 1px; background: var(--cy-line); }
.pb-cyc-g { display: flex; align-items: flex-start; gap: 10px; max-width: min(78%, 560px); }
.pb-cyc-g.is-mine { align-self: flex-end; }
.pb-cyc-av { flex: none; }
.pb-cyc-col { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pb-cyc-g.is-mine .pb-cyc-col { align-items: flex-end; }
.pb-cyc-meta { display: flex; align-items: baseline; gap: 8px; color: var(--cy-mute); font: 400 12px/16px var(--font-sans); }
.pb-cyc-meta b { color: var(--cy-ink-2); font-weight: 500; font-size: 13px; }
.pb-cyc-g.is-mine .pb-cyc-meta { margin: -1px 2px 0; font-size: 11px; line-height: 14px; }
.pb-cyc-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100%; }
.pb-cyc-g.is-mine .pb-cyc-item { align-items: flex-end; }
.pb-cyc-item.is-picking { z-index: 3; }
.pb-cyc-line { display: flex; align-items: center; gap: 4px; max-width: 100%; }
.pb-cyc-g.is-mine .pb-cyc-line { flex-direction: row-reverse; }
.pb-cyc-b { min-width: 0; padding: 9px 14px; border-radius: 16px; background: var(--cy-other); box-shadow: 0 0 0 1px rgb(23 38 45 / .06); color: var(--cy-ink); font: 400 15px/22px var(--font-sans); white-space: pre-wrap; overflow-wrap: anywhere; -webkit-touch-callout: none; }
.pb-cyc-g:not(.is-mine) .pb-cyc-item:first-of-type .pb-cyc-b { border-top-left-radius: 6px; }
.pb-cyc-g.is-mine .pb-cyc-b { background: var(--cy-self); color: var(--cy-on-self); box-shadow: none; }
.pb-cyc-g.is-mine .pb-cyc-item:first-child .pb-cyc-b { border-top-right-radius: 6px; }
.pb-cyc-b.is-media, .pb-cyc-g.is-mine .pb-cyc-b.is-media { padding: 0; background: none; box-shadow: none; border-radius: 12px; white-space: normal; }
.pb-cyc-g.is-mine .pb-msg-gift { color: #e6cf98; }
.pb-cyc-readd { flex: none; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--cy-mute); cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.pb-cyc-item:hover .pb-cyc-readd, .pb-cyc-readd:focus-visible, .pb-cyc-readd[aria-expanded="true"] { opacity: 1; }
.pb-cyc-readd:hover { background: var(--cy-hover); color: var(--cy-ink); }
@media (hover: none) { .pb-cyc-readd { display: none; } }
.pb-cyc-pick { position: absolute; top: 100%; margin-top: 4px; display: flex; gap: 2px; padding: 4px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--cy-line), 0 6px 18px rgb(23 38 45 / .12); }
.pb-cyc-g:not(.is-mine) .pb-cyc-pick { left: 0; }
.pb-cyc-g.is-mine .pb-cyc-pick { right: 0; }
.pb-cyc-pick button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 18px; cursor: pointer; }
.pb-cyc-pick button:hover, .pb-cyc-pick button[aria-pressed="true"] { background: var(--cy-jade-soft); }
.pb-cyc-re { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-cyc-re button { height: 26px; display: inline-flex; align-items: center; gap: 3px; padding: 0 9px; border: 1px solid rgb(82 126 120 / .45); border-radius: 13px; background: var(--cy-jade-soft); color: var(--cy-ink-2); font: 400 13px/1 var(--font-sans); cursor: pointer; }
.pb-cyc-re button i { font-style: normal; font-size: 12px; color: var(--cy-mute); }
.pb-cyc-readd:focus-visible, .pb-cyc-re button:focus-visible, .pb-cyc-pick button:focus-visible, .pb-cyc-round:focus-visible, .pb-cyc-main:focus-visible, .pb-cyc-menu button:focus-visible { outline: 2px solid var(--cy-jade); outline-offset: 2px; }
.pb-cyc .pb-cyc-compose { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .62); border-top: 1px solid var(--cy-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pb-cyc-plus { position: relative; flex: none; }
.pb-cyc-round { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--cy-field-line); border-radius: 50%; background: rgb(255 255 255 / .7); color: var(--cy-mute); cursor: pointer; }
.pb-cyc-round:hover, .pb-cyc-round[aria-expanded="true"] { color: var(--cy-ink); background: #fff; }
.pb-cyc-field { position: relative; flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: flex-end; box-sizing: border-box; padding: 0 2px 0 18px; border: 1px solid var(--cy-field-line); border-radius: 22px; background: #fff; }
.pb-cyc-field:focus-within { border-color: rgb(82 126 120 / .55); }
.pb-cyc-field textarea { flex: 1; min-width: 0; max-height: 96px; margin: 0; padding: 10px 0; border: 0; outline: 0; resize: none; background: none; color: var(--cy-ink); font: 400 15px/22px var(--font-sans); }
.pb-cyc-field textarea::placeholder { color: #8d9796; }
.pb-cyc-field textarea:disabled { background: none; }
.pb-cyc-field .pb-cyc-smile { width: 40px; height: 40px; border: 0; background: none; }
.pb-cyc-rec { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 42px; color: var(--cy-ink); font: 500 15px/1 var(--font-sans); font-variant-numeric: tabular-nums; }
.pb-cyc-rec i { width: 8px; height: 8px; border-radius: 50%; background: #c0473b; animation: pb-cyc-blink 1s ease-in-out infinite; }
.pb-cyc-rec span { color: var(--cy-mute); font-size: 12px; font-weight: 400; }
@keyframes pb-cyc-blink { 50% { opacity: .25; } }
.pb-cyc-compose.is-rec .pb-cyc-field { border-color: rgb(192 71 59 / .5); }
.pb-cyc-pop { position: absolute; bottom: calc(100% + 8px); z-index: 4; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--cy-line), 0 8px 24px rgb(23 38 45 / .14); }
.pb-cyc-menu { left: 0; display: grid; min-width: 152px; padding: 6px; }
.pb-cyc-menu button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--cy-ink); font: 400 14px/1 var(--font-sans); text-align: left; white-space: nowrap; cursor: pointer; }
.pb-cyc-menu button:hover { background: var(--cy-hover); }
.pb-cyc-emoji { right: 0; display: grid; grid-template-columns: repeat(5, 36px); gap: 2px; padding: 6px; }
.pb-cyc-emoji button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; font-size: 19px; cursor: pointer; }
.pb-cyc-emoji button:hover { background: var(--cy-hover); }
.pb-cyc-main { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #17262d; color: #f1f5f3; cursor: pointer; transition: background .15s ease; }
.pb-cyc-main.is-send { background: var(--cy-self); }
.pb-cyc-main.is-stop { background: #c0473b; }
@media (prefers-reduced-motion: reduce) { .pb-cyc-rec i { animation: none; } .pb-cyc-readd { transition: none; } }
/* The 传音 list: what is open is a solid row with one thin gold line (the page's only gold); unread is a dot. */
.pb-cy-row.is-on { background: rgb(255 255 255 / .9); box-shadow: inset 2px 0 0 #b39a62; }
.pb-cy-row:hover:not(.is-on) { background: rgb(255 255 255 / .55); }
.pb-cy-dot.is-quiet { background: #a9b2b1; }
.pb-cy-tabs .pb-cy-dot { width: 7px; height: 7px; }
/* 传音 talk, phase 2 (2026-11-18): ticks on the server, failures, everyone's answers. */
.pb-cyc-st { display: inline-flex; align-items: center; gap: 3px; color: var(--cy-mute); }
.pb-cyc-st.is-read { color: #3f7a72; }
.pb-cyc-st.is-sending svg { width: 13px; }
.pb-cyc-item.is-sending .pb-cyc-b { opacity: .62; }
.pb-cyc-item.is-failed .pb-cyc-b { box-shadow: 0 0 0 1.5px #c0473b; }
.pb-cyc-fail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #b8453a; font: 400 12px/16px var(--font-sans); }
.pb-cyc-fail button { padding: 0; border: 0; background: none; color: var(--cy-jade); font: 500 12px/16px var(--font-sans); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pb-cyc-re button { border-color: var(--cy-line); background: rgb(255 255 255 / .8); }
.pb-cyc-re button.is-mine { border-color: rgb(82 126 120 / .45); background: var(--cy-jade-soft); }
.pb-cyc-re button:disabled { cursor: default; }
.pb-cyc-main:disabled { background: #c9d0cf; cursor: default; }
.pb-cyc-head .pb-cyc-sect { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
.pb-cyc .pb-cy-error { flex: none; }
.pb-cyc .pb-nt-earlier { align-self: center; }

/* 我: 修行手札 and 相册, side by side (2026-11-19, from the old 洞府). */
.pb-me-keep { display: flex; gap: 10px; }
.pb-me-keep > * { flex: 1; }
.pb-cy-self { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 44px; height: 44px; margin-left: -6px; display: grid; place-items: center; border-radius: 50%; }
.pb-cy-self:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }

/* 洞府 (2026-11-19): the top right, and how you sit and send, above the input. */
.pb-cy-tools-r { display: inline-flex; align-items: center; }
.pb-cy-tool { all: unset; box-sizing: border-box; cursor: pointer; position: relative; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #17262d; }
.pb-cy-tool:hover, .pb-cy-tool:focus-visible { background: rgb(23 38 45 / .06); }
.pb-cy-tool:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-cy-tool .pb-cy-dot { position: absolute; top: 7px; right: 7px; }
.pb-cybar { position: relative; z-index: 3; flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 16px 0; }
.pb-cybar__seg { display: inline-flex; padding: 2px; border-radius: 999px; background: rgb(23 38 45 / .06); }
.pb-cybar__seg button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; color: #4c5a59; font: 500 13px/1 var(--font-sans); }
.pb-cybar__seg button[aria-pressed="true"] { background: #fff; color: #17262d; font-weight: 600; box-shadow: 0 1px 3px rgb(23 38 45 / .14); }
.pb-cybar__seg button:disabled { cursor: not-allowed; opacity: .45; }
.pb-cybar__seg button:focus-visible { outline: 2px solid #527e78; outline-offset: 1px; }
.pb-cybar__qi { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: #5b6766; font: 400 13px/18px var(--font-sans); }
.pb-cybar__qi.is-short { color: #a3402f; font-weight: 600; }
.pb-cybar__pop { position: absolute; left: 12px; bottom: calc(100% + 6px); z-index: 6; width: min(320px, calc(100% - 24px)); display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .97); box-shadow: 0 10px 30px rgb(23 38 45 / .18); color: #17262d; font: 400 13px/20px var(--font-sans); }
.pb-cybar__pop p { margin: 0; }
.pb-cybar__pop small { color: #5b6766; }
.pb-cyc-main:disabled { cursor: not-allowed; }
@media (max-width: 500px) { .pb-cybar { padding: 8px 12px 0; } .pb-cybar__seg button { min-height: 36px; padding: 0 10px; } .pb-cybar__qi { margin-left: 0; } }
.pb-cy-head h1 { white-space: nowrap; }
@media (max-width: 500px) { .pb-cy-head { gap: 6px; padding-right: 10px; } .pb-cy-demo { padding: 0; background: none; font-size: 0; } .pb-cy-demo .pb-info__btn { font-size: 12px; } .pb-cy-add { padding: 0 8px; } }

/* 洞府的门 (2026-11-19): a friend's face opens 进入洞府 at the column's edge; who is inside; the visit. */
.pb-cy-face { all: unset; box-sizing: border-box; cursor: pointer; flex: none; margin-left: 8px; display: grid; place-items: center; border-radius: 50%; }
.pb-cy-face:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-cy-row.has-face .pb-cy-row__hit { padding-left: 4px; }
.pb-cy-row:has(.pb-cy-doorpop) { z-index: 6; }
.pb-cy-doorpop { position: absolute; right: 6px; top: 50%; z-index: 6; transform: translateY(-50%); max-width: calc(100% - 12px); display: grid; gap: 8px; padding: 8px; border-radius: 12px; background: rgb(255 255 255 / .97); box-shadow: 0 8px 24px rgb(23 38 45 / .18); }
.pb-cy-enter { min-height: 36px; }
.pb-door { display: grid; gap: 8px; justify-items: start; }
.pb-door__say { margin: 0; color: #17262d; font: 400 13px/19px var(--font-sans); }
.pb-door__why { margin: 0; color: #7d8786; font: 400 12px/18px var(--font-sans); }
.pb-door__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.pb-cy-here { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 4px 8px; padding: 8px 10px; border-radius: 12px; background: rgb(82 126 120 / .08); }
.pb-faces { position: relative; z-index: 3; flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 16px 0; }
.pb-cy-here .pb-faces { padding: 0; }
.pb-faces > small { color: #5b6766; font: 500 12px/1 var(--font-sans); margin-right: 2px; }
.pb-faces__one { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 2px 10px 2px 3px; border-radius: 999px; background: rgb(255 255 255 / .8); color: #17262d; font: 500 13px/1 var(--font-sans); }
.pb-faces__one.is-on, .pb-faces__one:hover { box-shadow: inset 0 0 0 1px #527e78; }
.pb-faces__one:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-visit__head { justify-content: space-between; }
.pb-visit__head .pb-cyc-who { min-width: 0; }
.pb-visit__out { flex: none; }
.pb-visit__door { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.pb-visit__door .pb-door { justify-items: center; }
.pb-visit__note { margin: 8px auto; color: #5b6766; font: 400 12px/18px var(--font-sans); text-align: center; display: flex; align-items: center; justify-content: center; gap: 4px; }
.pb-notice-row--knock { flex-wrap: wrap; }
.pb-notice-row__acts { display: inline-flex; gap: 6px; margin-left: auto; }
.pb-cyc-group { margin-left: auto; flex: none; }
.pb-cy-doorpop { left: 58px; right: 6px; max-width: none; justify-items: end; }
.pb-cy-doorpop .pb-door { justify-items: end; text-align: right; }

/* 洞府壁纸 (2026-11-19): the picture under a light veil, so the words stay easy to read. */
.pb-wall { position: absolute; inset: 0; z-index: 0; background: center / cover no-repeat; pointer-events: none; }
.pb-wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(243 241 236 / .7) 0%, rgb(243 241 236 / .84) 100%); }
.pb-screen.pb-cy-ground.has-wall, .pb-split--cy.has-wall .pb-screen.pb-cy-ground { background: transparent; }
.pb-split--cy.has-wall { background: #eef0ec; }
/* Paint a conversation immediately instead of fading through the dark shell. */
.pb-screen.pb-cy-conversation { animation: none; }
.pb-split--cy.has-wall > .pb-split__pane { position: relative; z-index: 1; }
.pb-cy-ground.has-wall > :not(.pb-wall):not(.pb-respanel-wrap):not(.pb-cy-sheet) { position: relative; z-index: 1; }
.pb-cy-ground.has-wall .pb-chatwrap { background: transparent; }
.pb-resrow--wall .pb-wallpick__now { display: block; width: 100%; max-width: 240px; aspect-ratio: 16 / 9; border-radius: 10px; background: center / cover no-repeat; box-shadow: inset 0 0 0 1px rgb(23 38 45 / .1); }
/* The sheets of the top right are light on the light pages (data-theme=day gives the ink). */
.pb-cy-sheet .pb-respanel-wrap { z-index: 9; background: rgb(23 38 45 / .14); }
.pb-cy-sheet .pb-respanel { background: rgb(255 255 255 / .97); box-shadow: 0 20px 50px rgb(23 38 45 / .2); }
.pb-cy-sheet .pb-respanel__head, .pb-cy-sheet .pb-respanel__note { border-color: rgb(23 38 45 / .08); }
.pb-cy-sheet .pb-notice-row { background: rgb(23 38 45 / .04); }
.pb-cy-sheet .pb-guest { border-color: rgb(23 38 45 / .07); }
.pb-cy-sheet .pb-seesel { border-color: rgb(23 38 45 / .18); }
.pb-cy-sheet .pb-seesel:hover, .pb-cy-sheet .pb-seesel:focus-within { border-color: rgb(23 38 45 / .4); }
.pb-cy-sheet .pb-seesel option { background: #fff; color: #17262d; }
.pb-split--cy.has-wall .pb-chatwrap { background: transparent; }
/* On the website the sheets of the top right stand at the window's right, not inside the narrow list. */
.pb-desk > .pb-cy-sheet { position: fixed; inset: 0 0 0 var(--rail-w); z-index: 30; }
.pb-desk > .pb-cy-sheet .pb-respanel-wrap { position: absolute; inset: 0; }
.pb-desk .pb-cy-sheet .pb-respanel { width: min(400px, 100%); }
.pb-cy-sheet .pb-notice-row > :first-child, .pb-cy-sheet .pb-guest > :first-child { flex: none; }

/* 道籍卡 (2026-11-19 开场改版, after the user's identity-card picture): the card face is assets/idcard-face.png as given,
   shown to its face only (the face is about x 64–1504, y 82–892 of its 1568×1003); the words on it at the picture's
   places, in card widths (cqw). The form beside it (below it on the phone). */
.pb-screen.pb-idc-ground { background: #161d29; }
.pb-idc { position: absolute; inset: 0; overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: center;
  gap: 22px; padding: 28px 16px 40px; background: radial-gradient(120% 90% at 30% 40%, #232c3b, #12171f 70%); color: #eef1f8; }
.desk-root .pb-idc { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 380px); align-content: center; align-items: center; gap: clamp(28px, 4vw, 64px); padding: 40px clamp(24px, 5vw, 80px); }
/* Measured on the user's picture: the card is x 59–1508, y 80–895 of the 1568×1003 art (corners about 60 px round); the
   words' places below are in hundredths of that card (left by width, top by height, at the glyphs' tops), sizes in cqw. */
.pb-idc__card { position: relative; width: 100%; max-width: 900px; aspect-ratio: 1449 / 815; container-type: inline-size; border-radius: 4.1cqw; overflow: hidden;
  background: #0f1724 url(assets/idcard-face.png) no-repeat; background-size: 108.21% 123.07%; background-position: 49.58% 42.55%;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); font-family: 'Noto Serif SC', var(--font-serif); color: #efe9dc; user-select: none; }
.pb-idc__card > * { position: absolute; white-space: nowrap; }
.pb-idc__brand { left: 29.05%; top: 5.77%; height: 7.1%; padding: 0 0 .97cqw 2.45cqw; display: flex; align-items: center; border-left: 1px solid rgb(205 214 228 / .7);
  font: 400 2.15cqw/1 'Noto Serif SC', var(--font-serif); letter-spacing: .39em; color: #ece8e0; }
.pb-idc__brand::after { content: ""; position: absolute; left: 0; top: 100%; width: 54cqw; height: 1px; background: linear-gradient(90deg, rgb(205 214 228 / .75) 75%, transparent); }
.pb-idc__mail { left: 9.94%; top: 40.5%; width: 80.12%; height: 17.9%; display: grid; place-items: center; padding: 0 3% 1.24cqw calc(3% + 2.07cqw); overflow: hidden;
  border: 1px solid rgb(220 226 236 / .32); border-radius: 1.6cqw; background: rgb(12 20 34 / .18);
  font: 500 5.55cqw/1 'Noto Serif SC', var(--font-serif); color: #f2ede4; }
.pb-idc__who, .pb-idc__ids { display: contents; }
.pb-idc__name { position: absolute; left: 9.73%; top: calc(77.9% - .08em); font: 500 3.85cqw/1 'Noto Serif SC', var(--font-serif); color: #f0eadd; }
.pb-idc__roots { position: absolute; left: 9.81%; top: calc(86.3% - .08em); font: 500 2.5cqw/1 'Noto Serif SC', var(--font-serif); letter-spacing: .12em; color: #e6e2da; }
.pb-idc__id { position: absolute; left: 71.5%; display: flex; align-items: baseline; gap: .7em; font: 500 2.85cqw/1 'Noto Serif SC', var(--font-serif); letter-spacing: .02em; color: #efe9dc; }
.pb-idc__id:first-child { top: calc(79.25% - .08em); }
.pb-idc__id:last-child { top: calc(85.55% - .08em); }
.pb-idc__id b { font-size: 1.06em; font-weight: 500; letter-spacing: .04em; }
.pb-idc__hi { position: absolute; }
.pb-idc__txt { display: inline-flex; }
.pb-idc__txt.is-sample { opacity: .45; }
.pb-idc__ch { display: inline-block; animation: pb-idc-ch .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pb-idc-ch { from { opacity: 0; transform: translateY(60%); } }
.pb-idc__hi { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 1px solid rgb(240 220 168 / .85); border-radius: 1.2cqw; pointer-events: none;
  box-shadow: 0 0 1.6cqw rgb(240 220 168 / .35), inset 0 0 1.2cqw rgb(240 220 168 / .12); opacity: 0;
  transition: left .35s cubic-bezier(.2, .8, .2, 1), top .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1), height .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.pb-idc__hi.is-on { opacity: 1; }
.pb-idc__form { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.pb-idc__head { display: flex; align-items: center; gap: 8px; }
.pb-idc__title { margin: 0; font: 500 22px/1.3 'Noto Serif SC', var(--font-serif); letter-spacing: .12em; color: #efe9dc; }
.pb-idc__note { margin: 0; font: 400 13px/1.6 'Noto Sans SC', var(--font-sans); color: rgb(238 241 248 / .75); }
.pb-idc__field { display: flex; flex-direction: column; gap: 6px; }
.pb-idc__label { font: 500 13px/1 'Noto Sans SC', var(--font-sans); color: rgb(238 241 248 / .72); letter-spacing: .06em; }
.pb-idc__box { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .2);
  background: rgb(255 255 255 / .06); transition: border-color .2s ease, box-shadow .2s ease; }
.pb-idc__field.is-on .pb-idc__box { border-color: rgb(240 220 168 / .75); box-shadow: 0 0 0 3px rgb(240 220 168 / .14); }
.pb-idc__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #eef1f8; font: 400 15px/1 'Noto Sans SC', var(--font-sans); }
.pb-idc__input::placeholder { color: rgb(238 241 248 / .38); }
.pb-idc__input[readonly] { color: rgb(238 241 248 / .8); }
.pb-idc__send { flex: none; height: 34px; padding: 0 12px; border: 1px solid rgb(240 220 168 / .5); border-radius: 9px; background: rgb(240 220 168 / .1); color: #f0dca8;
  font: 500 13px/1 'Noto Sans SC', var(--font-sans); cursor: pointer; white-space: nowrap; }
.pb-idc__send:disabled { opacity: .45; cursor: default; }
.pb-idc__go { height: 48px; margin-top: 6px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #f0dca8, #c9ac6c); color: #1a1f29;
  font: 600 16px/1 'Noto Sans SC', var(--font-sans); letter-spacing: .3em; text-indent: .3em; cursor: pointer; }
.pb-idc__go:disabled { background: rgb(255 255 255 / .12); color: rgb(238 241 248 / .45); cursor: default; }
.pb-idc__go--ghost { background: transparent; border: 1px solid rgb(255 255 255 / .3); color: #eef1f8; }
.pb-idc__ways { display: flex; gap: 10px; }
.pb-idc__ways > * { flex: 1; }
.pb-idc__send:focus-visible, .pb-idc__go:focus-visible { outline: 2px solid #f0dca8; outline-offset: 3px; }
/* 开辟洞府, its own step now: the form in the middle over the sparks. */
.pb-kaipi .pb-sit__field { top: 18%; }
.pb-kaipi__body { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; }
button.pb-sit__openbtn.pb-sit__next { width: min(320px, 100%); }
@media (prefers-reduced-motion: reduce) {
  .pb-idc__ch { animation: none !important; }
  .pb-idc__hi { transition: none !important; }
}

/* 洞府 (2026-11-19, the user): the bar and the input stay even before a friend is chosen (CyIdle). */
.pb-cy-none { display: flex; flex-direction: column; place-content: normal; justify-items: normal; gap: 0; }
.pb-cy-none__mark { flex: 1; min-height: 0; display: grid; place-content: center; justify-items: center; gap: 10px; }
.pb-cy-idle { flex: none; position: relative; z-index: 2; }

/* ---------- 山河图 (2026-11-20) ---------- */
.pb-map { position: relative; overflow: hidden; overflow: clip; border-radius: 14px; background: #d9c9a8; isolation: isolate; }
.pb-map__view { position: absolute; inset: 0; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.pb-map__view:active { cursor: grabbing; }
/* 灵网 over the map: above the land and pins, below the buttons and cards; it never takes the pointer. */
.pb-map > .pb-map__grid { z-index: 1; pointer-events: none; }
.pb-map__stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.pb-map__stage img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.pb-map__world { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.pb-map__pins { position: absolute; inset: 0; pointer-events: none; }
.pb-pin { position: absolute; display: flex; align-items: center; gap: 6px; transform: translate(-7px, -50%); padding: 0; border: 0; background: none;
  color: #2b2117; font: 600 13px/1.2 'Noto Serif SC', var(--font-serif); white-space: nowrap; pointer-events: none; }
button.pb-pin { pointer-events: auto; cursor: pointer; }
.pb-pin__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1.5px solid rgb(43 33 23 / .7); }
.pb-pin__label { padding: 2px 7px; border-radius: 6px; background: rgb(246 238 220 / .9); box-shadow: 0 0 0 1px rgb(90 70 45 / .28); }
.pb-pin__label em { margin-left: 4px; font: 400 10px/1 'Noto Sans SC', var(--font-sans); font-style: normal; color: #7c6a52; }
/* Your 洞府: a light in your first root's colour. */
.pb-pin--home .pb-pin__dot { position: relative; background: #fff; border: 0; box-shadow: 0 0 0 3px var(--pin), 0 0 0 4.5px rgb(43 33 23 / .55), 0 0 14px 5px var(--pin), 0 0 30px 12px color-mix(in srgb, var(--pin) 45%, transparent); }
.pb-pin--home .pb-pin__dot::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--pin); opacity: 0; animation: pb-pin-breath 2.6s ease-out infinite; }
@keyframes pb-pin-breath { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pb-pin--home .pb-pin__dot::after { animation: none; } }
.pb-map__ctl { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pb-map__btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(90 70 45 / .3);
  background: rgb(246 238 220 / .92); color: #3a2e22; cursor: pointer; }
.pb-map__btn:hover:not(:disabled) { background: #fffaf0; }
.pb-map__btn:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-map__btn:disabled { opacity: .45; cursor: default; }
.pb-map__debug { position: absolute; left: 8px; top: 8px; z-index: 3; padding: 4px 8px; border-radius: 6px; background: rgb(0 0 0 / .65); color: #fff; font: 12px/1.4 monospace; }

/* 开辟洞府 on the map */
.pb-kaipi--map .pb-kaipi__wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 20px 20px; }
.pb-map--kaipi { width: min(100%, calc((100cqh - 210px) * 1672 / 941)); aspect-ratio: 1672 / 941; flex: none; box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 18px 60px rgb(0 0 0 / .6); }
.pb-kaipi__form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(200px, 1.2fr) auto; align-items: end; gap: 12px 14px; width: min(100%, calc((100cqh - 210px) * 1672 / 941)); }
.pb-kaipi__form .pb-sit__openbtn { margin: 0; padding: 0 22px; white-space: nowrap; }
.pb-kaipi__spot { margin: 0; align-self: center; font: 500 15px/1.5 'Noto Serif SC', var(--font-serif); color: rgb(255 255 255 / .9); }
.pb-kaipi__spot.is-warn { color: #ffb59d; }
@container (max-width: 760px) {
  .pb-kaipi--map .pb-kaipi__wrap { padding: 16px 0 0; gap: 10px; }
  .pb-kaipi--map .pb-sit__open-title { padding: 0 16px; }
  .pb-map--kaipi { width: 100%; aspect-ratio: auto; flex: 1 1 auto; min-height: 0; border-radius: 0; }
  .pb-kaipi__form { grid-template-columns: 1fr; width: 100%; padding: 0 16px 18px; gap: 10px; }
  .pb-kaipi__form .pb-sit__openbtn { width: 100%; }
}

/* 山河图 from the 洞府 page (2026-11-20): a paper panel; on a phone the whole screen. */
.pb-shanhe { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; background: #efe5cf; color: #2b2117; animation: pb-arrive-ui .22s ease both; }
.pb-desk > .pb-shanhe { position: fixed; inset: 0 0 0 auto; width: min(46vw, 920px); z-index: 30; box-shadow: -18px 0 50px rgb(23 38 45 / .22); }
.pb-desk > .pb-shanhe.is-wide { left: var(--rail-w); width: auto; }
.pb-shanhe__head { flex: none; display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 10px 0 16px; border-bottom: 1px solid rgb(90 70 45 / .18); }
.pb-shanhe__head h2 { margin: 0; font: 700 18px/1 'Noto Serif SC', var(--font-serif); letter-spacing: .12em; }
.pb-shanhe__icon { all: unset; box-sizing: border-box; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #3a2e22; }
.pb-shanhe__icon:hover { background: rgb(90 70 45 / .08); }
.pb-shanhe__icon:focus-visible { outline: 2px solid #527e78; outline-offset: 1px; }
.pb-shanhe .pb-map--sheet { flex: 1 1 auto; min-height: 0; border-radius: 0; }
.pb-map.is-picking .pb-map__view { cursor: crosshair; }
.pb-shanhe__bar { flex: none; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 14px 10px 16px; border-top: 1px solid rgb(90 70 45 / .18); }
.pb-shanhe__where { flex: 1 1 auto; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font: 500 14px/1.5 'Noto Serif SC', var(--font-serif); }
.pb-shanhe__where b { font-weight: 700; }
.pb-shanhe__where span { color: #6d5c46; font-size: 13px; }
.pb-shanhe__where.is-warn { color: #a3452a; }
.pb-shanhe__go, .pb-shanhe__ghost { flex: none; height: 38px; padding: 0 16px; border-radius: 19px; font: 600 14px/1 'Noto Sans SC', var(--font-sans); cursor: pointer; }
.pb-shanhe__go { border: 0; background: linear-gradient(#46777a, #23484c); color: #fff; }
.pb-shanhe__go:disabled { opacity: .45; cursor: default; }
.pb-shanhe__ghost { border: 1px solid rgb(90 70 45 / .35); background: transparent; color: #3a2e22; }
.pb-shanhe__go:focus-visible, .pb-shanhe__ghost:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-app > .pb-shanhe { z-index: 40; }

/* 山河图 · 宗门 (2026-11-20): a small ink seal for a sect, its name beside it; gathered ones as a round 「n」. */
.pb-pin--sect .pb-pin__dot { width: 12px; height: 12px; border-radius: 2px; transform: rotate(45deg); background: #8c3b2a; border: 1.5px solid #f6eedc; box-shadow: 0 0 0 1px rgb(43 33 23 / .55); }
.pb-pin--sect .pb-pin__label { font-weight: 700; letter-spacing: .06em; }
.pb-pin--sect.is-on .pb-pin__label { background: #2b2117; color: #f6eedc; }
.pb-pin--sect.is-on .pb-pin__label em { color: #d9c9a8; }
.pb-pin.is-nudged { margin-top: 22px; }
.pb-pin--cluster { transform: translate(-50%, -50%); }
.pb-pin--cluster .pb-pin__dot { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #8c3b2a; border: 2px solid #f6eedc;
  box-shadow: 0 0 0 1px rgb(43 33 23 / .55); color: #fff; font: 700 13px/1 'Instrument Sans', var(--font-sans); font-style: normal; }
button.pb-pin:focus-visible { outline: none; }
button.pb-pin:focus-visible .pb-pin__dot { outline: 2px solid #527e78; outline-offset: 3px; }
.pb-pin--home { z-index: 1; }
button.pb-pin--home { cursor: pointer; }
.pb-shanhe__icon:disabled { cursor: default; opacity: .6; }
.pb-shanhe__icon.is-busy svg { animation: pb-map-spin 1s linear infinite; }
@keyframes pb-map-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pb-shanhe__icon.is-busy svg { animation: none; } }
.pb-shanhe__layers { position: relative; }
.pb-shanhe__pop { position: absolute; right: 0; top: 40px; z-index: 5; display: flex; flex-direction: column; gap: 2px; min-width: 132px; padding: 8px; border-radius: 12px;
  background: #fbf6ea; box-shadow: 0 0 0 1px rgb(90 70 45 / .2), 0 12px 30px rgb(43 33 23 / .18); }
.pb-shanhe__pop label { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font: 500 14px/1.2 'Noto Sans SC', var(--font-sans); cursor: pointer; }
.pb-shanhe__pop label:hover { background: rgb(90 70 45 / .07); }
.pb-shanhe__pop input { accent-color: #527e78; width: 16px; height: 16px; margin: 0; }
.pb-shanhe__err { flex: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; background: #f6dfd2; color: #8a3a22; font: 500 13px/1.4 'Noto Sans SC', var(--font-sans); }
.pb-shanhe__err button { margin-left: auto; height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid rgb(138 58 34 / .4); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.pb-shanhe__bar--sub { min-height: 52px; background: rgb(90 70 45 / .05); }
.pb-mapcard { position: absolute; left: 12px; bottom: 12px; z-index: 3; width: min(300px, calc(100% - 70px)); padding: 12px 14px; border-radius: 12px; background: #fbf6ea;
  box-shadow: 0 0 0 1px rgb(90 70 45 / .22), 0 14px 34px rgb(43 33 23 / .2); color: #2b2117; }
.pb-mapcard__head { display: flex; align-items: center; gap: 8px; }
.pb-mapcard__head b { font: 700 17px/1.3 'Noto Serif SC', var(--font-serif); letter-spacing: .06em; }
.pb-mapcard__head em { padding: 2px 7px; border-radius: 6px; background: rgb(90 70 45 / .1); font: 500 11px/1.3 'Noto Sans SC', var(--font-sans); font-style: normal; color: #6d5c46; }
.pb-mapcard__x { all: unset; margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; cursor: pointer; color: #6d5c46; }
.pb-mapcard__x:hover { background: rgb(90 70 45 / .08); }
.pb-mapcard__x:focus-visible { outline: 2px solid #527e78; }
.pb-mapcard p { margin: 4px 0 0; font: 400 13px/1.5 'Noto Serif SC', var(--font-serif); color: #6d5c46; }
.pb-mapcard__acts { display: flex; gap: 8px; margin-top: 10px; }
.pb-mapcard__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.pb-mapcard__list button { all: unset; box-sizing: border-box; width: 100%; padding: 7px 8px; border-radius: 8px; cursor: pointer; font: 600 14px/1.3 'Noto Serif SC', var(--font-serif); }
.pb-mapcard__list button:hover, .pb-mapcard__list button:focus-visible { background: rgb(90 70 45 / .08); }
.pb-mapcard__list em { margin-left: 6px; font: 400 11px/1 'Noto Sans SC', var(--font-sans); font-style: normal; color: #7c6a52; }
.pb-sv-seat { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font: 400 15px/1.6 'Noto Serif SC', var(--font-serif); color: rgb(236 240 240 / .86); }
.pb-sv-seat b { font-weight: 600; color: #e9d29c; letter-spacing: .04em; }

/* 神识扫描 (2026-11-20): one ring from your light, in your root's colour; found 道友 as small round marks. */
.pb-scanring circle { fill: currentColor; fill-opacity: .08; stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 10 7; vector-effect: non-scaling-stroke; }
.pb-scanring.is-sweeping circle { animation: pb-scan-sweep .9s ease-out infinite; }
@keyframes pb-scan-sweep { 0% { transform: scale(.05); opacity: .9; } 100% { transform: scale(1); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pb-scanring.is-sweeping circle { animation: none; } }
.pb-pin--peer .pb-pin__dot { width: 12px; height: 12px; background: #3f6f6a; border: 2px solid #f6eedc; box-shadow: 0 0 0 1px rgb(43 33 23 / .5); }
.pb-pin--peer.is-on .pb-pin__label { background: #23484c; color: #f6eedc; }
.pb-map__scan { position: absolute; left: 12px; top: 12px; z-index: 2; height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid rgb(90 70 45 / .3);
  background: rgb(246 238 220 / .94); color: #2b2117; font: 600 14px/1 'Noto Serif SC', var(--font-serif); letter-spacing: .08em; cursor: pointer; }
.pb-map__scan:hover:not(:disabled) { background: #fffaf0; }
.pb-map__scan:disabled { opacity: .55; cursor: default; }
.pb-map__scan:focus-visible { outline: 2px solid #527e78; outline-offset: 2px; }
.pb-map__scanerr { position: absolute; left: 12px; top: 56px; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border-radius: 10px;
  background: #f6dfd2; color: #8a3a22; font: 500 13px/1.3 'Noto Sans SC', var(--font-sans); }
.pb-map__scanerr button { height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid rgb(138 58 34 / .4); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.pb-mapcard__people button { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.pb-mapcard__people .wd-avatar, .pb-mapcard__people button > :first-child { grid-row: span 2; }
.pb-mapcard__people small { font: 400 12px/1.3 'Noto Sans SC', var(--font-sans); color: #6d5c46; }
.pb-mapcard__who { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.pb-mapcard__who p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.pb-mapcard__who b { font: 600 14px/1.3 'Noto Serif SC', var(--font-serif); color: #2b2117; }
.pb-mapcard__acts { flex-wrap: wrap; align-items: center; }
.pb-mapcard__acts .pb-shanhe__go, .pb-mapcard__acts .pb-shanhe__ghost { height: 34px; padding: 0 13px; font-size: 13px; }
.pb-mapcard__state { padding: 0 6px; font: 500 13px/34px 'Noto Sans SC', var(--font-sans); color: #527e78; }
.pb-mapcard__note { flex-basis: 100%; margin: 0 !important; color: #a3452a !important; font-size: 12px !important; }
.pb-mapcard__people { max-height: 220px; overflow: auto; }
.pb-mapcard__acts > .pb-mapcard__who, .pb-mapcard__acts > ul, .pb-mapcard__acts > p { flex-basis: 100%; }
.pb-mapcard__acts > .pb-mapcard__who { margin: 0 0 4px; }
.pb-pin.is-quiet .pb-pin__label { display: none; }
button.pb-pin.is-quiet:hover .pb-pin__label, button.pb-pin.is-quiet:focus-visible .pb-pin__label { display: inline; position: relative; z-index: 2; }

/* ---------- 2026-11-20: card material after the user's glassy-dashboard brief (21st.dev), material only ----------
   Each page keeps its own colours; the cards take the brief's make: a fine warm-white rim, a 144deg light sheen over
   the page's own translucent ground, a bright line along the top edge and a dark one along the bottom, a soft 6px/18px
   drop and ~20px corners. The large surfaces (the brief's stage) blur less, sheen at 148deg and cast a long shadow.
   Without see-through support, or when the system asks for less transparency or more contrast, they turn solid.
   Supersedes the look of the 2026-11-08 glass layer above for the same cards (that layer stays, this one wins). */

/* 1. Light pages: 万象, 坊市 (灵石货物 and 周边), 道友. */
.pb-fd, .pb-wx { --gd-rim: rgb(255 253 246 / .51);
  --gd-hi: linear-gradient(144deg, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / .14) 46%, rgb(255 255 255 / 0) 72%);
  --gd-stage-hi: linear-gradient(148deg, rgb(255 255 255 / .5) 0%, rgb(255 255 255 / .1) 52%, rgb(255 255 255 / 0) 78%);
  --gd-inset: inset 0 1px 1px rgb(255 255 255 / .72), inset 0 -1px 1px rgb(36 48 46 / .1);
  --gd-drop: 0 6px 18px rgb(23 41 35 / .09); --gd-stage-drop: 0 22px 72px -28px rgb(23 41 35 / .32);
  --gd-blur: var(--gl-blur); --gd-stage-blur: blur(12px) saturate(1.24); --gd-r: 20px; }
.pb-fd-card, .pb-fd-panel, .pb-wx-post, .pb-wx-card, .pb-mk3-news {
  background: var(--gd-hi), var(--gl-bg) !important; -webkit-backdrop-filter: var(--gd-blur); backdrop-filter: var(--gd-blur);
  box-shadow: var(--gd-inset), inset 0 0 0 1px var(--gd-rim), var(--gd-drop) !important; }
.pb-fd-card, .pb-fd-panel, .pb-wx-post, .pb-wx-card { border-radius: var(--gd-r); }
.pb-wx-post, .pb-wx-card, .pb-wx-bar { border-color: transparent !important; }
.pb-mk3-news { border-radius: calc(20 * var(--u)); }
.pb-wx-post--notice { background: var(--gd-hi), linear-gradient(135deg, rgb(255 251 240 / .6), rgb(250 241 218 / .45)) !important; }
/* The stage: the bars and the shelves that hold the smaller cards. */
.pb-wx-bar, .pb-zb-shelf {
  background: var(--gd-stage-hi), var(--gl-bg) !important; -webkit-backdrop-filter: var(--gd-stage-blur); backdrop-filter: var(--gd-stage-blur);
  box-shadow: var(--gd-inset), inset 0 0 0 1px var(--gd-rim), var(--gd-stage-drop) !important; }
.pb-wx-bar { border-radius: var(--gd-r); }
.pb-zb-shelf { border-radius: calc(20 * var(--u)); }
.pb-fd .pb-fd-bar { box-shadow: inset 0 -1px 0 var(--gd-rim), inset 0 -2px 1px rgb(36 48 46 / .06) !important; }
/* Inside a shelf: the metric-like cards, a step more solid, no blur of their own. */
.pb-zb-card { background: var(--gd-hi), var(--gl-bg-in) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: var(--gd-inset), inset 0 0 0 1px var(--gd-rim), var(--gd-drop) !important; border-radius: calc(14 * var(--u)); }
.pb-zb-card:hover { box-shadow: var(--gd-inset), inset 0 0 0 1px rgb(200 170 110 / .6), 0 10px 24px rgb(23 41 35 / .14) !important; }
.pb-zb-way { background: var(--gd-hi), var(--gl-bg) !important; border-radius: calc(20 * var(--u));
  box-shadow: var(--gd-inset), inset 0 0 0 1px rgb(206 182 134 / .55), var(--gd-drop) !important; }
.pb-zb-way.is-on { box-shadow: var(--gd-inset), inset 0 0 0 2px #3d6a6c, var(--gd-drop) !important; }
.pb-wx--phone .pb-wx-post, .pb-wx--phone .pb-wx-card, .pb-wx--phone .pb-wx-bar { border-radius: 18px; }
.pb-fd:not(.pb-fd--desk) .pb-fd-card, .pb-fd:not(.pb-fd--desk) .pb-fd-panel { border-radius: 18px; }

/* Solid when see-through isn't there or isn't wanted. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pb-fd-bar, .pb-wx-bar, .pb-zb-card { background: rgb(246 245 240 / .96) !important; } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pb-fd-card, .pb-fd-panel, .pb-wx-post, .pb-wx-card, .pb-mk3-news, .pb-wx-bar, .pb-zb-shelf, .pb-zb-card, .pb-zb-way {
    background: rgb(246 245 240) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pb-fd-card, .pb-fd-panel, .pb-wx-post, .pb-wx-card, .pb-mk3-news, .pb-wx-bar, .pb-zb-shelf, .pb-zb-card {
    box-shadow: inset 0 0 0 1px rgb(60 70 68 / .35), 0 2px 6px rgb(23 41 35 / .12) !important; }
  .pb-fd .pb-fd-bar { background: rgb(246 245 240) !important; }
  .pb-wx-post--notice { background: rgb(250 243 226) !important; } }

/* 2. 洞府 (晨雾, the page once called 传音): the chosen row, the cards, the floating panels and the two bars.
   Bubbles and the input pill stay as they are (2026-11-18). The chosen row keeps its thin gold line, the page's one gold. */
:root { --gdc-rim: rgb(255 253 246 / .51); --gdc-ink-rim: rgb(23 38 45 / .07);
  --gdc-hi: linear-gradient(144deg, rgb(255 255 255 / .6) 0%, rgb(255 255 255 / .16) 46%, rgb(255 255 255 / 0) 72%);
  --gdc-stage-hi: linear-gradient(148deg, rgb(255 255 255 / .5) 0%, rgb(255 255 255 / .1) 52%, rgb(255 255 255 / 0) 78%);
  --gdc-inset: inset 0 1px 1px rgb(255 255 255 / .8), inset 0 -1px 1px rgb(36 48 46 / .1);
  --gdc-drop: 0 6px 18px rgb(23 38 45 / .09); --gdc-float: 0 6px 18px rgb(23 38 45 / .09), 0 22px 52px -24px rgb(23 38 45 / .28); }
.pb-cy-row.is-on { background: var(--gdc-hi), rgb(255 255 255 / .72);
  box-shadow: inset 2px 0 0 #b39a62, var(--gdc-inset), inset 0 0 0 1px var(--gdc-rim), 0 0 0 1px var(--gdc-ink-rim), var(--gdc-drop); }
.pb-ns-card, .pb-cy-here { background: var(--gdc-hi), rgb(255 255 255 / .62); box-shadow: var(--gdc-inset), inset 0 0 0 1px var(--gdc-rim), 0 0 0 1px var(--gdc-ink-rim), var(--gdc-drop); }
.pb-ns-card { border-radius: 20px; }
.pb-cy-here { background: var(--gdc-hi), rgb(82 126 120 / .1); }
/* Floating panels: nearly solid (words sit on them), the same make, a longer drop because they float. */
.pb-cy-menu, .pb-cy-doorpop, .pb-cybar__pop, .pb-cyc-pop, .pb-cyc-pick, .pb-cy-dialog, .pb-cy-sheet .pb-respanel {
  background: var(--gdc-hi), rgb(255 255 255 / .93); -webkit-backdrop-filter: blur(12px) saturate(1.24); backdrop-filter: blur(12px) saturate(1.24);
  box-shadow: var(--gdc-inset), inset 0 0 0 1px var(--gdc-rim), 0 0 0 1px var(--gdc-ink-rim), var(--gdc-float); }
.pb-cy-menu, .pb-cy-doorpop { border-radius: 14px; }
.pb-cybar__pop, .pb-cyc-pop { border-radius: 18px; }
.pb-cy-dialog, .pb-cy-sheet .pb-respanel { border-radius: 20px; }
/* The stage: the chat's head and its compose bar. */
.pb-cyc-head, .pb-cyc .pb-cyc-compose { background: var(--gdc-stage-hi), rgb(255 255 255 / .62); -webkit-backdrop-filter: blur(12px) saturate(1.24); backdrop-filter: blur(12px) saturate(1.24); }
.pb-cyc-head { box-shadow: inset 0 1px 1px rgb(255 255 255 / .8), 0 6px 18px -6px rgb(23 38 45 / .09); }
.pb-cyc .pb-cyc-compose { box-shadow: inset 0 1px 1px rgb(255 255 255 / .8), 0 -6px 18px -6px rgb(23 38 45 / .09); }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pb-cy-row.is-on, .pb-ns-card, .pb-cy-here, .pb-cy-menu, .pb-cy-doorpop, .pb-cybar__pop, .pb-cyc-pop, .pb-cyc-pick, .pb-cy-dialog, .pb-cy-sheet .pb-respanel, .pb-cyc-head, .pb-cyc .pb-cyc-compose {
    background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pb-ns-card, .pb-cy-here, .pb-cy-menu, .pb-cy-doorpop, .pb-cybar__pop, .pb-cyc-pop, .pb-cyc-pick, .pb-cy-dialog, .pb-cy-sheet .pb-respanel { box-shadow: 0 0 0 1px rgb(23 38 45 / .35), 0 4px 12px rgb(23 38 45 / .15); }
  .pb-cy-row.is-on { box-shadow: inset 2px 0 0 #b39a62, 0 0 0 1px rgb(23 38 45 / .35); } }

/* 3. 宗门, dark gold and jade (user 2026-11-20, knowing these drawn cards then no longer match the reference pictures
   point for point): only what CSS draws. The user's frames and buttons (yishi-v11 sheets, the gold hall frame, the 执事堂
   nine-slices, the 外务堂 frames, the gate's frames and buttons, the two glowing gate cards, the stone) stay as they are.
   The brief's dark make: each card keeps its own gold or jade line as the rim; a faint 144deg sheen over its own ground;
   a light line along the top edge, a dark one along the bottom; a soft 6px/18px drop; ~20px corners. */
:root { --gdd-hi: linear-gradient(144deg, rgb(255 255 255 / .075) 0%, rgb(255 255 255 / .02) 46%, rgb(255 255 255 / 0) 70%);
  --gdd-stage-hi: linear-gradient(148deg, rgb(255 255 255 / .06) 0%, rgb(255 255 255 / .015) 52%, rgb(255 255 255 / 0) 78%);
  --gdd-inset: inset 0 1px 1px rgb(255 255 255 / .12), inset 0 -1px 1px rgb(0 0 0 / .35);
  --gdd-drop: 0 6px 18px rgb(0 0 0 / .22); --gdd-stage-drop: 0 22px 72px -28px rgb(0 0 0 / .55);
  --gdd-blur: blur(12px) saturate(1.24); }
/* The stage: 议事堂's main panel and its member column; 传承碑's two panels and the phone drawer. */
/* No blur here (user 2026-11-20): the hall picture stays sharp behind the panels. */
.pb-ys-main, .pb-ys-side { background-image: var(--gdd-stage-hi);
  box-shadow: var(--gdd-inset), var(--gdd-stage-drop); border-radius: calc(20 * var(--u)); }
.pb-ys--phone .pb-ys-main { border-radius: 18px; }
.pb-ys--phone .pb-ys-side { border-radius: 18px 0 0 18px; }
.pb-heritage-nav, .pb-heritage-archive { background-image: var(--gdd-stage-hi); -webkit-backdrop-filter: var(--gdd-blur); backdrop-filter: var(--gdd-blur);
  box-shadow: var(--gdd-inset), var(--gdd-stage-drop); border-radius: 20px; }
.pb-heritage-drawer { background-image: var(--gdd-stage-hi); -webkit-backdrop-filter: var(--gdd-blur); backdrop-filter: var(--gdd-blur);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .12), 0 -18px 40px -24px rgb(0 0 0 / .7); border-radius: 20px 20px 0 0; }
/* Cards. */
.pb-ys-card, .pb-ys-broadcast, .pb-heritage-card, .pb-mon-form { background-image: var(--gdd-hi); box-shadow: var(--gdd-inset), var(--gdd-drop); }
.pb-ys-broadcast { background: var(--gdd-hi), linear-gradient(180deg, rgb(70 54 28 / .78), rgb(30 26 22 / .78)); }
.pb-ys-mon { background: var(--gdd-hi), linear-gradient(90deg, rgb(40 44 52 / .92), rgb(22 26 34 / .92)); box-shadow: var(--gdd-inset), var(--gdd-drop); }
.pb-ys-card, .pb-ys-broadcast, .pb-ys-mon { border-radius: calc(20 * var(--u)); }
.pb-heritage-card, .pb-mon-form { border-radius: 16px; }
.pb-ws-room li { background-image: var(--gdd-hi); box-shadow: var(--gdd-inset); border-radius: 10px; }
/* Floating panels. */
.pb-ys-pop, .pb-ys > .pb-ys-sheet, .pb-zs-help__tip, .pb-sv-pop, .pb-sv-samples { background-image: var(--gdd-hi);
  box-shadow: var(--gdd-inset), var(--gdd-drop), 0 22px 52px -24px rgb(0 0 0 / .6); border-radius: 16px; }
.pb-zs-help__tip { box-shadow: 0 0 0 1px rgb(233 200 138 / .4), var(--gdd-inset), var(--gdd-drop), 0 22px 52px -24px rgb(0 0 0 / .6); }
.pb-ys-search { background-image: var(--gdd-hi); box-shadow: var(--gdd-inset), var(--gdd-drop); }
.pb-sv-filters { background-image: var(--gdd-stage-hi); box-shadow: var(--gdd-inset), var(--gdd-drop); border-radius: calc(20 * var(--u)); }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pb-ys-main, .pb-ys-side, .pb-heritage-nav, .pb-heritage-archive, .pb-heritage-drawer, .pb-ys-card, .pb-ys-broadcast, .pb-ys-mon, .pb-heritage-card, .pb-mon-form,
  .pb-ws-room li, .pb-ys-pop, .pb-ys > .pb-ys-sheet, .pb-zs-help__tip, .pb-sv-pop, .pb-sv-samples, .pb-ys-search, .pb-sv-filters {
    background: #101d26; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 0 1px rgb(233 201 135 / .55); } }

/* 洞府 (2026-11-20): what you send from your own 洞府 flies to the friend's face (sendFlight in app.js). */
.pb-fly { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; overflow: hidden; }
.pb-fly__cap { position: absolute; box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; }
.pb-fly__cap span { display: block; max-width: 86%; overflow: hidden; text-overflow: ellipsis; }
.pb-fly__slip, .pb-fly__ghost { position: absolute; left: 0; top: 0; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.pb-fly--slip .pb-fly__slip { filter: drop-shadow(0 0 6px rgb(92 226 168 / .85)) drop-shadow(0 0 14px rgb(222 255 238 / .55)); }
.pb-fly--fu .pb-fly__slip { filter: drop-shadow(0 0 6px rgb(232 178 72 / .85)) drop-shadow(0 0 14px rgb(255 240 196 / .5)); }
.pb-fly--slip .pb-fly__ghost { filter: blur(1px) drop-shadow(0 0 8px rgb(92 226 168 / .9)); }
.pb-fly--fu .pb-fly__ghost { filter: blur(1px) drop-shadow(0 0 8px rgb(232 178 72 / .9)); }
.pb-cyc-field.is-flying { opacity: 0; }
.pb-cyc-field { transition: opacity .3s ease; }
.pb-cyc-field.is-flying { transition: opacity .1s ease; }
.pb-fly-hit { animation: pb-fly-hit .7s ease-out; }
@keyframes pb-fly-hit { 0% { box-shadow: 0 0 0 0 rgb(122 214 176 / .7); } 100% { box-shadow: 0 0 0 12px rgb(122 214 176 / 0); } }
.pb-cyc-field.is-shake { animation: pb-cyc-shake .4s ease; }
@keyframes pb-cyc-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .pb-cyc-field, .pb-cyc-field.is-flying { transition: none; } .pb-fly-hit, .pb-cyc-field.is-shake { animation: none; } }

/* 传音符箓 heard (2026-11-20): it burns away in motes (fuBurn in app.js); once burnt it is gone, its place kept. */
.pb-fumsg__pic { position: relative; flex: none; display: block; line-height: 0; }
.pb-fumsg__ash { position: absolute; pointer-events: none; z-index: 2; }
.pb-fumsg.is-burning .pb-fumsg__fu, .pb-fumsg.is-spent .pb-fumsg__fu { opacity: 0; filter: none; animation: none; }
.pb-fumsg.is-spent .pb-fumsg__fu { transition: opacity .6s ease; }
@media (prefers-reduced-motion: reduce) { .pb-fumsg.is-spent .pb-fumsg__fu { transition: opacity .4s linear; } }
.pb-fumsg.is-burning .pb-fumsg__fu { transition: none; }

/* The 洞府 talk under the user's lake picture (2026-11-21): one picture from the head down, its snowy treeline in the
   head and its reflection on the water under the first messages, fading into the page. Sized by the pane's width (cqw)
   so the treeline sits in the head at any width: on the phone the picture is enlarged (its middle), on the website it
   spans the pane. The head is clear, with a light wash behind the name. */
.pb-chatwrap.pb-cyc { position: relative; isolation: isolate; container-type: inline-size; }
/* The lake runs on down the talk (the user, 2026-11-21): under the picture's own bottom edge the water goes on in the
   colours of its last rows (sampled from the picture, which itself is untouched), lighter toward the input. */
.pb-chatwrap.pb-cyc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; pointer-events: none;
  background: url(assets/dongfu-head-lake.png) center calc(40px - 47.2cqw) / 180cqw auto no-repeat,
    linear-gradient(90deg, #6590c7, #6490c7 25%, #5f8cc4 50%, #5e8ac3 75%, #5d88c1) 0 calc(40px + 43.6cqw - 2px) / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 64px, rgb(0 0 0 / .6) calc(40px + 30cqw), rgb(0 0 0 / .5) calc(40px + 43.6cqw), rgb(0 0 0 / .3) 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 64px, rgb(0 0 0 / .6) calc(40px + 30cqw), rgb(0 0 0 / .5) calc(40px + 43.6cqw), rgb(0 0 0 / .3) 100%); }
.pb-desk .pb-chatwrap.pb-cyc::before {
  background: url(assets/dongfu-head-lake.png) center calc(40px - 26.2cqw) / 100cqw auto no-repeat,
    linear-gradient(90deg, #6b98cf, #6995cb 12.5%, #6590c7 25%, #6490c7 37.5%, #5f8cc4 50%, #5e8ac3 62.5%, #5d88c1 75%, #5d8ac2 87.5%, #5d89c0) 0 calc(40px + 24.3cqw - 2px) / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 64px, rgb(0 0 0 / .55) calc(40px + 13cqw), rgb(0 0 0 / .5) calc(40px + 24.3cqw), rgb(0 0 0 / .3) 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 64px, rgb(0 0 0 / .55) calc(40px + 13cqw), rgb(0 0 0 / .5) calc(40px + 24.3cqw), rgb(0 0 0 / .3) 100%); }
.pb-chatwrap.pb-cyc > * { position: relative; z-index: 1; }
.pb-chatwrap.pb-cyc .pb-cyc-head { background: linear-gradient(90deg, rgb(255 255 255 / .86), rgb(255 255 255 / .72) 55%, rgb(255 255 255 / 0) 85%);
  -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
.pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head { background: linear-gradient(90deg, rgb(255 255 255 / .82), rgb(255 255 255 / .55) 30%, rgb(255 255 255 / 0) 62%); }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pb-chatwrap.pb-cyc::before, .pb-desk .pb-chatwrap.pb-cyc::before { display: none; }
  .pb-chatwrap.pb-cyc .pb-cyc-head, .pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head { background: #fff; } }

/* 宗门群聊 as the 洞府's talk (2026-11-21, the user): light, under the lake; the sect's parts where the 洞府 lists its
   talks; the 宗主 and 副宗主 over a line under the head, coming in on a 遁光 (dunEntrance in app.js). Its other pages
   and the members' drawer keep the 宗门's dark glass. */
.pb-sc-split { grid-template-columns: minmax(200px, 236px) 1fr; }
.pb-sc-side-head { gap: 6px; padding: 18px 10px 10px 6px; }
.pb-sc-side-head h1 { overflow: hidden; text-overflow: ellipsis; }
.pb-sc-depts { display: grid; gap: 2px; }
.pb-sc-depts > div { display: grid; gap: 2px; }
.pb-sc-dept { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 8px; border-radius: 12px; }
.pb-sc-dept:hover { background: rgb(255 255 255 / .55); }
.pb-sc-dept.is-on { background: rgb(255 255 255 / .9); box-shadow: inset 2px 0 0 #b39a62; }
.pb-sc-dept:focus-visible { outline: 2px solid #527e78; outline-offset: -2px; }
.pb-sc-dept__mark.pb-cy-sect { width: 40px; height: 40px; border-radius: 11px; font-size: 16px; }
.pb-sc-dept .pb-cy-row__main b { font-size: 14px; }
.pb-sc-head { position: relative; }
.pb-sc-head .pb-cy-sect { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
.pb-sc-online { all: unset; cursor: pointer; justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cy-mute); font: 400 12px/16px var(--font-sans); }
.pb-sc-online:hover { color: var(--cy-jade); text-decoration: underline; }
.pb-sc-online:focus-visible { outline: 2px solid var(--cy-jade); outline-offset: 2px; border-radius: 4px; }
.pb-sc-acts { margin-left: auto; display: flex; align-items: center; gap: 2px; flex: none; padding: 2px; border-radius: 12px; background: rgb(255 255 255 / .78); box-shadow: 0 0 0 1px rgb(23 38 45 / .06), 0 4px 14px -6px rgb(23 38 45 / .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pb-sc-tool { all: unset; box-sizing: border-box; cursor: pointer; position: relative; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--cy-ink); }
.pb-sc-tool:hover, .pb-sc-tool.is-on { background: rgb(23 38 45 / .07); }
.pb-sc-tool:focus-visible { outline: 2px solid var(--cy-jade); outline-offset: 2px; }
.pb-sc-tool .pb-sc-dot { position: absolute; top: 7px; right: 7px; }
.pb-sc-search { display: flex; align-items: center; gap: 6px; }
.pb-sc-search input { width: min(220px, 36vw); height: 32px; padding: 0 12px; box-sizing: border-box; border: 1px solid var(--cy-field-line); border-radius: 16px; background: rgb(255 255 255 / .9); color: var(--cy-ink); font: 400 13px/1 var(--font-sans); }
.pb-sc-search input:focus { outline: 2px solid var(--cy-jade); outline-offset: 1px; }
.pb-sc-search small { color: var(--cy-mute); font-size: 12px; white-space: nowrap; }
.pb-sc-strip { gap: 18px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; background: rgb(255 255 255 / .5); }
.pb-sc-strip > div { display: contents; }
.pb-sc-strip button { flex: none; white-space: nowrap; }

/* The heads over the line: the 宗主 in the middle, the 副宗主 beside. */
.pb-chatwrap.pb-cyc > .pb-sc-sky { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
.pb-sc-leads { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 6px 20px 12px; }
.pb-sc-leads::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgb(179 154 98 / 0), rgb(179 154 98 / .55) 20%, rgb(179 154 98 / .55) 80%, rgb(179 154 98 / 0)); }
.pb-sc-seat { display: grid; justify-items: center; gap: 2px; opacity: 0; transform: translateY(6px) scale(.86); filter: blur(5px);
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .9, .25, 1.15), filter .55s ease; }
.pb-sc-seat.is-shown { opacity: 1; transform: none; filter: none; }
.pb-sc-seat--vice { justify-self: start; margin-left: 22px; }
.pb-sc-seat__av { display: block; line-height: 0; border-radius: 50%; }
.pb-sc-seat.is-shown .pb-sc-seat__av { animation: pb-sc-glow 1.4s ease-out 1; }
@keyframes pb-sc-glow { 0% { box-shadow: 0 0 0 0 rgb(233 201 135 / .75), 0 0 22px 6px rgb(246 222 160 / .7); } 100% { box-shadow: 0 0 0 14px rgb(233 201 135 / 0), 0 0 0 0 rgb(246 222 160 / 0); } }
.pb-sc-seat b { margin-top: 4px; color: var(--cy-ink); font: 600 14px/18px var(--font-serif); letter-spacing: .06em; }
.pb-sc-seat small { color: #8a7344; font: 500 11px/14px var(--font-sans); letter-spacing: .1em; }
.pb-sc-seat--vice b { font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .pb-sc-seat { transition: none; } .pb-sc-seat.is-shown .pb-sc-seat__av { animation: none; } }

/* In the talk. */
.pb-sc-tag { margin-left: 6px; padding: 0 5px; border-radius: 4px; background: rgb(23 38 45 / .06); color: var(--cy-mute); font: 500 11px/16px var(--font-sans); }
.pb-sc-tag.is-gold { background: rgb(180 154 105 / .18); color: #6f5c32; }
.pb-sc-to { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; color: var(--cy-jade); font-size: 12px; line-height: 16px; }
.pb-cyc-g.is-mine .pb-sc-to { color: #cfe3dc; }
.pb-sc-notice { align-self: center; max-width: 86%; margin: 0; padding: 4px 12px; border-radius: 10px; background: rgb(23 38 45 / .05); color: var(--cy-mute); font: 400 12px/18px var(--font-sans); text-align: center; }
.pb-sc-notice.is-press { background: rgb(184 69 58 / .08); color: #8b3b33; }
.pb-sc-cast { align-self: center; width: min(520px, 92%); padding: 10px 14px; box-sizing: border-box; border-radius: 14px; background: rgb(255 255 255 / .9); box-shadow: 0 0 0 1px rgb(179 154 98 / .4); }
.pb-sc-cast__head { display: flex; align-items: center; gap: 6px; color: #6f5c32; font: 600 13px/18px var(--font-sans); }
.pb-sc-cast__head span { margin-left: auto; color: var(--cy-mute); font-weight: 400; font-size: 12px; }
.pb-sc-cast p { margin: 6px 0 4px; color: var(--cy-ink); font: 400 15px/22px var(--font-sans); white-space: pre-wrap; }
.pb-sc-cast small { color: var(--cy-mute); font-size: 12px; }
.pb-sc-file, .pb-sc-team { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgb(23 38 45 / .08); color: var(--cy-ink); white-space: normal; }
.pb-sc-file { width: min(280px, 100%); box-sizing: border-box; }
.pb-sc-file__ico { flex: none; display: grid; place-items: center; width: 36px; height: 40px; border-radius: 8px; background: rgb(82 126 120 / .1); color: var(--cy-jade); }
.pb-sc-file__main { flex: 1; min-width: 0; display: grid; }
.pb-sc-file__main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/20px var(--font-sans); }
.pb-sc-file__main small { color: var(--cy-mute); font-size: 12px; }
.pb-sc-file__down { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--cy-jade); }
.pb-sc-file__down:hover { background: var(--cy-jade-soft); }
.pb-sc-team { color: #6f5c32; }
.pb-sc-team__text { flex: 1; color: var(--cy-ink); font: 500 14px/20px var(--font-sans); white-space: nowrap; }
.pb-sc-team.is-on { box-shadow: 0 0 0 1px rgb(82 126 120 / .45); }
.pb-sc-mode { flex: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 16px; background: rgb(82 126 120 / .1); color: var(--cy-jade); font: 400 12px/18px var(--font-sans); }
.pb-sc-mode button { all: unset; cursor: pointer; margin-left: auto; color: var(--cy-ink); text-decoration: underline; }
.pb-cyc-menu button small { margin-left: 6px; color: #b8453a; font-size: 11px; white-space: normal; }
.pb-cyc-menu button:disabled { cursor: not-allowed; opacity: .7; }
.pb-cyc-at { left: 0; display: grid; min-width: 140px; max-height: 240px; overflow-y: auto; padding: 6px; }
.pb-cyc-at button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--cy-ink); font: 400 14px/1 var(--font-sans); text-align: left; cursor: pointer; }
.pb-cyc-at button:hover, .pb-cyc-at button:focus-visible { background: var(--cy-hover); }

/* Its other pages, and what lies over it, in the 宗门's dark glass. */
.pb-chatwrap.pb-cyc > .pb-sc-dark { position: relative; flex: 1; min-height: 0; inset: auto; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.pb-sc-dark > .pb-ys-page { position: relative; z-index: 1; }
.pb-sc-over { z-index: 40; padding: 0; pointer-events: none; background: none; }
.pb-sc-over > * { pointer-events: auto; }
.pb-sc-over > .pb-ys-pop { position: absolute; top: 60px; right: 12px; z-index: 31; }
.pb-sc-over > .pb-ys-sheet { position: absolute; z-index: 32; }
.pb-sc-over > .pb-ys-side:not(.is-open) { pointer-events: none; }

/* The 宗门 talk's own head (2026-11-21, the user's picture of a hall above the clouds, 2152 × 731 (the second one)): the whole picture
   across the pane on the website, its hall (right of middle) enlarged on the phone; it fades into the talk under the
   heads. The 洞府's lake stays the 洞府's. */
/* Only the head bar has the picture, its hall in the bar, no fade below it (the user, 2026-11-21). */
/* Not enlarged (the user): as wide as the bar, its hall in the bar; below the bar it fades into the page (the user, for this picture). */
.pb-chatwrap.pb-cyc.pb-sc-chat::before, .pb-desk .pb-chatwrap.pb-cyc.pb-sc-chat::before { height: 128px; background: url(assets/sect-head-clouds.png) center calc(32px - 17.7cqw) / 100cqw auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 64px, rgb(0 0 0 / .5) 86px, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 64px, rgb(0 0 0 / .5) 86px, transparent 100%); }
.pb-sc-chat .pb-sc-seat b, .pb-sc-chat .pb-sc-seat small { text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 12px rgb(255 255 255 / .9); }

/* 神识探查: its × stood under the title (.pb-panel > * lifts every child to the same layer, and the title comes later), so a
   touch on it did nothing (2026-11-21). */
.pb-seek__box > .pb-seek__close { z-index: 3; }
.pb-seek__box > .pb-seek__title { padding-right: 40px; }

/* The 宗门's pages keep the website rail (2026-11-21): the 执事堂 and 外务堂 are measured on what is left beside it. */
.pb-desk--railed .pb-zs { --u: min(calc((100vw - var(--rail-w)) / 1672), calc(100vh / 941)); --ox: calc((100vw - var(--rail-w) - 1672 * var(--u)) / 2); }
.pb-desk--railed .pb-ws { --u: min(calc((100vw - var(--rail-w)) / 1536), calc(100vh / 864)); }

/* 坊市 as the 洞府 (2026-11-21, the user): the kinds where the 洞府 lists its talks, the goods on the right under the
   user's market picture (assets/market-head.png, 2400 × 200, as given). The picture is never enlarged: as wide as the
   pane on the website, at 112px tall (its middle, the shops) on the phone; it fades into the page under the head. */
.pb-zb2 { position: absolute; inset: 0; --u: 1px; }
.pb-zb2-split { grid-template-columns: minmax(208px, 236px) 1fr; }
.pb-zb2-side-head { gap: 4px; padding: 18px 10px 10px 16px; }
.pb-zb2-side-head h1 { flex: 1; min-width: 0; }
.pb-zb2-tools .pb-cy-tool { width: 32px; }
.pb-zb2-mine { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgb(23 38 45 / .1); }
.pb-zb2-mark.pb-cy-sect { background: rgb(23 38 45 / .07); color: #31454c; }
/* The picture is the head bar's alone, cut at its edge, nothing below it; always its whole length, as wide as the bar,
   cut only above and below (the user, 2026-11-21). On the phone it is shorter than the bar: it sits at the bar's foot,
   over the picture's own pale sky (#f6f5fd). */
.pb-chatwrap.pb-cyc.pb-zb2-pane::before, .pb-desk .pb-chatwrap.pb-cyc.pb-zb2-pane::before { display: none; }
.pb-chatwrap.pb-cyc .pb-cyc-head.pb-zb2-head, .pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head.pb-zb2-head {
  background: linear-gradient(90deg, rgb(255 255 255 / .82), rgb(255 255 255 / .5) 22%, rgb(255 255 255 / 0) 45%), url(assets/market-head.png) center bottom / 100% auto no-repeat, #f6f5fd; }
.pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head.pb-zb2-head { background-position: 0 0, center center; }
.pb-zb2-head .pb-cyc-who small { font-variant-numeric: tabular-nums; }
.pb-zb2-head .pb-info__btn { color: #5b6766; border-color: rgb(23 38 45 / .25); }
.pb-zb2-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 20px 28px; }
.pb-zb2 .pb-zb2-filters { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pb-zb2 .pb-zb-chip { height: 30px; padding: 0 14px; gap: 5px; border-radius: 15px; background: rgb(255 255 255 / .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgb(23 38 45 / .1); color: #5b6766; font: 500 13px/1 var(--font-sans); letter-spacing: .04em; }
.pb-zb2 .pb-zb-chip:hover:not(.is-on):not(:disabled) { background: rgb(255 255 255 / .9); color: #17262d; }
.pb-zb2 .pb-zb-chip.is-on { background: #fff; color: #17262d; font-weight: 600; box-shadow: inset 0 0 0 1px rgb(23 38 45 / .14), 0 1px 4px rgb(23 38 45 / .12); }
.pb-zb2 .pb-zb-chip .pb-mkmark { width: 14px; height: 14px; }
.pb-zb2 .pb-zb-pricesel { padding: 0 10px 0 14px; }
.pb-zb2 .pb-zb2-grid { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.pb-zb2 .pb-zb-card { height: auto; padding-bottom: 8px; }
.pb-zb2 .pb-zb-card__art { height: 150px; }
.pb-zb2 .pb-zb-card__name { font-size: 14px; }
.pb-zb2 .pb-zb-card__line, .pb-zb2 .pb-zb-seller { font-size: 12px; }
.pb-zb2 .pb-zb-card__acts { margin-top: auto; padding-top: 8px; }
.pb-zb2 .pb-zb-card__acts button { height: 28px; font-size: 12px; }
.pb-zb2-empty { display: grid; justify-items: center; gap: 12px; padding: 56px 16px; color: #5b6766; font: 400 14px/20px var(--font-sans); }
.pb-zb2-empty b { color: #17262d; font-weight: 600; }
.pb-zb2:not(.pb-zb2--desk) .pb-zb2-body { padding: 12px 14px 20px; }
.pb-zb2:not(.pb-zb2--desk) .pb-zb2-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 12px; padding: 0 14px 2px; scrollbar-width: none; }
.pb-zb2:not(.pb-zb2--desk) .pb-zb-chip { flex: none; }
.pb-zb2:not(.pb-zb2--desk) .pb-zb2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-zb2:not(.pb-zb2--desk) .pb-sc-search input { width: min(160px, 40vw); }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pb-chatwrap.pb-cyc .pb-cyc-head.pb-zb2-head, .pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head.pb-zb2-head { background: #fff; } }

/* 万象 as the 坊市 (2026-11-21, the user): the kinds where the 洞府 lists its talks, the posts on the right under the
   user's picture (assets/wanxiang-head.png, 2400 × 200, as given) in the head bar alone: its whole length, as wide as
   the bar, cut only above and below; on the phone it sits at the bar's foot over the picture's own pale sky. A narrow
   column of topics, events and people stands beside the posts on the website; on the phone it is 发现. */
.pb-wx.pb-wx2 { background: none; overflow: visible; }
.pb-wx.pb-wx2::before { display: none; }
.pb-chatwrap.pb-cyc.pb-wx2-pane::before, .pb-desk .pb-chatwrap.pb-cyc.pb-wx2-pane::before { display: none; }
.pb-chatwrap.pb-cyc .pb-cyc-head.pb-wx2-head, .pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head.pb-wx2-head {
  background: linear-gradient(90deg, rgb(255 255 255 / .82), rgb(255 255 255 / .5) 22%, rgb(255 255 255 / 0) 45%), url(assets/wanxiang-head.png) center bottom / 100% auto no-repeat, #f3f4fb; }
.pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head.pb-wx2-head { background-position: 0 0, center center; }
.pb-chatwrap.pb-cyc > .pb-wx2-head { position: relative; z-index: 3; }
.pb-wx2 .pb-wx2-head .pb-wx-search input:focus-visible { outline: none; }
.pb-wx2 .pb-wx2-head .pb-wx-search { position: relative; top: auto; left: auto; translate: none; width: min(300px, 34vw); }
.pb-wx2 .pb-wx2-head .pb-wx-search.is-focus { width: min(340px, 40vw); }
.pb-wx2 .pb-wx2-head .pb-wx-search__field { height: 34px; padding: 0 12px; gap: 6px; background: rgb(255 255 255 / .92); border-color: rgb(23 38 45 / .14); color: var(--wx-ink); }
.pb-wx2 .pb-wx2-head .pb-wx-search__field input { font-size: 13px; }
.pb-wx2 .pb-wx2-head .pb-wx-sugg { left: auto; right: 0; width: max(100%, 280px); z-index: 5; }
.pb-wx2-body { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 24%, 300px); gap: 18px; align-items: start; padding: 16px 20px 32px; }
.pb-wx2-body .pb-wx-feed { min-width: 0; }
.pb-wx2-body .pb-wx2-aside { position: sticky; top: 0; gap: 14px; }
.pb-wx2-body .pb-wx-card { padding: 14px 16px; }
.pb-wx2:not(.pb-wx2--desk) .pb-wx2-body { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 20px; }
.pb-wx2:not(.pb-wx2--desk) .pb-wx2-head .pb-wx-search { width: min(190px, 48vw); }
.pb-wx2:not(.pb-wx2--desk) .pb-wx2-head .pb-wx-search.is-focus { width: min(210px, 54vw); }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pb-chatwrap.pb-cyc .pb-cyc-head.pb-wx2-head, .pb-desk .pb-chatwrap.pb-cyc .pb-cyc-head.pb-wx2-head { background: #fff; } }

/* The 宗主's 神识威压 from the 宗门 talk's head (2026-11-21): one, many or the whole sect, in the 宗门's dark glass. */
.pb-ys-pop--weiya { display: flex; flex-direction: column; width: min(400px, calc(100% - 24px)); max-height: min(78vh, 640px); overflow: hidden; }
.pb-ys-pop--weiya > * { flex: none; }
.pb-ys-pop--weiya > .pb-sc-wy__list { flex: 1 1 auto; min-height: 96px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(170 188 214 / .25) transparent; }
.pb-sc-wy__rule { margin: 0 0 10px; color: var(--ys-soft); font-size: 12px; line-height: 18px; }
.pb-sc-wy__all { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 0 12px; box-sizing: border-box; border: 1px solid var(--ys-line); border-radius: 10px; background: rgb(255 255 255 / .04); color: var(--ys-ink); font: 600 14px/1 var(--font-sans); cursor: pointer; }
.pb-sc-wy__all small { color: var(--ys-faint); font-weight: 400; font-size: 12px; }
.pb-sc-wy__all.is-on { border-color: rgb(233 201 135 / .7); background: rgb(233 201 135 / .14); color: var(--ys-gold); }
.pb-sc-wy__all:disabled { opacity: .5; cursor: default; }
.pb-sc-wy__list { display: grid; gap: 4px; margin: 8px 0 10px; padding: 0; list-style: none; }
.pb-sc-wy__list li { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; }
.pb-sc-wy__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--ys-ink); text-align: left; cursor: pointer; }
.pb-sc-wy__who:hover:not(:disabled) { background: rgb(255 255 255 / .05); }
.pb-sc-wy__who.is-on { border-color: rgb(233 201 135 / .6); background: rgb(233 201 135 / .1); }
.pb-sc-wy__who:disabled { cursor: default; opacity: .62; }
.pb-sc-wy__who span { min-width: 0; display: grid; }
.pb-sc-wy__who b { font: 500 14px/20px var(--font-sans); }
.pb-sc-wy__who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ys-faint); font-size: 12px; line-height: 16px; }
.pb-sc-wy__lift { flex: none; }
.pb-sc-wy__liftall { width: 100%; margin-bottom: 10px; }
.pb-sc-wy__ask { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: rgb(184 69 58 / .18); color: #f3c3b8; font-size: 13px; line-height: 19px; }
.pb-ys-pop--weiya .pb-ys-sheet__acts { margin-top: 10px; }

/* The 宗主's 神识威压 comes down on the faces in the 宗门 talk, and stays on them while it holds (2026-11-21). */
.pb-sc-face { display: block; line-height: 0; }
.pb-wystrike__word small { display: block; margin-top: 4px; font-size: 12px; line-height: 18px; letter-spacing: .04em; opacity: .8; }

/* The 执事堂 and 外务堂 open in the 议事堂's right pane on the website (2026-11-21): measured on that pane, not the window. */
.pb-sc-hallpane { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.pb-sc-hallpane .pb-zs { --u: min(calc(100cqw / 1672), calc(100cqh / 941)); --ox: calc((100cqw - 1672 * var(--u)) / 2); --oy: calc((100cqh - 941 * var(--u)) / 2); }
.pb-sc-hallpane .pb-ws { --u: min(calc(100cqw / 1536), calc(100cqh / 864)); }
.pb-zs-back--still { cursor: default; }
/* Without an office: told so. */
.pb-sc-barred { display: grid; place-content: center; justify-items: center; gap: 8px; background: linear-gradient(180deg, #e8eeec 0%, #f3f1ec 100%); color: #17262d; text-align: center; }
.pb-sc-barred p { margin: 0; font: 600 20px/28px var(--font-serif); letter-spacing: .1em; }
.pb-sc-barred small { color: #5b6766; font-size: 13px; }
.pb-sc-hallnote { z-index: 50; bottom: 96px; }

/* Phone only: warm paper, consistent spacing and short transitions on content. */
.phone .pb-app {
  --pb-phone-gutter: clamp(14px, 4.6vw, 20px);
  --pb-phone-paper: #f8f9f6;
  --pb-phone-jade: #e7efea;
  --pb-phone-rule: rgb(47 87 83 / .1);
  --pb-phone-ease: cubic-bezier(.2, .7, .3, 1);
}

.phone .pb-screen.pb-cy-ground { animation: none; }
.phone .pb-screen.pb-cy-ground:not(.has-wall) {
  background: linear-gradient(180deg, #edf2ee, var(--pb-phone-paper) 230px);
}
.phone .pb-cy-head {
  min-height: 68px;
  box-sizing: border-box;
  padding: 12px var(--pb-phone-gutter) 8px;
}
.phone .pb-cy-head h1 { letter-spacing: .08em; }

.phone .pb-cy-tabs:not(.pb-sc-strip) {
  gap: 6px;
  padding: 2px var(--pb-phone-gutter) 6px;
  border: 0;
}
.phone .pb-cy-tabs:not(.pb-sc-strip) button {
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 0;
  border-radius: 22px;
}
.phone .pb-cy-tabs:not(.pb-sc-strip) button[aria-selected="true"] {
  background: var(--pb-phone-jade);
  color: #28453f;
}

.phone .pb-cy-body {
  padding: 8px var(--pb-phone-gutter) 24px;
  overscroll-behavior-y: contain;
}
.phone .pb-cy-list { gap: 0; }
.phone .pb-cy-row__hit { min-height: 60px; padding-inline: 8px 4px; }
.phone .pb-cy-row.has-face .pb-cy-row__hit { padding-left: 6px; }
.phone .pb-cy-row__main { gap: 3px; }
.phone .pb-cy-row__main > span { line-height: 19px; }
.phone .pb-cy-more { width: 44px; height: 44px; margin-right: 0; border-radius: 14px; }
.phone .pb-cy-body .pb-sc-dept { min-height: 58px; padding: 8px 12px; border-radius: 13px; }
.phone .pb-zb2-side .pb-sc-depts {
  gap: 0;
  padding: 4px;
  border: 1px solid var(--pb-phone-rule);
  border-radius: 19px;
  background: rgb(255 255 255 / .56);
}
.phone .pb-zb2-side .pb-zb2-mine { margin-top: 14px; }
.phone .pb-zb2-side .pb-sc-dept__mark { background: var(--pb-phone-jade); color: #30524c; }
.phone :is(.pb-cy-row__hit, .pb-sc-dept):active { background-color: var(--pb-phone-jade); }

.phone .pb-chatwrap.pb-cyc :is(.pb-cyc-log, .pb-zb2-body, .pb-wx2-body) {
  overscroll-behavior-y: contain;
}
.phone .pb-chatwrap.pb-cyc > .pb-cyc-log {
  gap: 16px;
  padding-inline: var(--pb-phone-gutter);
}
.phone .pb-chatwrap.pb-cyc .pb-cyc-day::before,
.phone .pb-chatwrap.pb-cyc .pb-cyc-day::after { background: var(--pb-phone-rule); }
.phone .pb-chatwrap.pb-cyc .pb-cyc-b:not(.is-media) { line-height: 23px; }

.phone .pb-chatwrap.pb-cyc .pb-cyc-compose {
  padding: 8px var(--pb-phone-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  border-top-color: var(--pb-phone-rule);
  background: var(--pb-phone-paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.phone .pb-cyc-compose .pb-cyc-field {
  min-height: 48px;
  align-items: center;
  border-color: var(--pb-phone-rule);
  border-radius: 24px;
  box-shadow: 0 2px 8px rgb(23 38 45 / .035);
}
.phone .pb-cyc-compose .pb-cyc-field:focus-within { border-color: #527e78; }
.phone .pb-cyc-compose .pb-cyc-field textarea {
  padding-block: 11px;
  font-size: 16px;
  line-height: 24px;
}
.phone .pb-cyc-compose .pb-cyc-field .pb-cyc-smile { width: 44px; height: 44px; }
.phone .pb-cyc-compose :is(.pb-cyc-plus, .pb-cyc-main) { margin-bottom: 2px; }
.phone .pb-cyc-pop { border-radius: 18px; }
.phone .pb-cyc-menu button { min-height: 44px; }

.phone .pb-wx2:not(.pb-wx2--desk) .pb-wx2-body {
  padding: 14px var(--pb-phone-gutter) 24px;
}
.phone .pb-wx2-body .pb-wx-feed { gap: 14px; }
.phone .pb-zb2:not(.pb-zb2--desk) .pb-zb2-grid { gap: 12px; }

/* Narrow phones give the 洞府 tools and expanded group search their own line. */
@media (max-width: 360px) {
  .phone .pb-cy-head:has(> .pb-cy-add + .pb-cy-tools-r) {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 6px 8px;
  }
  .phone .pb-cy-head:has(> .pb-cy-add) .pb-cy-tools-r {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(44px, 1fr));
    border-radius: 22px;
    background: rgb(255 255 255 / .58);
  }
  .phone .pb-cy-head:has(> .pb-cy-add) :is(.pb-cy-add, .pb-cy-tool) { height: 44px; }
  .phone .pb-cy-head:has(> .pb-cy-add) .pb-cy-tool { width: 100%; }
}
@media (max-width: 420px) {
  .phone .pb-sc-head:has(.pb-sc-search) {
    min-height: 110px;
    align-items: flex-start;
    padding-top: 10px;
  }
  .phone .pb-sc-head .pb-sc-acts:has(.pb-sc-search) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .phone .pb-sc-head .pb-sc-search {
    position: absolute;
    inset: auto var(--pb-phone-gutter) 4px;
    padding: 0 8px;
    border-radius: 22px;
    background: var(--pb-phone-paper);
  }
  .phone .pb-sc-head .pb-sc-search input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border-color: transparent;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone :is(.pb-cy-list, .pb-zb2-side .pb-sc-depts, .pb-cyc-log, .pb-wx2-body, .pb-zb2-grid) {
    animation: pb-phone-content-in 170ms var(--pb-phone-ease);
  }
  .phone :is(.pb-cy-row__hit, .pb-sc-dept, .pb-cyc-round, .pb-cyc-main) {
    transition: transform 140ms var(--pb-phone-ease), background-color 140ms var(--pb-phone-ease);
  }
  .phone :is(.pb-cy-row__hit, .pb-sc-dept, .pb-cyc-round, .pb-cyc-main):active:not(:disabled) {
    transform: scale(.98);
  }
}
@keyframes pb-phone-content-in {
  from { opacity: .78; transform: translateY(4px); }
}
