:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --soft-ink: #d7e7ff;
  --muted: #95a3c5;
  --line: rgba(126, 239, 255, 0.18);
  --line-hot: rgba(238, 91, 255, 0.38);
  --surface: #090617;
  --panel: rgba(18, 12, 39, 0.84);
  --panel-strong: rgba(24, 15, 55, 0.94);
  --field: rgba(5, 12, 30, 0.72);
  --aqua: #25f4ff;
  --aqua-dark: #0bb7c6;
  --pink: #ee5bff;
  --violet: #8d6bff;
  --lime: #b8ff6f;
  --red: #ff5578;
  --gold: #ffd166;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --glow-aqua: 0 0 22px rgba(37, 244, 255, 0.32);
  --glow-pink: 0 0 24px rgba(238, 91, 255, 0.25);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* v66: keep the show detail editor compact now that descriptions import cleaner */
#showForm label {
  gap: 6px;
}

#showForm textarea[name="description"] {
  min-height: 120px !important;
  max-height: 220px;
  line-height: 1.35;
}

#showForm textarea[name="posterText"] {
  min-height: 92px !important;
  max-height: 180px;
  line-height: 1.35;
}

#showForm .two-col {
  gap: 12px;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  background:
    linear-gradient(115deg, rgba(37, 244, 255, 0.12), transparent 34%),
    linear-gradient(245deg, rgba(238, 91, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #070512 0%, #120a2a 48%, #061622 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
summary {
  cursor: pointer;
}

.privacy-page {
  display: block;
  min-height: 100vh;
  background: #f7f8fb;
  color: #172033;
}

.privacy-page::before {
  content: none;
}

.privacy-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.privacy-document {
  padding: 34px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(23, 32, 51, 0.08);
}

.privacy-document h1 {
  margin: 8px 0 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.privacy-document h2 {
  margin: 28px 0 10px;
  font-size: 1.1rem;
  color: #273249;
}

.privacy-document p,
.privacy-document li {
  font-size: 1rem;
  line-height: 1.65;
  color: #38445a;
}

.privacy-document ul {
  padding-left: 22px;
}

.sidebar {
  min-height: 100vh;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
  background: rgba(4, 5, 15, 0.72);
  color: var(--ink);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 244, 255, 0.08), rgba(238, 91, 255, 0.08));
  box-shadow: var(--glow-aqua);
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37, 244, 255, 0.72);
  border-radius: 12px;
  background: rgba(37, 244, 255, 0.12);
  color: var(--aqua);
  font-weight: 950;
  text-shadow: 0 0 16px rgba(37, 244, 255, 0.9);
  box-shadow: inset 0 0 18px rgba(37, 244, 255, 0.16), var(--glow-aqua);
}

.brand-logo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border: 1px solid rgba(37, 244, 255, 0.42);
  border-radius: 14px;
  box-shadow: var(--glow-aqua), var(--glow-pink);
}

.brand h1,
.topbar h2,
.section-heading h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand h1 {
  font-size: 1.35rem;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 7px;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(37, 244, 255, 0.62);
}

.panel-kicker {
  margin: 0;
}

.nav {
  display: grid;
  gap: 9px;
}

.nav-button,
.primary-button,
.secondary-button,
.icon-button,
.link-button,
.tab {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  font-weight: 850;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.nav-button span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(149, 163, 197, 0.28);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--soft-ink);
}

.nav-button.active,
.nav-button:hover {
  border-color: var(--line);
  background: linear-gradient(135deg, rgba(37, 244, 255, 0.12), rgba(141, 107, 255, 0.12));
  color: var(--ink);
  box-shadow: var(--glow-aqua);
}

.nav-button.active span {
  border-color: rgba(37, 244, 255, 0.7);
  color: var(--aqua);
}

.source-panel {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 12, 39, 0.66);
}

.source-strip {
  position: sticky;
  top: 0;
  z-index: 5;
  grid-template-columns: minmax(160px, 0.8fr) minmax(260px, 2fr) auto auto minmax(220px, 1.2fr);
  align-items: end;
  margin: 0 0 18px;
  background: rgba(9, 6, 23, 0.92);
  box-shadow: var(--shadow), var(--glow-aqua);
  backdrop-filter: blur(22px);
}

.source-status {
  display: grid;
  gap: 4px;
}

.auth-panel {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 12, 39, 0.66);
}

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

button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.55;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  background: var(--field);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 244, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(37, 244, 255, 0.13), var(--glow-aqua);
}

::placeholder {
  color: rgba(149, 163, 197, 0.66);
}

.primary-button {
  padding: 10px 15px;
  background: linear-gradient(135deg, var(--aqua), var(--violet));
  color: #06111e;
  box-shadow: var(--glow-aqua);
}

.primary-button:hover {
  filter: brightness(1.08);
}

.primary-button.hot {
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  box-shadow: var(--glow-pink);
}

.secondary-button,
.icon-button,
.link-button,
.tab {
  padding: 10px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft-ink);
}

.secondary-button:hover,
.icon-button:hover,
.link-button:hover,
.tab:hover {
  border-color: rgba(37, 244, 255, 0.56);
  color: var(--ink);
  box-shadow: var(--glow-aqua);
}

.danger {
  color: var(--red);
}

.hidden-action {
  display: none;
}

.file-import-button {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft-ink);
  font-size: 1rem;
  font-weight: 850;
}

.file-import-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sidebar-file-button {
  width: 100%;
  background: linear-gradient(135deg, rgba(37, 244, 255, 0.16), rgba(238, 91, 255, 0.12));
  color: var(--ink);
}

