:root {
  --night-black: #030302;
  --poster-yellow: #ffed00;
  --forest: #134f26;
  --deep-moss: #06190f;
  --bark: #2b1c12;
  --poster-paper: #ebe2b4;
  --lichen: #989774;
  --route-gold-dim: #aaa300;
  --line-moss: #384a31;
  --soft-black: #0a0d08;
  --swatch: #030302;
  --tilt: 0deg;
  --ink-veil: rgba(3, 3, 2, 0.84);
  --ink-panel: rgba(3, 3, 2, 0.74);
  --paper-line: rgba(235, 226, 180, 0.38);
  --yellow-line: rgba(255, 237, 0, 0.78);
  --yellow-glow: rgba(255, 237, 0, 0.16);
  --shadow-low: 0 10px 28px rgba(0, 0, 0, 0.34);
  --shadow-mid: 0 22px 70px rgba(0, 0, 0, 0.52);
  --radius-shell: 34px;
  --radius-card: 22px;
  --radius-panel: 18px;
  --radius-chip: 999px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--poster-paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 237, 0, 0.13), transparent 23%),
    radial-gradient(circle at 80% 14%, rgba(19, 79, 38, 0.52), transparent 33%),
    linear-gradient(140deg, var(--deep-moss), var(--night-black) 46%, var(--soft-black) 100%);
}

button,
a,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  min-width: 0;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  display: grid;
  grid-template-columns: 390px;
  align-items: start;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
}

.source-panel {
  position: sticky;
  top: 28px;
  display: none;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(235, 226, 180, 0.2);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(6, 25, 15, 0.92), rgba(3, 3, 2, 0.97)),
    url("assets/generated/black-tour-grain-strip.svg") center / cover no-repeat;
  box-shadow: var(--shadow-mid);
}

.source-panel::before {
  display: block;
  width: 64px;
  height: 5px;
  border-radius: var(--radius-chip);
  background: var(--poster-yellow);
  content: "";
}

.source-panel h1 {
  margin: 0;
  color: var(--poster-yellow);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.source-panel p,
.tour-stage p,
.screen-hero p,
.panel p,
.store-card p,
.watchlist-card p,
.post-card p,
.pinned-drop p {
  margin: 0;
  color: var(--lichen);
  line-height: 1.36;
}

.source-panel p {
  font-size: 13px;
  font-weight: 760;
}

.source-image {
  overflow: hidden;
  border: 1px solid rgba(255, 237, 0, 0.44);
  border-radius: 8px;
  background: var(--night-black);
}

.source-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.eyebrow,
.micro-label {
  color: var(--poster-yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.swatches span {
  display: grid;
  gap: 6px;
  color: var(--poster-paper);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.swatches span::before {
  height: 30px;
  border: 1px solid rgba(235, 226, 180, 0.54);
  border-radius: 7px;
  background: var(--swatch, var(--night-black));
  content: "";
}

.desktop-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.phone-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 390px;
  min-height: 844px;
  border: 1px solid rgba(235, 226, 180, 0.4);
  border-radius: var(--radius-shell);
  background: var(--night-black);
  box-shadow: var(--shadow-mid);
}

.poster-backdrop,
.phone-frame::before,
.phone-frame::after,
.route-spine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.poster-backdrop {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.38), rgba(3, 3, 2, 0.98) 68%),
    url("assets/slack-handoff/textures/date_list_microtext_overlay_390x844.png") center top / cover no-repeat,
    url("assets/slack-handoff/textures/route_line_overlay_390x844.png") center top / cover no-repeat,
    url("assets/slack-handoff/textures/forest_shadow_background_390x844.png") center top / cover no-repeat;
  opacity: 0.82;
}

.phone-frame::before {
  z-index: -3;
  background:
    url("assets/generated/black-tour-grain-strip.svg") center top / 390px 180px repeat-y,
    linear-gradient(90deg, rgba(235, 226, 180, 0.035) 0 1px, transparent 1px 46px);
  opacity: 0.32;
  mix-blend-mode: screen;
}

.phone-frame::after {
  z-index: -2;
  background: url("assets/slack-handoff/textures/poster_grain_tile_512.png") center / 310px 310px repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.route-spine {
  z-index: -1;
  inset: 92px auto 96px 21px;
  width: 3px;
  border-radius: var(--radius-chip);
  background:
    linear-gradient(180deg, transparent, var(--poster-yellow) 12%, var(--route-gold-dim) 52%, transparent);
  opacity: 0.52;
}

.app-topbar,
.screen,
.access-drawer,
.bottom-tabs {
  position: relative;
  z-index: 1;
}

.app-topbar {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 72px;
  padding: 13px 18px 10px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.7), transparent 100%),
    url("assets/generated/black-tour-top-chrome.svg") center top / cover no-repeat;
}

.topbar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--yellow-line);
  border-radius: 14px;
  background: var(--poster-yellow);
  color: var(--night-black);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.topbar-brand strong {
  display: block;
  max-width: 172px;
  overflow: hidden;
  color: var(--poster-paper);
  font-size: 13px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-flag {
  display: block;
  max-width: 172px;
  overflow: hidden;
  color: var(--lichen);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.access-toggle {
  display: grid;
  min-width: 106px;
  min-height: 42px;
  border: 1px solid var(--yellow-line);
  border-radius: 18px;
  padding: 7px 10px;
  background: rgba(3, 3, 2, 0.72);
  color: var(--poster-paper);
  text-align: left;
  box-shadow: var(--shadow-low);
}

.access-toggle span,
.access-toggle small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-toggle span {
  color: var(--poster-yellow);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.access-toggle small {
  color: var(--lichen);
  font-size: 9px;
  font-weight: 900;
}

.access-toggle.is-verified {
  background: var(--poster-yellow);
  color: var(--night-black);
}

.access-toggle.is-verified span,
.access-toggle.is-verified small {
  color: var(--night-black);
}

.access-drawer {
  position: absolute;
  top: 64px;
  right: 16px;
  left: 16px;
  z-index: 5;
  display: grid;
  gap: 12px;
  border: 1px solid var(--yellow-line);
  border-radius: 22px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(6, 25, 15, 0.98), rgba(3, 3, 2, 0.96)),
    url("assets/generated/black-tour-panel-plate.svg") center / cover no-repeat;
  box-shadow: var(--shadow-mid);
}

.access-drawer[hidden] {
  display: none;
}

.access-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.access-drawer strong {
  display: block;
  margin-top: 4px;
  color: var(--poster-paper);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 23px;
  line-height: 0.95;
  text-transform: uppercase;
}

.access-drawer-copy {
  display: grid;
  gap: 7px;
}

.access-drawer-copy p {
  margin: 0;
  color: var(--lichen);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.3;
}

.access-drawer-note {
  border-top: 1px solid rgba(235, 226, 180, 0.18);
  padding-top: 8px;
}

.onboarding-screen {
  position: absolute;
  inset: 72px 0 0;
  z-index: 3;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 18px 92px 32px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.76), rgba(3, 3, 2, 0.98)),
    url("assets/slack-handoff/textures/route_line_overlay_390x844.png") center top / cover no-repeat,
    url("assets/slack-handoff/textures/forest_shadow_background_390x844.png") center top / cover no-repeat;
}

