/* The optional scrolling homepage's Collection. */
#home-collection-trigger[hidden],#home-scroll-footer[hidden],#home-collection [hidden]{display:none!important}
#home-collection-trigger{position:absolute;z-index:31;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));width:44px;height:44px;padding:10px;border:0;background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
#home-collection-trigger svg{width:20px;height:20px;fill:currentColor;stroke:none}
#home-collection-trigger:focus-visible{box-shadow:inset 0 0 0 1px currentColor;border-radius:8px}
#home-collection:not([open]){display:none}
#home-collection{
 --collection-line:color-mix(in srgb,currentColor 15%,transparent);
 --collection-hover:color-mix(in srgb,currentColor 6%,transparent);
 position:absolute;z-index:40;inset:max(56px,calc(env(safe-area-inset-top) + 48px)) max(12px,env(safe-area-inset-right)) auto auto;
 margin:0;width:min(340px,calc(100% - 24px));max-width:none;
 max-height:calc(100dvh - max(68px,calc(env(safe-area-inset-top) + 60px)) - env(safe-area-inset-bottom));
 padding:6px 14px;overflow:auto;overscroll-behavior:contain;
 border:1px solid var(--collection-line);border-radius:16px;background:var(--paper);color:inherit;
 box-shadow:0 8px 30px rgb(0 0 0 / .12);font:inherit;font-size:11px;line-height:1.35;text-transform:lowercase;
}
:root[data-atmosphere-renderer="tone"] #home-collection{background-color:inherit}
#home-collection :is(.home-collection-appearance,.home-collection-scheme){background-color:inherit}
/* No full-screen painted layer: Safari can keep sampling the document itself. */
#home-collection header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-6px;z-index:1;background:inherit}
#home-collection section+section,#home-collection footer{margin-top:4px;padding-top:4px;border-top:1px solid var(--collection-line)}
#home-collection footer{margin-top:4px;padding-top:4px}
#home-collection button,#home-collection a{font:inherit;color:inherit;text-transform:inherit;--link-rest-opacity:1}
#home-collection button{border:0;background:transparent;cursor:pointer;min-height:44px;touch-action:manipulation}
#home-collection .home-collection-name{
 display:flex;align-items:center;min-height:44px;padding:0 6px;border-radius:8px;text-decoration:none;
}
/* PAS inks color the original glyphs without changing their shaping or size. */
.home-collection-name-label{white-space:nowrap}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 .home-collection-name-label[data-opal-ink],#invitation-toggle[data-opal-ink]{
  background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
 }
}
#home-collection .home-collection-close{display:grid;place-items:center;width:44px;padding:0;border-radius:8px}
#home-collection .home-collection-close svg{width:14px;height:14px}
#home-collection .home-collection-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}
#home-collection .home-collection-item{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:48px;padding:4px 2px;text-decoration:none;text-align:center;font-size:11px;line-height:1.25;text-transform:lowercase;border-radius:8px}
#home-collection .home-collection-tools .home-collection-item{flex-direction:column}
#home-collection svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
#home-collection .home-destinations{position:static;transform:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:auto;max-width:none;gap:2px;margin:0}
#home-collection .home-destinations a{min-height:48px;padding-inline:8px;white-space:normal}
#home-collection .home-destinations svg{width:15px;height:15px}
.home-destinations.home-collection-resource-hidden{display:none!important}
#home-collection #atmosphere-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0 6px;border-radius:8px;text-align:center}
#home-collection #atmosphere-toggle .atmosphere-orb{width:13px;height:13px;opacity:1}
#home-collection #atmosphere-toggle .atmosphere-orb::before{inset:2.5px;background:currentColor;opacity:0}
#home-collection #atmosphere-toggle[aria-pressed="true"] .atmosphere-orb::before{opacity:1}
#home-collection .home-collection-scheme{border:0;margin:0;padding:0;min-inline-size:0}
#home-collection .home-collection-scheme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
#home-collection .home-collection-scheme-option{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:0 6px;border-radius:8px;white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#home-collection .home-collection-scheme-circle{flex:none;display:grid;place-items:center;width:13px;height:13px;border:1px solid currentColor;border-radius:50%}
#home-collection .home-collection-scheme-circle::after{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:0}
#home-collection .home-collection-scheme-option input:checked + .home-collection-scheme-circle::after{opacity:1}
#home-collection .home-collection-scheme-option:has(input:focus-visible){text-decoration:underline;text-underline-offset:4px}
#home-collection .home-collection-about{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:0 6px;text-align:center;text-decoration:none;border-radius:8px}
#home-collection :is(a,button):focus-visible{box-shadow:inset 0 0 0 1px currentColor;text-decoration:none}
:root[data-homepage="scroll"] :is(#home-tools,#appearance-controls){display:none!important}
#home-scroll-footer{display:flex;justify-content:center;align-items:center;padding:0 24px max(24px,env(safe-area-inset-bottom))}
#home-scroll-footer a{
 display:inline-flex;align-items:center;min-height:44px;padding:8px;font-size:11px;
 color:var(--ink);text-decoration:none;--link-rest-opacity:.55;
}
:root[data-atmosphere][data-atmosphere-version="2"] #home-scroll-footer a{--link-rest-opacity:var(--atmosphere-quiet-opacity,.96)}
:root[data-homepage="scroll"] :is(#homepage-feed-hint,:is(#home-privacy,#home-about)){transition:opacity 160ms ease,visibility 0s}
:root[data-homepage="scroll"]:not([data-home-feed-entry]) :is(#homepage-feed-hint,:is(#home-privacy,#home-about)){
 opacity:0;visibility:hidden;pointer-events:none;transition:opacity 160ms ease,visibility 0s 160ms;
}
@media(prefers-reduced-motion:reduce){
 :root[data-homepage="scroll"] :is(#homepage-feed-hint,:is(#home-privacy,#home-about)){transition:none!important}
}
:root[data-home-feed-entry] #home-scroll-footer a,
:root:has(#homepage-explore[data-feed-more]:not([hidden])) #home-scroll-footer a{visibility:hidden}
@media(max-width:350px){
 #home-collection :is(.home-destinations a,.home-collection-scheme-option){flex-direction:column;min-height:48px}
 #home-collection .home-collection-scheme-option{gap:3px}
}
@media(hover:hover){
 #home-collection :is(.home-collection-item,button,.home-collection-scheme-option):hover{background:var(--collection-hover)}
}
@media(prefers-reduced-motion:reduce){#home-collection,#home-collection *{transition:none!important;animation:none!important}}
@media(forced-colors:active){
 #home-collection{box-shadow:none}
 #home-collection .home-collection-scheme-circle::after{forced-color-adjust:none}
 #home-collection :is(a,button):focus-visible{outline:1px solid currentColor!important;outline-offset:-2px}
}
html[data-home-collection-open],html[data-home-collection-open] body{overflow:hidden;overscroll-behavior:none}
html[data-home-collection-open]{scrollbar-gutter:stable}
