/* Global shell migration owner, 2026-07-26: header, mobile nav and footer. */
:root {
  --motion-press:90ms;
  --motion-feedback:160ms;
  --motion-ease:cubic-bezier(.2,.8,.2,1);
  --oonite-canvas-day:#f5f5f7;
  --nearby-reading-canvas-day:#fafafa;
  --oonite-canvas-night:#000;
  --oonite-control-font-size:14px;
  --oonite-filter-font-size:13px;
  --oonite-meta-font-size:10px;
  --oonite-label-height:20px;
  --oonite-pill-surface:rgba(120,112,140,.12);
  --oonite-owner-status-surface:rgba(29,29,33,.86);
  --global-nav-idle:#684cff;
  --global-nav-idle-surface:#eeeaff;
  --global-nav-hover:#5635e8;
  --global-nav-hover-surface:#e3dcff;
  --global-nav-active:#684cff;
  --global-nav-active-text:#fff;
  --global-nav-mobile-idle:#b7a8f8;
  /* App Shell layout contract. Route CSS may choose a layout type, but it
     must consume these values instead of recreating header/nav geometry. */
  --oonite-safe-area-top:env(safe-area-inset-top);
  --oonite-safe-area-bottom:env(safe-area-inset-bottom);
  --oonite-app-topbar-height:48px;
  /* Standard task pages begin close enough to feel attached to the persistent
     Topbar. Root/hero routes retain their own deliberate rhythm below. */
  --oonite-app-standard-gap:16px;
  --oonite-app-content-top:calc(var(--oonite-app-topbar-height) + var(--oonite-app-standard-gap));
  --oonite-app-root-content-top:calc(var(--oonite-app-topbar-height) + 20px);
  --oonite-app-root-hero-top:calc(var(--oonite-app-topbar-height) + 32px);
  --oonite-app-header-bottom:var(--oonite-app-topbar-height);
  --oonite-mobile-nav-height:56px;
  --oonite-mobile-nav-offset:max(16px, var(--oonite-safe-area-bottom));
  --oonite-mobile-nav-clearance:24px;
  --oonite-mobile-nav-reserve:calc(var(--oonite-mobile-nav-height) + var(--oonite-mobile-nav-offset) + var(--oonite-mobile-nav-clearance));
  --oonite-content-bottom-with-nav:var(--oonite-mobile-nav-reserve);
  --oonite-content-bottom-without-nav:max(32px, var(--oonite-safe-area-bottom));
  --oonite-overlay-safe-inset:max(16px, var(--oonite-safe-area-top));
  --oonite-overlay-close-size:44px;
  --oonite-overlay-close-inset:12px;
}
body.night-mode { --oonite-pill-surface:rgba(180,170,205,.14); }

a.section-more-link {
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.section-more-link > .section-more-chevron {
  flex:0 0 16px;
  width:16px;
  height:16px;
}

@media (max-width:719px) {
  :root {
    --oonite-app-topbar-height:52px;
    --oonite-app-content-top:calc(var(--oonite-app-topbar-height) + var(--oonite-safe-area-top) + var(--oonite-app-standard-gap));
    --oonite-app-root-content-top:calc(var(--oonite-app-topbar-height) + var(--oonite-safe-area-top) + 20px);
    --oonite-app-root-hero-top:calc(var(--oonite-app-topbar-height) + var(--oonite-safe-area-top) + 32px);
    --oonite-app-header-bottom:calc(var(--oonite-app-topbar-height) + var(--oonite-safe-area-top));
  }
}


/* Standalone Plaza and Moments use the same columns on every surface. */
:root { --oonite-public-feed-columns:2; }
@media (min-width:720px) {
  :root:not([data-native-platform="ios"]) { --oonite-public-feed-columns:3; }
}
@media (min-width:900px) {
  :root:not([data-native-platform="ios"]) { --oonite-public-feed-columns:4; }
}
@media (min-width:1200px) {
  :root:not([data-native-platform="ios"]) { --oonite-public-feed-columns:6; }
}
@media (min-width:1520px) {
  :root:not([data-native-platform="ios"]) { --oonite-public-feed-columns:7; }
}
@media (min-width:1800px) {
  :root:not([data-native-platform="ios"]) { --oonite-public-feed-columns:8; }
}

/* Avatar media boxes belong to the persistent shell contract. Route-owned
   account CSS can refine these values, but removing a route stylesheet must
   never expose the image's natural dimensions during navigation. */
.account-hero-avatar {
  box-sizing:border-box;
  display:grid;
  flex:0 0 76px;
  width:76px;
  height:76px;
  overflow:hidden;
}

.account-hero-avatar img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Shared member-avatar contract. Source photos may be portrait, landscape or
   square; every avatar surface displays a centred 1:1 crop. */
:where(
  .account-hero-avatar,
  .account-nav-avatar,
  .notification-avatar,
  .night-hello-avatar,
  .home-live-person,
  .night-tonight-community-avatar,
  .comment-avatar-link
) {
  aspect-ratio:1 / 1;
  overflow:hidden;
}

:where(
  .account-hero-avatar,
  .account-nav-avatar,
  .notification-avatar,
  .night-hello-avatar,
  .home-live-person,
  .night-tonight-community-avatar,
  .comment-avatar-link
) > img[data-member-avatar] {
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:none;
  aspect-ratio:1 / 1;
  object-fit:cover !important;
  object-position:center !important;
}

:where(
  img.comment-avatar[data-member-avatar],
  .night-card-author > img[data-member-avatar],
  .night-detail-author-profile > img[data-member-avatar],
  .moment-profile-author > img[data-member-avatar]
) {
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  object-position:center !important;
}

:where(a[class*="-card"], article[class*="-card"], [class*="-card"][role="button"], .guide-place-row, .schedule-row, .tonight-event):active {
  transform: none !important;
  filter: none !important;
  opacity: 1;
}

html {
  scrollbar-width:none;
  -ms-overflow-style:none;
}

html::-webkit-scrollbar,
#app::-webkit-scrollbar,
body::-webkit-scrollbar,
.app-shell-main-content::-webkit-scrollbar {
  width:0;
  height:0;
  display:none;
}

/* The inline theme bootstrap marks <html> before the module starts. Keep the
   first painted frame on the correct canvas even though <body> route classes
   and route-owned styles are attached a moment later. */
html.day-mode,
html.day-mode body,
html.day-mode #app {
  background:var(--oonite-canvas-day);
  color:#171715;
}

html.night-mode,
html.night-mode body,
html.night-mode #app {
  background:var(--oonite-canvas-night);
  color:#f7f7fb;
}

/* Static boot canvas: a quiet brand frame protects the first paint before
   the module mounts the actual route. It is removed after the first styled
   route frame commits; it never exposes a network or database message. */
.app-boot {
  position:fixed;
  z-index:12000;
  inset:0;
  display:grid;
  place-items:center;
  min-height:100dvh;
  background:var(--oonite-canvas-day,#f8f7fb);
  opacity:1;
  pointer-events:none;
}

html:not([data-native-platform]) .app-boot {
  z-index:2147483647;
}

html.night-mode .app-boot{
  background:var(--oonite-canvas-night,#101014);
}

.app-boot.is-leaving {
  opacity:0;
  transition:opacity 180ms ease-out;
}

.app-boot-brand {
  display:grid;
  justify-items:center;
  gap:14px;
}

.app-boot-brand > img {
  display:block;
  width:min(220px, 56vw);
  height:auto;
  opacity:.96;
}

.app-boot-brand > p {
  margin:0;
  color:#684cff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.08em;
}

/* The startup frame keeps the established database-state brand animation,
   but its viewport canvas and stacking are owned by the non-blocking boot
   layer. This restores the progress strip and copy without reinstating the
   old network-gated route blank screen. */
.app-boot > .database-state {
  position:static;
  inset:auto;
  z-index:auto;
  width:100%;
  max-width:none;
  height:100%;
  min-height:100%;
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

.app-boot .database-state p {
  color:var(--oonite-state-muted,#979797);
  font-size:13px;
}

@media (prefers-reduced-motion:reduce) {
  .app-boot.is-leaving { transition-duration:1ms; }
}

/* Route navigation keeps the current content mounted while the next data
   request completes. This strip is the only transition indicator; it never
   consumes layout space or replaces an already readable page. */
.route-progress {
  position:fixed;
  z-index:11000;
  top:0;
  left:0;
  width:100%;
  height:2px;
  overflow:hidden;
  pointer-events:none;
  background:transparent;
}

.route-progress::after {
  display:block;
  width:38%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, var(--global-nav-active, #684cff), #00ff09, transparent);
  content:"";
  animation:oonite-route-progress 1.1s ease-in-out infinite;
}

.route-progress[hidden] {
  display:none;
}

/* One route-level cover is used while a new frame is being prepared. It is
   deliberately a quiet canvas, not another page-specific skeleton: the
   outgoing DOM cannot be mistaken for the incoming route, and the progress
   strip above remains the only loading signal. */
#app,
.app-shell-main-content {
  position:relative;
}

@keyframes oonite-route-progress {
  from { transform:translateX(-120%); }
  to { transform:translateX(360%); }
}

/* Route skeletons share one quiet loading signal. Account sections now wait
   for their real content behind the route progress strip, so they do not
   mount a second placeholder that later changes page geometry. */
:where(.route-loading-skeleton) {
  color:var(--oonite-state-muted,#979797);
}

:where(.route-loading-skeleton) span {
  background:var(--oonite-loading-fill,color-mix(in srgb,#979797 12%,transparent)) !important;
}

/* Startup loading is mounted before the App Shell. Keep its canvas identical
   to the first-painted document background so the shell does not flash as a
   gray strip at the right edge while content is hydrating. */
.database-state {
  width:auto;
  height:auto;
  background:var(--oonite-canvas-day);
}

html.night-mode .database-state,
body.night-mode .database-state {
  background:var(--oonite-canvas-night);
}

#app {
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.app-shell-main-content {
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.app-shell-main-content > [data-oonite-page-frame='true'] {
  scrollbar-width:none;
  -ms-overflow-style:none;
}

#app > main,
#app > section,
#app > article {
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.app-shell-main-content > [data-oonite-page-frame='true']::-webkit-scrollbar {
  width:0;
  height:0;
}

#app > main::-webkit-scrollbar,
#app > section::-webkit-scrollbar,
#app > article::-webkit-scrollbar {
  width:0;
  height:0;
}

/* Route-level empty states sit below the fixed shell instead of starting
   underneath the brand bar.  This covers signed-out defaults and missing
   records consistently, including when the mobile navigation is inserted
   between the header and the route content. */
#app > section.empty,
#app .app-shell .app-shell-main-content > section.empty {
  box-sizing:border-box;
  display:flex;
  min-height:100dvh;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding-top:80px !important;
  padding-bottom:112px !important;
  scroll-margin-top:64px;
}

/* Signed-out and unavailable route shells should sit on the shared day canvas,
   not inside a full-height white panel. */
body.day-mode:has(> #app > section.empty),
body.day-mode:has(> #app > section.empty) #app {
  background:#f5f5f7;
}

body.day-mode #app > section.empty h1 {
  margin:0;
  color:#6f6a7d;
  font-size:clamp(21px,5.4vw,26px);
  font-weight:700;
  letter-spacing:-.015em;
  line-height:1.16;
}

body.day-mode #app > section.empty p {
  max-width:34em;
  margin:11px 0 0;
  color:#9d99aa;
  font-size:13px;
  line-height:1.45;
}

@media (max-width:719px) {
  #app > section.empty,
  #app .app-shell .app-shell-main-content > section.empty {
    padding-top:calc(84px + var(--oonite-web-frame-header-space,0px)) !important;
    padding-bottom:calc(128px + env(safe-area-inset-bottom)) !important;
  }
}

@media (min-width:720px) {
  #app > section.empty,
  #app .app-shell .app-shell-main-content > section.empty {
    padding-top:88px !important;
    padding-bottom:96px !important;
  }
}

/* Shared empty-state contract. Route copy and actions stay page-specific, but
   unavailable content should use one OONITE surface, rhythm and signal color
   across the product. */
#app .app-shell .app-shell-main-content > section.empty,
#app .app-shell .app-shell-main-content .empty.empty-with-actions,
#app .app-shell .app-shell-main-content .night-empty-state,
#app .app-shell .app-shell-main-content .notification-empty,
#app .app-shell .app-shell-main-content .notification-message-empty,
#app .app-shell .app-shell-main-content .moments-empty,
#app .app-shell .app-shell-main-content .public-profile-no-cards,
#app .app-shell .app-shell-main-content .public-profile-empty,
#app .app-shell .app-shell-main-content .owned-appointment-empty:not(.owned-appointment-empty-entry),
#app .app-shell .app-shell-main-content .account-badges-empty {
  box-sizing:border-box;
  display:grid !important;
  min-height:156px !important;
  width:100%;
  align-content:center;
  justify-items:center;
  gap:6px !important;
  padding:24px !important;
  border:0 !important;
  border-radius:16px !important;
  background:var(--oonite-state-surface,color-mix(in srgb,#777481 3%,transparent)) !important;
  box-shadow:none !important;
  color:var(--account-muted,var(--muted)) !important;
  text-align:center;
}

/* The same empty presentation is available to route-owned list surfaces.
   Loading and failure states keep their own semantics and retry controls. */
#app .oonite-empty-state {
  box-sizing:border-box;
  display:grid;
  width:100%;
  min-width:0;
  min-height:156px;
  align-content:center;
  justify-items:center;
  gap:6px;
  padding:24px;
  border:0;
  border-radius:16px;
  background:var(--oonite-state-surface,color-mix(in srgb,#777481 3%,transparent)) !important;
  box-shadow:none;
  color:var(--account-muted,var(--muted));
  text-align:center;
}

/* Empty-state layout must not override the renderer's hidden state. */
#app .oonite-empty-state[hidden] { display:none !important; }

#app .oonite-empty-state::before {
  content:'◎';
  color:var(--luca-purple,#684cff);
  font-size:22px;
  line-height:1.2;
  opacity:.84;
}

#app .oonite-empty-state > h2,
#app .oonite-empty-state > h3,
#app .oonite-empty-state > strong {
  margin:0;
  color:var(--account-text,var(--ink));
  font-size:18px;
  font-weight:700;
  line-height:1.15;
}

#app .oonite-empty-state > p,
#app .oonite-empty-state > span {
  max-width:440px;
  margin:0;
  color:var(--account-muted,var(--muted));
  font-size:12px;
  line-height:1.45;
}

#app .oonite-empty-state > a,
#app .oonite-empty-state > button {
  margin-top:8px;
}

#app{--oonite-state-surface:color-mix(in srgb,#777481 3%,transparent)}
body.night-mode #app{--oonite-state-surface:#1d1d1d}
/* Route-specific empty views share Plaza's subdued state surface. These are
   feedback panels, not ordinary content cards or dialogs. */
#app .night-empty-state,
#app .notification-empty,
#app .notification-message-empty,
#app .moments-empty,
#app .public-profile-no-cards,
#app .public-profile-empty,
#app .owned-appointment-empty:not(.owned-appointment-empty-entry),
#app .account-badges-empty {
  background:var(--oonite-state-surface) !important;
}
#app .oonite-failure-state{
  width:min(calc(100% - 32px),520px);
  min-height:180px;
  margin:24px auto;
}
#app .oonite-empty-state > button,
#app .oonite-empty-state > a{
  display:inline-flex;
  width:auto;
  min-width:110px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  border:0;
  border-radius:999px;
  background:var(--oonite-pill-surface,rgba(120,112,140,.12));
  box-shadow:none;
  color:var(--luca-purple,#684cff);
  -webkit-text-fill-color:currentColor;
  font:inherit;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
html.night-mode #app .oonite-empty-state > button,
html.night-mode #app .oonite-empty-state > a{
  color:#aa9aff;
  border-color:color-mix(in srgb,#aa9aff 35%,transparent);
}
#app .oonite-inline-retry{
  display:inline-flex;
  width:auto;
  max-width:100%;
  min-height:36px;
  align-items:center;
  justify-content:center;
  margin:10px 0;
  padding:6px 12px;
  border:1px solid color-mix(in srgb,var(--luca-purple,#684cff) 25%,transparent);
  border-radius:12px;
  background:transparent;
  box-shadow:none;
  color:var(--luca-purple,#684cff);
  font:inherit;
  font-size:12px;
  font-weight:700;
}

/* Empty copy inside an existing card or sheet keeps that container, while
   sharing the same marker, centering and muted text rhythm. */
#app .oonite-empty-note {
  box-sizing:border-box;
  display:grid;
  min-height:72px;
  align-content:center;
  justify-items:center;
  gap:6px;
  width:100%;
  margin:0;
  padding:12px;
  color:var(--account-muted,var(--muted));
  font-size:12px;
  line-height:1.45;
  text-align:center;
}

#app .oonite-empty-note::before {
  content:'◎';
  color:var(--luca-purple,#684cff);
  font-size:20px;
  line-height:1.2;
  opacity:.84;
}

/* Page-level empty routes need the same breathing room as Plaza and Nearby;
   the shell already reserves the utility header, so this adds only the page
   rhythm gap and keeps the state visibly below the topbar. */
#app .app-shell .app-shell-main-content > section.empty[data-oonite-page-frame='true'] {
  margin-top:var(--oonite-page-top) !important;
}

#app .app-shell .app-shell-main-content > section.empty h1,
#app .app-shell .app-shell-main-content > section.empty h2,
#app .app-shell .app-shell-main-content > section.empty h3,
#app .app-shell .app-shell-main-content .empty.empty-with-actions h1,
#app .app-shell .app-shell-main-content .empty.empty-with-actions h2,
#app .app-shell .app-shell-main-content .night-empty-state h2,
#app .app-shell .app-shell-main-content .notification-empty strong,
#app .app-shell .app-shell-main-content .notification-message-empty strong,
#app .app-shell .app-shell-main-content .moments-empty strong,
#app .app-shell .app-shell-main-content .public-profile-no-cards h3,
#app .app-shell .app-shell-main-content .public-profile-empty h1,
#app .app-shell .app-shell-main-content .owned-appointment-empty:not(.owned-appointment-empty-entry) h2,
#app .app-shell .app-shell-main-content .account-badges-empty h2 {
  margin:0 !important;
  color:var(--account-text,var(--ink)) !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.15 !important;
}

#app .app-shell .app-shell-main-content > section.empty p,
#app .app-shell .app-shell-main-content .empty.empty-with-actions p,
#app .app-shell .app-shell-main-content .night-empty-state p,
#app .app-shell .app-shell-main-content .notification-message-empty span,
#app .app-shell .app-shell-main-content .moments-empty p,
#app .app-shell .app-shell-main-content .public-profile-no-cards p,
#app .app-shell .app-shell-main-content .public-profile-empty p,
#app .app-shell .app-shell-main-content .owned-appointment-empty:not(.owned-appointment-empty-entry) p,
#app .app-shell .app-shell-main-content .account-badges-empty p {
  max-width:440px !important;
  margin:0 !important;
  color:var(--account-muted,var(--muted)) !important;
  font-size:12px !important;
  line-height:1.45 !important;
}

#app .app-shell .app-shell-main-content .night-empty-state > span:first-child,
#app .app-shell .app-shell-main-content .notification-empty > span:first-child {
  color:var(--luca-purple,#684cff) !important;
  font-size:22px !important;
  line-height:1.2 !important;
  opacity:.84;
}

/* Full-page states without an existing signal icon use the same quiet OONITE
   marker. Existing page-specific icons remain in place and inherit the same
   purple role through the rules above. */
#app .app-shell .app-shell-main-content > section.empty::before,
#app .app-shell .app-shell-main-content .notification-message-empty::before,
#app .app-shell .app-shell-main-content .moments-empty::before,
#app .app-shell .app-shell-main-content .public-profile-no-cards::before,
#app .app-shell .app-shell-main-content .public-profile-empty::before,
#app .app-shell .app-shell-main-content .owned-appointment-empty:not(.owned-appointment-empty-entry)::before {
  content:'◎';
  display:block;
  color:var(--luca-purple,#684cff);
  font-size:22px;
  line-height:1.2;
  opacity:.84;
}

#app .app-shell .app-shell-main-content .account-badges-empty .account-badges-icon {
  color:var(--luca-purple,#684cff) !important;
  font-size:22px !important;
  line-height:1.2 !important;
}

@media (max-width:719px) {
  #app .oonite-empty-state {
    min-height:132px;
    padding:20px 16px;
  }
  #app .app-shell .app-shell-main-content > section.empty,
  #app .app-shell .app-shell-main-content .empty.empty-with-actions,
  #app .app-shell .app-shell-main-content .night-empty-state,
  #app .app-shell .app-shell-main-content .notification-empty,
  #app .app-shell .app-shell-main-content .notification-message-empty,
  #app .app-shell .app-shell-main-content .moments-empty,
  #app .app-shell .app-shell-main-content .public-profile-no-cards,
  #app .app-shell .app-shell-main-content .public-profile-empty,
  #app .app-shell .app-shell-main-content .owned-appointment-empty:not(.owned-appointment-empty-entry),
  #app .app-shell .app-shell-main-content .account-badges-empty {
    min-height:132px !important;
    padding:20px 16px !important;
  }
}

#app > .global-header,
body.day-mode #app > .global-header,
body.night-mode #app > .global-header  {
  position:fixed;
  z-index:300;
  top:0;
  right:0;
  left:0;
  display:flex;
  width:100%;
  height:48px;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:0;
  background:#050505;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
body.day-mode #app > .global-header  {
  background:#f5f5f7;
}
/* Native pilot headers must be transparent from the base cascade itself.
   Previously the legacy solid Header painted first and the iOS stylesheet
   corrected it one frame later, which produced a square white flash on Story
   detail and other lazy-styled routes. */
:root[data-native-platform="ios"] #app > .global-header[data-header-pilot="true"]{
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
#app > .global-footer .footer-brand-logo,
#app .app-shell .app-shell-main-content > .global-footer .footer-brand-logo {
  display:block;
  width:clamp(132px,14vw,190px);
  height:auto;
}
#app > .global-header .global-nav-inner  {
  position:absolute;
  top:0;
  left:50%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  width:min(1360px,calc(100% - 64px));
  max-width:1360px;
  height:100%;
  align-items:center;
  margin:0;
  padding:0;
  box-sizing:border-box;
  transform:translateX(-50%);
}
#app > .global-header .topbar-brand  {
  display:flex;
  height:100%;
  align-items:center;
  grid-column:1;
  justify-self:start;
  margin:0;
}
#app > .global-header .topbar-brand .brand {
  display:flex;
  min-height:44px;
  align-items:center;
  margin:0;
}
#app > .global-header .topbar-brand .brand-logo {
  display:block;
  margin:0;
}
#app > .global-header .topbar-brand .brand-logo {
  width:164px;
  max-width:100%;
  height:auto;
  max-height:36px;
}
#app > .global-header .main-nav  {
  position:absolute;
  top:50%;
  left:50%;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  justify-self:center;
  gap:6px;
  margin:0;
  padding:0;
  background:transparent;
  box-shadow:none;
  transform:translate(-50%,-50%);
}
#app > .global-header .menu-toggle,
#app > .global-header .topbar-nav {
  display:none;
}
#app > .global-header .main-nav a,
body.day-mode #app > .global-header .main-nav a,
body.night-mode #app > .global-header .main-nav a  {
  display:inline-flex;
  height:40px;
  min-height:40px;
  align-items:center;
  border:0;
  border-radius:999px;
  padding:0 14px;
  background:var(--global-nav-idle-surface);
  color:var(--global-nav-idle);
  font-size:11px;
  font-weight:700;
  box-shadow:none;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
