:root {
  --bg: #08111c;
  --panel: #0e1b2d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #93a6bd;
  --gold: #d7b056;
  --blue: #6ea8ff;
  --green: #3dcc9a;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

.verbar {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #050a12;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.verbar a.on { color: var(--gold); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 22px;
  background: rgba(8, 17, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.word { font-size: 13px; letter-spacing: 0.18em; color: var(--muted); }
.word em { font-style: normal; color: var(--text); margin-left: 8px; }
.amp-mini {
  margin-left: auto;
  margin-right: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.amp-mini b { color: #2dd4bf; font-weight: 700; }

.langs {
  display: flex;
  background: #0a1524;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.langs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-width: 44px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.langs button.on { background: #17304d; color: #fff; }

.rail { overflow: hidden; height: 40px; background: #050a12; border-bottom: 1px solid var(--line); }
.rail-track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: slide 50s linear infinite;
  padding: 11px 0;
  font-size: 12px;
  color: var(--muted);
}
.rail-track b { color: var(--gold); margin-right: 8px; }
@keyframes slide { to { transform: translateX(-50%); } }

header { text-align: center; padding: 48px 20px 8px; }
header h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 84px);
  margin: 0;
  letter-spacing: 0.035em;
  line-height: 0.95;
}
.monitor {
  margin: 12px 0 26px;
  letter-spacing: 0.5em;
  font-size: 13px;
  color: var(--muted);
}
.monitor:before, .monitor:after {
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  background: var(--line);
  margin: 0 12px;
  vertical-align: middle;
}
.brands { display: flex; justify-content: center; align-items: center; gap: 28px; }
.brands strong { display: block; font-family: var(--serif); font-size: 26px; }
.brands span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.brands-div { width: 1px; height: 40px; background: var(--line); }
.live { color: var(--green); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; margin: 22px 0 6px; }
.days { color: var(--muted); margin: 0; }

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 36px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpis article { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.kpis article:last-child { border-right: 0; }
.kpis b { display: block; font-family: var(--serif); font-size: 32px; color: var(--gold); }
.kpis article:nth-child(2) b, .kpis article:nth-child(4) b { color: var(--blue); }
.kpis span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }

main { width: min(1120px, calc(100% - 36px)); margin: 0 auto 64px; }
h2 { font-size: 14px; letter-spacing: 0.2em; margin: 44px 0 16px; }

.desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.countries {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.countries .c-wide { grid-column: span 2; }
.countries .c-half { grid-column: span 3; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 10px;
  min-height: 220px;
}
.panel-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.panel-head h3 { margin: 0; font-family: var(--serif); font-size: 24px; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.evt {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.evt:hover strong { color: var(--gold); }
.evt time { display: block; color: var(--gold); font-size: 11px; }
.evt strong { display: block; font-size: 15px; line-height: 1.35; font-weight: 600; margin-top: 3px; }
.evt .fine { display: block; margin-top: 3px; }
.evt-desc {
  display: none;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.evt.open .evt-desc { display: block; }
.thumb {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 6px;
  background: #15263d;
  object-fit: contain;
}
.thumb-fallback {
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.item-body { min-width: 0; }
.item time { display: block; color: var(--gold); font-size: 11px; }
.item .src { display: block; color: var(--muted); font-size: 11px; margin-top: 1px; }
.item strong { display: block; font-size: 15px; line-height: 1.35; font-weight: 600; margin-top: 3px; }
.empty { color: var(--muted); font-size: 13px; font-style: italic; }
.fine { color: var(--muted); font-size: 12px; line-height: 1.45; }
.count { background: #15263d; border-radius: 999px; padding: 2px 8px; font-size: 12px; color: var(--muted); }

.evt-form {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}
.evt-form input:nth-child(5) { grid-column: 1 / 5; }
.evt-form input, .evt-form select, .evt-form button {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.evt-form button { background: var(--gold); color: #1a1203; font-weight: 700; border: 0; cursor: pointer; }
.evt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.lead {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #101d30, #0b1624);
}
.lead-kicker { margin: 0 0 6px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; }
.lead h2 { margin: 0 0 8px; letter-spacing: 0; font-family: var(--serif); font-size: 32px; font-weight: 600; }
.lead-copy > p { margin: 0 0 16px; color: var(--muted); max-width: 36em; }
.lead-form { display: flex; gap: 8px; max-width: 480px; }
.lead-form input {
  flex: 1;
  background: #08111c;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.lead-form button {
  background: var(--gold);
  color: #1a1203;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.lead-qr { margin: 0; text-align: center; }
.lead-qr img { width: 168px; height: 168px; background: #fff; padding: 10px; border-radius: 12px; }
.lead-qr figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }

footer { text-align: center; color: var(--muted); font-size: 12px; padding: 28px 16px 40px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .kpis, .desks, .evt-cols, .lead { grid-template-columns: 1fr; }
  .countries { grid-template-columns: 1fr; }
  .countries .c-wide, .countries .c-half { grid-column: auto; }
  .evt-form { grid-template-columns: 1fr; }
  .evt-form input:nth-child(5) { grid-column: auto; }
  .kpis article { border-right: 0; border-bottom: 1px solid var(--line); }
}
