:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --ink: #f6f7f2;
  --muted: #b7c0bc;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(19, 25, 31, 0.92);
  --panel-strong: #141b21;
  --gold: #f2c14e;
  --sea: #35c3b4;
  --red: #ff5f57;
  --border: rgba(255, 255, 255, 0.16);
  --surface: #141b21;
  --accent: #f2c14e;
  --ink-secondary: #b7c0bc;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, 0.18), #0b0f14 76%),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=2400&q=82") center top / cover fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(3, 6, 9, 0.42);
}

body.app-body {
  background:
    linear-gradient(180deg, rgba(5, 9, 12, 0.72), #0b0f14 68%),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=2400&q=82") center top / cover fixed;
}

a {
  color: inherit;
}

.home-shell,
.owner-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 46px 0 64px;
}

.home-hero > div {
  width: min(800px, 100%);
}

.hero-logo {
  display: block;
  width: clamp(210px, 28vw, 340px);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.62));
}

.brand-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(58px, 9vw, 128px);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.65);
}

.owner-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 42px 0;
}

.brand-link {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #f7d86d;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.48;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 700px;
}

.proof-strip span,
.proof-strip a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(10, 16, 19, 0.68);
  color: #eaf1ee;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
}

.button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #151108;
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.button.compact-button {
  min-height: 42px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.signup-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.panel-heading {
  margin-bottom: 20px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #dde5e1;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 13px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(53, 195, 180, 0.18);
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 13px) 52% / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.08);
}

/* The open dropdown list: options inherit the light --ink text and land on the
   OS's default white popup, rendering invisible. Force readable dark-on-white
   so every option shows on all browsers (this was hiding the bar-type and
   camera-count choices at signup). */
select option,
select optgroup {
  color: #16110a;
  background-color: #ffffff;
}

textarea {
  resize: vertical;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.35;
}

.nfl-teams-section {
  margin: 4px 0 16px;
}

.nfl-division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px 16px;
  margin-top: 12px;
}

.nfl-division {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nfl-division-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 4px;
}

.nfl-division label {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nfl-division input[type="checkbox"] {
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.signup-agreements {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 20px 4px;
  margin: 24px 0 8px;
  display: flex;
  flex-direction: column;
}

.signup-agreements .check-row {
  margin: 0 0 16px;
}

.signup-agreements a {
  color: var(--gold);
  text-underline-offset: 3px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.choice-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 4px 0 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.choice-group legend {
  padding: 0 6px;
  color: #dde5e1;
  font-size: 13px;
  font-weight: 850;
}

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

.choice-grid label {
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
}

.choice-grid input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--gold);
}

.payment-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 20px 0 16px;
  padding: 18px;
  background: rgba(4, 8, 12, 0.42);
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading h2 {
  font-size: 22px;
}

.pricing-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.pricing-card {
  grid-template-columns: 18px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.pricing-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(242, 193, 78, 0.14);
}

.pricing-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--gold);
}

.pricing-card strong,
.pricing-card small {
  display: block;
}

.pricing-card strong {
  color: var(--ink);
  font-size: 15px;
}

.pricing-card strong em {
  display: inline-block;
  color: var(--gold);
  font-style: normal;
}

.pricing-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.billing-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.billing-link-grid .button {
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
}

