/* base: site-kit/sheet @ 5438e5a (1.1.0), copied 2026-11-25. Do not edit; themed through --kit-* tokens in site.css. */
/* site-kit sheet 1.1.0. A bottom sheet menu that rises into the thumb zone. Opened by
   the tabbar's More tab, or any element with aria-controls="<sheet id>".
   Works at every width. Behavior spec: README.md. Reads only --kit-* tokens.

   No JS: openers are links to #<sheet id>, so :target opens it and the scrim and close
   links (#_) shut it. With JS (html.kit-sheet-js), component.js owns the .is-open class. */

.kit-sheet {
  position: fixed; inset: auto 0 0 0; z-index: var(--kit-z-sheet, 80);
  transform: translateY(105%); visibility: hidden; outline: none;
  transition: transform .34s var(--kit-ease, cubic-bezier(.16, 1, .3, 1)), visibility 0s linear .34s;
}
.kit-sheet.is-open,
html:not(.kit-sheet-js) .kit-sheet:target {
  transform: translateY(0); visibility: visible;
  transition: transform .34s var(--kit-ease, cubic-bezier(.16, 1, .3, 1)), visibility 0s linear 0s;
}

.kit-sheet-scrim {
  position: fixed; inset: 0; z-index: var(--kit-z-scrim, calc(var(--kit-z-sheet, 80) - 10));
  background: var(--kit-scrim, rgba(8, 8, 11, .55));   /* a flat dim, no blur */
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.kit-sheet.is-open + .kit-sheet-scrim,
html:not(.kit-sheet-js) .kit-sheet:target + .kit-sheet-scrim { opacity: 1; pointer-events: auto; }

.kit-sheet-card {
  margin: 0 auto; max-width: 480px;
  background: var(--kit-sheet-bg, #101014);
  /* One elevation cue: the hairline. The scrim already separates the sheet from the page. */
  border: 1px solid var(--kit-line, #26262e); border-bottom: 0;
  border-radius: var(--kit-radius-sheet, 26px) var(--kit-radius-sheet, 26px) 0 0;
  padding-bottom: max(env(safe-area-inset-bottom), 20px);
  font-family: var(--kit-font, inherit);
}
.kit-sheet-grip-row { padding: 10px 20px 2px; touch-action: none; cursor: grab; }
.kit-sheet-grip { display: block; margin: 0 auto; width: 40px; height: 4px; border-radius: 4px; background: var(--kit-line, #26262e); }
.kit-sheet-title { display: none; }   /* older markup still carries it; the dialog's aria-label names it */
.kit-sheet-head { margin-top: 2px; display: flex; align-items: center; justify-content: flex-end; }
.kit-sheet-close {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; border-radius: 10px; color: var(--kit-mute, #9a9aa6);
  font-size: 26px; line-height: 1; cursor: pointer; text-decoration: none;
}
.kit-sheet-close svg { display: block; width: 24px; height: 24px; }   /* the icon; a 48px target around it */
.kit-sheet-close:hover, .kit-sheet-close:active { color: var(--kit-accent, #4ec9dd); }
.kit-sheet-close:focus-visible { outline: 2px solid var(--kit-accent, #4ec9dd); outline-offset: 0; }
.kit-sheet-links { display: flex; flex-direction: column; padding: 6px 16px 16px; }
.kit-sheet-links a {
  display: block; padding: 14px 16px; font-size: 18px; color: var(--kit-text, #f2f2f4);
  border-radius: 12px; text-decoration: none; transition: background .2s, color .2s;
}
.kit-sheet-links a:hover, .kit-sheet-links a:active { background: var(--kit-hover-bg, #17171d); color: var(--kit-accent, #4ec9dd); }
.kit-sheet-links a:focus-visible { outline: 2px solid var(--kit-accent, #4ec9dd); outline-offset: -2px; }
/* The one primary action, solid accent, same as the bar's raised tab. */
.kit-sheet-links a.kit-sheet-cta { margin-top: 10px; background: var(--kit-accent, #4ec9dd); color: var(--kit-on-accent, #0b0b0e); font-weight: var(--kit-weight-strong, 600); text-align: center; }
.kit-sheet-links a.kit-sheet-cta:hover, .kit-sheet-links a.kit-sheet-cta:focus-visible, .kit-sheet-links a.kit-sheet-cta:active { background: var(--kit-accent-hover, #7ad8e7); color: var(--kit-on-accent, #0b0b0e); }

/* Links the tab bar already shows are hidden from the sheet while the bar is up. */
@media (max-width: 859px) { .kit-sheet-links [data-kit-in-tabbar] { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .kit-sheet, .kit-sheet.is-open, .kit-sheet-scrim { transition: none; }
}
@media print { .kit-sheet, .kit-sheet-scrim { display: none !important; } }
