@view-transition {
  navigation: auto;
}

:root {
  --asfm-background: #f4eee7;
  --asfm-header-background: #ffffff;
  --asfm-footer-background: #f4eee7;
  --asfm-header-text: #241d24;
  --asfm-surface: #ffffff;
  --asfm-surface-raised: #fff8f3;
  --asfm-accent: #ff5a36;
  --asfm-nav-inactive: #ff5a36;
  --asfm-text: #241d24;
  --asfm-muted: #6e626a;
  --asfm-line: rgb(53 39 48 / 14%);
  --asfm-success: #16834d;
  --asfm-danger: #c83e2c;
  --asfm-color-scheme: light;
  --asfm-header-height: 64px;
  --asfm-nav-height: 70px;
  --asfm-content-width: 720px;
  --asfm-radius: 22px;
  --asfm-shadow: 0 16px 42px rgb(63 42 54 / 12%);
  --asfm-hero-image: none;
}

html:has(body.asfm-active) {
  background: var(--asfm-background);
  color-scheme: var(--asfm-color-scheme);
  overscroll-behavior: none;
}

body.asfm-active,
body.asfm-offline-page {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--asfm-background);
  color: var(--asfm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.asfm-active {
  overflow: hidden;
}

body.asfm-active *,
body.asfm-active *::before,
body.asfm-active *::after,
body.asfm-offline-page *,
body.asfm-offline-page *::before,
body.asfm-offline-page *::after {
  box-sizing: border-box;
}

body.asfm-active.asfm-splash-open {
  overflow: hidden;
}

body.asfm-active .wp-site-blocks,
body.asfm-active .wp-site-blocks > *,
body.asfm-active .asfm-app-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.asfm-active .asfm-app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--asfm-accent) 16%, transparent), transparent 34rem),
    var(--asfm-background);
}

body.asfm-active .asfm-app-shell > .wp-block-shortcode {
  margin: 0;
}

body.asfm-active a {
  color: inherit;
}

body.asfm-active button,
body.asfm-active input,
body.asfm-active select,
body.asfm-active textarea {
  font: inherit;
}

.asfm-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100000;
  translate: 0 -160%;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-weight: 750;
  padding: 10px 16px;
  text-decoration: none;
  transition: translate 160ms ease;
}

.asfm-skip-link:focus {
  translate: 0;
}

.asfm-header {
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  left: 0;
  height: calc(var(--asfm-header-height) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--asfm-line);
  background: color-mix(in srgb, var(--asfm-header-background) 92%, transparent);
  box-shadow: 0 5px 20px rgb(64 43 54 / 7%);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  view-transition-name: asfm-header;
}

.admin-bar .asfm-header {
  top: 32px;
}

.asfm-header__leading {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-self: start;
}

.asfm-header__trailing {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-self: end;
}

.asfm-menu-toggle,
.asfm-drawer__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--asfm-line);
  border-radius: 14px;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--asfm-surface-raised);
  color: var(--asfm-text);
  cursor: pointer;
  box-shadow: 0 3px 12px rgb(58 39 50 / 7%);
  touch-action: manipulation;
  transition: transform 140ms ease, background-color 140ms ease;
}

.asfm-menu-toggle:active,
.asfm-drawer__close:active {
  transform: scale(.95);
}

.asfm-drawer__close .asfm-icon {
  width: 22px;
  height: 22px;
}

.asfm-menu-toggle {
  border: 0;
  background: transparent;
  color: var(--asfm-header-text);
  box-shadow: none;
}

.asfm-menu-toggle .asfm-icon {
  width: 28px;
  height: 28px;
}

.asfm-header__identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.asfm-header__logo,
.asfm-header__monogram {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 13px;
  object-fit: contain;
  background: var(--asfm-surface-raised);
  box-shadow: inset 0 0 0 1px var(--asfm-line);
}

