@font-face{font-family:"Vtalk Display";src:url("/ui-kit/fonts/vtalk-display-600.woff2?v=u1-r1") format("woff2");font-weight:600;font-style:normal;font-display:swap}
/* T03: reapply the same canonical tokens on UI roots; legacy page variables stay local. */
:where(.vtalk-ui,.vtalk-ui *,.page-shell,.page-shell *,.gallery,.gallery *){box-sizing:border-box} :root,:where(.vtalk-ui){--chat-bg-blur:4px;--bg:#FAF8F5;--glass-light:rgba(250,253,255,.15);--glass-support:rgba(250,253,255,.60);--glass:var(--glass-light);--glass-strong:var(--glass-support);--glass-edge:rgba(255,255,255,.64);--glass-blur:10px;--shadow:0 5px 18px rgba(37,61,83,.10);--track:rgba(113,136,159,.12);--bubble-v:rgba(255,255,255,.86);--bubble-me:#E6EAF2;--ink:#243345;--ink-2:#4A4F5C;--ink-3:#667383;--accent:#8AA5C5;--accent-ink:#486887;--r-card:24px;--r-tile:20px;--r-bubble:18px;--r-pill:999px}

/* G8 A: seven reusable type levels. Colors remain the locked G4 palette. */
:root,:where(.vtalk-ui){--chat-bg-blur:4px;
  --glass-card:var(--glass-support);
  --font-display:"Vtalk Display","Songti SC","Noto Serif SC",serif;
  --font-ui:-apple-system,"PingFang SC",sans-serif;
  --t-display:600 30px/36px var(--font-display);
  --t-title:600 17px/22px var(--font-ui);
  --t-section:600 15px/20px var(--font-ui);
  --t-number:600 24px/28px var(--font-ui);
  --t-body:15px/21px var(--font-ui);
  --t-sub:12.5px/17px var(--font-ui);
  --t-caption:11px/14px var(--font-ui);
  --space-display-top:12px;
  --space-display-after:16px;
  --space-section-before:24px;
  --space-section-after:10px;
  --space-card-padding:16px;
  --space-row-min-height:56px;
  --space-row-icon-gap:12px;
  --space-card-gap:10px;
}

/* Glass contract, G5–G9: light (15%) only for large decorative surfaces
   without text or controls. Text/button tiles, cards, panels and bars use
   support (60%). Both keep --glass-blur:10px. Legacy names are aliases. */

/* U3: retain programmatic heading focus without a WebKit focus rectangle. */
:where(h1,h2,h3,h4,h5,h6)[tabindex="-1"]:focus{outline:none!important}