.single-billing-action {
  grid-template-columns: minmax(0, 220px);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.price-note {
  border-left: 3px solid var(--gold);
  margin: 0 0 14px;
  padding: 2px 0 2px 12px;
}

.price-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cart-step {
  border-top: 1px solid var(--line);
  padding: 16px 0 4px;
}

.cart-step:first-of-type {
  border-top: none;
  padding-top: 0;
}

.cart-step-label {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.cart-step-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cart-optional {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.qty-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.qty-info strong {
  color: var(--ink);
  font-size: 14px;
}

.qty-info span {
  color: var(--muted);
  font-size: 13px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.qty-display {
  min-width: 28px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.push-radius-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.push-radius-card {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.push-radius-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(242, 193, 78, 0.14);
}

.push-radius-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--gold);
}

.push-radius-card strong,
.push-radius-card small {
  display: block;
}

.push-radius-card strong {
  color: var(--ink);
  font-size: 14px;
}

.push-radius-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.push-qty-row {
  margin-top: 10px;
}

.cart-summary {
  border: 1px solid var(--gold);
  border-radius: 8px;
  margin: 18px 0 14px;
  padding: 14px 16px;
  background: rgba(242, 193, 78, 0.07);
}

.cart-summary-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-lines {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.cart-line span:last-child {
  flex-shrink: 0;
  color: var(--muted);
}

.cart-totals {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
}

.cart-total-row span {
  color: var(--muted);
}

.cart-total-row strong {
  color: var(--gold);
  font-size: 16px;
}

.band-scheduler-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label-only {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.band-entry-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 24px;
}

.band-empty {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  padding: 6px 0;
}

.band-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.band-entry-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.band-entry-info strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.band-entry-info span {
  font-size: 12px;
  color: var(--muted);
}

.band-add-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.20);
}

.band-scheduler-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.time-entry {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.time-entry input[type="number"] {
  width: 52px;
  text-align: center;
  padding: 8px 4px;
  -moz-appearance: textfield;
}

.time-entry input[type="number"]::-webkit-inner-spin-button,
.time-entry input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.time-sep {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.time-entry select {
  flex: 1;
}

.time-entry select[data-band-start-h],
.time-entry select[data-band-end-h] {
  width: 56px;
  flex: none;
}

.time-entry select[data-band-start-m],
.time-entry select[data-band-end-m] {
  width: 62px;
  flex: none;
}

.file-upload-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.file-drop-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--surface);
}

.file-drop-zone.drag-over {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.file-drop-zone p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-secondary);
}

.file-drop-hint {
  margin-top: 6px !important;
  font-size: 13px !important;
}

.file-upload-note {
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 0;
}

.field-hint {
  font-size: 12px;
  color: var(--ink-secondary);
  margin: 4px 0 0;
}

.menu-image-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.menu-image-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.menu-image-header .field-label-only {
  margin: 0;
}

.menu-image-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-image-chip {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

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

.menu-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-image-remove:hover {
  background: #c0392b;
}

.menu-pdf-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.menu-pdf-row input {
  flex: 1;
}

.menu-pdf-clear {
  flex: 0 0 auto;
  width: 32px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
}

.menu-pdf-clear:hover {
  background: #c0392b;
  color: #fff;
}

.menu-image-empty {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.form-status[data-tone="success"] {
  color: #75f0c5;
}

.form-status[data-tone="error"] {
  color: #ff928c;
}

.card-save-status {
  margin-top: 10px;
}

.content-page,
.admin-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.text-panel {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.text-panel h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.text-panel h2 {
  margin-top: 34px;
}

.text-panel p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.hidden {
  display: none !important;
}

.brand-link.compact {
  margin-bottom: 18px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin-bottom: 0;
  font-size: clamp(40px, 6vw, 70px);
}

.admin-login {
  max-width: 520px;
}

.admin-action-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.admin-dashboard-page {
  width: min(1120px, calc(100% - 32px));
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.admin-tool-card {
  display: grid;
  gap: 10px;
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.admin-tool-card:hover {
  border-color: rgba(255, 198, 87, 0.76);
  box-shadow: 0 16px 34px rgba(37, 28, 14, 0.12);
  transform: translateY(-2px);
}

.admin-tool-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-tool-card strong {
  font-size: 24px;
  line-height: 1.1;
}

.admin-tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-tool-card.primary-tool {
  border-color: rgba(255, 198, 87, 0.76);
  background: linear-gradient(135deg, rgba(255, 198, 87, 0.18), rgba(255, 255, 255, 0.92));
}

.dashboard-quick-links {
  justify-content: flex-start;
}

.password-help-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: -8px 0 2px;
  width: 100%;
}

.password-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.password-row input {
  flex: 1;
}

.password-toggle {
  flex: 0 0 auto;
  width: 40px;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
  color: #555;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  background: rgba(0, 0, 0, 0.16);
  color: #222;
}

.password-toggle.is-active {
  background: rgba(0, 122, 255, 0.15);
  color: #007aff;
}

.camera-hours-block {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line, rgba(0,0,0,0.1));
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
}

/* Owner portal — camera order (rotate which camera shows first) */
.camera-order-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.camera-order-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line, rgba(0,0,0,0.1));
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
}

.camera-order-pos {
  flex: 0 0 auto;
  min-width: 78px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold, #c89339);
}

.camera-order-label {
  flex: 1 1 auto;
  font-weight: 700;
}

.camera-order-row .camera-order-up,
.camera-order-row .camera-order-down {
  flex: 0 0 auto;
  padding: 4px 10px;
}

.camera-order-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.camera-hours-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

.camera-hours-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.camera-hours-row {
  margin-top: 10px;
}

.camera-hours-row select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.camera-hours-note {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.7;
}

.per-camera-hours {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--line, rgba(0,0,0,0.15));
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
}

.per-camera-hours .camera-hours-toggle {
  font-weight: 500;
}

.per-camera-hours .camera-hours-row {
  margin-top: 8px;
}

.per-camera-hours-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.save-per-camera-hours-status {
  font-size: 13px;
}

.save-per-camera-hours-status[data-tone="success"] { color: #2ea043; }
.save-per-camera-hours-status[data-tone="error"]   { color: #d24545; }

.boost-package-group {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.boost-package-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 6px;
  width: 100%;
}

.boost-package-card {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.boost-package-card:hover {
  border-color: rgba(255, 191, 0, 0.6);
}

.boost-package-card:has(input:checked) {
  border-color: #ffbf00;
  background: rgba(255, 191, 0, 0.08);
}

.boost-package-card input[type="radio"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.boost-package-body {
  min-width: 0;
  overflow: hidden;
}

.boost-package-title {
  margin: 0 0 4px 0;
  font-size: 15px;
}

.boost-package-price {
  margin-left: 6px;
  color: #ffbf00;
  font-weight: 700;
}

.boost-package-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
  word-wrap: break-word;
}

.push-credit-notice {
  margin: 8px 0 14px;
  padding: 12px 14px;
  border: 1px solid #ffbf00;
  background: rgba(255, 191, 0, 0.08);
  border-radius: 10px;
}

.push-credit-notice label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
}

.push-credit-notice input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.stream-hours {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--line, rgba(0,0,0,0.15));
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
}

.stream-hours-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.stream-hours-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.stream-hours-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
}

.stream-hours-row label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.stream-hours-selects {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.stream-hours-selects > select {
  display: inline-block;
  width: auto;
  min-width: 64px;
}

.stream-hours-row select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.stream-hours-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.save-camera-hours-status {
  font-size: 13px;
}

.save-camera-hours-status[data-tone="success"] { color: #2ea043; }
.save-camera-hours-status[data-tone="error"]   { color: #d24545; }

.admin-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.requests-panel {
  display: grid;
  gap: 18px;
}

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

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

.request-list {
  display: grid;
  gap: 14px;
}

.signup-section {
  display: grid;
  gap: 14px;
}

.signup-section + .signup-section {
  margin-top: 32px;
}

.signup-section-heading {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 4px;
}

.signup-section-count {
  color: var(--muted);
  font-weight: 700;
}

.approved-section .signup-section-heading {
  color: var(--gold);
}

.request-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
}

.request-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.request-card-header h2 {
  margin-bottom: 8px;
}

.request-card-header p,
.request-date,
.request-notes {
  color: var(--muted);
}

.request-date {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
}

.request-card-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex: 0 0 auto;
}

.request-card-meta .stream-code-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stream-code-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #16110a;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 8px 10px;
}

.stream-code-button:hover {
  border-color: var(--gold);
}

.stream-code-copy-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 4px;
}