.asfm-header__logo {
  width: auto;
  max-width: min(108px, 28vw);
  height: 52px;
  flex: 0 1 auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.asfm-header__monogram {
  display: grid;
  place-items: center;
  background: var(--asfm-accent);
  color: #111;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.asfm-header__titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.asfm-header__festival {
  overflow: hidden;
  color: var(--asfm-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.asfm-header__section {
  overflow: hidden;
  margin-top: 4px;
  color: var(--asfm-text);
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asfm-header__page {
  min-width: 0;
  max-width: min(44vw, 280px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  color: var(--asfm-header-text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-align: center;
}

.asfm-header__page span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asfm-network {
  min-width: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--asfm-line);
  border-radius: 999px;
  padding: 6px 9px;
  background: color-mix(in srgb, var(--asfm-surface-raised) 90%, transparent);
  color: var(--asfm-muted);
  font-size: 11px;
  font-weight: 700;
}

.asfm-network__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--asfm-success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--asfm-success) 18%, transparent);
}

.asfm-network.is-offline {
  color: var(--asfm-danger);
}

.asfm-network.is-offline .asfm-network__dot {
  background: var(--asfm-danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--asfm-danger) 18%, transparent);
}

.asfm-drawer-layer {
  position: fixed;
  z-index: 6000;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 280ms linear;
}

.asfm-drawer-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.asfm-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgb(36 29 36 / 48%);
  opacity: 0;
  cursor: default;
  transition: opacity 260ms ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.asfm-drawer-layer.is-open .asfm-drawer-backdrop {
  opacity: 1;
}

.asfm-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  padding:
    max(14px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom))
    14px;
  display: flex;
  flex-direction: column;
  background: var(--asfm-surface);
  color: var(--asfm-text);
  box-shadow: -18px 0 50px rgb(41 30 38 / 24%);
  transform: translateX(102%);
  transition: transform 300ms cubic-bezier(.22, .8, .25, 1);
}

.admin-bar .asfm-drawer {
  padding-top: calc(max(14px, env(safe-area-inset-top)) + 32px);
}

.asfm-drawer-layer.is-open .asfm-drawer {
  transform: translateX(0);
}

.asfm-drawer__header {
  padding: 2px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--asfm-line);
}

.asfm-drawer__close {
  border-color: var(--asfm-accent);
  background: var(--asfm-surface);
  color: var(--asfm-nav-inactive);
}

.asfm-drawer__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.asfm-drawer__brand > .asfm-header__monogram {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 15px;
  object-fit: contain;
  background: var(--asfm-surface-raised);
  box-shadow: inset 0 0 0 1px var(--asfm-line);
}

.asfm-drawer__brand div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.asfm-drawer__brand span {
  overflow: hidden;
  color: var(--asfm-nav-inactive);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.asfm-drawer__brand strong {
  margin-top: 4px;
  color: var(--asfm-nav-inactive);
  font-size: 17px;
  letter-spacing: -.02em;
}

.asfm-drawer__nav {
  min-height: 0;
  margin: 12px -4px;
  padding: 0 4px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.asfm-drawer__link {
  min-height: 50px;
  border: 1px solid var(--asfm-accent);
  border-radius: 15px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--asfm-surface);
  color: var(--asfm-nav-inactive) !important;
  font-weight: 730;
  line-height: 1.2;
  text-decoration: none !important;
}

.asfm-drawer__link.is-active {
  border-color: var(--asfm-accent);
  background: var(--asfm-accent);
  color: #24170f !important;
}

.asfm-drawer__link .asfm-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  color: var(--asfm-nav-inactive);
}

.asfm-drawer__link.is-active .asfm-icon {
  color: #24170f;
}

.asfm-drawer__actions {
  padding-top: 12px;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--asfm-line);
}

.asfm-drawer__action {
  min-height: 50px;
  border: 1px solid var(--asfm-accent);
  border-radius: 15px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: var(--asfm-surface);
  color: var(--asfm-nav-inactive) !important;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none !important;
}