.status-text {
  min-height: 34px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.app-shell {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.topbar h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #ffffff;
  text-shadow: 0 0 34px rgba(238, 91, 255, 0.42);
}

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.toolbar select {
  min-width: 150px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.paste-import {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.paste-import summary {
  padding: 14px 17px;
  color: var(--soft-ink);
  font-weight: 900;
}

.paste-body {
  display: grid;
  gap: 12px;
  padding: 0 17px 17px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.section-heading .compact-action {
  min-height: 44px;
  width: auto;
  min-width: 154px;
  padding: 10px 16px;
  margin-left: auto;
  font-size: 0.88rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.show-list,
.target-grid {
  display: grid;
  gap: 12px;
}

.show-card,
.target-card,
.editor,
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.show-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.show-card-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.show-card-title-row h4 {
  min-width: 0;
}

.delete-show {
  min-height: 30px;
  padding: 5px 9px;
  color: var(--red);
}

.show-card.has-image {
  grid-template-columns: 88px minmax(0, 1fr);
}

.show-card-body {
  min-width: 0;
}

.show-card.active {
  outline: 3px solid rgba(37, 244, 255, 0.15);
  border-color: rgba(37, 244, 255, 0.68);
  box-shadow: var(--shadow), var(--glow-aqua);
}

.show-card:hover,
.target-card:hover {
  border-color: rgba(238, 91, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: var(--shadow), var(--glow-pink);
}

.show-thumb {
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid rgba(37, 244, 255, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 244, 255, 0.9), rgba(238, 91, 255, 0.86)),
    linear-gradient(45deg, #10102a, #27124c);
  object-fit: cover;
  box-shadow: var(--glow-aqua);
}

.show-card h4,
.target-card h4 {
  margin: 0 0 7px;
  font-size: 1rem;
  color: #ffffff;
}

.show-card p,
.target-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.badge {
  padding: 4px 8px;
  border: 1px solid rgba(149, 163, 197, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft-ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.badge.strong {
  border-color: rgba(37, 244, 255, 0.42);
  background: rgba(37, 244, 255, 0.12);
  color: var(--aqua);
}

.badge.warn {
  border-color: rgba(255, 209, 102, 0.38);
  background: rgba(255, 209, 102, 0.12);
  color: var(--gold);
}

.editor,
.panel {
  padding: 18px;
}

.editor {
  display: grid;
  gap: 13px;
  position: sticky;
  top: 20px;
  background: var(--panel-strong);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.target-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.target-card {
  padding: 16px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.target-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.target-type {
  color: var(--pink);
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.copy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.panel {
  display: grid;
  gap: 14px;
}

.output-panel {
  min-width: 0;
}

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

.tab.active {
  border-color: rgba(37, 244, 255, 0.74);
  background: linear-gradient(135deg, rgba(37, 244, 255, 0.22), rgba(238, 91, 255, 0.2));
  color: #ffffff;
  box-shadow: var(--glow-aqua);
}

.link-button {
  display: grid;
  place-items: center;
  text-decoration: none;
}

#copyOutput {
  min-height: 420px;
  line-height: 1.48;
}

.roadblock-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 12px;
  background: rgba(255, 209, 102, 0.08);
  color: var(--soft-ink);
  font-size: 0.84rem;
  line-height: 1.4;
}

.roadblock-panel strong {
  color: var(--gold);
}

.queue-panel {
  margin-top: 22px;
}

.target-manager {
  margin-top: 22px;
}

.helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.submission-queue {
  display: grid;
  gap: 10px;
}

.queue-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 150px minmax(180px, 1.2fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.queue-row h4 {
  margin: 0 0 5px;
  font-size: 0.96rem;
}

.queue-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.queue-actions {
  display: flex;
  gap: 8px;
  justify-content: end;
}

.mini-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft-ink);
  font-weight: 850;
}

.mini-button:hover {
  border-color: rgba(37, 244, 255, 0.56);
  color: var(--ink);
}

.target-form {
  display: grid;
  gap: 12px;
}

.target-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.target-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.target-row h4 {
  margin: 0 0 4px;
}

.target-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.inline-show-filter {
  width: min(100%, 260px);
  margin: 0 0 14px;
}

.target-row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.open-mics-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.login-page {
  max-width: 720px;
}

.login-page-form {
  max-width: 520px;
}

.city-panel {
  min-height: 70vh;
}

.city-toolbar {
  margin-bottom: 18px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}

.city-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.city-card img {
  width: 100%;
  aspect-ratio: 1.1;
  display: block;
  object-fit: cover;
}

.city-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.city-card h4,
.city-card p {
  margin: 0;
}

.city-card h4 {
  font-size: 1.05rem;
}

.city-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Premium visual refresh */
:root {
  --ink: #f7fbff;
  --soft-ink: #dceaff;
  --muted: #8f9db9;
  --surface: #05070f;
  --panel: rgba(11, 15, 31, 0.84);
  --panel-strong: rgba(13, 17, 37, 0.96);
  --field: rgba(3, 8, 20, 0.86);
  --line: rgba(132, 246, 255, 0.16);
  --line-hot: rgba(242, 74, 255, 0.32);
  --aqua: #2ff7ff;
  --pink: #f24aff;
  --violet: #9b7dff;
  --lime: #96ffb8;
  --gold: #ffd56a;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.44);
  --shadow-tight: 0 10px 28px rgba(0, 0, 0, 0.34);
  --glow-aqua: 0 0 24px rgba(47, 247, 255, 0.22);
  --glow-pink: 0 0 24px rgba(242, 74, 255, 0.18);
}

body {
  background:
    linear-gradient(115deg, rgba(47, 247, 255, 0.09), transparent 32%),
    linear-gradient(245deg, rgba(242, 74, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #070914 0%, #0b1021 44%, #071623 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(47, 247, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 74, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.035) 49%, transparent 50% 100%);
  background-size: 42px 42px, 42px 42px, 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(47, 247, 255, 0.08), transparent 18%, transparent 82%, rgba(242, 74, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 16%);
  mix-blend-mode: screen;
  opacity: 0.52;
}

.sidebar {
  border-right-color: rgba(132, 246, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(9, 14, 30, 0.92), rgba(3, 6, 16, 0.94)),
    linear-gradient(135deg, rgba(47, 247, 255, 0.08), rgba(242, 74, 255, 0.06));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.brand,
.source-panel,
.auth-panel,
.paste-import,
.show-card,
.target-card,
.editor,
.panel,
.city-card,
.queue-row,
.target-row,
.field-copy,
.roadblock-panel {
  border-radius: 8px;
}

.brand {
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.11), rgba(242, 74, 255, 0.10)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(47, 247, 255, 0.25), 0 14px 32px rgba(0, 0, 0, 0.45);
}

.brand h1 {
  font-size: 1.14rem;
  letter-spacing: 0;
}

.eyebrow,
.panel-kicker {
  color: var(--lime);
  text-shadow: 0 0 14px rgba(150, 255, 184, 0.26);
}

.nav {
  gap: 7px;
}

.nav-button {
  border-radius: 8px;
  min-height: 48px;
  font-size: 0.95rem;
}

.nav-button span {
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-button.active,
.nav-button:hover {
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.16), rgba(242, 74, 255, 0.10)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-shell {
  padding: 30px;
}

.topbar {
  min-height: 88px;
  padding: 2px 0 8px;
}

.topbar h2 {
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  text-shadow: 0 0 28px rgba(47, 247, 255, 0.18), 0 0 48px rgba(242, 74, 255, 0.20);
}

.source-strip {
  border-color: rgba(47, 247, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.08), rgba(242, 74, 255, 0.07)),
    rgba(6, 10, 23, 0.94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

input,
select,
textarea {
  border-radius: 8px;
  border-color: rgba(132, 246, 255, 0.18);
  background: rgba(4, 10, 24, 0.9);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(132, 246, 255, 0.34);
}

.nav-button,
.primary-button,
.secondary-button,
.icon-button,
.link-button,
.tab,
.file-import-button,
.mini-button {
  border-radius: 8px;
}

.primary-button {
  background: linear-gradient(135deg, #2ff7ff 0%, #96ffb8 46%, #f24aff 100%);
  color: #061019;
  box-shadow: 0 12px 30px rgba(47, 247, 255, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.primary-button:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(47, 247, 255, 0.28), 0 0 24px rgba(242, 74, 255, 0.16);
}

.secondary-button,
.icon-button,
.link-button,
.tab,
.file-import-button,
.mini-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(10, 15, 32, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.secondary-button:hover,
.icon-button:hover,
.link-button:hover,
.tab:hover,
.file-import-button:hover,
.mini-button:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 247, 255, 0.52);
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.13), rgba(242, 74, 255, 0.08)),
    rgba(10, 15, 32, 0.92);
}

.show-card,
.target-card,
.editor,
.panel,
.paste-import,
.city-card {
  border-color: rgba(132, 246, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018)),
    rgba(9, 14, 31, 0.86);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.editor {
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.06), rgba(242, 74, 255, 0.055)),
    rgba(10, 14, 31, 0.96);
}

.section-heading h3 {
  font-size: 1.03rem;
  color: #ffffff;
}

.section-heading p,
.status-text,
.helper-text {
  color: #9aa8c6;
}

.show-card,
.target-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.show-card.active {
  outline: 0;
  border-color: rgba(47, 247, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.11), rgba(242, 74, 255, 0.07)),
    rgba(10, 16, 34, 0.92);
}

.show-card:hover,
.target-card:hover,
.city-card:hover,
.queue-row:hover,
.target-row:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 74, 255, 0.42);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36), 0 0 26px rgba(242, 74, 255, 0.11);
}

.show-thumb,
.city-card img {
  border-radius: 6px;
}

.badge {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.badge.strong {
  background: rgba(47, 247, 255, 0.12);
  color: #7effff;
}

.badge.warn {
  background: rgba(255, 213, 106, 0.13);
  color: var(--gold);
}

.copy-layout {
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
}

.tabs {
  padding: 5px;
  border: 1px solid rgba(132, 246, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 7, 18, 0.72);
}

.tab {
  min-height: 38px;
  border-color: transparent;
}

.tab.active {
  background: linear-gradient(135deg, rgba(47, 247, 255, 0.20), rgba(242, 74, 255, 0.15));
}

#copyOutput {
  min-height: 430px;
  line-height: 1.55;
}

.roadblock-panel {
  border-color: rgba(255, 213, 106, 0.22);
  background: linear-gradient(135deg, rgba(255, 213, 106, 0.10), rgba(242, 74, 255, 0.045));
}

.field-copy,
.queue-row,
.target-row {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022)),
    rgba(7, 12, 27, 0.82);
}

.city-grid {
  gap: 18px;
}

.city-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.city-card h4 {
  font-size: 1.12rem;
  line-height: 1.15;
}

.city-card .link-button {
  min-height: 38px;
}

.sponsor-banner {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sponsor-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sponsor-banner a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #050505;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sponsor-banner a:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 255, 47, 0.58);
  box-shadow: 9px 9px 0 rgba(215, 255, 47, 0.12);
}

.sponsor-banner img {
  width: 100%;
  display: block;
}

.public-sponsor-banner {
  margin-top: 42px;
}

/* Performance brand redesign */
:root {
  --ink: #fbfbf7;
  --soft-ink: #e5e5dd;
  --muted: #9c9d95;
  --surface: #050505;
  --panel: #10110f;
  --panel-strong: #151713;
  --field: #070807;
  --line: rgba(255, 255, 255, 0.13);
  --line-hot: rgba(210, 255, 64, 0.42);
  --aqua: #d7ff2f;
  --aqua-dark: #9fd900;
  --pink: #8b5cf6;
  --violet: #00d5ff;
  --lime: #d7ff2f;
  --red: #ff4d4d;
  --gold: #ffcc33;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.5);
  --shadow-tight: 0 12px 30px rgba(0, 0, 0, 0.42);
  --glow-aqua: 0 0 0 1px rgba(215, 255, 47, 0.24), 0 12px 28px rgba(0, 0, 0, 0.28);
  --glow-pink: 0 0 0 1px rgba(139, 92, 246, 0.26), 0 12px 28px rgba(0, 0, 0, 0.30);
  font-family: Inter, "Arial Black", Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    linear-gradient(120deg, transparent 0 52%, rgba(215, 255, 47, 0.08) 52.2% 53%, transparent 53.2% 100%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.045), transparent 28%),
    #050505;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

body::after {
  background:
    linear-gradient(90deg, rgba(215, 255, 47, 0.08), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  opacity: 0.38;
}

.sidebar {
  padding: 26px 18px;
  background: #050505;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset -1px 0 rgba(215, 255, 47, 0.06);
}

.brand,
.source-panel,
.auth-panel,
.paste-import,
.show-card,
.target-card,
.editor,
.panel,
.city-card,
.queue-row,
.target-row,
.field-copy,
.roadblock-panel,
input,
select,
textarea,
.nav-button,
.primary-button,
.secondary-button,
.icon-button,
.link-button,
.tab,
.file-import-button,
.mini-button,
.brand-logo,
.show-thumb,
.city-card img {
  border-radius: 0;
}

.brand {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.24;
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: cover;
  box-shadow: none;
}

.brand h1 {
  max-width: 160px;
  font-size: 1.75rem;
  font-weight: 1000;
  line-height: 0.9;
  text-transform: uppercase;
}

.eyebrow,
.panel-kicker {
  color: var(--lime);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-shadow: none;
}

.nav {
  gap: 0;
}

.nav-button {
  min-height: 56px;
  padding: 14px 0;
  border-width: 0 0 1px;
  border-color: rgba(255, 255, 255, 0.11);
  background: transparent;
  color: #a8a9a1;
  font-size: 0.92rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-button span {
  width: 30px;
  height: 30px;
  border-color: rgba(255, 255, 255, 0.18);
  background: #10110f;
  color: #ffffff;
}

.nav-button.active,
.nav-button:hover {
  border-color: rgba(215, 255, 47, 0.62);
  background: transparent;
  color: #ffffff;
  box-shadow: inset 5px 0 0 var(--lime);
  padding-left: 12px;
}

.nav-button.active span {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
}

.app-shell {
  padding: 34px;
}

.topbar {
  min-height: 118px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
  padding-bottom: 24px;
}

.topbar h2 {
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  font-weight: 1000;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
}

.toolbar {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.source-strip {
  grid-template-columns: minmax(160px, 0.78fr) minmax(280px, 2fr) auto auto minmax(240px, 1.1fr);
  top: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 5, 0.94);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

label {
  color: #c7c8c0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

input,
select,
textarea {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050505;
  color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(215, 255, 47, 0.20);
}

.primary-button {
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #050505;
  box-shadow: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 7px 7px 0 rgba(215, 255, 47, 0.24);
}

.secondary-button,
.icon-button,
.link-button,
.tab,
.file-import-button,
.mini-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #10110f;
  color: #ffffff;
  box-shadow: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.secondary-button:hover,
.icon-button:hover,
.link-button:hover,
.tab:hover,
.file-import-button:hover,
.mini-button:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
  background: #161811;
  box-shadow: 5px 5px 0 rgba(215, 255, 47, 0.16);
}

.show-card,
.target-card,
.editor,
.panel,
.paste-import,
.city-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #10110f;
  box-shadow: none;
}

.editor,
.panel {
  padding: 22px;
}

.editor {
  background: #151713;
  border-color: rgba(215, 255, 47, 0.24);
}

.section-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.section-heading h3 {
  font-size: 1.16rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-heading p,
.status-text,
.helper-text,
.show-card p,
.target-card p,
.queue-row p,
.target-row p,
.city-card p {
  color: var(--muted);
}

.show-list,
.target-grid,
.submission-queue,
.target-list {
  gap: 14px;
}

.show-card {
  padding: 14px;
  border-left: 5px solid transparent;
}

.show-card.active {
  border-color: rgba(255, 255, 255, 0.14);
  border-left-color: var(--lime);
  background: #191b15;
  box-shadow: none;
}

.show-card:hover,
.target-card:hover,
.city-card:hover,
.queue-row:hover,
.target-row:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 255, 47, 0.55);
  box-shadow: 8px 8px 0 rgba(215, 255, 47, 0.10);
}

.show-card h4,
.target-card h4,
.queue-row h4,
.target-row h4,
.city-card h4 {
  color: #ffffff;
  font-weight: 1000;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.show-thumb {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050505;
  box-shadow: none;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050505;
  color: #d7d8d0;
}

.badge.strong {
  border-color: var(--lime);
  background: rgba(215, 255, 47, 0.12);
  color: var(--lime);
}

.badge.warn {
  border-color: var(--gold);
  background: rgba(255, 204, 51, 0.10);
  color: var(--gold);
}

.tabs {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050505;
}

.tab.active {
  border-color: var(--lime);
  background: var(--lime);
  color: #050505;
  box-shadow: none;
}

.roadblock-panel {
  border-color: rgba(255, 204, 51, 0.36);
  background: rgba(255, 204, 51, 0.08);
}

.field-copy,
.queue-row,
.target-row {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0b0c0b;
}

.field-copy span {
  color: var(--lime);
}

.city-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 20px;
}

.city-card {
  background: #10110f;
}

.city-card img {
  aspect-ratio: 1.18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.city-card-body {
  padding: 18px;
}

.city-card h4 {
  font-size: 1.28rem;
}

@media (max-width: 680px) {
  .topbar h2 {
    font-size: clamp(2.6rem, 18vw, 4.2rem);
  }

  .brand {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
  }
}

/* Public city listing page */
.public-city-page {
  display: block;
  min-height: 100vh;
}

.public-city-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.public-hero {
  min-height: 58vh;
  display: grid;
  align-content: space-between;
  padding: 0 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.public-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.public-brand {
  display: flex;
  gap: 22px;
  align-items: center;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.7vw, 1.48rem);
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.public-brand img {
  width: 138px;
  height: 96px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.public-submit-link,
.public-ticket-link {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--lime);
  padding: 11px 16px;
  background: var(--lime);
  color: #050505;
  font-weight: 1000;
  text-decoration: none;
  text-transform: uppercase;
}

.public-submit-link:hover,
.public-ticket-link:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 7px 7px 0 rgba(215, 255, 47, 0.22);
}

.public-hero-copy {
  max-width: 980px;
}

.public-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.7rem, 10vw, 9.8rem);
  font-weight: 1000;
  line-height: 0.82;
  text-transform: uppercase;
}

.public-hero-copy > p:last-child {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.35;
}

.public-controls {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px minmax(140px, 180px) auto auto;
  gap: 12px;
  padding: 16px 0;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px);
}

.public-feed {
  display: grid;
  gap: 22px;
  padding-top: 18px;
}

.public-feed-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.public-feed-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 1000;
  line-height: 0.9;
  text-transform: uppercase;
}

.public-feed-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.public-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 20px;
}

.public-event-card,
.public-empty {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #10110f;
}

.public-event-card {
  display: grid;
  align-content: start;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.public-event-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 255, 47, 0.58);
  box-shadow: 9px 9px 0 rgba(215, 255, 47, 0.12);
}

