/* v9 uses the production typography and palette; all new selectors are scoped. */
:root{--ax-accent:#bbc99a;--ax-line:#34382e;--ax-muted:#b5b7ab}
.ax{font-size:16px;line-height:1.6}.ax h1,.ax .ax-title{font-family:Georgia,'Songti SC',serif;font-weight:500;font-size:clamp(29px,3.4vw,44px);line-height:1.2;margin:8px 0 14px}.ax h2{font-family:Georgia,'Songti SC',serif;font-size:25px;font-weight:500;margin:8px 0 16px}.ax h3{font-size:17px;font-weight:500;margin:18px 0 12px}.ax p{max-width:70ch;margin:12px 0;color:#d2d2c8}.ax small,.ax-caption{font-size:14px!important;color:var(--ax-muted)!important;line-height:1.65}.ax-eyebrow{color:var(--ax-accent)!important;font-size:14px;letter-spacing:.07em}.ax-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0}.ax-subnav{display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--ax-line);margin:0 0 24px;min-height:58px}.ax-subnav a{font-size:18px;padding:14px 0;border-bottom:3px solid transparent}.ax-subnav a[aria-current]{border-color:var(--ax-accent);color:var(--ax-accent)}.ax-library{margin-left:auto;font-size:15px!important}.ax-segments{display:flex;flex-wrap:wrap;gap:8px}.ax-segments button,.ax-labels button{border:1px solid #73796b;border-radius:28px;min-height:42px;padding:7px 18px;background:transparent;font:inherit;color:inherit;cursor:pointer}.ax-segments .chosen,.ax-labels .chosen{background:var(--ax-accent);color:#10130d;border-color:var(--ax-accent)}.ax-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:20px;border-bottom:1px solid var(--ax-line);padding:16px 0 24px}.ax label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#c7cbbe}.ax input:not([type=checkbox]):not([type=color]),.ax select,.ax textarea,.ax-gift-conditions select{background:#11140f;border:1px solid #505747;border-radius:5px;color:#eee8dd;min-height:44px;font:inherit;padding:9px 12px;max-width:100%;min-width:0;color-scheme:dark}.ax textarea{width:100%;resize:vertical}.ax select{padding-right:30px}.ax .pill{min-height:44px;font-size:15px;padding:9px 18px}.ax .ivory{background:var(--ax-accent);color:#10130d}.ax :focus-visible,.ax-subnav :focus-visible,.ax-context :focus-visible{outline:2px solid #e3efbb;outline-offset:4px}.ax-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,1fr);gap:40px;padding:28px 0;border-bottom:1px solid var(--ax-line);min-height:540px}.ax-scene{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;position:relative}.ax-scene canvas{width:100%;height:auto;max-height:510px;object-fit:contain;cursor:pointer}.ax-scene.ax-figure canvas{width:auto;max-width:100%;height:510px}.ax-controls{border-left:1px solid var(--ax-line);padding:10px 0 10px 34px;align-self:center}.ax-controls>.ax-segments{display:grid;grid-template-columns:1fr 1fr}.ax-swatches{display:grid;grid-template-columns:repeat(5,minmax(42px,1fr));gap:12px 8px;margin:20px 0 30px}.ax-swatches button{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;border:0;background:none;color:#ddd;padding:0;min-height:65px;font-size:12px;cursor:pointer}.ax-swatches button::before{content:'';width:34px;height:34px;border-radius:50%;background:var(--sw);border:1px solid #aaa}.ax-swatches button[aria-pressed=true]::before{outline:2px solid #e8ecdd;outline-offset:4px}.ax-custom{display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important}.ax-custom input{width:48px;height:38px;padding:2px;border:1px solid #777;border-radius:5px;background:transparent}.ax-custom output{font-size:14px}.ax-lock{flex-direction:row!important;align-items:center;margin:15px 0}.ax-lock input{width:18px;height:18px;accent-color:var(--ax-accent)}.ax-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.ax-text-actions{display:flex;flex-wrap:wrap;gap:14px}.ax-text-actions .pill{padding:0;border:0;border-radius:0;text-decoration:underline;text-decoration-color:var(--ax-accent);text-underline-offset:5px}.ax-labels{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin:8px 0}.ax-labels button{font-size:13px;padding:5px 10px;display:flex;gap:7px;align-items:center;min-height:34px}.ax-labels i,.ax-dots i{background:var(--sw);width:12px;height:12px;display:inline-block;border-radius:50%;border:1px solid #aaa8}.ax-dots{display:inline-flex;gap:7px;align-items:center;margin:6px 0}.ax-dots i{width:23px;height:23px}.ax-inputs{border-bottom:1px solid var(--ax-line);padding:10px 0 20px}.ax summary{cursor:pointer;font-size:16px;padding:10px 0}.ax-formgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ax-inputs form{padding:14px 0}.ax-profile-picker{display:inline-flex!important;margin:14px 0 0 14px}.ax-calendar{padding:25px 0;border-bottom:1px solid var(--ax-line)}.ax-calendar-head{display:flex;align-items:center;gap:12px}.ax-calendar-head h2{margin-right:auto;font-size:21px}.ax-week,.ax-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;text-align:center}.ax-week{color:var(--ax-muted);margin:18px 0 8px;font-size:14px}.ax-days button{background:transparent;color:inherit;border:1px solid transparent;display:flex;align-items:center;flex-direction:column;border-radius:0!important;padding:9px 4px;min-height:68px;cursor:pointer;font-size:16px}.ax-days button.chosen{border:2px solid var(--ax-accent);background:#bbc99a0c}.ax-days button:hover{background:#ffffff0b}.ax-days .ax-dots{gap:4px}.ax-days .ax-dots i{width:8px;height:8px}.ax-calendar.full{max-width:850px;margin:0 auto}.ax-reading{display:flex;flex-wrap:wrap;gap:24px;padding:28px 0}.ax-reading a{color:var(--ax-accent);border-bottom:1px solid var(--ax-line)}.ax-practice{padding:20px 0;border-bottom:1px solid var(--ax-line)}.ax-two{display:grid;grid-template-columns:1fr 1fr;gap:30px}.ax-pairform{padding:30px 0}.ax-pairform fieldset{border:1px solid var(--ax-line);padding:22px;display:grid;gap:12px;border-radius:6px;min-width:0}.ax-pairform legend{font-size:20px;padding:0 12px}.ax-pairform>button{margin-top:18px}.ax-pair-results article{border-bottom:1px solid var(--ax-line);padding-bottom:20px}.ax-pair-results .ax-dots i{width:62px;height:62px}.ax-explanation{padding:28px 0;max-width:1000px}.ax-explanation p{line-height:1.85}.ax-explanation>.ax-dots i{width:60px;height:60px}.ax-article{max-width:1120px;margin:auto}.ax-article-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:48px}.ax-article-layout>nav{display:flex;flex-direction:column;align-items:start;gap:12px;position:sticky;top:22px;align-self:start}.ax-article-layout>nav button{font:inherit;border:0;background:none;text-align:left;color:var(--ax-accent);cursor:pointer;padding:9px 0}.ax-article-layout section{padding:14px 0 22px;border-bottom:1px solid var(--ax-line);scroll-margin-top:30px}.ax-article-layout p{line-height:1.95}.ax-lessons article{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--ax-line);padding:24px 0}.ax-lessons h2{margin:9px 0}.ax-lessons p{font-size:16px;color:var(--ax-muted)}.ax-lesson article>button{flex-shrink:0}.ax-wallet-content{padding:28px 0;min-height:350px}.ax-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:25px 0}.ax-plan{padding:22px 0;border-top:1px solid var(--ax-line);min-width:0;overflow-wrap:anywhere}.ax-plan h2{font-size:23px}.ax-plan p{white-space:pre-wrap}.ax-empty{grid-column:1/-1;padding:40px 0}.ax-context{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--ax-line);padding:18px 22px;margin:24px 0;background:#0b0d08;line-height:1.6}.ax-context strong{display:block;font-weight:500;font-size:20px}.ax-context small{color:var(--ax-muted);font-size:14px}.ax-context .pill{margin:4px;font-size:14px}.ax-context p{font-size:14px}.ax-monthly{border-bottom:1px solid var(--ax-line);padding:0 0 22px;display:flex;justify-content:space-between;align-items:center;gap:36px}.ax-monthly h2{font-size:29px}.ax-monthly>div{flex:1}.ax-monthly .ax-actions{flex:.7;justify-content:flex-end}.ax-gift-conditions{display:flex;align-items:center;gap:28px;margin-bottom:25px}.ax-gift-conditions p{font-size:14px;color:var(--ax-muted)}.ax-context a,.ax-reading a{min-height:40px;display:inline-flex;align-items:center}.bottom{grid-template-columns:repeat(5,1fr)!important}.ax-method-note{font-size:14px;color:var(--ax-muted)}
@media(max-width:900px){.ax-workspace{gap:22px;grid-template-columns:1.15fr 1fr}.ax-controls{padding-left:22px}.ax-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ax-formgrid{grid-template-columns:1fr 1fr}.ax-monthly{align-items:start}.ax-monthly .ax-actions{flex-direction:column;align-items:start}.ax-toolbar{gap:12px}.ax-article-layout{grid-template-columns:160px minmax(0,1fr);gap:26px}}
@media(max-width:600px){.ax h1,.ax .ax-title{font-size:29px}.ax h2{font-size:23px}.ax-subnav{gap:27px;margin-bottom:18px}.ax-subnav a{font-size:17px}.ax-heading{display:block;margin:22px 0}.ax-heading>.ax-segments{margin-top:20px}.ax-workspace{grid-template-columns:1fr;gap:22px;padding:15px 0;min-height:0}.ax-controls{border-left:0;border-top:1px solid var(--ax-line);padding:20px 0}.ax-controls>.ax-segments{display:flex}.ax-controls>.ax-segments button{flex:1 0 auto}.ax-scene canvas{max-height:400px}.ax-scene.ax-figure canvas{height:420px}.ax-swatches{grid-template-columns:repeat(5,1fr);gap:15px}.ax-swatches button::before{width:38px;height:38px}.ax-swatches button{font-size:13px}.ax-formgrid,.ax-two,.ax-plan-grid{grid-template-columns:1fr}.ax-inputs input,.ax-inputs select{width:100%}.ax-calendar-head{flex-wrap:wrap}.ax-calendar-head h2{font-size:19px}.ax-calendar-head .pill{padding:5px 10px}.ax-days,.ax-week{gap:3px}.ax-days button{font-size:15px;padding:8px 0;min-height:58px}.ax-days .ax-dots{gap:3px}.ax-days .ax-dots i{width:6px;height:6px}.ax-monthly{display:block}.ax-monthly .ax-actions{flex-direction:row;justify-content:start}.ax-context{align-items:start;flex-direction:column;padding:16px}.ax-article-layout{display:block}.ax-article-layout>nav{position:static;flex-direction:row;flex-wrap:wrap;gap:10px;margin-bottom:15px}.ax-article-layout>nav button{font-size:14px}.ax-lessons article{align-items:start}.ax-lessons h2{font-size:21px}.ax-gift-conditions{display:block}.ax-pair-results .ax-dots i{width:45px;height:45px}.bottom a{font-size:12px!important;padding-left:1px!important;padding-right:1px!important;white-space:nowrap}.ax .ax-toolbar label{flex:1;min-width:120px}.ax-library{font-size:14px!important}.ax-profile-picker{margin-left:0!important;width:100%}.ax-reading{gap:15px}.ax-article textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.ax *{scroll-behavior:auto!important;transition:none!important}}

/* review fixes 2026-11-21: short EN tab labels on phones, no horizontal overflow in the section nav */
.bottom .ts{display:none}
@media(max-width:600px){.bottom .tl{display:none}.bottom .ts{display:inline}
.ax-subnav{gap:18px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ax-subnav::-webkit-scrollbar{display:none}.ax-subnav a{font-size:16px;flex:0 0 auto}.ax-library{margin-left:0}}
.ax-seo{max-width:1000px;padding:28px 0 8px;border-top:1px solid var(--ax-line,#333)}
/* review5 QA: the SEO / FAQ block sits after <main>, so give it the same column as main/header (91.1%, max 1540px, centred) */
body>.ax-seo{box-sizing:border-box;width:91.1%;max-width:1540px;margin-left:auto;margin-right:auto}
@media(max-width:760px){body>.ax-seo{width:calc(100% - 32px)}}
.ax-seo h2{font-family:Georgia,'Songti SC',serif;font-weight:500;font-size:24px;margin:22px 0 10px}
.ax-seo h3{font-size:17px;font-weight:500;margin:16px 0 6px}
.ax-seo p,.ax-seo li{line-height:1.8;color:#d2d2c8;max-width:72ch}
.ax-seo table{border-collapse:collapse;margin:10px 0;font-size:15px;max-width:100%;display:block;overflow-x:auto}
.ax-seo th,.ax-seo td{border-bottom:1px solid #3a3f33;padding:8px 12px;text-align:left;color:#e6e2d8}
.ax-seo .sw{display:inline-block;width:14px;height:14px;border-radius:50%;vertical-align:-2px;margin-right:6px;border:1px solid #aaa8}

/* review2: full 'Astro & Luck' label, auto palette */
@media(max-width:600px){.bottom a{letter-spacing:-.02em;padding-left:0!important;padding-right:0!important;min-width:0}.bottom{gap:0!important}}
.ax-labels{display:none!important}.ax-palette3 p{display:flex;gap:10px;align-items:center;margin:8px 0}.ax-palette3 i{width:28px;height:28px;border-radius:50%;background:var(--sw);border:1px solid rgba(0,0,0,.15);flex:0 0 auto}

/* review3: desktop top nav never wraps; terms glossary; example palette; products under results */
.mast nav{flex-wrap:nowrap;white-space:nowrap;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.mast nav::-webkit-scrollbar{display:none}
.mast nav a{white-space:nowrap;flex:0 0 auto}
@media(max-width:1440px){.mast nav{gap:10px;padding-left:10px}.mast nav a{letter-spacing:0}}
@media(max-width:1100px){.mast nav{gap:8px;padding-left:6px}.mast nav a{font-size:14px}.mast-tools .pill{padding:8px 10px}}
.ax-example{border-left:3px solid currentColor;padding-left:10px}
.ax-terms{margin-top:14px;font-size:14px}.ax-terms dt{font-weight:600;margin-top:8px}.ax-terms dd{margin:2px 0 0}.ax-terms abbr{text-decoration:underline dotted}
.ax-shop .grid{margin-top:12px}.ax-shop-item{display:flex;flex-direction:column;gap:8px}.ax-shop-item>a{align-self:start}

/* review4: one screen, one thing — editorial hierarchy (learned from pkg1: big headline, single input, one result card) */
.ax-subnav{gap:28px}.ax-subnav a[href*="knowledge"]{margin-left:auto}
.ax-simple{max-width:1120px}
.ax-hero{margin:28px 0 22px}
.ax-simple .ax-hero h1,.ax-simple .ax-hero .ax-title{font-family:inherit;font-size:13px!important;letter-spacing:.14em;text-transform:uppercase;color:var(--ax-muted);margin:0 0 14px;font-weight:500;line-height:1.4}
.ax-tag{display:inline-block;font-size:12px!important;letter-spacing:.12em;text-transform:uppercase;color:#10130d!important;background:var(--ax-accent);padding:3px 10px;margin:0 0 10px!important;border-radius:2px}
.ax-tag.is-example{background:transparent;color:var(--ax-muted)!important;border:1px dashed #73796b}
.ax-headline{font-family:Georgia,'Songti SC',serif;font-size:clamp(30px,4.2vw,52px)!important;line-height:1.12!important;color:#f1efe6!important;margin:4px 0 12px!important;max-width:22ch!important;font-weight:400}
.ax-sub{font-size:16px;color:#c9cbbf!important}
.ax-quick{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px 0 20px;border-bottom:1px solid var(--ax-line)}
.ax-quick label{flex:0 1 220px}.ax-quick label span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--ax-muted)}
.ax-quick input{min-height:46px;font-size:16px}
.ax-quick .pill{min-height:46px}
.ax-quick .ax-profile-picker{flex:0 1 200px}
.ax-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.ax-chips button,.ax-chips a{border:1px solid #4d5246;border-radius:999px;padding:6px 14px;background:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer;text-decoration:none}
.ax-chips .chosen{border-color:var(--ax-accent);color:var(--ax-accent)}
.ax-simple>.ax-segments{margin:18px 0 0}
.ax-result{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:start;padding:28px 0 8px}
.ax-result>.ax-three:first-child{grid-column:1/-1}
.ax-stage .ax-scene{margin:0}.ax-mini{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:12px}
.ax-three{list-style:none;margin:0;padding:0;border-top:1px solid var(--ax-line)}
.ax-three li{display:grid;grid-template-columns:64px 1fr;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--ax-line)}
.ax-three i{width:64px;height:64px;border-radius:50%;background:var(--sw);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.ax-three small{display:block;font-size:12px!important;letter-spacing:.12em;text-transform:uppercase}
.ax-three b{display:block;font-family:Georgia,'Songti SC',serif;font-weight:400;font-size:24px;color:#f1efe6;margin:2px 0}
.ax-three span{font-size:14px;color:#b9bbb0}
.ax-three.is-example i{opacity:.55}.ax-three.is-example b{color:#cfcfc4}
.ax-note{font-size:14px!important;color:#aeb1a5!important}
.ax-term{color:inherit;text-decoration:underline dotted;text-decoration-color:var(--ax-accent);text-underline-offset:4px}
.ax-term:hover{color:var(--ax-accent)}
.ax-compass{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;max-width:330px;margin:0 0 6px}
.ax-compass button{min-height:52px;border:1px solid #4d5246;background:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.ax-compass .chosen{background:var(--ax-accent);color:#10130d;border-color:var(--ax-accent)}
.ax-more{border-top:1px solid var(--ax-line);padding:14px 0}.ax-more summary{cursor:pointer;font-size:16px}
.ax-pair-why h2{font-size:20px!important;margin-top:0!important}
.ax-h1-seo{display:none}
.ax-lexicon .ax-lex-index{margin-bottom:28px}
.ax-lex-cat{font-size:13px!important;letter-spacing:.14em;text-transform:uppercase;color:var(--ax-accent);font-family:inherit!important;margin:34px 0 6px!important;border-bottom:1px solid var(--ax-line);padding-bottom:10px}
.ax-lex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
.ax-lex article{padding:20px 0;border-bottom:1px solid var(--ax-line);scroll-margin-top:90px}
.ax-lex article.is-target{box-shadow:-12px 0 0 -9px var(--ax-accent)}
.ax-lex h3{font-family:Georgia,'Songti SC',serif;font-size:22px!important;margin:0 0 6px!important}
.ax-lex-short{color:#f1efe6!important;font-size:16px}
.ax-lex p{font-size:15px}.ax-lex-use{border-left:2px solid var(--ax-accent);padding-left:12px}
.ax-lex a{font-size:14px}
@media(max-width:760px){.ax-result{grid-template-columns:1fr;gap:20px;padding-top:18px}.ax-lex{grid-template-columns:1fr}.ax-quick label{flex:1 1 100%}.ax-quick .pill{width:100%}.ax-three li{grid-template-columns:52px 1fr;gap:14px;padding:14px 0}.ax-three i{width:52px;height:52px}.ax-subnav{gap:20px}.ax-subnav a[href*="knowledge"]{margin-left:0}.ax-hero{margin:18px 0 14px}.ax-compass{max-width:none}}
.ax-compass button{display:flex;align-items:center;justify-content:center;text-align:center;padding:0 4px}
.ax-three small a.ax-term{text-decoration-thickness:1px}
@media(max-width:760px){.ax-result>div:last-child{order:-1}.ax-stage canvas{max-height:360px}}
@media(max-width:760px){.ax-result>div:last-child{order:0}.ax-result:has(.ax-stage)>div:last-child{order:-1}.ax-quick-two label{flex:1 1 calc(50% - 6px)}.ax-quick-two label span{font-size:11px}.ax-quick .ax-profile-picker{flex:1 1 100%}.ax-quick .ax-profile-picker select{width:100%}}

/* review4b: astro tab keeps its full name; on phones it may break into two fixed lines, bar height stays even */
.bottom .t2>span{white-space:nowrap}
@media(max-width:600px){.bottom a{line-height:1.15;justify-content:flex-start}.bottom{align-items:stretch}
html[lang^=en] .bottom .t2>span{display:block}}
@media(max-width:374px){.bottom .t2>span{display:block}}
.ax-shop-item .pill,.ax-shop-item a.buy{max-width:100%;white-space:normal;text-align:center}

/* review4c: source H1 kept as a quiet page label above the studio; tool titles are h2.ax-title */
#content>.ax-page-h1{font-family:inherit;font-size:13px;letter-spacing:.08em;font-weight:500;line-height:1.45;color:var(--ax-muted,#6f675d);margin:18px 0 0;padding:0}
@media(max-width:600px){#content>.ax-page-h1{font-size:12.5px;margin-top:14px}}

/* review4d — nav fit for the long tab name "East-West Astro Hub / 东西玄学局".
   Loaded by old static pages (added by tools/rename-tab.py); the same rules live at the end of studio.css for v9 pages.
   Top nav 761–1279px: full tab names, never cut, never abbreviated; ≥14px; English tabs may wrap to two lines inside the tab.
   Bottom bar: the astro tab is two fixed lines (East-West / Astro Hub, 东西 / 玄学局) when one line does not fit. */
.mast nav a .tn{white-space:nowrap}
@media (min-width:761px) and (max-width:1440px){.mast nav a{letter-spacing:0}}
@media (min-width:761px) and (max-width:1279px){
 .mast{gap:16px}
 .mast .logo{font-size:40px;letter-spacing:-1.5px;flex-shrink:0}
 .mast nav{gap:14px!important;padding-left:14px;min-width:0;flex:1 1 auto;overflow:visible!important}
 .mast nav a{font-size:14px;line-height:1.25;flex:0 1 auto;white-space:nowrap}
 html[lang^=en] .mast nav a{white-space:normal}
 .mast nav a.current:after{bottom:-10px}
 .mast-tools{gap:8px;flex-shrink:0;margin-left:auto}
 .mast-tools .pill,.mast .pill{padding:8px 12px;font-size:14px}
 @media (max-width:900px){.mast .logo{font-size:36px;letter-spacing:-1px}.mast nav{gap:10px!important;padding-left:10px}.mast-tools{gap:6px}.mast-tools .pill,.mast .pill{padding:7px 10px}}
}
/* English tabs stack word by word only where one line cannot fit; spacing stays even */
@media (min-width:1101px) and (max-width:1279px){.mast nav a{font-size:17px}.mast nav{gap:18px!important}}
@media (min-width:761px) and (max-width:879px){html[lang^=en] .mast nav a{flex:0 0 auto;width:min-content;white-space:normal}}
nav.bottom .t2>span{white-space:nowrap}
@media (max-width:600px){nav.bottom a{line-height:1.15}html[lang^=en] nav.bottom .t2>span{display:block}}
@media (max-width:374px){nav.bottom .t2>span{display:block}}
/* ===== review5: East-West Astro Hub layout (design v1.1 / v1.2). Cards and spacing, no rules. ===== */
.xh,.xh-head,.xh-tools{--xc:#17180f;--xc2:#1e2017;--xt:#23261b;--xi:#f3ecde;--xm:#b5b7ab;--xd:#7e8073;--xa:#bbc99a;--xa2:#e3efbb;--xs:var(--serif,Georgia,'Songti SC',serif)}
.xh-head{display:flex;align-items:flex-end;gap:14px 24px;flex-wrap:wrap;padding:18px 0 4px}
.xh-titles{flex:1 1 420px;min-width:0}
.xh-kicker{font-size:13px;color:#bbc99a;letter-spacing:2px;margin:0 0 4px}
#content .xh-h1{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:clamp(22px,2.6vw,30px);line-height:1.3;margin:0;color:#f3ecde;max-width:none;padding:0}
.xh-profiles{display:flex;gap:8px;align-items:center;flex-wrap:wrap;position:relative}
.xh-chip{display:inline-flex;align-items:center;background:#1e2017;border:0;border-radius:99px;padding:6px 14px;font:inherit;font-size:13px;line-height:1.4;color:#b5b7ab;white-space:nowrap;cursor:pointer;text-decoration:none;min-height:32px}
.xh-chip.on{background:#bbc99a;color:#111;font-weight:600}
.xh-chip.add{background:none;border:1px dashed #4a4e40;color:#d8d9cf}
.xh-chip.ghost{cursor:default;background:none;border:1px dashed #34372b}
.xh-pmgr{position:relative}.xh-pmgr>summary{list-style:none}.xh-pmgr>summary::-webkit-details-marker{display:none}
.xh-pmgr-body{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:min(340px,calc(100vw - 32px));background:#1e2017;border-radius:16px;padding:16px;box-shadow:0 18px 40px rgba(0,0,0,.5)}
.xh-newprof{display:grid;gap:10px}.xh-newprof label{display:grid;gap:4px;font-size:12px;color:#b5b7ab}
.xh input,.xh select,.xh-head input,.xh-head select{font:inherit;font-size:15px;color:#f3ecde;background:#17180f;border:1px solid #34372b;border-radius:10px;padding:8px 10px;min-height:40px;color-scheme:dark;max-width:100%}
.xh-plist{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}.xh-plist li{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#d8d9cf;background:#17180f;border-radius:10px;padding:8px 10px}
.xh-link{background:none;border:0;color:#bbc99a;font:inherit;font-size:13px;cursor:pointer;padding:0;text-decoration:none}
.xh-fine{font-size:12px;color:#7e8073;line-height:1.5;margin:8px 0 0}
.xh-tools{display:flex;gap:8px;margin:14px 0 22px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.xh-tools::-webkit-scrollbar{display:none}
.xh-tool{flex:none;padding:9px 18px;border-radius:12px;background:#17180f;color:#b5b7ab;font-size:15px;white-space:nowrap;text-decoration:none!important;border:0!important}
.xh-tool:hover{color:#f3ecde}.xh-tool.on{background:#f3ecde;color:#111;font-weight:600}
.xh{font-size:15px;line-height:1.55;color:#f3ecde;padding-bottom:28px}
.xh *{box-sizing:border-box}
.xh h2,.xh h3,.xh p{margin:0}
.xh a{color:inherit}
.xh-card{background:#17180f;border-radius:20px;padding:24px;display:block;text-decoration:none}
.xh-card+.xh-card,.xh-input.big+.xh-card{margin-top:16px}
.xh-row{display:flex;gap:10px 12px;align-items:center;flex-wrap:wrap}
.xh-push{margin-left:auto}
.xh-tag{display:inline-block;font-size:12px;line-height:1.5;padding:2px 10px;border-radius:99px;background:#3a3420;color:#f0d68a;white-space:nowrap}
.xh-tag.g{background:#2b3322;color:#e3efbb}
.xh-sub{color:#b5b7ab;font-size:14px}
.xh-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#bbc99a;color:#111!important;border:0;border-radius:10px;padding:9px 18px;font:inherit;font-weight:600;font-size:14px;white-space:nowrap;cursor:pointer;text-decoration:none!important;min-height:40px}
.xh-btn.ghost{background:#23261b;color:#f3ecde!important;font-weight:500}
.xh-titlerow{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin:0 0 16px}
.xh .xh-pagetitle{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:26px;line-height:1.3}
.xh-input{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#1e2017;border-radius:14px;padding:8px 10px 8px 16px}
.xh-input label{display:flex;align-items:center;gap:8px;color:#b5b7ab;font-size:14px;white-space:nowrap}
.xh-titlerow .xh-input{flex:1 1 360px}
.xh-input.big{background:#17180f;border-radius:20px;padding:18px 20px;gap:14px 18px}
.xh-input-text{display:grid;gap:2px;flex:1 1 300px}.xh-input-text b{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:20px}.xh-input-text span{color:#b5b7ab;font-size:13px}
.xh-input:not(.big) .xh-input-text{display:none}
.xh-fallback{display:none}
.xh-result{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}
.xh-figcol{display:flex;flex-direction:column;align-items:center;min-width:0}
.xh-figbox{position:relative;width:100%;height:420px;border-radius:18px;background:radial-gradient(circle at 50% 40%,#2a2d22,#17180f 70%);display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.xh-fig{display:block;max-height:400px;max-width:100%;height:400px;width:auto;object-fit:contain}
.xh-fig:not([data-ready]){width:200px;opacity:0}
.xh-fig-failed::after{content:"";position:absolute;inset:0}
.xh-ftag{position:absolute;top:14px;left:14px;z-index:2;padding:3px 10px;border:1px solid rgba(243,236,222,.28);border-radius:15px;background:rgba(23,24,15,.55);font-size:12px;color:#f3ecde}
.xh-pairfigs .xh-figbox:last-child .xh-ftag{left:auto;right:14px}
.xh-outfit{text-align:center;padding:10px 8px 0}
.xh-outfit-next{border:1px solid #3a3d31;border-radius:18px;padding:8px 14px;background:#23261b;color:#f3ecde;font:inherit;font-size:13px;cursor:pointer;min-height:36px}
.xh-outfit-label{font-size:12px;color:#b5b7ab;margin-top:7px!important}.xh-outfit-hint{font-size:11px;color:#7e8073;margin-top:4px!important;line-height:1.45}
.xh-body{min-width:0}
.xh .xh-title{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:26px;line-height:1.3;margin:10px 0 4px}
.xh-why{font-size:16px;line-height:1.65;margin:4px 0 6px!important;color:#e8e2d4}
.xh .ax-term{color:#e3efbb;border-bottom:1px dashed #bbc99a;text-decoration:none}
.xh-sws{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.xh-sw{border-radius:16px;overflow:hidden;background:#1e2017;min-width:0}
.xh-swc{height:92px;display:flex;align-items:flex-end;padding:10px 12px;font-size:11px;color:#2a2a22;white-space:nowrap;overflow:hidden}
.xh-swc.dark{color:#f3ecde}
.xh-sw.avoid .xh-swc{background-image:repeating-linear-gradient(135deg,transparent 0 10px,rgba(0,0,0,.18) 10px 12px)}
.xh-swt{padding:10px 12px;display:grid;gap:1px}.xh-swt small{font-size:12px;color:#b5b7ab}.xh-swt b{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:22px;line-height:1.3}.xh-swt span{font-size:12px;color:#7e8073}
.xh-swt .ax-term{color:#b5b7ab;border-bottom-color:#4a4e40}
.xh-cal{background:#1e2017;border-radius:16px;padding:14px 16px;margin:4px 0 6px}
.xh-cal h3{font-size:15px;font-weight:600}
.xh-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:10px}
.xh-day{background:#17180f;border:0;border-radius:12px;padding:8px 2px;font:inherit;color:#f3ecde;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;min-width:0}
.xh-day b{font-size:16px}.xh-day i{width:26px;height:26px;border-radius:50%;display:block;margin:2px 0;box-shadow:0 0 0 1px rgba(243,236,222,.12)}.xh-day span{font-size:11px;color:#b5b7ab;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.xh-day.today{background:#f3ecde;color:#111}.xh-day.today span{color:#444}.xh-day.chosen{box-shadow:inset 0 0 0 1px #bbc99a}
.xh-fold{margin-top:12px;background:#1e2017;border-radius:12px;font-size:13px;color:#b5b7ab}
.xh-fold>summary{cursor:pointer;padding:10px 14px;list-style:none;display:flex;justify-content:space-between;gap:10px}
.xh-fold>summary::-webkit-details-marker{display:none}
.xh-fold>summary::after{content:"展开 ▾";color:#7e8073;white-space:nowrap}html[lang=en] .xh-fold>summary::after{content:"Show ▾"}
.xh-fold[open]>summary::after{content:"收起 ▴"}html[lang=en] .xh-fold[open]>summary::after{content:"Hide ▴"}
.xh-fold-body{padding:0 14px 12px;display:grid;gap:8px;line-height:1.65}
.xh-cal .xh-fold{background:#17180f}
.xh-mgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:0 10px 12px;text-align:center}
.xh-mday{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 0;border-radius:8px}.xh-mday b{font-size:12px;font-weight:500;color:#d8d9cf}.xh-mday i{width:14px;height:14px;border-radius:50%}.xh-mday.today{background:#f3ecde}.xh-mday.today b{color:#111}
.xh-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.xh-meta span{font-size:12px;color:#b5b7ab;background:#1e2017;padding:4px 10px;border-radius:8px}
.xh-meta .xh-ticket,.xh-ticket{color:#e3efbb;background:#2b3322;border-radius:99px}
.xh-sec{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:22px;margin:30px 0 14px!important}
.xh-entries{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.xh-entry{background:#17180f;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:8px;min-height:180px;text-decoration:none!important}
.xh-entry:hover,.xh-guide:hover,.xh-prod:hover,.xh-kitem:hover{background:#1e2017}
.xh-dots{display:flex;gap:4px}.xh-dots i{width:22px;height:22px;border-radius:50%;display:block}
.xh-entry h3{font-family:var(--serif,Georgia,'Songti SC',serif);font-size:21px;font-weight:500}.xh-entry p{font-size:13px;color:#b5b7ab;flex:1}.xh-go{font-size:13px;color:#bbc99a}
.xh-guides{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.xh-guide{background:#17180f;border-radius:16px;padding:16px 18px;display:flex;gap:14px;align-items:center;text-decoration:none!important;min-width:0}
.xh-gsw{width:54px;height:54px;border-radius:12px;flex:none}.xh-guide b{display:block;font-weight:600}.xh-guide small{color:#7e8073;font-size:12px;overflow-wrap:anywhere}
/* products */
.xh-shop{margin-top:30px}
.xh-shop-head{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;margin-bottom:14px}
.xh-shop-head h2{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:22px;margin:0}
.xh-more{margin-left:auto;font-size:13px;color:#bbc99a;text-decoration:none}
.xh-products{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.xh-prod{background:#17180f;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;text-decoration:none!important;color:#f3ecde}
.xh-im{aspect-ratio:1;background:#f1efe6;display:flex;align-items:center;justify-content:center;padding:10%}
.xh-im img{width:100%;height:100%;object-fit:contain;display:block}
.xh-pt{padding:9px 10px 11px;font-size:13px;line-height:1.35;display:grid;gap:3px;flex:1;align-content:start}
.xh-pt b{font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.xh-pt i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;vertical-align:0;box-shadow:0 0 0 1px rgba(243,236,222,.2)}
.xh-pt small{color:#b5b7ab;font-size:12px}
.xh-prod.is-soon{opacity:.6}
/* pair */
.xh-pairform .xh-input{background:#1e2017;padding:6px 10px 6px 14px}
.xh-pairfigs{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-radius:18px;overflow:hidden;background:radial-gradient(70% 52% at 24% 40%,var(--ga),rgba(23,24,15,0) 70%),radial-gradient(70% 55% at 80% 46%,var(--gb),rgba(23,24,15,0) 72%),#1e2017}
.xh-pairfigs .xh-figbox{background:transparent;border-radius:0;height:380px}.xh-pairfigs .xh-fig{height:370px;max-height:370px}
.xh-pair>.xh-outfit{margin-top:4px}
.xh-pairsw{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:16px;margin-top:18px;align-items:start}
.xh-pairside{min-width:0}.xh-sws.small{grid-template-columns:1fr;gap:8px;margin:8px 0}
.xh-sws.small .xh-sw{display:grid;grid-template-columns:72px 1fr}.xh-sws.small .xh-swc{height:auto;min-height:64px;padding:6px 8px;font-size:10px}.xh-sws.small .xh-swt b{font-size:18px}
.xh-bridge{background:linear-gradient(180deg,#26302c,#17180f);border-radius:16px;padding:16px;display:grid;gap:10px;min-width:0}
.xh-bridge h3{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:22px}.xh-bridge em{font-style:normal;color:#e3efbb}.xh-bridge p{font-size:14px;color:#d8d9cf}
.xh-bsw{display:flex;gap:8px;align-items:center}.xh-bsw i{width:48px;height:48px;border-radius:12px;display:block;flex:none}.xh-bsw span{font-size:12px;color:#b5b7ab}
.xh-bridge .xh-fold{margin-top:0;background:rgba(0,0,0,.2)}
.xh .ax-segments{display:flex;gap:6px;flex-wrap:wrap}.xh .ax-segments button{background:#23261b;border:0;border-radius:99px;color:#b5b7ab;font:inherit;font-size:13px;padding:6px 14px;cursor:pointer;min-height:34px}.xh .ax-segments button.chosen{background:#f3ecde;color:#111;font-weight:600}
/* feng shui + pets */
.xh-pickrow{display:flex;gap:10px;align-items:center;margin:0 0 10px;min-width:0}
.xh-pickrow>.xh-sub{flex:none;width:2.6em}html[lang=en] .xh-pickrow>.xh-sub{width:5em}
.xh-picks{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;min-width:0;padding:2px 0}.xh-picks::-webkit-scrollbar{display:none}
.xh-pick{flex:none;display:inline-flex;align-items:center;gap:6px;background:#1e2017;border:0;border-radius:99px;padding:6px 14px;font:inherit;font-size:13px;color:#b5b7ab;white-space:nowrap;cursor:pointer;min-height:34px}
.xh-pick i{width:12px;height:12px;border-radius:50%;display:block;flex:none;box-shadow:0 0 0 1px rgba(243,236,222,.15)}.xh-pick small{font-size:11px;color:#7e8073}
.xh-pick.on{background:#f3ecde;color:#111;font-weight:600}.xh-pick.on small{color:#444}
.xh-fs{margin-top:16px}
.xh-fsgrid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:center;margin-top:14px}
.xh-scene{position:relative;border-radius:18px;background:radial-gradient(60% 55% at 50% 50%,#2a2d22,#1e2017 75%);overflow:hidden;min-width:0}
.xh-scene canvas{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.xh-scene #ax-image-status{position:absolute;left:14px;bottom:10px;margin:0}
.xh-scene #ax-image-status:empty{display:none}
.xh-pets .xh-scene{margin:14px 0}.xh-pets .xh-scene canvas{max-height:440px}
.xh-petform{flex:1 1 420px}
.xh-pets .xh-sws{margin-top:10px}
/* knowledge */
.xh-search{flex:1 1 260px;max-width:360px}.xh-search input{width:100%}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.xh-today{display:flex!important;align-items:center;gap:12px 18px;flex-wrap:wrap;margin-bottom:16px}
.xh-today-t{flex:1 1 300px;display:grid;gap:2px}.xh-today-t b{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:22px}.xh-today-t span{color:#b5b7ab;font-size:14px}
.xh-ksearch-res{margin-bottom:16px}
.xh-kcats{display:grid;gap:10px}
.xh-kcat{background:#17180f;border-radius:18px;padding:16px 20px}
.xh-kcat>summary{cursor:pointer;list-style:none;display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap}
.xh-kcat>summary::-webkit-details-marker{display:none}
.xh-kcat>summary::after{content:"▾";margin-left:auto;color:#7e8073}.xh-kcat[open]>summary::after{content:"▴"}
.xh-kcat h3{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:20px}
.xh-kitems{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.xh-kitem{background:#1e2017;border-radius:12px;padding:12px 14px;display:flex;gap:12px;align-items:center;text-decoration:none!important;min-width:0}
.xh-kitem b{font-family:var(--serif,Georgia,'Songti SC',serif);font-size:17px;font-weight:500;flex:none;max-width:45%}
.xh-kitem span{flex:1;color:#b5b7ab;font-size:13px;min-width:0}.xh-kitem i{color:#bbc99a;font-style:normal}
.xh-kitems .xh-kitem:hover{background:#23261b}
.xh-crumb{font-size:13px;color:#7e8073;margin:0 0 12px}.xh-crumb a{color:#b5b7ab;text-decoration:none}
.xh-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.xh-term-head{display:flex;align-items:baseline;gap:6px 14px;flex-wrap:wrap}
#content .xh .xh-term-title{font-family:var(--serif,Georgia,'Songti SC',serif);font-weight:500;font-size:32px;line-height:1.25;margin:0;padding:0;max-width:none}
.xh-term-en{color:#bbc99a;font-size:15px}
.xh-lead{font-size:17px;line-height:1.6;margin:8px 0 16px!important;color:#e8e2d4}
.xh-part{background:#1e2017;border-radius:14px;padding:14px 16px;margin-top:10px}
.xh-part h3{font-size:14px;color:#bbc99a;font-weight:600;margin-bottom:4px}
.xh-part p{line-height:1.75}
.xh-part-ew{background:linear-gradient(180deg,#26302c,#1e2017)}
.xh-side{display:grid;gap:12px}.xh-side .xh-card{padding:18px}.xh-side h3{font-size:15px;margin-bottom:8px}
.xh-side .xh-btn{margin-top:10px}.xh-chips{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:1100px){.xh-entries{grid-template-columns:repeat(3,minmax(0,1fr))}.xh-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.xh-result{grid-template-columns:1fr;gap:14px}.xh-figbox{height:320px}.xh-fig{height:300px;max-height:300px}.xh-pairsw{grid-template-columns:1fr}.xh-pairsw .xh-bridge{order:-1}.xh-fsgrid{grid-template-columns:1fr}.xh-entry-grid{grid-template-columns:1fr}}
@media(max-width:640px){
 .xh-head{padding-top:6px}.xh-titles{flex-basis:100%}
 .xh-pmgr-body{right:auto;left:0}
 .xh-tools{margin:12px -16px 16px;padding:0 16px}.xh-tool{padding:8px 13px;font-size:14px}
 .xh-card{padding:16px;border-radius:18px}
 .xh-figbox{height:250px}.xh-fig{height:240px;max-height:240px}
 .xh-pairfigs .xh-figbox{height:230px}.xh-pairfigs .xh-fig{height:220px;max-height:220px}.xh-ftag{top:10px;left:10px;font-size:11px}.xh-pairfigs .xh-figbox:last-child .xh-ftag{right:10px}
 .xh-sws{gap:8px}.xh-swc{height:64px;font-size:10px;padding:8px}.xh-swt{padding:8px 10px}.xh-swt b{font-size:18px}
 .xh .xh-title{font-size:22px}.xh-why{font-size:15px}
 .xh-cal{padding:12px 10px}.xh-days{gap:4px}.xh-day i{width:20px;height:20px}.xh-day span{font-size:10px}.xh-day b{font-size:14px}
 .xh-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .xh-entries{grid-template-columns:1fr 1fr;gap:10px}.xh-entry{min-height:0;padding:14px}.xh-entry h3{font-size:18px}.xh-entry:last-child{grid-column:span 2}
 .xh-guides{grid-template-columns:1fr;gap:12px}
 .xh-kitems{grid-template-columns:1fr}.xh-kcat{padding:14px}
 .xh-input{padding:10px}.xh-input label{flex:1 1 100%;flex-wrap:wrap}.xh-input input{flex:1;min-width:0}
 .xh-titlerow .xh-input{flex-basis:100%}
 .xh-pick small{display:none}.xh-pick{padding:6px 10px}
 #content .xh .xh-term-title{font-size:26px}
 .xh-search{max-width:none;flex-basis:100%}
}
@media(max-width:374px){.xh-sws:not(.small){grid-template-columns:1fr}.xh-sws:not(.small) .xh-sw{display:grid;grid-template-columns:96px 1fr}.xh-sws:not(.small) .xh-swc{height:auto;min-height:72px}.xh-day span{display:none}}
#content>.xh-head{margin:0!important;max-width:none!important;width:auto!important;border:0;background:none;position:static;height:auto}
.xh-im{position:relative;padding:0}
.xh-im img{position:absolute;left:10%;top:10%;width:80%!important;height:80%!important;max-width:none;object-fit:contain;aspect-ratio:auto}
.xh form.ax-quick,.xh .ax-quick{border:0!important;box-shadow:none;margin-top:0;margin-bottom:0}
.xh .xh-titlerow.ax-quick{padding:0;background:none;margin-bottom:16px}
.xh-sws.small .xh-swc span{display:none}
.xh .ax-quick label{flex:0 1 auto}
.xh .ax-quick input{min-height:40px;font-size:15px}
.xh .xh-input.ax-quick{padding:8px 10px 8px 16px}.xh .xh-input.big.ax-quick{padding:18px 20px}
@media(max-width:640px){.xh .ax-quick label{flex:1 1 100%}.xh .xh-input.ax-quick{padding:10px}}
.xh-kcats+.xh-fine{margin-top:14px}
/* review5 nav (design v1.1): >=1024 one row, current item as a pill; 761-1023 nav drops to a second row of 5 equal cells, full names. */
@media (min-width:1024px){
 .mast nav a.current,.mast nav a[aria-current="page"]{background:#23261b;color:#f3ecde;border-radius:99px;padding:4px 14px;margin:-4px -6px;text-decoration:none!important;box-shadow:none!important}
 .mast nav a.current::after,.mast nav a[aria-current="page"]::after{display:none!important}
}
@media (min-width:761px) and (max-width:1023px){
 .mast{flex-wrap:wrap!important;height:auto!important;row-gap:12px!important;padding-bottom:12px}
 .mast .logo{order:1}.mast .mast-tools{order:2;margin-left:auto}
 .mast nav{order:3;flex:1 0 100%!important;width:100%;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px!important;overflow:visible!important;margin:0!important}
 .mast nav a{display:flex!important;align-items:center;justify-content:center;text-align:center;background:#17180f;border-radius:12px;padding:8px 4px!important;min-height:44px;font-size:15px!important;line-height:1.25;white-space:normal!important;width:auto!important;flex:none!important;color:#b5b7ab;text-decoration:none!important;letter-spacing:0}
 .mast nav a.current,.mast nav a[aria-current="page"]{background:#f3ecde;color:#111!important;font-weight:600}
 .mast nav a.current::after,.mast nav a[aria-current="page"]::after{display:none!important}
 .mast nav a .tn{white-space:nowrap}
}

/* review5 QA: empty states before a birthday is entered */
.xh-empty .xh-fig{opacity:.55}.xh-pairempty{border:1px dashed #4a4f43;border-radius:8px;padding:18px 14px;text-align:center;margin:6px 0 0}

/* review5 QA: 761–1023 nav cells — keep the space between the two word spans (flex drops it), inner padding so text never touches the pill, no divider line before the grid */
@media (min-width:761px) and (max-width:1023px){.mast nav::before{display:none!important}.mast nav a{flex-wrap:wrap;padding:8px 10px!important}html[lang^=en] .mast nav a{column-gap:.3em}}