.stream-code-camera-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(212, 168, 75, 0.18);
  color: var(--gold, #c89339);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stream-code-value {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(28, 22, 14, 0.28);
  border-radius: 8px;
  background: #ffffff;
  color: #16110a;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
  padding: 8px 10px;
}

.stream-code-copy-button {
  border: 1px solid rgba(28, 22, 14, 0.28);
  border-radius: 8px;
  background: #16110a;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 10px;
}

.stream-code-copy-button:hover {
  background: #3a2c16;
}

/* Active-bars card: per-bar stream code list */
.bar-stream-codes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-stream-code-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bar-stream-code-row code {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(28, 22, 14, 0.07);
}

.bar-stream-code-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold, #c89339);
}

.bar-stream-code-row .copy-stream-code-button {
  padding: 3px 10px;
  font-size: 12px;
}

.bar-stream-code-empty {
  color: rgba(28, 22, 14, 0.5);
  font-style: italic;
}

.request-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.request-details div {
  min-width: 0;
}

.request-details dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.request-details dd {
  margin: 4px 0 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.request-notes {
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 14px;
  line-height: 1.55;
}

.map-pin-check {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto repeat(2, minmax(130px, 160px));
  align-items: end;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.map-pin-check p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.map-pin-check code {
  color: var(--ink);
  font-weight: 900;
}

.map-pin-check label {
  display: grid;
  gap: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-pin-check input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 9px 10px;
}

.map-address-field {
  grid-column: 1 / -1;
}

.pin-preview-map {
  grid-column: 1 / -1;
  height: 340px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: height 0.2s ease;
}

.pin-preview-map.expanded {
  height: min(80vh, 800px);
}

.pin-map-size-button {
  background: rgba(212, 168, 75, 0.18);
  color: var(--gold, #c89339);
  border: 1px solid rgba(212, 168, 75, 0.45);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pin-map-size-button:hover {
  background: rgba(212, 168, 75, 0.3);
}

.pin-confirm-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pin-confirm-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: var(--ink) !important;
}

.pin-confirm-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  min-width: unset;
  border: 1px solid var(--line);
  border-radius: 4px;
  accent-color: var(--sea);
}

.verify-pin-link.pin-link-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.push-message-preview {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.push-message-preview h3,
.push-message-preview p {
  margin: 0;
}

.push-preview-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.analytics-metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
}

.analytics-metric-card span,
.analytics-metric-card strong {
  display: block;
}

.analytics-metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-metric-card strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 950;
}

.analytics-row h2 {
  margin-bottom: 4px;
}

.owner-portal-page .lead {
  max-width: 720px;
}

.owner-editor-list {
  display: grid;
  gap: 18px;
}

.owner-editor-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
}