.onboarding-screen[hidden] {
  display: none;
}

.onboarding-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/slack-handoff/textures/poster_grain_tile_512.png") center / 280px 280px repeat;
  opacity: 0.13;
  pointer-events: none;
}

.onboarding-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.onboarding-stepper span {
  min-width: 0;
  border: 1px solid rgba(235, 226, 180, 0.24);
  border-radius: var(--radius-chip);
  padding: 8px 6px;
  color: var(--lichen);
  font-size: 9px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.onboarding-stepper span.is-active {
  border-color: var(--poster-yellow);
  background: var(--poster-yellow);
  color: var(--night-black);
}

.onboarding-panel {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--yellow-line);
  border-radius: 24px;
  padding: 18px 18px 19px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.84), rgba(3, 3, 2, 0.95)),
    url("assets/generated/black-tour-grain-strip.svg") center / cover no-repeat;
  box-shadow: var(--shadow-low);
}

.onboarding-panel::before {
  position: absolute;
  top: 12px;
  right: 14px;
  left: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--poster-yellow), transparent);
  opacity: 0.78;
  content: "";
}

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

.onboarding-panel h2 {
  margin: 0;
  color: var(--poster-yellow);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 38px;
  line-height: 0.94;
  text-transform: uppercase;
}

.onboarding-panel p,
.onboarding-status {
  margin: 0;
  color: var(--lichen);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.38;
}

.onboarding-form {
  display: grid;
  gap: 11px;
  margin-top: 1px;
}

.session-trust,
.session-banner {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 237, 0, 0.34);
  border-radius: 16px;
  padding: 10px 11px;
  background: rgba(3, 3, 2, 0.78);
}

.session-trust strong,
.session-banner strong {
  color: var(--poster-yellow);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.session-trust span,
.session-banner span {
  color: var(--lichen);
  font-size: 10px;
  font-weight: 820;
  line-height: 1.25;
}

.onboarding-form label {
  display: grid;
  gap: 6px;
  color: var(--poster-paper);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.onboarding-form input:not([type="checkbox"]) {
  min-height: 42px;
  border: 1px solid rgba(235, 226, 180, 0.28);
  border-radius: 15px;
  background: rgba(3, 3, 2, 0.86);
  color: var(--poster-paper);
  padding: 0 12px;
  box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.56);
}

.terms-row {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 24px;
  text-transform: none;
}

.terms-row input {
  width: 18px;
  height: 18px;
}

.email-receipt,
.citypass-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 237, 0, 0.42);
  border-radius: 20px;
  padding: 13px;
  background: rgba(3, 3, 2, 0.62);
}

.email-receipt strong,
.citypass-card strong {
  color: var(--poster-paper);
  font-size: 18px;
  line-height: 1;
}

.email-receipt span,
.citypass-card span,
.citypass-card small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--lichen);
  font-size: 11px;
  font-weight: 850;
}

.screen {
  display: none;
  height: 678px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 18px 22px 32px;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen.is-active {
  display: block;
}

#feed-screen {
  overflow: hidden;
  padding: 0;
}

.app-surface.has-chat-composer .screen-root {
  height: calc(844px - 72px);
  overflow: hidden;
  padding-bottom: 0;
}

.feed-layout {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}

.feed-scroll {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 18px 12px 32px;
  scrollbar-width: none;
}

.feed-scroll::-webkit-scrollbar {
  display: none;
}

.chat-dock {
  border-top: 1px solid rgba(255, 237, 0, 0.28);
  padding: 8px 18px 13px 32px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.08), rgba(3, 3, 2, 0.96) 26%),
    url("assets/generated/black-tour-bottom-nav.svg") center bottom / 100% 100% no-repeat;
}

.chat-dock-root {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
}

.chat-dock[hidden] {
  display: none;
}

.chat-dock .composer {
  margin-top: 0;
}

.app-surface.has-chat-composer .feed-scroll {
  height: 100%;
  padding-top: 10px;
  padding-bottom: 196px;
}

.app-surface.has-chat-composer #feed-screen .screen-hero,
.app-surface.has-chat-composer #feed-screen .selector-card,
.app-surface.has-chat-composer #feed-screen .signal-row,
.app-surface.has-chat-composer #feed-screen .update-ticker {
  display: none;
}

.app-surface.has-chat-composer #feed-screen .filter-row {
  gap: 6px;
  margin: 9px 0;
}

.app-surface.has-chat-composer #feed-screen .filter-row button {
  min-height: 34px;
  padding: 0 10px;
}

.app-surface.has-chat-composer #feed-screen .pinned-drop {
  padding: 12px 12px 12px 22px;
}

.app-surface.has-chat-composer #feed-screen .pinned-drop h3 {
  margin: 3px 0 5px;
}

.app-surface.has-chat-composer #feed-screen .pinned-drop p {
  font-size: 11px;
}

.app-surface.has-chat-composer #feed-screen .pinned-drop .action-meta {
  margin-top: 7px;
}

.app-surface.has-chat-composer .feed-thread {
  max-height: 136px;
  overflow-y: auto;
  padding-right: 2px;
}

.app-surface.has-chat-composer .bottom-nav,
.phone-frame.is-chat-mode .bottom-tabs {
  display: none;
}

.tour-stage,
.screen-hero {
  position: relative;
  overflow: hidden;
  min-height: 134px;
  margin: 2px 0 12px;
  border: 1px solid rgba(255, 237, 0, 0.56);
  border-radius: 26px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.12), rgba(3, 3, 2, 0.72)),
    url("assets/generated/black-tour-panel-plate.svg") center / cover no-repeat;
  box-shadow: var(--shadow-low);
}

.tour-stage::after {
  position: absolute;
  right: -8px;
  bottom: -24px;
  color: rgba(255, 237, 0, 0.62);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 142px;
  line-height: 0.82;
  content: "10";
}

.tour-title-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tour-stage h2,
.screen-hero h2 {
  margin: 6px 0;
  color: var(--poster-paper);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 38px;
  line-height: 0.9;
  text-transform: uppercase;
}

.tour-stage p,
.screen-hero p {
  position: relative;
  z-index: 1;
  max-width: 248px;
  font-size: 12px;
  font-weight: 800;
}

.state-pill {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 36px;
  border-radius: 16px;
  background: var(--poster-yellow);
  color: var(--night-black);
  font-size: 12px;
  font-weight: 900;
}

.screen-hero {
  min-height: 112px;
  padding-right: 14px;
}

.screen-hero h2 {
  position: relative;
  z-index: 1;
  font-size: 34px;
}

.background-word {
  position: absolute;
  right: -14px;
  bottom: -6px;
  color: rgba(255, 237, 0, 0.34);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 53px;
  font-weight: 900;
  line-height: 0.84;
  text-transform: uppercase;
  user-select: none;
}

.hero-card,
.panel,
.selector-card,
.composer,
.pinned-drop,
.post-card,
.progress-card,
.decade-strip,
.stamp-card,
.badge-row article,
.store-card,
.category-grid article,
.watchlist-card,
.official-list a,
.passport-strip {
  position: relative;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-card);
  background: var(--ink-panel);
  box-shadow: var(--shadow-low);
}

