/* /mobile-refinement.css */
/* Phone/tablet refinements. Keep content, media and desktop composition intact. */
.mobile-refined{overflow-wrap:break-word}
.mobile-refined img,.mobile-refined video,.mobile-refined canvas{max-width:100%}
.mobile-refined :is(main,section,article,aside,figure,form){min-width:0}
.mobile-refined :is(input,select,textarea){max-width:100%}
.mobile-refined .table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
@media(max-width:900px){
  .mobile-brand .site-nav{height:72px;padding-inline:max(16px,env(safe-area-inset-left));gap:12px}
  .mobile-brand .site-brand{gap:9px;min-width:0}
  .mobile-brand .site-brand img{width:40px;height:46px;flex-shrink:0}
  .mobile-brand .site-brand strong{font-size:20px}
  .mobile-brand .site-brand small{font-size:8px}
  .mobile-brand .site-nav-tools{margin-left:auto;border:0;padding-left:0;gap:8px;flex-shrink:0}
  .mobile-brand .nav-login{display:inline-flex;min-height:44px;align-items:center;padding:5px 8px}
  .mobile-brand .site-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:60px;padding:8px 12px;font-size:13px;border-radius:4px}
  .mobile-brand .site-nav-links{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:12px 16px 20px;background:var(--paper,#fbfaf6);border-bottom:1px solid var(--line,#dfdfd4);max-height:calc(100dvh - 72px);overflow-y:auto;box-shadow:0 14px 22px #2428200c}
  .mobile-brand .site-nav-links.is-open{display:flex;flex-direction:column;gap:4px}
  .mobile-brand .site-nav-links>a{display:flex;align-items:center;min-height:48px;padding:10px 12px;font-size:16px;border-radius:4px}
  .mobile-brand .site-nav-links>a[aria-current=page]{background:var(--soft,#efeee7)}
  .mobile-brand .site-nav-links>a[aria-current=page]:after{display:none}
  .mobile-brand .nav-user-area{gap:8px;min-width:0;max-width:110px;font-size:12px}
  .mobile-brand .nav-user-area .nav-username{max-width:48px;overflow:hidden;text-overflow:ellipsis}
  .mobile-brand .nav-logout{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:700px){
  html:has(body.mobile-refined){scroll-padding-top:92px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .mobile-brand{font-size:15px;line-height:1.85}
  .mobile-brand .wrap{width:100%;padding-inline:clamp(16px,5vw,24px)}
  .mobile-brand .page-heading{padding-top:28px;padding-bottom:24px}
  .mobile-brand .page-heading h1,.mobile-brand .community-main .page-header h1{font-size:clamp(27px,7.8vw,34px);line-height:1.4}
  .mobile-brand .lead{font-size:15px;line-height:1.85}
  .mobile-brand .eyebrow{font-size:11px;letter-spacing:.11em;overflow-wrap:anywhere}
  .mobile-brand .section{padding-block:38px}
  .mobile-brand .section-title{gap:12px;align-items:start}
  .mobile-brand .section-title h2{font-size:25px;line-height:1.5}
  .mobile-brand .button,.mobile-brand .site-action{min-height:48px;padding:11px 18px;text-align:center;white-space:normal;line-height:1.6}
  .mobile-brand :is(.text-link,.reading-link,.footer-links a,.knowledge-paths a){min-height:44px}
  .mobile-brand .text-link{display:inline-flex;align-items:center;white-space:normal}
  .mobile-brand .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 28px;width:100%}
  .mobile-brand .footer-links a{display:flex;align-items:center;font-size:14px}
  .mobile-brand .footer-brand small{display:block;margin:7px 0 0}
  .mobile-brand .footer-meta{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
  .mobile-brand .site-footer{padding:28px max(18px,env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom))}
  .mobile-brand .breadcrumb,.mobile-brand .sync-breadcrumb{font-size:12px;gap:6px 9px;line-height:1.8;overflow-wrap:anywhere}
  .mobile-brand .next-step h2{font-size:24px}
  .mobile-brand .next-step .sync-actions,.mobile-brand .next-step .button{width:100%}
  .mobile-brand .home-hero h1{font-size:clamp(34px,10vw,43px);line-height:1.4}
  .mobile-brand .hero-actions{gap:12px;align-items:center}
  .mobile-brand .hero-actions>.button{flex:1 1 180px}
  .mobile-brand .hero-note{font-size:13px;line-height:1.85}
  .mobile-brand .mineral-carousel-controls{display:grid;grid-template-columns:1fr auto;gap:8px}
  .mobile-brand .mineral-carousel-arrows{grid-column:1;grid-row:1;gap:6px}
  .mobile-brand .mineral-carousel-controls button{min-height:44px;min-width:44px}
  .mobile-brand .mineral-carousel-controls [data-mineral-pause]{grid-column:2;grid-row:1}
  .mobile-brand .mineral-carousel-dots{grid-column:1/-1;grid-row:2;justify-content:center;gap:8px}
  .mobile-brand .mineral-carousel-controls [data-mineral-dot]{width:44px;min-width:44px;min-height:44px}
  .mobile-brand .mineral-credit{font-size:11px;line-height:1.8;text-align:left}
  .mobile-brand .home-quick-start{padding:22px 18px}
  .mobile-brand .home-quick-start .button{width:100%}
  .mobile-brand .founder-teaser>img{max-width:220px;border-radius:6px}
  .mobile-brand .catalog-toolbar{gap:12px}
  .mobile-brand .catalog-toolbar label{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
  .mobile-brand .catalog-toolbar select{margin:0;min-height:46px}
  .mobile-brand .product-info h2{font-size:25px}
  .mobile-brand .product-info p{font-size:15px}
  .mobile-brand .product-footer-actions{flex-wrap:wrap;gap:12px!important}
  .mobile-brand .product-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible;padding:10px 0}
  .mobile-brand .product-gallery-item{width:100%;height:auto;aspect-ratio:1;min-width:0}
  .mobile-brand .product-gallery-item img{width:100%;height:100%;object-fit:contain}
  .mobile-brand .product-gallery-add{min-height:100px;width:auto}
  .mobile-brand .product-video-edit-bar{flex-wrap:wrap;gap:8px}
  .mobile-brand .product-video-edit-btn{min-height:44px;font-size:13px;padding:8px 12px}
  .mobile-brand .shop-detail-hero{gap:24px;margin-bottom:36px}
  .mobile-brand .shop-detail-hero h1{font-size:clamp(27px,7.8vw,34px);line-height:1.45}
  .mobile-brand .shop-card-body{padding:20px}
  .mobile-brand .shop-card h3{font-size:23px}
  .mobile-brand .shop-photo-grid{gap:10px}
  .mobile-brand .shop-buy{width:100%}
  .mobile-brand .shop-specs{font-size:15px}
  .mobile-brand .knowledge-paths{gap:6px 14px;font-size:14px}
  .mobile-brand .knowledge-paths a{display:inline-flex;align-items:center}
  .mobile-brand .kb-search{margin-top:22px;min-height:50px}
  .mobile-brand .kb-search input{padding:12px;min-width:0}
  .mobile-brand .kb-search button{min-width:64px;padding:10px 14px}
  .mobile-brand .kb-tags{gap:8px}
  .mobile-brand .kb-tag{min-height:44px;padding:8px 12px;font-size:13px}
  .mobile-brand .kb-card{padding:14px;gap:12px}
  .mobile-brand .kb-card-sub{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
  .mobile-brand .kb-crystal-card .kb-card-price{max-width:50px;white-space:normal;line-height:1.7}
  .mobile-brand :is(.kb-fake,.kb-care,.kb-culture,.kb-ind,.kb-sup,.kb-isn){padding:18px;font-size:15px;overflow-wrap:anywhere}
  .mobile-brand .knowledge-type h3{font-size:20px}
  .mobile-brand .illustrated-card h3{font-size:17px}
  .mobile-brand .illustrated-card p:not(.eyebrow){font-size:13px;line-height:1.75}
  .mobile-brand .illustrated-filter{padding:16px}
  .mobile-brand .illustrated-filter input,.mobile-brand .illustrated-filter select{min-height:48px}
  .mobile-brand .original-copy{font-size:15px;line-height:1.95;overflow-wrap:anywhere}
  .mobile-brand .original-archive-notice{font-size:14px;line-height:1.8}
  .mobile-brand .article-header h1{font-size:clamp(26px,7.4vw,32px);line-height:1.5}
  .mobile-brand .article-sub{font-size:14px}
  .mobile-brand .article-body{font-size:16px;line-height:1.95}
  .mobile-brand .article-body h2{font-size:23px;line-height:1.5;margin-top:30px}
  .mobile-brand .article-body h3{font-size:19px;line-height:1.6}
  .mobile-brand .article-body :is(.highlight,.warning,.tip,.info-box){padding:16px;line-height:1.85}
  .mobile-brand .article-body :is(td,th){font-size:13px;padding:10px;line-height:1.8}
  .mobile-brand .article-toc{gap:4px 12px;padding:14px}
  .mobile-brand .article-toc a{font-size:13px;min-height:38px;display:flex;align-items:center}
  .mobile-brand .related-reading a{font-size:14px;min-height:44px;display:flex;align-items:center}
  .mobile-brand .guide-step p{font-size:15px}
  .mobile-brand .guide-step{grid-template-columns:42px minmax(0,1fr);gap:14px}
  .mobile-brand .guide-step .num{white-space:nowrap;font-size:28px;letter-spacing:-.04em}
  .mobile-brand .guide-step a{min-height:44px;display:inline-flex;align-items:center}
  .mobile-brand .brand-story-body p,.mobile-brand .diary-card .card-body{font-size:15px;line-height:1.95}
  .mobile-brand .brand-chapter>summary{padding-block:10px;min-height:48px}
  .mobile-brand .card-toggle{min-height:44px;padding-block:8px}
  .mobile-brand .community-main .post-form-actions,.mobile-brand .community-main .user-bar{flex-wrap:wrap;gap:12px}
  .mobile-brand .community-main .post-card{padding:18px}
  .mobile-brand .community-main .filter-tabs{flex-wrap:wrap;gap:8px}
  .mobile-brand .community-main :is(.tab-btn,.btn-upload,.emoji-picker-btn,.btn-small){min-height:44px}
  .mobile-brand .community-main .post-content{font-size:15px;overflow-wrap:anywhere}
  .mobile-brand .start-intro h1{font-size:clamp(29px,8.4vw,36px)}
  .mobile-brand .start-intro-links a{display:inline-flex;align-items:center;min-height:44px}
  .mobile-brand .start-share{padding:22px 18px}
  .mobile-brand .atlas-summary,.mobile-brand .atlas-story p{font-size:15px;line-height:1.95}
  .mobile-brand .atlas-quality{font-size:14px;line-height:1.85}
  .mobile-brand .atlas-toolbar label{font-size:13px}
  .mobile-brand .atlas-region-tabs button,.mobile-brand .atlas-learning a,.mobile-brand .atlas-share button{min-height:44px}
  .mobile-brand .atlas-sources a{font-size:12px;min-height:36px}
  .mobile-refined :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){font-size:16px!important;min-height:44px}
  .mobile-brand :is(.login-card,.forgot-card,.reset-card){padding:26px 20px}
  .mobile-brand .auth-modal-overlay{padding:12px;overflow-y:auto;overscroll-behavior:contain}
  .mobile-brand .auth-modal{width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;padding:24px 20px;margin:auto}
  .mobile-brand .auth-modal :is(input,button){min-height:46px}
  .mobile-refined .modal-bg{padding:12px}
  .mobile-refined .modal-box{width:100%;max-height:calc(100dvh - 24px);padding:22px 18px;overscroll-behavior:contain}
  .mobile-refined .modal-close{min-width:44px;min-height:44px}
  .mobile-refined .cms-modal-overlay{padding:12px;overflow:auto;overscroll-behavior:contain}
  .mobile-refined .cms-modal{max-width:100%;width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;padding:22px 18px;margin:auto}
  .mobile-refined .cms-modal .upload-area{padding:24px 12px}
  .mobile-refined .cms-modal .btn-row{gap:10px;flex-wrap:wrap}
  .mobile-refined .cms-modal .btn-row button{min-height:44px;flex:1;padding:10px 14px}
  .mobile-refined .cms-video-file-info{min-width:0;overflow-wrap:anywhere}
  .mobile-refined #cmsVideoFileName{min-width:0;overflow-wrap:anywhere}
  .mobile-refined .cms-toast{max-width:calc(100vw - 24px);white-space:normal;overflow-wrap:anywhere}
  .mobile-refined .sync-lightbox{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:10px}
  .mobile-refined .sync-lightbox-tools{gap:6px;display:grid;grid-template-columns:1fr auto 1fr}
  .mobile-refined .sync-lightbox-tools button{min-height:44px;font-size:13px;padding:8px}
  .mobile-refined .sync-lightbox-tools [data-image-close]{grid-column:1/-1}
  .mobile-refined .sync-lightbox>img{max-height:65dvh}
  .mobile-refined .cms-toolbar{height:96px;align-items:stretch;flex-direction:column;gap:4px;padding:7px 12px}
  .mobile-refined .cms-toolbar .cms-left{gap:8px;min-width:0;font-size:11px}
  .mobile-refined .cms-toolbar .cms-logo{font-size:12px;white-space:nowrap}
  .mobile-refined .cms-toolbar .cms-badge{font-size:10px}
  .mobile-refined .cms-toolbar .cms-right{gap:8px;justify-content:flex-end}
  .mobile-refined .cms-toolbar button{min-height:40px;padding:7px 10px;font-size:12px}
  body.mobile-refined.cms-toolbar-active{padding-top:96px}
  body.mobile-refined.cms-toolbar-active nav{top:96px!important}
  .mobile-content-pack{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .mobile-content-pack .phone-frame{width:100%;min-width:0}
  .mobile-content-pack .img-grid{grid-template-columns:1fr;gap:18px;padding-inline:16px}
  .mobile-content-pack .img-item .img-download{width:44px;height:44px;bottom:10px;right:10px}
  .mobile-content-pack :is(.copy-btn,.video-actions a){min-height:44px;line-height:1.7;padding:10px 16px}
  .mobile-content-pack .text-section .content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}
  .mobile-content-pack .bottom-bar{padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:10px}
  .mobile-content-pack .bottom-bar :is(a,button){min-height:46px;font-size:13px}
  .mobile-tool{padding-inline:0!important;overflow-wrap:anywhere}
  .mobile-tool .wrap,.mobile-tool>.container{padding:16px;width:100%;max-width:100%}
  .mobile-tool .card{padding:18px 16px;border-radius:12px}
  .mobile-tool .row{flex-wrap:wrap;gap:12px}
  .mobile-tool .row>div{min-width:0;flex:1 1 140px}
  .mobile-tool :is(button,.btn,.chip,.step){min-height:44px}
  .mobile-tool :is(.chip,label,.hint,.sub){line-height:1.75}
  .mobile-tool label{font-size:13px}
  .mobile-tool .hint{font-size:12px}
  .mobile-tool :is(.drop,.upload-area){padding:24px 16px}
  .mobile-tool .video-input-row{flex-wrap:wrap}
  .mobile-tool .video-input-row input{min-width:0;flex:1 1 180px}
  .mobile-tool .video-input-row button{flex:1 1 72px}
  .mobile-tool :is(.results,.grid,.ecom-grid){grid-template-columns:minmax(0,1fr)}
  .mobile-tool :is(.pg .ph,.pg .ops,.file-item,.file-row){flex-wrap:wrap;gap:8px}
  .mobile-tool .pg canvas{width:100%;height:auto}
  .mobile-tool .toast{max-width:calc(100vw - 24px);white-space:normal;overflow-wrap:anywhere}
  .mobile-management .topbar{padding:12px;flex-wrap:wrap;gap:12px}
  .mobile-management .topbar .left{gap:8px;flex-wrap:wrap}
  .mobile-management .topbar .right{flex-wrap:wrap;gap:8px}
  .mobile-management .topbar button{min-height:44px;padding:9px 12px;font-size:12px}
  .mobile-management .container{padding:0 14px;margin:18px auto}
  .mobile-management .card{padding:18px 14px;min-width:0}
  .mobile-management :is(.stats-row,.grid-2){grid-template-columns:minmax(0,1fr)}
  .mobile-management table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
  .mobile-management .pw-row{flex-direction:column;align-items:stretch}
  .mobile-management .pw-row input{width:100%}
  .mobile-management .pw-row button{min-height:46px}
}
@media(min-width:701px) and (max-width:1000px){.mobile-brand .wrap{padding-inline:28px}.mobile-brand .shop-grid{gap:16px}}
@media(prefers-reduced-motion:reduce){.mobile-refined{scroll-behavior:auto}}

/* /topic-navigation.css */
.topic-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 32px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.topic-tabs button{min-height:44px;padding:9px 20px;border:1px solid var(--line);border-radius:4px;color:var(--green);background:transparent;cursor:pointer}
.topic-tabs button[aria-selected=true]{color:#fff;background:var(--green);border-color:var(--green)}
.topic-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
[data-topic-panel][hidden],#brandDiaryPanel[hidden],#brandStoryPanel[hidden],#libraryCategories[hidden]{display:none!important}
.knowledge-layout .knowledge-illustrated .illustrated-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.knowledge-layout .kb-search{margin:20px 0 14px}.knowledge-layout .kb-tags{margin-bottom:24px}
.topic-atlas>h2{margin-bottom:20px}.topic-frame{display:block;width:100%;min-height:520px;border:0;background:var(--paper,#faf9f5);overflow:hidden}
.topic-reader{box-sizing:border-box;padding:0;border:1px solid var(--line);border-radius:8px;width:min(920px,calc(100vw - 40px));max-width:none;height:calc(100dvh - 64px);max-height:none;overflow:hidden;color:var(--ink);background:var(--paper,#faf9f5)}
.topic-reader::backdrop,.topic-image-viewer::backdrop{background:#14251fc4}
.topic-reader[open],.topic-image-viewer[open]{display:flex;flex-direction:column}
.topic-reader-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;border-bottom:1px solid var(--line);background:var(--paper,#faf9f5)}
.topic-reader-header h2{margin:0;min-width:0}.topic-reader-header button{flex-shrink:0;min-height:44px;padding:6px 16px;border:1px solid var(--line);background:transparent;border-radius:4px;color:var(--ink);cursor:pointer}
.topic-reader-header{flex-shrink:0}
.topic-reader-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 32px;box-sizing:border-box;scroll-behavior:auto}
.topic-reader-body .article-content,.topic-reader-body main{padding:0;margin:0;max-width:none;width:auto;display:block;background:transparent}
.topic-reader-body .article-header{margin-bottom:20px}.topic-reader-body .article-body{padding:0}.topic-reader-body img{max-width:100%;height:auto}.topic-reader-body video{display:block;width:100%;max-height:70dvh}
.topic-reader-body .page-heading{padding:0;margin:0 0 16px}
a.atlas-hero-caption{text-decoration:none}
.topic-reader-body :is(table){max-width:100%;border-collapse:collapse}.topic-reader-body .table-scroll{overflow:auto}.topic-reader-body .illustrated-spread{display:grid;grid-template-columns:1fr;gap:20px}.topic-reader-body .sync-details{display:block;margin:20px 0}.topic-reader-body .sync-details-body{display:block}
.topic-image-button{display:block;padding:0;width:100%;border:0;background:none;cursor:zoom-in}.topic-readable-image{display:block}
.topic-image-viewer{box-sizing:border-box;width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--paper,#faf9f5);overflow:hidden}
.topic-image-viewer .topic-reader-header>div{display:flex;gap:8px}.topic-image-scroll{flex:1;min-height:0;overflow:auto;padding:12px;box-sizing:border-box;text-align:center}.topic-image-scroll img{display:block;max-width:100%;height:auto;margin:0 auto}.topic-image-viewer.is-original .topic-image-scroll img{max-width:none;width:auto}
.topic-embedded{padding:0!important}.topic-embedded :is(.site-nav,.site-footer,.skip-link,main>.sync-breadcrumb,.atlas-hero,.atlas-journeys){display:none!important}.topic-embedded main.wrap{width:100%;max-width:none;padding:16px 0 0;margin:0}.topic-embedded .atlas-directory{padding-top:24px}.topic-embedded .diary-heading{margin-top:0}.topic-embedded #diaryAddForm{display:none}
.home-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-block:36px}.home-topic-card{display:flex;flex-direction:column;gap:8px;padding:24px 20px;border:1px solid var(--line);border-radius:4px;background:var(--soft)}.home-topic-card .home-topic-number{color:var(--accent)}
@media(max-width:900px){.knowledge-layout .knowledge-illustrated .illustrated-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-tabs{gap:6px;margin-block:20px 24px}.topic-tabs button{flex:1;padding:8px 10px;white-space:nowrap}.topic-reader{width:calc(100vw - 16px);height:calc(100dvh - 16px);border-radius:5px}.topic-reader-header{gap:12px;padding:10px 14px}.topic-reader-header button{padding:6px 12px}.topic-reader-body{padding:20px 16px}.topic-image-viewer .topic-reader-header{flex-wrap:wrap;gap:8px}.topic-image-viewer .topic-reader-header>div{margin-left:auto}.home-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-topic-card{padding:20px 16px}.topic-embedded main.wrap{padding-top:0}}

.topic-mount{min-width:0;width:100%}.topic-mount .atlas-directory{padding-top:24px}.topic-mount .diary-photo{max-width:460px;margin:0 0 28px}.topic-mount .diary-photo img{width:100%;height:auto}.topic-mount .diary-card{margin-bottom:24px}.topic-mount .diary-toggle{display:none}.topic-mount .collapsed{max-height:none!important;overflow:visible!important}

.topic-mount .atlas-hero,.topic-mount .atlas-journeys{display:none!important}

/* /typography.css */
/*
 * 柴不多 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}
}

/* /clean-tabs.css */
/* Four visible theme tabs; normal document flow on every screen. */
html:has(.site-nav){scroll-padding-top:20px}
.site-nav.site-nav{position:relative;top:auto;height:auto;min-height:0;display:grid;grid-template-columns:1fr auto;gap:0 20px;padding:14px max(24px,calc((100vw - 1160px)/2)) 0;background:var(--paper,#fbfaf6);backdrop-filter:none;box-shadow:none;z-index:20}
.site-nav.site-nav .site-brand{grid-column:1;grid-row:1;align-self:center;gap:10px;width:fit-content}
.site-nav.site-nav .site-brand img{width:36px;height:40px}
.site-nav.site-nav .site-brand small{display:none}
.site-nav.site-nav .site-nav-tools{grid-column:2;grid-row:1;margin:0;padding:0;border:0;gap:10px}
.site-nav.site-nav .site-nav-links{grid-column:1/-1;grid-row:2;position:static;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-height:none;margin:10px 0 0;padding:0;border:0;box-shadow:none;overflow:visible;background:transparent}
.site-nav.site-nav .site-nav-links>a{display:flex;justify-content:center;align-items:center;min-height:54px;padding:12px 8px;border-radius:0;background:transparent;color:var(--muted);text-decoration:none;white-space:nowrap;text-align:center}
.site-nav.site-nav .site-nav-links>a[aria-current=page]{color:var(--ink);background:transparent}
.site-nav.site-nav .site-nav-links>a[aria-current=page]:after{display:block;content:'';position:absolute;width:32px;height:2px;left:calc(50% - 16px);right:auto;top:auto;bottom:0;background:var(--ink)}
.site-nav.site-nav .site-menu-toggle{display:none!important}
.site-nav.site-nav .nav-login{display:inline-flex;align-items:center;min-height:44px;padding:4px 0}
.site-nav.site-nav .nav-user-area{max-width:150px}
.site-nav.site-nav .nav-username{max-width:76px}
body.cms-toolbar-active .site-nav.site-nav{position:relative;top:auto!important}
.site-footer .footer-row{margin-bottom:12px}.site-footer .footer-meta{gap:12px 24px;align-items:center;flex-wrap:wrap}.site-footer .footer-meta a{font-size:var(--type-caption,14px);color:var(--muted)}
.topic-tabs.topic-tabs{gap:0;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;margin:10px 0 28px;padding:0;border-bottom:1px solid var(--line)}
.topic-tabs.topic-tabs button{flex:1 0 auto;min-height:50px;padding:12px 16px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);background:transparent;white-space:nowrap}
.topic-tabs.topic-tabs button[aria-selected=true]{background:transparent;color:var(--ink);border-bottom-color:var(--ink)}
.home-hero.home-hero{padding-top:46px;padding-bottom:34px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px}
.home-hero .lead{max-width:26em;margin-top:20px}.home-hero .hero-actions{margin-top:24px}
.home-hero .mineral-carousel-stage{aspect-ratio:1.2;border:0;border-radius:8px}
.home-product-film{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:38px;border-top:1px solid var(--line);margin-top:22px}
.home-product-film p{margin:14px 0 20px;color:var(--muted)}
.home-product-film .product-video-container{position:relative;height:440px;aspect-ratio:auto;max-width:440px;width:100%;justify-self:center;background:#eeeae2;border-radius:6px;overflow:hidden}
.home-product-film .foreground-video{position:static!important;display:block;width:100%;height:100%!important;max-height:440px;object-fit:contain}
#nature .product-video-container{background:#eeeae2}#nature .product-details{margin-top:0}
@media(max-width:700px){
 .site-nav.site-nav{padding:10px max(18px,env(safe-area-inset-left)) 0;gap:0 12px}
 .site-nav.site-nav .site-brand img{width:32px;height:36px}.site-nav.site-nav .site-nav-links{margin-top:6px}
 .site-nav.site-nav .site-nav-links>a{min-height:48px;padding:10px 6px}
 .site-nav.site-nav .site-nav-links>a[aria-current=page]:after{width:28px;left:calc(50% - 14px)}
 .site-nav.site-nav .nav-user-area{max-width:125px}.site-nav.site-nav .nav-username{max-width:52px}
 .site-home .home-hero.home-hero{display:flex;flex-direction:column;align-items:stretch;padding-top:28px;padding-bottom:26px;gap:24px}
 .site-home .home-hero-copy h1 br{display:none}.site-home .home-hero-copy h1{max-width:12em}
 .site-home .home-hero-copy .lead{margin-top:12px}.site-home .hero-actions{margin-top:16px}
 .site-home .hero-actions>.button{flex:none;padding:10px 18px;min-height:44px}
 .site-home .home-hero .mineral-carousel-stage{aspect-ratio:1.24;border-radius:6px}
 .site-home .mineral-carousel-controls{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
 .site-home .mineral-carousel-dots{gap:0}.site-home .mineral-carousel-controls [data-mineral-dot]{min-width:26px;width:26px}
 .site-home .mineral-carousel-arrows{gap:3px}.site-home .mineral-carousel-controls [data-mineral-status]{display:none}
 .site-home .mineral-carousel-controls [data-mineral-pause]{min-width:48px;padding:0 8px}
 .site-home #homeProducts{padding-top:20px}
 .home-product-film{grid-template-columns:1fr;gap:22px;margin-top:14px;padding-block:32px}
 .home-product-film .product-video-container{height:min(125vw,500px);max-width:100%}.home-product-film .foreground-video{max-height:500px}
 .topic-tabs.topic-tabs{margin:0 0 24px}.topic-tabs.topic-tabs button{padding:12px 9px;min-width:0;flex:1}
 .site-footer .footer-meta{align-items:flex-start;gap:7px}.site-footer .footer-brand small{display:inline;margin-left:10px}
}

/* Match the restored portrait film to its explicit container height. */
.home-product-film .product-video-container video.foreground-video{max-height:none;position:relative!important;z-index:1}

/* Five themes: desktop shares one baseline; mobile keeps five equal tabs in normal flow. */
.site-nav.site-nav{grid-template-columns:minmax(150px,1fr) minmax(400px,580px) minmax(70px,1fr);gap:24px;padding-block:12px;align-items:center}
.site-nav.site-nav .site-brand{grid-column:1;grid-row:1;min-width:0}
.site-nav.site-nav .site-nav-links{grid-column:2;grid-row:1;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;align-self:stretch;align-items:center}
.site-nav.site-nav .site-nav-links>a{position:relative;min-width:0;min-height:48px;line-height:1.4;padding:12px 4px;letter-spacing:0}
.site-nav.site-nav .site-nav-tools{grid-column:3;grid-row:1;justify-self:end;align-self:center}
.site-home .home-hero{min-height:0}.home-observations{padding-block:44px 20px;border-top:1px solid var(--line)}
.observation-heading{margin-bottom:26px}.observation-heading .eyebrow{margin-bottom:10px}
.observation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.observation-card{min-width:0;margin:0}.observation-photo{aspect-ratio:1.12;background:#171a16;border-radius:6px;overflow:hidden}
.observation-photo img{width:100%;height:100%;object-fit:cover}.observation-color .observation-photo{background:#e8e1d6}
.observation-card figcaption{padding-top:16px}.observation-card figcaption span{font-size:var(--type-caption,14px);color:var(--muted)}.observation-card figcaption p{margin-top:7px;line-height:1.7}
@media(max-width:900px){
 .site-nav.site-nav{grid-template-columns:1fr auto;gap:0 12px;padding:10px max(20px,env(safe-area-inset-left)) 0}
 .site-nav.site-nav .site-nav-tools{grid-column:2;grid-row:1}
 .site-nav.site-nav .site-nav-links{grid-column:1/-1;grid-row:2;margin-top:6px;grid-template-columns:repeat(5,minmax(0,1fr))}
 .site-nav.site-nav .site-nav-links>a{min-height:48px;padding:12px 2px}
}
@media(max-width:700px){
 .site-nav.site-nav .site-nav-links>a{font-size:15px!important}
 .site-home .home-hero.home-hero{padding-top:26px;gap:22px}
 .home-observations{padding-block:30px 4px}.observation-heading{margin-bottom:20px}
 .observation-grid{grid-template-columns:1fr;gap:26px}.observation-photo{aspect-ratio:1.55}.observation-card figcaption{padding-top:12px}
 .observation-card figcaption p{font-size:var(--type-body,16px)}
}