.owner-views-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.owner-views-section h3 {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.owner-views-label {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-edit-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.owner-edit-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.owner-edit-section h3 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.billing-section {
  display: grid;
  gap: 10px;
}

.billing-status {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  text-transform: capitalize;
}

.billing-copy,
.billing-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.button.danger {
  background: var(--red);
  color: #fff;
}

.owner-danger-zone {
  border: 1px solid rgba(255, 95, 87, 0.4);
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0 16px;
  display: grid;
  gap: 12px;
}

.owner-danger-zone h3 {
  font-size: 1rem;
  color: var(--red);
  margin: 0;
}

.danger-zone-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.stream-editor {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.owner-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 0 48px;
}

.owner-feature {
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
  background: transparent;
}

.owner-feature h2 {
  font-size: 24px;
}

.owner-feature ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.web-app-shell {
  width: min(1380px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  background: rgba(11, 15, 20, 0.86);
  backdrop-filter: blur(18px);
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.app-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.app-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.app-nav a {
  text-decoration: none;
}

.app-nav .nav-cta,
.site-footer .footer-cta,
.signup-cta-button {
  border-radius: 999px;
  padding: 7px 11px;
  background: #ff2f25 !important;
  color: #fff8f6 !important;
  box-shadow: 0 0 0 0 rgba(255, 95, 87, 0.56);
  animation: signupPulse 2.8s ease-in-out infinite;
}

.app-nav .nav-cta:hover,
.site-footer .footer-cta:hover,
.signup-cta-button:hover {
  background: #ff5f57 !important;
  color: #fff !important;
}

.signup-title-cta {
  color: #ff8e87;
}

.signup-submit-cta {
  background: #ff5f57 !important;
  color: #fff8f6 !important;
  box-shadow: 0 0 0 0 rgba(255, 95, 87, 0.56);
  animation: signupPulse 2.8s ease-in-out infinite;
}

@keyframes signupPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 95, 87, 0.5);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(255, 95, 87, 0);
  }
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 520px);
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 4vw, 54px) 0 22px;
}