.featured-section {
  display: grid;
  gap: 16px;
  margin: 18px 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-grid {
  margin-bottom: 8px;
}

.featured-card {
  border-color: rgba(215, 255, 47, 0.5) !important;
  box-shadow: 0 0 0 1px rgba(215, 255, 47, 0.12), 12px 12px 0 rgba(215, 255, 47, 0.08);
}

.city-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.boost-button {
  border-color: rgba(215, 255, 47, 0.5);
  color: var(--lime);
}

.promo-generator {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 220px) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-generator h3,
.promo-generator p {
  margin: 0;
}

.promo-generator p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.public-featured-heading {
  margin-top: 20px;
}

.auth-card {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.auth-form {
  display: grid;
  gap: 9px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
}

.dashboard-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.dashboard-item,
.dashboard-empty {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.dashboard-item h4,
.dashboard-item p {
  margin: 0;
}

.dashboard-item h4 {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.1;
}

.dashboard-item p,
.dashboard-empty {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.dashboard-edit-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.dashboard-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.supabase-form {
  display: grid;
  gap: 10px;
}

.public-event-card img {
  width: 100%;
  aspect-ratio: 1.08;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.public-event-body,
.public-empty {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.public-event-body h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.public-event-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.public-event-meta {
  color: var(--soft-ink) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.public-ticket-link {
  width: fit-content;
  min-height: 38px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .public-controls,
  .public-city-grid {
    grid-template-columns: 1fr;
  }

  .public-feed-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .public-city-shell {
    width: min(100% - 28px, 1180px);
  }

  .public-hero {
    min-height: 48vh;
  }

  .public-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  .source-panel {
    margin-top: 0;
  }

  .source-strip {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .layout,
  .copy-layout,
  .target-grid,
  .city-grid,
  .target-row,
  .queue-row {
    grid-template-columns: 1fr;
  }

  .editor {
    position: static;
  }
}

@media (max-width: 680px) {
  .app-shell,
  .sidebar {
    padding: 16px;
  }

  .topbar,
  .section-heading,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .two-col,
  .tabs {
    grid-template-columns: 1fr;
  }

  .show-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .show-thumb {
    width: 64px;
  }
}

/* Sleek command-centre pass */
:root {
  --lime: #dfff12;
  --ink: #f6f6f1;
  --soft-ink: #e0e1da;
  --muted: #a1a49b;
  --line: rgba(255, 255, 255, 0.115);
  --panel: rgba(18, 19, 18, 0.74);
  --panel-strong: rgba(20, 21, 20, 0.86);
  --field: rgba(8, 9, 8, 0.9);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --shadow-tight: 0 14px 35px rgba(0, 0, 0, 0.34);
}

body {
  grid-template-columns: 320px minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 72% 16%, rgba(223, 255, 18, 0.055), transparent 28%),
    linear-gradient(145deg, #050606 0%, #0c0d0d 54%, #050606 100%);
  background-size: 1px 100%, auto, auto;
}

body::before {
  opacity: 0.45;
}

.sidebar {
  padding: 28px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%),
    rgba(8, 9, 9, 0.98);
}

.brand {
  gap: 22px;
  padding: 0 0 30px;
}

.brand-logo {
  width: 100%;
  max-height: 174px;
  aspect-ratio: 1.18;
  border: 0;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.brand h1 {
  max-width: none;
  font-size: 1.42rem;
  line-height: 1;
}

.nav-button {
  min-height: 58px;
  padding: 14px 12px;
  border: 0;
  color: #f7f7f2;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
}

.nav-button span {
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 0.82rem;
}

.nav-button.active,
.nav-button:hover {
  padding-left: 12px;
  background: linear-gradient(135deg, var(--lime), #b7ee12);
  color: #050505;
  box-shadow: none;
}

.nav-button.active span {
  border: 0;
  background: transparent;
  color: #050505;
}

.app-shell {
  padding: 36px 48px 54px;
}

.topbar {
  min-height: 124px;
  align-items: flex-start;
  border-bottom: 0;
  margin-bottom: 14px;
  padding-bottom: 0;
}

.topbar h2 {
  margin-top: 6px;
  font-size: clamp(4.6rem, 8vw, 6.8rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  text-transform: none;
}

.toolbar {
  gap: 14px;
  padding-top: 4px;
}

.toolbar select,
.file-import-button,
.icon-button {
  min-width: 170px;
  min-height: 56px;
}

.source-strip {
  position: relative;
  grid-template-columns: 170px 150px minmax(240px, 1fr) 180px 150px minmax(250px, 0.78fr);
  gap: 14px;
  align-items: center;
  margin: 10px 0 26px;
  padding: 28px 34px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(17, 18, 18, 0.78);
  box-shadow: var(--shadow-tight);
}

.source-strip label {
  max-width: 140px;
  color: #f0f0eb;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  text-transform: none;
}

.source-status {
  min-height: 70px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.source-status .status-text:first-child {
  color: #ffffff;
  font-weight: 900;
}

.source-status .status-text:last-child {
  font-size: 0.82rem;
}

.source-csv-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-csv-actions .file-import-button,
.source-csv-actions .icon-button {
  min-width: 0;
  width: 100%;
}

.source-message {
  width: min(100%, 920px);
  margin: -14px 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.source-message + .source-message {
  margin-top: -12px;
}

.publish-top {
  width: 100%;
  min-height: 64px;
  margin-bottom: 6px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.layout {
  grid-template-columns: minmax(360px, 0.95fr) minmax(440px, 1.05fr);
  gap: 26px;
}

.paste-import {
  margin-bottom: 22px;
  background: rgba(13, 14, 14, 0.62);
}

.panel,
.editor,
.show-card,
.city-card,
.target-card,
.paste-import,
.queue-row,
.target-row,
.field-copy {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.015)),
    rgba(18, 19, 19, 0.72);
  box-shadow: var(--shadow-tight);
}

.section-heading {
  align-items: center;
  margin-bottom: 16px;
  padding: 0 0 18px;
}

.section-heading h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.section-heading p {
  font-size: 0.95rem;
}

.show-list {
  gap: 16px;
}

.show-card {
  min-height: 142px;
  grid-template-columns: minmax(0, 1fr);
  padding: 18px;
  border-left: 0;
}

.show-card.has-image {
  grid-template-columns: 130px minmax(0, 1fr);
}

.show-thumb {
  width: 130px;
  height: 130px;
  aspect-ratio: auto;
  border-color: rgba(255, 255, 255, 0.14);
}

.show-card h4 {
  margin-bottom: 10px;
  font-size: 1.13rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.show-card p {
  font-size: 1rem;
}

.show-card.active {
  background:
    linear-gradient(135deg, rgba(223, 255, 18, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(18, 20, 17, 0.82);
  border-color: rgba(223, 255, 18, 0.32);
}

.delete-show {
  opacity: 0.78;
}

.editor {
  top: 18px;
  padding: 28px 32px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(17, 18, 18, 0.86);
}

.editor label {
  gap: 10px;
  color: #e1e2dc;
  font-size: 0.96rem;
  letter-spacing: 0;
  text-transform: none;
}

input,
select,
textarea {
  min-height: 56px;
  padding: 15px 16px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(7, 8, 8, 0.72);
  color: #f7f7f2;
}

textarea {
  min-height: 112px;
}

.primary-button,
.secondary-button,
.icon-button,
.link-button,
.tab,
.file-import-button,
.mini-button {
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.primary-button {
  background: linear-gradient(135deg, #e4ff19, #c3f413);
}

.editor .primary-button {
  min-height: 58px;
  margin-top: 4px;
}

.badge {
  padding: 7px 12px;
  font-size: 0.78rem;
}

.city-grid,
.public-city-grid {
  gap: 24px;
}

.sponsor-banner {
  margin-top: 44px;
}

.sponsor-banner a {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-tight);
}

#adminPin {
  max-width: 180px;
}

.admin-delete-city {
  width: fit-content;
  margin-top: 6px;
  border-color: rgba(255, 78, 78, 0.45);
  color: #ff7070;
}

.city-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 44px;
}

.city-picker-card {
  position: relative;
  min-width: 0;
  min-height: clamp(180px, 18vw, 230px);
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(215, 255, 47, 0.14), rgba(47, 247, 255, 0.08), rgba(242, 74, 255, 0.10)),
    rgba(12, 12, 12, 0.92);
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow-tight);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.city-picker-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 255, 47, 0.68);
  box-shadow: 10px 10px 0 rgba(215, 255, 47, 0.14);
}

.city-picker-card span {
  color: var(--lime);
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-picker-card strong {
  max-width: 100%;
  display: block;
  overflow-wrap: normal;
  color: #ffffff;
  font-size: clamp(2.15rem, 3.6vw, 4.1rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: none;
}

.source-strip {
  grid-template-columns: 170px 150px minmax(240px, 1fr) 180px 150px minmax(250px, 0.78fr);
}

@media (max-width: 1250px) {
  .source-strip {
    grid-template-columns: 1fr 1fr;
  }

  .source-status {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    display: block;
  }

  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .brand {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
  }

  .brand-logo {
    width: 74px;
    max-height: 74px;
    object-fit: contain;
  }

  .brand h1 {
    font-size: 1rem;
    line-height: 1.05;
  }

  .nav {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .auth-card {
    margin-top: 14px;
  }

  .nav-button {
    min-height: 46px;
  }

  .app-shell {
    width: 100%;
    padding: 18px 14px 32px;
  }

  .topbar {
    min-height: 0;
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
    padding: 0;
  }

  .topbar h2 {
    font-size: clamp(3rem, 18vw, 4.2rem);
    line-height: 0.86;
    letter-spacing: 0;
  }

  .toolbar,
  .city-toolbar,
  .source-strip,
  .promo-generator,
  .public-controls {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .toolbar {
    justify-content: stretch;
  }

  .toolbar select,
  .toolbar button,
  .toolbar label,
  .file-import-button,
  .icon-button,
  .primary-button,
  .secondary-button,
  #adminPin,
  #publicAdminPin {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .source-strip {
    position: static;
    margin: 0 0 18px;
    padding: 16px;
  }

  .source-strip label {
    max-width: none;
  }

  .source-status {
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .layout,
  .copy-layout,
  .target-grid,
  .city-grid,
  .city-picker-grid,
  .public-city-grid,
  .dashboard-grid,
  .target-row,
  .queue-row {
    grid-template-columns: 1fr;
  }

  .show-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .show-thumb {
    width: 68px;
  }

  .editor,
  .panel,
  .city-card,
  .public-event-card {
    border-radius: 10px;
  }

  input,
  select,
  textarea {
    min-height: 52px;
    font-size: 16px;
  }

  .public-city-shell {
    width: min(100% - 24px, 1180px);
  }

  .public-hero {
    min-height: auto;
    padding: 18px 0 28px;
  }

  .public-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .public-brand img {
    width: 86px;
  }

  .public-hero h1 {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
    line-height: 0.86;
  }

  .public-controls {
    position: static;
    padding: 12px 0;
  }

  .public-feed-heading {
    align-items: start;
    flex-direction: column;
  }
}

/* v44 polish: calmer spacing, cleaner cards, better mobile rhythm */
.app-shell {
  padding: clamp(20px, 3vw, 42px);
}

.topbar {
  min-height: auto;
  margin-bottom: 22px;
  padding-bottom: 16px;
}

.topbar h2 {
  max-width: 1180px;
  font-size: clamp(3.1rem, 6.4vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
}

.source-strip {
  grid-template-columns: minmax(160px, 0.7fr) minmax(130px, 160px) minmax(300px, 1.6fr) minmax(150px, 190px) minmax(230px, 0.8fr);
  gap: 16px;
  padding: 24px;
}

.source-strip > div:first-child {
  min-width: 0;
}

.source-csv-actions {
  grid-column: auto;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.source-csv-actions .file-import-button,
.source-csv-actions .icon-button {
  min-width: 138px;
  max-width: 150px;
  min-height: 52px;
  padding: 11px 14px;
  white-space: normal;
}

#importShows {
  min-width: 170px;
}

.layout {
  align-items: start;
}

.show-card {
  min-height: 0;
}

.show-card.has-image {
  grid-template-columns: 112px minmax(0, 1fr);
}

.show-thumb {
  width: 112px;
  height: 112px;
}

.show-card-title-row {
  gap: 12px;
  align-items: start;
}

.show-card h4,
.city-card h4,
.public-event-body h3 {
  max-width: 100%;
  font-size: clamp(1.05rem, 1.5vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.city-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.city-card {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: start;
  padding: clamp(18px, 2.5vw, 28px);
  min-height: 0;
}

.city-card > img {
  width: 100%;
  height: auto;
  max-height: 210px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.city-card:not(:has(> img)) {
  grid-template-columns: 1fr;
}

.city-card-body {
  min-width: 0;
}

.city-card-body > p {
  max-width: 78ch;
}

.city-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

.city-card-actions .link-button,
.city-card-actions .mini-button {
  width: auto;
  min-width: 118px;
  min-height: 44px;
  padding: 10px 14px;
}

.boost-button {
  border-color: rgba(223, 255, 18, 0.55);
  color: var(--lime);
  background: rgba(223, 255, 18, 0.05);
}

.admin-delete-city {
  margin-left: auto;
  min-width: 86px !important;
  color: #ff7b7b;
}

.login-page {
  max-width: 980px;
  padding: clamp(24px, 4vw, 44px);
}

.login-page .section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  gap: 18px 34px;
  align-items: start;
}

.login-page .section-heading .eyebrow {
  grid-row: span 2;
}

.login-page-form {
  max-width: 760px;
}

.auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-actions .primary-button,
.auth-actions .secondary-button {
  width: 100%;
}

.status-text {
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .source-strip {
    grid-template-columns: 1fr 1fr;
  }

  .source-strip > div:first-child,
  .source-csv-actions {
    grid-column: 1 / -1;
  }

  .source-csv-actions {
    justify-content: stretch;
  }

  .source-csv-actions .file-import-button,
  .source-csv-actions .icon-button {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .topbar h2 {
    font-size: clamp(2.55rem, 14vw, 4.4rem);
    line-height: 0.95;
  }

  .source-strip,
  .city-card,
  .login-page .section-heading,
  .auth-actions {
    grid-template-columns: 1fr;
  }

  .city-card > img {
    width: min(100%, 260px);
  }

  .admin-delete-city {
    margin-left: 0;
  }
}

/* v45 fixes: city-aware title, tidy CSV controls, and clean show actions */
.topbar h2 {
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: min(100%, 1240px);
}

.source-strip {
  grid-template-columns: minmax(155px, 0.7fr) minmax(132px, 160px) minmax(280px, 1.5fr) minmax(160px, 190px) minmax(260px, 0.9fr);
  align-items: stretch;
}

.source-strip input,
.source-strip select,
.source-strip button,
.source-strip .file-import-button,
.source-strip .icon-button {
  height: 56px;
  min-height: 56px;
}

.source-csv-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 10px;
  align-self: stretch;
}

.source-csv-actions .file-import-button,
.source-csv-actions .icon-button {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 8px 10px;
  font-size: clamp(0.74rem, 0.9vw, 0.9rem);
  line-height: 1.05;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

#importShows {
  min-width: 0;
  padding-inline: 16px;
  font-size: clamp(0.84rem, 1vw, 0.98rem);
}

.show-card .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.show-card .badge,
.show-card .boost-button {
  margin: 0;
  min-height: 36px;
}

.show-card .boost-button {
  width: auto;
  min-width: 142px;
  padding: 7px 13px;
  font-size: 0.82rem;
}

.show-card-title-row h4 {
  max-width: 760px;
}

.login-page-form input {
  max-width: 780px;
}

#signupPageStatus,
#loginPageStatus {
  max-width: 980px;
  color: #c8cbc1;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .source-strip {
    grid-template-columns: 1fr 1fr;
  }

  .source-strip > div:first-child,
  .source-csv-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .topbar h2 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .source-strip,
  .source-csv-actions {
    grid-template-columns: 1fr;
  }

  .show-card .boost-button {
    width: 100%;
  }
}

/* v46 account controls */
.account-action {
  min-width: 112px;
  min-height: 44px;
  padding: 9px 14px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.account-action[hidden] {
  display: none !important;
}

.auth-card #signOutButton {
  width: 100%;
}

/* v47 auth placement */
.auth-card {
  margin-top: 12px !important;
  margin-bottom: 18px;
}

.auth-card #signOutButton {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 46px;
  border-color: rgba(223, 255, 18, 0.42);
  background: rgba(223, 255, 18, 0.08);
  color: var(--lime);
}

.auth-card #signOutButton[hidden] {
  display: none !important;
}

/* v49 account nav: login button becomes logout */
.account-nav-button {
  border-color: rgba(223, 255, 18, 0.3);
}

.account-nav-button:hover {
  border-color: rgba(223, 255, 18, 0.72);
}

.auth-card #signOutButton {
  display: none !important;
}

/* v50 hard override for stale city title deployments */
body:has(#cityView.active) #viewTitle {
  font-size: 0 !important;
}

body:has(#cityView.active) #viewTitle::before {
  content: "WHAT'S HAPPENING";
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

/* v53 neon command center skin */
:root {
  --ink: #ffffff;
  --soft-ink: #dfe8ff;
  --muted: #aeb4c8;
  --black: #03040b;
  --panel: rgba(7, 10, 20, 0.82);
  --panel-strong: rgba(10, 13, 28, 0.94);
  --field: rgba(6, 10, 22, 0.86);
  --line: rgba(255, 255, 255, 0.14);
  --aqua: #00f6ff;
  --pink: #ff35d2;
  --violet: #8c3dff;
  --lime: #d8ff00;
  --yellow: #f4ff00;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --glow-aqua: 0 0 28px rgba(0, 246, 255, 0.26);
  --glow-pink: 0 0 32px rgba(255, 53, 210, 0.25);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  grid-template-columns: 302px minmax(0, 1fr);
  background:
    radial-gradient(circle at 78% 0%, rgba(0, 246, 255, 0.16), transparent 28%),
    radial-gradient(circle at 28% 14%, rgba(255, 53, 210, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.96), rgba(2, 3, 7, 1));
}

body::before {
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.74), transparent 78%);
}

.sidebar {
  position: sticky;
  top: 0;
  overflow: auto;
  min-height: 100vh;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 53, 210, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 53, 210, 0.08), transparent 24%),
    linear-gradient(120deg, rgba(0, 246, 255, 0.08), transparent 42%),
    rgba(4, 6, 15, 0.95);
  box-shadow: inset -1px 0 0 rgba(0, 246, 255, 0.2), 16px 0 60px rgba(0, 0, 0, 0.44);
}

.brand {
  display: grid;
  gap: 16px;
  padding: 0 0 22px;
  border: 1px solid rgba(255, 53, 210, 0.58);
  border-radius: 10px;
  background: rgba(4, 6, 15, 0.78);
  box-shadow: var(--glow-pink), inset 0 0 40px rgba(0, 246, 255, 0.05);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  max-height: none;
  aspect-ratio: 1.14 / 0.86;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.brand > div {
  padding: 0 22px 4px;
}

.brand h1 {
  font-size: 1.28rem;
  line-height: 1.05;
  color: #ffffff;
  text-transform: uppercase;
}

.eyebrow,
.panel-kicker {
  color: var(--lime);
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(216, 255, 0, 0.55);
}

.nav {
  gap: 8px;
  margin-top: 4px;
}

.nav-button {
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 0;
  border-left: 3px solid transparent;
  color: #f5f7ff;
  font-weight: 800;
  background: transparent;
}

.nav-button span {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: currentColor;
}

.nav-button.active,
.nav-button:hover {
  border-color: var(--lime);
  background: linear-gradient(90deg, rgba(216, 255, 0, 0.18), rgba(255, 53, 210, 0.04), transparent);
  color: var(--lime);
  box-shadow: inset 0 0 28px rgba(216, 255, 0, 0.04);
}

.nav-button.active span {
  border-color: rgba(216, 255, 0, 0.8);
  color: var(--lime);
  box-shadow: 0 0 18px rgba(216, 255, 0, 0.22);
}

.auth-card {
  margin-top: auto !important;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 11, 22, 0.76);
}

.app-shell {
  width: 100%;
  max-width: 1580px;
  padding: clamp(20px, 2.5vw, 34px) clamp(22px, 3vw, 48px) 52px;
}

.topbar {
  position: relative;
  min-height: clamp(245px, 24vw, 330px);
  overflow: hidden;
  display: flex;
  align-items: end;
  margin: -4px 0 26px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 11, 0.92) 0%, rgba(7, 5, 22, 0.78) 42%, rgba(4, 3, 18, 0.36) 100%),
    radial-gradient(circle at 72% 54%, rgba(255, 53, 210, 0.34), transparent 25%),
    radial-gradient(circle at 86% 32%, rgba(0, 246, 255, 0.24), transparent 24%),
    linear-gradient(180deg, #08091a 0%, #130626 54%, #03040b 100%);
  box-shadow: var(--shadow), inset 0 -1px 0 rgba(0, 246, 255, 0.28);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: auto 0 0 37%;
  height: 72%;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 246, 255, 0.8), transparent 52%) 69% 100% / 6px 82% no-repeat,
    linear-gradient(to top, rgba(255, 53, 210, 0.65), transparent 62%) 68.8% 30% / 2px 100% no-repeat,
    linear-gradient(to top, rgba(255, 53, 210, 0.28), transparent 75%) 0 100% / 100% 62% no-repeat;
  clip-path: polygon(0 100%, 0 70%, 5% 70%, 5% 55%, 9% 55%, 9% 78%, 14% 78%, 14% 50%, 18% 50%, 18% 72%, 22% 72%, 22% 44%, 28% 44%, 28% 82%, 34% 82%, 34% 58%, 38% 58%, 38% 72%, 44% 72%, 44% 34%, 48% 34%, 48% 76%, 54% 76%, 54% 46%, 58% 46%, 58% 82%, 64% 82%, 64% 60%, 68% 60%, 68% 22%, 71% 22%, 71% 76%, 78% 76%, 78% 46%, 82% 46%, 82% 68%, 88% 68%, 88% 40%, 92% 40%, 92% 80%, 100% 80%, 100% 100%);
  opacity: 0.86;
  filter: drop-shadow(0 0 24px rgba(255, 53, 210, 0.65));
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(0, 246, 255, 0.22), transparent) 0 78% / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 53, 210, 0.34), transparent) 0 86% / 100% 2px no-repeat;
}

.topbar > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.topbar h2 {
  margin-top: 6px;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(4.4rem, 8.8vw, 9.4rem);
  line-height: 0.78;
  letter-spacing: 0;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.48), 0 0 32px rgba(255, 255, 255, 0.14);
}

body:has(#cityView.active) #viewTitle::before {
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(4rem, 7.6vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.toolbar {
  position: relative;
  z-index: 1;
  align-self: start;
}

.source-strip,
.panel,
.editor,
.paste-import,
.show-card,
.city-card,
.queue-row,
.target-row,
.field-copy,
.dashboard-item,
.dashboard-empty {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(6, 10, 21, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36), inset 0 0 34px rgba(0, 246, 255, 0.035);
}

.source-strip {
  position: relative;
  top: auto;
  grid-template-columns: minmax(150px, 0.7fr) minmax(140px, 170px) minmax(320px, 1.65fr) minmax(165px, 200px) minmax(260px, 0.95fr);
  align-items: stretch;
  gap: 16px;
  padding: 24px;
  border-color: rgba(216, 255, 0, 0.48);
  box-shadow: 0 0 34px rgba(216, 255, 0, 0.12), 0 18px 60px rgba(0, 0, 0, 0.35);
}

.source-strip::before {
  content: "IMPORT SHOWS";
  position: absolute;
  top: -14px;
  left: 22px;
  padding: 0 10px;
  background: #050711;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.source-strip label {
  color: #ffffff;
  font-size: 0.86rem;
  text-transform: none;
}

input,
select,
textarea {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(13, 18, 34, 0.96), rgba(4, 7, 15, 0.94));
  color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 246, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 246, 255, 0.12), 0 0 24px rgba(0, 246, 255, 0.18);
}

.primary-button,
.file-import-button,
.icon-button,
.link-button,
.secondary-button,
.tab,
.mini-button {
  border-radius: 8px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.primary-button,
.file-import-button {
  border: 1px solid rgba(216, 255, 0, 0.92);
  background: linear-gradient(135deg, #f0ff18, #baff00);
  color: #04060b;
  box-shadow: 0 0 26px rgba(216, 255, 0, 0.22);
}

.primary-button:hover,
.file-import-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(216, 255, 0, 0.34);
}

.secondary-button,
.icon-button,
.link-button,
.tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 10, 21, 0.76);
  color: #ffffff;
}

.secondary-button:hover,
.icon-button:hover,
.link-button:hover,
.tab:hover,
.tab.active {
  border-color: rgba(0, 246, 255, 0.62);
  color: var(--aqua);
  box-shadow: var(--glow-aqua);
}

.section-heading {
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading h3 {
  font-size: 1.15rem;
  color: #ffffff;
  text-transform: uppercase;
}

.layout {
  grid-template-columns: minmax(420px, 0.95fr) minmax(520px, 1.05fr);
  gap: 28px;
}

.show-list {
  gap: 16px;
}

.show-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  border-color: rgba(255, 255, 255, 0.12);
}

.show-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 246, 255, 0.1), transparent 38%, rgba(255, 53, 210, 0.08));
  opacity: 0;
  transition: opacity 160ms ease;
}