.hero-card,
.progress-card,
.store-card {
  border-color: var(--yellow-line);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.22), rgba(3, 3, 2, 0.84)),
    url("assets/generated/black-tour-panel-plate.svg") center / cover no-repeat;
}

.next-stop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 11px;
  padding: 16px;
}

.city-stack {
  min-width: 0;
}

.next-stop-card h3,
.store-card h3 {
  margin: 5px 0 6px;
  color: var(--poster-yellow);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 50px;
  line-height: 0.86;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.next-stop-card p,
.next-stop-card strong {
  display: block;
  margin: 0;
  color: var(--poster-paper);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.next-stop-card strong {
  margin-top: 5px;
  color: var(--poster-yellow);
  font-size: 10px;
  text-transform: uppercase;
}

.trust-note,
.composer-note,
.status-line,
.thread-badge {
  display: block;
  color: var(--lichen);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
}

.trust-note {
  margin-top: 6px;
}

.access-note {
  color: var(--poster-yellow);
}

.countdown-tile {
  align-self: start;
  display: grid;
  place-items: center;
  min-height: 74px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, var(--poster-yellow), var(--route-gold-dim));
  color: var(--night-black);
  text-align: center;
}

.countdown-tile span {
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.countdown-tile strong {
  color: var(--night-black);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 24px;
}

.button-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tab-button,
.primary-action,
.secondary-action,
.text-action,
.access-mode-button,
.quick-actions button,
.action-meta button,
.filter-row button {
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(235, 226, 180, 0.28);
  border-radius: var(--radius-chip);
  background: rgba(3, 3, 2, 0.66);
  color: var(--poster-paper);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.primary-action,
.secondary-action {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
}

.primary-action,
.tab-button.is-active,
.filter-row button.is-active {
  border-color: var(--poster-yellow);
  background: var(--poster-yellow);
  color: var(--night-black);
}

.secondary-action {
  border-color: var(--yellow-line);
  color: var(--poster-yellow);
}

.text-action {
  min-height: 36px;
  border-color: transparent;
  color: var(--poster-yellow);
  padding-inline: 0;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 11px 0;
}

.signal-row article {
  min-width: 0;
  border: 1px solid rgba(255, 237, 0, 0.38);
  border-radius: 17px;
  padding: 10px 8px;
  background:
    linear-gradient(180deg, rgba(6, 25, 15, 0.78), rgba(3, 3, 2, 0.74));
}

.signal-row span,
.signal-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-row span {
  color: var(--poster-yellow);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 22px;
  line-height: 0.9;
  text-transform: uppercase;
}

.signal-row small {
  margin-top: 5px;
  color: var(--lichen);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.62), rgba(3, 3, 2, 0.82)),
    url("assets/generated/black-tour-feed-plate.svg") center / cover no-repeat;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-heading h3 {
  margin: 4px 0 0;
  color: var(--poster-paper);
  font-size: 17px;
  line-height: 1;
}

.mini-posts,
.post-list {
  display: grid;
  gap: 10px;
}

.mini-posts article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(235, 226, 180, 0.2);
  border-radius: 16px;
  padding: 9px;
  background: rgba(3, 3, 2, 0.5);
}

.mini-posts article > span,
.avatar-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--poster-yellow);
  color: var(--night-black);
  font-size: 12px;
  font-weight: 900;
}

.mini-posts strong,
.post-head strong {
  color: var(--poster-paper);
  font-size: 12px;
}

.mini-posts p {
  margin: 2px 0 0;
  font-size: 11px;
}

.passport-strip,
.decade-strip {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.56), rgba(3, 3, 2, 0.78)),
    url("assets/generated/black-tour-grain-strip.svg") center / cover no-repeat;
}

.passport-strip strong,
.decade-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--poster-paper);
  font-size: 17px;
  line-height: 1.1;
}

.dot-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
}

.dot-progress span {
  display: block;
  height: 8px;
  border-radius: var(--radius-chip);
  background: rgba(235, 226, 180, 0.27);
}

.dot-progress .is-active {
  background: var(--poster-yellow);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.quick-actions button {
  min-height: 44px;
  padding: 0 5px;
  overflow: hidden;
  font-size: 9px;
}

.quick-actions button:nth-child(2),
.quick-actions button:hover {
  border-color: var(--poster-yellow);
  background: var(--poster-yellow);
  color: var(--night-black);
}

.selector-card {
  padding: 12px 15px;
  border-color: var(--yellow-line);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.32), rgba(3, 3, 2, 0.76)),
    url("assets/generated/black-tour-panel-plate.svg") center / cover no-repeat;
}

.selector-card strong {
  display: block;
  margin-top: 3px;
  color: var(--poster-paper);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.selector-card p {
  margin: 2px 0 0;
  color: var(--lichen);
  font-size: 11px;
}

.update-ticker {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  border: 1px solid rgba(255, 237, 0, 0.38);
  border-radius: 18px;
  padding: 10px;
  background: rgba(3, 3, 2, 0.66);
}

.update-ticker span {
  color: var(--poster-yellow);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.update-ticker p {
  margin: 0;
  color: var(--lichen);
  font-size: 10px;
  font-weight: 820;
  line-height: 1.28;
}

.composer {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 9px;
  margin-top: 11px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.7), rgba(3, 3, 2, 0.86)),
    url("assets/generated/black-tour-feed-plate.svg") center / cover no-repeat;
}

.composer.is-locked {
  border-color: rgba(255, 237, 0, 0.4);
}

.composer-mark {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--poster-yellow);
  color: var(--night-black);
  font-weight: 900;
}

.composer label {
  color: var(--poster-paper);
  font-size: 12px;
  font-weight: 850;
}

.composer-note,
.status-line {
  grid-column: 2;
  margin: -4px 0 0;
}

.composer textarea {
  width: 100%;
  min-height: 58px;
  resize: vertical;
  border: 1px solid rgba(235, 226, 180, 0.26);
  border-radius: 14px;
  background: rgba(3, 3, 2, 0.56);
  color: var(--poster-paper);
  padding: 9px;
}

.composer textarea:disabled {
  opacity: 0.58;
}

.composer-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.composer-actions span {
  color: var(--lichen);
  font-size: 11px;
  font-weight: 900;
}

.composer-actions .primary-action {
  min-width: 86px;
}

.composer .primary-action:disabled {
  opacity: 0.45;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.filter-row button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 10px;
}

.pinned-drop {
  overflow: hidden;
  padding: 15px 14px 14px 24px;
  border-color: var(--yellow-line);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.62), rgba(3, 3, 2, 0.88)),
    url("assets/generated/black-tour-feed-plate.svg") center / cover no-repeat;
}

.pinned-drop::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 10px;
  width: 7px;
  border-radius: var(--radius-chip);
  background: var(--poster-yellow);
  content: "";
}

.pinned-drop h3,
.watchlist-card h3 {
  margin: 5px 0 7px;
  color: var(--poster-paper);
  font-size: 17px;
  line-height: 1.1;
}

.action-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.action-meta button {
  min-height: 32px;
  border-color: rgba(235, 226, 180, 0.18);
  color: var(--lichen);
  font-size: 9px;
  padding: 0 7px;
}