.asfm-drawer__action--tickets {
  border-color: var(--asfm-accent);
  background: var(--asfm-accent);
  color: #24170f !important;
}

.asfm-drawer__action span {
  flex: 1;
}

.asfm-drawer__action .asfm-icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.asfm-drawer__action .asfm-icon--external-link {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

body.asfm-active .asfm-main {
  position: fixed;
  top: calc(var(--asfm-header-height) + env(safe-area-inset-top));
  right: 0;
  bottom: calc(var(--asfm-nav-height) + env(safe-area-inset-bottom));
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--asfm-background);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.admin-bar.asfm-active .asfm-main {
  top: calc(var(--asfm-header-height) + env(safe-area-inset-top) + 32px);
}

body.asfm-active .asfm-main > *,
body.asfm-active .asfm-content > * {
  width: 100%;
  max-width: 100%;
}

body.asfm-active .asfm-content {
  width: 100%;
  max-width: none;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body.asfm-active .asfm-main :where(.wp-block-group, .wp-block-shortcode, .wp-block-html, .wp-block-embed, .wp-block-cover, .wp-block-columns, iframe) {
  width: 100%;
  max-width: none !important;
}

body.asfm-active .asfm-main iframe {
  display: block;
  border: 0;
}

body.asfm-active .asfm-main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.asfm-active .asfm-main :where(.alignwide, .alignfull) {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.asfm-active .asfm-content > :only-child {
  min-height: 100%;
}

.asfm-eastern-datetime {
  position: relative;
  z-index: 6;
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 6px max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px clamp(10px, 2vw, 18px);
  background: color-mix(in srgb, var(--asfm-header-background) 84%, transparent);
  color: #fff;
  font-size: clamp(15px, 3.5vw, 18px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-align: center;
}

.asfm-eastern-datetime strong,
.asfm-eastern-datetime div {
  margin: 0;
  color: inherit;
  font: inherit;
}

.asfm-weather {
  position: relative;
  z-index: 5;
  width: 100%;
  min-width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--asfm-line);
  padding: 7px max(8px, env(safe-area-inset-right)) 7px max(8px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(108px, 1.25fr) repeat(4, minmax(82px, 1fr)) auto;
  gap: 6px;
  overflow-x: auto;
  background: color-mix(in srgb, var(--asfm-header-background) 84%, transparent);
  box-shadow: 0 5px 18px rgb(64 43 54 / 7%);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.asfm-weather::-webkit-scrollbar {
  display: none;
}

.asfm-weather__cell {
  min-height: 60px;
  border: 1px solid color-mix(in srgb, var(--asfm-accent) 22%, var(--asfm-line));
  border-radius: 14px;
  padding: 7px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--asfm-surface) 78%, transparent);
  color: var(--asfm-nav-inactive);
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.asfm-weather__cell--current {
  flex-direction: row;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.asfm-weather__icon {
  width: 32px;
  flex: 0 0 32px;
  font-size: 27px;
  line-height: 1;
  text-align: center;
}

.asfm-weather__label {
  margin-bottom: 2px;
  display: block;
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.asfm-weather strong {
  display: block;
  color: inherit;
  font-size: 15px;
  font-weight: 800;
}

.asfm-weather__cell--current strong {
  display: inline;
  font-size: 21px;
}

.asfm-weather small {
  max-width: 112px;
  margin-top: 2px;
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 10px;
  text-overflow: ellipsis;
}

.asfm-weather__source {
  align-self: center;
  padding: 8px 5px;
  color: var(--asfm-muted) !important;
  font-size: 9px;
  white-space: nowrap;
}

.asfm-weather.is-error .asfm-weather__cell:not(.asfm-weather__cell--current) {
  display: none;
}

body.asfm-active:not(.asfm-section-today) .asfm-placeholder {
  min-height: 100%;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  padding: 0 !important;
  display: block;
  background: transparent;
  box-shadow: none;
}

body.asfm-active:not(.asfm-section-today) .asfm-placeholder::before {
  display: none;
}

body.asfm-active .asfm-main h1,
body.asfm-active .asfm-main h2,
body.asfm-active .asfm-main h3 {
  color: var(--asfm-text);
  font-family: inherit;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.asfm-active .asfm-main h1 {
  margin: 20px max(20px, env(safe-area-inset-right)) 22px max(20px, env(safe-area-inset-left));
  font-size: clamp(2rem, 9vw, 3.6rem);
  font-weight: 850;
}

body.asfm-active .asfm-main h2 {
  margin: 30px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
  font-size: clamp(1.45rem, 6vw, 2.25rem);
  font-weight: 800;
}

body.asfm-active .asfm-main h3 {
  margin-right: max(20px, env(safe-area-inset-right));
  margin-left: max(20px, env(safe-area-inset-left));
  font-size: 1.15rem;
}

body.asfm-active .asfm-main p,
body.asfm-active .asfm-main li {
  color: var(--asfm-muted);
}

body.asfm-active .asfm-main a:not(.asfm-button) {
  color: color-mix(in srgb, var(--asfm-accent) 76%, white);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.asfm-gallery {
  min-height: 100%;
  padding: 18px max(10px, env(safe-area-inset-right)) 24px max(10px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--asfm-accent) 10%, transparent), transparent 30%),
    var(--asfm-background);
}

.asfm-gallery__header {
  margin: 0 4px 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

body.asfm-active .asfm-main .asfm-gallery__header h1 {
  margin: 2px 0 0;
  font-size: clamp(2rem, 8vw, 3.4rem);
}

body.asfm-active .asfm-main .asfm-gallery__eyebrow {
  margin: 0;
  color: var(--asfm-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.asfm-active .asfm-main .asfm-gallery__instagram-link {
  min-height: 38px;
  border: 1px solid color-mix(in srgb, var(--asfm-accent) 46%, var(--asfm-line));
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: color-mix(in srgb, var(--asfm-surface) 86%, transparent);
  color: var(--asfm-text);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.asfm-gallery__instagram-link .asfm-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.asfm-gallery__grid {
  columns: 2 150px;
  column-gap: 8px;
}

.asfm-gallery__item {
  position: relative;
  width: 100%;
  margin: 0 0 8px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 14px;
  background: var(--asfm-surface);
  box-shadow: 0 5px 18px rgb(44 28 38 / 12%);
}

.asfm-gallery__item a,
.asfm-gallery__item figure {
  width: 100%;
  margin: 0;
  display: block;
}

.asfm-gallery__item figure {
  position: relative;
}

.asfm-gallery__item img,
.asfm-gallery__item video {
  width: 100%;
  height: auto;
  display: block;
  background: color-mix(in srgb, var(--asfm-surface) 72%, black);
  object-fit: cover;
}

.asfm-gallery__item video {
  min-height: 190px;
  aspect-ratio: 4 / 5;
}

.asfm-gallery__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 11px 10px;
  background: linear-gradient(transparent, rgb(0 0 0 / 78%));
  color: #fff;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.35;
}

.asfm-gallery__play {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 48%);
  color: #fff;
  backdrop-filter: blur(8px);
}

.asfm-gallery__play .asfm-icon {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  flex-basis: 16px;
}

.asfm-gallery__empty {
  min-height: min(480px, 56vh);
  border: 1px dashed color-mix(in srgb, var(--asfm-accent) 48%, var(--asfm-line));
  border-radius: 22px;
  padding: 34px 24px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: color-mix(in srgb, var(--asfm-surface) 82%, transparent);
}

.asfm-gallery__empty > .asfm-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  color: var(--asfm-accent);
}

body.asfm-active .asfm-main .asfm-gallery__empty h2,
body.asfm-active .asfm-main .asfm-gallery__empty p {
  margin: 8px 0;
}

body.asfm-active .asfm-main .asfm-gallery__admin-note {
  max-width: 640px;
  margin-top: 22px;
  border-radius: 10px;
  padding: 10px 12px;
  background: color-mix(in srgb, #d63638 12%, var(--asfm-surface));
  color: var(--asfm-text);
  font-size: 12px;
}

@media (min-width: 720px) {
  .asfm-gallery__grid {
    columns: 3 210px;
    column-gap: 12px;
  }

  .asfm-gallery__item {
    margin-bottom: 12px;
  }
}

@media (max-width: 430px) {
  .asfm-gallery__instagram-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  body.asfm-active .asfm-main .asfm-gallery__instagram-link {
    width: 40px;
    min-width: 40px;
    padding: 0;
    justify-content: center;
  }
}

body.asfm-section-map :where(.results-count, .results-found, .filter-results-count, [data-results-count], .asfm-map-results-count) {
  color: #fff !important;
}

.asfm-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  margin-top: 18px !important;
  border: 1px dashed color-mix(in srgb, var(--asfm-accent) 52%, var(--asfm-line));
  border-radius: var(--asfm-radius);
  padding: 24px !important;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--asfm-accent) 13%, transparent), transparent 45%),
    var(--asfm-surface);
  box-shadow: var(--asfm-shadow);
}

.asfm-placeholder::before {
  content: "+";
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--asfm-accent);
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.asfm-placeholder p {
  margin: 0;
  color: var(--asfm-text) !important;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.asfm-bottom-nav {
  position: fixed;
  z-index: 1100;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(var(--asfm-nav-height) + env(safe-area-inset-bottom));
  width: 100%;
  padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid color-mix(in srgb, var(--asfm-line) 68%, transparent);
  background: color-mix(in srgb, var(--asfm-footer-background) 82%, transparent);
  box-shadow: 0 -8px 26px rgb(64 43 54 / 9%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  view-transition-name: asfm-nav;
}

.asfm-bottom-nav__item {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--asfm-accent);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  background: var(--asfm-surface);
  color: var(--asfm-nav-inactive) !important;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .01em;
  text-decoration: none !important;
  touch-action: manipulation;
  box-shadow: 0 3px 12px rgb(58 39 50 / 7%);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.asfm-bottom-nav__item::before {
  content: "";
  position: absolute;
  display: none;
}

.asfm-bottom-nav__item:active {
  transform: scale(.96);
}

.asfm-bottom-nav__item.is-active {
  border-color: var(--asfm-accent);
  background: var(--asfm-accent);
  color: #24170f !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--asfm-accent) 26%, transparent);
}

.asfm-bottom-nav__item.is-active .asfm-icon {
  color: #24170f;
}

.asfm-bottom-nav__item > span {
  max-width: 100%;
  padding: 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asfm-icon {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.asfm-splash[hidden] {
  display: none;
}

.asfm-splash {
  position: fixed;
  z-index: 10000;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  display: grid;
  place-items: center;
  padding: max(26px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(34px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  background: var(--asfm-background);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms linear;
}

.asfm-splash.is-visible {
  opacity: 1;
  visibility: visible;
}

.asfm-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.asfm-splash__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 8%) 0%, rgb(8 8 12 / 38%) 40%, rgb(8 8 12 / 96%) 100%),
    radial-gradient(circle at 75% 22%, color-mix(in srgb, var(--asfm-accent) 50%, transparent), transparent 42%),
    var(--asfm-hero-image) center / cover no-repeat,
    var(--asfm-background);
  transform: scale(1.035);
  transition: transform 1600ms cubic-bezier(.2, .7, .2, 1);
}

.asfm-splash.is-visible .asfm-splash__backdrop {
  transform: scale(1);
}

.asfm-splash__content {
  position: relative;
  width: min(100%, 560px);
  min-height: 0;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 420ms 80ms cubic-bezier(.2, .7, .2, 1), opacity 360ms 80ms ease;
}

.asfm-splash.is-visible .asfm-splash__content {
  transform: translateY(0);
  opacity: 1;
}

.asfm-splash__logo {
  width: min(264px, calc(100vw - 56px));
  height: min(264px, calc(100vw - 56px));
  margin-bottom: 24px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 48px;
  object-fit: contain;
  background: rgb(0 0 0 / 24%);
  box-shadow: 0 18px 50px rgb(0 0 0 / 36%);
  backdrop-filter: blur(12px);
}

.asfm-splash__fallback-mark {
  width: min(264px, calc(100vw - 56px));
  height: min(264px, calc(100vw - 56px));
  margin-bottom: 24px;
  border-radius: 48px;
  display: grid;
  place-items: center;
  background: var(--asfm-accent);
  color: #111;
  font-size: 60px;
  font-weight: 950;
  letter-spacing: -.06em;
  box-shadow: 0 18px 50px rgb(0 0 0 / 36%);
}

.asfm-splash__eyebrow,
.asfm-eyebrow {
  margin: 0 0 10px;
  color: color-mix(in srgb, var(--asfm-accent) 72%, white);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.asfm-splash h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(2.6rem, 13vw, 5.5rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.asfm-splash__subtitle {
  max-width: 38rem;
  margin: 16px 0 24px;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1rem, 4.3vw, 1.2rem);
  line-height: 1.45;
}

.asfm-splash__enter,
.asfm-button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--asfm-accent);
  color: #111 !important;
  font-weight: 820;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--asfm-accent) 26%, transparent);
  touch-action: manipulation;
  transition: transform 140ms ease, filter 140ms ease;
}

.asfm-splash__enter {
  min-width: 210px;
}

.asfm-splash__enter:hover,
.asfm-button:hover {
  filter: brightness(1.08);
}

.asfm-splash__enter:active,
.asfm-button:active {
  transform: scale(.98);
}

.asfm-splash__enter .asfm-icon {
  width: 19px;
  height: 19px;
}

body.asfm-active .asfm-main .asfm-install-card {
  width: auto;
  margin: 28px max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left)) !important;
  border: 1px solid var(--asfm-line);
  border-radius: var(--asfm-radius);
  padding: 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  background: var(--asfm-header-background);
  color: var(--asfm-header-text);
  box-shadow: var(--asfm-shadow);
}

body.asfm-active .asfm-main .asfm-install-card.is-ios-collapsible {
  cursor: pointer;
}

body.asfm-active .asfm-main .asfm-install-card.is-ios-collapsible:focus-visible {
  outline: 3px solid var(--asfm-accent);
  outline-offset: 3px;
}

.asfm-install-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--asfm-accent) 22%, transparent);
  color: var(--asfm-accent);
}