.app-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(40px, 6vw, 76px);
}

.hero-command-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.app-signal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(10, 16, 19, 0.72);
}

.hero-stat {
  flex: 1 1 100%;
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
  padding-bottom: 12px;
}

.hero-stat strong {
  color: var(--gold);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.95;
}

.hero-stat span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.feature-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(10, 16, 19, 0.74);
  color: #eaf1ee;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.discovery-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.directory-panel,
.map-panel,
.venue-shell,
.empty-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 19, 24, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.directory-panel {
  display: grid;
  grid-template-rows: auto auto minmax(300px, 1fr);
  min-height: 680px;
  padding: 16px;
}

.toolbar-stack {
  display: grid;
  gap: 12px;
}

.search-field {
  margin: 0;
}

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

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.filter-chip.active {
  border-color: var(--gold);
  background: rgba(242, 193, 78, 0.16);
  color: #ffe9a3;
}

.app-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.app-status[data-tone="success"] {
  color: #75f0c5;
}

.app-status[data-tone="error"] {
  color: #ff928c;
}

.directory-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.directory-summary h2 {
  margin: 0;
  font-size: 24px;
}

.directory-summary span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.bar-list {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 510px;
  overflow: auto;
  padding: 2px 2px 0;
}

.bar-card {
  display: grid;
  gap: 7px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bar-card.selected,
.bar-card:hover {
  border-color: var(--gold);
  background: rgba(242, 193, 78, 0.13);
}

.bar-card.boosted {
  border-color: rgba(242, 193, 78, 0.74);
  background: linear-gradient(135deg, rgba(242, 193, 78, 0.18), rgba(255, 255, 255, 0.055));
}

.bar-card-top,
.bar-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bar-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.bar-card strong {
  font-size: 16px;
}

.bar-card em {
  align-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(53, 195, 180, 0.18);
  color: #75f0e5;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.bar-card em.vibe-packed {
  background: rgba(255, 92, 56, 0.2);
  color: #ff8a6b;
}

.bar-card em.vibe-busy {
  background: rgba(247, 181, 0, 0.18);
  color: #ffd166;
}

.bar-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.bar-card-meta b {
  color: var(--ink);
  white-space: nowrap;
}

.empty-list {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
}

.empty-list strong {
  color: var(--ink);
}

.map-panel {
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr);
  gap: 12px;
  min-height: 680px;
  overflow: hidden;
  padding: 12px;
}

.bar-map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 8px;
  background: #162026;
}

.leaflet-container {
  background: #162026;
  color: #102027;
  font-family: inherit;
}

.map-fallback {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.live-preview {
  display: grid;
  gap: 12px;
  min-height: 320px;
}

.live-empty,
.live-link-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(4, 8, 12, 0.46);
}

.live-empty h2 {
  margin-bottom: 8px;
}

.live-empty p,
.live-link-panel p,
.live-preview-header p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.live-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(4, 8, 12, 0.46);
}

.live-preview-header h2 {
  margin-bottom: 5px;
  font-size: clamp(24px, 4vw, 36px);
}

.live-player-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  background: #05080b;
}

.live-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05080b;
}

.stream-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stream-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(4, 8, 12, 0.72);
}

.stream-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.stream-tab.active {
  border-color: var(--sea);
  background: rgba(53, 195, 180, 0.16);
  color: #92fff2;
}

.watching-now {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  min-width: 118px;
}

.watching-now strong,
.watching-now span {
  display: block;
}