.action-meta button:disabled {
  opacity: 0.42;
}

.post-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-color: rgba(235, 226, 180, 0.26);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.72), rgba(3, 3, 2, 0.88)),
    url("assets/generated/black-tour-feed-plate.svg") center / cover no-repeat;
}

.feed-post {
  min-width: 0;
}

.post-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.post-head span {
  color: var(--poster-yellow);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.thread-badge {
  width: fit-content;
  margin-top: 5px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 237, 0, 0.36);
  border-radius: var(--radius-chip);
  color: var(--poster-yellow);
  font-size: 8px;
  text-transform: uppercase;
}

.post-card p {
  margin: 6px 0 8px;
  font-size: 12px;
}

.progress-card {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.progress-card div:nth-child(2) {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.progress-card strong {
  color: var(--poster-yellow);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 40px;
  line-height: 0.9;
}

.progress-card p {
  margin: 0 0 4px;
  color: var(--lichen);
  font-size: 11px;
}

.progress-track {
  overflow: hidden;
  height: 10px;
  border-radius: var(--radius-chip);
  background: rgba(235, 226, 180, 0.25);
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--poster-yellow);
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.stamp-card {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 9px;
  transform: rotate(var(--tilt, 0deg));
  border-color: rgba(255, 237, 0, 0.68);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.7), rgba(3, 3, 2, 0.88)),
    url("assets/generated/black-tour-stamp-ring.svg") center 8px / 72px 72px no-repeat;
  text-align: center;
}

.stamp-card:not(.is-earned) {
  opacity: 0.56;
}

.stamp-card.is-pending {
  opacity: 0.95;
  border-color: var(--poster-yellow);
}

.stamp-card img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.stamp-card strong,
.stamp-card span,
.stamp-card small {
  display: block;
  text-transform: uppercase;
}

.stamp-card strong {
  color: var(--poster-paper);
  font-size: 12px;
}

.stamp-card span {
  color: var(--poster-yellow);
  font-size: 9px;
  font-weight: 900;
}

.stamp-card small {
  color: var(--lichen);
  font-size: 8px;
  font-weight: 900;
}

.badge-row,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.badge-row article,
.category-grid article {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 78px;
  padding: 9px 6px;
  background: rgba(3, 3, 2, 0.74);
  text-align: center;
}

.badge-row img,
.merch-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.32));
}

.badge-row strong,
.category-grid strong {
  color: var(--poster-paper);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.badge-row span,
.category-grid p {
  margin: 0;
  color: var(--lichen);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.store-card {
  padding: 16px;
}

.store-card h3 {
  margin: 6px 0 8px;
  color: var(--poster-paper);
  font-size: 27px;
}

.store-card p {
  margin-bottom: 12px;
  font-size: 12px;
}

.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.watchlist-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.62), rgba(3, 3, 2, 0.86)),
    url("assets/generated/black-tour-panel-plate.svg") center / cover no-repeat;
}

.stream-shadow {
  min-height: 70px;
  border: 1px solid rgba(255, 237, 0, 0.36);
  border-radius: 17px;
  background:
    linear-gradient(90deg, rgba(19, 79, 38, 0.34) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, rgba(255, 237, 0, 0.16), rgba(3, 3, 2, 0.82));
}

.watchlist-card p {
  margin-bottom: 10px;
  font-size: 12px;
}

.official-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.official-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  overflow: hidden;
  padding: 0 10px;
  color: var(--poster-paper);
  font-size: 11px;
  font-weight: 900;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.42), rgba(3, 3, 2, 0.78)),
    url("assets/generated/black-tour-link-plate.svg") center / cover no-repeat;
}

.official-list a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-list a span:last-child {
  color: var(--poster-yellow);
  font-size: 9px;
  text-transform: uppercase;
}

.bottom-tabs {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(255, 237, 0, 0.52);
  border-radius: 30px;
  padding: 7px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.94), rgba(3, 3, 2, 0.98)),
    url("assets/generated/black-tour-bottom-nav.svg") center / 100% 100% no-repeat;
  backdrop-filter: blur(10px);
  box-shadow: 0 -12px 34px rgba(3, 3, 2, 0.74);
}

.bottom-tabs .tab-button {
  display: grid;
  grid-template-rows: 20px 1fr;
  place-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 22px;
  padding: 0;
  background: transparent;
  color: var(--lichen);
  font-size: 10px;
}

.bottom-tabs .tab-button img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  opacity: 0.68;
  filter: grayscale(1);
}

.bottom-tabs .tab-button.is-active {
  background: var(--poster-yellow);
  color: var(--night-black);
}

.bottom-tabs .tab-button.is-active img {
  opacity: 1;
  filter: none;
}

.access-mode-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.access-mode-button {
  min-height: 44px;
  padding: 0 4px;
  font-size: 8px;
  line-height: 1;
}

.access-mode-button.is-active {
  border-color: var(--poster-yellow);
  background: var(--poster-yellow);
  color: var(--night-black);
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--poster-yellow);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .screen.is-active {
    animation: screen-in 150ms ease-out;
  }

  .tab-button,
  .primary-action,
  .secondary-action,
  .quick-actions button,
  .filter-row button {
    transition: background 140ms ease, color 140ms ease, transform 140ms ease;
  }

  .tab-button:hover,
  .primary-action:hover,
  .secondary-action:hover,
  .quick-actions button:hover,
  .filter-row button:hover {
    transform: translateY(-1px);
  }
}

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

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
    background: var(--night-black);
  }

  .app-shell {
    display: block;
    min-height: 100svh;
    padding: 0;
  }

  .source-panel {
    display: none;
  }

  .phone-frame {
    width: 100vw;
    min-height: 100svh;
    height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .screen {
    height: calc(100svh - 166px);
    padding-right: 16px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .phone-frame.is-chat-mode .screen {
    height: calc(100svh - 72px);
  }

  .app-surface.has-chat-composer .screen-root {
    height: calc(100svh - 72px);
  }

  .feed-scroll {
    padding-right: 16px;
  }

  .chat-dock {
    padding-right: 16px;
    padding-bottom: max(13px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .screen {
    padding-left: 26px;
    padding-right: 14px;
  }

  .access-mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .badge-row {
    grid-template-columns: 1fr;
  }

  .official-list {
    grid-template-columns: 1fr;
  }
}

/* Forest-cover facelift: generated GPT Image 2 material translated into UI assets. */
:root {
  --forest-asset-root: "assets/forest-facelift/";
  --ink-veil: rgba(3, 3, 2, 0.56);
  --ink-panel: rgba(3, 3, 2, 0.64);
  --paper-line: rgba(235, 226, 180, 0.5);
  --yellow-line: rgba(255, 237, 0, 0.86);
  --shadow-low: 0 16px 40px rgba(0, 0, 0, 0.44);
  --shadow-mid: 0 30px 90px rgba(0, 0, 0, 0.62);
}

body {
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 237, 0, 0.18), transparent 22%),
    radial-gradient(circle at 80% 16%, rgba(35, 95, 45, 0.55), transparent 34%),
    linear-gradient(140deg, #07170e, #030302 48%, #101006 100%);
}

.phone-frame {
  border-color: rgba(255, 237, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(10, 16, 8, 0.3), rgba(3, 3, 2, 0.96)),
    url("assets/forest-facelift/forest-shadow-tile.png") center / cover no-repeat,
    var(--night-black);
}

.poster-backdrop {
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.02), rgba(3, 3, 2, 0.55) 42%, rgba(3, 3, 2, 0.98) 86%),
    url("assets/forest-facelift/route-map-overlay.png") center 188px / 124% auto no-repeat,
    url("assets/forest-facelift/forest-clearing-plate.png") center top / 100% 62% no-repeat,
    url("assets/forest-facelift/forest-shadow-tile.png") center / cover no-repeat;
  opacity: 1;
}