.asfm-install-card__icon .asfm-icon {
  width: 24px;
  height: 24px;
}

.asfm-install-card__logo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
  background: var(--asfm-header-background);
}

body.asfm-active .asfm-main .asfm-install-card h2 {
  margin: 0 0 8px;
  color: var(--asfm-header-text);
  font-size: 1.3rem;
}

body.asfm-active .asfm-main .asfm-install-card p {
  margin: 0 0 14px;
  color: var(--asfm-header-text);
  font-size: 14px;
}

.asfm-ios-install p,
.asfm-installed-message {
  margin-top: 12px !important;
  border-left: 3px solid var(--asfm-accent);
  padding-left: 12px;
}

.asfm-inline-share-icon {
  display: inline-flex;
  width: 1.25em;
  height: 1.25em;
  align-items: center;
  justify-content: center;
  vertical-align: -0.25em;
}

.asfm-inline-share-icon .asfm-icon {
  width: 1.25em;
  height: 1.25em;
  flex-basis: 1.25em;
}

.asfm-toast {
  position: fixed;
  z-index: 9000;
  right: 16px;
  bottom: calc(var(--asfm-nav-height) + env(safe-area-inset-bottom) + 14px);
  left: 16px;
  max-width: 520px;
  margin: auto;
  border: 1px solid var(--asfm-line);
  border-radius: 16px;
  padding: 12px 15px;
  background: var(--asfm-surface-raised);
  color: var(--asfm-text);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--asfm-shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.asfm-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.asfm-offline-page {
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
}

.asfm-offline-card {
  width: min(100%, 480px);
  border: 1px solid var(--asfm-line);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(145deg, var(--asfm-surface-raised), var(--asfm-surface));
  box-shadow: var(--asfm-shadow);
}

.asfm-offline-card img {
  border-radius: 24px;
  margin-bottom: 22px;
}

.asfm-offline-card h1 {
  margin: 0 0 12px;
  color: var(--asfm-text);
  font-size: clamp(2.2rem, 10vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.asfm-offline-card > p:not(.asfm-eyebrow) {
  margin: 0 0 24px;
  color: var(--asfm-muted);
}

body.asfm-active :where(a, button, input, select, textarea):focus-visible,
body.asfm-offline-page :where(a, button):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--asfm-accent) 65%, white);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 360px) {
  .asfm-network__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .asfm-network {
    width: 28px;
    height: 28px;
    justify-content: center;
    padding: 0;
  }

  .asfm-bottom-nav__item {
    font-size: 9px;
  }
}