#app > .global-header .main-nav a:not(.active):hover,
#app > .global-header .main-nav a:not(.active):focus-visible {
  background:var(--global-nav-hover-surface);
  color:var(--global-nav-hover);
}
#app > .global-header .main-nav a:focus-visible {
  outline:2px solid color-mix(in srgb,var(--global-nav-active) 42%,transparent);
  outline-offset:2px;
}
#app > .global-header .main-nav a:active {
  transform:scale(.97);
}
body.night-mode #app > .global-header .main-nav a  {
  background:rgba(104,76,255,.18);
  color:#ae9fff;
}
#app > .global-header .main-nav a.active,
body.day-mode #app > .global-header .main-nav a.active,
body.night-mode #app > .global-header .main-nav a.active  {
  background:var(--global-nav-active);
  color:var(--global-nav-active-text);
}
#app > .global-header .main-nav a span {
  color:inherit;
}
#app > .global-header .topbar-actions  {
  display:flex;
  min-width:0;
  height:100%;
  align-items:center;
  gap:6px;
  grid-column:3;
  justify-self:end;
  margin:0;
}
#app > .global-header .account-nav {
  position:relative;
  display:flex;
  height:40px;
  align-items:center;
  gap:6px;
}
#app > .global-header .account-nav-trigger,
body.day-mode #app > .global-header .account-nav-trigger,
body.night-mode #app > .global-header .account-nav-trigger  {
  display:flex;
  height:40px;
  min-height:40px;
  align-items:center;
  gap:5px;
  border:0;
  border-radius:999px;
  padding:0 9px 0 6px;
  background:var(--global-nav-idle-surface);
  color:#2f255f;
  -webkit-text-fill-color:#2f255f;
  box-shadow:none;
  transition:background-color .18s ease,transform .18s ease;
}
#app > .global-header .account-nav-trigger:hover,
#app > .global-header .account-nav-trigger:focus-visible,
body.day-mode #app > .global-header .account-nav-trigger:hover,
body.day-mode #app > .global-header .account-nav-trigger:focus-visible,
body.night-mode #app > .global-header .account-nav-trigger:hover,
body.night-mode #app > .global-header .account-nav-trigger:focus-visible {
  background:var(--global-nav-hover-surface);
}
#app > .global-header .account-nav-trigger:focus-visible {
  outline:2px solid color-mix(in srgb,var(--global-nav-active) 42%,transparent);
  outline-offset:2px;
}
#app > .global-header .account-nav-trigger:active {
  transform:scale(.97);
}

body.night-mode #app > .global-header .account-nav-trigger{
  border:1px solid #2d2938;
  background:#17171b;
  color:#c1b5ff;
  -webkit-text-fill-color:#c1b5ff;
}

body.night-mode #app > .global-header .account-nav-trigger:hover,
body.night-mode #app > .global-header .account-nav-trigger:focus-visible{
  background:#211c2c;
}
#app > .global-header .account-nav-trigger.account-nav-guest,
body.day-mode #app > .global-header .account-nav-trigger.account-nav-guest{
  width:40px;
  min-width:40px;
  max-width:40px;
  flex:0 0 40px;
  justify-content:center;
  border:1px solid color-mix(in srgb,var(--luca-purple) 54%,transparent);
  border-radius:50%;
  padding:0;
  background:color-mix(in srgb,var(--luca-purple) 9%,var(--global-nav-idle-surface));
  color:var(--luca-purple);
  -webkit-text-fill-color:var(--luca-purple);
}
#app > .global-header .account-nav-trigger.account-nav-guest:hover,
#app > .global-header .account-nav-trigger.account-nav-guest:focus-visible,
body.day-mode #app > .global-header .account-nav-trigger.account-nav-guest:hover,
body.day-mode #app > .global-header .account-nav-trigger.account-nav-guest:focus-visible{
  background:color-mix(in srgb,var(--luca-purple) 16%,var(--global-nav-idle-surface));
}
body.night-mode #app > .global-header .account-nav-trigger.account-nav-guest{
  border-color:color-mix(in srgb,var(--luca-purple) 70%,#fff);
  background:color-mix(in srgb,var(--luca-purple) 16%,#17171b);
  color:#aa9aff;
  -webkit-text-fill-color:#aa9aff;
}
body.night-mode #app > .global-header .account-nav-trigger.account-nav-guest:hover,
body.night-mode #app > .global-header .account-nav-trigger.account-nav-guest:focus-visible{
  background:color-mix(in srgb,var(--luca-purple) 26%,#17171b);
}
#app > .global-header .account-nav-guest .account-nav-avatar svg{
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#app > .global-header .account-nav-trigger .account-nav-avatar  {
  display:grid;
  width:28px;
  height:28px;
  flex:0 0 28px;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
  background:color-mix(in srgb,var(--luca-purple) 14%,transparent);
  font-size:14px;
  font-weight:900;
  line-height:1;
}
#app > .global-header .account-nav-trigger .account-nav-avatar img {
  display:block;
  min-width:0;
  min-height:0;
  width:100%;
  height:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}
#app > .global-header .account-nav-trigger .account-nav-avatar [data-night-avatar-fallback][hidden] {
  display:none;
}
#app > .global-header .account-nav-trigger > i {
  color:inherit;
  font-size:10px;
  font-style:normal;
  line-height:1;
}
#app > .global-header .night-hello-bell {
  position:relative;
  display:grid;
  width:40px;
  height:40px;
  place-items:center;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--global-nav-active);
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
body.night-mode #app > .global-header .night-hello-bell {
  color:#f5f5f7;
}
#app > .global-header .night-hello-bell:hover,
#app > .global-header .night-hello-bell:focus-visible {
  background:var(--global-nav-hover-surface);
  color:var(--global-nav-hover);
}
body.night-mode #app > .global-header .night-hello-bell:hover,
body.night-mode #app > .global-header .night-hello-bell:focus-visible {
  background:rgba(255,255,255,.12);
  color:#c8bdff;
}
#app > .global-header .night-hello-bell:active {
  transform:scale(.95);
}
#app > .global-header .night-hello-bell svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#app > .global-header .night-hello-badge,
#app > .global-header .account-nav .night-hello-badge {
  position:absolute;
  top:-2px;
  right:-1px;
  border:2px solid #f5f5f7;
}
#app > .global-header .account-dropdown {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:320;
  display:grid;
  width:min(264px,calc(100vw - 32px));
  padding:8px;
  border:0;
  border-radius:18px;
  background:#f5f5f7;
  color:#191919;
  box-shadow:0 16px 40px rgba(38,28,112,.16);
}
body.night-mode #app > .global-header .account-dropdown {
  border:1px solid rgba(255,255,255,.12);
  background:#17171b;
  color:#f5f5f7;
  box-shadow:0 20px 48px rgba(0,0,0,.5);
}
#app > .global-header .account-dropdown[hidden],
#app > .global-header .account-dropdown [data-account-workspace-link][hidden] {
  display:none;
}
#app > .global-header .account-dropdown .account-dropdown-native-settings,
#app > .global-header .account-nav-menu-glyph {
  display:none;
}
#app > .global-header .account-dropdown a {
  display:flex;
  min-height:42px;
  align-items:center;
  gap:10px;
  margin-bottom:4px;
  padding:0 14px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--global-nav-idle);
  font-weight:800;
  line-height:1;
  text-decoration:none;
}
body.night-mode #app > .global-header .account-dropdown a {
  color:#b7a8f8;
}
#app > .global-header .account-dropdown a:hover,
#app > .global-header .account-dropdown a:focus-visible,
#app > .global-header .account-dropdown a[aria-current="page"] {
  background:var(--global-nav-hover-surface);
  color:var(--global-nav-hover);
}
body.night-mode #app > .global-header .account-dropdown a:hover,
body.night-mode #app > .global-header .account-dropdown a:focus-visible {
  background:rgba(104,76,255,.18);
  color:#d5cdff;
}
body.night-mode #app > .global-header .account-dropdown a[aria-current="page"] {
  background:#684cff;
  color:#fff;
}
#app > .global-header .account-dropdown a svg,
#app > .global-header .account-dropdown-signout svg {
  display:block;
  width:20px;
  height:20px;
  flex:0 0 20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#app > .global-header .account-dropdown-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:2px;
  padding-top:8px;
  border-top:1px solid rgba(104,76,255,.18);
}
body.night-mode #app > .global-header .account-dropdown-footer {
  border-top-color:rgba(255,255,255,.12);
}
#app > .global-header .account-dropdown-signout {
  display:flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:0;
  border-radius:999px;
  padding:0 12px;
  background:transparent;
  color:#b76565;
  font-weight:800;
}
#app > .global-header .account-dropdown-signout:hover,
#app > .global-header .account-dropdown-signout:focus-visible {
  background:rgba(183,101,101,.1);
  color:#a75454;
}
body.night-mode #app > .global-header .account-dropdown-signout {
  color:#ef9b9b;
}
body.night-mode #app > .global-header .account-dropdown-signout:hover,
body.night-mode #app > .global-header .account-dropdown-signout:focus-visible {
  background:rgba(239,155,155,.12);
  color:#ffc0c0;
}
#app > .global-footer,
#app .app-shell .app-shell-main-content > .global-footer  {
  width:100%;
  max-width:none;
  overflow-x:hidden;
}
@media (min-width:720px) and (max-width:1023px)  {
  #app > .global-header .global-nav-inner  {
    left:24px;
    width:calc(100vw - 48px);
    transform:none;
  }
}
@media (max-width:719px)  {
  #app > .global-header,
  body.day-mode #app > .global-header,
  body.night-mode #app > .global-header  {
    height:52px;
    min-height:52px;
    justify-content:flex-start;
  }
  #app > .global-header .global-nav-inner  {
    position:relative;
    top:auto;
    left:auto;
    display:flex;
    width:100%;
    max-width:none;
    height:44px;
    margin:0;
    padding-right:max(16px,env(safe-area-inset-right));
    padding-left:max(16px,env(safe-area-inset-left));
    transform:none;
  }
  #app > .global-header .topbar-brand{
    min-width:0;
    flex:1 1 auto;
  }
  #app > .global-header .topbar-brand .brand{
    min-width:0;
  }
  #app > .global-header .main-nav  {
    display:none;
  }
  #app > .global-header .night-hello-bell {
    display:none;
  }
  #app > .global-header .topbar-actions  {
    margin-left:auto;
    min-width:0;
    flex:0 0 auto;
    gap:4px;
  }
  #app > .global-header .account-nav{
    flex:0 0 auto;
  }
  #app > .global-header .account-nav-trigger,
  body.day-mode #app > .global-header .account-nav-trigger,
  body.night-mode #app > .global-header .account-nav-trigger  {
    height:38px;
    min-height:38px;
    gap:5px;
    padding:0 12px 0 6px;
  }
  #app > .global-mobile-nav {
    position:fixed;
    z-index:220;
    bottom:max(16px,env(safe-area-inset-bottom));
    left:50%;
    display:grid;
    grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr) minmax(0,1fr);
    width:min(400px,calc(100% - 20px));
    height:56px;
    align-items:center;
    align-content:center;
    justify-items:center;
    margin:0;
    padding:4px 8px;
    overflow:visible;
    border:1px solid rgba(104,76,255,.1);
    border-radius:999px;
    background:rgba(255,255,255,.96);
    box-shadow:0 16px 40px rgba(36,26,86,.18);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    box-sizing:border-box;
    transform:translateX(-50%);
  }
  body.night-mode #app > .global-mobile-nav {
    border-color:rgba(255,255,255,.1);
    background:rgba(17,17,20,.96);
    box-shadow:0 16px 40px rgba(0,0,0,.42);
  }
  #app > .global-mobile-nav a,
  .day-mode main #app > .global-mobile-nav a {
    position:relative;
    display:grid;
    width:100%;
    min-width:0;
    height:48px;
    place-items:center;
    align-content:center;
    gap:4px;
    padding:0 8px;
    overflow:visible;
    border:0;
    border-radius:999px;
    background:transparent;
    color:#b7a8f8;
    font-size:11px;
    font-weight:800;
    letter-spacing:.01em;
    text-decoration:none;
    text-transform:none;
    box-sizing:border-box;
    transition:transform .18s ease,background-color .18s ease;
  }
  #app > .global-mobile-nav .mobile-nav-icon {
    display:block;
    width:22px;
    height:22px;
    object-fit:contain;
    color:inherit;
    opacity:1;
    transition:opacity .18s ease,transform .18s ease;
  }
  #app > .global-mobile-nav svg.mobile-nav-icon {
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  #app > .global-mobile-nav svg.mobile-nav-message-icon {
    fill:currentColor;
    stroke:none;
  }
  #app > .global-mobile-nav svg.mobile-nav-solid-icon {
    fill:currentColor;
    stroke:none;
  }
  #app > .global-mobile-nav .nav-text-wordmark {
    display:none;
  }
  #app > .global-mobile-nav .mobile-nav-notification-badge {
    position:absolute;
    top:1px;
    right:calc(50% - 22px);
    z-index:3;
    display:grid;
    min-width:17px;
    height:17px;
    place-items:center;
    padding:0 4px;
    border:2px solid rgba(255,255,255,.96);
    border-radius:999px;
    background:#ec3f88;
    color:#fff;
    -webkit-text-fill-color:#fff;
    font-size:9px;
    font-weight:850;
    line-height:1;
    box-sizing:border-box;
    box-shadow:none;
  }
  body.night-mode #app > .global-mobile-nav .mobile-nav-notification-badge {
    border-color:rgba(17,17,20,.96);
  }
  #app > .global-mobile-nav .nav-pending-card-dot {
    position:absolute;
    top:3px;
    right:calc(50% - 17px);
    z-index:3;
    display:block;
    width:8px;
    height:8px;
    border:0;
    border-radius:50%;
    background:#ec3f88;
    box-sizing:border-box;
    box-shadow:none;
  }
  body.night-mode #app > .global-mobile-nav .nav-pending-card-dot {
    border-color:transparent;
  }
  #app > .global-mobile-nav a.active,
  .day-mode main #app > .global-mobile-nav a.active {
    background:transparent;
    color:#6439fc;
  }
  #app > .global-mobile-nav a.active .nav-text-wordmark {
    color:#6439fc;
  }
  #app > .global-mobile-nav a.active .mobile-nav-icon {
    opacity:1;
  }
  #app > .global-mobile-nav a:not(.active):active {
    color:#6439fc;
  }
  #app > .global-mobile-nav a[href^="/my-night"] {
    z-index:2;
    width:82px;
    height:68px;
    justify-self:center;
    padding:0;
    background:transparent;
    box-shadow:none;
  }
  #app > .global-mobile-nav a[href^="/my-night"] .nav-text-wordmark {
    display:none;
  }
  #app > .global-mobile-nav a[href^="/my-night"] .mobile-nav-icon {
    width:72px;
    height:62px;
    opacity:1;
  }
  #app > .global-mobile-nav a[href^="/my-night"].active .mobile-nav-icon {
    opacity:1;
  }
  #app > .global-mobile-nav a:active {
    transform:scale(.97);
  }
  body.my-night-checkin-active #app > .global-mobile-nav {
    display:none;
  }
  body.mobile-nav-hidden #app > .global-mobile-nav {
    opacity:0;
    pointer-events:none;
    box-shadow:none;
    transform:translate3d(-50%,calc(100% + 24px),0);
  }
  #app > .global-mobile-nav {
    transition:transform .28s ease,opacity .22s ease,box-shadow .22s ease;
    will-change:transform;
  }
  #app > .global-header .night-hello-bell {
    width:40px;
    height:40px;
  }
  #app > .global-header .night-hello-bell svg {
    width:19px;
    height:19px;
  }
  #app > .global-header .night-hello-badge,
  #app > .global-header .account-nav .night-hello-badge {
    top:0;
    right:0;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border-width:1.5px;
    font-size:9px;
  }
  #app > .global-header .account-nav-trigger .account-nav-avatar {
    display:grid;
  }
  #app > .global-header .account-nav-trigger:not(.account-nav-guest) {
    position:relative;
    width:44px;
    max-width:44px;
    flex:0 0 44px;
    height:40px;
    min-height:40px;
    gap:0;
    padding:0;
  }
  #app > .global-header .account-nav-trigger:not(.account-nav-guest) > i {
    position:absolute;
    right:1px;
    bottom:1px;
    display:grid;
    width:11px;
    height:11px;
    place-items:center;
    border-radius:50%;
    background:var(--global-nav-idle-surface);
    font-size:8px;
    line-height:1;
  }
  #app > .global-footer,
  #app .app-shell .app-shell-main-content > .global-footer  {
    margin-top:18px;
    padding:18px 16px calc(96px + env(safe-area-inset-bottom));
    border-top:0;
  }
  #app > .global-footer .footer-feature-row,
  #app > .global-footer .footer-brand,
  #app .app-shell .app-shell-main-content > .global-footer .footer-feature-row,
  #app .app-shell .app-shell-main-content > .global-footer .footer-brand  {
    display:none;
  }

  #app > .global-footer .footer-inner,
  #app .app-shell .app-shell-main-content > .global-footer .footer-inner  {
    display:block;
    max-width:none;
    padding:0;
    border:0;
    text-align:center;
  }
  #app > .global-footer .footer-copy,
  #app .app-shell .app-shell-main-content > .global-footer .footer-copy  {
    max-width:none;
    margin:0;
    color:#8a8a8f;
    font-size:11px;
    line-height:1.45;
    text-align:center;
  }
}
@media(max-width:340px){
  #app > .global-header .topbar-brand .brand-logo{max-width:104px;}
  #app > .global-header .topbar-actions{gap:2px;}
}
@media (min-width:720px)  {
  #app > .global-mobile-nav  {
    display:none;
  }
}

/* Shared screen-reader-only label primitive. */
#app .sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.site-announcement {
  --notice-bg:rgba(255,255,255,.92);
  --notice-border:#e6e2ed;
  --notice-text:#211e29;
  --notice-muted:#716b79;
  --notice-accent:#684cff;
  --notice-close-bg:#f0ecff;
  --notice-close-text:#5b42dc;
  position:sticky;
  top:calc(var(--oonite-shell-utility-height, 48px) + 10px);
  z-index:80;
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:48px;
  box-sizing:border-box;
  margin:0 0 16px;
  padding:10px 12px 10px 15px;
  border:1px solid var(--notice-border);
  border-radius:16px;
  background:var(--notice-bg);
  color:var(--notice-text);
  box-shadow:0 8px 24px rgba(39,30,78,.07);
  backdrop-filter:blur(16px) saturate(120%);
  -webkit-backdrop-filter:blur(16px) saturate(120%);
}
.site-announcement.is-info { --notice-accent:#684cff; }
.site-announcement.is-event { --notice-accent:#00c908; }
.site-announcement.is-urgent { --notice-accent:#ec3f88; }
.site-announcement-accent {
  flex:0 0 3px;
  align-self:stretch;
  min-height:24px;
  border-radius:999px;
  background:var(--notice-accent);
}
.site-announcement-link {
  display:block;
  flex:1 1 auto;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
.site-announcement > .site-announcement-content { flex:1 1 auto; }
.site-announcement-content {
  display:flex;
  align-items:baseline;
  gap:8px;
  min-width:0;
  color:var(--notice-text);
}
.site-announcement-content strong {
  flex:0 0 auto;
  color:var(--notice-text);
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}
.site-announcement-content small {
  min-width:0;
  color:var(--notice-muted);
  font-size:12px;
  line-height:1.4;
}
.site-announcement > button[data-announcement-dismiss] {
  display:grid;
  flex:0 0 36px;
  place-items:center;
  width:36px;
  height:36px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--notice-close-bg);
  color:var(--notice-close-text);
  box-shadow:none;
  cursor:pointer;
}
.site-announcement > button[data-announcement-dismiss]:hover { filter:brightness(.97); }
.site-announcement > button[data-announcement-dismiss]:focus-visible {
  outline:2px solid var(--notice-accent);
  outline-offset:2px;
}
.site-announcement > button[data-announcement-dismiss] svg {
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
body.night-mode .site-announcement,
html.night-mode .site-announcement {
  --notice-bg:rgba(29,29,33,.94);
  --notice-border:#393541;
  --notice-text:#f7f5fb;
  --notice-muted:#aaa4b2;
  --notice-accent:#9c88ff;
  --notice-close-bg:rgba(255,255,255,.09);
  --notice-close-text:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.24);
}
body.night-mode .site-announcement.is-event,
html.night-mode .site-announcement.is-event { --notice-accent:#36e33d; }
body.night-mode .site-announcement.is-urgent,
html.night-mode .site-announcement.is-urgent { --notice-accent:#ff6aa8; }
@media(max-width:719px) {
  #app > .site-announcement {
    width:calc(100% - 32px);
    margin-right:16px;
    margin-left:16px;
  }
  .site-announcement {
    top:calc(var(--oonite-app-header-bottom) + 8px);
    gap:10px;
    padding:8px 8px 8px 12px;
  }
  .site-announcement-content {
    display:grid;
    gap:2px;
  }
  .site-announcement-content small {
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .site-announcement > button[data-announcement-dismiss] {
    flex-basis:44px;
    width:44px;
    height:44px;
  }
}

/* Detail routes enter as a light spatial layer instead of replacing the screen abruptly. */
body.article-route {
  overflow-x:clip;
}

@keyframes oonite-detail-enter {
  from { opacity:0; transform:translate3d(0,12px,0) scale(.985); }
  to { opacity:1; transform:translate3d(0,0,0) scale(1); }
}
@keyframes oonite-detail-media-enter {
  from { opacity:.72; transform:scale(1.018); }
  to { opacity:1; transform:scale(1); }
}
body.place-route #app > .place-detail,
body.article-route #app > .article-detail-page,
body.night-card-route #app > .night-card-detail-page,
body.moment-route #app > .moment-detail-page,
body.public-profile-route #app > .public-profile-page {
  transform-origin:50% 20%;
  animation:oonite-detail-enter .32s cubic-bezier(.2,.78,.24,1) both;
}
body.place-route #app > .place-detail .place-hero-gallery,
body.night-card-route #app > .night-card-detail-page .night-detail-image,
body.moment-route #app > .moment-detail-page .moment-detail-gallery {
  transform-origin:50% 42%;
  animation:oonite-detail-media-enter .38s cubic-bezier(.2,.78,.24,1) both;
}

@media(max-width:719px) {
  body.place-route #app > .place-detail,
  body.article-route #app > .article-detail-page,
  body.night-card-route #app > .night-card-detail-page,
  body.moment-route #app > .moment-detail-page,
  body.public-profile-route #app > .public-profile-page {
    transform-origin:50% 12%;
    animation-duration:.36s;
  }
}

@media(prefers-reduced-motion:reduce) {
  body.place-route #app > .place-detail,
  body.article-route #app > .article-detail-page,
  body.night-card-route #app > .night-card-detail-page,
  body.moment-route #app > .moment-detail-page,
  body.public-profile-route #app > .public-profile-page,
  body.place-route #app > .place-detail .place-hero-gallery,
  body.night-card-route #app > .night-card-detail-page .night-detail-image,
  body.moment-route #app > .moment-detail-page .moment-detail-gallery {
    animation:none;
  }
}

/* Route content can render more than once while cached and authoritative data
   settle. Whole-page entrance animation turns that valid patch into a visible
   flash, so every pushed detail surface enters in its final stable geometry.
   Edge Back still owns transform interactively through its own class. */
body.place-route #app > .place-detail,
body.article-route #app > .article-detail-page,
body.night-card-route #app > .night-card-detail-page,
body.moment-route #app > .moment-detail-page,
body.public-profile-route #app > .public-profile-page,
body.place-route #app > .place-detail .place-hero-gallery,
body.night-card-route #app > .night-card-detail-page .night-detail-image,
body.moment-route #app > .moment-detail-page .moment-detail-gallery {
  animation:none !important;
  opacity:1 !important;
}

/* The detail page itself is the interactive Edge Back surface. Do not pin its
   transform here: doing so wins the cascade over .oonite-edge-back-active and
   turns a tracked swipe into an invisible history jump. Child media may still
   suppress stale entrance transforms without owning route navigation. */
body.night-card-route #app > .night-card-detail-page .night-detail-image,
body.moment-route #app > .moment-detail-page .moment-detail-gallery {
  transform:none !important;
}

/* iOS zooms the viewport when a focused form control computes below 16px. */
@media (max-width:719px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  select,
  textarea {
    font-size:16px !important;
  }
}