.phone-frame::before {
  background:
    url("assets/forest-facelift/date-microtype-band.png") center 190px / 105% auto no-repeat,
    url("assets/forest-facelift/date-microtype-band.png") center 570px / 105% auto no-repeat,
    linear-gradient(90deg, rgba(235, 226, 180, 0.04) 0 1px, transparent 1px 48px);
  opacity: 0.36;
  mix-blend-mode: screen;
}

.phone-frame::after {
  background:
    linear-gradient(180deg, transparent 0 58%, rgba(3, 3, 2, 0.84) 84%),
    url("assets/slack-handoff/textures/poster_grain_tile_512.png") center / 260px 260px repeat;
  opacity: 0.22;
}

.route-spine {
  left: 22px;
  width: 4px;
  background:
    linear-gradient(180deg, transparent, rgba(255, 237, 0, 0.92) 12%, rgba(255, 237, 0, 0.28) 50%, transparent),
    url("assets/forest-facelift/bark-divider.png") center / cover no-repeat;
  opacity: 0.66;
}

.app-topbar {
  min-height: 76px;
  height: 76px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.28), rgba(3, 3, 2, 0.68)),
    url("assets/forest-facelift/top-chrome-plate.png") center bottom / 108% 100% no-repeat;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background:
    url("assets/forest-facelift/yellow-sticker-cta.png") center / cover no-repeat,
    var(--poster-yellow);
  box-shadow: 0 8px 24px rgba(255, 237, 0, 0.18);
}

.topbar-brand strong {
  color: #fff6ae;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 16px;
  line-height: 0.94;
  text-transform: uppercase;
}

.access-toggle {
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 237, 0, 0.96), rgba(191, 179, 0, 0.98)),
    url("assets/forest-facelift/yellow-sticker-cta.png") center / 125% 130% no-repeat;
  color: var(--night-black);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.46);
}

.access-toggle span,
.access-toggle small {
  color: var(--night-black);
}

.onboarding-screen {
  inset: 76px 0 0;
  padding-top: 20px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.08), rgba(3, 3, 2, 0.62) 46%, rgba(3, 3, 2, 0.96) 100%),
    url("assets/forest-facelift/forest-clearing-plate.png") center top / 100% 48% no-repeat,
    url("assets/forest-facelift/forest-shadow-tile.png") center / cover no-repeat;
}

.onboarding-stepper span {
  border-color: rgba(255, 237, 0, 0.3);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.72), rgba(3, 3, 2, 0.9)),
    url("assets/forest-facelift/date-microtype-band.png") center / cover no-repeat;
}

.onboarding-panel,
.access-drawer {
  border-color: rgba(255, 237, 0, 0.74);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.58), rgba(3, 3, 2, 0.88)),
    url("assets/forest-facelift/torn-card-plate.png") center / 105% 105% no-repeat;
}

.onboarding-panel::after,
.access-drawer::after {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 142px;
  height: 142px;
  background: url("assets/forest-facelift/bear-medallion.png") center / contain no-repeat;
  content: "";
  opacity: 0.19;
  pointer-events: none;
}

.onboarding-panel > *,
.access-drawer > * {
  position: relative;
  z-index: 1;
}

.onboarding-panel h2 {
  color: var(--poster-yellow);
  font-size: 42px;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.session-trust,
.session-banner,
.email-receipt,
.citypass-card {
  border-color: rgba(255, 237, 0, 0.52);
  background:
    linear-gradient(180deg, rgba(8, 14, 8, 0.78), rgba(3, 3, 2, 0.86)),
    url("assets/forest-facelift/date-microtype-band.png") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(235, 226, 180, 0.08);
}

.tour-stage,
.screen-hero {
  min-height: 154px;
  border-color: rgba(255, 237, 0, 0.78);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.05), rgba(3, 3, 2, 0.62) 56%, rgba(3, 3, 2, 0.88)),
    url("assets/forest-facelift/forest-clearing-plate.png") center / cover no-repeat;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.56);
}

.tour-stage::before,
.screen-hero::before {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 0;
  width: 118px;
  height: 118px;
  background: url("assets/forest-facelift/bear-medallion.png") center / contain no-repeat;
  content: "";
  opacity: 0.36;
}

.tour-stage::after {
  right: -18px;
  bottom: -18px;
  width: 176px;
  height: 142px;
  background: url("assets/forest-facelift/ten-glyph.png") center / contain no-repeat;
  color: transparent;
  opacity: 0.86;
}

.tour-stage h2,
.screen-hero h2 {
  color: var(--poster-yellow);
  font-size: 42px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.58);
}

.tour-stage p,
.screen-hero p {
  color: #efe7b4;
  font-size: 12px;
  max-width: 224px;
}

.background-word {
  opacity: 0.2;
}

.hero-card,
.panel,
.selector-card,
.composer,
.pinned-drop,
.post-card,
.progress-card,
.decade-strip,
.stamp-card,
.badge-row article,
.store-card,
.category-grid article,
.watchlist-card,
.official-list a,
.passport-strip {
  overflow: hidden;
  border-color: rgba(255, 237, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.44), rgba(3, 3, 2, 0.84)),
    url("assets/forest-facelift/torn-card-plate.png") center / 106% 106% no-repeat;
  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.44);
}

.hero-card::before,
.panel::before,
.selector-card::before,
.composer::before,
.pinned-drop::before,
.post-card::before,
.progress-card::before,
.decade-strip::before,
.stamp-card::before,
.store-card::before,
.watchlist-card::before,
.official-list a::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/forest-facelift/date-microtype-band.png") center top / 108% auto no-repeat,
    url("assets/slack-handoff/textures/poster_grain_tile_512.png") center / 220px 220px repeat;
  content: "";
  opacity: 0.16;
  pointer-events: none;
}

.hero-card > *,
.panel > *,
.selector-card > *,
.composer > *,
.pinned-drop > *,
.post-card > *,
.progress-card > *,
.decade-strip > *,
.stamp-card > *,
.store-card > *,
.watchlist-card > *,
.official-list a > * {
  position: relative;
  z-index: 1;
}

.next-stop-card::after,
.progress-card::after,
.store-card::after,
.passport-strip::after {
  position: absolute;
  right: -20px;
  bottom: -24px;
  z-index: 0;
  width: 126px;
  height: 126px;
  background: url("assets/forest-facelift/paw-seal.png") center / contain no-repeat;
  content: "";
  opacity: 0.22;
  pointer-events: none;
}