.show-card:hover::before,
.show-card.active::before {
  opacity: 1;
}

.show-card.active {
  border-color: rgba(216, 255, 0, 0.72);
  box-shadow: 0 0 0 1px rgba(216, 255, 0, 0.2), 0 0 34px rgba(216, 255, 0, 0.12);
}

.show-card h4 {
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(1.28rem, 1.9vw, 2rem);
  letter-spacing: 0.01em;
}

.show-card p {
  color: var(--muted);
}

.show-thumb {
  border-radius: 6px;
  border-color: rgba(255, 255, 255, 0.16);
}

.badge {
  border-radius: 999px;
  border-color: rgba(216, 255, 0, 0.68);
  background: rgba(216, 255, 0, 0.05);
  color: var(--lime);
}

.badge.missing {
  border-color: rgba(255, 205, 38, 0.78);
  color: #ffd43d;
}

.show-card .badge-row {
  gap: 10px;
}

.show-card .boost-button {
  min-width: 148px;
  border-color: rgba(255, 53, 210, 0.62);
  color: #ff7be7;
  background: rgba(255, 53, 210, 0.08);
}

.delete-show,
.admin-delete-city {
  border-color: rgba(255, 80, 112, 0.48) !important;
  color: #ff7890 !important;
  background: rgba(255, 80, 112, 0.08) !important;
}

.editor {
  top: 18px;
  padding: clamp(22px, 2.2vw, 32px);
  border-color: rgba(0, 246, 255, 0.22);
}

.editor .primary-button,
.publish-top {
  min-height: 58px;
}

.copy-layout,
.dashboard-grid {
  gap: 24px;
}

.target-card,
.queue-row {
  border-color: rgba(255, 255, 255, 0.12);
}

.sponsor-banner a {
  border: 1px solid rgba(255, 53, 210, 0.4);
  border-radius: 10px;
  box-shadow: var(--glow-pink), 0 18px 60px rgba(0, 0, 0, 0.36);
}

.sponsor-banner img {
  border-radius: 9px;
}

.city-picker-grid {
  gap: 22px;
}

.city-picker-card {
  border-radius: 10px;
  border-color: rgba(255, 53, 210, 0.38);
  background:
    linear-gradient(145deg, rgba(216, 255, 0, 0.1), rgba(0, 246, 255, 0.08), rgba(255, 53, 210, 0.12)),
    rgba(6, 10, 21, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
}

.city-picker-card:hover {
  border-color: rgba(216, 255, 0, 0.72);
  box-shadow: 0 0 38px rgba(216, 255, 0, 0.16);
}

.city-picker-card strong {
  font-family: Impact, "Arial Black", Inter, sans-serif;
  line-height: 0.86;
}

.login-page {
  border-color: rgba(255, 53, 210, 0.34);
}

.login-page input {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.source-csv-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.source-csv-actions .file-import-button,
.source-csv-actions .icon-button {
  min-width: 0;
  width: 100%;
  white-space: normal;
  line-height: 1.05;
  text-align: center;
}

[hidden] {
  display: none !important;
}

.open-mics-button {
  min-width: 190px;
  white-space: normal;
  text-align: center;
}

/* v55 readability pass: premium neon, less eye strain */
.primary-button,
.file-import-button {
  border: 1px solid rgba(216, 255, 0, 0.9) !important;
  background:
    linear-gradient(180deg, rgba(243, 255, 63, 1), rgba(181, 255, 0, 1)) !important;
  color: #05070b !important;
  text-shadow: none !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 22px rgba(216, 255, 0, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.38) !important;
}

.primary-button:hover,
.file-import-button:hover {
  filter: saturate(1.06) brightness(1.02);
  transform: translateY(-1px);
}

.primary-button:focus-visible,
.file-import-button:focus-visible,
.secondary-button:focus-visible,
.icon-button:focus-visible,
.tab:focus-visible,
.mini-button:focus-visible,
.link-button:focus-visible {
  outline: 3px solid rgba(0, 246, 255, 0.8);
  outline-offset: 3px;
}

.icon-button,
.secondary-button,
.link-button,
.tab,
.mini-button {
  background:
    linear-gradient(180deg, rgba(17, 24, 42, 0.94), rgba(4, 8, 18, 0.96)) !important;
  color: #f7fbff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  text-shadow: 0 0 12px rgba(0, 246, 255, 0.14);
}

.icon-button:hover,
.secondary-button:hover,
.link-button:hover,
.tab:hover,
.mini-button:hover {
  color: var(--aqua) !important;
  border-color: rgba(0, 246, 255, 0.72) !important;
  box-shadow: 0 0 24px rgba(0, 246, 255, 0.18) !important;
}

.tab.active {
  background:
    linear-gradient(180deg, rgba(0, 246, 255, 0.22), rgba(255, 53, 210, 0.12)),
    rgba(7, 10, 22, 0.95) !important;
  color: #ffffff !important;
  border-color: rgba(0, 246, 255, 0.76) !important;
  box-shadow:
    inset 0 -3px 0 var(--lime),
    0 0 24px rgba(0, 246, 255, 0.22) !important;
}

.source-csv-actions .file-import-button,
.source-csv-actions .icon-button,
.tabs .tab {
  min-height: 52px;
  padding: 11px 14px;
  font-size: clamp(0.82rem, 0.95vw, 0.96rem);
  line-height: 1.1;
  overflow-wrap: normal;
}

.badge,
.show-card .boost-button,
.boost-button {
  text-shadow: none !important;
}

/* v56 launch skin: Easy Listing brand polish */
body {
  background:
    radial-gradient(circle at 80% 0%, rgba(217, 255, 0, 0.12), transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(190, 48, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #030407 0%, #070a13 44%, #050409 100%) !important;
}

body::before {
  opacity: 0.48;
}

.sidebar {
  width: 302px;
  border-right-color: rgba(217, 255, 0, 0.3);
  background:
    linear-gradient(180deg, rgba(217, 255, 0, 0.055), transparent 22%),
    linear-gradient(135deg, rgba(184, 45, 255, 0.11), transparent 46%),
    rgba(3, 5, 12, 0.98) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08), 18px 0 60px rgba(0, 0, 0, 0.46);
}

.brand {
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-radius: 16px;
  border-color: rgba(217, 255, 0, 0.42);
  background: rgba(4, 6, 13, 0.9);
  box-shadow:
    0 0 28px rgba(217, 255, 0, 0.12),
    0 0 34px rgba(190, 48, 255, 0.14),
    0 20px 54px rgba(0, 0, 0, 0.42);
}

.brand-logo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: saturate(1.08) contrast(1.04);
}

.brand > div {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}

.brand h1 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
}

.nav-button {
  border-radius: 12px;
  margin: 1px 0;
  border-left: 0;
  border: 1px solid transparent;
}

.nav-button.active,
.nav-button:hover {
  border-color: rgba(217, 255, 0, 0.5);
  background:
    linear-gradient(90deg, rgba(217, 255, 0, 0.17), rgba(190, 48, 255, 0.06), transparent) !important;
  color: #f2ff55;
}

.app-shell {
  max-width: 1640px;
}

.topbar {
  min-height: clamp(250px, 23vw, 320px);
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(3, 4, 9, 0.94) 0%, rgba(4, 5, 13, 0.86) 40%, rgba(9, 4, 18, 0.28) 100%),
    radial-gradient(circle at 76% 46%, rgba(213, 255, 0, 0.18), transparent 22%),
    radial-gradient(circle at 84% 28%, rgba(190, 48, 255, 0.36), transparent 27%),
    linear-gradient(180deg, #0a0b16 0%, #12051e 55%, #030407 100%) !important;
}

.topbar h2,
body:has(#cityView.active) #viewTitle::before {
  text-shadow:
    0 8px 0 rgba(0, 0, 0, 0.56),
    0 0 18px rgba(255, 255, 255, 0.14),
    0 0 36px rgba(190, 48, 255, 0.16);
}

.source-strip,
.panel,
.editor,
.paste-import,
.show-card,
.city-card,
.queue-row,
.target-row,
.dashboard-item,
.dashboard-empty {
  border-radius: 16px !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    rgba(6, 9, 20, 0.84) !important;
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.38),
    inset 0 0 38px rgba(217, 255, 0, 0.025) !important;
}