/* App shell tokens and shared desktop/tablet layout skeleton. */
:root {
  /* Global OONITE design language. These roles are shared by every route;
     route files can consume them without inventing a new visual vocabulary. */
  --oonite-global-font-family:"DM Sans",sans-serif;
  --oonite-global-brand-lime:#00ff09;
  --oonite-global-brand-purple:#684cff;
  --oonite-global-brand-purple-deep:#5633d9;
  --oonite-global-brand-purple-soft:#eeeaff;
  /* Shared public status palette. Queue keeps a distinct deep-red signal;
     all other crowd/opening states use these same semantic roles. */
  --oonite-status-open:#00ff09;
  --oonite-status-normal:#b8d30b;
  --oonite-status-busy:#ffb31a;
  --oonite-status-high:#ff5a36;
  --oonite-status-queue:#99143f;
  --oonite-status-closed:#ff6257;
  --oonite-status-unknown:#979797;
  --oonite-status-open-on-light:#176b32;
  --oonite-status-closed-on-light:#a53631;
  --oonite-status-unknown-on-light:#4b5563;
  --oonite-opening-open-on-dark:#7dde9c;
  --oonite-opening-closed-on-dark:#ff8f86;
  --oonite-opening-unknown-on-dark:#c8cdd5;
  --oonite-state-muted:#979797;
  --oonite-state-error:#ff6257;
  --oonite-loading-fill:color-mix(in srgb,var(--oonite-state-muted) 12%,transparent);
  --oonite-global-color-night:#000;
  --oonite-global-color-day:#fafaf9;
  --oonite-global-surface-night:#1d1d1d;
  --oonite-global-surface-day:#fff;
  --oonite-global-text-on-dark:#fff;
  --oonite-global-text-on-light:#191919;
  --oonite-global-text-muted:#979797;
  --oonite-global-line-dark:#353535;
  --oonite-global-line-light:#e5e4e1;
  --oonite-global-type-xs:10px;
  --oonite-global-type-sm:12px;
  --oonite-global-type-body:15px;
  --oonite-global-type-lead:17px;
  --oonite-global-type-h3:19px;
  --oonite-global-type-h2:28px;
  --oonite-global-type-h1:clamp(40px,7vw,60px);
  --oonite-global-space-1:4px;
  --oonite-global-space-2:8px;
  --oonite-global-space-3:12px;
  --oonite-global-space-4:16px;
  --oonite-global-space-5:24px;
  --oonite-global-space-6:32px;
  --oonite-global-space-7:40px;
  --oonite-global-space-8:48px;
  --oonite-global-radius-sm:8px;
  --oonite-global-radius-md:12px;
  --oonite-global-radius-lg:20px;
  --oonite-global-radius-pill:999px;
  --oonite-global-shadow-soft:none;
  --oonite-global-shadow-raised:0 16px 44px rgba(0,0,0,.22);
  --oonite-global-shadow-floating:0 20px 60px rgba(0,0,0,.28);
  --oonite-global-control-height:40px;
  --oonite-global-control-height-compact:36px;
  --oonite-global-section-gap:32px;
  --oonite-global-section-gap-compact:24px;
  --oonite-global-focus-ring:color-mix(in srgb,var(--oonite-global-brand-purple) 28%,transparent);
  --oonite-color-ink:#17151d;
  --oonite-color-muted:#6d6879;
  --oonite-color-white:#fff;
  --oonite-color-purple:var(--oonite-global-brand-purple-deep);
  --oonite-color-purple-bright:var(--oonite-global-brand-purple);
  --oonite-color-purple-soft:#f0ecff;
  --oonite-color-lime:var(--oonite-global-brand-lime);
  --oonite-surface-day:#f5f5f7;
  --oonite-surface-sidebar-day:#fff;
  --oonite-surface-sidebar-night:#19171f;
  --oonite-line-day:#eeeaf2;
  --oonite-line-night:#2a2634;
  --oonite-focus-ring:color-mix(in srgb,var(--oonite-color-purple-bright) 42%,transparent);
  --oonite-radius-sm:var(--oonite-global-radius-sm);
  --oonite-radius-md:var(--oonite-global-radius-md);
  --oonite-radius-lg:var(--oonite-global-radius-lg);
  --oonite-radius-pill:var(--oonite-global-radius-pill);
  --oonite-shadow-soft:var(--oonite-global-shadow-soft);
  --oonite-shadow-floating:var(--oonite-global-shadow-floating);
  --oonite-type-display:var(--oonite-global-type-h1);
  --oonite-type-title:var(--oonite-global-type-h2);
  --oonite-type-body:var(--oonite-global-type-body);
  --oonite-type-nav:var(--oonite-global-type-sm);
  --oonite-type-label:var(--oonite-global-type-xs);
  --oonite-space-1:var(--oonite-global-space-1);
  --oonite-space-2:var(--oonite-global-space-2);
  --oonite-space-3:var(--oonite-global-space-3);
  --oonite-space-4:var(--oonite-global-space-4);
  --oonite-space-5:var(--oonite-global-space-5);
  --oonite-space-6:var(--oonite-global-space-6);
  --oonite-control-height:var(--oonite-global-control-height);
  --oonite-control-height-compact:var(--oonite-global-control-height-compact);
  --oonite-shell-utility-height: 48px;
  --oonite-page-gutter: clamp(20px, 2.6vw, 36px);
  --oonite-page-top: clamp(18px, 2vw, 24px);
  --oonite-page-bottom: clamp(56px, 6vw, 88px);
  --oonite-content-width-wide: min(1480px, 100%);
  --oonite-content-width-standard: min(1240px, 100%);
  --oonite-content-width-detail: min(1280px, 100%);
  /* Keep the fixed rail close to the compact Check-in entry so the shell
     reads as a focused consumer navigation, not a dashboard column. */
  --app-shell-sidebar-width: clamp(168px, 12vw, 176px);
  --app-shell-sidebar-width-collapsed: 82px;
  --app-shell-sidebar-width-active: var(--app-shell-sidebar-width);
  --app-shell-sidebar-padding: 18px;
  --app-shell-sidebar-top-padding:28px;
  --app-shell-sidebar-nav-height:38px;
  --app-shell-sidebar-nav-gap:4px;
  --app-shell-sidebar-icon-size:22px;
  --app-shell-main-gap: 0px;
  /* Keep the utility Topbar slightly grayer than the main workspace so the
     content area reads as a calm canvas and white cards remain distinct. */
  --app-shell-surface-app:var(--oonite-canvas-day);
  --app-shell-surface-main:var(--oonite-canvas-day);
  --app-shell-surface-page:var(--oonite-canvas-day);
  --app-shell-surface-section:#fff;
  --app-shell-surface-card:#fff;
  --app-shell-surface-overlay:rgba(255,255,255,.92);
  --app-shell-surface-line:#e5e4e1;
  --app-shell-surface-card-shadow:var(--oonite-global-shadow-soft);
  --app-shell-page-section-gap:var(--oonite-global-section-gap);
  --app-shell-main-content-padding: var(--oonite-page-gutter);
  --app-shell-main-max-width-standard: var(--oonite-content-width-standard);
  --app-shell-main-max-width-wide: var(--oonite-content-width-wide);
  --app-shell-main-max-width-detail: var(--oonite-content-width-detail);
  --app-shell-main-max-width: var(--app-shell-main-max-width-standard);
  --app-shell-secondary-width: clamp(264px, 22vw, 340px);
  --app-shell-nav-active-bg: #f0ecff;
  --app-shell-nav-active-text: #5633d9;
  --app-shell-nav-idle-text: #5f5a68;
  --app-shell-nav-hover-bg: #f7f5fb;
  --app-shell-nav-line: #eeeaf2;
  --app-shell-sidebar-surface: #fff;
  --app-shell-sidebar-top: var(--oonite-shell-utility-height);
}

body.night-mode .app-shell,
body.night-mode #app > [data-web-home-first-paint],
body.night-mode #app > .app-shell-sidebar[data-web-home-startup-nav] {
  --app-shell-nav-active-bg:#2b2342;
  --app-shell-nav-active-text:#c0b4ff;
  --app-shell-nav-idle-text:#aaa3b8;
  --app-shell-nav-hover-bg:#24202d;
  --app-shell-nav-line:#2a2634;
  --app-shell-sidebar-surface:#19171f;
  --app-shell-surface-app:#000;
  --app-shell-surface-main:#000;
  --app-shell-surface-page:#000;
  --app-shell-surface-section:#17171b;
  --app-shell-surface-card:#1d1d1d;
  --app-shell-surface-overlay:rgba(23,23,27,.94);
  --app-shell-surface-line:#35343c;
  --app-shell-surface-card-shadow:none;
}

#app:has(> .app-shell[data-app-shell-mode='collapsed']) {
  --app-shell-sidebar-width-active:var(--app-shell-sidebar-width-collapsed);
}

.app-shell {
  --app-shell-sidebar-width-active: var(--app-shell-sidebar-width);
  --app-shell-main-max-width: var(--app-shell-main-max-width-standard);
  display:grid;
  grid-template-columns: var(--app-shell-sidebar-width-active) minmax(0, 1fr);
  grid-template-areas:"sidebar main";
  align-items:start;
  gap:var(--app-shell-main-gap);
  width:100%;
  min-height:100dvh;
  max-width:none;
  margin:0;
  padding:0;
  background:var(--app-shell-surface-app);
  color:inherit;
  box-sizing:border-box;
}

.app-shell[data-app-shell-content-width='wide'] {
  --app-shell-main-max-width: var(--app-shell-main-max-width-wide);
}

.app-shell[data-app-shell-content-width='detail'] {
  --app-shell-main-max-width: var(--app-shell-main-max-width-detail);
}

.app-shell[data-app-shell-mode='collapsed'] {
  --app-shell-sidebar-width-active: var(--app-shell-sidebar-width-collapsed);
  grid-template-columns: var(--app-shell-sidebar-width-active) minmax(0, 1fr);
  grid-template-areas:"sidebar main";
}

.app-shell[data-app-shell-has-secondary='true'] {
  grid-template-columns: var(--app-shell-sidebar-width-active) minmax(0, 1fr) var(--app-shell-secondary-width);
  grid-template-areas:"sidebar main secondary";
}

.app-shell-sidebar {
  grid-area:sidebar;
  position:fixed;
  z-index:400;
  top:0;
  left:0;
  align-self:start;
  min-width:0;
  height:100dvh;
  min-height:100dvh;
  width:var(--app-shell-sidebar-width-active);
  max-width:none;
  margin:0;
  box-sizing:border-box;
  padding:var(--app-shell-sidebar-top-padding) var(--app-shell-sidebar-padding) 20px;
  background:var(--app-shell-sidebar-surface);
}

.app-shell-brand {
  display:flex;
  min-width:44px;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  margin:0 8px 32px;
}

.app-shell-brand-mark {
  display:none;
  width:40px;
  height:40px;
  overflow:hidden;
  background-image:url('/assets/luca-choice-logo.svg');
  background-repeat:no-repeat;
  background-position:left center;
  background-size:auto 21px;
  color:transparent;
  font-size:0;
  line-height:0;
}

.app-shell-brand-logo {
  display:block;
  width:126px;
  max-width:100%;
  height:auto;
}

.app-shell-nav-group {
  display:grid;
  gap:var(--app-shell-sidebar-nav-gap);
  margin:0 0 12px;
  max-width:none;
  padding:0;
  box-sizing:border-box;
}

.app-shell-nav-group + .app-shell-nav-group {
  margin-top:18px;
  padding-top:18px;
}

.app-shell-nav-links {
  display:grid;
  gap:4px;
}

:is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-group {
  --app-shell-checkin-height:48px;
  --app-shell-checkin-margin:6px;
}

.app-shell-startup-checkin-slot {
  min-height:var(--app-shell-checkin-height);
  margin-bottom:var(--app-shell-checkin-margin);
}

#app > .app-shell .app-shell-nav-group .night-checkin-fab {
  display:flex;
  width:100%;
  max-width:128px;
  box-sizing:border-box;
  min-height:var(--app-shell-checkin-height);
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin:0 0 var(--app-shell-checkin-margin);
  padding:0 8px;
  border:2px solid var(--oonite-color-purple-bright);
  border-radius:var(--oonite-radius-pill);
  background:var(--oonite-color-white);
  color:var(--oonite-color-purple-bright);
  -webkit-text-fill-color:currentColor;
  box-shadow:var(--oonite-shadow-soft);
  font-family:inherit;
  cursor:pointer;
  transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease,opacity .18s ease;
}

#app > .app-shell .app-shell-nav-group .night-checkin-fab strong {
  font-size:13px;
  line-height:1;
  white-space:nowrap;
}

#app > .app-shell .app-shell-nav-group .night-checkin-fab img {
  display:block;
  width:30px;
  height:30px;
  flex:0 0 30px;
  object-fit:contain;
}

#app > .app-shell .app-shell-nav-group .night-checkin-fab span {
  display:inline-flex;
  width:24px;
  height:24px;
  flex:0 0 24px;
  align-items:center;
  justify-content:center;
  border-radius:var(--oonite-radius-pill);
  background:var(--oonite-color-purple-bright);
  color:var(--oonite-color-white);
  -webkit-text-fill-color:var(--oonite-color-white);
  font-size:21px;
  font-weight:500;
  line-height:1;
}

#app > .app-shell .app-shell-nav-group .night-checkin-fab:hover,
#app > .app-shell .app-shell-nav-group .night-checkin-fab:focus-visible {
  background:#f7f5ff;
}

body.night-mode #app > .app-shell .app-shell-nav-group .night-checkin-fab {
  background:#fff;
  color:var(--oonite-color-purple-bright);
  border-color:var(--oonite-color-purple-bright);
}

body.night-mode #app > .app-shell .app-shell-nav-group .night-checkin-fab:hover,
body.night-mode #app > .app-shell .app-shell-nav-group .night-checkin-fab:focus-visible {
  background:#f7f5ff;
  box-shadow:var(--oonite-shadow-soft);
}

#app > .app-shell .app-shell-nav-group .night-checkin-fab:focus-visible {
  outline:2px solid var(--oonite-focus-ring);
  outline-offset:2px;
}

/* The shell owns the global check-in layer on every desktop route. Keep it
   above the fixed sidebar so the backdrop and sheet cannot be clipped. */
#app > .app-shell .night-action-sheet {
  --shell-checkin-surface:#fff;
  --shell-checkin-soft:#f5f3fa;
  --shell-checkin-line:#ded9ef;
  --shell-checkin-text:#17161c;
  --shell-checkin-muted:#777380;
  --shell-checkin-purple:#684cff;
  position:fixed;
  z-index:1000;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
  box-sizing:border-box;
}

#app > .app-shell .night-action-sheet[hidden] {
  display:none;
}

#app > .app-shell .night-action-sheet .night-sheet-backdrop {
  position:absolute;
  z-index:0;
  inset:0;
  background:rgba(255,255,255,.68);
  -webkit-backdrop-filter:blur(14px) saturate(115%);
  backdrop-filter:blur(14px) saturate(115%);
}

body.night-mode #app > .app-shell .night-action-sheet .night-sheet-backdrop {
  background:rgba(0,0,0,.68);
}

#app > .app-shell .night-action-sheet .night-sheet,
#app > .app-shell .night-action-sheet .night-checkin-sheet {
  position:relative;
  z-index:1;
  width:min(100%,760px);
  max-height:min(86dvh,720px);
  margin:auto;
  overflow:auto;
  padding:25px 24px 40px;
  border-radius:24px;
  background:var(--shell-checkin-surface);
  color:var(--shell-checkin-text);
  box-shadow:0 28px 80px rgba(0,0,0,.28);
  box-sizing:border-box;
}

@media (min-width:720px) {
  #app > .app-shell .night-action-sheet .night-checkin-sheet:has(.night-checkin-locating),
  #app > .app-shell .night-action-sheet .night-checkin-sheet:has(.night-checkin-error),
  #app > .app-shell .night-action-sheet .night-checkin-sheet:has(.night-checkin-found) {
    width:min(100%,560px);
  }
}

body.night-mode #app > .app-shell .night-action-sheet .night-sheet,
body.night-mode #app > .app-shell .night-action-sheet .night-checkin-sheet {
  --shell-checkin-surface:#17171a;
  --shell-checkin-soft:#222228;
  --shell-checkin-line:#3b3745;
  --shell-checkin-text:#f7f7fb;
  --shell-checkin-muted:#aaa6b0;
  background:var(--shell-checkin-surface);
  color:var(--shell-checkin-text);
  box-shadow:0 28px 80px rgba(0,0,0,.45);
}

#app > .app-shell .night-action-sheet .night-sheet-close {position:absolute;top:10px;right:12px;z-index:2;display:grid;width:40px;min-width:40px;height:40px;place-items:center;padding:0;}

#app > .app-shell .night-action-sheet .night-checkin-sheet.is-create-chooser {
  overflow:visible;
  border:0;
  padding:0;
  background:transparent;
  box-shadow:none;
}

#app > .app-shell .night-action-sheet .night-checkin-sheet.is-create-chooser [data-night-checkin-content],
#app > .app-shell .night-action-sheet .night-create-chooser,
#app > .app-shell .night-action-sheet .night-create-options {
  min-height:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

#app > .app-shell .night-action-sheet .night-checkin-sheet.is-create-chooser .night-sheet-close {top:-42px;right:0;}

#app > .app-shell .night-action-sheet .night-create-chooser {
  padding:0;
  color:var(--shell-checkin-text);
}

#app > .app-shell .night-action-sheet .night-create-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  overflow:visible;
  border-radius:0;
}

#app > .app-shell .night-action-sheet .night-create-options button {
  display:grid;
  min-height:132px;
  justify-items:start;
  align-content:end;
  gap:4px;
  padding:16px;
  border:1px solid var(--shell-checkin-line);
  border-radius:20px;
  background:var(--shell-checkin-soft);
  color:var(--shell-checkin-text);
  text-align:left;
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-night-card-option {
  border-color:transparent;
  background:var(--shell-checkin-purple);
  color:#fff;
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-night-card-option strong,
#app > .app-shell .night-action-sheet .night-create-options .night-create-night-card-option small {
  color:#fff;
  -webkit-text-fill-color:#fff;
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-night-card-option small {
  color:rgba(255,255,255,.78);
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-moment-option {
  border:0;
  background:#fff;
  color:#17161c;
  box-shadow:0 10px 24px rgba(50,38,92,.08);
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-moment-option small {
  color:#777380;
}

#app > .app-shell .night-action-sheet .night-create-options button:hover,
#app > .app-shell .night-action-sheet .night-create-options button:focus-visible {
  border-color:var(--shell-checkin-purple);
  background:color-mix(in srgb,var(--shell-checkin-purple) 9%,var(--shell-checkin-surface));
  transform:none;
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-night-card-option:hover,
#app > .app-shell .night-action-sheet .night-create-options .night-create-night-card-option:focus-visible {
  border-color:transparent;
  background:color-mix(in srgb,var(--shell-checkin-purple) 88%,#17161c);
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-moment-option:hover,
#app > .app-shell .night-action-sheet .night-create-options .night-create-moment-option:focus-visible {
  border-color:transparent;
  background:color-mix(in srgb,var(--shell-checkin-purple) 5%,#fff);
}

#app > .app-shell .night-action-sheet .night-create-options button span {
  margin-bottom:auto;
  font-size:28px;
  line-height:1;
}

#app > .app-shell .night-action-sheet .night-create-options button strong {
  font-size:28px;
  line-height:1.1;
}

#app > .app-shell .night-action-sheet .night-create-options button small {
  color:var(--shell-checkin-muted);
  font-size:11px;
  line-height:1.25;
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-expiry-note,
#app > .app-shell .night-action-sheet .night-create-options .night-create-moment-note {
  display:block;
  margin-top:5px;
  font-size:10px;
  font-style:normal;
  font-weight:400;
  line-height:1.4;
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-expiry-note {
  margin-top:6px;
  padding:5px 7px;
  border-radius:9px;
  background:color-mix(in srgb,var(--shell-checkin-purple) 10%,var(--shell-checkin-surface));
  color:var(--shell-checkin-purple);
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-night-card-option .night-create-expiry-note {
  background:rgba(255,255,255,.15);
  color:#fff;
}

#app > .app-shell .night-action-sheet .night-create-options .night-create-moment-note {
  color:inherit;
  font-size:9px;
}

@media (max-width:719px) {
  #app > .app-shell .night-action-sheet .night-create-options {
    grid-template-columns:1fr;
    gap:12px;
  }

  #app > .app-shell .night-action-sheet .night-create-options button {
    min-height:122px;
  }

  #app > .app-shell .night-action-sheet .night-create-options button strong {
    font-size:24px;
  }
}

/* The success and intent steps are triggered by the persistent Sidebar, so
   their final desktop/tablet presentation must remain available on every
   route. My Night keeps the equivalent mobile/route-owned rules. */
#app > .app-shell .night-checkin-success {
  position:fixed;
  z-index:1100;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:clamp(16px,3vw,28px);
  overflow:auto;
  background:rgba(255,255,255,.88);
  color:#171719;
  -webkit-text-fill-color:currentColor;
  -webkit-backdrop-filter:blur(24px) saturate(110%);
  backdrop-filter:blur(24px) saturate(110%);
  animation:night-checkin-backdrop-in .38s ease both;
}

body.night-mode #app > .app-shell .night-checkin-success {
  background:rgba(8,8,10,.84);
  color:#fff;
}

body:has(#app > .app-shell .night-checkin-success:not([hidden])) {
  overflow:hidden;
}

#app > .app-shell .night-checkin-success[hidden],
#app > .app-shell .night-checkin-success-step[hidden] {
  display:none;
}

#app > .app-shell .night-checkin-success-step {
  position:relative;
  display:flex;
  width:min(100%,430px);
  min-height:0;
  max-height:calc(100dvh - 48px);
  box-sizing:border-box;
  flex-direction:column;
  align-items:center;
  padding:28px clamp(22px,4vw,34px) 24px;
  overflow-y:auto;
  border:1px solid rgba(22,20,30,.06);
  border-radius:30px;
  background:#fff;
  box-shadow:0 24px 70px rgba(42,31,76,.12);
  animation:night-checkin-rise .34s ease both;
}

body.night-mode #app > .app-shell .night-checkin-success-step {
  border-color:rgba(255,255,255,.1);
  background:#101014;
  box-shadow:0 24px 70px rgba(0,0,0,.4);
}
#app > .app-shell .night-checkin-intent-back {
  position:absolute;
  top:24px;
  left:24px;
  width:44px;
  min-width:44px;
  height:44px;
  border:0;
  padding:0;
  background:transparent;
  color:inherit;
  font-size:32px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}


#app > .app-shell .night-checkin-success-close{position:absolute;top:24px;left:24px;width:44px;min-width:44px;height:44px;padding:0;cursor:pointer;}

#app > .app-shell .night-checkin-success-step > h2 {
  margin:20px 0 14px;
  color:inherit;
  font-size:26px;
  font-weight:700;
  line-height:1.1;
  text-align:center;
}

#app > .app-shell .night-checkin-success-step > strong {
  color:inherit;
  font-size:21px;
  font-weight:700;
  line-height:1.15;
  letter-spacing:0;
  text-shadow:none;
}

#app > .app-shell .night-checkin-success-step > p {
  max-width:310px;
  margin:6px 0 18px;
  color:#77727f;
  font-size:14px;
  font-weight:400;
  line-height:1.4;
  text-align:center;
}

body.night-mode #app > .app-shell .night-checkin-success-step > p {
  color:#aaa5b2;
}

#app > .app-shell .night-checkin-success-mark {
  position:relative;
  display:grid;
  width:64px;
  height:64px;
  margin:32px 0 0;
  place-items:center;
  border:4px solid #6d4cff;
  border-radius:50%;
  background:#fff;
  color:#6d4cff;
  -webkit-text-fill-color:#6d4cff;
  box-shadow:0 0 0 18px rgba(109,76,255,.04),0 16px 42px rgba(109,76,255,.18);
  animation:night-checkin-mark-in .62s cubic-bezier(.16,1.35,.42,1) both;
}

body.night-mode #app > .app-shell .night-checkin-success-mark {
  border-color:#00ff09;
  background:#101014;
  color:#00ff09;
  -webkit-text-fill-color:#00ff09;
  box-shadow:0 0 0 18px rgba(0,255,9,.04),0 16px 46px rgba(0,255,9,.16);
}

#app > .app-shell .night-checkin-success-mark i {
  position:absolute;
  inset:-10px;
  border:2px solid rgba(109,76,255,.28);
  border-radius:inherit;
  animation:night-checkin-pulse 1.4s ease-out .25s both;
}

body.night-mode #app > .app-shell .night-checkin-success-mark i {
  border-color:rgba(0,255,9,.26);
}

#app > .app-shell .night-checkin-success-mark b {
  font-size:34px;
  font-weight:950;
  line-height:1;
}

#app > .app-shell .night-checkin-success-time-label {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-top:6px;
  border-radius:999px;
  padding:0 13px;
  background:#f5f4f7;
  color:#77727f;
  font-size:12px;
  font-weight:400;
}

body.night-mode #app > .app-shell .night-checkin-success-time-label {
  background:#1d1d24;
  color:#b9b5c2;
}

#app > .app-shell .night-checkin-success-step > time {
  margin-top:9px;
  color:inherit;
  font-size:28px;
  font-weight:700;
  line-height:1;
}

#app > .app-shell .night-checkin-success-verified {
  display:flex;
  flex-direction:column;
  align-items:center;
  margin:24px 0 22px;
  color:#171719;
}

body.night-mode #app > .app-shell .night-checkin-success-verified {
  color:#fff;
}

#app > .app-shell .night-checkin-success-verified i {
  width:18px;
  height:22px;
  margin-bottom:12px;
  border:2px solid #00d90a;
  border-radius:50% 50% 55% 55%;
  transform:rotate(45deg);
}

#app > .app-shell .night-checkin-success-verified b {
  font-size:15px;
  font-weight:600;
}