@media (max-width: 782px) {
  .admin-bar .asfm-header {
    top: 46px;
  }

  .admin-bar.asfm-active .asfm-main {
    top: calc(var(--asfm-header-height) + env(safe-area-inset-top) + 46px);
  }

  .admin-bar .asfm-drawer {
    padding-top: calc(max(14px, env(safe-area-inset-top)) + 46px);
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  :root {
    --asfm-header-height: 54px;
    --asfm-nav-height: 54px;
  }

  .asfm-header__logo {
    width: auto;
    max-width: min(94px, 25vw);
    height: 46px;
    flex-basis: auto;
    border-radius: 0;
  }

  .asfm-header__monogram {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 11px;
  }

  .asfm-bottom-nav {
    padding: 3px max(6px, env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  }

  .asfm-bottom-nav__item {
    min-height: 48px;
    flex-direction: column;
    gap: 2px;
  }

  .asfm-bottom-nav__item::before {
    display: none;
  }

  .asfm-splash__content {
    display: flex;
  }

  .asfm-splash__logo,
  .asfm-splash__fallback-mark {
    width: min(128px, 28dvh);
    height: min(128px, 28dvh);
    margin-bottom: 10px;
    border-radius: 28px;
  }

  .asfm-splash h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .asfm-splash__subtitle {
    margin: 8px 0 12px;
    font-size: .95rem;
  }
}

@media (orientation: portrait) and (max-height: 620px) {
  .asfm-splash {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .asfm-splash__logo,
  .asfm-splash__fallback-mark {
    width: min(210px, calc(100vw - 56px));
    height: min(210px, calc(100vw - 56px));
    margin-bottom: 14px;
    border-radius: 38px;
  }

  .asfm-splash h1 {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }

  .asfm-splash__subtitle {
    margin: 10px 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (display-mode: standalone) {
  body.asfm-active {
    user-select: none;
  }

  body.asfm-active .asfm-main {
    user-select: text;
  }
}

@media print {
  .asfm-header,
  .asfm-drawer-layer,
  .asfm-bottom-nav,
  .asfm-splash,
  .asfm-install-card,
  .asfm-toast {
    display: none !important;
  }

  body.asfm-active .asfm-main {
    position: static;
    max-width: none;
    height: auto;
    min-height: 0;
    inset: auto;
    padding: 0 !important;
  }
}