.next-stop-card h3,
.store-card h3 {
  color: var(--poster-yellow);
  font-size: 56px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.58);
}

.countdown-tile,
.state-pill,
.primary-action,
.tab-button.is-active,
.filter-row button.is-active {
  background:
    linear-gradient(180deg, rgba(255, 237, 0, 0.98), rgba(207, 194, 0, 0.98)),
    url("assets/forest-facelift/yellow-sticker-cta.png") center / cover no-repeat;
  color: var(--night-black);
}

.secondary-action,
.tab-button,
.filter-row button,
.action-meta button,
.quick-actions button {
  border-color: rgba(255, 237, 0, 0.34);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.66), rgba(3, 3, 2, 0.84)),
    url("assets/forest-facelift/date-microtype-band.png") center / cover no-repeat;
}

.signal-row article {
  border-color: rgba(255, 237, 0, 0.46);
  background:
    linear-gradient(180deg, rgba(4, 22, 12, 0.72), rgba(3, 3, 2, 0.78)),
    url("assets/forest-facelift/forest-shadow-tile.png") center / cover no-repeat;
}

.mini-posts article,
.post-card {
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.5), rgba(3, 3, 2, 0.82)),
    url("assets/forest-facelift/composer-card-frame.png") center / 106% 110% no-repeat;
}

.avatar-dot,
.mini-posts article > span {
  background:
    url("assets/forest-facelift/yellow-sticker-cta.png") center / cover no-repeat,
    var(--poster-yellow);
}

.stamp-card {
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.32), rgba(3, 3, 2, 0.76)),
    url("assets/forest-facelift/city-stamp-frame.png") center / 112% 112% no-repeat;
}

.stamp-card img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.official-list a {
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.48), rgba(3, 3, 2, 0.86)),
    url("assets/forest-facelift/official-link-rows.png") center / 112% 112% no-repeat;
}

.chat-dock,
.bottom-tabs {
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.04), rgba(3, 3, 2, 0.9) 28%),
    url("assets/forest-facelift/bottom-nav-plate.png") center bottom / 108% 100% no-repeat;
}

.bottom-tabs {
  border-color: rgba(255, 237, 0, 0.78);
  box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.5);
}

.chat-dock .composer {
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.48), rgba(3, 3, 2, 0.84)),
    url("assets/forest-facelift/composer-card-frame.png") center / 104% 104% no-repeat;
}

.section-heading h3,
.pinned-drop h3,
.progress-card h3,
.watchlist-card h3,
.store-card h3 {
  color: #fff0a2;
  font-family: Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .app-topbar {
    min-height: 76px;
    height: 76px;
  }

  .screen {
    height: calc(100svh - 170px);
  }

  .phone-frame.is-chat-mode .screen,
  .app-surface.has-chat-composer .screen-root {
    height: calc(100svh - 76px);
  }
}

/* Premium forest refit: cover-derived assets are used as art direction, not noise. */
:root {
  --cover-heading: Haettenschweiler, "Arial Narrow", Impact, "Arial Black", sans-serif;
  --forest-glass: rgba(3, 5, 3, 0.9);
  --forest-panel: rgba(4, 8, 4, 0.92);
  --forest-panel-strong: rgba(2, 3, 2, 0.96);
  --forest-border: rgba(255, 237, 0, 0.72);
  --paper-readable: #fff5b6;
  --moss-readable: #d8d2a2;
  --shadow-low: 0 16px 34px rgba(0, 0, 0, 0.44);
  --shadow-mid: 0 30px 76px rgba(0, 0, 0, 0.58);
  --radius-card: 8px;
  --radius-panel: 8px;
}

body {
  background:
    radial-gradient(circle at 46% 8%, rgba(255, 237, 0, 0.08), transparent 24%),
    radial-gradient(circle at 20% 22%, rgba(30, 74, 32, 0.45), transparent 32%),
    linear-gradient(150deg, #06130b, #030302 52%, #090a04 100%);
}

.phone-frame {
  border-radius: 28px;
  border-color: rgba(255, 237, 0, 0.34);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.1), rgba(3, 3, 2, 0.75) 45%, rgba(3, 3, 2, 0.98)),
    url("assets/forest-facelift/forest-shadow-tile.png") center / cover no-repeat,
    var(--night-black);
}

.poster-backdrop {
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.04), rgba(3, 3, 2, 0.22) 32%, rgba(3, 3, 2, 0.72) 66%, rgba(3, 3, 2, 0.98) 100%),
    url("assets/forest-facelift/forest-clearing-plate.png") center top / 100% auto no-repeat,
    url("assets/forest-facelift/forest-shadow-tile.png") center / cover no-repeat;
  opacity: 1;
}

.phone-frame::before {
  background:
    linear-gradient(180deg, transparent, rgba(3, 3, 2, 0.76) 80%),
    url("assets/forest-facelift/date-microtype-band.png") center calc(100% - 116px) / 106% auto no-repeat;
  opacity: 0.18;
  mix-blend-mode: normal;
}

.phone-frame::after {
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 237, 0, 0.08), transparent 20%),
    url("assets/slack-handoff/textures/poster_grain_tile_512.png") center / 280px 280px repeat;
  opacity: 0.11;
  mix-blend-mode: overlay;
}

.route-spine {
  inset: 96px auto 104px 22px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 237, 0, 0.82) 18%, rgba(255, 237, 0, 0.22) 62%, transparent);
  opacity: 0.42;
}

.app-topbar {
  min-height: 76px;
  height: 76px;
  border-bottom: 1px solid rgba(255, 237, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.88), rgba(3, 3, 2, 0.72)),
    url("assets/forest-facelift/top-chrome-plate.png") center bottom / 108% 100% no-repeat;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 237, 0, 0.98), rgba(214, 199, 0, 0.98)),
    url("assets/forest-facelift/yellow-sticker-cta.png") center / 120% 120% no-repeat;
  font-family: var(--cover-heading);
  font-size: 23px;
  letter-spacing: 0;
}

.topbar-brand .micro-label {
  color: var(--poster-yellow);
  font-size: 9px;
}

.topbar-brand strong,
.tour-stage h2,
.screen-hero h2,
.onboarding-panel h2,
.next-stop-card h3,
.store-card h3,
.progress-card strong,
.section-heading h3,
.pinned-drop h3,
.watchlist-card h3 {
  font-family: var(--cover-heading);
  letter-spacing: 0;
}

.topbar-brand strong {
  color: var(--paper-readable);
  font-size: 18px;
  line-height: 0.9;
  max-width: 168px;
}

.access-flag {
  color: rgba(255, 245, 182, 0.76);
}

.access-toggle {
  min-width: 106px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 237, 0, 0.98), rgba(208, 194, 0, 0.98)),
    url("assets/forest-facelift/yellow-sticker-cta.png") center / 128% 130% no-repeat;
}

.onboarding-screen {
  inset: 76px 0 0;
  padding: 18px 18px 96px 32px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.02), rgba(3, 3, 2, 0.38) 35%, rgba(3, 3, 2, 0.94) 82%),
    url("assets/forest-facelift/forest-clearing-plate.png") center top / 100% auto no-repeat,
    url("assets/forest-facelift/forest-shadow-tile.png") center / cover no-repeat;
}

