:root {
  --ink: #0c0f14;
  --panel: #141a22;
  --card: #1b222c;
  --line: #2a3340;
  --text: #e8edf4;
  --mute: #93a0b3;
  --gold: #e4a44a;
  --gold-dim: #8a6424;
  --live: #3dbeb3;
  --danger: #d4676a;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.45 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.app {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(12, 15, 20, 0.92);
  border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: baseline; gap: 8px; min-width: 168px; }
.mark span { color: var(--gold); font-size: 13px; }
.search {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  outline: none;
}
.city { color: var(--mute); font-size: 13px; white-space: nowrap; }
.shell { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 16px 16px 88px; }
@media (min-width: 960px) {
  .shell { grid-template-columns: 1fr 320px; }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.hero {
  min-height: 120px;
  display: grid;
  place-items: end start;
  padding: 14px;
  background: var(--hero, #243044);
}
.body, .venue-head { padding: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip {
  background: #243041;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
}
.chip.gold { color: var(--gold); }
.chip.live { color: var(--live); }
.rule { color: var(--mute); font-size: 14px; }
.rule.tight { border: 0; margin: 8px 2px 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn, .btn.ghost {
  border: 0;
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--gold);
  color: #1a1206;
  font-weight: 700;
}
.btn.ghost { background: #243041; color: var(--text); }
.view { display: none; }
.view.on { display: block; }
.feed { display: grid; gap: 12px; }
.list .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.names, .hint { color: var(--mute); font-size: 14px; }
.warn { color: var(--danger); font-size: 13px; min-height: 1.2em; padding: 0 14px; }
textarea.note {
  width: calc(100% - 28px);
  margin: 0 14px 8px;
  min-height: 72px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  resize: vertical;
}
.hint { padding: 0 14px 10px; }
.cam {
  height: 168px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(90deg, #1a2430 0 12px, #16202a 12px 24px);
  color: var(--live);
  letter-spacing: 0.08em;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.cam.live { color: #7ee0a3; }
.home { border-color: var(--gold-dim); }
.tabs {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #10151c;
  border-top: 1px solid var(--line);
}
.tabs button {
  background: transparent;
  border: 0;
  padding: 14px 8px;
  color: var(--mute);
}
.tabs button.on { color: var(--gold); }
h2 { margin: 0 0 8px; font-size: 1.15rem; }
p { margin: 0 0 8px; }