#app > .app-shell .night-checkin-success-verified small {
  margin-top:14px;
  color:#aaa5b2;
  font-size:13px;
  font-weight:400;
}

#app > .app-shell .night-checkin-success-primary {
  width:100%;
  min-height:52px;
  margin:0;
  border:0;
  border-radius:18px;
  padding:0 24px;
  background:#151517;
  color:#fff;
  -webkit-text-fill-color:#fff;
  font-size:16px;
  font-weight:700;
  box-shadow:none;
  cursor:pointer;
}

body.night-mode #app > .app-shell .night-checkin-success-primary {
  background:#6d4cff;
}

#app > .app-shell .night-checkin-intent {
  align-items:stretch;
  padding-top:72px;
}

#app > .app-shell .night-checkin-intent header h2 {
  margin:0;
  color:inherit;
  font-size:clamp(30px,4vw,36px);
  font-weight:750;
  line-height:1.05;
}

#app > .app-shell .night-checkin-intent header p {
  max-width:260px;
  margin:12px 0 22px;
  color:#77727f;
  font-size:14px;
  font-weight:400;
  line-height:1.45;
}

#app > .app-shell .night-checkin-intent-options {
  display:grid;
  gap:10px;
}

#app > .app-shell .night-checkin-intent-options button {
  display:grid;
  grid-template-columns:34px 1fr 26px;
  align-items:center;
  min-height:62px;
  border:1px solid #ebe9ef;
  border-radius:18px;
  padding:0 18px;
  background:#fff;
  color:#21183c;
  text-align:left;
  box-shadow:0 8px 22px rgba(33,24,60,.07);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
  cursor:pointer;
}

#app > .app-shell .night-checkin-intent-options button:active {
  transform:scale(.985);
}

#app > .app-shell .night-checkin-intent-options button i {
  color:#241942;
  font-size:17px;
  font-style:normal;
  font-weight:700;
}

#app > .app-shell .night-checkin-intent-options button span {
  color:inherit;
  font-size:16px;
  font-weight:600;
}

#app > .app-shell .night-checkin-intent-options button b {
  display:grid;
  width:26px;
  height:26px;
  place-items:center;
  border-radius:50%;
  background:#6d4cff;
  color:#fff;
  opacity:0;
}

#app > .app-shell .night-checkin-intent-options button.is-selected {
  border-color:#6d4cff;
  color:#6d4cff;
  box-shadow:0 8px 26px rgba(109,76,255,.16);
}

#app > .app-shell .night-checkin-intent-options button.is-selected b {
  opacity:1;
}

#app > .app-shell .night-checkin-intent-message {
  min-height:20px;
  margin:12px 0 0;
  color:#ec3f88;
  font-size:12px;
  text-align:center;
}

#app > .app-shell .night-checkin-intent-skip {
  min-height:44px;
  margin:16px auto 0;
  border:0;
  padding:10px;
  background:transparent;
  color:#77727f;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
}

body.night-mode #app > .app-shell .night-checkin-intent header p,
body.night-mode #app > .app-shell .night-checkin-intent-skip {
  color:#aaa5b2;
}

body.night-mode #app > .app-shell .night-checkin-intent-options button {
  border-color:#2b2932;
  background:#18181e;
  color:#f6f4ff;
  box-shadow:none;
}

body.night-mode #app > .app-shell .night-checkin-intent-options button i {
  color:#aa98f2;
}

body.night-mode #app > .app-shell .night-checkin-intent-options button.is-selected {
  border-color:#8b6cff;
  color:#aa98f2;
}

@media (prefers-reduced-motion:reduce) {
  #app > .app-shell .night-checkin-success,
  #app > .app-shell .night-checkin-success-mark,
  #app > .app-shell .night-checkin-success-mark i,
  #app > .app-shell .night-checkin-success strong,
  #app > .app-shell .night-checkin-success span,
  #app > .app-shell .night-checkin-success button {
    animation:none;
  }
}

#app > .app-shell .my-night-route-page .night-checkin-fab {
  display:none;
}

.app-shell-nav-link {
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:var(--app-shell-sidebar-nav-height);
  border-radius:var(--oonite-radius-sm);
  padding:0 10px;
  color:var(--app-shell-nav-idle-text);
  font-size:var(--oonite-type-nav);
  font-weight:650;
  text-decoration:none;
  transition:background-color .18s ease,color .18s ease;
}

.app-shell-nav-link .nav-pending-card-dot {
  position:absolute;
  top:7px;
  right:8px;
  display:block;
  width:8px;
  height:8px;
  border:0;
  border-radius:50%;
  background:#ec3f88;
  box-sizing:border-box;
  box-shadow:none;
}

.app-shell-nav-link:hover,
.app-shell-nav-link:focus-visible {
  background:var(--app-shell-nav-hover-bg);
}

.app-shell-nav-link:focus-visible {
  outline:2px solid var(--oonite-focus-ring);
  outline-offset:1px;
}

.app-shell-nav-link.is-active {
  background:var(--app-shell-nav-active-bg);
  color:var(--app-shell-nav-active-text);
  font-weight:800;
}

.header-pilot-tabs{display:flex;min-width:0;align-items:center;justify-content:flex-start;gap:16px;white-space:nowrap}
.header-pilot-tabs :is(button,[data-home-moments-link]){text-decoration:none;position:relative;display:inline-flex;min-width:0;min-height:44px;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:var(--account-text,#171719);font:820 18px/1.2 inherit;letter-spacing:-.025em;touch-action:manipulation}
.header-pilot-tabs button svg{display:block;width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8}
.header-pilot-tabs button.is-location svg{color:#684cff}
.header-pilot-tabs button.is-active{color:#684cff;font-weight:900}
.header-pilot-tabs button.is-active::after{content:'';position:absolute;right:10%;bottom:3px;left:10%;height:2px;border-radius:999px;background:#684cff}
body.night-mode .header-pilot-tabs button:not(.is-active){color:#fff}

.app-shell-more-menu {
  position:relative;
  margin:0;
}

.app-shell-more-menu > summary {
  list-style:none;
  cursor:pointer;
}

.app-shell-more-menu > summary::-webkit-details-marker {
  display:none;
}

.app-shell-more-menu[open] > summary {
  background:var(--app-shell-nav-hover-bg);
  color:var(--app-shell-nav-active-text);
}

.app-shell-more-links {
  position:absolute;
  z-index:450;
  left:calc(100% + 12px);
  bottom:0;
  display:grid;
  gap:4px;
  width:220px;
  margin:0;
  padding:8px;
  border:1px solid var(--app-shell-nav-line);
  border-radius:18px;
  background:var(--app-shell-sidebar-surface);
  box-shadow:var(--oonite-shadow-floating);
  box-sizing:border-box;
  transform-origin:left bottom;
  animation:app-shell-more-pop .16s ease-out both;
}

@keyframes app-shell-more-pop {
  from { opacity:0; transform:translateX(-4px) scale(.97); }
  to { opacity:1; transform:none; }
}

.app-shell-more-links::before {
  content:"";
  position:absolute;
  left:-6px;
  bottom:15px;
  width:10px;
  height:10px;
  border-left:1px solid var(--app-shell-nav-line);
  border-bottom:1px solid var(--app-shell-nav-line);
  background:var(--app-shell-sidebar-surface);
  transform:rotate(45deg);
}

.app-shell-more-links .app-shell-more-link {
  position:relative;
  z-index:1;
  width:100%;
  box-sizing:border-box;
  min-height:var(--oonite-control-height);
  padding:0 14px;
  border-radius:999px;
  background:transparent;
}

.app-shell-more-link {
  display:flex;
  align-items:center;
  color:var(--app-shell-nav-idle-text);
  font-size:var(--oonite-type-nav);
  font-weight:650;
  line-height:1;
  text-decoration:none;
  transition:background-color .18s ease,color .18s ease;
}

.app-shell-more-link:hover,
.app-shell-more-link:focus-visible {
  background:var(--app-shell-nav-hover-bg);
  color:var(--app-shell-nav-active-text);
}

.app-shell-more-link:focus-visible {
  outline:2px solid color-mix(in srgb, var(--app-shell-nav-active-text) 42%, transparent);
  outline-offset:-2px;
}

.app-shell-more-link.is-unavailable {
  color:rgba(248,248,248,.38);
  cursor:default;
}

body.day-mode .app-shell-more-menu > summary {
  color:var(--app-shell-nav-idle-text);
}

body.day-mode .app-shell-more-link {
  color:var(--app-shell-nav-idle-text);
}

body.day-mode .app-shell-more-link.is-unavailable {
  color:#aaa8b1;
}

body.night-mode #app > .app-shell .app-shell-more-links {
  border-color:var(--app-shell-nav-line);
  box-shadow:0 20px 48px rgba(0,0,0,.5);
}

body.night-mode #app > .app-shell .app-shell-more-links::before {
  background:var(--app-shell-sidebar-surface);
  border-color:var(--app-shell-nav-line);
}

.app-shell-nav-icon {
  display:grid;
  place-items:center;
  width:var(--app-shell-sidebar-icon-size);
  height:var(--app-shell-sidebar-icon-size);
  flex:0 0 var(--app-shell-sidebar-icon-size);
}

.app-shell-nav-icon svg {
  width:19px;
  height:19px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.app-shell-nav-icon svg[data-nearby-nav-icon] {
  width:var(--app-shell-sidebar-icon-size);
  height:var(--app-shell-sidebar-icon-size);
  stroke:none;
}

.app-shell-main {
  grid-area:main;
  min-width:0;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  background:var(--app-shell-surface-main);
  overflow-x:clip;
  box-sizing:border-box;
}

.app-shell-main-content {
  width:100%;
  min-width:0;
  margin:0;
  padding:var(--oonite-shell-utility-height) var(--oonite-page-gutter) 0;
  background:var(--app-shell-surface-main);
  box-sizing:border-box;
  max-width:none;
}

.app-shell-main-content > section,
.app-shell-main-content > main,
.app-shell-main-content > article {
  width:100%;
}

#app > .app-shell .app-shell-main-content > section,
#app > .app-shell .app-shell-main-content > main,
#app > .app-shell .app-shell-main-content > article {
  max-width:none;
  margin:0;
  padding-right:0;
  padding-left:0;
  box-sizing:border-box;
}

/* Global Page Frame contract. The route root is marked by app.js after it is
   moved into the live Shell DOM, so the frame never owns page data or
   interaction setup. It only provides the shared outer geometry. */
#app > .app-shell .app-shell-main-content > [data-oonite-page-frame='true'] {
  width:100%;
  max-width:var(--oonite-content-width-standard);
  min-width:0;
  margin:0 auto;
  padding:var(--oonite-page-top) 0 var(--oonite-page-bottom);
  background:var(--app-shell-surface-page);
  box-sizing:border-box;
}

#app > .app-shell .app-shell-main-content > [data-oonite-page-frame='true'][data-oonite-page-frame-width='wide'] {
  max-width:var(--oonite-content-width-wide);
}

#app > .app-shell .app-shell-main-content > [data-oonite-page-frame='true'][data-oonite-page-frame-width='detail'] {
  max-width:var(--oonite-content-width-detail);
}

/* Shared surface primitives for future page-level polish. Existing routes may
   keep their special page surfaces; these attributes provide one vocabulary
   when a route opts into the global hierarchy. */
#app > .app-shell [data-oonite-surface='section'] {
  background:var(--app-shell-surface-section);
  border:1px solid var(--app-shell-surface-line);
  border-radius:var(--oonite-radius-lg);
}

#app > .app-shell [data-oonite-surface='card'] {
  background:var(--app-shell-surface-card);
  border:0;
  border-radius:var(--oonite-radius-md);
  box-shadow:none;
}

#app > .app-shell [data-oonite-surface='elevated'] {
  background:var(--app-shell-surface-card);
  border:1px solid var(--app-shell-surface-line);
  border-radius:var(--oonite-radius-md);
  box-shadow:var(--app-shell-surface-card-shadow);
}

#app > .app-shell [data-oonite-surface='overlay'] {
  background:var(--app-shell-surface-overlay);
  border:1px solid var(--app-shell-surface-line);
  border-radius:var(--oonite-radius-lg);
  box-shadow:var(--oonite-shadow-floating);
}

@media (min-width:720px) {
  /* Page Frame is the single outer vertical rhythm source on Desktop/Tablet.
     Route interiors still own their special section spacing. */
  #app > .app-shell .app-shell-main-content > [data-oonite-page-frame='true'] {
    padding-top:var(--oonite-page-top);
    padding-bottom:var(--oonite-page-bottom);
  }
}

.app-shell-secondary {
  grid-area:secondary;
  min-width:0;
  width:100%;
  max-width:none;
  margin:0;
  box-sizing:border-box;
  padding:0 0 24px;
}

.app-shell-secondary-panel {
  position:sticky;
  top:56px;
  width:100%;
  box-sizing:border-box;
  padding:0 var(--app-shell-sidebar-padding) 16px;
}

.app-shell[data-app-shell-mode='collapsed'] .app-shell-nav-link {
  justify-content:center;
  gap:0;
  padding:0 8px;
}

.app-shell[data-app-shell-mode='collapsed'] .app-shell-nav-label,
.app-shell[data-app-shell-mode='collapsed'] .app-shell-brand-logo {
  display:none;
}

.app-shell[data-app-shell-mode='collapsed'] .app-shell-more-links {
  display:none;
}

.app-shell[data-app-shell-mode='collapsed'] .app-shell-brand-mark {
  display:grid;
}

#app > .app-shell[data-app-shell-mode='collapsed'] .app-shell-nav-group .night-checkin-fab {
  width:48px;
  height:48px;
  min-height:48px;
  margin:0 auto 4px;
  padding:0;
  border-width:2px;
  border-radius:999px;
  position:relative;
  justify-content:center;
}

#app > .app-shell[data-app-shell-mode='collapsed'] .app-shell-nav-group .night-checkin-fab img {
  width:28px;
  height:28px;
  flex-basis:28px;
}

#app > .app-shell[data-app-shell-mode='collapsed'] .app-shell-nav-group .night-checkin-fab span {
  position:absolute;
  right:-5px;
  bottom:-5px;
  width:22px;
  height:22px;
  border:2px solid #fff;
  font-size:18px;
}

.app-shell[data-app-shell-mode='collapsed'][data-app-shell-has-secondary='true'] {
  grid-template-columns: var(--app-shell-sidebar-width-active) minmax(0, 1fr) var(--app-shell-secondary-width);
  grid-template-areas:"sidebar main secondary";
}

@media (hover:hover) and (pointer:fine) {
  [data-horizontal-rail] {
    cursor:grab;
  }

  [data-horizontal-rail].is-dragging {
    cursor:grabbing;
    user-select:none;
  }
}

[data-horizontal-rail]:focus-visible {
  outline:2px solid rgba(118,84,255,.58);
  outline-offset:4px;
}

@media (max-width:1199px) {
  .app-shell {
    --oonite-shell-utility-height: 52px;
    --oonite-page-gutter: clamp(18px, 3vw, 24px);
    --oonite-page-top: clamp(18px, 2vw, 24px);
    --oonite-page-bottom: clamp(48px, 6vw, 72px);
    --app-shell-sidebar-top: var(--oonite-shell-utility-height);
  }
}

@media (max-width:719px) {
  .app-shell {
    display:none;
  }
}

/* Shell routes keep the fixed header for utility actions only. */
#app > .global-header.app-shell-utility-header .topbar-brand,
#app > .global-header.app-shell-utility-header .main-nav,
#app > .global-header.app-shell-utility-header .menu-toggle {
  display:none;
}

@media (min-width:720px) {
  #app > .global-header.app-shell-utility-header,
  body.day-mode #app > .global-header.app-shell-utility-header,
  body.night-mode #app > .global-header.app-shell-utility-header {
    left:var(--app-shell-sidebar-width-active);
    width:calc(100% - var(--app-shell-sidebar-width-active));
  }
}

#app > .global-header.app-shell-utility-header .global-nav-inner {
  grid-template-columns:minmax(0, 1fr) clamp(220px,22vw,300px) minmax(0, 1fr);
  column-gap:clamp(28px,3vw,48px);
}

#app > .global-header.app-shell-utility-header .topbar-actions {
  grid-column:3;
  justify-self:end;
}

/* The utility header belongs to the Shell, so its controls align to the
   viewport edge of the main column instead of inheriting the legacy centered
   max-width header container. Keep the controls present on tablet as well. */
@media (min-width:720px) {
  #app > .global-header.app-shell-utility-header .global-nav-inner {
    left:0;
    width:100%;
    max-width:none;
    padding:0 var(--app-shell-sidebar-padding);
    transform:none;
  }

  #app > .global-header.app-shell-utility-header .topbar-actions {
    display:flex;
    visibility:visible;
    opacity:1;
  }
}

/* Collapsed shell navigation stays legible: icon first, compact label below.
   The expanded desktop rail and mobile navigation keep their existing layout. */
@media (min-width:720px) {
  /* Wide Web sidebar typography and icon signal. */
  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-link,
  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-more-menu > summary,
  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-more-link {
    font-weight:560;
  }

  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-link.is-active,
  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-more-menu[open] > summary {
    font-weight:650;
  }

  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-icon {
    color:var(--global-nav-active);
  }

  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-link.is-active .app-shell-nav-icon,
  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-more-menu[open] .app-shell-nav-icon {
    color:var(--global-nav-active);
  }

  .app-shell[data-app-shell-mode='collapsed'] .app-shell-nav-link {
    flex-direction:column;
    justify-content:center;
    gap:3px;
    min-height:52px;
    padding:4px 3px;
    text-align:center;
  }

  .app-shell[data-app-shell-mode='collapsed'] .app-shell-nav-label {
    display:block;
    max-width:100%;
    overflow:hidden;
    font-size:9px;
    font-weight:750;
    line-height:1.05;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .app-shell[data-app-shell-mode='collapsed'] .app-shell-brand-logo {
    display:none;
  }

  .app-shell[data-app-shell-mode='collapsed'] .app-shell-brand-mark {
    display:grid;
  }
}

/* Touch-target pass, 2026-08-25. Keep the existing sidebar and mobile-nav
   geometry intact; only standalone header controls are brought to the shared
   44px interaction minimum. */
@media (min-width:720px) {
  #app > .global-header .account-nav-trigger.account-nav-guest,
  body.day-mode #app > .global-header .account-nav-trigger.account-nav-guest,
  body.night-mode #app > .global-header .account-nav-trigger.account-nav-guest {
    width:44px;
    min-width:44px;
    max-width:44px;
    height:44px;
    flex:0 0 44px;
    padding:0;
  }
  #app > .global-header .main-nav a,
  body.day-mode #app > .global-header .main-nav a,
  body.night-mode #app > .global-header .main-nav a,
  #app > .global-header .account-nav-trigger,
  body.day-mode #app > .global-header .account-nav-trigger,
  body.night-mode #app > .global-header .account-nav-trigger,
  #app > .global-header .night-hello-bell,
  #app > .global-header .account-dropdown a,
  #app > .global-header .account-dropdown-signout {
    min-height:44px;
  }

  #app > .global-header .night-hello-bell {
    width:44px;
    height:44px;
  }
}

@media (max-width:719px) {
  #app > .global-header .account-nav-trigger,
  body.day-mode #app > .global-header .account-nav-trigger,
  body.night-mode #app > .global-header .account-nav-trigger,
  #app > .global-header .account-nav-trigger:not(.account-nav-guest),
  body.day-mode #app > .global-header .account-nav-trigger:not(.account-nav-guest),
  body.night-mode #app > .global-header .account-nav-trigger:not(.account-nav-guest) {
    height:44px;
    min-height:44px;
  }
  #app > .global-header .account-nav-trigger.account-nav-guest,
  body.day-mode #app > .global-header .account-nav-trigger.account-nav-guest,
  body.night-mode #app > .global-header .account-nav-trigger.account-nav-guest {
    width:44px;
    min-width:44px;
    max-width:44px;
    flex:0 0 44px;
    padding:0;
  }
}

