@media (display-mode: standalone) {
  html { background: #f4f3ef; }
  body { padding-top: env(safe-area-inset-top); }
  .header.retail-header { top: env(safe-area-inset-top); }
  .skip:focus { top: calc(env(safe-area-inset-top) + 10px); }
}

/* In-flow, optional iPhone instructions. Typography inherits the shared scale. */
/* A single quiet row below navigation, expanded only by the visitor. */
.iphone-install-help{position:relative;box-sizing:border-box;width:calc(100% - 16px);max-width:none;margin:6px auto;background:rgba(255,255,255,.4);color:#242320;border:1px solid rgba(119,113,103,.45);padding:0 8px;overflow-wrap:anywhere}
.iphone-install-help[hidden]{display:none}
.iphone-install-help>details>summary{min-height:44px;display:flex;align-items:center;padding:0 40px 0 0;box-sizing:border-box;cursor:pointer;list-style:none}
.iphone-install-help summary::-webkit-details-marker{display:none}
.iphone-install-help>details[open]{padding-bottom:12px!important}
@layer statement-type{.iphone-install-help>details>summary{font-size:var(--st-help,.8125rem)!important;line-height:var(--st-help-line,1.0625rem)!important;font-weight:400!important;letter-spacing:0!important}}
@media(max-width:360px){.iphone-install-help{width:calc(100% - 8px);padding-inline:3px}@layer statement-type{.iphone-install-help>details>summary{font-size:var(--st-technical-link,.7rem)!important;line-height:var(--st-technical-line,1rem)!important}}}
/* Allow text enlargement to wrap rather than clip the installation question. */
.iphone-install-help>details>summary{white-space:normal;text-wrap:pretty}
.iphone-install-help ol{margin:0;padding-left:24px;display:grid;gap:8px}
.iphone-install-help li{padding-left:2px}
.iphone-install-help ol+p{margin-top:12px!important}
.iphone-install-close{position:absolute;top:0;right:2px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:inherit;padding:10px;cursor:pointer}
.iphone-install-close svg{width:24px;height:24px}
.iphone-share-icon{width:20px;height:20px;vertical-align:-4px}
.iphone-install-more summary{min-height:44px;display:flex;align-items:center;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.iphone-install-reopen{display:block;min-height:44px;max-width:100%;margin:12px 0;padding:8px 12px;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;text-align:left;cursor:pointer}
.iphone-install-help :is(button,summary):focus-visible,.iphone-install-reopen:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
#iphone-install-help details{padding:0;border:0;margin:0}
#iphone-install-help .iphone-install-close{box-sizing:border-box;min-width:44px;min-height:44px;display:grid;place-items:center;padding:10px;border:0;background:transparent;color:#242320}
#iphone-install-help .iphone-install-close svg{width:24px;min-width:24px;height:24px;flex:none}
body button.iphone-install-reopen{background:transparent;color:inherit;border:0}

/* Android shares the existing installation panel and central typography. */
#android-install-help details{padding:0;border:0;margin:0}
#android-install-help .iphone-install-close{box-sizing:border-box;min-width:44px;min-height:44px;padding:10px;border:0;background:transparent;color:#242320}
#android-install-help .iphone-install-close svg{width:24px;min-width:24px;height:24px;flex:none}
#android-install-help .android-install-action{min-height:44px;padding:10px 16px;margin:4px 0 12px;background:#242320;color:#fff;border:0;cursor:pointer}
#android-install-help .android-install-action[hidden]{display:none}
#android-install-help .android-install-action:disabled{opacity:.6;cursor:wait}
#android-install-help .small{color:#5d5a55}
#android-install-help .android-install-status:empty{display:none}

/* Avoid backdrop compositing on iOS sticky/fixed navigation, in Safari and standalone. */
html.ios-navigation body>.header.retail-header,
html.ios-navigation body>.app-nav{
 -webkit-backdrop-filter:none;backdrop-filter:none;
 transform:translate3d(0,var(--ios-nav-shift,0px),0);
 transition:background-color .15s ease;animation:none;
}
html.ios-navigation body>.header.retail-header{background:#f4f3ef}
html.ios-navigation body>.app-nav{background:#f9f8f5}

/* Shared search entry: one control in every consumer header. */
body>header.has-search-entry .st-search-entry,body>header .st-search-desktop{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;color:inherit;padding:10px;box-sizing:border-box;text-decoration:none;background:transparent;border:0}
.st-search-entry svg,.st-search-desktop svg{width:24px;height:24px;flex-shrink:0}
body>header.retail-header>.st-search-entry{grid-column:2;grid-row:1;justify-self:end}
body>header.has-search-desktop>.st-search-entry{display:none}
body>.preview-header>.st-search-entry{margin-left:8px}
@media(max-width:999px){
 body>header.has-search-desktop>.st-search-entry{display:flex}
 body>header .st-search-desktop{display:none!important}
 body>header.retail-header>.st-search-entry{grid-column:2;grid-row:1}
 body>header.retail-header>.menu-toggle{display:none!important}
 body.catalog-path-view>header.catalog-path-active.has-search-entry>.catalog-pathbar{grid-column:1;grid-row:1;min-width:0;width:100%}
 body.catalog-path-view>header.catalog-path-active.has-search-entry{grid-template-columns:minmax(0,1fr) 44px;column-gap:4px}
}
