/*
 * 柴不多 public typography, 2026-11-05.
 * Five sizes, two weights, one system sans-serif stack. This sheet loads last.
 * The repeated scope deliberately wins older !important presentation rules.
 * SVG labels keep the atlas collision/zoom algorithm and its existing sizes.
 */
body.mobile-refined.mobile-refined {
  --type-caption:14px;
  --type-body:16px;
  --type-subheading:20px;
  --type-section:28px;
  --type-title:40px;
  --type-face:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  --font:var(--type-face);
  --serif:var(--type-face);
  font-family:var(--type-face)!important;
  font-size:var(--type-body)!important;
  font-weight:400!important;
  line-height:1.8;
}
body.mobile-refined.mobile-refined :where(*):where(:not(svg *)) {
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
}
body.mobile-refined.mobile-refined :where(h1,h2,h3,h4,h5,h6) {
  font-family:var(--type-face)!important;
  font-weight:600!important;
  font-style:normal;
  letter-spacing:0;
  line-height:1.45;
}
body.mobile-refined.mobile-refined :where(h1) {font-size:var(--type-title)!important;line-height:1.35}
body.mobile-refined.mobile-refined :where(h2) {font-size:var(--type-section)!important}
body.mobile-refined.mobile-refined :where(h3,h4,h5,h6) {font-size:var(--type-subheading)!important}
body.mobile-refined.mobile-refined :where(strong,b,dt,th) {font-weight:600!important}
body.mobile-refined.mobile-refined :where(button,input,select,textarea) {font-size:var(--type-body)!important;line-height:1.6}
body.mobile-refined.mobile-refined :where(.button,.site-action,.shop-buy,.text-link,.site-menu-toggle,.nav-login,.site-nav-links>a,.footer-links>a) {font-size:var(--type-body)!important}
body.mobile-refined.mobile-refined :where(button,a)[aria-current=page],
body.mobile-refined.mobile-refined :where(button,a)[aria-selected=true],
body.mobile-refined.mobile-refined button[aria-pressed=true] {font-weight:600!important}

/* Introductory copy and long-form reading share the same comfortable body size. */
body.mobile-refined.mobile-refined :where(.lead,.article-body,.article-sub,.original-copy,.brand-story-body,.brand-story-body p,.diary-card .card-body,.guide-step p,.post-content,.atlas-intro,.atlas-summary,.atlas-story p,.atlas-quality,.shop-specs,.sync-notice,.guide-callout,.original-archive-notice,.legacy-reading-note,.text-section .content) {
  font-size:var(--type-body)!important;
  line-height:1.85;
}
body.mobile-refined.mobile-refined :where(.product-info p,.featured-product .lead,.founder-teaser .lead,.brand-values p,.reading-link p,.knowledge-type p,.shop-card p:not(.eyebrow),.atlas-editorial p) {font-size:var(--type-body)!important;line-height:1.8}

/* Quiet supporting details use a single readable size, including image credits. */
body.mobile-refined.mobile-refined :where(small,figcaption,.eyebrow,.site-eyebrow,.breadcrumb,.sync-breadcrumb,.sync-note,.footer-meta,.footer-brand small,.site-brand small,.hero-note,.product-note,.photo-pending,.catalog-toolbar p,.catalog-footnote,.product-media-label,.product-details>.content-open-heading,.tag,.kb-stats,.kb-card-sub,.kb-card-price,.kb-group-count,.kb-article-num,.kb-article-sub,.kb-more-hint,.kb-fake-crystal,.kb-care-crystal,.kb-culture-crystal,.kb-ind-cat,.kb-sup-cat,.kb-fake-tools,.kb-care-reason,.kb-care-label,.knowledge-type-number,.knowledge-type-action,.library-photo-note,.library-detail-photo figcaption,.illustrated-card p:not(.eyebrow),.illustrated-search-card p,.card-date,.diary-chapter,.brand-story-toc a,.brand-chapter>.content-open-heading>span,.article-toc,.article-toc strong,.article-toc a,.article-video-section p,.shop-card .eyebrow,.shop-video-caption,.brand-photo-caption,.start-product-copy .start-spec,.promotion-status,.char-count,.user-role,.post-time,.atlas-kicker,.atlas-country,.atlas-gems,.atlas-sources,.atlas-sources a,.atlas-share-status,.atlas-status,.atlas-map-note,.atlas-map-overline,.atlas-map-current,.atlas-map-heading>span,.atlas-map-zoom span,.atlas-region-tabs button span,.atlas-photo-kind,.atlas-photo-credit,.atlas-story .atlas-story-source,.atlas-location .location-country,.atlas-location .location-gems,.atlas-location .location-action,.atlas-hero-caption,.atlas-hero-caption span,.atlas-hero-index,.atlas-journey-copy small,.atlas-journey-copy>span,.atlas-journey-heading>span,.atlas-browse span,.mineral-slide-caption p,.mineral-slide-caption small,.mineral-credit,.mineral-carousel-controls [data-mineral-status],.mineral-carousel-controls [data-mineral-pause],.account-main .back-link,.account-main .logo p,.error-msg,.success-msg,.hint,.sub,.status,.badge) {
  font-size:var(--type-caption)!important;
  line-height:1.7;
}
body.mobile-refined.mobile-refined :where(.section-title p,.knowledge-illustrated .section-title p,.atlas-directory .section-title p,.atlas-explorer-heading>p:last-child) {font-size:var(--type-body)!important;line-height:1.8}

