: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;
}

* {
  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;
}

.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;
}

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

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

.field-copy {
  min-height: 58px;
  display: grid;
  gap: 5px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft-ink);
  text-align: left;
}

.field-copy span {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-copy.copied {
  border-color: rgba(184, 255, 111, 0.68);
  box-shadow: 0 0 18px rgba(184, 255, 111, 0.18);
}

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

.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: 12px;
  align-items: center;
  color: #ffffff;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.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,
  .field-grid,
  .autofill-actions,
  .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,
  .field-grid,
  .autofill-actions,
  .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;
}

@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;
  }
}

@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;
  }
}