.onboarding-stepper {
  gap: 7px;
}

.onboarding-stepper span {
  border-radius: 999px;
  border-color: rgba(255, 237, 0, 0.42);
  background: rgba(2, 3, 2, 0.78);
  color: var(--moss-readable);
}

.onboarding-stepper span.is-active {
  background: var(--poster-yellow);
  color: var(--night-black);
}

.onboarding-panel,
.access-drawer {
  border-radius: 8px;
  border-color: var(--forest-border);
  background:
    linear-gradient(180deg, rgba(5, 8, 4, 0.9), rgba(2, 3, 2, 0.97)),
    url("assets/forest-facelift/torn-card-plate.png") center / 115% 115% no-repeat;
  box-shadow: var(--shadow-mid);
}

.onboarding-panel::before,
.access-drawer::before {
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--poster-yellow);
  opacity: 1;
}

.onboarding-panel::after,
.access-drawer::after {
  right: 12px;
  bottom: 12px;
  width: 78px;
  height: 78px;
  opacity: 0.1;
}

.onboarding-panel h2 {
  max-width: 280px;
  color: var(--poster-yellow);
  font-size: 43px;
  line-height: 0.84;
}

.onboarding-panel p,
.source-panel p,
.tour-stage p,
.screen-hero p,
.panel p,
.store-card p,
.watchlist-card p,
.post-card p,
.selector-card p,
.update-ticker p,
.progress-card p {
  color: var(--moss-readable);
}

.session-trust,
.session-banner,
.email-receipt,
.citypass-card,
.update-ticker {
  border-radius: 8px;
  border-color: rgba(255, 237, 0, 0.38);
  background: rgba(3, 4, 2, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 182, 0.06);
}

.onboarding-form input:not([type="checkbox"]),
.composer textarea {
  border-radius: 8px;
  border-color: rgba(255, 245, 182, 0.32);
  background: rgba(0, 0, 0, 0.72);
}

.screen {
  padding-top: 10px;
}

.tour-stage,
.screen-hero {
  isolation: isolate;
  min-height: 152px;
  border-radius: 8px;
  border-color: var(--forest-border);
  background:
    linear-gradient(90deg, rgba(3, 3, 2, 0.86), rgba(3, 3, 2, 0.48) 55%, rgba(3, 3, 2, 0.22)),
    linear-gradient(180deg, rgba(3, 3, 2, 0.1), rgba(3, 3, 2, 0.74)),
    url("assets/forest-facelift/forest-clearing-plate.png") center / cover no-repeat;
}

.tour-stage::before,
.screen-hero::before {
  right: 16px;
  bottom: 13px;
  z-index: -1;
  width: 92px;
  height: 92px;
  opacity: 0.34;
}

.tour-stage::after {
  right: -2px;
  bottom: -18px;
  z-index: -1;
  width: 126px;
  height: 112px;
  opacity: 0.54;
}

.tour-stage > *,
.screen-hero > * {
  position: relative;
  z-index: 1;
}

.tour-stage h2,
.screen-hero h2 {
  color: var(--poster-yellow);
  font-size: 45px;
  line-height: 0.82;
  max-width: 212px;
}

.tour-stage p,
.screen-hero p {
  max-width: 214px;
  color: var(--paper-readable);
  font-size: 12px;
}

.background-word {
  right: 10px;
  bottom: 8px;
  z-index: -1;
  max-width: 170px;
  color: rgba(255, 237, 0, 0.14);
  font-size: 42px;
}

.hero-card,
.panel,
.selector-card,
.composer,
.pinned-drop,
.post-card,
.progress-card,
.decade-strip,
.stamp-card,
.badge-row article,
.store-card,
.category-grid article,
.watchlist-card,
.official-list a,
.passport-strip {
  border-radius: 8px;
  border-color: rgba(255, 245, 182, 0.24);
  background:
    linear-gradient(180deg, var(--forest-panel), var(--forest-panel-strong));
  box-shadow: var(--shadow-low);
}

.hero-card,
.progress-card,
.store-card,
.pinned-drop {
  border-color: rgba(255, 237, 0, 0.62);
}

.hero-card::before,
.panel::before,
.selector-card::before,
.composer::before,
.pinned-drop::before,
.post-card::before,
.progress-card::before,
.decade-strip::before,
.stamp-card::before,
.store-card::before,
.watchlist-card::before,
.official-list a::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, var(--poster-yellow) 0 3px, transparent 3px),
    url("assets/forest-facelift/bark-divider.png") left center / 20px 100% no-repeat;
  opacity: 0.64;
}

.panel::before,
.selector-card::before,
.composer::before,
.post-card::before,
.decade-strip::before,
.stamp-card::before,
.watchlist-card::before,
.official-list a::before {
  opacity: 0.32;
}

.next-stop-card {
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 12px;
}

.next-stop-card::after,
.progress-card::after,
.store-card::after,
.passport-strip::after {
  right: 12px;
  bottom: 12px;
  width: 70px;
  height: 70px;
  opacity: 0.08;
}

.next-stop-card h3,
.store-card h3 {
  color: var(--poster-yellow);
  font-size: 58px;
  line-height: 0.76;
}

.store-card h3 {
  max-width: 310px;
  font-size: 32px;
  line-height: 0.92;
}

.next-stop-card p,
.next-stop-card strong,
.mini-posts strong,
.post-head strong,
.passport-strip strong,
.decade-strip strong,
.badge-row strong,
.category-grid strong {
  color: var(--paper-readable);
}

.trust-note,
.composer-note,
.status-line,
.thread-badge,
.signal-row small,
.badge-row span,
.category-grid p,
.citypass-card span,
.citypass-card small,
.email-receipt span {
  color: var(--moss-readable);
}

.signal-row article {
  border-radius: 8px;
  border-color: rgba(255, 237, 0, 0.38);
  background:
    linear-gradient(180deg, rgba(7, 24, 10, 0.9), rgba(2, 3, 2, 0.92));
}

.countdown-tile,
.state-pill,
.primary-action,
.tab-button.is-active,
.filter-row button.is-active,
.quick-actions button:nth-child(2),
.quick-actions button:hover {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 237, 0, 1), rgba(207, 193, 0, 1)),
    url("assets/forest-facelift/yellow-sticker-cta.png") center / 126% 126% no-repeat;
  color: var(--night-black);
}

.tab-button,
.secondary-action,
.filter-row button,
.action-meta button,
.quick-actions button,
.access-mode-button {
  border-radius: 8px;
  border-color: rgba(255, 237, 0, 0.34);
  background: rgba(3, 3, 2, 0.78);
  color: var(--paper-readable);
}

.secondary-action {
  color: var(--poster-yellow);
}

.pinned-drop::before {
  width: 5px;
  background: var(--poster-yellow);
  opacity: 1;
}

.post-card,
.mini-posts article {
  border-radius: 8px;
  background: rgba(3, 4, 2, 0.9);
}

.avatar-dot,
.mini-posts article > span,
.composer-mark {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 237, 0, 1), rgba(214, 199, 0, 1)),
    url("assets/forest-facelift/paw-seal.png") center / 140% 140% no-repeat;
}

