/* Shared UK template repairs: readable data tables and a functional age gate. */
main table {
  width: 100%;
  margin: 20px 0 30px;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

main th,
main td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

main th {
  background: var(--bg-card-hi);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

main tbody tr:nth-child(even) { background: var(--bg-soft); }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 10, 20, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-gate.is-open { display: flex !important; }

.age-gate__panel {
  width: min(100%, 460px);
  padding: 32px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  text-align: center;
}

.age-gate__logo {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 800;
}

.age-gate__buttons { display: flex; gap: 12px; margin: 22px 0; }
.age-gate__btn { flex: 1; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; }
.age-gate__btn--yes { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.age-gate__btn--no { background: transparent; color: var(--ink); }

@media (max-width: 640px) {
  main table { font-size: 14px; }
  main th, main td { padding: 10px; }
  .age-gate__panel { padding: 26px 20px; }
}