.source-strip {
  border-color: rgba(217, 255, 0, 0.46) !important;
  padding: 26px;
}

.source-strip::before {
  color: #eaff1a;
  letter-spacing: 0.08em;
}

input,
select,
textarea {
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(16, 19, 34, 0.98), rgba(5, 7, 14, 0.96)) !important;
}

.primary-button,
.file-import-button {
  border-radius: 12px;
  background:
    linear-gradient(180deg, #f4ff35 0%, #d7ff00 54%, #a8e900 100%) !important;
  color: #030407 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 22px rgba(217, 255, 0, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.36) !important;
}

.icon-button,
.secondary-button,
.link-button,
.tab,
.mini-button {
  border-radius: 12px;
}

.tab.active {
  color: #f7ff88 !important;
}

.show-card {
  padding: 20px;
}

.show-card h4,
.city-card h4 {
  letter-spacing: 0.005em;
}

.badge {
  border-radius: 999px;
}

.sponsor-banner a {
  border-radius: 16px;
}

.sponsor-banner img {
  border-radius: 15px;
}

.mic-hero,
.mic-card {
  border-radius: 16px;
}

/* v66 bulk save/publish workflow */
.bulk-show-actions {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 16px;
  border: 1px solid rgba(216, 255, 0, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(216, 255, 0, .12), transparent 42%),
    linear-gradient(135deg, rgba(9, 13, 24, .86), rgba(8, 7, 15, .78));
}

.bulk-show-actions strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 1rem;
  text-transform: uppercase;
}

.bulk-show-actions p {
  margin: 4px 0 0;
  color: var(--muted);
}

.bulk-show-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.bulk-show-buttons .primary-button,
.bulk-show-buttons .secondary-button {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: .78rem;
  white-space: normal;
}

.bulk-action-results ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bulk-action-results li {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(0, 0, 0, .18);
}

.bulk-action-results li.ok {
  border-color: rgba(216, 255, 0, .28);
}

.bulk-action-results li.fail {
  border-color: rgba(255, 96, 96, .36);
}

.bulk-action-results strong {
  display: inline;
  color: var(--text);
  font-size: inherit;
}

.bulk-show-check {
  display: grid;
  place-items: center;
  align-self: start;
  gap: 4px;
  width: 54px;
  min-height: 54px;
  border: 1px solid rgba(216, 255, 0, .24);
  border-radius: 14px;
  background: rgba(0, 0, 0, .24);
  color: var(--lime);
  font-size: .72rem;
  font-weight: 1000;
  cursor: pointer;
}

.bulk-show-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--lime);
}

.show-card.has-image:has(.bulk-show-check) {
  grid-template-columns: auto 170px minmax(0, 1fr);
}

@media (max-width: 760px) {
  .bulk-show-buttons {
    grid-template-columns: 1fr;
  }

  .show-card.has-image:has(.bulk-show-check) {
    grid-template-columns: 1fr;
  }

  .bulk-show-check {
    width: 100%;
    min-height: 42px;
    grid-template-columns: auto auto;
    justify-content: center;
  }
}

/* v65 compact logged-in dashboard and smaller sponsored banner */
#dashboardView .product-dashboard {
  gap: 14px;
  max-width: 1480px;
  margin: 0 auto;
}

#dashboardView .dashboard-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 18px;
  padding: 22px;
}

#dashboardView .dashboard-hero h3 {
  margin: 4px 0 6px;
  font-size: clamp(1.8rem, 3vw, 3.25rem);
  line-height: .92;
}

#dashboardView .dashboard-hero p {
  max-width: 640px;
}

#dashboardView .dashboard-quick-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

#dashboardView .dashboard-quick-actions .primary-button,
#dashboardView .dashboard-quick-actions .secondary-button {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .86rem;
}

#dashboardView .dashboard-stat-grid {
  gap: 10px;
}

#dashboardView .dashboard-stat-card {
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 18px;
}

#dashboardView .dashboard-stat-card span {
  font-size: .72rem;
}

#dashboardView .dashboard-stat-card strong {
  margin-top: 8px;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
}

#dashboardView .dashboard-main-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#dashboardShowsPanel,
#dashboardSubmissionPanel {
  grid-column: span 2;
}

#dashboardNotesPanel {
  grid-column: span 1;
}

#dashboardView .dashboard-section {
  padding: 18px;
  border-radius: 20px;
}

#dashboardView .section-heading {
  padding-bottom: 9px;
}

#dashboardView .section-heading h3 {
  font-size: 1.05rem;
}

#dashboardView .section-heading p {
  font-size: .9rem;
}

#dashboardView .dashboard-list {
  max-height: 315px;
  overflow: auto;
  padding-right: 4px;
}

#dashboardView #dashboardShowsList,
#dashboardView #submissionStatusesList {
  max-height: 380px;
}

#dashboardView .dashboard-inline-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

#dashboardView .dashboard-inline-form input,
#dashboardView .dashboard-inline-form select,
#dashboardView .dashboard-inline-form textarea {
  min-height: 44px;
  padding: 11px 12px;
}

#dashboardView .dashboard-inline-form textarea {
  grid-column: span 2;
  min-height: 44px;
  resize: vertical;
}

#dashboardView .dashboard-inline-form button {
  grid-column: auto;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
}

#dashboardView .dashboard-product-item {
  gap: 10px;
  padding: 13px;
  border-radius: 16px;
}

#dashboardView .dashboard-product-item h4 {
  font-size: clamp(1rem, 1.4vw, 1.35rem);
}

#dashboardView .dashboard-product-item p,
#dashboardView .dashboard-product-item a {
  margin-top: 5px;
  font-size: .9rem;
}

#dashboardView .dashboard-status-pill {
  min-height: 32px;
  padding: 0 11px;
  font-size: .82rem;
}

#dashboardView .followup-split {
  gap: 10px;
  margin-top: 12px;
}

.sponsor-banner {
  max-width: 1120px;
  margin: 28px auto 0;
}

.sponsor-banner a {
  max-height: 165px;
}

.sponsor-banner img {
  width: 100%;
  max-height: 165px;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  width: min(1120px, 100%);
  margin: 26px auto 0;
  padding: 22px 0 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--soft-ink);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.site-footer a {
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .site-footer {
    flex-direction: column;
    gap: 14px;
    padding: 20px 0 6px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 1180px) {
  #dashboardView .dashboard-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #dashboardShowsPanel,
  #dashboardSubmissionPanel,
  #dashboardNotesPanel {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  #dashboardView .dashboard-hero,
  #dashboardView .dashboard-main-grid {
    grid-template-columns: 1fr;
  }

  #dashboardView .dashboard-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #dashboardView .dashboard-hero {
    padding: 16px;
  }

  #dashboardView .dashboard-quick-actions,
  #dashboardView .dashboard-stat-grid,
  #dashboardView .dashboard-inline-form {
    grid-template-columns: 1fr;
  }

  #dashboardView .dashboard-inline-form textarea,
  #dashboardView .dashboard-inline-form button {
    grid-column: auto;
  }

  #dashboardView .dashboard-list,
  #dashboardView #dashboardShowsList,
  #dashboardView #submissionStatusesList {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .sponsor-banner {
    max-width: 100%;
  }

  .sponsor-banner a,
  .sponsor-banner img {
    max-height: 112px;
  }
}

@media (max-width: 760px) {
  .brand {
    grid-template-columns: 108px minmax(0, 1fr);
    padding: 8px;
  }

  .brand-logo {
    width: 108px;
    aspect-ratio: 1;
    border-radius: 12px;
  }

  .brand > div {
    padding: 0 0 0 10px;
    border-top: 0;
    background: transparent;
  }

  .topbar {
    border-radius: 14px;
  }
}

/* v57: phones with wide CSS viewports should still use the mobile stack */
@media (max-width: 1100px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    display: block !important;
  }

  .sidebar {
    position: relative !important;
    top: auto;
    width: 100% !important;
    min-height: 0 !important;
    overflow: visible;
    padding: 14px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(217, 255, 0, 0.28) !important;
  }

  .brand {
    display: grid !important;
    grid-template-columns: minmax(112px, 0.38fr) minmax(0, 1fr);
    align-items: center;
    max-width: 720px;
    margin: 0 auto 14px;
    padding: 8px !important;
    border-radius: 18px;
  }

  .brand-logo {
    width: 100% !important;
    max-height: 126px;
    aspect-ratio: 1.35 / 1;
    border-radius: 12px !important;
    object-fit: cover;
  }

  .brand > div {
    padding: 0 8px 0 14px !important;
    border-top: 0 !important;
    background: transparent !important;
  }

  .brand h1 {
    font-size: clamp(1.45rem, 5vw, 2.35rem);
  }

  .brand .eyebrow {
    font-size: clamp(0.62rem, 2.2vw, 0.9rem);
  }

  .nav {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-button {
    min-height: 54px;
    padding: 10px 12px;
    font-size: clamp(0.84rem, 2.8vw, 1rem);
    line-height: 1.12;
  }

  .nav-button span {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
  }

  .auth-card {
    display: none !important;
  }

  .app-shell {
    width: 100%;
    padding: 12px 12px 34px !important;
  }

  .topbar {
    min-height: clamp(210px, 48vw, 330px);
    margin: 0 0 18px !important;
    padding: clamp(18px, 4vw, 28px) !important;
    border-radius: 18px;
  }

  .topbar h2 {
    font-size: clamp(3.6rem, 13.5vw, 7.4rem);
    line-height: 0.84;
  }

  body:has(#cityView.active) #viewTitle::before {
    font-size: clamp(3.25rem, 12.5vw, 6.8rem);
    line-height: 0.84;
  }

  .source-strip {
    margin-top: 20px;
  }
}

@media (max-width: 1180px) {
  body {
    grid-template-columns: 260px minmax(0, 1fr);
  }

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

  .source-strip > div:first-child,
  .source-csv-actions {
    grid-column: 1 / -1;
  }

  .layout,
  .copy-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    display: block;
  }

  .sidebar {
    position: relative;
    min-height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 53, 210, 0.38);
  }

  .brand {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    padding: 8px;
  }

  .brand-logo {
    width: 92px;
    aspect-ratio: 1;
    border-radius: 8px;
  }

  .brand > div {
    padding: 0;
  }

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

  .nav-button {
    min-height: 48px;
    padding: 10px;
    font-size: 0.86rem;
  }

  .app-shell {
    padding: 16px 12px 34px;
  }

  .topbar {
    min-height: 220px;
    padding: 18px;
  }

  .topbar::before {
    left: 18%;
    opacity: 0.5;
  }

  .topbar h2 {
    font-size: clamp(3.1rem, 17vw, 5rem);
    line-height: 0.86;
  }

  body:has(#cityView.active) #viewTitle::before {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .source-strip,
  .source-csv-actions,
  .layout,
  .city-card {
    grid-template-columns: 1fr;
  }

  .show-card.has-image {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .show-thumb {
    width: 82px;
    height: 82px;
  }

  .show-card .boost-button {
    width: auto;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* v60 guided workflow polish */
.view-subtitle {
  max-width: 820px;
  margin: 10px 0 0;
  color: rgba(245, 245, 238, 0.72);
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  line-height: 1.45;
  letter-spacing: 0;
}

.workflow-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 18px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  color: rgba(245, 245, 238, 0.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 55px rgba(0,0,0,.2);
}

.workflow-step > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216,255,0,.26);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(216,255,0,.08);
  font-weight: 950;
}

.workflow-step strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.workflow-step p {
  margin: 4px 0 0;
  color: inherit;
  font-size: .92rem;
  line-height: 1.35;
}

.workflow-step.active {
  border-color: rgba(216,255,0,.76);
  color: rgba(255,255,255,.86);
  background: radial-gradient(circle at 18% 14%, rgba(216,255,0,.18), transparent 32%), linear-gradient(135deg, rgba(216,255,0,.08), rgba(255,53,210,.04));
  box-shadow: 0 0 0 1px rgba(216,255,0,.08), 0 0 34px rgba(216,255,0,.12), 0 20px 60px rgba(0,0,0,.32);
}

.workflow-step.active > span,
.workflow-step.complete > span {
  color: #081006;
  background: var(--lime);
  box-shadow: 0 0 22px rgba(216,255,0,.28);
}

.source-strip {
  align-items: center;
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(12,16,24,.92), rgba(12, 6, 18, .84));
}

