/* Copied by deploy/site/build.mjs from packages/tokens/dist/css/tokens.css — do not edit here. */
/**
 * Generated from packages/tokens/tokens.json by Style Dictionary — DO NOT EDIT.
 * Regenerate with `pnpm tokens:build`; CI runs `pnpm tokens:check`.
 *
 * Light theme is the :root default; dark applies when the OS prefers dark (unless
 * <html data-theme="light">) or when <html data-theme="dark"> forces it.
 * Alias tokens use var() so they follow the active theme automatically.
 */
:root {
  /* color */
  --ground: #E3E5E8;
  --bg: #EDEFF1;
  --bg-2: #E4E7EB;
  --glass: rgba(255,255,255,.70);
  --glass-line: rgba(28,32,44,.08);
  --solid: #FBFBFA;
  --ink: #171A22;
  --ink-2: #5A5F6B;
  --ink-3: #8C919B;
  --line: rgba(28,32,44,.09);
  --line-2: rgba(28,32,44,.2);
  --brass: #8A744C;
  --brass-2: #A88E5E;
  --brass-glow: rgba(168,142,94,.16);
  --on-brass: #14110A;
  --moon: #5D6B86;
  --ten: #6D58A0;
  --ten-soft: rgba(109,88,160,.09);
  --blue: var(--s-west);
  --s-west: #4A68A0;
  --s-veda: #9A7337;
  --s-bazi: #A65446;
  --s-ziwei: #7A5FA3;
  --s-hd: #3F7F74;
  --s-num: #807637;
  --s-psy: #5E7E4A;
  --s-iching: #6B675F;
  --s-palm: #93694C;
  --s-face: #9A5574;
  --wx-wood: #4F7F5C;
  --wx-fire: #B0594A;
  --wx-earth: #94743F;
  --wx-metal: #9C8650;
  --wx-water: #4A6EA8;
  --hd-p: var(--ink);
  --hd-d: #B04A3C;
  --hd-b: #3F6E9A;
  --c-head: #D8C79C;
  --c-ajna: #9DB89A;
  --c-throat: #BFA383;
  --c-g: var(--c-head);
  --c-heart: #C98A7C;
  --c-sacral: #C98A7C;
  --c-spleen: var(--c-throat);
  --c-solar-plexus: var(--c-throat);
  --c-root: var(--c-throat);
  --c-open: var(--solid);
  --aspect-harmony: var(--s-west);
  --aspect-tension: var(--s-bazi);
  --aspect-neutral: var(--s-iching);
  --aspect-conjunction: var(--brass-2);
  --pair-me: var(--brass);
  --pair-other: var(--hd-b);
  --feeling-negative: var(--s-bazi);
  --feeling-positive: var(--s-west);
  --hua-lu: #7FA58A;
  --hua-quan: #C77C6B;
  --hua-ke: #7E97C6;
  --hua-ji: #80808A;
  --on-hua: #FFFFFF;
  --layer-natal: var(--ink);
  --layer-decade: #554185;
  --layer-year: #B06F2D;
  --layer-month: #2C898E;
  --layer-day: #86412C;
  --layer-natal-tint: rgba(23,26,34,.05);
  --layer-decade-tint: rgba(85,65,133,.10);
  --layer-year-tint: rgba(176,111,45,.10);
  --layer-month-tint: rgba(44,137,142,.10);
  --layer-day-tint: rgba(134,65,44,.10);
  --logo-a: #B9A57C;
  --logo-b: #8A744C;
  --logo-c: #5E4F33;
  --logo-glow: #C9B68C;
  --logo-star: #6E5C3A;
  --icon-night-inner: #171B28;
  --icon-night-outer: #05060B;
  --icon-porcelain-inner: #FAF9F5;
  --icon-porcelain-outer: #E6E3DA;
  --icon-tinted-ground: #0A0A0C;
  --icon-tinted-stroke: #8E8E93;
  --icon-tinted-star: #C7C7CC;
  --sky-star: rgba(255,248,230,1);
  --sky-nebula-1: rgba(150,170,215,.10);
  --sky-nebula-2: rgba(214,194,154,.08);
  --sky-nebula-3: rgba(181,160,214,.05);
  /* effect */
  --star: 0;
  --nebula-opacity: .9;
  /* font */
  --cn: "Noto Serif SC","Songti SC","STSong",serif;
  --cn-hant: "Noto Serif TC","Songti TC","Noto Serif SC","Songti SC",serif;
  --en: "Cinzel","Trajan Pro",serif;
  --ui: -apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --mono: "IBM Plex Mono",ui-monospace,"SF Mono","Menlo",monospace;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-black: 900;
  /* type */
  --type-eyebrow-family: var(--en);
  --type-eyebrow-size: 10.5px;
  --type-eyebrow-weight: 400;
  --type-eyebrow-tracking: .32em;
  --type-eyebrow-line-height: 1.4;
  --type-eyebrow: 400 10.5px/1.4 var(--en);
  --type-section-label-family: var(--en);
  --type-section-label-size: 10px;
  --type-section-label-weight: 400;
  --type-section-label-tracking: .3em;
  --type-section-label-line-height: 1.4;
  --type-section-label: 400 10px/1.4 var(--en);
  --type-section-title-family: var(--cn);
  --type-section-title-size: 14px;
  --type-section-title-weight: 600;
  --type-section-title-tracking: .06em;
  --type-section-title-line-height: 1.4;
  --type-section-title: 600 14px/1.4 var(--cn);
  --type-large-title-family: var(--cn);
  --type-large-title-size: 32px;
  --type-large-title-weight: 600;
  --type-large-title-tracking: .04em;
  --type-large-title-line-height: 1.25;
  --type-large-title: 600 32px/1.25 var(--cn);
  --type-nav-title-family: var(--cn);
  --type-nav-title-size: 17px;
  --type-nav-title-weight: 600;
  --type-nav-title-tracking: .08em;
  --type-nav-title-line-height: 1.3;
  --type-nav-title: 600 17px/1.3 var(--cn);
  --type-quote-family: var(--cn);
  --type-quote-size: 21px;
  --type-quote-weight: 600;
  --type-quote-tracking: .02em;
  --type-quote-line-height: 1.6;
  --type-quote: 600 21px/1.6 var(--cn);
  --type-serif-body-family: var(--cn);
  --type-serif-body-size: 16.5px;
  --type-serif-body-weight: 400;
  --type-serif-body-tracking: 0;
  --type-serif-body-line-height: 1.75;
  --type-serif-body: 400 16.5px/1.75 var(--cn);
  --type-body-family: var(--ui);
  --type-body-size: 14.5px;
  --type-body-weight: 400;
  --type-body-tracking: 0;
  --type-body-line-height: 1.7;
  --type-body: 400 14.5px/1.7 var(--ui);
  --type-row-family: var(--ui);
  --type-row-size: 15px;
  --type-row-weight: 400;
  --type-row-tracking: 0;
  --type-row-line-height: 1.4;
  --type-row: 400 15px/1.4 var(--ui);
  --type-button-family: var(--ui);
  --type-button-size: 16px;
  --type-button-weight: 600;
  --type-button-tracking: .12em;
  --type-button-line-height: 1.2;
  --type-button: 600 16px/1.2 var(--ui);
  --type-caption-family: var(--ui);
  --type-caption-size: 12.5px;
  --type-caption-weight: 400;
  --type-caption-tracking: 0;
  --type-caption-line-height: 1.6;
  --type-caption: 400 12.5px/1.6 var(--ui);
  --type-label-family: var(--ui);
  --type-label-size: 11.5px;
  --type-label-weight: 400;
  --type-label-tracking: .06em;
  --type-label-line-height: 1.4;
  --type-label: 400 11.5px/1.4 var(--ui);
  --type-foot-family: var(--ui);
  --type-foot-size: 11.5px;
  --type-foot-weight: 400;
  --type-foot-tracking: 0;
  --type-foot-line-height: 1.6;
  --type-foot: 400 11.5px/1.6 var(--ui);
  --type-tab-label-family: var(--ui);
  --type-tab-label-size: 10px;
  --type-tab-label-weight: 400;
  --type-tab-label-tracking: 0;
  --type-tab-label-line-height: 1.2;
  --type-tab-label: 400 10px/1.2 var(--ui);
  --type-mono-data-family: var(--mono);
  --type-mono-data-size: 12px;
  --type-mono-data-weight: 400;
  --type-mono-data-tracking: 0;
  --type-mono-data-line-height: 1.4;
  --type-mono-data: 400 12px/1.4 var(--mono);
  --type-mono-small-family: var(--mono);
  --type-mono-small-size: 10.5px;
  --type-mono-small-weight: 500;
  --type-mono-small-tracking: 0;
  --type-mono-small-line-height: 1.3;
  --type-mono-small: 500 10.5px/1.3 var(--mono);
  --type-mono-display-family: var(--mono);
  --type-mono-display-size: 16px;
  --type-mono-display-weight: 600;
  --type-mono-display-tracking: 0;
  --type-mono-display-line-height: 1.2;
  --type-mono-display: 600 16px/1.2 var(--mono);
  --type-wordmark-cn-family: var(--cn);
  --type-wordmark-cn-size: 54px;
  --type-wordmark-cn-weight: 900;
  --type-wordmark-cn-tracking: .32em;
  --type-wordmark-cn-line-height: 1.1;
  --type-wordmark-cn: 900 54px/1.1 var(--cn);
  --type-wordmark-en-family: var(--en);
  --type-wordmark-en-size: 13px;
  --type-wordmark-en-weight: 400;
  --type-wordmark-en-tracking: .62em;
  --type-wordmark-en-line-height: 1.2;
  --type-wordmark-en: 400 13px/1.2 var(--en);
  --type-wordmark-cn-card-family: var(--cn);
  --type-wordmark-cn-card-size: 40px;
  --type-wordmark-cn-card-weight: 900;
  --type-wordmark-cn-card-tracking: .34em;
  --type-wordmark-cn-card-line-height: 1.1;
  --type-wordmark-cn-card: 900 40px/1.1 var(--cn);
  --type-wordmark-en-card-family: var(--en);
  --type-wordmark-en-card-size: 12px;
  --type-wordmark-en-card-weight: 400;
  --type-wordmark-en-card-tracking: .62em;
  --type-wordmark-en-card-line-height: 1.2;
  --type-wordmark-en-card: 400 12px/1.2 var(--en);
  /* radius */
  --radius-card: 22px;
  --radius-plate: 24px;
  --radius-group: 18px;
  --radius-tile: 18px;
  --radius-pill: 999px;
  --radius-segment: 12px;
  --radius-segment-item: 9px;
  --radius-bubble: 20px;
  --radius-bubble-tail: 6px;
  --radius-composer: 28px;
  --radius-tabbar: 32px;
  --radius-tabbar-item: 26px;
  --radius-period: 14px;
  --radius-chart-grid: 16px;
  --radius-icon-tile: 20px;
  /* space */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-22: 22px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-page-gutter: var(--space-18);
  --space-card-padding: var(--space-18);
  --space-row-padding-x: var(--space-16);
  --space-row-padding-y: var(--space-12);
  --space-row-min-height: 46px;
  --space-section-top: var(--space-24);
  --space-section-bottom: var(--space-10);
  --space-stack: var(--space-12);
  --space-chip-gap: var(--space-6);
  --space-tile-gap: 9px;
  /* blur */
  --blur-card: 18px;
  --blur-composer: 20px;
  --blur-tabbar: 24px;
  --blur-tabbar-saturate: 1.4;
  /* shadow */
  --shadow-button: 0 8px 28px var(--brass-glow);
  --shadow-tabbar: 0 10px 30px rgba(0,0,0,.18);
  --shadow-segment-thumb: 0 1px 4px rgba(0,0,0,.18);
  --shadow-icon-tile: 0 10px 30px rgba(0,0,0,.35);
  --shadow-dot-glow: 0 0 8px var(--brass);
  /* motion */
  --motion-easing-rise: cubic-bezier(.2,.7,.2,1);
  --motion-easing-draw: cubic-bezier(.4,.1,.2,1);
  --motion-easing-pop: cubic-bezier(.3,1.6,.5,1);
  --motion-easing-grow: cubic-bezier(.3,.8,.2,1);
  --motion-easing-standard: cubic-bezier(.25,.1,.25,1);
  --motion-easing-in-out: cubic-bezier(.42,0,.58,1);
  --motion-easing-linear: cubic-bezier(0,0,1,1);
  --motion-duration-rise: 700ms;
  --motion-duration-rise-stagger: 60ms;
  --motion-duration-draw: 1600ms;
  --motion-duration-pop: 500ms;
  --motion-duration-fade: 800ms;
  --motion-duration-grow: 1200ms;
  --motion-duration-unlock: 600ms;
  --motion-duration-hexagram: 3000ms;
  --motion-duration-hexagram-line: 500ms;
  --motion-duration-breath: 3200ms;
  --motion-duration-breath-stagger: 200ms;
  --motion-duration-logo-spin: 60000ms;
  --motion-duration-scan: 2800ms;
  --motion-duration-pair-pulse: 2400ms;
  --motion-duration-orbit-enter: 800ms;
  --motion-duration-event-save: 1200ms;
  --motion-duration-converge: 7000ms;
  --motion-duration-splash-intro: 2400ms;
  --motion-duration-theme-crossfade: 600ms;
  --motion-duration-control: 250ms;
  --motion-duration-hover: 200ms;
  --motion-distance-rise: 14px;
  --motion-distance-hover-lift: 2px;
  --motion-scale-pop-from: .3;
  --motion-scale-breath-peak: 1.15;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #04050A;
    --bg: #080A10;
    --bg-2: #0E1119;
    --glass: rgba(236,232,223,.04);
    --glass-line: rgba(236,232,223,.075);
    --solid: #11141D;
    --ink: #ECE8DF;
    --ink-2: #A2A4AE;
    --ink-3: #6B6F7C;
    --line: rgba(236,232,223,.075);
    --line-2: rgba(236,232,223,.18);
    --brass: #D6C29A;
    --brass-2: #EDE0C2;
    --brass-glow: rgba(214,194,154,.16);
    --moon: #C9D3E6;
    --ten: #B59ED9;
    --ten-soft: rgba(181,158,217,.11);
    --s-west: #8DAAD8;
    --s-veda: #D4AE78;
    --s-bazi: #D98E7E;
    --s-ziwei: #B5A0D6;
    --s-hd: #86BDB2;
    --s-num: #C9BE85;
    --s-psy: #A3BC8E;
    --s-iching: #B4B0AA;
    --s-palm: #CFA084;
    --s-face: #D293AE;
    --wx-wood: #8DB596;
    --wx-fire: #D98E7E;
    --wx-earth: #C8A874;
    --wx-metal: #DCCB9C;
    --wx-water: #8DAAD8;
    --hd-d: #D98E7E;
    --hd-b: #9FB6DA;
    --c-head: #D9C79A;
    --c-ajna: #9DBB9E;
    --c-throat: #B4977A;
    --c-heart: #C7867A;
    --c-sacral: #C7867A;
    --layer-decade: #9A88CF;
    --layer-year: #F6BE82;
    --layer-month: #8BD7DA;
    --layer-day: #CB836D;
    --layer-natal-tint: rgba(236,232,223,.06);
    --layer-decade-tint: rgba(154,136,207,.14);
    --layer-year-tint: rgba(246,190,130,.14);
    --layer-month-tint: rgba(139,215,218,.14);
    --layer-day-tint: rgba(203,131,109,.14);
    --logo-a: #F4EDDD;
    --logo-b: #D6C29A;
    --logo-c: #8F7C57;
    --logo-glow: #FFFDF6;
    --logo-star: #FFFBF0;
    --star: 1;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ground: #04050A;
  --bg: #080A10;
  --bg-2: #0E1119;
  --glass: rgba(236,232,223,.04);
  --glass-line: rgba(236,232,223,.075);
  --solid: #11141D;
  --ink: #ECE8DF;
  --ink-2: #A2A4AE;
  --ink-3: #6B6F7C;
  --line: rgba(236,232,223,.075);
  --line-2: rgba(236,232,223,.18);
  --brass: #D6C29A;
  --brass-2: #EDE0C2;
  --brass-glow: rgba(214,194,154,.16);
  --moon: #C9D3E6;
  --ten: #B59ED9;
  --ten-soft: rgba(181,158,217,.11);
  --s-west: #8DAAD8;
  --s-veda: #D4AE78;
  --s-bazi: #D98E7E;
  --s-ziwei: #B5A0D6;
  --s-hd: #86BDB2;
  --s-num: #C9BE85;
  --s-psy: #A3BC8E;
  --s-iching: #B4B0AA;
  --s-palm: #CFA084;
  --s-face: #D293AE;
  --wx-wood: #8DB596;
  --wx-fire: #D98E7E;
  --wx-earth: #C8A874;
  --wx-metal: #DCCB9C;
  --wx-water: #8DAAD8;
  --hd-d: #D98E7E;
  --hd-b: #9FB6DA;
  --c-head: #D9C79A;
  --c-ajna: #9DBB9E;
  --c-throat: #B4977A;
  --c-heart: #C7867A;
  --c-sacral: #C7867A;
  --layer-decade: #9A88CF;
  --layer-year: #F6BE82;
  --layer-month: #8BD7DA;
  --layer-day: #CB836D;
  --layer-natal-tint: rgba(236,232,223,.06);
  --layer-decade-tint: rgba(154,136,207,.14);
  --layer-year-tint: rgba(246,190,130,.14);
  --layer-month-tint: rgba(139,215,218,.14);
  --layer-day-tint: rgba(203,131,109,.14);
  --logo-a: #F4EDDD;
  --logo-b: #D6C29A;
  --logo-c: #8F7C57;
  --logo-glow: #FFFDF6;
  --logo-star: #FFFBF0;
  --star: 1;
  color-scheme: dark;
}

/* A Traditional Chinese page is set in the Traditional Chinese face (Taiwan / Hong Kong glyph forms, same metrics).
 * On <html> only: every element below inherits it, and a page stylesheet can still override it there. */
:root:lang(zh-Hant) {
  --cn: var(--cn-hant);
}