/* NITE TYPE campaign entries: isolated additions to the existing shell. */
.nite-entry-top,.nite-entry-card.nite-entry-mobile{display:none}
.nite-entry-card{position:relative;display:block;overflow:hidden;border:1px solid #eee6fc;border-radius:16px;background:#f1eaff;color:#17131d;text-decoration:none;isolation:isolate}
.nite-entry-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 26%;mask-image:linear-gradient(#000 20%,transparent 90%)}
.nite-entry-card::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#f1eaffd9,#f1eaff00)}
.nite-entry-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;height:100%;padding:16px 13px}
.nite-entry-card .nite-entry-kicker{font-size:10px;font-weight:850;letter-spacing:.11em;color:#684cff;line-height:1.4}
.nite-entry-title{font-size:22px;line-height:1.22;letter-spacing:-.04em;margin-top:auto;font-weight:850;color:#17131d}
.nite-entry-card .nite-entry-cta{display:inline-flex;align-items:center;gap:24px;font-size:12px;line-height:1.4;color:#fff;background:#684cff;padding:7px 12px;border-radius:30px;margin-top:10px;font-weight:700}
.nite-entry-cta b{color:#00ff09}
.nite-entry-sidebar-slot{padding:0 0 12px}
#app .nite-entry-side {
  display:grid; border:1px solid #dfd7ef; border-radius:14px; height:auto;
  background:#f6f2ff; color:#201833;
}
#app .nite-entry-side>img {
  position:static; width:100%; height:56px; object-fit:cover; object-position:center;
  mask-image:none; display:block;
}
#app .nite-entry-side::after { content:none; }
#app .nite-entry-side .nite-entry-copy { height:auto; gap:5px; padding:9px; min-width:0; }
#app .nite-entry-side .nite-entry-kicker,
#app .nite-entry-side .nite-entry-cta { color:#5332a2; font-size:11px; }
#app .nite-entry-side .nite-entry-kicker {
  max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; letter-spacing:.05em;
}
#app .nite-entry-side .nite-entry-title {
  color:inherit; font-size:14px; line-height:1.32; margin:0; overflow-wrap:anywhere;
  overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
}
#app .nite-entry-side .nite-entry-cta {
  margin:0; padding:0; background:transparent; max-width:100%; overflow:hidden; overflow-wrap:anywhere;
  gap:6px; border-radius:0; line-height:1.4;
}
#app .nite-entry-side .nite-entry-cta b { color:inherit; }
body.night-mode #app .nite-entry-side { background:#211a32; border-color:#423656; color:#faf6ff; }
body.night-mode #app .nite-entry-side .nite-entry-kicker,
body.night-mode #app .nite-entry-side .nite-entry-cta { color:#cfb8ff; }
.nite-entry-description{font-size:11px;line-height:1.5;color:#7b7088;margin-top:7px}
.nite-entry-card:focus-visible,.nite-entry-top:focus-visible{outline:3px solid #00df09;outline-offset:3px}
@media(min-width:720px){
  #app>.global-header.app-shell-utility-header .nite-entry-top{display:flex;align-items:center;gap:14px;grid-column:1;grid-row:1;justify-self:start;min-height:40px;max-width:100%;color:#68557e;font-size:13px;white-space:nowrap;text-decoration:none}
  .nite-entry-top>span:first-child{font-size:10px;font-weight:850;letter-spacing:.08em;border-right:1px solid #d8cdea;padding-right:14px;color:#684cff}
  .global-header .nite-entry-top strong{font-size:12px;color:#684cff}
  .nite-entry-top:hover strong{text-decoration:underline}
  body.night-mode #app>.global-header.app-shell-utility-header .nite-entry-top{color:#ddd1f5}
  body.night-mode .nite-entry-top>span:first-child,body.night-mode .nite-entry-top strong{color:#b7a4ff}
  .app-shell[data-app-shell-mode='collapsed'] .nite-entry-sidebar-slot{padding:0 5px 16px}
  #app .app-shell[data-app-shell-mode='collapsed'] .nite-entry-side{height:auto;min-height:60px;border-radius:12px}
  #app .app-shell[data-app-shell-mode='collapsed'] .nite-entry-side>img,
  #app .app-shell[data-app-shell-mode='collapsed'] .nite-entry-side .nite-entry-title,
  #app .app-shell[data-app-shell-mode='collapsed'] .nite-entry-side .nite-entry-cta b{display:none}
  #app .app-shell[data-app-shell-mode='collapsed'] .nite-entry-side .nite-entry-copy{padding:10px 3px;align-items:center}
  #app .app-shell[data-app-shell-mode='collapsed'] .nite-entry-side .nite-entry-kicker{font-size:8px;letter-spacing:0}
  #app .app-shell[data-app-shell-mode='collapsed'] .nite-entry-side .nite-entry-cta{padding:4px 7px;font-size:10px;margin-top:6px}
}
@media(min-width:720px) and (max-width:900px){#app>.global-header.app-shell-utility-header .nite-entry-top{gap:8px;font-size:11px}.nite-entry-top>span:first-child{padding-right:8px;font-size:9px}}
@media(max-width:719px){
  .nite-entry-sidebar-slot{display:none}
  .home-city-pulse>.nite-entry-mobile, [data-night-tab-panel="city"] [data-community-city]>.nite-entry-mobile{display:block;height:188px;margin:18px 16px 0;border-radius:20px;background:#f4efff}
  .nite-entry-mobile>img{left:42%;width:58%;object-position:42% 30%;mask-image:linear-gradient(90deg,transparent,#000 35%)}
  .nite-entry-mobile .nite-entry-copy{padding:20px}
  .nite-entry-mobile .nite-entry-title{font-size:24px;line-height:1.18;margin-top:10px}
  .nite-entry-mobile .nite-entry-cta{margin-top:13px;padding:7px 14px}
}

/* Local control feedback never moves page frames or fixed navigation. */
@media (prefers-reduced-motion:no-preference) {
body button.primary,
body a.primary,
body button.secondary,
body a.secondary,
body .chips button,
body [data-tonight-filter],
body [data-tonight-phase],
body [data-place-save],
body .venue-share-actions button,
body .moment-share-actions button,
body .night-score-share-actions button {
  transition:scale var(--motion-feedback) var(--motion-ease), background-color var(--motion-feedback) ease, color var(--motion-feedback) ease;
}
body button.primary:active:not(:disabled):not([aria-disabled="true"]),
body a.primary:active:not(:disabled):not([aria-disabled="true"]),
body button.secondary:active:not(:disabled):not([aria-disabled="true"]),
body a.secondary:active:not(:disabled):not([aria-disabled="true"]),
body .chips button:active:not(:disabled):not([aria-disabled="true"]),
body [data-tonight-filter]:active:not(:disabled):not([aria-disabled="true"]),
body [data-tonight-phase]:active:not(:disabled):not([aria-disabled="true"]),
body [data-place-save]:active:not(:disabled):not([aria-disabled="true"]),
body .venue-share-actions button:active:not(:disabled):not([aria-disabled="true"]),
body .moment-share-actions button:active:not(:disabled):not([aria-disabled="true"]),
body .night-score-share-actions button:active:not(:disabled):not([aria-disabled="true"]) {
  scale:.98;
  transition-duration:var(--motion-press);
}
}
/* Native display transitions retain the existing hidden/focus lifecycle.
   Unsupported browsers keep their immediate open/close behavior. */
@supports (transition-behavior:allow-discrete) {
body .venue-share-modal,
body .schedule-share-modal,
body .moment-share-modal,
body .night-score-share-modal,
body .account-modal {
  opacity:1;
  transition:opacity 200ms var(--motion-ease), display 200ms allow-discrete;
}
body .venue-share-modal[hidden],
body .schedule-share-modal[hidden],
body .moment-share-modal[hidden],
body .night-score-share-modal[hidden],
body .account-modal[hidden] {
  opacity:0;
  pointer-events:none;
  transition-duration:140ms;
}
body .venue-share-sheet,
body .schedule-share-sheet,
body .moment-share-sheet,
body .night-score-share-sheet,
body .account-sheet {
  translate:0 0;
  transition:translate 200ms var(--motion-ease);
}
body .venue-share-modal[hidden] > .venue-share-sheet,
body .schedule-share-modal[hidden] > .schedule-share-sheet,
body .moment-share-modal[hidden] > .moment-share-sheet,
body .night-score-share-modal[hidden] > .night-score-share-sheet,
body .account-modal[hidden] > .account-sheet {
  translate:0 8px;
  transition-duration:140ms;
}
@starting-style {
body .venue-share-modal:not([hidden]),
body .schedule-share-modal:not([hidden]),
body .moment-share-modal:not([hidden]),
body .night-score-share-modal:not([hidden]),
body .account-modal:not([hidden]) { opacity:0; }
body .venue-share-sheet,
body .schedule-share-sheet,
body .moment-share-sheet,
body .night-score-share-sheet,
body .account-sheet { translate:0 8px; }
}
}

/* A cold discovery visit must not announce zero venues as a completed result. */
.discovery-content-status { padding:24px; min-height:360px; }
.discovery-content-status > p { margin:0 0 20px; color:var(--muted); }
.discovery-placeholder-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.discovery-placeholder-grid > span { display:block; height:160px; border-radius:20px; background:var(--oonite-placeholder-surface,#e7e5eb); }
body.night-mode .discovery-placeholder-grid { --oonite-placeholder-surface:#25252b; }
@media (max-width:719px) {
  .discovery-content-status { padding:16px; }
  .discovery-placeholder-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
}

/* Shared image reveal must also exist on a direct My Night visit. */
@keyframes oonite-image-reveal { from { opacity:.65; } to { opacity:1; } }

/* Shared Check in recovery card, across all entry routes. */
#app .night-action-sheet .night-checkin-sheet:has(.checkin-discovery-state) {
  background:linear-gradient(155deg,#f3eeff,#faf8ff 70%);
  padding:36px 24px 24px;
}
#app .checkin-discovery-state { display:block; text-align:center; padding:8px 0 0; color:#201936; }
#app .checkin-discovery-state h2 { color:inherit; font-weight:800; max-width:330px; margin:12px auto; font-size:clamp(24px,5vw,30px); line-height:1.15; letter-spacing:-.035em; }
#app .checkin-discovery-state .checkin-state-kicker { margin:20px 0 0; color:#684cff; font-size:10px; font-weight:800; letter-spacing:.13em; }
#app .checkin-discovery-state .checkin-state-copy { max-width:340px; margin:0 auto 22px; color:#777086; font-size:14px; line-height:1.6; }
#app .checkin-presence-art { position:relative; width:144px; height:128px; margin:0 auto; isolation:isolate; }
#app .checkin-presence-art > span { position:absolute; top:16px; width:80px; height:96px; transform-origin:center 75%; animation:checkin-presence-exchange 4.8s cubic-bezier(.45,0,.2,1) infinite; }
#app .checkin-presence-art svg { display:block; width:80px; height:96px; }
#app .checkin-presence-pin { left:18px; color:#684cff; }
#app .checkin-presence-art .checkin-presence-person { right:12px; color:#b4a6e4; animation-delay:-2.4s; }
@keyframes checkin-presence-exchange {
  0%,10%,100% { transform:translate(-10px,-7px) scale(.82); opacity:.38; z-index:0; }
  40%,60% { transform:translate(7px,7px) scale(1); opacity:1; z-index:1; }
}
@media(prefers-reduced-motion:reduce) {
  #app .checkin-presence-art > span { animation:none; }
  #app .checkin-presence-art .checkin-presence-person { transform:translate(8px,-5px) scale(.85); opacity:.5; z-index:-1; }
}
#app .checkin-nearest { display:grid; gap:5px; padding:15px; margin:0 0 20px; border:1px solid #684cff18; border-radius:16px; text-align:left; background:#ffffff65; }
#app .checkin-nearest > span { color:#817497; font-size:9px; font-weight:800; letter-spacing:.1em; }
#app .checkin-nearest strong { font-size:15px; overflow-wrap:anywhere; }
#app .checkin-nearest small { color:#777086; font-size:11px; }
#app .checkin-state-actions { display:flex; align-items:center; gap:18px; }
#app .checkin-state-actions button,#app .checkin-state-actions a { display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; margin:0; padding:12px 18px; border:0; border-radius:14px; font-size:14px; font-weight:750; text-decoration:none; }
#app .checkin-state-actions button { flex:1; min-width:0; background:#684cff; color:#fff; }
#app .checkin-state-actions button span { color:#00ff09; }
#app .checkin-state-actions a { flex:0 0 auto; background:transparent; color:#777086; padding:12px 4px; font-size:12px; font-weight:500; }
body.night-mode #app .night-action-sheet .night-checkin-sheet:has(.checkin-discovery-state) { background:linear-gradient(155deg,#29213c,#18171e 75%); }
body.night-mode #app .checkin-discovery-state { color:#f6f2ff; }
body.night-mode #app .checkin-discovery-state .checkin-state-copy,body.night-mode #app .checkin-nearest small { color:#b9b0c9; }
body.night-mode #app .checkin-nearest { background:#ffffff05; border-color:#aa8fff26; }
body.night-mode #app .checkin-state-actions a { color:#a89eb9; }
body.night-mode #app .checkin-discovery-state .checkin-state-kicker { color:#b5a2ff; }
@media(max-width:430px) { #app .night-action-sheet .night-checkin-sheet:has(.checkin-discovery-state) { padding:30px 20px 20px; } }

/* The native Check-in sheet is mounted directly under body, outside #app.
   Keep its illustrated state sized and animated there as well. */
.night-action-sheet .checkin-discovery-state{display:block;text-align:center;padding:8px 0 0;color:#201936}
.night-action-sheet .checkin-discovery-state h2{max-width:330px;margin:12px auto;color:inherit;font-size:clamp(24px,5vw,30px);font-weight:800;line-height:1.15;letter-spacing:-.035em}
.night-action-sheet .checkin-discovery-state .checkin-state-kicker{margin:20px 0 0;color:#684cff;font-size:10px;font-weight:800;letter-spacing:.13em}
.night-action-sheet .checkin-discovery-state .checkin-state-copy{max-width:340px;margin:0 auto 22px;color:#777086;font-size:14px;line-height:1.6}
.night-action-sheet .checkin-presence-art{position:relative;width:144px;height:128px;margin:0 auto;isolation:isolate}
.night-action-sheet .checkin-presence-art>span{position:absolute;top:16px;width:80px;height:96px;transform-origin:center 75%;animation:checkin-presence-exchange 4.8s cubic-bezier(.45,0,.2,1) infinite}
.night-action-sheet .checkin-presence-art svg{display:block;width:80px!important;height:96px!important}
.night-action-sheet .checkin-presence-pin{left:18px;color:#684cff}
.night-action-sheet .checkin-presence-art .checkin-presence-person{right:12px;color:#b4a6e4;animation-delay:-2.4s}
.night-action-sheet .checkin-nearest{display:grid;gap:5px;width:min(100%,360px);box-sizing:border-box;margin:0 auto 20px;padding:15px;border:1px solid #684cff18;border-radius:16px;background:#ffffff65;text-align:left}
.night-action-sheet .checkin-nearest>span{color:#817497;font-size:9px;font-weight:800;letter-spacing:.1em}
.night-action-sheet .checkin-nearest strong{min-width:0;color:inherit;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.night-action-sheet .checkin-nearest small{color:#777086;font-size:11px;line-height:1.45}
.night-action-sheet .checkin-state-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.night-action-sheet .checkin-state-actions .primary{width:auto;min-width:150px;margin:0;background:#684cff;color:#fff}
.night-action-sheet .checkin-state-actions a{display:inline-flex;min-height:44px;align-items:center;padding:0 14px;color:#684cff;font-weight:750;text-decoration:none}
.night-action-sheet .night-checkin-sheet:has(.checkin-discovery-loading){background:linear-gradient(155deg,#f3eeff,#faf8ff 70%)}
.night-action-sheet .checkin-discovery-loading{padding:8px 0 12px}
.night-action-sheet .checkin-discovery-loading .checkin-state-kicker{width:100%;text-align:center}
.night-action-sheet .checkin-discovery-loading .checkin-state-copy{margin-bottom:18px}
.night-action-sheet .checkin-loading-track{position:relative;display:block;width:112px;height:4px;margin:0 auto 8px;overflow:hidden;border-radius:999px;background:rgba(104,76,255,.16)}
.night-action-sheet .checkin-loading-track::after{content:"";position:absolute;inset:0;width:46%;border-radius:inherit;background:#684cff;animation:checkin-loading-sweep 1.45s ease-in-out infinite alternate}
@keyframes checkin-loading-sweep{to{transform:translateX(118%)}}
.night-action-sheet .checkin-discovery-loading .checkin-state-actions{margin-top:18px}
body.night-mode .night-action-sheet .checkin-discovery-state{color:#f6f2ff}
body.night-mode .night-action-sheet .night-checkin-sheet:has(.checkin-discovery-loading){background:linear-gradient(155deg,#29213c,#18171e 75%)}
body.night-mode .night-action-sheet .checkin-discovery-loading .checkin-presence-pin{color:#a58cff}
body.night-mode .night-action-sheet .checkin-discovery-state .checkin-state-kicker{color:#b5a2ff}
body.night-mode .night-action-sheet .checkin-discovery-state .checkin-state-copy,
body.night-mode .night-action-sheet .checkin-nearest small{color:#b9b0c9}
body.night-mode .night-action-sheet .checkin-nearest{border-color:#aa8fff26;background:#ffffff05}
@media(prefers-reduced-motion:reduce){.night-action-sheet .checkin-presence-art>span{animation:none}.night-action-sheet .checkin-presence-art .checkin-presence-person{transform:translate(8px,-5px) scale(.85);opacity:.5;z-index:-1}.night-action-sheet .checkin-loading-track::after{animation:none;width:100%}}

.footer-legal-links{display:flex;gap:8px;flex-wrap:wrap;padding:20px 0;font-size:13px;color:var(--muted,#979797)}
.topbar-search-action{display:none;place-items:center;width:44px;height:44px;flex:0 0 44px;color:var(--oonite-color-purple-bright,#684cff);text-decoration:none}
.topbar-search-action svg{fill:none;stroke:#684cff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.topbar-search-form{display:block;width:100%;min-width:0;grid-column:2;justify-self:center}
.topbar-search-form label{display:flex;height:36px;align-items:center;gap:8px;border:1px solid rgba(104,76,255,.16);border-radius:12px;padding:0 12px;background:rgba(255,255,255,.72);color:#716a7d}
.topbar-search-form svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8}
.topbar-search-form input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#211c29;font:inherit;font-size:12px}
body.night-mode .topbar-search-form label{border-color:rgba(183,164,255,.2);background:rgba(255,255,255,.07);color:#aaa0b7}
body.night-mode .topbar-search-form input{color:#f4f1f8}
@media(max-width:719px){.topbar-search-form{display:none}.topbar-search-action{display:grid}}
/* One top inset for the controls and the route content below them. */
@media (max-width:719px) {
  :root:not([data-native-platform="ios"]) {
    --oonite-web-phone-header-gap:8px;
    --oonite-app-header-bottom:calc(var(--oonite-app-topbar-height) + var(--oonite-safe-area-top) + var(--oonite-web-phone-header-gap));
    --oonite-app-content-top:calc(var(--oonite-app-header-bottom) + var(--oonite-app-standard-gap));
    --oonite-app-root-content-top:calc(var(--oonite-app-header-bottom) + 20px);
    --oonite-app-root-hero-top:calc(var(--oonite-app-header-bottom) + 32px);
  }
  :root:not([data-native-platform="ios"]) #app > .global-header {
    box-sizing:border-box;
    height:var(--oonite-app-header-bottom);
    min-height:var(--oonite-app-header-bottom);
    padding-top:calc(var(--oonite-safe-area-top) + var(--oonite-web-phone-header-gap));
  }
}

/* Phone Web shares the iOS route-owned Header; desktop keeps its existing shell. */
@media (max-width:719px) {
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] {
    border:0;box-shadow:none;background:transparent;isolation:isolate;
  }
  :root:not([data-native-platform="ios"]) body.night-mode #app > .global-header[data-header-pilot="true"] {
    background:transparent;
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .global-nav-inner {
    display:flex;width:100%;padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-navigation {
    display:grid;width:100%;height:52px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-actions {
    display:flex;align-items:center;justify-content:flex-end;gap:4px;
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-control,
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-spacer {
    display:grid;width:44px;height:44px;min-width:44px;place-items:center;border:0;border-radius:50%;padding:0;
    background:transparent;color:var(--oonite-header-action-ink,#684cff);text-decoration:none;
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-spacer { visibility:hidden; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-title {
    display:flex;min-width:0;align-items:center;gap:8px;overflow:hidden;color:var(--account-text,#171719);
    font-size:22px;font-weight:820;line-height:1.2;text-overflow:ellipsis;white-space:nowrap;
  }
  :root:not([data-native-platform="ios"]) body.night-mode #app > .global-header[data-header-pilot="true"] .header-pilot-title { color:#fff; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-chevron,
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-share,
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-plus {
    fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-more circle { fill:currentColor; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] .header-pilot-bookmark { fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="context"] .header-pilot-navigation { grid-template-columns:minmax(0,1fr) 44px; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="context"] .header-pilot-leading { display:none; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="context"] .header-pilot-title { grid-column:1; }
  :root:not([data-native-platform="ios"]) #app > .global-header h1.header-pilot-title { margin:0; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .topbar-brand .brand-logo { width:124px;max-width:34vw;max-height:30px; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .topbar-actions { gap:8px; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .night-hello-bell { display:grid; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .account-nav .night-hello-bell { display:none; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"][data-header-page="account"] .topbar-search-action { display:none; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .account-nav-menu-only .account-nav-menu-glyph { display:grid;color:#684cff; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .account-nav-menu-only .account-nav-menu-glyph svg {
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .account-nav-menu-only .account-nav-avatar { display:none; }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .account-nav-trigger.account-nav-menu-only,
  :root:not([data-native-platform="ios"]) body.day-mode #app > .global-header[data-header-variant="brand"] .account-nav-trigger.account-nav-menu-only,
  :root:not([data-native-platform="ios"]) body.night-mode #app > .global-header[data-header-variant="brand"] .account-nav-trigger.account-nav-menu-only {
    width:44px;
    min-width:44px;
    max-width:44px;
    justify-content:center;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:var(--luca-purple,#684cff);
    -webkit-text-fill-color:var(--luca-purple,#684cff);
  }
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .account-nav-trigger.account-nav-menu-only:hover,
  :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="brand"] .account-nav-trigger.account-nav-menu-only:focus-visible { background:transparent; }
}
/* iOS edge Back moves only the live route/presentation surface. Navigation is
   still committed by the shared requestBack contract after the gesture. */
.oonite-edge-back-active {
  transform: translate3d(var(--oonite-edge-back-x, 0), 0, 0) !important;
  box-shadow: -18px 0 30px rgba(16, 12, 34, calc(.16 * var(--oonite-edge-back-progress, 0)));
  will-change: transform;
}

.oonite-edge-back-host {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  /* Route classes coexist during the swipe. Keep the revealed page's own
     canvas on the host even when the Detail route styles target #app. */
  background:var(--oonite-edge-source-canvas,var(--oonite-edge-reveal-surface,#f8f7fb))!important;
}
/* Venue Detail deliberately makes #app transparent so its purple body canvas
   shows through. During Edge Back the retained source owns that same host. */
:root[data-native-platform="ios"] body #app.oonite-edge-back-host {
  background:var(--oonite-edge-source-canvas,var(--oonite-edge-reveal-surface,#f8f7fb))!important;
}

.oonite-edge-back-retained-source-node{
  position:fixed!important;
  top:var(--oonite-edge-source-top,0)!important;
  left:var(--oonite-edge-source-left,0)!important;
  width:var(--oonite-edge-source-width,100%)!important;
  height:var(--oonite-edge-source-height,100dvh)!important;
  margin:0!important;
  z-index:0!important;
  pointer-events:none!important;
  transform:translate3d(var(--oonite-edge-source-x,-28px),0,0);
  will-change:transform;
}
.oonite-edge-back-retained-source-node:is(main,article,section){
  min-height:0;
  overflow:visible;
}
.oonite-edge-back-source-dim{
  position:fixed;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:#000;
  opacity:var(--oonite-edge-source-dim,.12);
}
.oonite-edge-back-foreground-backdrop{
  position:fixed;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:var(--oonite-edge-detail-canvas,var(--oonite-edge-reveal-surface,#f8f7fb));
  opacity:1!important;
  contain:paint;
}
.oonite-edge-back-foreground-node{z-index:3!important}
.oonite-edge-back-suspended-foreground{visibility:hidden!important;pointer-events:none!important}
#app .oonite-edge-route-surface{
  z-index:3!important;
  background-color:var(--oonite-edge-detail-canvas,transparent)!important;
}
/* WAAPI owns the last-frame fade of a zooming Detail. An important opacity
   here kept that card fully opaque until DOM removal, producing a one-frame
   leftover Detail/background flash over the restored source page. */
.oonite-edge-route-surface:not(.oonite-route-zoom-surface){opacity:1!important}
.oonite-edge-back-active{z-index:3!important}
.oonite-edge-route-surface.oonite-edge-back-active{
  z-index:3!important;
  opacity:1!important;
}
.oonite-edge-back-positioned-surface{position:relative!important}
.oonite-edge-back-source-settling{
  transition:transform 170ms cubic-bezier(.22,.72,.2,1)!important;
}
.oonite-edge-back-dim-settling{
  transition:opacity 170ms ease!important;
}

body.night-mode .oonite-edge-back-host {
  --oonite-edge-reveal-surface:#111114;
}

.oonite-sheet-drag-active {
  transform:translate3d(0,var(--oonite-sheet-drag-y,0),0)!important;
  transition:none!important;
  will-change:transform;
  touch-action:none;
}

.oonite-sheet-drag-settling {
  transform:translate3d(0,var(--oonite-sheet-drag-y,0),0)!important;
  transition:transform 180ms cubic-bezier(.22,.72,.2,1)!important;
}

@media(max-width:719px) {
  .nearby-reply-sheet::before,
  .night-checkin-sheet::before,
  .header-action-sheet::before,
  .community-report-sheet::before,
  .moment-share-sheet::before,
  .night-score-share-sheet::before,
  .venue-share-sheet::before,
  .schedule-share-sheet::before,
  [data-night-time-picker] > section::before {
    content:"";
    position:absolute;
    z-index:3;
    top:7px;
    left:50%;
    width:34px;
    height:4px;
    border-radius:999px;
    background:rgba(125,121,134,.34);
    transform:translateX(-50%);
    pointer-events:none;
  }
}

.oonite-edge-back-settling {
  transition: transform 170ms cubic-bezier(.22, .72, .2, 1), box-shadow 170ms ease !important;
}

html.oonite-edge-back-gesture-active,
html.oonite-edge-back-gesture-active body {
  user-select: none;
  -webkit-user-select: none;
}

html.oonite-route-scroll-restoring #app,
html.oonite-route-scroll-restoring .app-shell-main-content,
html.oonite-route-scroll-restoring [data-oonite-page-frame='true'] {
  overflow-anchor:none!important;
}

@media (prefers-reduced-motion: reduce) {
  .oonite-edge-back-settling,
  .oonite-edge-back-source-settling,
  .oonite-edge-back-dim-settling {
    transition-duration: 1ms !important;
  }
}
/* One send contract across Venue Room, Nearby replies, community comments,
   Say Hi and Night Hello. Layout owners keep their existing composer shape;
   only the compact action and arrow-to-check result state are shared. */
button.oonite-send-action{
  position:relative!important;
  display:grid!important;
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:50%!important;
  background:#6439fc!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  place-items:center!important;
}
button.oonite-send-action::after{
  content:""!important;
  grid-area:1/1;
  width:18px;
  height:18px;
  box-sizing:border-box;
  border:2px solid rgba(255,255,255,.38);
  border-top-color:#fff;
  border-radius:50%;
  opacity:0;
  transform:scale(.7);
  pointer-events:none;
}
button.oonite-send-action svg{
  grid-area:1/1;
  width:22px;
  height:22px;
  opacity:1!important;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .18s ease,opacity .18s ease!important;
}
button.oonite-send-action svg,
button.oonite-send-action svg path{
  color:#fff!important;
  fill:none!important;
  stroke:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
button.oonite-send-action .oonite-send-check{opacity:0!important;transform:scale(.55)}
button.oonite-send-action:is(.is-success,.is-result-success) .oonite-send-arrow{opacity:0!important;transform:scale(.55)}
button.oonite-send-action:is(.is-success,.is-result-success) .oonite-send-check{opacity:1!important;transform:scale(1)}
button.oonite-send-action.is-busy .oonite-send-arrow,
button.oonite-send-action.is-busy .oonite-send-check{opacity:0!important;transform:scale(.55)}
button.oonite-send-action.is-busy::after{opacity:1;transform:scale(1);animation:oonite-send-spin .72s linear infinite}
/* The send control has its own centered SVG check; suppress the generic result glyph. */
button.oonite-send-action.is-result-success::after{
  content:""!important;
  opacity:0!important;
  animation:none!important;
}
button.oonite-send-action:disabled{cursor:wait}
@keyframes oonite-send-spin{to{transform:scale(1) rotate(360deg)}}

/* iOS-style card-to-detail zoom. The live Detail page is the animated
   surface; its cover is never cloned as a separate flying image. */
html.oonite-route-zoom-active{overflow:hidden!important}
.oonite-route-zoom-pending{
  visibility:hidden!important;
}
.oonite-route-zoom-surface{
  z-index:4!important;
  overflow:hidden!important;
  transform-origin:top left!important;
  contain:layout paint style;
  isolation:isolate;
  will-change:transform,clip-path;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.oonite-route-zoom-companion{
  transform-origin:top left!important;
  will-change:transform;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.oonite-route-zoom-surface *,
.oonite-route-zoom-surface *::before,
.oonite-route-zoom-surface *::after{
  animation-play-state:paused!important;
  transition:none!important;
}
.oonite-route-zoom-surface *{
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
/* Mobile Web keeps actions in the route header's More menu. The original
   controls stay mounted so the existing handlers can still serve the menu. */
@media(max-width:719px){
  body.moment-route .moment-detail-page [data-moment-detail-close]{display:none!important}
  :root:not([data-native-platform="ios"]) body.moment-route .moment-detail-page .moment-owner-actions,
  :root:not([data-native-platform="ios"]) body.night-card-route .night-card-detail-page .night-detail-owner-actions,
  :root:not([data-native-platform="ios"]) body.moment-route .moment-detail-page .moment-report-action,
  :root:not([data-native-platform="ios"]) body.night-card-route .night-card-detail-page .night-report-card-button,
  :root:not([data-native-platform="ios"]) body.night-card-route .night-card-detail-page .night-detail-generate-share,
  :root:not([data-native-platform="ios"]) body.public-profile-route .public-profile-share,
  :root:not([data-native-platform="ios"]) body.public-profile-route .public-profile-report,
  :root:not([data-native-platform="ios"]) body.public-profile-route .contact-settings-entry,
  :root:not([data-native-platform="ios"]) body.place-route .venue-detail-page .share-place{display:none!important}
  body.night-card-route .night-card-management-page .night-archive-owner-actions:not(:has(.night-card-edit-form:not([hidden]))){display:none!important}
}
/* A captured card owns the route entrance. Keep the older generic Detail
   animation only for deep links/notifications that have no source card. */
body.night-card-route #app > .night-card-detail-page.oonite-route-zoom-owned,
body.moment-route #app > .moment-detail-page.oonite-route-zoom-owned{
  animation:none!important;
}
body.night-card-route #app > .night-card-detail-page.oonite-route-zoom-owned .night-detail-image,
body.moment-route #app > .moment-detail-page.oonite-route-zoom-owned .moment-detail-gallery.is-image-loaded,
body.moment-route #app > .moment-detail-page.oonite-route-zoom-owned .moment-detail-gallery.is-image-error{
  animation:none!important;
}

@media (prefers-reduced-motion:reduce){
  .oonite-route-zoom-surface{transform:none!important;clip-path:none!important}
  .global-upload-complete-mark{animation:none!important}
}

/* Web Mobile uses the same primary information architecture as iOS while
   keeping browser-owned safe areas and sheet presentation. */
@media (max-width:719px) {
  :root:not([data-native-platform="ios"]) #app > .global-mobile-nav.native-bottom-navigation {
    grid-template-columns:minmax(0,1fr) 48px;
    gap:8px;
    width:min(354px,calc(100% - 20px));
    height:52px;
    padding:0;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs {
    position:relative;
    display:grid;
    grid-template-columns:repeat(var(--native-bottom-tab-count,4),minmax(0,1fr));
    width:100%;
    height:52px;
    align-items:center;
    padding:4px;
    border:1px solid rgba(104,76,255,.1);
    border-radius:999px;
    background:rgba(255,255,255,.94);
    box-shadow:0 14px 36px rgba(36,26,86,.16);
    -webkit-backdrop-filter:blur(20px) saturate(145%);
    backdrop-filter:blur(20px) saturate(145%);
    box-sizing:border-box;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-selection {
    position:absolute;
    z-index:0;
    top:4px;
    bottom:4px;
    left:4px;
    width:calc((100% - 8px)/var(--native-bottom-tab-count,4));
    border-radius:999px;
    background:rgba(104,76,255,.11);
    pointer-events:none;
    transform:translate3d(calc(var(--native-bottom-active-index,0)*100%),0,0);
    transition:transform .2s cubic-bezier(.2,.8,.2,1);
  }

  :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-tabs {
    border-color:rgba(255,255,255,.1);
    background:rgba(22,21,27,.92);
    box-shadow:0 16px 38px rgba(0,0,0,.42);
  }

  :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-selection {
    background:rgba(139,112,255,.2);
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a,
  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a[href^="/my-night"] {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-rows:23px 12px;
    width:100%;
    height:44px;
    min-width:0;
    align-content:center;
    justify-items:center;
    gap:1px;
    padding:3px 2px 2px;
    border-radius:999px;
    background:transparent;
    box-shadow:none;
    color:var(--global-nav-mobile-idle,#b7a8f8);
    text-decoration:none;
    transform:none;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a.active {
    color:var(--luca-purple,#684cff);
  }

  :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-tabs a {
    color:var(--global-nav-mobile-idle,#b7a8f8);
  }

  :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-tabs a.active {
    color:#b5a2ff;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-nav-icon {
    display:grid;
    width:22px;
    height:22px;
    place-items:center;
    color:inherit;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-nav-icon svg {
    display:block;
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.85;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-nav-icon svg.mobile-nav-solid-icon {
    fill:currentColor;
    stroke:none;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .nav-text-wordmark,
  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation a[href^="/my-night"] .nav-text-wordmark {
    display:block;
    max-width:100%;
    overflow:hidden;
    color:inherit;
    font-size:9px;
    font-weight:750;
    line-height:12px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a .native-bottom-nav-icon,
  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a .nav-text-wordmark {
    color:inherit;
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a:active {
    background:rgba(104,76,255,.16);
    transform:scale(.97);
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-create-button {
    display:grid;
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    place-items:center;
    padding:0;
    border:0;
    border-radius:50%;
    background:#6439fc;
    color:#fff;
    box-shadow:0 15px 32px rgba(100,57,252,.34);
  }

  :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-create-button svg {
    width:25px;
    height:25px;
    fill:none;
    stroke:currentColor;
    stroke-width:2.2;
    stroke-linecap:round;
    transition:transform .2s ease;
  }

  :root:not([data-native-platform="ios"]).native-create-hub-open #app > .native-bottom-navigation .native-create-button svg,
  :root:not([data-native-platform="ios"]) body.native-create-hub-open #app > .native-bottom-navigation .native-create-button svg {
    transform:rotate(45deg);
  }

  :root:not([data-native-platform="ios"]) body.my-night-route .my-night-route-page .night-checkin-fab {
    display:none!important;
  }

}

/* Web Create Hub: one action stack and availability state across all widths. */
  :root:not([data-native-platform="ios"]).native-create-hub-open,
  :root:not([data-native-platform="ios"]) body.native-create-hub-open {
    overflow:hidden;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub {
    position:fixed;
    z-index:2200;
    inset:0;
    display:block;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub.is-open {
    opacity:1;
    pointer-events:auto;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub.is-closing {
    pointer-events:none;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub[hidden] {
    display:none;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-backdrop {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    padding:0;
    border:0;
    border-radius:0;
    background:rgba(12,10,18,.58);
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-sheet {
    position:absolute;
    right:max(10px,env(safe-area-inset-right));
    bottom:calc(max(16px,env(safe-area-inset-bottom)) + 62px);
    display:grid;
    gap:8px;
    width:min(280px,calc(100% - 32px));
    max-height:calc(100dvh - 96px);
    padding:0;
    overflow:auto;
    border:0;
    background:transparent;
    color:#1d1b22;
    box-shadow:none;
    transform:translateY(10px);
    transition:transform .2s ease;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub.is-open .native-create-hub-sheet {
    transform:translateY(0);
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-sheet > header {
    display:flex;
    justify-content:flex-end;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-close {
    width:38px;
    height:38px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#f0edf5;
    color:#2e2934;
    font-size:24px;
    line-height:1;
  }

  :root:not([data-native-platform="ios"]) body.night-mode .native-create-hub-close {
    background:#343139;
    color:#fff;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-options {
    display:grid;
    gap:10px;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option {
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    gap:10px;
    width:100%;
    min-height:58px;
    align-items:center;
    padding:8px 12px;
    border:1px solid #e7e2ed;
    border-radius:24px;
    background:#fff;
    color:#201c27;
    text-align:left;
    box-sizing:border-box;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option.is-checkin {
    border-color:transparent;
    background:linear-gradient(135deg,#704cff 0%,#5a32ef 100%);
    color:#fff;
    box-shadow:0 12px 28px rgba(104,76,255,.24);
  }

  :root:not([data-native-platform="ios"]) body.night-mode .native-create-hub-option {
    border-color:#403b48;
    background:#2b2930;
    color:#fff;
  }

  :root:not([data-native-platform="ios"]) body.night-mode .native-create-hub-option.is-checkin {
    border-color:transparent;
    background:linear-gradient(135deg,#7656ff 0%,#5935df 100%);
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option:disabled {
    opacity:.72;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option-icon {
    display:grid;
    width:38px;
    height:38px;
    place-items:center;
    border-radius:14px;
    background:#f0ebff;
    color:#6439fc;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option.is-checkin .native-create-hub-option-icon {
    background:rgba(255,255,255,.16);
    color:#fff;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option-icon svg {
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option > span:last-child {
    display:grid;
    gap:3px;
    min-width:0;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option strong {
    font-size:14px;
    line-height:1.2;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option small {
    color:#79727f;
    font-size:11px;
    line-height:1.3;
  }

  :root:not([data-native-platform="ios"]) .native-create-hub-option.is-checkin small {
    color:rgba(255,255,255,.76);
  }

  :root:not([data-native-platform="ios"]) body.night-mode .native-create-hub-option small {
    color:#aaa4b0;
  }
@media (min-width:720px) {
  :root:not([data-native-platform="ios"]) .native-create-hub-sheet {
    top:50%;
    right:auto;
    bottom:auto;
    left:50%;
    width:min(360px,calc(100% - 48px));
    max-height:calc(100dvh - 48px);
    transform:translate(-50%,calc(-50% + 10px));
  }

  :root:not([data-native-platform="ios"]) .native-create-hub.is-open .native-create-hub-sheet {
    transform:translate(-50%,-50%);
  }
}

/* Scheduled interactive launch campaigns render after the fast static boot
   canvas, so Web/PWA and iOS can share live copy, artwork and destinations. */
body.site-launch-campaign-open{overflow:hidden}
.site-launch-campaign{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:#08070b;color:#fff;isolation:isolate}
.site-launch-campaign::before{content:"";position:absolute;z-index:-2;inset:0;background:linear-gradient(180deg,rgba(6,5,9,.06) 22%,rgba(6,5,9,.9) 88%),var(--site-launch-image,linear-gradient(135deg,#24194a,#09080d 58%,#18361d)) center/cover no-repeat}
.site-launch-campaign::after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 76% 18%,rgba(113,255,104,.16),transparent 32%),linear-gradient(90deg,rgba(7,6,10,.72),transparent 72%);pointer-events:none}
.site-launch-close{position:absolute;z-index:2;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));display:grid;width:44px;height:44px;padding:0;place-items:center;border:1px solid rgba(255,255,255,.36);border-radius:50%;background:rgba(8,7,11,.34);color:#fff;font:inherit;font-size:25px;backdrop-filter:blur(12px)}
.site-launch-card{display:flex;width:min(720px,100%);min-height:min(760px,82svh);align-items:flex-end;padding:clamp(28px,6vw,64px);border:1px solid rgba(255,255,255,.22);border-radius:clamp(24px,4vw,42px);color:#fff;text-decoration:none;box-shadow:0 32px 110px rgba(0,0,0,.4)}
.site-launch-copy{display:grid;justify-items:start;gap:14px;max-width:580px;text-shadow:0 2px 24px rgba(0,0,0,.72)}
.site-launch-copy small{color:#b9a8ff;font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.site-launch-copy strong{font-size:clamp(42px,8vw,78px);font-weight:900;line-height:.92;letter-spacing:-.055em}
.site-launch-copy>span{max-width:480px;color:rgba(255,255,255,.82);font-size:clamp(16px,2.3vw,21px);font-weight:650;line-height:1.42}
.site-launch-copy b{display:inline-flex;min-height:46px;align-items:center;margin-top:8px;padding:0 20px;border-radius:999px;background:#fff;color:#17131f;font-size:14px;text-shadow:none}
@media(max-width:719px){.site-launch-campaign{place-items:stretch;padding:0}.site-launch-card{width:100%;min-height:100svh;padding:calc(92px + env(safe-area-inset-top)) 22px calc(42px + env(safe-area-inset-bottom));border:0;border-radius:0}.site-launch-copy strong{font-size:clamp(42px,13vw,62px)}.site-launch-close{top:calc(16px + env(safe-area-inset-top));right:16px}}
.pilot-language-picker{display:inline-flex;align-items:center;flex:0 0 auto;min-width:0}
.pilot-language-picker select{width:auto;max-width:76px;min-height:34px;padding:0 7px;border:1px solid rgba(112,92,171,.22);border-radius:18px;background:rgba(255,255,255,.86);color:#6045cc;font-family:inherit;font-size:12px;font-weight:700;line-height:1.2;text-align:center;cursor:pointer}
.home-city-pulse:lang(th),.venue-detail-page:lang(th){line-break:auto;overflow-wrap:anywhere}
.home-city-pulse:lang(zh),.venue-detail-page:lang(zh){overflow-wrap:break-word}
/* Route action menus need a stable Web layer on every public page. */
:root:not([data-native-platform="ios"]) .header-action-sheet-layer{position:fixed;z-index:1601;inset:0;background:rgba(9,8,12,.32)}
:root:not([data-native-platform="ios"]) .header-action-sheet{position:absolute;top:max(58px,calc(env(safe-area-inset-top) + 58px));right:max(12px,env(safe-area-inset-right));display:grid;gap:2px;width:min(224px,calc(100vw - 24px));padding:6px;border:1px solid rgba(84,77,102,.12);border-radius:16px;background:#fff;box-shadow:0 18px 48px rgba(17,12,31,.18)}
:root:not([data-native-platform="ios"]) .header-action-sheet button{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:#1d1c21;font:650 14px/1.3 "DM Sans",sans-serif;text-align:left;cursor:pointer}
:root:not([data-native-platform="ios"]) .header-action-sheet-icon{display:grid;flex:0 0 22px;width:22px;height:22px;place-items:center;color:var(--luca-purple,#684cff)}
:root:not([data-native-platform="ios"]) .header-action-sheet-icon svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:root:not([data-native-platform="ios"]) .header-action-sheet button[data-header-action-sheet-close]{justify-content:center;margin-top:4px;border-top:1px solid rgba(84,77,102,.1);border-radius:0;color:var(--luca-purple,#684cff)}
:root:not([data-native-platform="ios"]) .header-action-sheet button[data-header-action-tone="destructive"]{color:#d9323e}
:root:not([data-native-platform="ios"]) body.night-mode .header-action-sheet{border-color:rgba(255,255,255,.1);background:#211f27}
:root:not([data-native-platform="ios"]) body.night-mode .header-action-sheet button{color:#f8f6fb}
:root:not([data-native-platform="ios"]) body.night-mode .header-action-sheet button[data-header-action-tone="destructive"]{color:#ff7078}
.community-report-modal{position:fixed;inset:0;z-index:1600;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:rgba(9,8,12,.56);backdrop-filter:blur(10px)}
.community-report-modal[hidden]{display:none}
.community-report-sheet{position:relative;width:min(100%,440px);padding:24px;border:1px solid var(--account-border);border-radius:22px;max-height:calc(100dvh - 48px);overflow:auto;background:var(--account-surface);color:var(--account-text);box-shadow:none}
.community-report-sheet h2{margin:0 44px 12px 0;font-size:22px;line-height:1.2;letter-spacing:-.035em}
.community-report-intro{margin:0 0 18px;color:var(--account-muted);font-size:14px;line-height:1.5}
.community-report-sheet label{display:grid;gap:7px;margin:13px 0;font-size:13px;font-weight:700}
.community-report-sheet label .community-report-field-heading{color:inherit;font-weight:700}
.community-report-sheet label .community-report-field-heading small{color:#87818a;font-size:inherit;font-weight:500}
.community-report-sheet label span{color:#87818a;font-weight:500}
.community-report-sheet select,.community-report-sheet textarea{width:100%;box-sizing:border-box;border:1px solid var(--form-field-border);border-radius:10px;padding:11px 12px;background:var(--form-field-bg);color:var(--form-field-text);font:400 16px/1.4 "DM Sans",sans-serif}
.community-report-sheet textarea{resize:vertical;min-height:96px;line-height:1.45}
.community-report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.community-report-actions button{min-height:44px;padding:11px 18px;border:0;border-radius:12px;background:var(--luca-purple,#684cff);color:#fff;font:700 14px/1.3 "DM Sans",sans-serif;cursor:pointer}
.community-report-actions .secondary{border:0;background:var(--oonite-pill-surface,rgba(120,112,140,.12));color:inherit}
body.oonite-keyboard-visible .community-report-modal.oonite-keyboard-surface{box-sizing:border-box;padding:8px 16px}
body.oonite-keyboard-visible .community-report-sheet.oonite-keyboard-scroll{box-sizing:border-box;min-height:0;max-height:calc(var(--oonite-visual-viewport-height,100dvh) - 16px);scroll-padding-bottom:16px;overscroll-behavior:contain}
body.oonite-keyboard-visible .community-report-sheet .community-report-intro{margin-bottom:8px}
body.oonite-keyboard-visible .community-report-sheet label{margin:8px 0}
body.oonite-keyboard-visible .community-report-sheet textarea{min-height:80px;max-height:120px}
body.oonite-keyboard-visible .community-report-sheet .community-report-actions{margin-top:8px}
body.community-report-modal-open,html.community-report-modal-open{overflow:hidden}
.community-report-trigger{cursor:pointer}
.public-profile-report{position:absolute;right:56px;bottom:20px;border:0;border-radius:999px;padding:7px 11px;background:var(--oonite-pill-surface,rgba(120,112,140,.12));color:#7654ff;font:700 12px/1 inherit}
body.night-mode .public-profile-report{color:#bdaeff;border-color:rgba(189,174,255,.48)}
@media(min-width:720px){.community-report-modal{align-items:center}}
@media(max-width:719px){#app>.global-header .pilot-language-picker{display:none!important}.pilot-language-picker select{max-width:66px;min-height:32px;font-size:11px}}

/* Check-in consent is shell-owned, including native sheets outside #app. */
.night-checkin-nearby-consent{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;box-sizing:border-box;margin:10px 0 2px;padding:10px 12px;border:1px solid rgba(109,76,255,.18);border-radius:14px;background:rgba(109,76,255,.06);color:inherit;text-align:left}.night-checkin-nearby-consent b{display:block;font-size:12px}.night-checkin-nearby-consent small{display:block;margin-top:2px;color:#777;font-size:10px;line-height:1.28}.night-checkin-nearby-consent>i{position:relative;display:block;width:40px;height:24px;border-radius:999px;background:#c8c3d6;transition:background .18s ease}.night-checkin-nearby-consent>i span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:transform .18s ease}.night-checkin-nearby-consent input:checked+i{background:#6d4cff}.night-checkin-nearby-consent input:checked+i span{transform:translateX(16px)}.night-checkin-nearby-consent input:focus-visible+i{outline:3px solid rgba(109,76,255,.28);outline-offset:2px}
body.night-mode .night-checkin-nearby-consent{border-color:rgba(255,255,255,.1);background:rgba(117,73,255,.1)}body.night-mode .night-checkin-nearby-consent small{color:#aaa5b2}
.night-checkin-nearby-consent > input[data-night-checkin-nearby-toggle]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Shared detail actions: presentation only; original menu descriptors own actions. */
:root .detail-motion-actions.header-action-sheet-layer {
  position:fixed;inset:0;z-index:1810;background:rgba(17,12,31,.32);
}
:root .detail-motion-actions.header-action-sheet-layer .header-action-sheet {
  position:absolute;display:grid;top:auto;right:0;left:0;bottom:0;
  background:var(--account-surface,#fff);color:var(--account-text,#1d1d1f);
  box-sizing:border-box;width:min(100%,560px);margin-inline:auto;max-height:calc(85dvh - var(--oonite-safe-area-top,0px));
  overflow:auto;overscroll-behavior:contain;
  border:0;border-radius:26px 26px 0 0;
  padding:10px 16px calc(16px + var(--oonite-safe-area-bottom, env(safe-area-inset-bottom)));
  gap:2px;transform-origin:bottom center;
  animation:oonite-detail-actions-enter 280ms cubic-bezier(.2,.8,.2,1) both;
}
:root .detail-motion-actions.header-action-sheet-layer .header-action-sheet button {
  display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;color:inherit;font:inherit;
  min-height:56px;border-radius:12px;padding:12px 16px;
}
:root .detail-motion-actions.header-action-sheet-layer .header-action-sheet button[data-header-action-sheet-close] {
  margin-top:10px;border:0;background:rgba(151,151,151,.12);border-radius:16px;
}
:root .detail-motion-actions.header-action-sheet-layer .detail-action-grip{height:28px;display:grid;place-items:start center;touch-action:none;}
:root .detail-motion-actions.header-action-sheet-layer .detail-action-grip:before{content:"";width:36px;height:4px;border-radius:4px;background:#979797;opacity:.65;}
@keyframes oonite-detail-actions-enter{from{transform:translateY(100%);opacity:.7}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){
  :root .detail-motion-actions.header-action-sheet-layer .header-action-sheet{animation:none;}
}

:root .detail-motion-actions.header-action-sheet-layer .header-action-sheet button[data-header-action-tone="destructive"]{color:#ff453a}

/* Mobile/native headers already own More; only wide Web needs a body entry. */
:root .article-detail-social-actions .article-more-trigger{display:none}
@media(min-width:720px){:root:not([data-native-platform="ios"]) .article-detail-social-actions .article-more-trigger{display:inline-flex}}
.event-share-layer{position:fixed;inset:0;z-index:1200;display:flex;align-items:flex-end;justify-content:center;background:#100d17a8}
.event-share-sheet{box-sizing:border-box;width:min(100%,720px);max-height:min(92dvh,900px);overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#262131;border-radius:25px 25px 0 0;padding:10px 20px max(20px,env(safe-area-inset-bottom));box-shadow:0 -16px 45px #100d173b}
.event-share-grip{width:38px;height:4px;border-radius:4px;background:#c8c1d0;margin:0 auto 16px}
.event-share-sheet header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.event-share-sheet h2{margin:0;font-size:20px}
.event-share-sheet header button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#f3eff8;color:#352545}
.event-share-sheet svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.event-share-heading{display:block;font-size:16px;line-height:1.4;margin:16px 0;overflow-wrap:anywhere}
.event-share-label{display:block;color:#715f80;font-size:12px;margin-bottom:8px}
.event-share-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f3f9;border:1px solid #ece5f3;border-radius:14px;padding:14px;font-size:13px;line-height:1.6;max-height:40dvh;overflow-y:auto;user-select:text}
.event-share-actions{display:grid;gap:6px;margin-top:14px}
.event-share-actions button{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:8px 12px;background:transparent;color:#30243b;text-align:left;border:0;border-radius:12px;font:inherit;font-size:14px}
.event-share-actions button:active{background:#f4eff9}.event-share-actions button:disabled{opacity:.5}
.event-share-status{min-height:20px;font-size:12px;color:#65526f;margin:8px 0 0}
body.night-mode .event-share-sheet{background:#241c2b;color:#f4eef8}
body.night-mode .event-share-sheet header button,body.night-mode .event-share-message{background:#352a40;color:#f4eef8;border-color:#4a3954}
body.night-mode .event-share-actions button{color:#f4eef8}
@media(prefers-reduced-motion:no-preference){.event-share-sheet{animation:event-share-enter .2s ease-out}@keyframes event-share-enter{from{transform:translateY(28px);opacity:.75}to{transform:translateY(0);opacity:1}}}

/* Close glyphs share one grid cell. A legacy text cross plus a pseudo-element
   previously occupied separate grid rows and displaced the visible glyph. */
:root:not([data-native-platform="ios"]) body :is(.oonite-dialog-close,
    .native-create-hub-close,
    .site-launch-close,
    .site-announcement > button[data-announcement-dismiss],
    .nearby-post-sheet > header > button[data-nearby-post-close],
    .nearby-reply-sheet > header > button[data-nearby-reply-close],
    .event-share-sheet button[data-event-share-close],
    .venue-intro-dialog > header > button,
    .activity-poster-viewer button[data-activity-viewer-close]) {
  display: grid;
  grid-template: minmax(0,1fr) / minmax(0,1fr);
  flex: 0 0 44px;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  text-indent: 0;
  letter-spacing: 0;
  text-shadow: none;
  outline: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
:root:not([data-native-platform="ios"]) body :is(.oonite-dialog-close,
    .native-create-hub-close,
    .site-launch-close,
    .site-announcement > button[data-announcement-dismiss],
    .nearby-post-sheet > header > button[data-nearby-post-close],
    .nearby-reply-sheet > header > button[data-nearby-reply-close],
    .event-share-sheet button[data-event-share-close],
    .venue-intro-dialog > header > button,
    .activity-poster-viewer button[data-activity-viewer-close])::before {
  content: "";
  position: static;
  display: block;
  grid-area: 1 / 1;
  place-self: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  transform: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
:root:not([data-native-platform="ios"]) body :is(.oonite-dialog-close,
    .native-create-hub-close,
    .site-launch-close,
    .site-announcement > button[data-announcement-dismiss],
    .nearby-post-sheet > header > button[data-nearby-post-close],
    .nearby-reply-sheet > header > button[data-nearby-reply-close],
    .event-share-sheet button[data-event-share-close],
    .venue-intro-dialog > header > button,
    .activity-poster-viewer button[data-activity-viewer-close]) > svg,
:root:not([data-native-platform="ios"]) body :is(.oonite-dialog-close,
    .native-create-hub-close,
    .site-launch-close,
    .site-announcement > button[data-announcement-dismiss],
    .nearby-post-sheet > header > button[data-nearby-post-close],
    .nearby-reply-sheet > header > button[data-nearby-reply-close],
    .event-share-sheet button[data-event-share-close],
    .venue-intro-dialog > header > button,
    .activity-poster-viewer button[data-activity-viewer-close])::after { display: none; }

:root:not([data-native-platform="ios"]) body .oonite-dialog-close:focus-visible { outline:2px solid var(--form-field-focus,#6d4cff);outline-offset:2px; }
:root:not([data-native-platform="ios"]) body .oonite-dialog-close:focus:not(:focus-visible) { outline:none;box-shadow:none; }

:root:not([data-native-platform="ios"]) body :is(.oonite-dialog-close,
    .native-create-hub-close,
    .site-launch-close,
    .site-announcement > button[data-announcement-dismiss],
    .nearby-post-sheet > header > button[data-nearby-post-close],
    .nearby-reply-sheet > header > button[data-nearby-reply-close],
    .event-share-sheet button[data-event-share-close],
    .venue-intro-dialog > header > button,
    .activity-poster-viewer button[data-activity-viewer-close]):focus-visible { outline:2px solid var(--form-field-focus,#6d4cff);outline-offset:2px; }

/* Mobile Web parity with Beta 239. Browser safe areas remain browser-owned. */
@media(max-width:719px){
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"] { --mobile-header-ink:#171719; --mobile-header-glass:rgba(255,255,255,.54); backdrop-filter:none; -webkit-backdrop-filter:none; }
 :root:not([data-native-platform="ios"]) body.night-mode #app > .global-header[data-header-pilot="true"] { --mobile-header-ink:#f5f5f7; --mobile-header-glass:rgba(36,36,40,.56); }
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-pilot="true"]::before {
   --mobile-header-fade:linear-gradient(to bottom,#000,rgba(0,0,0,.65) 55%,transparent);
   content:"";
   display:block;
   position:absolute;
   z-index:-1;
   inset:0 0 -20px;
   pointer-events:none;
   background:linear-gradient(to bottom,color-mix(in srgb,var(--oonite-page-canvas) 30%,transparent),transparent);
   -webkit-backdrop-filter:blur(18px) saturate(135%);
   backdrop-filter:blur(18px) saturate(135%);
   -webkit-mask-image:var(--mobile-header-fade);
   mask-image:var(--mobile-header-fade);
 }
 :root:not([data-native-platform="ios"]) #app > .global-header .topbar-actions,
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-actions { gap:0; padding:0 3px; border:1px solid rgba(128,128,140,.16); border-radius:999px; background:var(--mobile-header-glass); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-control,
 :root:not([data-native-platform="ios"]) #app > .global-header .topbar-search-action,
 :root:not([data-native-platform="ios"]) #app > .global-header .night-hello-bell,
 :root:not([data-native-platform="ios"]) #app > .global-header .account-nav-menu-glyph { color:var(--mobile-header-ink); }
 :root:not([data-native-platform="ios"]) #app > .global-header .topbar-search-action svg { stroke:currentColor; }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-leading.header-pilot-control { border:1px solid rgba(128,128,140,.16); background:var(--mobile-header-glass); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-actions:has(> .header-pilot-spacer:only-child) { visibility:hidden; }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs { width:max-content; max-width:100%; gap:2px; padding:5px; box-sizing:border-box; border:1px solid rgba(128,128,140,.16); border-radius:999px; background:var(--mobile-header-glass); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs :is(button,[data-home-moments-link]) { min-height:34px; padding:0 10px; border-radius:999px; font:750 15px/1.2 system-ui; letter-spacing:-.025em; color:var(--mobile-header-ink); transition:background-color .16s ease,color .16s ease; }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs button.is-active { background:#171719; color:#fff; }
 :root:not([data-native-platform="ios"]) body.night-mode #app > .global-header .header-pilot-tabs button.is-active { background:#f0f0f3; color:#171719; }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs button.is-active::after { content:none; }
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs .is-location svg { color:inherit; }
 :root:not([data-native-platform="ios"]) #app > .global-mobile-nav.native-bottom-navigation { grid-template-columns:minmax(0,1fr) 52px; gap:6px; align-items:center; }
 :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs { background:rgba(255,255,255,.58); border-color:rgba(128,128,140,.18); }
 :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-tabs { background:rgba(30,30,34,.6); }
 :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-selection { background:rgba(0,0,0,.09); }
 :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-selection { background:rgba(255,255,255,.13); }
 :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a,
 :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a[href^="/my-night"],
 :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-bottom-tabs a.active { color:#161619; }
 :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-tabs a,
 :root:not([data-native-platform="ios"]) body.night-mode #app > .native-bottom-navigation .native-bottom-tabs a.active { color:#f4f4f6; }
 :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-create-button { width:52px; height:52px; min-width:52px; min-height:52px; background:linear-gradient(145deg,#805bff,#6439fc); border:1px solid rgba(255,255,255,.28); box-sizing:border-box; transition:transform .15s cubic-bezier(.2,.8,.2,1),box-shadow .15s ease; }
 :root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-create-button:active { transform:scale(1.08); box-shadow:0 5px 20px rgba(100,57,252,.4); }
}
@media(max-width:359px){ :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs :is(button,[data-home-moments-link]) { padding-inline:7px; font-size:14px; } }
@media(prefers-reduced-motion:reduce){ :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs button,:root:not([data-native-platform="ios"]) #app > .native-bottom-navigation .native-create-button { transition:none;transform:none; } }

@media(max-width:719px){
 :root:not([data-native-platform="ios"]) { --oonite-page-canvas:var(--oonite-canvas-day); --oonite-mobile-content-rail:16px; }
 :root:not([data-native-platform="ios"]):has(body.night-mode) { --oonite-page-canvas:var(--oonite-canvas-night); }
 :root:not([data-native-platform="ios"]) .night-hello-sheet input,
 :root:not([data-native-platform="ios"]) .night-hello-sheet textarea,
 :root:not([data-native-platform="ios"]) .night-hello-sheet select { background:var(--form-field-bg); color:var(--form-field-text); border-color:var(--form-field-border); }
}

/* Persistent shell backing matches route canvas after return and theme changes. */
@media(max-width:719px){
 :root:not([data-native-platform="ios"]) body.inspiration-route,
 :root:not([data-native-platform="ios"]) body.inspiration-route #app,
 :root:not([data-native-platform="ios"]) body.inspiration-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.inspiration-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.inspiration-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) body.places-route,
 :root:not([data-native-platform="ios"]) body.places-route #app,
 :root:not([data-native-platform="ios"]) body.places-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.places-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.places-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) body.my-night-route,
 :root:not([data-native-platform="ios"]) body.my-night-route #app,
 :root:not([data-native-platform="ios"]) body.my-night-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.my-night-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.my-night-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) body.tonight-route,
 :root:not([data-native-platform="ios"]) body.tonight-route #app,
 :root:not([data-native-platform="ios"]) body.tonight-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.tonight-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.tonight-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) body.account-route,
 :root:not([data-native-platform="ios"]) body.account-route #app,
 :root:not([data-native-platform="ios"]) body.account-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.account-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.account-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) body.notifications-route,
 :root:not([data-native-platform="ios"]) body.notifications-route #app,
 :root:not([data-native-platform="ios"]) body.notifications-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.notifications-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.notifications-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) body.public-profile-route,
 :root:not([data-native-platform="ios"]) body.public-profile-route #app,
 :root:not([data-native-platform="ios"]) body.public-profile-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.public-profile-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.public-profile-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) body.night-hello-route,
 :root:not([data-native-platform="ios"]) body.night-hello-route #app,
 :root:not([data-native-platform="ios"]) body.night-hello-route #app .app-shell,
 :root:not([data-native-platform="ios"]) body.night-hello-route #app .app-shell-main,
 :root:not([data-native-platform="ios"]) body.night-hello-route #app .app-shell-main-content,
 :root:not([data-native-platform="ios"]) #app > .home-city-pulse,
 :root:not([data-native-platform="ios"]) #app > .places-page,
 :root:not([data-native-platform="ios"]) #app > .my-night-route-page,
 :root:not([data-native-platform="ios"]) #app > .tonight-app-page,
 :root:not([data-native-platform="ios"]) #app > .account-route-page,
 :root:not([data-native-platform="ios"]) #app > .notifications-page,
 :root:not([data-native-platform="ios"]) #app > .public-profile-page,
 :root:not([data-native-platform="ios"]) #app > .night-hello-page {background:var(--oonite-page-canvas);}
 :root:not([data-native-platform="ios"]) .my-night-route-page {--my-night-surface:var(--oonite-page-canvas);}
 :root:not([data-native-platform="ios"]) .tonight-app-page {--ta-bg:var(--oonite-page-canvas);}
 :root:not([data-native-platform="ios"]) .night-hello-page {--hello-bg:var(--oonite-page-canvas);}
}

@media(max-width:719px){
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-variant="context"] .header-pilot-navigation {grid-template-columns:minmax(0,1fr) auto;}
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-actions > .night-hello-bell {display:grid;width:44px;height:44px;position:relative;}
}

/* Task-page titles are centred between the existing Back and action slots. */
@media(max-width:719px){
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-page="account"][data-header-variant="standard"] .header-pilot-navigation,
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-page="night-hello"] .header-pilot-navigation,
 :root:not([data-native-platform="ios"]) body.legal-route #app > .global-header .header-pilot-navigation {grid-template-columns:44px minmax(0,1fr) 44px;}
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-page="account"][data-header-variant="standard"] .header-pilot-title,
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-page="night-hello"] .header-pilot-title,
 :root:not([data-native-platform="ios"]) body.legal-route #app > .global-header .header-pilot-title {justify-content:center;text-align:center;font-size:17px;font-weight:650;}
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-title > span {min-width:0;overflow:hidden;text-overflow:ellipsis;}
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-actions {justify-self:end;}
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-peer {display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border-radius:50%;overflow:hidden;}
 :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-peer img {display:block;width:100%;height:100%;object-fit:cover;}
}

/* Tonight is a context page with a real Back action, unlike root context tabs. */
@media(max-width:719px){
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-page="tonight"] .header-pilot-navigation{grid-template-columns:44px minmax(0,1fr) auto}
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-page="tonight"] .header-pilot-leading{display:grid}
 :root:not([data-native-platform="ios"]) #app > .global-header[data-header-page="tonight"] .header-pilot-title{grid-column:auto}
}

/* Completed schedule entries stay readable in the day's programme, but are
   not navigation targets. Missing href also protects keyboard/script activation. */
a.is-ended[aria-disabled="true"]{opacity:.48;cursor:default;pointer-events:none}

.account-sheet .identity-field-note{margin:6px 0 14px;font-size:12px;line-height:1.7;color:var(--account-muted,#8c8297)}
.account-sheet .identity-field-note[data-state="error"]{color:#bd405c}.night-mode .account-sheet .identity-field-note[data-state="error"]{color:#ffa0b8}
.account-sheet .identity-field-note[data-state="valid"]{color:#317959}.night-mode .account-sheet .identity-field-note[data-state="valid"]{color:#96d9b7}

/* Compact profile editing projects its existing form action into the Web Header. */
:root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-control.identity-header-action{display:grid!important;place-items:center;justify-self:end;width:max-content!important;max-width:120px;min-width:60px!important;min-height:44px;height:44px;white-space:nowrap!important;padding:0 13px!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#8056ff,#653cf5)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 13px/1.2 "DM Sans",sans-serif!important;box-shadow:inset 0 1px 1px #ffffff66,0 3px 12px #684cff22!important}
:root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-control.identity-header-action:disabled{opacity:.38;cursor:default}

:root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-navigation:has([data-profile-header-proxy]){grid-template-columns:64px minmax(0,1fr) 64px}

/* Media placeholders stay mounted across route stylesheet removal. Include
   not-yet-observed lazy media so offscreen cards never start as black tiles. */
:root { --oonite-media-placeholder:#35333d; --oonite-media-highlight:#45424e; }
body.day-mode { --oonite-media-placeholder:#e7e5eb; --oonite-media-highlight:#f3f1f6; }
[data-lazy-background]:not(.is-image-loaded) {
  background-color:var(--oonite-media-placeholder) !important;
  background-image:linear-gradient(110deg,var(--oonite-media-placeholder) 25%,var(--oonite-media-highlight) 42%,var(--oonite-media-placeholder) 62%) !important;
  background-size:220% 100% !important;
}
[data-lazy-background].is-image-loading { animation:oonite-media-loading 1.25s ease-in-out infinite; }
[data-lazy-background].is-image-loaded { animation:none; }
.is-image-error {
  background:linear-gradient(135deg,var(--oonite-media-highlight),var(--oonite-media-placeholder)) !important;
}
@keyframes oonite-media-loading { to { background-position:-120% 0; } }
@media(prefers-reduced-motion:reduce) {
  [data-lazy-background].is-image-loading { animation:none; }
}
/* Nearby detail entry keeps the established purple circular loading signal. */
.route-progress.is-circle { top:50%;left:50%;width:24px;height:24px;border:2px solid rgba(112,69,255,.2);border-top-color:#7045ff;border-radius:50%;transform:translate(-50%,-50%);animation:nearby-route-spin .7s linear infinite; }
.route-progress.is-circle::after { display:none; }
@keyframes nearby-route-spin { to { transform:translate(-50%,-50%) rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .route-progress.is-circle { animation:none; } }

.header-pilot-actions .header-pilot-control svg { fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* Shared Web / WKWebView rail policy: hide horizontal indicators, retain
   scrolling, snapping, keyboard access and vertical picker scrollbars. */
body *::-webkit-scrollbar:horizontal { height:0 !important; display:none !important; }
[data-horizontal-rail],
.event-browser-categories,
.event-discovery-month-pills,
.event-browser-months,
body.article-route .article-reading pre,
body.article-route .article-reading table,
.home-picks-grid,
.home-city-guides-grid,
.home-flow-visual,
#app .places-page .places-filter-section>.chips,
.venue-detail-page .place-gallery-thumbnails,
.venue-night-card-rail,
.moment-detail-gallery .moment-detail-gallery-track,
body.my-night-route .my-night-route-page .night-pending-stack,
.night-tonight-community > div,
.night-tonight-event-grid,
.nearby-venue-module>div,
.nearby-rooms-track,
body .venue-post-previews,
body .venue-post-gallery,
.post-photo-track,
.event-upcoming-section .event-discovery-grid.is-preview,
.account-passport-stamps,
.account-passport-discover-grid,
.activity-session-options,
.activity-poster-track,
.programme-sessions,
.venue-room-filters,
.venue-room-composer-kinds,
.search-tabs,
.search-subtabs,
.tonight-app-filters,
:root[data-native-platform="ios"] .native-checkin-venue-track { scrollbar-width:none !important; }

/* Filter focus uses a neutral underline for keyboard navigation. */
:root[data-native-platform="ios"]:not([data-native-input-modality="keyboard"]) {
  --oonite-filter-focus-shadow:none;
}
#app :is(
  .places-filter-section *,
  .tonight-app-filters button, .tonight-select-filters select,
  [data-discovery-category], [data-discovery-month], [data-upcoming-month],
  [data-tonight-filter-reset], [data-discovery-reset], [data-venue-room-filter],
  .night-filter-pills *, .search-tabs *, .search-subtabs *, [data-search-filter-clear]
):focus-visible {
  outline:none;
  border-color:transparent;
  box-shadow:var(--oonite-filter-focus-shadow,inset 0 -2px var(--form-field-placeholder));
}

/* Web sidebar label colors, including the first-paint rail. */
@media (min-width:720px) {
  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) {
    --app-shell-web-nav-label:#262626;
    --app-shell-brand-selection-text:var(--oonite-global-brand-purple-deep);
  }

  body.night-mode #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) {
    --app-shell-web-nav-label:#ddd9e3;
  }

  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav])
    :is(.app-shell-nav-link, .app-shell-more-link:not(.is-unavailable)) {
    color:var(--app-shell-web-nav-label);
  }

  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav])
    :is(.app-shell-nav-label, .app-shell-nav-label span) {
    color:inherit;
  }

  #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav])
    :is(.app-shell-nav-link.is-active, .app-shell-nav-link:active, .app-shell-more-menu[open] > summary,
      .app-shell-more-link:not(.is-unavailable):is(:active, :hover, :focus-visible)) {
    color:var(--app-shell-nav-active-text);
  }
}

[data-city-home-entry] .app-shell-nav-label {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Brand selection is reserved for the Bangkok entry. */
#app > .global-header .header-pilot-tabs button[data-night-tab="city"] {
  padding-inline:12px;
  border-radius:999px;
}
:root #app > .global-header .header-pilot-tabs button[data-night-tab="city"].is-active,
#app > .global-header .topbar-nav a.active[href="/"],
#app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-link.is-active[href="/"],
body.night-mode #app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-link.is-active[href="/"] {
  background:var(--oonite-global-brand-lime,#00ff09);
  color:var(--app-shell-brand-selection-text,#000) !important;
}
#app > .global-header .header-pilot-tabs button[data-night-tab="city"].is-active::after { content:none; }
#app > .global-header .header-pilot-tabs button[data-night-tab="city"].is-active svg,
#app > :is(.app-shell, .app-shell-sidebar[data-web-home-startup-nav]) .app-shell-nav-link.is-active[href="/"] .app-shell-nav-icon { color:inherit; }

:root[data-native-platform="ios"] [data-my-night-following-line]:has(> button[data-night-tab="city"].is-active) > .my-night-following-tab-line { visibility:hidden; }

/* Manual pagination stays subordinate to the list and retains a full touch target. */
#app button.oonite-load-more {
  min-height:44px;
  min-width:44px;
  padding:8px 12px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--app-shell-muted, var(--account-muted, #786f85));
  font-size:13px;
  font-weight:600;
  text-align:center;
}
#app button.oonite-load-more:focus-visible { outline-offset:2px; }
#app button.oonite-load-more:disabled { cursor:default; }

#app .oonite-public-feed-tail { min-height:1px; text-align:center; }
.composer-location-map { width:100%; min-height:150px; border-radius:12px; overflow:hidden; }
#app .oonite-public-feed-tail[hidden] { display:none; }
#app .oonite-public-feed-tail [role="status"]:not(:empty) {
  display:block;
  padding-block:10px;
  color:var(--app-shell-muted, var(--account-muted, #786f85));
  font-size:13px;
}

:root { --oonite-member-name:#603be1; }
:root.night-mode { --oonite-member-name:#b7a2ff; }
#app [data-member-name], #app [data-member-name] a,
#app .night-detail-author strong, #app .public-profile-headline h1 {
  color:var(--oonite-member-name) !important;
}

/* Match Moment's heart and count on every surface that renders a like. */
body :is(.article-detail-social-actions > [data-like-article], .nearby-live-actions > [data-nearby-like], .venue-room-post footer > [data-nearby-like], .account-moment-metrics > [data-moment-like])[type="button"] {
  color:#aa98f2;
  -webkit-text-fill-color:currentColor;
}
body :is(.article-detail-social-actions > [data-like-article], .nearby-live-actions > [data-nearby-like], .venue-room-post footer > [data-nearby-like], .account-moment-metrics > [data-moment-like])[type="button"]:is(.active,.is-active) {
  color:#ec3f88;
}
:is([data-moment-like-count],[data-article-like-count],[data-nearby-like-count]):empty {
  display:none!important;
}

:root {
  --oonite-composer-day-surface:#edeaff;
  --oonite-composer-day-placeholder:#504e59;
  --oonite-composer-day-shadow:0 2px 8px rgb(104 76 255 / 12%);
  --oonite-composer-day-focus-shadow:0 3px 11px rgb(104 76 255 / 18%);
}
body :is(.comment-module form.article-comment-form,form[data-venue-room-post-form]) {
  border-color:transparent;
}
body.day-mode :is(.comment-module form.article-comment-form,form[data-venue-room-post-form]) {
  background:var(--oonite-composer-day-surface);
  box-shadow:var(--oonite-composer-day-shadow);
}
body.day-mode :is(.comment-module form.article-comment-form,form[data-venue-room-post-form]):focus-within {
  box-shadow:var(--oonite-composer-day-focus-shadow);
}
body.day-mode form[data-venue-room-post-form] textarea {
  background:transparent;
}
body.day-mode form[data-venue-room-post-form] textarea::placeholder {
  color:var(--oonite-composer-day-placeholder);
  opacity:1;
}
body.day-mode .review-form textarea {
  background-color:var(--oonite-composer-day-surface);
  border-color:transparent;
  box-shadow:var(--oonite-composer-day-shadow);
}
body.day-mode .review-form textarea::placeholder {
  color:var(--oonite-composer-day-placeholder);
  opacity:1;
}

/* A desktop inbox remains anchored outside the current route's scroll owner. */
.desktop-notification-panel {
  position:fixed;
  top:55px;
  right:52px;
  z-index:95;
  display:flex;
  flex-direction:column;
  width:390px;
  max-width:calc(100vw - 24px);
  max-height:min(580px,calc(100dvh - 74px));
  min-height:0;
  box-sizing:border-box;
  padding:12px;
  border:1px solid #e9e5f1;
  border-radius:20px;
  background:#f9f8fb;
  color:#211d2c;
  box-shadow:0 16px 50px #25194426;
}
.desktop-notification-panel[hidden] { display:none; }
body.night-mode aside.desktop-notification-panel {
  background:#1a1820;
  border-color:#363040;
  color:#f5f2fa;
}
.desktop-notification-panel > header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:37px;
  flex:none;
  padding:0 2px 7px;
}
.desktop-notification-panel > header h2 { margin:0; font-size:17px; line-height:1.3; }
.desktop-notification-close {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:inherit;
  cursor:pointer;
}
.desktop-notification-close svg { fill:none; stroke:currentColor; stroke-width:1.6; }
.desktop-notification-close:focus-visible { outline:2px solid var(--oonite-accent,#684cff); }
.desktop-notification-panel > [data-desktop-notification-content] {
  min-width:0;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
}
.desktop-notification-panel > [data-desktop-notification-content]::-webkit-scrollbar { display:none; }

@media (max-width:719px) {
  :root:not([data-native-platform="ios"]) body {
    --oonite-modal-scrim:rgba(19,14,34,.32);
    --oonite-modal-blur:blur(9px) saturate(.95);
  }
  :root:not([data-native-platform="ios"]) body.night-mode { --oonite-modal-scrim:rgba(0,0,0,.45); }
  :root:not([data-native-platform="ios"]) body #app > .app-shell .night-action-sheet .night-sheet-backdrop,
  :root:not([data-native-platform="ios"]) body :is(
    .account-modal, .community-report-modal, .crowd-modal, .night-hello-modal,
    .nearby-post-backdrop, .nearby-reply-backdrop, .native-create-hub-backdrop, .moment-share-modal,
    .venue-share-modal, .schedule-share-modal, .night-score-share-modal,
    .action-confirm-layer, .account-deletion-confirm
  ) {
    background:var(--oonite-modal-scrim);
    -webkit-backdrop-filter:var(--oonite-modal-blur);
    backdrop-filter:var(--oonite-modal-blur);
  }
  @media (prefers-reduced-transparency:reduce) {
    :root:not([data-native-platform="ios"]) body { --oonite-modal-blur:none; }
  }
}

@media (max-width:719px) {
  /* Anchor unread counts to the bell rather than letting them take a grid row. */
  #app :is(.header-pilot-control,.app-shell-nav-link)[href="/notifications"] {
    position:relative;
  }
  #app :is(.header-pilot-control,.app-shell-nav-link)[href="/notifications"] > .header-pilot-notification-badge {
    position:absolute;
    inset-block-start:0;
    inset-inline-end:0;
    z-index:1;
    display:grid;
    place-items:center;
    box-sizing:border-box;
    min-inline-size:16px;
    block-size:16px;
    padding-inline:3px;
    border-radius:999px;
    background:#e63b69;
    color:#fff;
    font-size:10px;
    font-weight:800;
    line-height:1;
    font-variant-numeric:tabular-nums;
    pointer-events:none;
  }
  #app .app-shell-nav-link[href="/notifications"] > .header-pilot-notification-badge {
    inset-block-start:3px;
    inset-inline-end:8px;
  }
}

#app > .global-header .header-pilot-tabs > [data-night-tab="nearby"][hidden] {
  display:none;
}
#app > .global-header .header-pilot-tabs > [data-home-moments-link] {
  flex:none;
  white-space:nowrap;
}

@media (max-width:719px) {
  :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs:has(.phone-community-menu) {
    min-inline-size:0;
  }
  :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs:has(.phone-community-menu) > [data-night-tab="city"] {
    flex:0 1 auto;
    min-inline-size:36px;
    padding-inline:clamp(7px,2vw,12px);
  }
  :root:not([data-native-platform="ios"]) #app > .global-header .header-pilot-tabs > [data-night-tab="city"] > span {
    display:block;
    min-inline-size:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .nearby-header-identity > .header-pilot-tabs { flex:0 1 auto; }
  .phone-community-menu {
    position:relative;
    flex:none;
  }
  .phone-community-menu > summary {
    display:flex;
    min-height:34px;
    align-items:center;
    gap:5px;
    padding-inline:10px;
    border-radius:999px;
    list-style:none;
    color:var(--mobile-header-ink);
    font:750 15px/1.2 system-ui;
    cursor:pointer;
  }
  .phone-community-menu > summary::-webkit-details-marker { display:none; }
  .phone-community-menu > summary.is-active { background:#171719; color:#fff; }
  body.night-mode .phone-community-menu > summary.is-active { background:#f0f0f3; color:#171719; }
  .phone-community-options {
    position:absolute;
    z-index:2;
    inset-block-start:calc(100% + 9px);
    inset-inline-start:0;
    min-width:145px;
    padding:5px;
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--account-surface,#fff);
    box-shadow:0 8px 22px rgb(0 0 0 / 10%);
  }
  body.night-mode .phone-community-options { background:var(--account-surface,#202024); }
  .phone-community-options > a {
    display:flex;
    min-height:44px;
    align-items:center;
    padding-inline:12px;
    border-radius:11px;
    color:var(--mobile-header-ink);
    font:700 14px/1.2 system-ui;
    text-decoration:none;
  }
  .phone-community-options > a[aria-current="page"] {
    background:var(--app-shell-active-background,#eee9ff);
    color:var(--oonite-global-brand-purple,#5232de);
  }
  body.night-mode .phone-community-options > a[aria-current="page"] {
    background:#342957;
    color:#d4c9ff;
  }
}
@media (max-width:359px) {
  .phone-community-menu > summary { padding-inline:7px; font-size:14px; }
}

/* Enlarge the mask artwork within the existing tab and label layout. */
#app > .native-bottom-navigation [data-nearby-nav-icon] {
  transform:scale(1.7);
  transform-origin:50% 74%;
  pointer-events:none;
}

/* The feed owns its notice row so it never floats on top of a card. */
.feed-update-notice {
  display:grid;
  grid-template-rows:0fr;
  overflow:hidden;
  transition:grid-template-rows 240ms cubic-bezier(.22,.75,.3,1);
}
.feed-update-notice[data-available] { grid-template-rows:1fr; }
.feed-update-notice-inner {
  display:flex;
  justify-content:center;
  min-height:0;
  overflow:hidden;
}
.feed-update-notice-inner > button {
  appearance:none;
  min-height:44px;
  padding:0 12px;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#5537ce;
  font-family:inherit;
  line-height:1.3;
  font-size:12px;
  font-weight:650;
  opacity:0;
  transform:translateY(-4px);
  transition:opacity 160ms ease,transform 240ms cubic-bezier(.22,.75,.3,1);
}
body.night-mode .feed-update-notice-inner > button { color:#b9a6ff; }
.feed-update-notice[data-available] button { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce) {
  :is(.feed-update-notice,.feed-update-notice-inner > button) { transition:none; }
}

/* Merchant benefits use their route's content width and neutral card tokens. */
.merchant-benefit-slot {
  --merchant-benefit-card:#241e30;
  --merchant-benefit-ink:#faf7ff;
  --merchant-benefit-accent:#d5c1ff;
  --merchant-benefit-action:#3b2c53;
  --merchant-benefit-border:#544767;
  position:relative;
  min-width:0;
  max-width:100%;
  margin:12px 0;
}
.day-mode .merchant-benefit-slot {
  --merchant-benefit-card:#fff;
  --merchant-benefit-ink:#261d33;
  --merchant-benefit-accent:#512bc5;
  --merchant-benefit-action:#ede6ff;
  --merchant-benefit-border:#ded6ed;
}
.merchant-benefit-slot .merchant-benefit-card {
  box-sizing:border-box;
  display:flex;
  gap:10px;
  min-width:0;
  align-items:center;
  max-width:100%;
  padding:10px;
  border:1px solid var(--merchant-benefit-border);
  border-radius:14px;
  background:var(--merchant-benefit-card);
  color:var(--merchant-benefit-ink);
  font-size:13px;
  line-height:1.4;
  text-decoration:none;
}
.merchant-benefit-card .merchant-benefit-image { flex:none; width:44px; height:44px; object-fit:cover; border-radius:9px; }
.merchant-benefit-copy { display:grid; gap:2px; min-width:0; overflow-wrap:anywhere; }
.merchant-benefit-copy small { font-size:11px; font-weight:750; }
.merchant-benefit-copy strong { font-size:14px; line-height:1.3; }
.merchant-benefit-summary { font-size:12px; }
.merchant-benefit-action {
  flex:none;
  margin-inline-start:auto;
  padding:7px 9px;
  background:var(--merchant-benefit-action);
  color:var(--merchant-benefit-accent);
  border-radius:999px;
  font-size:11px;
  font-weight:750;
}
@media (min-width:720px) {
  :root:not([data-native-platform="ios"]) [data-my-night-city-frame] > .night-filter-pills { display:none; }
}

.merchant-benefit-tall {
  inline-size:100%;
  max-inline-size:272px;
  aspect-ratio:3 / 4;
  break-inside:avoid;
  margin:0 0 12px;
  min-width:0;
}
.merchant-benefit-slot:not(.merchant-benefit-tall) { max-inline-size:860px; }
.merchant-benefit-tall .merchant-benefit-track { display:flex; gap:8px; height:100%; overflow:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.merchant-benefit-tall .merchant-benefit-track::-webkit-scrollbar { display:none; }
.merchant-benefit-tall .merchant-benefit-card {
  position:relative; isolation:isolate; overflow:hidden; flex:0 0 100%; align-items:flex-start; justify-content:flex-end; flex-direction:column;
  scroll-snap-align:start;
}
.merchant-benefit-tall .merchant-benefit-card:has(img) { color:#fff; }
.merchant-benefit-tall .merchant-benefit-card img { position:absolute; inset:0; width:100%; height:100%; border-radius:0; z-index:-2; }
.merchant-benefit-tall .merchant-benefit-card:has(img)::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#150c24f0 6%,#150c24aa 46%,transparent 80%); }
.merchant-benefit-tall .merchant-benefit-action { margin:0; }
.merchant-benefit-next {
  position:absolute; inset:8px 8px auto auto; z-index:1; display:grid; place-items:center; width:33px; height:33px;
  border:0; border-radius:50%; background:#1b132ccb; color:#fff; font-size:20px; padding:0;
}
@media(max-width:359px) { .merchant-benefit-card { flex-wrap:wrap; } .merchant-benefit-card .merchant-benefit-action { margin-inline-start:0; } }

.merchant-benefit-slot .merchant-benefit-creative:has(img) { position:relative; isolation:isolate; overflow:hidden; color:#fff!important; }
.merchant-benefit-slot .merchant-benefit-creative:has(img) .merchant-benefit-copy { color:#fff; }
.merchant-benefit-slot .merchant-benefit-creative>img { position:absolute; inset:0; width:100%; height:100%; border-radius:0; z-index:-2; }
.merchant-benefit-slot .merchant-benefit-creative:has(img)::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#150c24ef,#150c2484); z-index:-1; }
.merchant-app-controls { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:12px; }
.merchant-app-controls details img { display:block; border-radius:8px; margin:6px 0; }

.merchant-benefit-marker { color:#d5c1ff; background:#3b2c53; border-radius:999px; padding:4px 8px; font-size:11px; font-weight:750; justify-self:start; }
.day-mode .merchant-benefit-marker { color:#512bc5; background:#ede6ff; }

.merchant-benefit-event-rail .merchant-benefit-track { display:flex; align-items:stretch; gap:8px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; }
.merchant-benefit-event-rail .merchant-benefit-track::-webkit-scrollbar { display:none; }
.merchant-benefit-event-rail .merchant-benefit-card { scroll-snap-align:start; flex:0 0 91%; }
.merchant-benefit-event-rail .merchant-benefit-card:only-child { flex-basis:100%; }
.merchant-benefit-event-rail .merchant-benefit-next { inset:auto 6px 6px auto; }
@media (min-width:1024px) { .merchant-benefit-event-rail .merchant-benefit-card:not(:only-child) { flex-basis:calc((100% - 8px)/2); } }

.nearby-header-identity, .nearby-wide-heading {
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.nearby-header-identity { display: flex; }
.nearby-wide-heading { display: none; }
@media (min-width: 720px) {
  .nearby-wide-heading { display: flex; margin-bottom: 12px; }
  .nearby-wide-heading h1 { margin: 0; }
}
.nearby-online-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 3px 7px 3px 3px;
  border-radius: 999px;
  color: #6040cd;
  background: #ece4ff;
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.night-mode .nearby-online-count { color: #cfbaff; background: #33264a; }
.nearby-online-count[hidden] { display: none; }
.nearby-online-count [data-nearby-online-compact] { display:none; }
@media (max-width:440px) {
  :root:not([data-native-platform="ios"]) .nearby-header-identity {
    gap:4px;
  }
  :root:not([data-native-platform="ios"]) .nearby-header-identity .nearby-online-count {
    gap:2px;
    padding:3px 5px 3px 2px;
  }
  :root:not([data-native-platform="ios"]) .nearby-header-identity [data-nearby-online-label] {
    position:absolute;
    inline-size:1px;
    block-size:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }
  :root:not([data-native-platform="ios"]) .nearby-header-identity [data-nearby-online-compact] {
    display:inline;
  }
}
@media (max-width:359px) {
  :root:not([data-native-platform="ios"]) .nearby-header-identity > .nearby-online-count {
    display:none;
  }
}

.nearby-online-globe { display: block; flex: none; overflow: visible; }
.nearby-online-ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: nearby-online-ping var(--nearby-online-tempo, 2.5s) ease-out infinite;
}
.nearby-online-ping:nth-child(2) { animation-delay: -.8s; }
.nearby-online-ping:nth-child(3) { animation-delay: -1.6s; }
@keyframes nearby-online-ping {
  0%, 100% { transform: scale(.65); opacity: .58; }
  65% { transform: scale(2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nearby-online-ping { animation: none; }
}
.discovery-bookmark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5d39a2;
}
:root.night-mode .discovery-bookmark { color: #dfcaff; }
.discovery-bookmark svg { width: 20px; height: 20px; }
.discovery-bookmark[aria-pressed="true"] svg { fill: currentColor; }
.discovery-bookmark-list { margin-block: 12px; }
.discovery-bookmark-list summary { cursor: pointer; min-height: 44px; align-content: center; }
.discovery-bookmark-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 8px;
  padding-inline: 8px;
  overflow-wrap: anywhere;
}
.nearby-live-actions:has(> .discovery-bookmark) {
  grid-template-columns: repeat(4, 44px) minmax(0, 1fr);
  column-gap: 3px;
}
body .nearby-live-actions > .discovery-bookmark { grid-column: 4; }
body .nearby-live-actions > .discovery-bookmark:only-child { grid-column: 1; }
body .nearby-live-actions:has(> .discovery-bookmark) > .nearby-live-send { grid-column: 5; }

/* Benefit placements use the content column rather than the viewport. */
.merchant-benefit-slot { box-sizing:border-box; position:relative; min-width:0; }
.merchant-benefit-slot .merchant-benefit-item { position:relative; min-width:0; }
.merchant-benefit-slot .merchant-benefit-card { height:100%; padding-inline-end:36px; }
/* Keep the creative’s computed contrast through route-specific text styles. */
.merchant-benefit-slot .merchant-benefit-card .merchant-benefit-copy,
.merchant-benefit-slot .merchant-benefit-card .merchant-benefit-kicker,
.merchant-benefit-slot .merchant-benefit-card .merchant-benefit-title,
.merchant-benefit-slot .merchant-benefit-card .merchant-benefit-summary { color:inherit!important; opacity:1; }
.merchant-benefit-slot .merchant-benefit-creative:has(img)::before { background:linear-gradient(90deg,#140d20 0%,#140d20ed 46%,#140d207a 100%); }
.merchant-benefit-tall .merchant-benefit-card.merchant-benefit-creative:has(img)::before { background:linear-gradient(0deg,#140d20 12%,#140d20eb 50%,#140d2040 100%); }
.merchant-benefit-tall .merchant-benefit-item { flex:0 0 100%; scroll-snap-align:start; }
.merchant-benefit-event-rail .merchant-benefit-item { flex:0 0 91%; scroll-snap-align:start; }
.merchant-benefit-event-rail .merchant-benefit-item:only-child { flex-basis:100%; }
.merchant-benefit-card .merchant-benefit-action { max-inline-size:100%; }
.merchant-benefit-dismiss {
  position:absolute; z-index:1; inset:4px 4px auto auto; display:grid; place-items:center; padding:0;
  border:0; border-radius:50%; color:#fff; background:#201832; width:30px; height:30px; cursor:pointer;
}
.merchant-benefit-next { inset-block-start:38px; }
.merchant-benefit-slot[data-city-benefit-rail] { max-inline-size:none; }
[data-city-benefit-rail] .merchant-benefit-track {
  display:flex; align-items:stretch; gap:10px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none;
}
[data-city-benefit-rail] .merchant-benefit-track::-webkit-scrollbar { display:none; }
[data-city-benefit-rail] .merchant-benefit-item { flex:0 0 88%; scroll-snap-align:start; }
[data-city-benefit-rail] .merchant-benefit-item:only-child { flex-basis:100%; }
[data-city-benefit-rail] .merchant-benefit-card { padding-inline-end:12px; }
@media (min-width:720px) {
  [data-city-benefit-rail] .merchant-benefit-item:not(:only-child) { flex-basis:calc((100% - 10px)/2); }
}
@media (min-width:1100px) {
  [data-city-benefit-rail] .merchant-benefit-item:nth-child(3),
  [data-city-benefit-rail] .merchant-benefit-track:has(> :nth-child(3)) > .merchant-benefit-item { flex-basis:calc((100% - 20px)/3); }
}
.merchant-benefit-place { width:100%; margin:0; align-self:start; }
.merchant-benefit-place .merchant-benefit-card { min-height:0; aspect-ratio:1; flex-direction:column; align-items:flex-start; justify-content:end; padding:8px; }
.merchant-benefit-place .merchant-benefit-copy { padding-inline-end:4px; }
.merchant-benefit-place .merchant-benefit-action { margin:2px 0 0; }
[data-merchant-benefit-slot="nearby-room"] { max-inline-size:100%; }
.wide-nearby-rail > [data-merchant-benefit-slot="nearby-room"] { inline-size:100%; margin:8px 0; }
.nite-entry-card .nite-entry-cta { color:#fff; }
.nite-entry-card .nite-entry-kicker { color:#4d4264; }
.merchant-benefit-slot .merchant-benefit-copy { flex:1 1 auto; inline-size:100%; grid-template-columns:minmax(0,1fr); }
.merchant-benefit-slot .merchant-benefit-copy > * { min-inline-size:0; max-inline-size:100%; }
.merchant-benefit-slot .merchant-benefit-title,
.merchant-benefit-slot .merchant-benefit-summary {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; overflow-wrap:anywhere;
}
.merchant-benefit-slot .merchant-benefit-kicker,
.merchant-benefit-slot .merchant-benefit-action {
  max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.merchant-benefit-place { container-type:inline-size; }
.merchant-benefit-place .merchant-benefit-card { overflow:hidden; gap:4px; justify-content:end; flex-wrap:nowrap; }
.merchant-benefit-place .merchant-benefit-copy { flex:none; padding:0; gap:2px; }
.merchant-benefit-place .merchant-benefit-kicker { max-width:calc(100% - 28px); }
.merchant-benefit-place .merchant-benefit-title { font-size:12px; line-height:1.2; }
.merchant-benefit-place .merchant-benefit-summary { -webkit-line-clamp:1; font-size:10px; line-height:1.2; }
.merchant-benefit-place .merchant-benefit-action { box-sizing:border-box; margin:0; padding:4px 6px; }
.merchant-benefit-place .merchant-benefit-dismiss { width:25px; height:25px; }
.merchant-benefit-slot .merchant-benefit-action { max-inline-size:42%; }
.merchant-benefit-tall .merchant-benefit-action,
.merchant-benefit-place .merchant-benefit-action { max-inline-size:100%; }
.merchant-benefit-tall .merchant-benefit-copy { flex:none; }
@container (max-width:105px) {
  .merchant-benefit-place .merchant-benefit-summary { display:none; }
}
@media(max-width:359px) {
  .merchant-benefit-place .merchant-benefit-summary { display:none; }
  .merchant-benefit-place .merchant-benefit-kicker { font-size:9px; }
  .merchant-benefit-place .merchant-benefit-copy { max-block-size:44px; overflow:hidden; }
  .merchant-benefit-place .merchant-benefit-action { line-height:1.25; }
}
@media(max-width:719px) {
  [data-merchant-benefit-slot="venue-room"] { max-inline-size:none; margin-inline:12px; }
  [data-merchant-benefit-slot="nearby-feed"] { margin-inline-start:46px; }
  .merchant-benefit-tall .merchant-benefit-copy { gap:3px; }
  .merchant-benefit-tall .merchant-benefit-card { padding:10px; }
  body.day-mode #app .community-city-hero > .home-live-now { background:#f8f7fc; }
}
@media(min-width:720px) {
  html:not([data-native-platform="ios"]) .site-launch-campaign {
    width:min(440px,calc(100vw - 48px)); height:min(560px,calc(100dvh - 48px)); inset:50% auto auto 50%;
    transform:translate(-50%,-50%); border-radius:22px; overflow:hidden;
  }
  html:not([data-native-platform="ios"]) .site-launch-campaign .site-launch-card {
    width:100%; min-height:0; height:100%; padding:32px 24px; border:0;
  }
  html:not([data-native-platform="ios"]) .site-launch-campaign .site-launch-copy strong { font-size:clamp(24px,4vw,38px); line-height:1.15; }
}

@media(max-width:719px) {
 html:not([data-native-platform="ios"]) #app:has(.global-header) [data-my-night-city-frame] > .night-filter-pills { display:none; }
}

/* Existing city navigation opens a floating list without adding to page flow. */
.city-selection-menu {
  position:fixed;
  z-index:2290;
  width:min(210px, calc(100vw - 16px));
  overflow:auto;
  overscroll-behavior:contain;
  box-sizing:border-box;
  padding:4px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--card);
  color:var(--text);
  box-shadow:0 8px 24px rgb(20 15 35 / 14%);
}
.city-selection-menu button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  min-height:44px;
  padding:6px 10px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-size:14px;
  text-align:start;
}
.city-selection-menu button[aria-pressed="true"] { color:var(--oonite-global-brand-purple); font-weight:650; }
.city-selection-menu button[data-city-choice=""] { border-top:1px solid var(--line); }
.city-selection-menu button svg { flex:none; }
.city-selection-menu p { margin:2px 10px 7px; color:var(--muted); font-size:12px; }

.account-sheet .web-qr-panel { text-align:center; }
.account-sheet .web-qr-panel[hidden],
.account-sheet .web-qr-panel [hidden],
.account-sheet .web-qr-switch[hidden] { display:none; }
.account-sheet .web-qr-panel p { margin:8px 0; }
.account-sheet .web-qr-code {
  display:grid;
  place-items:center;
  width:min(210px,100%);
  aspect-ratio:1;
  margin:14px auto;
  background:#fff;
  border-radius:12px;
}
.account-sheet .web-qr-code svg { display:block; width:100%; height:auto; }
.account-sheet .web-qr-switch { min-height:44px; padding-inline:14px; }
.account-sheet [data-qr-entry]:not([hidden]) { display:block; width:100%; }

/* Location search shares one compact row across both community composers. */
.composer-location-picker { min-width:0; }
.venue-room-composer-actions > .composer-location-picker { flex:1; }
.wide-inline-nearby .venue-room-composer-actions > .composer-location-picker { grid-column:2; }
.composer-location-row { display:flex; align-items:center; gap:6px; min-width:0; }
.composer-location-row > [data-composer-location-toggle] {
  flex:0 0 44px; width:44px; min-height:44px; display:grid; place-items:center;
  color:var(--luca-purple,#684cff); background:transparent; border:0; padding:0;
}
.composer-location-row > [data-composer-location-toggle] svg { width:21px; height:21px; }
.composer-location-row > input[data-composer-location-input] {
  flex:1; width:0; min-width:0; height:40px; min-height:40px; box-sizing:border-box; margin:0;
  padding:6px 10px; border:1px solid var(--moment-line,var(--my-night-line,#82788e55));
  border-radius:10px; background:transparent; color:inherit; font:inherit; font-size:16px; font-weight:400;
}
.composer-location-row > input[data-composer-location-input]:focus {
  outline:2px solid color-mix(in srgb,var(--luca-purple,#684cff) 72%,transparent);
  outline-offset:1px;
}
.composer-location-value { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.8125rem; }
.composer-location-picker [hidden] { display:none; }
.composer-location-results {
  box-sizing:border-box; min-width:0; max-height:min(196px,28dvh);
  overflow-y:auto; overscroll-behavior:contain; margin-block-start:6px;
  background:var(--moment-surface,var(--my-night-surface,#fff)); color:var(--moment-text,var(--my-night-text,#241e30));
  border:1px solid var(--moment-line,var(--my-night-line,#82788e55)); border-radius:12px;
}
.nearby-post-composer > .composer-location-results { flex:0 0 100%; width:100%; grid-column:1 / -1; margin:2px 0 0; }
body.night-mode .composer-location-results { background:var(--moment-surface,var(--my-night-surface,#23212a)); color:var(--moment-text,#f5f3fa); }
.composer-location-results > p { margin:0; padding:8px 10px 3px; font-size:.75rem; color:var(--moment-muted,var(--my-night-muted,#706979)); }
.composer-location-results > button {
  display:grid; width:100%; min-height:44px; gap:2px; padding:6px 10px;
  border:0; background:transparent; color:inherit; text-align:start; overflow-wrap:anywhere;
  font:inherit; font-size:.8125rem; line-height:1.35;
}
.composer-location-results > button + button { border-top:1px solid color-mix(in srgb,currentColor 9%,transparent); }
.composer-location-results > button:hover, .composer-location-results > button:focus-visible { background:color-mix(in srgb,var(--luca-purple,#684cff) 10%,transparent); }
.composer-location-results small { color:var(--moment-muted,var(--my-night-muted,#706979)); font-size:.75rem; }

/* A feed notice remains a full tap target with quiet text and an inline busy state. */
body #app button[data-nearby-updates] {
  font-size:.6875rem; font-weight:500; color:#615474;
}
body.night-mode #app button[data-nearby-updates] { color:#b1a4c8; }
button[data-nearby-updates][aria-busy="true"]::before {
  content:""; display:inline-block; width:10px; height:10px; margin-inline-end:6px;
  border:1px solid currentColor; border-inline-end-color:transparent; border-radius:50%;
  vertical-align:-1px; animation:oonite-nearby-update-spin .75s linear infinite;
}
@keyframes oonite-nearby-update-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
  button[data-nearby-updates][aria-busy="true"]::before { animation:none; }
}