.source-strip .microcopy {
  max-width: 360px;
  margin: 6px 0 0;
  color: rgba(245,245,238,.58);
  font-size: .92rem;
  line-height: 1.35;
}

.source-message {
  margin-top: 10px;
  padding-left: 8px;
}

.onboarding-empty {
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 42px);
  border-style: dashed;
  border-color: rgba(216,255,0,.34);
  background: radial-gradient(circle at 12% 12%, rgba(216,255,0,.12), transparent 26%), rgba(6, 8, 12, .72);
}

.onboarding-empty h3 {
  margin: 0;
  max-width: 680px;
  color: #fff;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: .92;
  text-transform: uppercase;
}

.onboarding-empty p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: rgba(245,245,238,.75);
  font-size: 1.05rem;
  line-height: 1.5;
}

.onboarding-mini-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.onboarding-mini-steps span {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(216,255,0,.34);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(216,255,0,.07);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.editor,
.panel,
.show-card,
.city-card {
  border-radius: 24px;
}

.publish-top {
  margin-bottom: 18px;
  min-height: 58px;
}

.queue-panel .section-heading h3,
.target-manager .section-heading h3,
.copy-layout .section-heading h3 {
  letter-spacing: .01em;
}

.target-manager {
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.014)), rgba(5,8,14,.76);
}

@media (max-width: 1100px) {
  .workflow-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .view-subtitle {
    font-size: .98rem;
  }

  .workflow-guide {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workflow-step {
    min-height: 74px;
    padding: 12px;
    grid-template-columns: 34px 1fr;
  }

  .workflow-step > span {
    width: 34px;
    height: 34px;
  }

  .workflow-step p {
    font-size: .86rem;
  }

  .source-strip {
    padding: 14px;
  }

  .onboarding-empty {
    min-height: 240px;
    padding: 22px;
  }
}

/* v61 simplification: guided first run, public board, dashboard emphasis */
.product-promise {
  max-width: 880px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(1.08rem, 1.45vw, 1.38rem);
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 850;
}

.product-promise + .view-subtitle {
  margin-top: 8px;
  max-width: 760px;
  color: rgba(245,245,238,.64);
}

.dashboard-nav-button {
  border-color: rgba(216,255,0,.38);
  background: radial-gradient(circle at 14% 16%, rgba(216,255,0,.18), transparent 34%), rgba(255,255,255,.035);
}

.dashboard-nav-button span {
  color: #081006;
  background: var(--lime);
  border-color: rgba(216,255,0,.72);
  box-shadow: 0 0 22px rgba(216,255,0,.22);
}

.advanced-tools {
  margin: 12px 0 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(5,8,14,.52);
  overflow: hidden;
}

.advanced-tools summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: rgba(245,245,238,.72);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .055em;
  list-style: none;
}

.advanced-tools summary::-webkit-details-marker {
  display: none;
}

.advanced-tools summary::after {
  content: "+";
  margin-left: auto;
  color: var(--lime);
  font-size: 1.35rem;
}

.advanced-tools[open] summary::after {
  content: "-";
}

.advanced-tools-body {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
}

.advanced-tools .paste-body {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
}

.advanced-tools .source-csv-actions {
  justify-content: flex-start;
  margin: 0;
}

.city-public-board {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: radial-gradient(circle at 82% 4%, rgba(216,255,0,.12), transparent 24%), radial-gradient(circle at 8% 10%, rgba(255,53,210,.16), transparent 28%), linear-gradient(180deg, rgba(8,10,18,.94), rgba(5,7,12,.86));
  box-shadow: 0 28px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}

.city-public-board > .section-heading {
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.city-public-board > .section-heading h3 {
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .85;
  letter-spacing: 0;
  color: #fff;
  text-transform: uppercase;
}

.public-board-toolbar {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.public-board-toolbar input[type="search"] {
  min-height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}

.public-board-toolbar .open-mics-button,
.public-board-toolbar .secondary-button {
  min-height: 54px;
  border-radius: 999px;
}

.city-public-board .featured-section {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(216,255,0,.22);
  background: rgba(216,255,0,.045);
}

.city-public-board .city-grid {
  gap: 18px;
}

.city-public-board .city-card {
  border-radius: 24px;
  border-color: rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), rgba(8,11,18,.82);
  box-shadow: 0 20px 65px rgba(0,0,0,.26);
}

.city-public-board .city-card h4 {
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  line-height: 1.02;
}

.city-public-board .city-card-actions {
  align-items: center;
}

.admin-tools {
  margin-top: 24px;
  opacity: .82;
}

.admin-tools-body {
  grid-template-columns: minmax(180px, 320px) repeat(3, auto) 1fr;
  align-items: center;
}

.admin-tools .helper-text {
  margin: 0;
}

.city-bulk-delete {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-bulk-delete input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--acid);
}

.toolbar .hidden-action {
  opacity: .58;
}

@media (max-width: 900px) {
  .public-board-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-tools-body {
    grid-template-columns: 1fr;
  }

  .city-public-board > .section-heading {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .product-promise {
    font-size: 1.02rem;
  }

  .city-public-board {
    padding: 16px;
    border-radius: 24px;
  }

  .city-public-board > .section-heading h3 {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .advanced-tools summary {
    min-height: 48px;
    padding: 0 14px;
  }

  .advanced-tools-body {
    padding: 0 14px 14px;
  }
}

/* v62 hierarchy: three primary product actions */
.primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 16px;
}

.primary-action-card {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  color: #fff;
  text-align: left;
  background: radial-gradient(circle at 20% 16%, rgba(255,53,210,.2), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)), rgba(6,9,16,.86);
  box-shadow: 0 24px 75px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08);
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.primary-action-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 35%;
  height: 150px;
  background: radial-gradient(circle, rgba(216,255,0,.22), transparent 62%);
  pointer-events: none;
}

.primary-action-card span {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--lime);
  font-weight: 950;
  letter-spacing: .18em;
  font-size: .84rem;
}

.primary-action-card strong {
  position: relative;
  z-index: 1;
  max-width: 360px;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 4.25rem);
  line-height: .88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 12px 0 rgba(0,0,0,.3);
}

.primary-action-card p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  color: rgba(245,245,238,.72);
  font-size: 1rem;
  line-height: 1.38;
}

.primary-action-card.active,
.primary-action-card:hover,
.primary-action-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(216,255,0,.72);
  box-shadow: 0 0 0 1px rgba(216,255,0,.12), 0 30px 90px rgba(0,0,0,.38), 0 0 38px rgba(216,255,0,.14);
  outline: none;
}

.primary-action-card[data-primary-action="add"] {
  background: radial-gradient(circle at 12% 18%, rgba(216,255,0,.2), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.018)), rgba(6,9,16,.88);
}

.primary-action-card[data-primary-action="promo"] {
  background: radial-gradient(circle at 16% 16%, rgba(255,53,210,.24), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)), rgba(8,8,18,.88);
}

.primary-action-card[data-primary-action="submit"] {
  background: radial-gradient(circle at 16% 16%, rgba(0,246,255,.2), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)), rgba(5,11,18,.88);
}

.workflow-guide {
  margin-top: 8px;
  opacity: .78;
}

.workflow-step {
  min-height: 76px;
  padding: 12px;
}

.workflow-step p {
  display: none;
}

@media (max-width: 1100px) {
  .primary-actions {
    grid-template-columns: 1fr;
  }

  .primary-action-card {
    min-height: 150px;
  }
}

@media (max-width: 720px) {
  .primary-actions {
    gap: 10px;
    margin-top: 16px;
  }

  .primary-action-card {
    min-height: 126px;
    padding: 18px;
    border-radius: 22px;
  }

  .primary-action-card span {
    top: 14px;
    left: 18px;
  }

  .primary-action-card strong {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .primary-action-card p {
    font-size: .92rem;
  }
}

/* v63 launch pass: Easy Listing ecosystem, clearer onboarding, calmer mobile flow */
:root {
  --launch-panel: rgba(7, 9, 15, .78);
  --launch-line: rgba(255, 255, 255, .085);
  --launch-muted: rgba(245, 245, 238, .62);
}

.brand h1 {
  letter-spacing: .08em;
}

.brand .eyebrow {
  color: var(--lime);
}

.topbar {
  padding-bottom: clamp(20px, 3vw, 34px);
  border-color: transparent;
  box-shadow: none;
}

.topbar > div:first-child {
  max-width: 980px;
}

.product-promise {
  margin-top: 12px;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.12;
  color: #fff;
  font-weight: 950;
}

.product-promise + .view-subtitle {
  max-width: 720px;
  margin-top: 10px;
  color: var(--launch-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.primary-actions {
  gap: 22px;
  margin: clamp(20px, 3vw, 34px) 0 20px;
}

.primary-action-card {
  min-height: clamp(168px, 16vw, 225px);
  padding: clamp(20px, 2.5vw, 32px);
  border: 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 15%, rgba(216,255,0,.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)),
    rgba(5, 8, 15, .9);
}

.primary-action-card {
  min-height: clamp(182px, 14vw, 214px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  align-items: end;
  gap: 12px;
  padding: clamp(22px, 2.25vw, 30px);
  border-radius: 30px;
}

.primary-action-card span {
  position: relative;
  top: auto;
  left: auto;
  align-self: start;
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  color: var(--lime);
  font-size: .9rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .16em;
}

.primary-action-card strong {
  max-width: 440px;
  font-size: clamp(2.3rem, 4.25vw, 5rem);
  text-shadow: 0 12px 0 rgba(0,0,0,.25);
}

.primary-action-card strong {
  align-self: end;
  min-height: 1.76em;
  display: flex;
  align-items: flex-end;
  max-width: 100%;
  font-size: clamp(2.25rem, 3.65vw, 4.35rem);
  font-weight: 950;
}

.primary-action-card p {
  max-width: 420px;
  color: rgba(245,245,238,.76);
}

.primary-action-card p {
  min-height: 2.76em;
  max-width: 96%;
  font-size: clamp(.96rem, 1vw, 1.08rem);
  font-weight: 700;
}

.primary-action-card.active,
.primary-action-card:hover,
.primary-action-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 28px 85px rgba(0,0,0,.34), 0 0 0 1px rgba(216,255,0,.25), 0 0 44px rgba(216,255,0,.16);
}

.workflow-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 18px;
  padding: 10px;
  border: 1px solid var(--launch-line);
  border-radius: 999px;
  background: rgba(255,255,255,.032);
  opacity: 1;
}

.workflow-step {
  min-height: 68px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.workflow-step > span {
  width: 34px;
  height: 34px;
  font-size: .92rem;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}

.workflow-step strong {
  font-size: .9rem;
  letter-spacing: .045em;
}

.workflow-step p {
  display: block;
  color: rgba(245,245,238,.52);
  font-size: .76rem;
}

.workflow-step.active {
  background: rgba(216,255,0,.12);
  box-shadow: inset 0 0 0 1px rgba(216,255,0,.18);
}

.workflow-step.complete > span,
.workflow-step.active > span {
  color: #071006;
  background: var(--lime);
  border-color: rgba(216,255,0,.76);
}

.ecosystem-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(140px, auto));
  gap: 12px;
  align-items: center;
  margin: 18px 0 26px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(216,255,0,.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 4% 18%, rgba(216,255,0,.12), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(7, 10, 17, .8);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}

.ecosystem-intro h3 {
  margin: 6px 0 0;
  max-width: 520px;
  color: #fff;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2.45rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ecosystem-pill {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(245,245,238,.88);
  font-size: .88rem;
  font-weight: 950;
  text-align: center;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.075);
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.ecosystem-pill:hover,
.ecosystem-pill:focus-visible {
  color: #071006;
  background: var(--lime);
  border-color: rgba(216,255,0,.85);
  transform: translateY(-1px);
}

.source-strip,
.editor,
.panel,
.show-card,
.city-public-board,
.dashboard-card,
.copy-output {
  border-color: var(--launch-line);
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.database-page {
  padding: clamp(20px, 3vw, 34px);
}

.database-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.database-heading h3 {
  margin: 0;
  color: #fff;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  line-height: .88;
  text-transform: uppercase;
}

.database-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.database-actions select {
  width: min(260px, 100%);
}

.database-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.database-venue-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(180px, .8fr) minmax(190px, .8fr) minmax(190px, .8fr) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 24px 0 4px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(216, 255, 0, .18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(216, 255, 0, .11), transparent 36%),
    linear-gradient(135deg, rgba(20, 29, 26, .84), rgba(15, 18, 30, .84));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

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

.database-venue-form h4 {
  margin: 5px 0 8px;
  color: #fff;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.database-venue-form p {
  margin: 0;
  color: var(--muted);
}

.database-venue-form input,
.database-venue-form textarea {
  min-width: 0;
}

.database-venue-form textarea {
  min-height: 58px;
  resize: vertical;
}

.database-venue-form .primary-button {
  min-height: 58px;
  white-space: nowrap;
}

.database-group-heading {
  padding: 18px 4px 4px;
}

.database-group-heading h4 {
  margin: 4px 0 0;
  color: #fff;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.7rem);
  line-height: .95;
  text-transform: uppercase;
}

.database-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(216,255,0,.08), transparent 34%),
    linear-gradient(135deg, rgba(18, 33, 43, .7), rgba(24, 16, 35, .76));
}

.database-row h4 {
  margin: 5px 0 8px;
  color: #fff;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.database-row p {
  margin: 4px 0;
  color: var(--muted);
}

.database-row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.source-strip,
.editor,
.panel {
  background: var(--launch-panel);
}

.source-strip {
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 32px;
}

.source-strip label {
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
}

.source-strip .microcopy {
  max-width: 480px;
  color: var(--launch-muted);
}

