/* Shared interface rules from apple/DESIGN.md. Alternative skins keep their colors. */
:root{--apple-text:"SF Pro Text",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--apple-display:"SF Pro Display",var(--apple-text);--serif:var(--apple-display);--radius:18px;--elevation:none;--apple-focus:#0071e3}
:root[data-skin=apple]{--accent:#0066cc;--green:var(--accent);--on-accent:#fff;--page:#f5f5f7;--surface:#fff;--soft:#fafafc;--ink:#1d1d1f;--muted:#6e6e73;--line:#e0e0e0;--negative:#b42318}
:root[data-skin=apple][data-theme=dark]{--accent:#2997ff;--green:var(--accent);--on-accent:#000;--page:#000;--surface:#1d1d1f;--soft:#272729;--ink:#f5f5f7;--muted:#a1a1a6;--line:#424245;--negative:#ff6961}
:root body{font-family:var(--apple-text);background:var(--page);color:var(--ink);font-size:17px;line-height:1.47;letter-spacing:-.2px}
:root body :is(button,input,select,textarea){font-family:var(--apple-text)}
:root body :is(h1,h2,h3){font-family:var(--apple-display);font-weight:600;letter-spacing:-.3px}
:root body .app{box-shadow:none}
:root[data-skin] body .app{background-image:none}
:root body:not(.mobile-app):not(.signed-out) .app{max-width:1440px;padding:0 40px}
:root body .masthead{background:#000;color:#f5f5f7;border:0;min-height:64px;gap:20px;padding:12px 24px}
:root body:not(.mobile-app):not(.signed-out) .masthead{margin-inline:-40px}
:root body .masthead .brand{color:#f5f5f7;font-size:18px;font-weight:600;letter-spacing:-.2px}
:root body .masthead .brand-symbol{color:#f5f5f7;font-size:32px}
:root body .masthead .brand small{color:#d2d2d7;font-size:8px;letter-spacing:2px}
:root body .masthead .brand{flex-shrink:0;display:inline-flex;align-items:center;min-width:0}
:root body .masthead .brand-logo{display:block;width:230px;height:auto;max-width:100%;object-fit:contain}
:root[data-theme=dark] body .masthead .brand-logo{filter:brightness(0) invert(1)}
:root body .header-right{gap:12px;min-width:0}
:root body .site-settings{gap:6px}
:root body .preference-field{background:#1d1d1f;color:#d2d2d7;border:0;border-radius:8px;box-shadow:none;padding:6px 8px}
:root body .preference-field select{color:#f5f5f7;background:transparent;font-size:11px;height:26px}
:root body .preference-field select option{background:#1d1d1f;color:#f5f5f7}
:root body .preference-field svg{width:14px;height:14px}
:root body .header-actions{gap:10px}
:root body .masthead .header-actions .secondary{background:#1d1d1f;border:1px solid #424245;color:#f5f5f7;border-radius:8px;font-size:12px;padding-inline:12px;min-height:36px}
:root body .masthead .text-button,:root body .masthead .points-balance,:root body .masthead .points-balance strong{color:#f5f5f7}
:root body .masthead .points-dot{color:#2997ff}
:root body .masthead .avatar-button,:root body .masthead .icon-button{background:#272729;color:#f5f5f7;box-shadow:none}
:root body .primary-nav{height:56px;gap:16px;justify-content:center;background:var(--page);border-bottom:1px solid var(--line);margin-bottom:0;backdrop-filter:blur(16px)}
:root body .primary-nav .nav-item{min-height:44px;height:auto;padding:0 18px;font-size:14px;font-weight:400;border-radius:9999px;color:var(--muted)}
:root body .primary-nav .nav-item.active{color:var(--green);background:var(--surface);font-weight:600}
:root body .primary-nav .nav-item.active:after{display:none}
:root body .page-heading{padding:40px 0 32px;gap:24px;align-items:center}
:root body .page-heading h1{font:600 clamp(28px,3.4vw,40px)/1.1 var(--apple-display);letter-spacing:-.4px}
:root body .eyebrow{font:400 10px/1.4 var(--apple-text);letter-spacing:1.5px;color:var(--muted)}
:root body .page-heading .subtitle{font-size:14px;line-height:1.47;color:var(--muted);margin-top:12px}
:root body :is(.primary,.secondary){min-height:44px;height:auto;padding:11px 22px;border-radius:9999px;font-size:14px;font-weight:400;line-height:1.3;box-shadow:none;transition:background .18s,color .18s,transform .18s}
:root body .primary{background:var(--green);color:var(--on-accent);border:1px solid transparent}
:root body .secondary{background:transparent;color:var(--green);border:1px solid var(--green)}
:root body :is(.primary,.secondary):hover{transform:none;filter:brightness(1.05)}
:root body :is(.primary,.secondary):active{transform:scale(.95)}
:root body .text-button{color:var(--green);font-size:13px;font-weight:400;background:transparent}
:root body :is(.icon-button,.avatar-button){box-shadow:none;border-radius:50%;background:var(--soft);color:var(--ink)}
:root body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
:root body .section-line h2{font:600 21px/1.3 var(--apple-display)}
:root body .count{color:var(--muted);font:400 12px/1.4 var(--apple-text)}
:root body .studio-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:32px;align-items:start}
:root body .viewer-2d{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:none;height:clamp(500px,52vw,660px)}
:root body .photo-stage-image{background:var(--soft);border-radius:11px}
:root body .photo-stage-image img{object-fit:contain;object-position:center}
:root body .photo-stage-image img.photo-stage-backdrop{object-fit:cover}
:root body .viewer-switcher{background:var(--surface);border:1px solid var(--line);box-shadow:none}
:root body .viewer-switcher button{color:var(--muted)}
:root body .viewer-switcher button.active{color:var(--on-accent);background:var(--green)}
:root body .photo-stage-actions{gap:12px}
:root body .photo-stage-change{color:var(--green)}
:root body .photo-view-video,:root body .video-preview-empty{background:#000;color:#fff}
:root body .video-preview-empty strong{font:600 21px/1.2 var(--apple-display);color:#f5f5f7}
:root body .video-source-label{color:#d2d2d7}
:root body .video-options label{color:#d2d2d7;font-size:12px}
:root body .video-options select{background:#1d1d1f;color:#f5f5f7;border-color:#424245;font-size:12px;border-radius:8px;min-height:36px}
:root body .video-lock-reason{color:#d2d2d7}
:root body .video-add{color:#2997ff;border:0;background:transparent;font-size:12px}
:root body .video-generate{font-size:13px;min-height:40px}
:root body .closet-panel{background:var(--surface);padding:24px;border:1px solid var(--line);border-radius:18px;box-shadow:none;min-width:0}
:root body .categories{gap:8px;padding-block:20px}
:root body .chip{min-height:40px;display:inline-flex;align-items:center;padding:8px 16px;border:1px solid var(--line);border-radius:9999px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:400}
:root body .chip.active{color:var(--green);border-color:var(--green);background:var(--surface);font-weight:600}
:root body .wardrobe-grid{gap:24px 16px}
:root body .item-art{height:auto;aspect-ratio:1;background:var(--soft);border:1px solid var(--line);border-radius:18px;box-shadow:none}
:root body .item-art>img{object-fit:contain;padding:16px}
:root body .item-card:hover .item-art{box-shadow:none;transform:none}
:root body .item-card.selected .item-art{border:2px solid var(--green);box-shadow:none}
:root body .item-card h3{font:600 14px/1.43 var(--apple-text);margin:12px 0 4px}
:root body .item-meta,:root body .item-source{font-size:12px;color:var(--muted)}
:root body .item-source{background:var(--surface);border-radius:5px}
:root body .selected-check{background:var(--green);color:var(--on-accent)}
:root body .item-tools .icon-button{width:36px;height:36px;background:var(--surface);border:1px solid var(--line);color:var(--ink);box-shadow:none;border-radius:50%}
:root body .item-tools .icon-button:hover{background:var(--soft);color:var(--green)}
:root body .outfit-strip{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}
:root body .outfit-strip .section-line h3{font:600 14px/1.4 var(--apple-text)}
:root body .outfit-tag{color:var(--ink);background:var(--soft);border:1px solid var(--line);font-size:12px;border-radius:9999px}
:root body .outfit-tag button{color:var(--muted)}
:root body .collection-toolbar{gap:16px}
:root body .search{height:44px;border:1px solid var(--line);background:var(--surface);border-radius:9999px;color:var(--muted)}
:root body .search input{font-size:14px;color:var(--ink)}
:root body .collection-grid{gap:32px 24px}
:root body .collection-grid .item-art{aspect-ratio:1}
:root body .profile-layout{gap:32px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
:root body .profile-settings,:root body .look-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:none}
:root body .profile-settings h2{font:600 24px/1.3 var(--apple-display)}
:root body .photo-preview{background:var(--soft);border:1px solid var(--line);border-radius:11px}
:root body .photo-upload p{font-size:13px;line-height:1.6;color:var(--muted)}
:root body .info-panel{background:var(--soft);color:var(--muted);border:1px solid var(--line);border-radius:11px;font-size:12px;line-height:1.7}
:root body .info-panel strong{color:var(--ink);font-weight:600}
:root body .look-image{background:var(--soft);border-radius:11px;aspect-ratio:3/4}
:root body .look-image img{object-fit:contain}
:root body .look-card h3{font:600 17px/1.3 var(--apple-text)}
:root body .look-details{font-size:12px;color:var(--muted)}
:root body .look-actions .secondary{font-size:13px}
:root body .welcome-empty h2{font-size:24px}
:root body .welcome-empty svg{color:var(--muted)}
:root body .welcome-empty p{font-size:14px;color:var(--muted)}
:root body .weather-advice-card{border-radius:18px;background:var(--surface);padding:24px;box-shadow:none}
:root body .weather-advice-heading h2{font:600 24px/1.3 var(--apple-display)}
:root body .weather-temperature{font:600 40px/1.1 var(--apple-display)}
:root body .weather-outfit-tip{font-size:14px}
:root body .admin-layout{gap:24px}
:root body .admin-sidebar{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:12px;gap:8px}
:root body .admin-sidebar button{font-size:13px;color:var(--muted);min-height:44px;border-radius:8px;padding:10px 12px}
:root body .admin-sidebar button.active{background:var(--soft);color:var(--green);font-weight:600}
:root body .admin-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:none}
:root body .admin-card h3{font:600 17px/1.3 var(--apple-display)}
:root body .stat strong{font:600 34px/1.2 var(--apple-display);color:var(--ink)}
:root body .stat span{font-size:12px}
:root body .trend-column i{background:var(--green)}
:root body .trend-column :is(span,small){color:var(--muted)}
:root body .admin-table{font-size:12px;line-height:1.5}
:root body .admin-table th{background:var(--soft);color:var(--ink);font-weight:600}
:root body .admin-table td{color:var(--ink)}
:root body .admin-check{font-size:13px}
:root body .model-setting{border-radius:11px;background:var(--soft)}
:root body .admin-search{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:9999px;min-height:44px}
:root body dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:none}
:root body dialog::backdrop{background:#0007;backdrop-filter:blur(8px)}
:root body .modal-heading h2{font:600 28px/1.2 var(--apple-display)}
:root body .modal-intro{font-size:14px;line-height:1.6;color:var(--muted)}
:root body .modal-heading button{color:var(--muted);min-width:36px;min-height:36px}
:root body .field{font-size:14px;color:var(--ink)}
:root body .field :is(input:not([type=color]),select,textarea){color:var(--ink);background:var(--soft);border-color:var(--line);border-radius:11px;font-size:14px;min-height:44px}
:root body :is(.field input,.field select,.field textarea,.search){box-shadow:none}
:root body .field input[type=color]{border-color:var(--line)}
:root body .field output{color:var(--green)}
:root body .upload-zone{background:var(--soft);border:1px dashed var(--line);border-radius:18px;color:var(--ink)}
:root body .upload-zone :is(svg,small){color:var(--muted)}
:root body .upload-zone strong{font-size:14px;font-weight:600}
:root body :is(.modal-notice,.modal-progress,.prototype-note){font-size:12px;line-height:1.6;color:var(--muted)}
:root body .validation{color:var(--negative,#b42318);font-size:12px}
:root body .payment-qr{background:var(--soft);border-color:var(--line);border-radius:18px}
:root body .tryon-person-photo{background:var(--soft);border-radius:11px}
:root body .tryon-category-option{background:var(--soft);border:1px solid var(--line);border-radius:11px;padding:12px}
:root body .tryon-category-option select{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:8px}
:root body #toast{background:#1d1d1f;color:#fff;box-shadow:none;border-radius:11px;font-size:14px}
:root body .desktop-footer{border-top:1px solid var(--line);color:var(--muted);font-size:12px;padding:24px 0;background:var(--page)}
:root body.signed-out .cover-copy h1{font:300 clamp(40px,5vw,56px)/1.07 "DengXian","等线","PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;letter-spacing:-.28px}
:root body.signed-out .cover-description{font-family:var(--apple-text)}
:root body.mobile-app .app{box-shadow:none}
:root body.mobile-app .masthead{min-height:0;padding:12px 16px;margin:0 -16px;gap:10px;width:calc(100% + 32px);box-sizing:border-box}
:root body.mobile-app .brand{font-size:16px}
:root body.mobile-app .masthead .brand-logo{width:105px;height:auto}
:root body.mobile-app .header-right{gap:8px}
:root body.mobile-app .preference-field{padding:4px;gap:3px}
:root body.mobile-app .preference-field select{font-size:10px}
:root body.mobile-app .header-actions{gap:8px}
:root body.mobile-app .header-actions .secondary{font-size:11px;padding-inline:10px}
:root body.mobile-app .primary-nav{height:auto;gap:4px;border-bottom:0;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface) 88%,transparent);box-shadow:none}
:root body.mobile-app .primary-nav .nav-item{padding:5px 2px;min-height:48px;font-size:10px;border-radius:11px}
:root body.mobile-app .page-heading{padding:24px 0;gap:12px;align-items:flex-start;flex-wrap:wrap}
:root body.mobile-app .page-heading h1{font-size:28px;line-height:1.15}
:root body.mobile-app .page-heading .subtitle{font-size:12px;margin-top:8px}
:root body.mobile-app :is(.primary,.secondary){font-size:12px;padding:10px 16px}
:root body.mobile-app .heading-action{gap:8px}
:root body.mobile-app .viewer-2d{height:auto;padding:10px;min-height:300px;max-height:56dvh;aspect-ratio:9/12}
:root body.mobile-app .closet-panel{padding:16px}
:root body.mobile-app .section-line h2{font-size:18px}
:root body.mobile-app .chip{font-size:11px;padding:8px 14px}
:root body.mobile-app .categories{margin-right:0;padding-right:0}
:root body.mobile-app :is(.wardrobe-grid,.collection-grid){gap:20px 12px}
:root body.mobile-app .item-art{aspect-ratio:1;height:auto;border-radius:11px}
:root body.mobile-app .item-art>img{padding:10px}
:root body.mobile-app .item-card h3{font-size:12px}
:root body.mobile-app .item-meta{font-size:10px}
:root body.mobile-app .profile-settings,:root body.mobile-app .look-card{padding:16px}
:root body.mobile-app .profile-settings h2{font-size:21px}
:root body.mobile-app .photo-upload{flex-wrap:wrap}
:root body.mobile-app .look-grid{grid-template-columns:minmax(0,1fr);gap:16px}
:root body.mobile-app .look-image{aspect-ratio:4/5}
:root body.mobile-app .weather-advice-card{padding:18px}
:root body.mobile-app .weather-advice-heading h2{font-size:20px}
:root body.mobile-app .weather-temperature{font-size:32px}
:root body.mobile-app .weather-outfit-tip{font-size:13px}
:root body.mobile-app .admin-card{padding:16px}
:root body.mobile-app .admin-sidebar{margin-left:0;margin-right:0;padding:8px;max-width:100%;box-sizing:border-box}
:root body.mobile-app .stat strong{font-size:26px}
:root body.mobile-app dialog{padding:24px 18px}
:root body.mobile-app .modal-heading h2{font-size:24px}
:root body.mobile-app.signed-out .cover-copy h1{font-size:40px}
:root body.mobile-app.signed-out .cover-buttons :is(.primary,.secondary){font-size:8.5px}
:root body.mobile-app.signed-out .preference-field select{font-size:5px}
:root body.mobile-app.signed-out #cover-header-login,:root body.mobile-app.signed-out #admin-login,:root body.mobile-app.signed-out #setup-admin{font-size:6px}
:root body.mobile-app.signed-out .cover-benefits{font-size:7px}
:root body.mobile-app.signed-out .masthead .brand{order:0}
:root body.mobile-app.signed-out .header-right{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;order:1}
:root body.mobile-app.signed-out .site-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;width:auto;min-width:0;gap:6px;order:0}
:root body.mobile-app.signed-out .preference-field{height:28px;box-sizing:border-box;padding:2px 4px;gap:3px;min-width:0;max-width:none}
:root body.mobile-app.signed-out .preference-field select{height:22px;min-width:0;max-width:100%;width:auto}
:root body.mobile-app.signed-out .preference-field svg{width:10px;height:10px}
:root body.mobile-app.signed-out .header-actions{flex:none;width:auto;min-height:28px;margin:0;overflow:visible;order:0}
:root body.mobile-app.signed-out .header-actions #cover-header-login{height:28px;min-height:28px;padding:0 10px;min-width:34px;white-space:nowrap;border-radius:8px}
@media(max-width:1100px){
 :root body:not(.mobile-app):not(.signed-out) .app{padding-inline:24px}
 :root body:not(.mobile-app):not(.signed-out) .masthead{margin-inline:-24px;flex-wrap:wrap}
 :root body .masthead .edition{display:none}
 :root body .header-right{flex-wrap:wrap}
 :root body .studio-layout{gap:24px}
}
@media(max-width:680px){
 :root body:not(.mobile-app):not(.signed-out) .app{padding-inline:16px}
 :root body:not(.mobile-app):not(.signed-out) .masthead{margin-inline:-16px;padding-inline:16px}
 :root body .page-heading{padding-block:24px;flex-wrap:wrap}
 :root body .page-heading h1{font-size:28px}
 :root body .profile-layout{display:flex;flex-direction:column}
 :root body .primary-nav{gap:4px}
 :root body .primary-nav .nav-item{font-size:12px;padding-inline:10px}
 :root body.mobile-app.signed-out .cover-buttons :is(.primary,.secondary){font-size:7px}
 :root body.mobile-app.signed-out .cover-benefits{font-size:6px}
}
@media(prefers-reduced-motion:reduce){:root body *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Mobile cover tools: bottom dock with icon above readable text. */
.cover-login-icon{display:none}
:root body.mobile-app.signed-out .header-right{position:fixed;z-index:20;left:50%;bottom:0;transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,480px);box-sizing:border-box;margin:0;padding:8px 8px max(8px,env(safe-area-inset-bottom));gap:4px;background:var(--surface);color:var(--ink);border-top:1px solid var(--line);min-height:64px}
:root body.mobile-app.signed-out :is(.site-settings,.header-actions){display:contents}
:root body.mobile-app.signed-out .preference-field{display:flex;flex-direction:column;justify-content:center;align-items:center;height:48px;min-width:0;padding:0;gap:4px;background:transparent;color:var(--ink);border:0;border-radius:0}
:root body.mobile-app.signed-out .preference-field>span{display:flex;align-items:center;justify-content:center;height:24px}
:root body.mobile-app.signed-out .preference-field svg{width:20px;height:20px}
:root body.mobile-app.signed-out .preference-field select{width:100%;max-width:100%;height:22px;font-size:10.5px;line-height:22px;color:var(--ink);background:transparent;padding:0 1px;border:0;text-align:center;text-align-last:center;letter-spacing:0}
:root body.mobile-app.signed-out .preference-field select option{background:var(--surface);color:var(--ink)}
:root body.mobile-app.signed-out .header-actions #cover-header-login{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;height:48px;min-height:48px;padding:0;background:transparent;color:var(--ink);font-size:10.5px;line-height:22px;border:0;border-radius:0;letter-spacing:0}
:root body.mobile-app.signed-out .cover-login-icon{display:flex;height:24px;align-items:center;justify-content:center}
:root body.mobile-app.signed-out .cover-login-icon svg{width:20px;height:20px}
:root body.mobile-app.signed-out main#main{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
@media(min-width:600px) and (min-aspect-ratio:9/16){:root body.mobile-app.signed-out .header-right{width:min(56.25dvh,480px);bottom:max(0px,calc((100dvh - 854px)/2));border-radius:0 0 22px 22px}}

/* Requested mobile cover proportions and image-first composition. */
:root body.mobile-app.signed-out .cover-buttons :is(.primary,.secondary){font-size:5.25px}
:root body.mobile-app.signed-out .cover-layout{padding-top:0}
:root body.mobile-app.signed-out .cover-visual{order:-1;margin-top:0}
:root body.mobile-app.signed-out .cover-copy{position:relative;padding-top:120px}

/* Original cover image proportions with the pink brand at the top-left. */
:root body.mobile-app.signed-out .app{position:relative;padding-inline:0}
:root body.mobile-app.signed-out .masthead{position:absolute;z-index:21;top:14px;left:16px;width:auto;padding:0;margin:0;background:transparent;gap:0}
:root body.mobile-app.signed-out .cover-visual img{height:auto;max-height:35dvh;object-fit:contain;object-position:center}
:root body.mobile-app.signed-out .cover-benefits{font-size:10.5px;gap:16px;flex-wrap:nowrap}
.signup-promo-card{width:100%;display:flex;flex-direction:column;align-items:center;gap:16px;padding:28px 20px;background:#fcecf3;color:#9b3e66;border:1px solid #efccdc;border-radius:18px;font:inherit;cursor:pointer}
.signup-promo-card .promo-label{font-size:12px;letter-spacing:2px}
.signup-promo-card strong{font-size:64px;line-height:1;font-weight:500}
.signup-promo-card strong small{font-size:15px;margin-left:8px}
.signup-promo-card>span:not(.promo-label){font-size:14px}
.signup-promo-card .promo-cta{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:9999px;background:#9b3e66;color:#fff}
.signup-promo-card .promo-cta svg{width:16px;height:16px}

/* Compact promotion: roughly one third of the portrait cover height. */
:root body.mobile-app dialog[open]:has(.signup-promo-card){display:flex;flex-direction:column;width:min(calc(100vw - 48px),320px);height:min(33dvh,282px);min-height:236px;padding:12px 16px;gap:0;box-sizing:border-box}
:root body.mobile-app dialog:has(.signup-promo-card) .modal-heading{flex:none;margin-bottom:0}
:root body.mobile-app dialog:has(.signup-promo-card) .modal-heading h2{font-size:18px}
:root body.mobile-app dialog:has(.signup-promo-card) .modal-intro{flex:none;margin:2px 0 8px;font-size:12px;line-height:1.4}
:root body.mobile-app .signup-promo-card{flex:1;min-height:0;justify-content:center;gap:4px;padding:8px 12px;border-radius:12px}
:root body.mobile-app .signup-promo-card .promo-label{font-size:10.5px}
:root body.mobile-app .signup-promo-card strong{font-size:40px}
:root body.mobile-app .signup-promo-card strong small{font-size:12px}
:root body.mobile-app .signup-promo-card>span:not(.promo-label){font-size:12px}
:root body.mobile-app .signup-promo-card .promo-cta{font-size:11px;padding:6px 12px}

/* Center the cover brand in the gap; promotion belongs to the signed-in home. */
:root body.mobile-app.signed-out .masthead .brand{display:none}
:root body.mobile-app.signed-out .cover-brand{position:absolute;top:38px;left:50%;transform:translateX(-50%);display:block;width:auto;height:44px;line-height:0}
:root body.mobile-app.signed-out .cover-brand img{display:block;width:auto;height:44px;object-fit:contain}
:root body.mobile-app dialog[open]:has(.signup-promo-card){margin:auto}
:root body dialog:has(.signup-promo-card)::backdrop{background:#0003;backdrop-filter:none;-webkit-backdrop-filter:none}

:root body.mobile-app.signed-out main#main{scrollbar-width:none}
:root body.mobile-app.signed-out main#main::-webkit-scrollbar{display:none}

:root body.mobile-app.signed-out .cover-brand .cover-logo-dark{display:none}
:root[data-theme=dark] body.mobile-app.signed-out .cover-brand .cover-logo-light{display:none}
:root[data-theme=dark] body.mobile-app.signed-out .cover-brand .cover-logo-dark{display:block}

:root body.mobile-app.signed-out .cover-copy .eyebrow{font-family:Georgia,"Times New Roman",serif;font-size:clamp(11px,3.2vw,14px);font-style:italic;font-weight:400;line-height:1.4;letter-spacing:.5px;white-space:nowrap}
