/* Phone-first aggregator + desktop side feed. One sheet, cohesive IG cards. */

.paper {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  padding: 1.25rem clamp(0.75rem, 2.5vw, 1.5rem) 3rem;
  opacity: 0;
  transform: scale(0.985) translateY(10px);
  pointer-events: none;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out),
    visibility 0.75s;
}

.paper.is-open {
  position: relative;
  max-height: none;
  overflow: visible;
  opacity: 1;
  /* transform must be none — any transform (even scale(1)) traps sticky descendants */
  transform: none;
  pointer-events: auto;
  visibility: visible;
}

.paper-sheet {
  width: min(64rem, 100%);
  margin: 0 auto;
  background: rgba(247, 243, 234, 0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.25rem clamp(0.95rem, 2vw, 1.5rem) 1.75rem;
  box-shadow: 0 16px 40px rgba(26, 36, 32, 0.045);
}

/* —— Masthead full width —— */
.paper-top {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

/* Brand row chrome: Change location is the dark cue; nearby cities stay lighter. */
.paper-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  letter-spacing: -0.02em;
  color: var(--lagoon);
  margin: 0;
  text-decoration: none;
  cursor: pointer;
  flex: 0 0 auto;
}

.paper-brand-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  width: 100%;
  margin: 0 0 0.4rem;
  min-width: 0;
  /* One chrome line reserved so SPA/SSR never shove the masthead */
  min-height: 1.15rem;
}

.paper-brand-wrap .paper-brand {
  margin-bottom: 0;
}

.paper-brand-name {
  letter-spacing: -0.02em;
}

.paper-brand-name .dot {
  letter-spacing: 0;
}

.paper-brand:hover,
.paper-brand:focus-visible {
  color: var(--ink);
}

.paper-brand-hint {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
}

.paper-nearby {
  position: static;
  z-index: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
}

.paper-nearby-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}

.paper-nearby-link {
  display: inline;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.72;
  text-decoration: none;
  padding: 0;
  line-height: 1.25;
  white-space: nowrap;
}

.paper-nearby-link:hover,
.paper-nearby-link:focus-visible {
  color: var(--lagoon);
  opacity: 1;
}

/* Kept for older markup */
.paper-nearby-elsewhere {
  display: none;
}

.paper-town {
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 3.2vw, 1.95rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 0.25rem;
}

.paper-dateline {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 252, 245, 0.4);
}