.source-strip input,
.source-strip select,
.source-strip .primary-button {
  min-height: 60px;
  border-radius: 18px;
}

.primary-button,
.secondary-button,
.icon-button,
.file-import-button {
  letter-spacing: .03em;
}

.primary-button {
  color: #071006;
}

.layout,
.copy-layout,
.dashboard-grid {
  gap: clamp(22px, 2.5vw, 34px);
}

.show-card {
  border-radius: 28px;
}

.show-card-actions,
.city-card-actions {
  gap: 10px;
}

.city-public-board > .section-heading h3 {
  font-size: clamp(3.4rem, 7.5vw, 7.5rem);
}

.advanced-tools {
  border-color: transparent;
  background: rgba(255,255,255,.025);
}

@media (max-width: 1180px) {
  .ecosystem-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ecosystem-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .workflow-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 28px;
  }

  .workflow-step {
    border-radius: 22px;
  }

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

@media (max-width: 720px) {
  .app-shell {
    padding-top: 16px;
  }

  .topbar {
    padding: 14px 0 18px;
  }

  .topbar h2 {
    font-size: clamp(4rem, 19vw, 6.4rem);
  }

  .product-promise {
    font-size: 1.2rem;
  }

  .primary-actions {
    position: sticky;
    top: 0;
    z-index: 15;
    margin: 10px 0 16px;
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(5,7,13,.98), rgba(5,7,13,.78));
    backdrop-filter: blur(16px);
  }

  .primary-action-card {
    min-height: 112px;
    padding: 16px;
    border-radius: 24px;
    grid-template-rows: auto auto auto;
    gap: 8px;
  }

  .primary-action-card strong {
    min-height: 0;
    font-size: clamp(1.8rem, 9vw, 2.75rem);
  }

  .primary-action-card p {
    min-height: 0;
  }

  .workflow-guide {
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 24px;
  }

  .workflow-step {
    min-height: 58px;
    border-radius: 18px;
  }

  .workflow-step p {
    display: none;
  }

  .ecosystem-strip {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 24px;
  }

  .ecosystem-pill {
    min-height: 44px;
  }

  .database-heading,
  .database-row {
    grid-template-columns: 1fr;
  }

  .database-heading {
    display: grid;
  }

  .database-venue-form {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .database-venue-form .primary-button {
    width: 100%;
  }

  .database-actions,
  .database-row-actions {
    justify-content: stretch;
  }

  .database-actions > *,
  .database-row-actions > * {
    width: 100%;
  }

  .source-strip {
    position: sticky;
    bottom: 0;
    z-index: 20;
    border-radius: 26px 26px 0 0;
    backdrop-filter: blur(16px);
  }

  .source-strip input,
  .source-strip select,
  .source-strip .primary-button {
    min-height: 58px;
    font-size: 1rem;
  }

  .show-card {
    border-radius: 24px;
    padding: 16px;
  }
}

/* v64.1 phone title fix: keep hero headings inside the card */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell,
  .topbar,
  .topbar > div:first-child {
    min-width: 0;
    max-width: 100%;
  }

  .topbar {
    overflow: hidden;
    padding: 18px !important;
  }

  .topbar h2 {
    max-width: 100%;
    font-size: clamp(2.65rem, 11.4vw, 4.1rem) !important;
    line-height: .92 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }

  .product-promise,
  .view-subtitle {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

@media (max-width: 430px) {
  .topbar h2 {
    font-size: clamp(2.35rem, 10.7vw, 3rem) !important;
  }
}

/* v64.2 nav polish: Dashboard stands out without looking permanently selected */
.dashboard-nav-button:not(.active) {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--lime) !important;
  box-shadow: none !important;
}

.dashboard-nav-button:not(.active) span {
  color: var(--lime) !important;
  background: rgba(216, 255, 0, .08) !important;
  border-color: rgba(216, 255, 0, .34) !important;
  box-shadow: none !important;
}

.dashboard-nav-button:not(.active):hover {
  border-color: rgba(216, 255, 0, .32) !important;
  background: rgba(216, 255, 0, .055) !important;
}

/* v66 guided onboarding and submission health */
.submission-health {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(216, 255, 0, .14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
}

.submission-health.ready {
  border-color: rgba(216, 255, 0, .36);
}

.submission-health.needs-work {
  border-color: rgba(255, 209, 102, .32);
}

.submission-health-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.submission-health-top strong {
  display: block;
  color: #fff;
  font-size: clamp(1.08rem, 1.4vw, 1.35rem);
  line-height: 1.05;
}

.submission-health-top > span {
  display: grid;
  min-width: 74px;
  min-height: 48px;
  place-items: center;
  border-radius: 999px;
  color: #071006;
  background: var(--lime);
  font-weight: 1000;
  box-shadow: 0 0 24px rgba(216, 255, 0, .2);
}

.health-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
}

.health-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd166, var(--lime), #59fff6);
  transition: width 180ms ease;
}

.health-note {
  margin: 0;
  color: rgba(245, 245, 238, .72);
  line-height: 1.35;
}

.submission-health ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(245, 245, 238, .84);
}

.submission-health li + li {
  margin-top: 5px;
}

.missing-details {
  margin: 8px 0 0;
  color: rgba(255, 209, 102, .92);
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.35;
}

.save-target-button.saved {
  border-color: rgba(216, 255, 0, .68) !important;
  background: rgba(216, 255, 0, .16) !important;
  color: var(--lime) !important;
  box-shadow: 0 0 22px rgba(216, 255, 0, .12);
}

.save-target-button.saved::before {
  content: "✓ ";
}

.dashboard-local-note {
  margin: 10px 0 0;
  color: rgba(245, 245, 238, .68);
  font-size: .86rem;
  line-height: 1.35;
}

body.modal-open {
  overflow: hidden;
}

.boost-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 22px;
}

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

.boost-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(216, 255, 0, .16), transparent 34%),
    rgba(0, 0, 0, .78);
  backdrop-filter: blur(10px);
}

.boost-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(216, 255, 0, .42);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 255, 0, .14), transparent 32%),
    radial-gradient(circle at 100% 8%, rgba(255, 47, 221, .13), transparent 34%),
    #07090d;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .62), 0 0 36px rgba(216, 255, 0, .12);
}

.boost-dialog h3 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: .9;
  text-transform: uppercase;
}

.boost-intro {
  margin: 0 0 20px;
  color: rgba(245, 245, 238, .72);
}

.boost-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.boost-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
}

.boost-summary strong {
  color: var(--lime);
  text-transform: uppercase;
}

.boost-summary span,
.boost-status {
  color: rgba(245, 245, 238, .75);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.boost-dialog form {
  display: grid;
  gap: 16px;
}

.boost-dialog .primary-button {
  width: 100%;
}

.first-run-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 15% 10%, rgba(216, 255, 0, .18), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255, 53, 210, .18), transparent 30%),
    rgba(3, 4, 7, .74);
  backdrop-filter: blur(18px);
}

.first-run-card {
  position: relative;
  width: min(860px, 100%);
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(216, 255, 0, .34);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(18, 22, 28, .96), rgba(9, 6, 18, .96)),
    rgba(8, 8, 8, .98);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .52), 0 0 50px rgba(216, 255, 0, .12);
}

.first-run-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 1000;
}

.first-run-card h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: 0;
}

.first-run-card > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(245, 245, 238, .72);
  font-size: 1.08rem;
  line-height: 1.45;
}

.first-run-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.first-run-steps > div {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .045);
}

.first-run-steps span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: #071006;
  background: var(--lime);
  font-weight: 1000;
}

.first-run-steps strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.first-run-steps p {
  margin: 0;
  color: rgba(245, 245, 238, .68);
  line-height: 1.35;
}

.first-run-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.first-run-actions button {
  min-width: min(240px, 100%);
}

@media (max-width: 760px) {
  .submission-health {
    border-radius: 20px;
    padding: 14px;
  }

  .submission-health-top {
    align-items: start;
    flex-direction: column;
  }

  .submission-health-top > span {
    min-width: 66px;
    min-height: 42px;
  }

  .first-run-overlay {
    align-items: end;
    padding: 12px;
  }

  .first-run-card {
    max-height: calc(100vh - 24px);
    overflow: auto;
    border-radius: 28px;
  }

  .first-run-steps {
    grid-template-columns: 1fr;
  }

  .first-run-actions {
    display: grid;
  }
}

/* v64.8 mobile city polish: tighter centering and cleaner action buttons */
@media (max-width: 760px) {
  .public-city-page {
    overflow-x: hidden;
  }

  .public-city-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 18px 42px !important;
    box-sizing: border-box;
  }

  .public-hero {
    padding: 12px 0 24px !important;
    border-bottom-color: rgba(255, 255, 255, .1);
  }

  .public-nav {
    align-items: center !important;
    gap: 18px !important;
    text-align: center;
  }

  .public-brand {
    width: 100%;
    justify-content: center;
    gap: 18px;
    text-align: left;
  }

  .public-brand img {
    width: 128px !important;
    height: 86px;
    object-fit: contain;
    padding: 6px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .24);
    box-shadow: 0 0 24px rgba(216, 255, 0, .1);
  }

  .public-brand span {
    max-width: 250px;
    font-size: 1.18rem;
    line-height: 1.16;
  }

  .public-submit-link {
    width: min(100%, 330px) !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 999px;
    font-size: .98rem;
    letter-spacing: .02em;
    background: linear-gradient(135deg, #f0ff48 0%, #b8ff00 52%, #59fff6 135%);
    box-shadow: 0 12px 34px rgba(216, 255, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .55);
  }

  .public-submit-link:hover {
    box-shadow: 0 14px 38px rgba(216, 255, 0, .24);
  }

  .public-hero-copy {
    width: 100%;
    margin-top: 34px;
    text-align: left;
  }

  #publicCityEyebrow {
    display: none;
  }

  .public-hero h1 {
    max-width: 100%;
    font-size: clamp(3.45rem, 15.5vw, 5.15rem) !important;
    line-height: .88 !important;
  }

  .public-hero-copy > p:last-child {
    max-width: 100%;
    margin-top: 18px;
    font-size: 1.05rem;
  }

  .city-picker-grid {
    gap: 18px !important;
    margin: 26px 0 34px !important;
  }

  .city-picker-card {
    min-height: 154px !important;
    padding: 24px !important;
    border-radius: 22px !important;
    align-content: center;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .28);
  }

  .city-picker-card span {
    font-size: .95rem;
    letter-spacing: .1em;
  }

  .city-picker-card strong {
    font-size: clamp(2.05rem, 10.5vw, 3.35rem) !important;
    line-height: .95 !important;
  }

  .public-controls,
  .public-feed,
  .public-sponsor-banner {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .public-city-shell {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .public-brand {
    justify-content: flex-start;
  }

  .public-brand img {
    width: 110px !important;
    height: 74px;
  }

  .public-brand span {
    max-width: 215px;
    font-size: 1rem;
  }

  .public-hero h1 {
    font-size: clamp(3.05rem, 14.8vw, 4rem) !important;
  }

  .public-hero-copy {
    margin-top: 30px;
  }

  .city-picker-card {
    min-height: 136px !important;
    padding: 20px !important;
  }
}

/* v65 desktop public masthead: bold, but not browser-zoom huge */
@media (min-width: 761px) {
  .public-city-shell {
    width: min(1480px, calc(100% - 56px));
  }

  .public-hero {
    min-height: clamp(520px, 66vh, 700px);
    padding-top: 20px;
  }

  .public-nav {
    gap: clamp(24px, 3vw, 54px);
    align-items: flex-start;
  }

  .public-brand {
    flex: 1 1 auto;
    gap: clamp(22px, 2.4vw, 42px);
    max-width: min(920px, calc(100vw - 390px));
    font-size: clamp(1.55rem, 2.05vw, 2.75rem);
    line-height: .98;
    letter-spacing: .06em;
  }

  .public-brand img {
    width: clamp(150px, 10vw, 220px);
    height: clamp(106px, 7.1vw, 156px);
    padding: clamp(8px, .75vw, 14px);
    object-fit: contain;
    background:
      radial-gradient(circle at 35% 30%, rgba(216, 255, 0, .12), transparent 48%),
      rgba(0, 0, 0, .24);
    box-shadow:
      0 0 38px rgba(216, 255, 0, .08),
      inset 0 0 0 1px rgba(255, 255, 255, .06);
  }

  .public-brand span {
    max-width: 680px;
    text-shadow: 0 0 24px rgba(255, 255, 255, .12);
  }

  .public-submit-link {
    min-width: clamp(230px, 13vw, 300px);
    min-height: clamp(58px, 4.2vw, 76px);
    padding-inline: clamp(24px, 2vw, 38px);
    font-size: clamp(1.04rem, 1.18vw, 1.45rem);
    letter-spacing: .035em;
  }

  .public-hero-copy {
    margin-top: clamp(52px, 8vh, 104px);
  }

  .public-hero h1 {
    font-size: clamp(5.2rem, 7.8vw, 8.3rem);
    line-height: .86;
  }
}

.extension-install-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  min-width: 176px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 0, .78);
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, .38), transparent 26%),
    linear-gradient(135deg, rgba(216, 255, 0, .96), rgba(135, 255, 98, .88) 42%, rgba(0, 229, 255, .64)),
    rgba(9, 12, 20, .92);
  color: #071014;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.12;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    0 16px 34px rgba(0, 229, 255, .18),
    0 0 0 4px rgba(216, 255, 0, .08),
    inset 0 1px 0 rgba(255, 255, 255, .46);
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}

.topbar .toolbar {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  max-width: calc(100% - 32px);
  display: flex;
  justify-content: flex-end;
}

.extension-install-button::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .76), 0 0 18px rgba(255, 255, 255, .34);
}

.extension-install-button::after {
  content: "";
  position: absolute;
  top: -90%;
  bottom: -90%;
  left: -46%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
  pointer-events: none;
  transform: rotate(14deg);
  transition: left .64s ease;
}

