:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6f8;
  color: #181b20;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: #cf102d;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background: #a90d25;
}

input {
  min-height: 42px;
  border: 1px solid #c9ced6;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}

.page,
.watch-page {
  min-height: 100vh;
}

.shell,
.watch-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar,
.watch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.intro h1,
.event-summary h1 {
  margin: 16px 0 8px;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
}

.event-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.event-row small {
  display: block;
  margin-top: 4px;
  color: #5d6572;
}

.status {
  border-radius: 999px;
  padding: 4px 10px;
  background: #edf0f4;
  color: #333b48;
  font-size: 0.85rem;
}

.event-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 28px 0;
}

.event-summary p {
  max-width: 720px;
  color: #4c5563;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cf102d;
}

.event-times {
  display: grid;
  gap: 6px;
  color: #4c5563;
  font-size: 0.92rem;
  text-align: right;
}

.access-panel,
.player-panel {
  background: #fff;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  padding: 18px;
}

.access-form {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.error-text {
  min-height: 20px;
  margin: 0;
  color: #b00020;
}

.status-message {
  min-height: 24px;
  margin-bottom: 10px;
  color: #4c5563;
}

.player-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.player-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: #5d6572;
}

.support {
  margin-top: 20px;
  color: #5d6572;
}

.icon-text {
  background: #2b3038;
}

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .event-summary {
    grid-template-columns: 1fr;
  }

  .event-times {
    text-align: left;
  }

  .inline-form,
  .player-actions,
  .event-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}