/* Card labels stay compact; section headings carry the larger emphasis. */
body.mobile-refined.mobile-refined :where(.illustrated-card h3,.illustrated-search-card h3,.kb-card-name,.kb-fake-type,.kb-culture-title,.kb-sup-name,.kb-ind-metric,.atlas-location strong,.atlas-journey-copy strong,.atlas-hero-caption strong,.next-step strong,.footer-brand,.diary-card .card-title,.atlas-map-heading strong,.atlas-journey-heading>p:nth-child(2)) {
  font-size:var(--type-subheading)!important;
  font-weight:600!important;
  line-height:1.5;
}
body.mobile-refined.mobile-refined :where(.illustrated-card h3,.illustrated-search-card h3,.kb-card-name,.atlas-location strong,.atlas-journey-copy strong,.atlas-hero-caption strong) {font-size:var(--type-body)!important}
body.mobile-refined.mobile-refined :where(.kb-group-title,.kb-article-title,.modal-bd .sec-title,.atlas-story h3,.atlas-detail h3,.shop-card h3,.reading-link h3,.brand-values h3,.related-reading h2,.site-brand strong) {font-size:var(--type-subheading)!important;font-weight:600!important;line-height:1.5}
body.mobile-refined.mobile-refined :where(.content-open-heading,.product-info h2,.guide-step h2,.article-body h2,.article-video-section h2,.modal-box h2,.image-credit-card h2,.atlas-detail h2,.atlas-editorial h2,.atlas-teaser h2,.atlas-teaser h3,.illustrated-entry h2,.illustrated-entry h3,.featured-product h3) {font-size:var(--type-section)!important;font-weight:600!important;line-height:1.5}
body.mobile-refined.mobile-refined :where(.shop-price,.product-info .price,.featured-product .price,.kb-ind-value,.catalog-index,.catalog-index .number,.reading-link .number,.guide-step .num) {
  font-family:var(--type-face)!important;
  font-size:var(--type-section)!important;
  font-weight:600!important;
  font-style:normal;
  letter-spacing:0;
  line-height:1.5;
  font-variant-numeric:tabular-nums;
}
body.mobile-refined.mobile-refined :where(code,kbd,pre,samp) {font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important}
body.mobile-refined.mobile-refined :where(.modal-close,.auth-close,.cms-modal-close) {font-size:var(--type-subheading)!important}
body.mobile-refined.mobile-refined .site-brand small {letter-spacing:.04em;line-height:1.4}
body.mobile-refined.mobile-refined .site-brand strong {letter-spacing:.08em;line-height:1.4}
body.mobile-refined.mobile-refined :where(.eyebrow,.atlas-kicker,.knowledge-type-number,.atlas-map-overline) {letter-spacing:.05em}

/* Larger credit text must occupy its own space instead of overlaying the hero. */
body.mobile-refined.mobile-refined .atlas-heading.atlas-hero {display:flex;flex-direction:column;justify-content:space-between;gap:28px}
body.mobile-refined.mobile-refined .atlas-hero-caption {position:static;inset:auto;max-width:100%;text-align:left;align-self:flex-start;border-top:1px solid #f7eed333;padding-top:14px;margin:0;overflow-wrap:anywhere}
body.mobile-refined.mobile-refined .atlas-hero-caption span:last-child {position:static}
body.mobile-refined.mobile-refined .atlas-hero-index {display:none}
body.mobile-refined.mobile-refined .atlas-detail .atlas-photo:nth-child(2) {grid-template-columns:minmax(100px,.65fr) minmax(0,1fr);column-gap:15px;row-gap:8px;align-items:start}
body.mobile-refined.mobile-refined .atlas-detail .atlas-photo:nth-child(2) img {grid-column:1;grid-row:1 / span 2}
body.mobile-refined.mobile-refined .atlas-detail .atlas-photo:nth-child(2) .atlas-photo-kind {position:static;grid-column:2;grid-row:1;margin:0;align-self:start;justify-self:start}
body.mobile-refined.mobile-refined .atlas-detail .atlas-photo:nth-child(2) figcaption {grid-column:2;grid-row:2;padding:0}
body.mobile-refined.mobile-refined .atlas-journey-card {align-items:stretch}
body.mobile-refined.mobile-refined .atlas-journey-card img {height:auto;min-height:110px}
body.mobile-refined.mobile-refined .atlas-journey-copy {overflow-wrap:anywhere}
body.mobile-refined.mobile-refined .kb-crystal-card .kb-card-price {max-width:70px;white-space:normal}
body.mobile-refined.mobile-refined .illustrated-card h3 {text-wrap:balance}

@media(max-width:900px) {
  body.mobile-refined.mobile-refined {--type-section:24px;--type-title:30px}
}
@media(max-width:700px) {
  body.mobile-refined.mobile-refined .atlas-heading.atlas-hero {padding-bottom:28px}
  body.mobile-refined.mobile-refined .atlas-detail .atlas-photo:nth-child(2) {grid-template-columns:minmax(90px,35%) minmax(0,1fr);column-gap:11px}
  body.mobile-refined.mobile-refined .guide-step {grid-template-columns:42px minmax(0,1fr)}
  body.mobile-refined.mobile-refined .guide-step .num {white-space:nowrap}
  body.mobile-refined.mobile-refined .atlas-map-heading {gap:12px;align-items:start;flex-wrap:wrap}
  body.mobile-refined.mobile-refined .atlas-map-heading>span {white-space:normal}
  body.mobile-refined.mobile-refined .atlas-map-note {gap:8px}
}
