@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&display=swap');

:root { --ink:#21191a; --wine:#7e1e23; --red:#bd3430; --gold:#bd8c33; --paper:#f5eddf; --cream:#fffaf0; --mist:#ded2be; --jade:#315d58; --line:rgba(67,38,31,.19); --shadow:0 16px 44px rgba(50,23,20,.15); }
* { box-sizing:border-box; }
html { background:var(--paper); color:var(--ink); font-size:16px; }
body { margin:0; min-width:320px; font-family:"Noto Serif SC",serif; background:radial-gradient(circle at 10% 0%,#fff9ec 0,transparent 25rem),var(--paper); }
button,a { font:inherit; }
button { cursor:pointer; }
.skip-link { position:absolute; transform:translateY(-120%); background:#fff; color:#000; padding:.8rem; z-index:20; }
.skip-link:focus { transform:translateY(0); }
.shell { width:min(1120px, calc(100% - 32px)); margin:auto; padding-bottom:48px; }
.nav { display:flex; justify-content:space-between; align-items:center; min-height:82px; border-bottom:1px solid var(--line); gap:12px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:900; color:var(--wine); text-decoration:none; letter-spacing:.04em; }
.brand-mark { width:38px; height:38px; display:grid; place-items:center; border:2px solid var(--wine); border-radius:50%; font-family:"Ma Shan Zheng"; font-size:25px; }
.nav-links { display:flex; gap:4px; overflow:auto; }
.nav-links a { color:var(--ink); text-decoration:none; white-space:nowrap; padding:10px 12px; font-size:.87rem; border-radius:99px; }
.nav-links a:hover,.nav-links a:focus-visible,.nav-links a.active { color:#fff; background:var(--wine); outline:none; }
.hero { padding:72px 0 48px; display:grid; grid-template-columns:1.25fr .75fr; gap:32px; align-items:center; }
.eyebrow { color:var(--wine); font-weight:700; letter-spacing:.14em; font-size:.78rem; display:flex; align-items:center; gap:8px; }
.eyebrow::before { content:""; width:32px; border-top:2px solid var(--gold); }
h1,h2,h3,p { margin-top:0; }
h1 { margin:.6rem 0 1rem; font-size:clamp(2.4rem,7vw,5.8rem); line-height:1.03; letter-spacing:-.07em; font-family:"Ma Shan Zheng","Noto Serif SC",serif; color:var(--wine); font-weight:400; }
h1 .accent { color:var(--gold); }
.hero-copy { max-width:610px; font-size:1.05rem; line-height:1.9; color:#493736; }
.hero-actions { margin-top:24px; display:flex; flex-wrap:wrap; gap:12px; }
.button { min-height:48px; border:0; border-radius:5px; background:var(--wine); color:#fffdf7; padding:0 22px; font-weight:700; box-shadow:0 7px 0 #4d0f15; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.button:hover { transform:translateY(-2px); box-shadow:0 9px 0 #4d0f15; background:#98282d; }
.button:active { transform:translateY(4px); box-shadow:0 3px 0 #4d0f15; }
.button.secondary { background:transparent; color:var(--wine); border:1px solid var(--wine); box-shadow:none; }
.button.gold { background:var(--gold); box-shadow:0 7px 0 #795312; }
.button:focus-visible,.option:focus-visible,.site-card:focus-visible { outline:3px solid #1b70ad; outline-offset:3px; }
.seal { position:relative; min-height:278px; display:grid; place-items:center; overflow:hidden; background:var(--wine); color:#fff6df; box-shadow:var(--shadow); isolation:isolate; }
.seal::before,.seal::after { content:""; position:absolute; border:1px solid rgba(255,246,223,.46); inset:16px; }
.seal::after { inset:34px; transform:rotate(45deg) scale(.83); }
.seal-inner { position:relative; z-index:1; text-align:center; padding:30px; }
.seal-symbol { font:112px/1 "Ma Shan Zheng"; color:#f4ce72; text-shadow:3px 4px 0 #4e1017; }
.seal-text { font-family:"ZCOOL KuaiLe"; font-size:1.35rem; letter-spacing:.2em; }
.notice { border-left:3px solid var(--gold); padding:12px 14px; background:#f7eacb; color:#55402a; font-size:.86rem; line-height:1.7; }
.section { padding:44px 0; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; }
h2 { font-family:"Ma Shan Zheng"; font-size:clamp(2rem,4vw,3.25rem); font-weight:400; color:var(--wine); margin:0; }
.section-heading p { margin:0; color:#675452; max-width:490px; font-size:.92rem; line-height:1.7; }
.site-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.site-card { position:relative; min-height:256px; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; padding:22px; text-decoration:none; color:#fffdf2; background:var(--card, var(--wine)); box-shadow:0 8px 0 color-mix(in srgb,var(--card, var(--wine)) 72%,#21191a); transition:transform .2s ease; }
.site-card:hover { transform:translateY(-5px) rotate(-.4deg); }
.site-card::after { content:""; position:absolute; width:120px; height:120px; border:2px solid rgba(255,255,255,.3); border-radius:50%; right:-32px; bottom:-32px; }
.site-card .card-symbol { font:68px/1 "Ma Shan Zheng"; opacity:.9; }
.site-card small { letter-spacing:.12em; opacity:.82; }.site-card h3 { margin:8px 0 4px; font-size:1.25rem; }.site-card p { margin:0; font-size:.82rem; line-height:1.65; opacity:.9; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.feature { padding:20px; background:var(--cream); border:1px solid var(--line); }.feature b { display:block; color:var(--wine); margin-bottom:8px; }.feature p { margin:0; font-size:.88rem; line-height:1.7; color:#594b49; }
.footer { padding:28px 0; border-top:1px solid var(--line); color:#675452; font-size:.78rem; line-height:1.8; }

.test-wrap { max-width:760px; margin:30px auto 0; }.test-top { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:18px; color:#694f4d; font-size:.87rem; }.progress { height:8px; background:#e1d2bf; overflow:hidden; }.progress b { display:block; height:100%; background:linear-gradient(90deg,var(--wine),var(--gold)); transition:width .25s ease; }.test-card { background:var(--cream); padding:clamp(24px,6vw,54px); box-shadow:var(--shadow); border-top:5px solid var(--wine); }.question-meta { color:var(--wine); letter-spacing:.12em; font-size:.78rem; font-weight:700; }.question { margin:14px 0 30px; font-size:clamp(1.45rem,4vw,2.1rem); line-height:1.45; font-weight:700; }.options { display:grid; gap:12px; }.option { text-align:left; display:flex; align-items:center; gap:14px; width:100%; padding:17px; border:1px solid #cabaa8; background:#fffdf8; color:var(--ink); line-height:1.55; transition:border-color .18s,transform .18s,background .18s; }.option:hover { transform:translateX(4px); border-color:var(--wine); background:#fff5e5; }.option .letter { flex:0 0 28px; height:28px; border:1px solid var(--wine); display:grid; place-items:center; color:var(--wine); font-size:.78rem; font-weight:700; }.test-actions { display:flex; justify-content:space-between; gap:12px; margin-top:26px; }.text-button { padding:8px 0; border:0; color:var(--wine); background:none; text-decoration:underline; }

.result { max-width:880px; margin:30px auto 0; }.result-card { position:relative; overflow:hidden; background:var(--cream); padding:clamp(24px,6vw,54px); border:1px solid var(--line); box-shadow:var(--shadow); }.result-card::before { content:""; position:absolute; width:400px; aspect-ratio:1; border:1px solid #d9b56b; border-radius:50%; right:-200px; top:-220px; opacity:.55; }.result-kicker { color:var(--wine); font-weight:700; letter-spacing:.13em; font-size:.78rem; }.result-name { position:relative; font-family:"Ma Shan Zheng"; color:var(--wine); font-size:clamp(3rem,8vw,6rem); line-height:1.1; font-weight:400; margin:10px 0; }.result-code { font-family:ui-monospace,monospace; letter-spacing:.18em; color:var(--gold); font-weight:700; }.result-summary { max-width:650px; line-height:1.9; color:#4d3b39; margin-top:20px; }.runes { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0; }.rune { padding:7px 10px; background:#f1e2c8; color:#764923; font-size:.8rem; }.reading { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:28px 0; }.reading div { border-top:2px solid var(--gold); padding-top:12px; }.reading b { color:var(--wine); display:block; margin-bottom:6px; }.reading span { font-size:.86rem; line-height:1.65; color:#5b4947; }.result-actions { display:flex; flex-wrap:wrap; gap:12px; }.paywall { margin-top:20px; padding:18px; background:#261c1d; color:#fff5e4; display:flex; justify-content:space-between; gap:18px; align-items:center; }.paywall p { margin:3px 0 0; font-size:.8rem; color:#e6c99a; line-height:1.5; }.paywall .button { white-space:nowrap; background:var(--gold); box-shadow:0 5px 0 #785213; }
.modal { position:fixed; inset:0; z-index:10; display:grid; place-items:center; padding:20px; background:rgba(27,17,18,.57); }.modal-box { width:min(470px,100%); background:var(--cream); padding:30px; box-shadow:var(--shadow); }.modal-box h2 { font-size:2.5rem; }.price { font:700 2rem/1 ui-monospace,monospace; color:var(--wine); margin:22px 0; }.modal-box p { color:#5d4845; line-height:1.8; }.modal-actions { display:flex; gap:12px; flex-wrap:wrap; }
.toast { position:fixed; z-index:20; bottom:20px; left:50%; transform:translateX(-50%); background:#201819; color:#fff; padding:12px 18px; box-shadow:var(--shadow); font-size:.9rem; }
.hidden { display:none !important; }
@media (max-width:820px) { .hero { grid-template-columns:1fr; padding-top:46px; }.seal { min-height:190px; }.seal-symbol{font-size:80px}.site-grid { grid-template-columns:repeat(2,1fr); }.feature-grid { grid-template-columns:1fr; }.paywall{align-items:flex-start;flex-direction:column}.nav{align-items:flex-start;padding:16px 0;flex-direction:column}.nav-links{width:100%;padding-bottom:2px}.reading { grid-template-columns:1fr; } }
@media (max-width:440px) { .shell { width:min(100% - 24px,1120px); }.site-card{min-height:218px;padding:18px}.hero { padding-top:28px; }.test-card,.result-card { margin-inline:-2px; }.button{width:100%;}.hero-actions,.result-actions,.modal-actions{flex-direction:column}.test-actions .button{width:auto}.test-actions{align-items:center}.question{font-size:1.4rem} }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; } }

/* Minimal editorial refresh: less ornament, more hierarchy and breathing room. */
:root { --ink:#1d2523; --wine:#963a30; --red:#963a30; --gold:#9d743a; --paper:#f1f2ed; --cream:#fbfbf6; --mist:#cfd8d1; --jade:#19463e; --line:#cbd5ce; --shadow:0 10px 28px rgba(30,44,40,.12); --font-ui:"Noto Serif SC",serif; }
body { background:var(--paper); }
body,button,a,input { font-family:var(--font-ui); }
.brand-mark,.seal-symbol { font-family:var(--font-ui); }
.shell { width:min(1160px,calc(100% - 48px)); }
.nav { min-height:72px; border-bottom:1px solid var(--line); }
.brand { color:var(--ink); font-weight:700; letter-spacing:0; }
.brand-mark { width:34px; height:34px; border:1px solid var(--ink); font-size:21px; color:var(--ink); }
.nav-links { gap:8px; }
.nav-links a { display:inline-flex; align-items:center; min-height:42px; font-size:.94rem; color:#3f4d48; padding:9px 14px; border:1px solid transparent; border-radius:8px; font-weight:600; }
.nav-links a:hover,.nav-links a:focus-visible,.nav-links a.active { color:var(--ink); background:#e5ebe5; }
.hero { padding:64px 0 36px; grid-template-columns:minmax(0,1.05fr) minmax(260px,.75fr); gap:64px; }
.eyebrow { color:var(--jade); font-size:.75rem; }
.eyebrow::before { width:24px; border-color:var(--gold); }
h1 { margin:.5rem 0 .8rem; font-size:clamp(2.45rem,5.5vw,4.6rem); color:var(--ink); letter-spacing:-.055em; font-weight:700; }
h1 .accent { color:var(--red); }
.hero-copy { max-width:560px; color:#485650; font-size:1rem; line-height:1.78; }
.result-count { margin:14px 0 0; color:var(--jade); font-size:.9rem; font-weight:600; letter-spacing:.02em; }
.hero-actions { margin-top:20px; }
.button { min-height:44px; border-radius:7px; padding:0 18px; background:var(--ink); box-shadow:none; font-size:.95rem; font-weight:600; }
.button:hover { transform:translateY(-1px); box-shadow:none; background:#3a4743; }
.button:active { transform:translateY(1px); box-shadow:none; }
.button.secondary { border-color:#abb8b0; color:var(--ink); }
.button.gold { background:var(--gold); box-shadow:none; }
.notice { border-left:2px solid var(--gold); background:#eef1ea; color:#58645e; padding:10px 12px; font-size:.78rem; }
.hero .notice { margin-top:24px; max-width:560px; }
.home-seal { background:linear-gradient(145deg,#1d4a43 0%,#2d665d 100%); color:#fff7df; border:0; box-shadow:0 18px 40px rgba(29,74,67,.18); }
.home-seal::before,.home-seal::after { border-color:rgba(245,206,114,.62); }
.home-seal .seal-symbol { color:#f5ce72; text-shadow:4px 5px 0 rgba(24,53,48,.62); }
.home-seal .seal-text { color:#fff6df; }
.hero-art { position:relative; min-height:320px; overflow:hidden; border-radius:14px; box-shadow:0 18px 40px rgba(29,74,67,.18); }
.hero-art svg { display:block; width:100%; height:100%; min-height:320px; }
.hero-art-caption { position:absolute; left:28px; bottom:24px; display:grid; gap:3px; color:#fff9e7; text-shadow:0 2px 10px rgba(11,39,38,.45); }
.hero-art-caption strong { font-size:1.55rem; letter-spacing:.12em; }
.hero-art-caption span { font-size:.82rem; letter-spacing:.12em; opacity:.92; }
.culture-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; padding:14px 0 20px; }
.quote-tile { position:relative; min-height:170px; overflow:hidden; padding:22px; border:1px solid var(--line); border-radius:10px; background:var(--cream); }
.quote-tile::after { content:""; position:absolute; width:140px; height:140px; right:-58px; bottom:-64px; border-radius:50%; border:1px solid currentColor; opacity:.22; }
.quote-tile span { display:block; margin-bottom:16px; font-size:.78rem; font-weight:700; letter-spacing:.14em; }
.quote-tile b { position:relative; z-index:1; display:block; margin-bottom:8px; font-size:1.05rem; color:var(--ink); }
.quote-tile p { position:relative; z-index:1; margin:0; color:#69736f; font-size:.83rem; line-height:1.75; }
.quote-shanhai { color:#2c695d; background:linear-gradient(135deg,#ecf2eb,#fbfbf6); }
.quote-shijing { color:#9a4b3d; background:linear-gradient(135deg,#fbefdf,#fffaf2); }
.quote-yijing { color:#655181; background:linear-gradient(135deg,#f0edf6,#fcfbfa); }
.seal { min-height:280px; background:var(--cream); color:var(--ink); border:1px solid var(--line); box-shadow:none; }
.seal::before,.seal::after { border-color:#b3c0b7; }
.seal::after { opacity:.55; }
.seal-symbol { color:var(--jade); text-shadow:none; }
.seal-text { color:#65746c; font-family:"Noto Serif SC",serif; font-size:.9rem; letter-spacing:.15em; }
.section { padding:42px 0; }
.section-heading { margin-bottom:18px; }
h2 { color:var(--ink); font-size:clamp(1.75rem,3vw,2.55rem); font-weight:700; }
.section-heading p { color:#5f6b65; font-size:.86rem; }
.site-grid { gap:12px; }
.site-card { min-height:210px; padding:20px; background:var(--cream)!important; color:var(--ink); border:1px solid var(--line); border-top:3px solid var(--card,var(--red)); box-shadow:none; }
.site-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.site-card::after { width:90px; height:90px; border-color:#dbe2dc; }
.site-card .card-symbol { color:var(--card,var(--red)); font-size:48px; opacity:1; font-weight:700; }
.site-card small { color:#5e6a64; letter-spacing:.06em; }.site-card h3 { font-size:1.08rem; color:var(--ink); }.site-card p { color:#5e6a64; opacity:1; }
.feature-grid { gap:12px; }.feature { padding:18px; background:var(--cream); border:1px solid var(--line); border-radius:8px; }.feature b { color:var(--ink); font-size:.95rem; }.feature p { color:#5e6a64; }
.footer { color:#76807a; border-color:var(--line); }
.test-wrap { margin-top:24px; }.test-top { color:#71807a; }.progress { height:5px; background:#e4e8e3; }.progress b { background:var(--jade); }
.test-card { border:1px solid var(--line); border-top:3px solid var(--jade); border-radius:8px; box-shadow:var(--shadow); }
.question-meta { color:var(--jade); letter-spacing:.08em; font-size:.82rem; }.question { font-size:clamp(1.45rem,2.8vw,2.05rem); line-height:1.5; font-weight:700; }.option { border-color:#c7d2ca; background:#fdfefb; border-radius:7px; padding:15px; font-size:1rem; line-height:1.55; }.option:hover { transform:none; border-color:var(--jade); background:#edf5ef; }.option .letter { border-color:#8ea89a; color:var(--jade); border-radius:50%; font-family:var(--font-ui); }
.result-card { border-radius:8px; box-shadow:var(--shadow); }.result-card::before { opacity:.35; }.result-kicker { color:var(--jade); }.result-name { color:var(--ink); font-size:clamp(2.8rem,7vw,5.4rem); }.rune { background:#edf1ea; color:#4c6259; border-radius:999px; }.reading div { border-color:#b79055; }.reading b { color:var(--ink); }.reading span { color:#68736e; }.paywall { border-radius:7px; background:#253532; }.modal-box { border-radius:10px; }
@media (max-width:820px) { .shell{width:min(100% - 32px,1160px)}.hero{gap:30px}.seal{min-height:220px}.site-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:440px) { .shell{width:calc(100% - 24px)}.hero{padding-top:32px}.site-grid{grid-template-columns:1fr}.site-card{min-height:188px} }

/* Final clarity pass: restore the high-contrast seal and separate controls. */
.seal { color:#fff6df; }
.seal-symbol { color:#f4ce72; text-shadow:3px 4px 0 rgba(62,20,18,.55); }
.seal-text { color:#fff5db; }
.test-top > a {
  display:inline-flex;
  min-height:38px;
  align-items:center;
  padding:0 14px;
  border:1px solid #d2af57;
  border-radius:7px;
  background:#f6e5ad;
  color:#75402b;
  text-decoration:none;
  font-weight:600;
  transition:background .18s ease, transform .18s ease;
}
.test-top > a:hover { background:#f9edc9; transform:translateY(-1px); }
.test-top-links { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.test-top-links .home-link {
  background:var(--cream);
  border-color:#c9d3cb;
  color:var(--jade);
}
.test-top-links .home-link:hover { background:#eef5ef; }
.result-reset { min-height:38px; padding:0 14px; border:1px solid #d2af57; border-radius:7px; background:#f6e5ad; color:#75402b; font:600 .94rem var(--font-ui); cursor:pointer; transition:background .18s ease,transform .18s ease; }
.result-reset:hover { background:#fbefc9; transform:translateY(-1px); }
.test-actions {
  display:grid;
  grid-template-columns:minmax(92px,auto) 1fr minmax(92px,auto);
  align-items:center;
  gap:16px;
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.test-actions .text-button,
.test-actions .button { min-height:44px; }
.test-actions .text-button {
  padding:0 14px;
  border:1px solid #ccd5ce;
  border-radius:7px;
  background:#f7faf6;
  text-decoration:none;
  color:#52635b;
}
.test-actions .text-button:not(:disabled):hover { border-color:var(--jade); color:var(--jade); background:#eef5ef; }
.test-actions .text-button:disabled { opacity:.45; cursor:not-allowed; }
.question-hint { text-align:center; color:#7a817c; font-size:.82rem; }
.result-hero { display:flex; align-items:center; gap:20px; margin-bottom:18px; }
.result-hero > div:last-child { min-width:0; }
.result-avatar {
  width:108px;
  height:108px;
  flex:0 0 108px;
  border-radius:36% 44% 38% 46%;
  display:grid;
  place-items:center;
  background:var(--avatar);
  color:#f5ce72;
  border:4px solid #f5ce72;
  box-shadow:inset 0 -10px 0 rgba(0,0,0,.12);
  position:relative;
  font-size:3.6rem;
  font-weight:700;
}
.result-avatar::before,
.result-avatar::after {
  content:"";
  position:absolute;
  top:34px;
  width:9px;
  height:12px;
  border-radius:50%;
  background:#fffaf0;
  box-shadow:inset 0 2px 0 rgba(0,0,0,.2);
}
.result-avatar::before { left:29px; }
.result-avatar::after { right:29px; }
.result-avatar span { position:relative; z-index:1; margin-top:20px; color:#f7d477; }
.result-art-wrap { flex:0 0 210px; width:210px; min-height:190px; display:grid; place-items:center; overflow:hidden; border-radius:16px; background:#edf2ed; border:1px solid #cbd8d0; }
.generated-art { width:100%; height:100%; min-height:190px; display:grid; place-items:center; overflow:hidden; border-radius:inherit; background:#f4ead8; }
.generated-art img { width:100%; height:100%; object-fit:cover; display:block; }
.generated-art > div[hidden] { display:none; }
.generated-art > div:not([hidden]) { width:100%; height:100%; display:grid; place-items:center; }
.creature-art { width:198px; text-align:center; color:var(--creature-ink); font-size:.9rem; font-weight:700; letter-spacing:.08em; }
.creature-art svg { display:block; width:198px; height:164px; margin:0 auto -8px; }
.creature-cloud { fill:var(--creature); opacity:.25; }
.creature-body,.creature-ear { fill:var(--creature); stroke:var(--creature-ink); stroke-width:4; stroke-linejoin:round; }
.creature-eye { fill:var(--creature-ink); }
.creature-cheek { fill:#efaaa6; opacity:.8; }
.creature-face,.creature-mark,.creature-tail { fill:none; stroke:var(--creature-ink); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.festival-art { color:var(--creature-ink); }
.festival-art svg { overflow:visible; }
.festival-glow { fill:#f7d477; opacity:.22; }
.festival-cord,.festival-tassel,.festival-mark { fill:none; stroke:var(--creature-ink); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.festival-lantern { fill:#d86a45; stroke:var(--creature-ink); stroke-width:3; stroke-linejoin:round; }
.festival-lantern path { fill:none; stroke:#f7d477; stroke-width:2; }
.festival-small { transform:translateY(8px); opacity:.9; }
.festival-dot { fill:#f7d477; stroke:var(--creature-ink); stroke-width:2; }
.festival-art text { fill:var(--creature-ink); font-size:10px; font-family:inherit; letter-spacing:1px; }
.huangli-art { color:var(--creature-ink); }
.huangli-art svg { overflow:visible; }
.huangli-moon { fill:#f3c96b; stroke:var(--creature-ink); stroke-width:2; }
.huangli-cloud { fill:#f3eee0; stroke:var(--creature-ink); stroke-width:3; stroke-linejoin:round; }
.huangli-mat { fill:#d8a45b; stroke:var(--creature-ink); stroke-width:3; }
.huangli-person { fill:#bd6a2b; stroke:var(--creature-ink); stroke-width:3; stroke-linejoin:round; }
.huangli-face,.huangli-line,.huangli-steam { fill:none; stroke:var(--creature-ink); stroke-width:2.5; stroke-linecap:round; }
.huangli-face { fill:#f6d9b6; }
.huangli-cup { fill:#f1d28a; stroke:var(--creature-ink); stroke-width:2.5; }
.huangli-art text { fill:var(--creature-ink); font-size:10px; font-family:inherit; letter-spacing:1px; }
.result-symbol { min-height:120px; display:grid; place-items:center; align-content:center; gap:4px; color:#f5ce72; }
.gua-symbol { font-size:4rem; line-height:1; color:var(--creature); text-shadow:2px 3px 0 rgba(31,32,26,.22); }
.analysis-label { margin-top:18px; color:var(--wine); font-size:.82rem; font-weight:700; letter-spacing:.08em; }
.detail-reading { margin:24px 0; padding:20px; border-left:3px solid var(--gold); background:#f1f4ed; }
.detail-reading h3 { margin:0 0 8px; color:var(--ink); font-size:1.15rem; }
.detail-reading p { margin:0; color:#58645e; font-size:.95rem; line-height:1.85; }
.method-note { margin-top:18px !important; padding-top:14px; border-top:1px dashed #d4ddd5; color:#7b857f !important; font-size:.8rem !important; line-height:1.7 !important; }
.enhanced-report { margin-top:22px; padding:22px; border:1px solid #d6bd7d; border-radius:10px; background:linear-gradient(135deg,#fff9e8,#f5f1e5); }
.enhanced-kicker { color:#9b7133; font-size:.76rem; font-weight:700; letter-spacing:.12em; }
.enhanced-report h3 { margin:6px 0 16px; color:var(--ink); font-size:1.35rem; }
.enhanced-report h4 { margin:22px 0 8px; color:#6d4b22; font-size:1rem; }
.enhanced-lead { color:#625847 !important; font-size:.94rem !important; line-height:1.9 !important; }
.enhanced-report > p { color:#6f6657; font-size:.88rem; line-height:1.85; }
.enhanced-dimensions { display:grid; gap:9px; }
.enhanced-dimension { padding:12px 14px; border:1px solid rgba(178,145,73,.25); border-radius:8px; background:rgba(255,255,255,.55); }
.enhanced-dimension > div { display:flex; justify-content:space-between; gap:12px; color:#6d4b22; }
.enhanced-dimension span { font-size:.8rem; }
.enhanced-dimension p { margin:6px 0 0; color:#706759; font-size:.82rem; line-height:1.7; }
.enhanced-list { margin:8px 0 0; padding-left:1.3rem; color:#706759; font-size:.86rem; line-height:1.9; }
.enhanced-columns { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.enhanced-columns > div { padding:14px; border:1px solid rgba(178,145,73,.28); border-radius:8px; background:rgba(255,255,255,.58); }
.enhanced-columns b { color:#6d4b22; font-size:.88rem; }
.enhanced-columns p { margin:7px 0 0; color:#6f6657; font-size:.82rem; line-height:1.7; }
.enhanced-share { margin-top:14px; padding:14px; border-left:3px solid #b79055; background:rgba(255,255,255,.5); }
.enhanced-share b { color:#6d4b22; font-size:.86rem; }.enhanced-share p { margin:6px 0 0; color:#695c49; font-size:.86rem; line-height:1.7; }
.facet-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:20px; }
.facet-card { padding:14px 15px; border:1px solid #d7dfd7; border-radius:8px; background:rgba(255,255,255,.62); }
.facet-top { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.facet-top b { color:var(--ink); font-size:1.02rem; }
.facet-top span { color:var(--jade); font-size:.72rem; white-space:nowrap; }
.facet-track { height:6px; margin:10px 0 8px; overflow:hidden; border-radius:999px; background:#e5ebe4; }
.facet-track i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#d19d53,#47796c); }
.facet-subtitle { color:var(--wine); font-size:.78rem; font-weight:700; }
.facet-card p { margin:4px 0 0; color:#6b7770; font-size:.78rem; line-height:1.55; }
.culture-section { position:relative; }
.culture-heading { display:flex; align-items:baseline; gap:14px; margin-bottom:16px; color:var(--ink); }
.culture-heading span { font-weight:700; letter-spacing:.08em; }
.culture-heading em { color:#87918b; font-size:.8rem; font-style:normal; }
.culture-grid { grid-template-columns:repeat(3,1fr); }
.culture-card { position:relative; display:flex; align-items:flex-start; gap:16px; min-height:148px; overflow:hidden; border-radius:10px; background:linear-gradient(135deg,#fffefa,#f1f4ec); }
.culture-card::after { content:""; position:absolute; width:92px; height:92px; right:-30px; bottom:-34px; border:1px solid #d9c28b; border-radius:50%; opacity:.75; }
.culture-mark { flex:0 0 48px; height:48px; display:grid; place-items:center; border:1px solid #c8a35d; border-radius:50%; color:var(--wine); font-size:1.5rem; line-height:1; background:#fbf2d9; }
.culture-card b { display:block; margin:2px 0 8px; color:var(--ink); font-size:1rem; }
.culture-card p { max-width:23em; margin:0; color:#6a756f; font-size:.88rem; line-height:1.8; }
@media (max-width:560px) {
  .test-actions { grid-template-columns:1fr 1fr; }
  .question-hint { grid-column:1 / -1; grid-row:1; order:-1; }
  .test-actions #back { grid-column:1; }
  .test-actions #next { grid-column:2; }
  .result-hero { align-items:flex-start; gap:14px; }
  .result-avatar { width:82px; height:82px; flex-basis:82px; font-size:2.7rem; border-width:3px; }
  .result-avatar::before,.result-avatar::after { top:25px; width:7px; height:10px; }
  .result-avatar::before { left:21px; }.result-avatar::after { right:21px; }
  .result-name { font-size:2.4rem; }
  .result-name { overflow-wrap:anywhere; line-height:1.05; }
  .result-art-wrap { width:132px; flex-basis:132px; min-height:124px; }
  .creature-art { width:124px; font-size:.68rem; }
  .creature-art svg { width:124px; height:102px; }
  .festival-art svg { width:124px; height:102px; }
  .huangli-art svg { width:124px; height:102px; }
  .result-symbol { min-height:88px; }
  .gua-symbol { font-size:3rem; }
  .culture-gallery { grid-template-columns:1fr; padding-top:4px; }
  .quote-tile { min-height:142px; }
  .facet-grid { grid-template-columns:1fr; }
  .enhanced-columns { grid-template-columns:1fr; }
  .culture-grid { grid-template-columns:1fr; }
  .culture-heading { display:block; }
  .culture-heading em { display:block; margin-top:5px; }
}

/* Noble cool-gold finish: restrained lacquer, jade and paper tones with a little ceremonial glow. */
:root {
  --ink:#20322f;
  --wine:#7d3035;
  --gold:#b28a4a;
  --paper:#e9ece7;
  --cream:#fbfaf4;
  --jade:#24534c;
  --line:rgba(42,67,61,.2);
  --shadow:0 20px 46px rgba(31,54,48,.14);
}
html { background:var(--paper); }
body {
  color:var(--ink);
  background:
    radial-gradient(circle at 84% 6%, rgba(192,157,88,.16), transparent 19rem),
    radial-gradient(circle at 8% 28%, rgba(77,121,108,.10), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.38), transparent 48%),
    var(--paper);
}
body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.16;
  background-image:linear-gradient(rgba(55,73,67,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(55,73,67,.10) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom, black, transparent 72%);
}
.shell { width:min(1180px,calc(100% - 40px)); }
.nav {
  min-height:78px;
  border-bottom:1px solid rgba(67,89,81,.26);
  position:relative;
}
.nav::after {
  content:"";
  position:absolute;
  left:0; right:0; bottom:-2px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  opacity:.7;
}
.brand { color:var(--jade); letter-spacing:.08em; }
.brand-mark { border-color:var(--gold); color:var(--jade); box-shadow:0 0 0 4px rgba(178,138,74,.10); }
.nav-links a { color:#52625c; border-radius:5px; }
.nav-links a:hover,.nav-links a:focus-visible,.nav-links a.active { color:var(--jade); background:rgba(255,250,240,.82); border-color:rgba(178,138,74,.48); box-shadow:inset 0 -2px 0 var(--gold); }
.hero { padding-top:72px; }
.eyebrow { color:var(--jade); letter-spacing:.2em; }
.eyebrow::before { border-color:var(--gold); }
h1,h2,.result-name { font-family:"Noto Serif SC",serif; font-weight:700; letter-spacing:-.045em; }
h1 { color:var(--jade); text-shadow:0 2px 0 rgba(255,255,255,.55); }
h1 .accent { color:var(--wine); }
.hero-copy { color:#4f6059; }
.button { background:linear-gradient(135deg,#203f3a,#2d6258); border:1px solid rgba(178,138,74,.55); box-shadow:0 8px 22px rgba(31,68,60,.18); }
.button:hover { background:linear-gradient(135deg,#2c5149,#397367); box-shadow:0 10px 24px rgba(31,68,60,.23); }
.button.secondary { background:rgba(255,252,243,.68); color:var(--jade); border-color:rgba(178,138,74,.7); }
.home-seal,.hero-art { border:1px solid rgba(178,138,74,.45); box-shadow:0 22px 52px rgba(35,68,60,.2); }
.home-seal { background:linear-gradient(145deg,#183d3a,#326b60); }
.hero-art { border-radius:18px; }
.hero-art-caption strong { font-family:"Noto Serif SC",serif; letter-spacing:.2em; }
.section-heading h2, h2 { color:var(--jade); }
.section-heading p { color:#64736c; }
.site-grid { gap:16px; }
.site-card {
  min-height:226px;
  border:1px solid rgba(178,138,74,.38);
  border-top:3px solid var(--card,var(--jade));
  border-radius:9px;
  background:linear-gradient(145deg,rgba(255,254,249,.98),rgba(239,244,237,.92)) !important;
  box-shadow:0 11px 28px rgba(31,54,48,.09);
}
.site-card::before { content:""; position:absolute; inset:11px; border:1px solid rgba(178,138,74,.16); border-radius:5px; pointer-events:none; }
.site-card::after { border-color:rgba(178,138,74,.4); }
.site-card:hover { box-shadow:0 17px 34px rgba(31,54,48,.15), inset 0 0 0 1px rgba(178,138,74,.35); }
.site-card .card-symbol { color:var(--card,var(--jade)); text-shadow:0 2px 0 rgba(178,138,74,.18); }
.quote-tile,.feature { box-shadow:0 8px 22px rgba(31,54,48,.06); }
.quote-tile { border-color:rgba(178,138,74,.32); }
.test-card,.result-card { background:rgba(255,254,248,.94); border-color:rgba(178,138,74,.38); box-shadow:0 22px 48px rgba(31,54,48,.14); }
.test-card { border-top-color:var(--jade); }
.progress { background:#dfe7df; }
.progress b { background:linear-gradient(90deg,var(--jade),var(--gold)); }
.question-meta { color:var(--wine); }
.option { background:rgba(255,254,248,.95); border-color:#c3d0c7; }
.option:hover { background:#f3f7ef; border-color:var(--gold); box-shadow:0 5px 14px rgba(31,68,60,.08); }
.option .letter { border-color:var(--gold); color:var(--wine); background:#fffaf0; }
.result-card::after { content:"卦 · 灵 · 游"; position:absolute; right:26px; top:22px; color:rgba(178,138,74,.34); font-size:.68rem; letter-spacing:.25em; writing-mode:vertical-rl; }
.result-kicker { color:var(--wine); }
.result-name { color:var(--jade); }
.result-code { color:var(--gold); }
.rune { background:#edf2ea; border:1px solid rgba(178,138,74,.25); color:#4d685d; }
.detail-reading { background:linear-gradient(135deg,#f1f5ef,#fbf5e8); border-left-color:var(--gold); }
.reading div { border-color:var(--gold); }
.paywall { background:linear-gradient(135deg,#1c3733,#294d45); border:1px solid rgba(205,173,105,.4); }
.enhanced-report { background:linear-gradient(135deg,#fff9e8,#edf3eb); border-color:rgba(178,138,74,.56); box-shadow:0 12px 30px rgba(31,54,48,.08); }
.culture-mark { box-shadow:0 0 0 4px rgba(178,138,74,.08); }
.footer { color:#718079; }
@media (max-width:820px) { .shell{width:min(100% - 28px,1180px)}.hero{padding-top:48px}.site-card{min-height:210px} }

/* Phone layout: keep navigation and hero content inside the viewport. */
@media (max-width:760px) {
  html,body { max-width:100%; overflow-x:clip; }
  .shell { width:min(calc(100% - 32px),620px); }
  .nav {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    min-height:0;
    padding:14px 0 10px;
  }
  .brand { align-self:flex-start; font-size:1rem; }
  .nav-links {
    display:flex;
    width:100%;
    max-width:100%;
    flex-wrap:wrap;
    gap:7px;
    overflow:visible;
    padding:1px 0 2px;
  }
  .nav-links a {
    flex:0 1 auto;
    min-height:44px;
    padding:9px 12px;
    font-size:.9rem;
    white-space:nowrap;
  }
  .hero {
    grid-template-columns:minmax(0,1fr);
    gap:22px;
    align-items:start;
    padding:34px 0 28px;
  }
  .hero > * { min-width:0; }
  .hero h1 {
    max-width:100%;
    font-size:clamp(2.35rem,10.5vw,3.6rem);
    line-height:1.16;
    letter-spacing:-.035em;
    overflow-wrap:anywhere;
  }
  .hero-copy { max-width:none; font-size:1rem; line-height:1.8; }
  .hero .notice { max-width:none; }
  .hero-actions { display:flex; flex-wrap:wrap; gap:10px; }
  .hero-actions > .button { width:auto; min-height:48px; white-space:nowrap; }
  .seal,.hero-art {
    width:100%;
    min-height:clamp(220px,58vw,300px);
  }
  .seal-inner { padding:22px; }
  .seal-symbol { font-size:clamp(4.5rem,18vw,7rem); }
  .hero-art svg { min-height:clamp(220px,58vw,300px); }
  .hero-art-caption { left:18px; bottom:16px; }
  .hero-art-caption strong { font-size:1.25rem; }
  .hero-art-caption span { font-size:.76rem; }
}

@media (max-width:440px) {
  .shell { width:calc(100% - 28px); }
  .hero { padding-top:28px; }
  .hero-actions { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); }
  .hero-actions > .button { width:100%; min-width:0; padding-inline:12px; }
  .seal,.hero-art { min-height:220px; }
  .hero-art svg { min-height:220px; }
}