.extension-install-button:hover,
.extension-install-button:focus-visible {
  border-color: rgba(255, 255, 255, .92);
  box-shadow:
    0 18px 42px rgba(0, 229, 255, .24),
    0 0 0 5px rgba(216, 255, 0, .14),
    inset 0 1px 0 rgba(255, 255, 255, .58);
  filter: saturate(1.08);
  outline: none;
  transform: translateY(-2px);
}

.extension-install-button:hover::after,
.extension-install-button:focus-visible::after {
  left: 118%;
}

@media (max-width: 760px) {
  .extension-install-button {
    min-width: 0;
    width: 100%;
    min-height: 54px;
    white-space: normal;
    text-align: center;
  }
}

.extension-install-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 255, 0, .14), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(255, 0, 220, .18), transparent 34%),
    linear-gradient(145deg, #080912, #111725 52%, #070914);
}

.extension-install-shell {
  width: min(980px, 100%);
}

.extension-install-card {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(216, 255, 0, .28);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)),
    rgba(8, 10, 18, .86);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .42);
}

.extension-install-card img {
  width: 150px;
  max-width: 45vw;
}

.extension-install-card h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: .9;
  text-transform: uppercase;
}

.extension-lede,
.extension-steps {
  max-width: 720px;
  color: rgba(245, 247, 255, .78);
  font-size: 1.08rem;
  line-height: 1.55;
}

.extension-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.extension-actions .primary-button,
.extension-actions .secondary-button {
  min-height: 56px;
  padding: 0 24px;
  text-decoration: none;
}

.extension-steps {
  margin: 0;
  padding-left: 24px;
}

/* Dashboard polish: cleaner logged-in spacing and saved-city cards */
.dashboard-grid {
  align-items: start;
}

.dashboard-grid > .panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 30px);
}

.dashboard-grid .section-heading {
  margin-bottom: 0;
}

.dashboard-grid .section-heading h3 {
  line-height: .95;
}

.dashboard-grid .section-heading p {
  max-width: 58ch;
  margin-top: 8px;
}

.dashboard-grid .supabase-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(0, 0, 0, .18);
}

.dashboard-grid .supabase-form textarea,
.dashboard-grid .supabase-form button {
  grid-column: 1 / -1;
}

.dashboard-grid .supabase-form input,
.dashboard-grid .supabase-form textarea,
.dashboard-grid .supabase-form select {
  min-width: 0;
}

.dashboard-list {
  gap: 12px;
  margin-top: 0;
}

.dashboard-item,
.dashboard-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 16px;
}

.dashboard-item h4 {
  font-size: 1.08rem;
  line-height: 1.08;
}

.danger-action {
  border-color: rgba(255, 100, 130, .5);
  color: #ff8da4;
}

.select-all-control,
.dashboard-item-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.select-all-control input,
.dashboard-item-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--lime);
}

.dashboard-bulk-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dashboard-bulk-toolbar span {
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 900px) {
  .bulk-show-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bulk-show-buttons {
    grid-template-columns: 1fr;
  }
}

.dashboard-item p {
  margin-top: 6px;
}

.dashboard-actions {
  justify-content: end;
}

@media (max-width: 760px) {
  .dashboard-grid .supabase-form,
  .dashboard-item,
  .dashboard-empty {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    justify-content: stretch;
  }

  .dashboard-actions .mini-button {
    width: 100%;
  }
}

.show-date-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 8px;
  color: var(--lime);
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  font-weight: 1000;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.city-grid .show-date-divider,
.public-city-grid .show-date-divider {
  grid-column: 1 / -1;
  margin-top: 34px;
  margin-bottom: 10px;
}

.show-date-divider:first-child {
  margin-top: 2px;
}

.show-date-divider span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(216, 255, 0, .34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(216, 255, 0, .14), rgba(0, 229, 255, .05)),
    rgba(0, 0, 0, .18);
  box-shadow: 0 0 28px rgba(216, 255, 0, .08);
  white-space: nowrap;
}

.show-date-divider i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 255, 0, .36), rgba(255, 255, 255, .06), transparent);
}

@media (max-width: 760px) {
  .show-date-divider {
    gap: 10px;
    margin: 18px 0 8px;
    font-size: 1rem;
  }

  .show-date-divider span {
    min-height: 32px;
    padding: 0 12px;
  }
}

/* Logged-in product dashboard */
.product-dashboard {
  display: grid;
  gap: 22px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.dashboard-hero h3 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .9;
  text-transform: uppercase;
}

.dashboard-hero p {
  max-width: 760px;
}

.dashboard-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  min-width: min(420px, 100%);
}

.dashboard-quick-actions .primary-button,
.dashboard-quick-actions .secondary-button {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  white-space: nowrap;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-stat-card {
  min-height: 130px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(216, 255, 0, .14), transparent 38%),
    linear-gradient(145deg, rgba(15, 19, 30, .92), rgba(6, 8, 14, .88));
  box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
}

.dashboard-stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-stat-card strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: .86;
}

.dashboard-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-section-wide {
  grid-column: 1 / -1;
}

.dashboard-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.dashboard-tabs .mini-button {
  border-radius: 999px;
}

.dashboard-tabs .mini-button.active {
  color: #050805;
  background: var(--lime);
  border-color: var(--lime);
}

.dashboard-inline-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.dashboard-inline-form textarea,
.dashboard-inline-form button {
  grid-column: 1 / -1;
}

.dashboard-inline-form.notes-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.dashboard-product-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(7, 11, 20, .58);
}

.dashboard-product-item.compact {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}

.dashboard-product-item h4 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.dashboard-product-item p {
  margin: 7px 0 0;
  color: var(--muted);
}

.dashboard-product-item a {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 1000;
  white-space: nowrap;
}

.dashboard-status-pill.ready {
  color: var(--lime);
  border-color: rgba(216, 255, 0, .5);
}

.dashboard-status-pill.warn {
  color: #ffd64a;
  border-color: rgba(255, 214, 74, .55);
}

.followup-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .dashboard-hero,
  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .dashboard-hero {
    gap: 18px;
  }

  .dashboard-quick-actions,
  .dashboard-stat-grid,
  .dashboard-inline-form,
  .dashboard-inline-form.notes-form,
  .followup-split {
    grid-template-columns: 1fr;
  }

  .dashboard-section-heading,
  .dashboard-product-item,
  .dashboard-product-item.compact {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .dashboard-tabs,
  .dashboard-actions {
    width: 100%;
  }

  .dashboard-tabs .mini-button,
  .dashboard-actions .mini-button {
    flex: 1;
  }
}

/* Login polish: keep account screens focused and near the top. */
body[data-view="login"] .primary-actions,
body[data-view="login"] .ecosystem-strip,
body[data-view="login"] .source-panel,
body[data-view="login"] .source-message,
body[data-view="signup"] .primary-actions,
body[data-view="signup"] .ecosystem-strip,
body[data-view="signup"] .source-panel,
body[data-view="signup"] .source-message {
  display: none !important;
}

body[data-view="login"] .app-shell,
body[data-view="signup"] .app-shell {
  gap: clamp(18px, 2vw, 28px);
}

body[data-view="login"] .topbar,
body[data-view="signup"] .topbar {
  min-height: auto;
  margin-bottom: 0;
  padding-bottom: clamp(12px, 2vw, 20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body[data-view="login"] .toolbar,
body[data-view="signup"] .toolbar {
  display: none;
}

body[data-view="login"] .topbar h2,
body[data-view="signup"] .topbar h2 {
  max-width: 980px;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .82;
}

#loginView.active,
#signupView.active {
  display: grid;
  align-items: start;
  padding-top: 0;
}

#loginView .login-page,
#signupView .login-page {
  position: relative;
  overflow: hidden;
  width: min(960px, 100%);
  margin: 0;
  padding: clamp(24px, 4vw, 48px);
  border-color: rgba(216, 255, 0, .24);
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(circle at 14% 0%, rgba(216, 255, 0, .14), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(255, 53, 210, .16), transparent 34%),
    linear-gradient(145deg, rgba(16, 20, 32, .94), rgba(5, 8, 14, .92));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(255, 255, 255, .04) inset;
}

#loginView .login-page::before,
#signupView .login-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--pink));
  opacity: .95;
}

#loginView .login-page .section-heading,
#signupView .login-page .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: 760px;
}

#loginView .login-page .section-heading .eyebrow,
#signupView .login-page .section-heading .eyebrow {
  grid-row: auto;
  margin-bottom: 4px;
}

#loginView .login-page .section-heading h3,
#signupView .login-page .section-heading h3 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: 0;
}

#loginView .login-page .section-heading p:not(.eyebrow),
#signupView .login-page .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

#loginView .login-page-form,
#signupView .login-page-form {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: clamp(20px, 3vw, 34px);
}

#loginView .login-page-form input,
#signupView .login-page-form input {
  width: 100%;
  min-height: 68px;
  padding: 0 22px;
  border-radius: 18px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0;
}

#loginView .login-page .auth-actions,
#signupView .login-page .auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: 2px;
}

#loginView .login-page .auth-actions button,
#signupView .login-page .auth-actions button {
  min-height: 60px;
  border-radius: 16px;
  font-size: .98rem;
  line-height: 1.05;
  white-space: normal;
}

#loginPageStatus,
#signupPageStatus {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
}

@media (max-width: 760px) {
  body[data-view="login"] .app-shell,
  body[data-view="signup"] .app-shell {
    padding-top: 18px;
  }

  body[data-view="login"] .topbar h2,
  body[data-view="signup"] .topbar h2 {
    font-size: clamp(3rem, 18vw, 5.4rem);
  }

  #loginView .login-page,
  #signupView .login-page {
    width: 100%;
    padding: 24px;
    border-radius: 26px;
  }

  #loginView .login-page .auth-actions,
  #signupView .login-page .auth-actions {
    grid-template-columns: 1fr;
  }
}

/* locked-v14-brand-fix: keep the winning Chrome/dropdown build and clean the sidebar lockup */
.brand {
  display: grid !important;
  grid-template-columns: 1fr !important;
  place-items: center !important;
  gap: 0 !important;
  width: 100%;
  min-height: 0 !important;
  margin: 0 0 22px !important;
  padding: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(217, 255, 0, .52) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 36% 22%, rgba(217, 255, 0, .16), transparent 30%),
    radial-gradient(circle at 68% 42%, rgba(190, 48, 255, .14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)),
    rgba(3, 5, 12, .96) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .035) inset,
    0 0 28px rgba(217, 255, 0, .12),
    0 18px 44px rgba(0, 0, 0, .38) !important;
}

.brand-logo {
  display: block !important;
  width: min(226px, 100%) !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1 !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 16px !important;
  background: #010203 !important;
  filter: saturate(1.1) contrast(1.05) drop-shadow(0 0 18px rgba(217, 255, 0, .12)) !important;
}

.brand > div {
  display: none !important;
}

@media (max-width: 1100px) {
  .brand {
    width: min(224px, 100%) !important;
    margin: 0 auto 14px !important;
    padding: 12px !important;
  }

  .brand-logo {
    width: min(184px, 100%) !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 760px) {
  .brand {
    width: min(176px, 100%) !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .brand-logo {
    width: min(144px, 100%) !important;
    border-radius: 12px !important;
  }
}

/* v15-submit-dropdown-reset: forgot-password path and Submit Everywhere persistence */
.auth-link-button {
  justify-self: start;
  min-height: 0;
  margin-top: -2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lime);
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-link-button:hover,
.auth-link-button:focus-visible {
  color: var(--cyan);
  box-shadow: none;
}

body[data-view="resetPassword"] .primary-actions,
body[data-view="resetPassword"] .ecosystem-strip,
body[data-view="resetPassword"] .source-panel,
body[data-view="resetPassword"] .source-message {
  display: none !important;
}

body[data-view="resetPassword"] .app-shell {
  gap: clamp(18px, 2vw, 28px);
}

body[data-view="resetPassword"] .topbar {
  min-height: auto;
  margin-bottom: 0;
  padding-bottom: clamp(12px, 2vw, 20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body[data-view="resetPassword"] .toolbar {
  display: none;
}

body[data-view="resetPassword"] .topbar h2 {
  max-width: 980px;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .82;
}

#resetPasswordView.active {
  display: grid;
  align-items: start;
  padding-top: 0;
}

#resetPasswordView .login-page {
  position: relative;
  overflow: hidden;
  width: min(960px, 100%);
  margin: 0;
  padding: clamp(24px, 4vw, 48px);
  border-color: rgba(216, 255, 0, .24);
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(circle at 14% 0%, rgba(216, 255, 0, .14), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(255, 53, 210, .16), transparent 34%),
    linear-gradient(145deg, rgba(16, 20, 32, .94), rgba(5, 8, 14, .92));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(255, 255, 255, .04) inset;
}

#resetPasswordView .login-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--pink));
  opacity: .95;
}

#resetPasswordView .login-page .section-heading,
#resetPasswordView .login-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  max-width: 760px;
}

#resetPasswordView .login-page .section-heading {
  gap: 8px;
}

#resetPasswordView .login-page .section-heading .eyebrow {
  margin-bottom: 4px;
}

#resetPasswordView .login-page .section-heading h3 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: 0;
}

#resetPasswordView .login-page .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

#resetPasswordView .login-page-form {
  margin-top: clamp(20px, 3vw, 34px);
}

#resetPasswordView .login-page-form input {
  width: 100%;
  min-height: 68px;
  padding: 0 22px;
  border-radius: 18px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0;
}

#resetPasswordView .login-page .auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: 2px;
}

#resetPasswordView .login-page .auth-actions button {
  min-height: 60px;
  border-radius: 16px;
  font-size: .98rem;
  line-height: 1.05;
  white-space: normal;
}

#resetPasswordStatus {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
}

@media (max-width: 760px) {
  body[data-view="resetPassword"] .app-shell {
    padding-top: 18px;
  }

  body[data-view="resetPassword"] .topbar h2 {
    font-size: clamp(3rem, 18vw, 5.4rem);
  }

  #resetPasswordView .login-page {
    width: 100%;
    padding: 24px;
    border-radius: 26px;
  }

  #resetPasswordView .login-page .auth-actions {
    grid-template-columns: 1fr;
  }
}