.stamp-card {
  min-height: 102px;
  background:
    linear-gradient(180deg, rgba(4, 9, 5, 0.9), rgba(2, 3, 2, 0.94)),
    url("assets/forest-facelift/passport-stamp-ring.png") center 10px / 76px 76px no-repeat;
}

.stamp-card:not(.is-earned) {
  opacity: 0.74;
}

.official-list a {
  min-height: 48px;
  background:
    linear-gradient(180deg, rgba(5, 9, 4, 0.92), rgba(2, 3, 2, 0.96));
}

.watchlist-card .stream-shadow {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 237, 0, 0.06), rgba(3, 3, 2, 0.38)),
    url("assets/forest-facelift/bear-medallion.png") center / 82px 82px no-repeat,
    url("assets/forest-facelift/forest-clearing-plate.png") center / cover no-repeat;
}

.bottom-tabs {
  right: 14px;
  bottom: 12px;
  left: 14px;
  border-radius: 999px;
  border-color: rgba(255, 237, 0, 0.7);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.82), rgba(3, 3, 2, 0.96)),
    url("assets/forest-facelift/bottom-nav-plate.png") center / 110% 120% no-repeat;
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.52);
}

.bottom-tabs .tab-button {
  border-radius: 999px;
}

.chat-dock {
  border-top-color: rgba(255, 237, 0, 0.2);
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0), rgba(3, 3, 2, 0.94) 20%),
    url("assets/forest-facelift/bottom-nav-plate.png") center bottom / 110% 96% no-repeat;
}

.chat-dock .composer {
  background: linear-gradient(180deg, rgba(4, 8, 4, 0.94), rgba(2, 3, 2, 0.98));
}

@media (max-width: 820px) {
  .screen {
    height: calc(100svh - 170px);
  }

  .phone-frame.is-chat-mode .screen,
  .app-surface.has-chat-composer .screen-root {
    height: calc(100svh - 76px);
  }

  .tour-stage h2,
  .screen-hero h2 {
    font-size: 42px;
  }
}

/* Ticketed-benefits correction and fuller generated-material application. */
.citypass-entry-form {
  display: grid;
  gap: 10px;
}

.citypass-entry-form label {
  display: grid;
  gap: 7px;
  color: var(--paper-readable);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.citypass-entry-form input {
  min-height: 44px;
  border: 1px solid rgba(255, 245, 182, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0.78), rgba(0, 0, 0, 0.9)),
    url("assets/forest-facelift/date-microtype-band.png") center / 130% auto no-repeat;
  color: var(--paper-readable);
  padding: 0 12px;
  font-weight: 800;
}

.citypass-entry-form input::placeholder {
  color: rgba(216, 210, 162, 0.54);
}

.citypass-secondary-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.citypass-card {
  background:
    linear-gradient(180deg, rgba(3, 4, 2, 0.86), rgba(0, 0, 0, 0.92)),
    url("assets/forest-facelift/city-stamp-frame.png") center / 112% 120% no-repeat;
}

.feed-scroll {
  position: relative;
}

.feed-scroll::before {
  position: absolute;
  top: 74px;
  right: -72px;
  left: -18px;
  height: 220px;
  background: url("assets/forest-facelift/route-map-overlay.png") center / contain no-repeat;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

.feed-scroll > * {
  position: relative;
  z-index: 1;
}

.app-surface.has-chat-composer .feed-scroll {
  padding-bottom: 12px;
}

.app-surface.has-chat-composer .feed-thread {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.chat-dock-root {
  bottom: 0;
}

.app-surface.has-chat-composer .feed-layout {
  grid-template-rows: minmax(0, 1fr) auto;
}

.app-surface.has-chat-composer .chat-dock-root {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
}

.chat-dock {
  padding: 4px 14px max(8px, env(safe-area-inset-bottom)) 26px;
  background:
    linear-gradient(180deg, rgba(3, 3, 2, 0), rgba(3, 3, 2, 0.82) 18%, rgba(3, 3, 2, 0.98)),
    url("assets/forest-facelift/bottom-nav-plate.png") center bottom / 108% 90% no-repeat;
}

.chat-dock .composer,
.composer {
  border-color: rgba(255, 237, 0, 0.46);
  background:
    linear-gradient(180deg, rgba(4, 8, 4, 0.82), rgba(1, 2, 1, 0.96)),
    url("assets/forest-facelift/composer-card-frame.png") center / 108% 112% no-repeat;
}

.composer {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 5px 8px;
  margin-top: 4px;
  padding: 6px 8px;
}

.composer-mark {
  width: 30px;
  height: 30px;
}

.composer label {
  font-size: 11px;
  line-height: 1.08;
}

.composer textarea {
  min-height: 36px;
  padding: 7px;
  resize: none;
}

.composer-note,
.status-line {
  font-size: 9.5px;
  line-height: 1.1;
}

.composer-note {
  margin-top: -2px;
}

.status-line {
  margin-top: -1px;
}

.composer-actions .primary-action {
  min-width: 72px;
  min-height: 38px;
  padding: 0 14px;
}

.bottom-tabs {
  min-height: 70px;
  padding: 9px 14px;
  border-radius: 12px;
  background:
    url("assets/forest-facelift/bottom-nav-plate.png") center / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(3, 3, 2, 0.84), rgba(0, 0, 0, 0.98));
}

.bottom-tabs::before,
.bottom-tabs::after {
  position: absolute;
  top: 9px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 237, 0, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  content: "";
  pointer-events: none;
}

.bottom-tabs::before {
  left: 9px;
}

.bottom-tabs::after {
  right: 9px;
}

.bottom-tabs .tab-button {
  min-height: 50px;
  border-color: transparent;
  background: transparent;
}

.bottom-tabs .tab-button + .tab-button {
  border-left: 1px solid rgba(255, 245, 182, 0.08);
}

.bottom-tabs .tab-button.is-active {
  background:
    url("assets/forest-facelift/yellow-sticker-cta.png") center / 120% 126% no-repeat,
    linear-gradient(180deg, rgba(255, 237, 0, 1), rgba(205, 191, 0, 1));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18), 0 8px 18px rgba(0, 0, 0, 0.34);
}

.official-list a {
  border-color: rgba(255, 245, 182, 0.32);
  background:
    linear-gradient(180deg, rgba(4, 8, 4, 0.74), rgba(1, 2, 1, 0.92)),
    url("assets/forest-facelift/official-link-rows.png") center / 112% 112% no-repeat;
}

.stamp-card {
  background:
    linear-gradient(180deg, rgba(4, 8, 4, 0.62), rgba(1, 2, 1, 0.92)),
    url("assets/forest-facelift/passport-stamp-ring.png") center 10px / 76px 76px no-repeat,
    url("assets/forest-facelift/city-stamp-frame.png") center / 112% 116% no-repeat;
}

.selector-card,
.progress-card,
.passport-strip {
  background:
    linear-gradient(180deg, rgba(4, 8, 4, 0.84), rgba(1, 2, 1, 0.94)),
    url("assets/forest-facelift/date-microtype-band.png") center top / 108% auto no-repeat;
}
