/* 中文排版层。系统字体，不分发 PingFang / Microsoft YaHei 字体文件。
   studio-font.ttf 是 Noto Serif SC ExtraLight，故不用于本轮无衬线排版。
   Load after all presentation styles. English pages keep their own typography. */
html[lang^="zh"]{
 --v12-zh-font:"PingFang SC","Noto Sans SC","Microsoft YaHei","Heiti SC",Arial,sans-serif;
 --v12-zh-body:16px;--v12-zh-h1:32px;--v12-zh-h2:24px;--v12-zh-h3:20px;
 --serif:var(--v12-zh-font);--sans:var(--v12-zh-font);--font:var(--v12-zh-font);
 font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%;
}
html[lang^="zh"] body{font-family:var(--v12-zh-font)!important;font-size:var(--v12-zh-body)!important;line-height:1.75;font-weight:400;font-synthesis:weight}
/* Legacy modules set font-family and font shorthands on individual elements. */
html[lang^="zh"] body *{font-family:var(--v12-zh-font)!important}
html[lang^="zh"] body :is(main,article,section,.ax-wallet-content,.prose,.v10-gift,.v10-present,.v10-me){font-size:var(--v12-zh-body);line-height:1.75}
html[lang^="zh"] body :is(p,li,dd,dt,td,th,blockquote){font-size:var(--v12-zh-body)!important;line-height:1.8!important;letter-spacing:0!important}
html[lang^="zh"] body :is(h1,h2,h3,h4,h5,h6){font-weight:600!important;letter-spacing:0!important;text-wrap:pretty}
html[lang^="zh"] body h1{font-size:var(--v12-zh-h1)!important;line-height:1.35!important}
html[lang^="zh"] body h2{font-size:var(--v12-zh-h2)!important;line-height:1.45!important}
html[lang^="zh"] body h3{font-size:var(--v12-zh-h3)!important;line-height:1.5!important}
html[lang^="zh"] body :is(h4,h5,h6){font-size:16px!important;line-height:1.6!important}
html[lang^="zh"] body :is(h1,h2,h3,h4,h5,h6)>:is(span,b,strong,em,a){font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important}
html[lang^="zh"] body :is(.xh-title,.v10-astro-h,.vi-page-title){font-size:var(--v12-zh-h1)!important;line-height:1.35!important;font-weight:600!important;letter-spacing:0!important}
html[lang^="zh"] body :is(.gift-title,.v10-sec-h,.v10-panel-title,.v10-shelf-head h2,.v10-dh-head h2,.section-title){font-size:var(--v12-zh-h2)!important;line-height:1.45!important;font-weight:600!important}
html[lang^="zh"] body :is(.gift-copy strong,.v10-nm,.v10-dh-name,.v10-giftrow-txt>b,.v10-wrap-item b,.card h3,.wishgrid h3){font-size:18px!important;line-height:1.55!important;font-weight:500!important;letter-spacing:0!important}
html[lang^="zh"] body :is(button,.btn,.pill,.v10-pill,.v10-btn,.chip,.v10-chip,.v10-link,.v10-sw,summary,label){font-size:14px!important;line-height:1.5!important;font-weight:400!important;letter-spacing:0!important}
html[lang^="zh"] body :is(button,.btn,.pill,.v10-pill,.v10-btn,.chip,.v10-chip,label)>:is(span,b,strong,em){font-size:inherit!important;line-height:inherit!important}
html[lang^="zh"] body :is(input,select,textarea){font-size:16px!important;line-height:1.6!important;font-weight:400!important;letter-spacing:0!important}
html[lang^="zh"] body :is(.field>span,.ax-field>span,.v12-gift-filters .field>span,.v10-meta label,.v10-gift-who>p){font-size:14px!important;line-height:1.6!important}
html[lang^="zh"] body :is(nav,.mast nav,.bottom,.es-bottom,.tabbar) :is(a,button,span){font-size:14px!important;line-height:1.4!important;letter-spacing:0!important}
html[lang^="zh"] body :is(.v10-steps li,.v10-steps i,.v10-unbox-steps li,.v10-unbox-steps i){font-size:14px!important;line-height:1.5!important;letter-spacing:0!important}
html[lang^="zh"] body :is(small,.eyebrow,.micro,.v12-eyebrow,.ax-eyebrow,.xh-eyebrow,[class$="-eyebrow"],[class$="-micro"]){font-size:12px!important;line-height:1.6!important;font-weight:400!important;letter-spacing:.02em!important}
html[lang^="zh"] body :is(.muted,.small,.caption,.note,.notice,.v10-muted,.v10-fine,.v12-wrap-hint,.v12-gift-footnote,.v12-receive-notice,.gift-note,.gift-sub,.ax-caption,.xh-caption,.v10-giftrow-txt>span,.v10-giftrow-txt>q,.gift-copy p){font-size:14px!important;line-height:1.75!important;letter-spacing:0!important}
html[lang^="zh"] body :is(.v12-note-count,.v12-budget-tag,.checked,.v10-status,.over,.xh-date,.xh-subtitle,.xh-note,.cc-state,.cc-day small,.ax-caption small){font-size:12px!important;line-height:1.6!important;font-weight:400!important;letter-spacing:0!important}
html[lang^="zh"] body :is(.v10-note,.v10-hand,.v12-letter-preview blockquote,.v10-card .v10-hand){font-size:18px!important;line-height:1.85!important;font-weight:400!important;font-style:normal!important;letter-spacing:0!important}
html[lang^="zh"] body :is(.v10-sign,.v12-letter-preview>p,.v10-card>small){font-size:14px!important;line-height:1.75!important}
html[lang^="zh"] body :is(.v10-bubble,.v10-me-said,.v12-intro-copy p,.v10-title p,.v10-me-head p,.v10-present-side p){font-size:var(--v12-zh-body)!important;line-height:1.75!important;letter-spacing:0!important}
html[lang^="zh"] body footer :is(p,a,small),html[lang^="zh"] body .site-foot :is(p,a,small){font-size:14px!important;line-height:1.8!important}
html[lang^="zh"] body :is(.topic,.v12-topic-note,.lang,.lang a,.lang button){font-size:12px!important;line-height:1.5!important}
/* Keep the English wordmark and dedicated price values distinct, consistently. */
html[lang^="zh"] body :is(.logo,.logo *,.app-logo,.brand-wordmark,.brand-wordmark *,.v12-parcel svg text){font-family:Georgia,"Times New Roman",serif!important;font-weight:400!important}
html[lang^="zh"] body :is(.logo,.app-logo){font-size:30px!important;line-height:1.2!important;letter-spacing:-.025em!important}
html[lang^="zh"] body :is(.price,.v10-pr,.v10-dh-price,.v12-detail-price,.product-price,.price-value,.v10-wrap-item em){font-family:Georgia,"Times New Roman",serif!important;font-size:24px!important;line-height:1.35!important;font-weight:400!important;font-style:normal!important;letter-spacing:0!important;font-variant-numeric:tabular-nums}
html[lang^="zh"] body :is(.price,.v10-pr,.v10-dh-price)>:is(span,small,em){font-family:var(--v12-zh-font)!important;font-size:12px!important;line-height:1.5!important}
html[lang^="zh"] body :is(.close,.dialog-close,.v12-filter-title button,[aria-label="关闭"],[aria-label="关闭筛选"]){font-size:22px!important;line-height:1!important}
@media(max-width:760px){
 html[lang^="zh"]{--v12-zh-body:16px;--v12-zh-h1:28px;--v12-zh-h2:22px;--v12-zh-h3:18px}
 html[lang^="zh"] body :is(.logo,.app-logo){font-size:28px!important}
 html[lang^="zh"] body :is(.price,.v10-pr,.v10-dh-price,.v12-detail-price,.product-price,.price-value,.v10-wrap-item em){font-size:22px!important}
 html[lang^="zh"] body :is(.v10-bubble,.v10-me-said,.v12-intro-copy p,.v10-title p,.v10-me-head p,.v10-present-side p){font-size:15px!important;line-height:1.75!important}
}
@media(max-width:360px){html[lang^="zh"]{--v12-zh-h1:26px}}
/* The five elements are a deliberate, centred set of choices. */
html[lang^="zh"] body .v12-element-options [data-v12-element]{font-size:19px!important;line-height:1!important;font-weight:500!important;text-align:center!important}
/* Explicit legacy metadata floors, including active Studio result states. */
html[lang^="zh"] body :is(.v10-tag,.xh-kicker,.xh-tag,.xh-ftag,.xh-swc,.xh-swt b,.xh-day span,.v12-note,.v12-palette-summary span,.v12-control-title code,.v12-reading .xh-day>span:last-child,.v12-scene-stage #ax-image-status,.cardmeta,.avail,.badge){font-size:12px!important;line-height:1.65!important;letter-spacing:0!important}
html[lang^="zh"] body :is(.xh-chip,.xh-outfit-hint,.v12-stage-tip,.v12-lock,.v12-control-title p,.v12-control-title>span,.ax-quick-two label span){font-size:14px!important;line-height:1.65!important;letter-spacing:0!important}
html[lang^="zh"] body :is(footer,.site-foot) :is(h2,h3){font-size:18px!important;line-height:1.5!important;font-weight:500!important}
/* Product tiles may themselves be buttons: their titles keep the title tier. */
html[lang^="zh"] body :is(.v10-prod,.v10-dh-prod)>.v10-nm{font-size:18px!important;line-height:1.55!important;font-weight:500!important}
html[lang^="zh"] body .v10-ticket>b{font-size:18px!important;line-height:1.5!important;font-weight:500!important}

html[lang^="zh"] body .v10-dh-item>.v10-nm{font-size:18px!important;line-height:1.55!important;font-weight:500!important}

/* Original receipt: cut paper, prominent scores, dotted attribute rows and
   four solid/faded stars. Scoped so the approved site typography stays intact. */
body[data-v10] .receipt.receipt-classic{--cut:20px;background:linear-gradient(155deg,#f8f1e6,#eee5d3);color:#211c14;border-radius:0;padding:26px 26px 23px;overflow:hidden}
body[data-v10] .receipt.receipt-classic::before{inset:9px;border:1px solid #cec4af}
body[data-v10] .receipt-classic .receipt-head{font-size:12px!important;font-weight:600;line-height:1.5!important;gap:12px;align-items:baseline;letter-spacing:.06em!important}
body[data-v10] .receipt-classic h2{font-size:24px!important;line-height:1.45!important;margin:13px 0 8px;padding-bottom:12px;border-bottom:1px solid #39352e}
body[data-v10] .receipt-classic .scores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:11px 0;gap:0;border-bottom:1px solid #c5bbab;align-items:center}
body[data-v10] .receipt-classic .scores>span{font-size:13px!important;line-height:1.4!important;white-space:nowrap;text-align:center}
body[data-v10] .receipt-classic .scores>span+span{border-left:1px solid #c9c1b2}
body[data-v10] .receipt-classic .scores b{font-family:Georgia,serif!important;font-size:25px!important;line-height:1.2!important;font-weight:600!important}
body[data-v10] .receipt-classic .energy{margin:18px 0 22px;gap:10px}
body[data-v10] .receipt-classic .energy>b,body[data-v10] .receipt-classic .sources>b{font-size:14px;font-weight:600;line-height:1.6}
body[data-v10] .receipt-classic .legend{font-size:12px!important;line-height:1.5!important;gap:8px}
body[data-v10] .receipt-classic .bar{height:8px;gap:2px}
body[data-v10] .receipt-classic .sources>b{display:block;margin-bottom:10px}
body[data-v10] .receipt-classic .source{display:block;padding:10px 0;border-bottom:1px dotted #a99e8d;font-size:14px!important;line-height:1.65!important;color:#30271e}
body[data-v10] .receipt-original-stars .source{display:grid;grid-template-columns:minmax(0,1fr) 48px 76px;gap:10px;align-items:center}
body[data-v10] .receipt-classic .source em{font-style:normal;color:#706657;border-left:1px solid #c9c1b2;padding-left:10px;font-size:13px;line-height:1.5}
body[data-v10] .receipt-classic .receipt-source-copy{min-width:0;overflow-wrap:anywhere}
body[data-v10] .receipt-classic .receipt-source-copy i{font-style:normal;display:inline-block;width:1.1em;text-align:center}
body[data-v10] .receipt-classic .receipt-stars{display:block;white-space:nowrap;font-family:Arial,sans-serif!important;letter-spacing:2px;font-size:16px;line-height:1;text-align:right;color:#211c14}
body[data-v10] .receipt-classic .receipt-stars .faded{font-family:inherit!important;color:#c7c0b3}
body[data-v10] .receipt-classic .origin{font-size:13px!important;line-height:1.65!important;color:#706657;padding:8px 0 0;margin:0}
body[data-v10] .receipt-classic .message{margin-top:18px;padding-top:19px;border-top:1px solid #514939;grid-template-columns:70px minmax(0,1fr);gap:10px;align-items:center}
body[data-v10] .receipt-classic .message>b{font-size:14px;font-weight:400}
body[data-v10] .receipt-classic .message h3{font-size:27px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:.12em!important;margin:0}
body[data-v10] .receipt-classic .message p{font-size:14px!important;line-height:1.8!important;margin:8px 0 0}
@media(max-width:760px){
 body[data-v10] .receipt.receipt-classic{--cut:18px;padding:22px 18px 20px}
 body[data-v10] .receipt-classic h2{font-size:22px!important;margin-top:12px}
 body[data-v10] .receipt-classic .scores>span{font-size:12px!important}
 body[data-v10] .receipt-classic .scores b{font-size:22px!important}
 body[data-v10] .receipt-classic .energy{margin:16px 0 20px}
 body[data-v10] .receipt-original-stars .source{grid-template-columns:minmax(0,1fr) 40px 68px;gap:6px;font-size:13px!important}
 body[data-v10] .receipt-classic .source em{font-size:12px;padding-left:7px}
 body[data-v10] .receipt-classic .receipt-stars{font-size:15px;letter-spacing:1px}
 body[data-v10] .receipt-classic .message{grid-template-columns:60px minmax(0,1fr);gap:8px;padding-top:16px}
 body[data-v10] .receipt-classic .message h3{font-size:24px!important;letter-spacing:.08em!important}
 body[data-v10] .receipt-classic .message p{font-size:13px!important}
}
html[lang=en] body[data-v10] .receipt-original-stars .source{grid-template-columns:minmax(0,1fr) 48px 68px}
@media(max-width:360px){body[data-v10] .receipt-classic .scores>span{white-space:normal}body[data-v10] .receipt-classic .scores b{display:block;margin-top:2px}}