.pulse-temp {
  margin: 0 0 0.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pulse-live {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  transition: opacity 0.22s ease;
}

.pulse-live.is-fading,
.pulse-meta.is-fading {
  opacity: 0;
}

.pulse-deg {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.pulse-sky {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.pulse-day-toggle {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin-left: 0.45rem;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.pulse-day-toggle:hover,
.pulse-day-toggle:focus-visible {
  color: var(--lagoon);
}

.pulse-meta {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
  transition: opacity 0.22s ease;
}

.pulse-cam {
  display: grid;
  width: 4.75rem;
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.pulse-cam img {
  display: block;
  width: 100%;
  height: 2.85rem;
  object-fit: cover;
}

.pulse-cam span {
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.3rem;
  color: var(--muted);
  background: rgba(247, 243, 234, 0.95);
  text-align: center;
}

/* —— Body: feed + paper —— */
.paper-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.paper-main {
  min-width: 0;
}

/* Feed chrome */
.feed-rail {
  min-width: 0;
}

/* Scroll freely; never show a scrollbar chrome on the feed */
.feed-stack,
.feed-rail.is-scrollable {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.feed-stack::-webkit-scrollbar,
.feed-rail.is-scrollable::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.feed-scope {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  /* Equal air on both sides of the · */
  gap: 0 0.55rem;
  margin-bottom: 0.85rem;
}

.feed-scope-dot {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.3;
  user-select: none;
  /* Kill letter-spacing so the · doesn’t optically lean left/right */
  letter-spacing: 0;
  padding: 0;
  margin: 0;
}

.feed-scope-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
}

.feed-scope-btn.is-on {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.feed-scope-btn:hover {
  color: var(--ink-soft);
}

.feed-empty {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-body);
  padding: 0.5rem 0;
}

/* —— Phone (default): horizontal IG strip —— */
.feed-stack {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0 0.55rem;
  /* End pad so scroll-snap can land the last card fully in view (no mid-image clip) */
  padding-inline-end: 1.25rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-end: 1.25rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* Flex end-spacer: padding alone is unreliable as scroll overflow in some engines */
.feed-stack::after {
  content: "";
  flex: 0 0 0.35rem;
}

.feed-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  flex: 0 0 14.5rem;
  scroll-snap-align: start;
}

.feed-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.feed-avatar {
  flex: 0 0 1.4rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.feed-head-text {
  min-width: 0;
}

.feed-handle {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-venue {
  margin: 0.05rem 0 0;
  font-size: 0.64rem;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-image {
  aspect-ratio: 1 / 1;
  background: var(--mist);
  overflow: hidden;
  border-radius: 2px;
}

.feed-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-caption {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-time {
  margin: 0.25rem 0 0;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— Venue handle fallback rail (no scraped posts yet) —— */
.feed-scope--static {
  margin-bottom: 0.85rem;
}

.feed-scope-label {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.feed-card--venue {
  flex: 0 0 14.5rem;
}

.feed-card--venue .feed-head {
  margin-bottom: 0.3rem;
}

.feed-venue-kind {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.feed-card--venue:hover .feed-handle {
  color: var(--lagoon);
}

/* Paper sections */
.paper-section {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.paper-main > .paper-section:first-child,
.paper-main > .paper-section-pair:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Specialty event lanes — Music | Recreation side by side when both have life */
.paper-section-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.paper-section-pair > .paper-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  min-width: 0;
}

@media (min-width: 640px) {
  .paper-section-pair {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    row-gap: 0;
    align-items: start;
  }

  .paper-section-pair > .paper-section + .paper-section {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

.paper-section h2 {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
}

.happening-list,
.series-list,
.venue-list,
.surface-list,
.listing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.happening-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.45rem 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 36, 32, 0.06);
}

.happening-when {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--lagoon);
  line-height: 1.35;
  padding-top: 0.1rem;
}

.happening-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.12rem;
  line-height: 1.3;
  color: var(--ink);
}

.happening-name a {
  color: inherit;
  text-decoration: none;
}

.happening-name a:hover {
  color: var(--lagoon);
  text-decoration: underline;
}

.happening-detail {
  margin: 0 0 0.15rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

.happening-meta {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.series-list li,
.venue-list li {
  padding: 0.3rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.35;
}

.venue-list--eat-drink {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0;
}

@media (max-width: 359px) {
  .venue-list--eat-drink {
    grid-template-columns: 1fr;
  }
}

.series-when,
.venue-kind {
  color: var(--muted);
  font-size: 0.76rem;
  font-family: var(--font-ui);
}

.venue-blurb {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}

.surface-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
}

.surface-list li {
  font-size: 0.8rem;
}

.listing-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(26, 36, 32, 0.06);
  align-items: baseline;
}

.listing-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.listing-kind {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.listing-title a {
  color: inherit;
  text-decoration: none;
}

.listing-title a:hover {
  color: var(--lagoon);
  text-decoration: underline;
}

.listing-price {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* —— Market: collapsed rows → modal —— */
.market-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.market-head h2 {
  margin: 0;
}

.market-browse {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lagoon);
  line-height: 1.3;
}

.market-browse:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.market-summary {
  list-style: none;
  margin: 0;
  padding: 0;
}

.market-summary > li {
  border-bottom: 1px solid rgba(26, 36, 32, 0.06);
}

.market-summary > li:last-child {
  border-bottom: 0;
}

.market-row {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
  width: 100%;
  padding: 0.55rem 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  color: var(--ink);
}

.market-row:hover .market-row-label {
  color: var(--lagoon);
}

.market-row-label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.market-row-summary {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}

.market-row-go {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1;
}

.market-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
  justify-items: stretch;
  padding: 0;
}

.market-modal[hidden] {
  display: none;
}

.market-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 36, 32, 0.42);
}

.market-modal-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(88dvh, 40rem);
  background: rgba(247, 243, 234, 0.98);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -12px 36px rgba(26, 36, 32, 0.12);
}

.market-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.45rem;
  flex: 0 0 auto;
}

.market-modal-top h3 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.market-modal-close {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.15rem 0.35rem;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
}

.market-modal-close:hover {
  color: var(--ink);
}

.market-modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 0 1rem 0.65rem;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}

.market-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.market-tab.is-on {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.market-tab:hover {
  color: var(--ink-soft);
}

.market-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.65rem 1rem 1.25rem;
}

.market-modal-body [data-market-panel] + [data-market-panel] {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 36, 32, 0.06);
}

.market-panel-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.market-panel-label[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .market-modal {
    align-items: center;
    justify-items: center;
    padding: 1.5rem;
  }

  .market-modal-sheet {
    width: min(32rem, 100%);
    max-height: min(80vh, 36rem);
    border-radius: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(26, 36, 32, 0.16);
  }
}

.lookout-grid {
  display: grid;
  gap: 0.55rem;
}

.lookout-card {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.55rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 252, 245, 0.35);
}

.lookout-card img {
  width: 100%;
  height: 3.15rem;
  object-fit: cover;
  display: block;
}

.lookout-name {
  margin: 0 0 0.1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 650;
}

.lookout-meta {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
}

.paper-foot {
  margin-top: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.paper-identity {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.45;
}

.paper-dir {
  margin: 0.45rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paper-dir a {
  color: var(--muted);
  text-decoration: none;
  opacity: 0.78;
}

.paper-dir a:hover,
.paper-dir a:focus-visible {
  color: var(--lagoon);
  opacity: 1;
}

.paper-top-right {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.paper-classifieds-link {
  align-self: flex-end;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.78;
}

.paper-classifieds-link:hover,
.paper-classifieds-link:focus-visible {
  color: var(--lagoon);
  opacity: 1;
}

.venue-tip {
  margin-top: 0.45rem;
}

.paper-chrome {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.35rem;
}

.venue-tip-open {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lagoon);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.venue-tip-open:hover {
  color: var(--ink);
}

.venue-tip-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.15rem;
}

.venue-tip-form[hidden] {
  display: none;
}

.venue-tip-input {
  flex: 1 1 14rem;
  min-width: 0;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink);
  outline: none;
}

.venue-tip-input:focus {
  border-bottom-color: var(--lagoon);
}

.venue-tip-input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.venue-tip-send {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.2rem 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.venue-tip-send:hover:not(:disabled) {
  color: var(--lagoon);
}

.venue-tip-send:disabled {
  opacity: 0.5;
  cursor: default;
}

.venue-tip-status {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
}

.venue-tip-status[hidden] {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.paper-empty {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 0.88rem;
}

/* —— Desktop: left IG column + town page.
   Column = 280px. Rail height follows the right column (out of flow),
   soft fade at that bottom — not an early viewport toy, not a hard dump. —— */
@media (min-width: 900px) {
  .paper-sheet.has-feed {
    width: min(72rem, 100%);
  }

  .paper-top {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1rem 1.25rem;
  }

  .paper-body {
    --feed-col: 280px;
    --feed-rail-pad: 1.1rem;
    --feed-rail-gutter: 1.5rem;
    display: grid;
    grid-template-columns: var(--feed-col) minmax(0, 1fr);
    column-gap: var(--feed-rail-gutter);
    gap: 0 var(--feed-rail-gutter);
    align-items: start;
    position: relative;
  }

  /* Feed is out of flow (height follows this body). Main MUST stay in column 2. */
  .paper-main {
    grid-column: 2;
    min-width: 0;
  }

  .feed-rail {
    --feed-gap: 1.05rem;
    /* Out of flow so paper-main alone sets body height; rail fills that box */
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--feed-col);
    box-sizing: border-box;
    padding-right: var(--feed-rail-pad);
    border-right: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .feed-scope {
    flex: 0 0 auto;
    margin-bottom: 0.85rem;
  }

  .feed-stack {
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    padding-inline-end: 0;
    scroll-snap-type: none;
    scroll-padding-inline-end: 0;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* Soft fade exactly at the right-column bottom edge */
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 calc(100% - 2.75rem),
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 calc(100% - 2.75rem),
      transparent 100%
    );
  }

  .feed-stack::after {
    content: none;
    flex: none;
  }

  .feed-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    /* Equal air above & below the rule (matches former bottom-only gap) */
    padding: var(--feed-gap) 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
    scroll-snap-align: unset;
  }

  .feed-stack .feed-card:first-child {
    padding-top: 0;
  }

  .feed-stack .feed-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .feed-head {
    margin-bottom: 0.45rem;
  }

  .feed-image {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .feed-handle {
    font-size: 0.76rem;
  }

  .feed-caption {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
  }

  .feed-venue,
  .feed-time {
    display: revert;
  }
}

@media (max-width: 519px) {
  .happening-list li {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }

  .pulse-strip {
    grid-template-columns: 1fr;
  }

  .pulse-cam {
    width: 100%;
  }

  .pulse-cam img {
    height: 5rem;
  }

  .feed-card {
    flex-basis: 14.5rem;
  }
}

