:root {
  --bg: #0a0a0a;
  --line: #1f1f1f;
  --green: #1ed760;
  --yellow: #f5c518;
  --red: #e53935;
  --muted: #8a8a8a;
  --white: #ffffff;
  font-family: Rubik, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 12px; overflow-x: hidden; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(14px + env(safe-area-inset-top)) 16px 12px;
  border-bottom: 1px solid var(--line);
}

.bar a {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.bar strong {
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 800;
}

.brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 16px 8px;
  text-align: center;
}

.brand .plate {
  display: grid;
  width: min(100%, 180px);
  min-height: 70px;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
}

.brand img {
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 42px;
  object-fit: contain;
}

.brand p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px 4px;
}

.chips span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #121212;
  font-size: 0.75rem;
}

.chips b { color: var(--green); }

.block {
  margin: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.block h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.block p, .block li {
  color: #cfcfcf;
  font-size: 0.94rem;
  line-height: 1.55;
}

.block p { margin: 0 0 10px; }
.block ul, .block ol { margin: 0; padding-left: 1.1rem; }
.block li + li { margin-top: 6px; }

.good { border-left: 3px solid var(--green); }
.bad { border-left: 3px solid var(--red); }

.live {
  display: grid;
  gap: 8px;
  margin: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #102016;
}

.live em {
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.live strong {
  font-size: clamp(1.1rem, 4.8vw, 1.45rem);
  overflow-wrap: anywhere;
}

.live p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cta {
  display: flex;
  min-height: 44px;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--white);
  color: #111;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.base {
  padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.base nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.base a { color: var(--green); font-weight: 700; text-decoration: none; }

.bar a:focus-visible,
.cta:focus-visible,
.base a:focus-visible {
  outline: 3px solid rgba(30, 215, 96, 0.55);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  body {
    padding: 24px;
    background:
      radial-gradient(circle at 80% 0%, rgba(245, 197, 24, 0.08), transparent 22rem),
      var(--bg);
  }
  .wrap {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #0d0d0d;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