.watching-now strong {
  color: var(--sea);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.watching-now span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.venue-detail {
  scroll-margin-top: 78px;
  margin-top: 18px;
}

.empty-detail,
.venue-shell {
  padding: clamp(18px, 3vw, 28px);
}

.empty-detail p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

.venue-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
}

.venue-main h2 {
  margin-bottom: 8px;
  font-size: clamp(32px, 5vw, 58px);
}

.venue-main p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.58;
}

.venue-location {
  color: var(--gold) !important;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: #eaf1ee;
  font-size: 12px;
  font-weight: 900;
}

.venue-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: start;
  gap: 10px;
}

.detail-section {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.detail-section h3,
.social-column h4 {
  margin: 0 0 14px;
  font-size: 20px;
}

.menu-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.45fr);
  gap: 16px;
  border: 1px solid rgba(242, 193, 78, 0.32);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(242, 193, 78, 0.12), rgba(53, 195, 180, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.menu-showcase-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.menu-showcase-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.menu-showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.menu-showcase-copy .button {
  justify-self: start;
  margin-top: 4px;
}

.menu-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: start;
}

.menu-photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 0;
  background: #05080b;
  cursor: pointer;
  transition: opacity 0.15s;
}

.menu-photo-card:hover {
  opacity: 0.82;
}

.menu-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.photo-lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 2;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 38px;
  line-height: 1;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  position: fixed;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}


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

.social-column,
.info-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.muted-copy {
  color: var(--muted);
}

.post-from-app {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(242, 193, 78, 0.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.info-row {
  padding: 13px;
}

.info-row dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.info-row dd {
  margin: 5px 0 0;
  color: var(--ink);
  line-height: 1.4;
}

.social-column {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
}

.social-item {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.social-item strong {
  color: var(--gold);
  font-size: 13px;
}

.social-item span {
  color: var(--ink);
  line-height: 1.45;
}

.social-item small {
  color: var(--muted);
}

.mini-form {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 12px;
}

.mini-form input,
.mini-form select,
.mini-form textarea {
  padding: 10px;
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }

  .app-hero,
  .discovery-grid,
  .owner-hero,
  .owner-band {
    grid-template-columns: 1fr;
  }

  .app-actions {
    justify-content: flex-start;
  }

  .directory-panel,
  .map-panel {
    min-height: 520px;
  }

  .bar-map {
    min-height: 360px;
  }

  .live-preview,
  .live-empty,
  .live-link-panel {
    min-height: 280px;
  }

  .venue-shell {
    grid-template-columns: 1fr;
  }

  .venue-actions {
    justify-content: flex-start;
  }

  .stream-control-row {
    align-items: stretch;
    display: grid;
  }

  .watching-now {
    justify-items: start;
    min-width: 0;
  }

  .info-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .menu-showcase {
    grid-template-columns: 1fr;
  }

  .menu-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .owner-hero {
    align-items: start;
    padding: 28px 0;
  }

  .brand-link {
    margin-bottom: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .request-card-header,
  .admin-header,
  .panel-toolbar {
    display: grid;
  }

  .request-date {
    flex: auto;
  }

  .request-details {
    grid-template-columns: 1fr;
  }

  .map-pin-check {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .web-app-shell,
  .home-shell,
  .owner-page {
    width: min(100% - 22px, 1180px);
  }

  .app-topbar {
    position: static;
    display: grid;
  }

  .app-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 34px;
  }

  .brand-title {
    font-size: 56px;
  }

  .hero-logo {
    width: 200px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .signup-panel {
    padding: 18px;
  }
}

/* --- All-reviews modal (full-screen scrollable list, mirrors photo-lightbox) --- */
.reviews-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.reviews-modal.open {
  display: flex;
}

.reviews-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.reviews-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(94vw, 640px);
  max-height: 86vh;
  background: var(--panel-strong, #11161d);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.reviews-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.reviews-modal-title {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}

.reviews-modal-close {
  flex: none;
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.reviews-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.reviews-modal-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px 22px;
  display: grid;
  gap: 12px;
}

.review-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.review-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
}

.review-author {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.review-comment {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}
