:root {
  --ink: #13202d;
  --muted: #566574;
  --blue: #092b49;
  --red: #c9272e;
  --gold: #f5bc42;
  --green: #1f8a5b;
  --sky: #dcecf8;
  --paper: #fffdf8;
  --card: #ffffff;
  --line: rgba(19, 32, 45, 0.14);
  --shadow: 0 16px 44px rgba(9, 43, 73, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  /* clip (ekki hidden) ver gegn láréttu skruni án þess að brjóta position: sticky */
  overflow-x: clip;
  max-width: 100%;
}

img,
iframe {
  max-width: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(220, 236, 248, 0.75), rgba(255, 253, 248, 0.96) 520px),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  line-height: 1.35;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 43, 73, 0.12), rgba(9, 43, 73, 0.88)),
    url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=1600&q=82")
      center / cover;
  color: #fff;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201, 39, 46, 0.36), rgba(9, 43, 73, 0.08));
}

.hero__content {
  position: relative;
  width: min(100%, 980px);
  padding: 44px 24px 96px;
}

/* Félagsmerki uppi í hægra horni — tölvuútgáfa.
   Liggur á milli yfirlags og texta (DOM-röð) svo textinn er alltaf ofan á. */
.hero__logo--corner {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 116px;
  height: auto;
  opacity: 0.92;
  pointer-events: none;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.4));
}

/* Fyrirsögn + merki á sömu línu (notað í síma svo þau flæði saman). */
.hero__eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.hero__eyebrow-row .eyebrow {
  margin-bottom: 0;
}

/* Merki við hlið fyrirsagnar — birtist aðeins í síma. */
.hero__logo--inline {
  display: none;
  height: auto;
  flex: none;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero__logo--corner {
    display: none;
  }
  .hero__logo--inline {
    display: block;
    width: 86px;
    opacity: 0.95;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  }
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 66px;
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 32px;
}

.hero__actions,
.card-actions,
.place-actions,
.parent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(9, 43, 73, 0.22);
}

.button--light {
  background: #fff;
  color: var(--blue);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button--dark {
  background: var(--blue);
  color: #fff;
}

.button--red {
  background: var(--red);
  color: #fff;
}

.button--green {
  background: var(--green);
  color: #fff;
}

.button--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--blue);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

/* Sticky-rammi: live-borði (þegar leikur er í gangi) + valmynd festast saman. */
.sticky-bar {
  position: sticky;
  top: 0;
  z-index: 20;
}

.quick-nav {
  padding: 12px;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(9, 43, 73, 0.08);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 32px;
  height: 4px;
  background: var(--blue);
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease, top 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -10px;
}

.nav-toggle__bars::after {
  top: 10px;
}

.quick-nav.open .nav-toggle__bars {
  background: transparent;
}

.quick-nav.open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.quick-nav.open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.nav-links a {
  flex: 0 0 auto;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(9, 43, 73, 0.08);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    overflow-x: visible;
  }

  .quick-nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    min-height: 64px;
  }
}

main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 24px;
}

.section {
  margin: 24px 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading .section-kicker {
  color: var(--red);
}

.notice-grid,
.games-grid,
.places-grid,
.app-grid {
  display: grid;
  gap: 18px;
}

/* Leikir flokkaðir eftir degi (forsíða) — samanfellanlegt */
.games-stack {
  display: grid;
  gap: 16px;
}

.game-day__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.game-day__chev {
  transition: transform 0.15s ease;
}

.game-day__header.collapsed .game-day__chev {
  transform: rotate(-90deg);
}

.game-day__body {
  margin-top: 14px;
}

.game-day__body[hidden] {
  display: none;
}

.notice-card,
.day-card,
.game-card,
.place-card,
.app-card,
.upload-panel,
.gallery-panel,
.info-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.notice-card,
.day-card,
.game-card,
.app-card,
.upload-panel,
.gallery-panel,
.info-band {
  padding: 24px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Lýsingin fyllir út plássið svo titlar (efst) og takkar (neðst) raðist eins milli spjalda. */
.app-card > p:not(.small-note) {
  flex: 1 1 auto;
}

.app-card > form {
  flex: 1 1 auto;
}

/* Neðri hjálpartextinn tekur jafnmikið pláss (a.m.k. 2 línur) í öllum spjöldum
   svo takkarnir fyrir ofan hann lendi í sömu hæð í tölvuútgáfu. */
.app-card .small-note {
  min-height: 2.7em;
}

.app-card__icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.app-card h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.app-card p {
  margin: 0;
  color: var(--muted);
}

.small-note {
  margin: 0;
  color: var(--muted);
  font-size: 23px;
}

.guide-intro {
  margin: 26px 0 4px;
  color: var(--ink);
  font-weight: 700;
}

.setup-guide {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.guide-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 24px;
}

.guide-col h3 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.1;
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.guide-steps li {
  position: relative;
  padding-left: 64px;
  min-height: 46px;
  display: block;
  color: var(--muted);
  overflow-wrap: break-word;
}

.guide-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.guide-steps strong {
  color: var(--ink);
}

@media (min-width: 880px) {
  .setup-guide {
    grid-template-columns: 1fr 1fr;
  }
}

.notice-card {
  border-left: 10px solid var(--blue);
}

.notice-card[data-tone="red"] {
  border-left-color: var(--red);
}

.notice-card[data-tone="gold"] {
  border-left-color: var(--gold);
}

.notice-card[data-tone="green"] {
  border-left-color: var(--green);
}

.notice-label,
.time,
.place-tag,
.game-meta {
  color: var(--red);
  font-size: 23px;
  font-weight: 900;
  text-transform: uppercase;
}

.notice-card h3,
.game-card h3 {
  margin: 8px 0 12px;
  font-size: 34px;
  line-height: 1.12;
}

.notice-card p,
.game-card p,
.event-note,
.place-card p {
  margin: 0;
  color: var(--muted);
}

.schedule-stack {
  display: grid;
  gap: 22px;
}

.day-card h3 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 40px;
}

.event-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.event-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.event-title {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 31px;
  font-weight: 900;
}

.event-location {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.game-card {
  display: grid;
  gap: 18px;
  border-top: 10px solid var(--green);
}

.game-card[data-status="later"] {
  border-top-color: var(--gold);
}

.game-card[data-status="later"] .button {
  display: none;
}

.field-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--sky);
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.place-card {
  overflow: hidden;
}

.map-frame {
  position: relative;
  min-height: 280px;
  background: var(--sky);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  display: block;
  border: 0;
}

.place-body {
  padding: 24px;
}

.place-card h3 {
  margin: 8px 0 12px;
  font-size: 36px;
  line-height: 1.1;
}

.place-actions .button,
.parent-actions .button,
.card-actions .button {
  flex: 1 1 230px;
}

.upload-layout {
  display: grid;
  gap: 18px;
}

.upload-panel {
  display: grid;
  gap: 14px;
}

.upload-panel label {
  color: var(--blue);
  font-size: 25px;
  font-weight: 900;
}

.upload-panel input,
.upload-panel select,
.upload-panel textarea,
.notify-form input,
.notify-form textarea {
  width: 100%;
  min-height: 78px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.upload-panel input[type="file"] {
  min-height: 92px;
  background: var(--sky);
}

.upload-panel textarea {
  resize: vertical;
}

.notify-form {
  display: grid;
  gap: 12px;
}

.notify-form label {
  color: var(--blue);
  font-size: 23px;
  font-weight: 900;
}

.notify-form textarea {
  resize: vertical;
}

/* --- Úrslit á leikjaspjaldi --- */
.game-card[data-status="done"] {
  border-top-color: var(--blue);
}

.game-result {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(9, 43, 73, 0.08);
}

.game-result__label {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue);
}

.game-result__score {
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
}

.game-card[data-status="live"] {
  border-top-color: var(--red);
}

.game-result[data-live="true"] {
  background: rgba(201, 39, 46, 0.12);
}

.game-result[data-live="true"] .game-result__label {
  color: var(--red);
}

/* --- Live-borði: breiður sticky-borði efst, aðeins þegar leikur er í gangi --- */
.live-score {
  padding: 9px 24px;
  background: linear-gradient(135deg, #c9272e, #8c1a1f);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.live-score[hidden] {
  display: none;
}

.live-score__head,
.live-score__row {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.live-score__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.live-score__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.4s infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.live-score__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.live-score__teams {
  font-size: 22px;
  font-weight: 700;
}

.live-score__board {
  font-size: 30px;
  font-weight: 900;
  white-space: nowrap;
}

.live-score__actions {
  width: min(100%, 1180px);
  margin: 8px auto 0;
}

.live-score__notify {
  padding: 9px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.live-score__notify[data-on="true"] {
  background: #fff;
  color: var(--red);
  border-color: transparent;
}

/* --- Stjórnsíða (/stjorn) --- */
.admin-form {
  display: grid;
  gap: 18px;
  width: min(100%, 660px);
}

.admin-form > label {
  color: var(--blue);
  font-weight: 900;
  font-size: 23px;
  margin-bottom: -8px;
}

.admin-form input[type="password"] {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-size: 26px;
}

.result-rows {
  display: grid;
  gap: 16px;
}

.result-row {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.result-row__label {
  font-weight: 800;
  color: var(--blue);
  font-size: 22px;
}

.result-row input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-size: 26px;
}

.result-row__controls {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.result-row__controls input {
  flex: 1 1 auto;
  min-width: 0;
}

.result-row select {
  flex: none;
  padding: 14px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-size: 22px;
  background: #fff;
  color: var(--ink);
}

.admin-section {
  margin: 0 0 36px;
}

.admin-section .notify-form {
  width: min(100%, 660px);
}

/* Innskráningar-borði (innskráð staða + útskráning) */
.admin-loggedin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 660px);
  margin: 0 0 24px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: rgba(31, 138, 91, 0.12);
}

.admin-loggedin__label {
  font-weight: 800;
  color: var(--green);
  font-size: 22px;
}

/* Leikir flokkaðir eftir degi — samanfellanlegt */
.result-day {
  width: min(100%, 660px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.result-day__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.result-day__chev {
  transition: transform 0.15s ease;
}

.result-day__header.collapsed .result-day__chev {
  transform: rotate(-90deg);
}

.result-day__body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.result-day__body[hidden] {
  display: none;
}

.upload-progress {
  width: 100%;
  height: 22px;
  accent-color: var(--green);
}

.gallery-panel {
  min-height: 280px;
}

.gallery-empty {
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.gallery-empty[hidden] {
  display: none;
}

.gallery-empty strong {
  color: var(--blue);
  font-size: 32px;
}

.gallery-empty span {
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.photo-card img,
.photo-card video {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  background: var(--sky);
}

.photo-card video {
  background: #000;
}

.photo-card__body {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.photo-card__body strong {
  color: var(--ink);
  font-size: 24px;
}

.photo-card__body span {
  color: var(--muted);
  font-size: 20px;
}

.gallery-viewall {
  margin-top: 18px;
  align-self: start;
}

/* --- Sérstök gallerí-síða (/gallery) --- */
.page-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: var(--blue);
  color: #fff;
}

.page-bar h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.back-link {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 26px;
  white-space: nowrap;
}

.gallery-lead {
  margin: 0 0 22px;
  color: var(--muted);
}

.day-gallery {
  margin: 0 0 24px;
}

.day-gallery__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0 0 10px;
  border: none;
  border-bottom: 3px solid var(--gold);
  background: transparent;
  color: var(--blue);
  font-size: 36px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.day-gallery__title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.day-gallery__chev {
  font-size: 28px;
  transition: transform 0.15s ease;
}

.day-gallery__header.collapsed .day-gallery__chev {
  transform: rotate(-90deg);
}

.day-gallery__body[hidden] {
  display: none;
}

.day-count {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  padding: 2px 16px;
}

.rule-list {
  display: grid;
  gap: 14px;
}

.rule-list article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.rule-list strong {
  color: var(--blue);
  font-size: 30px;
}

.rule-list span {
  color: var(--muted);
}

/* --- Tilkynningar á forsíðu og /tilkynningar --- */
.notice-time {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 700;
}

.notices-viewall {
  margin-top: 18px;
  display: inline-flex;
}

.notifications-list {
  display: grid;
  gap: 18px;
}

.notification-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  display: grid;
  gap: 8px;
}

.notification-when {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-transform: capitalize;
}

.notification-card h2 {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.2;
}

.notification-body {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

/* --- Matseðill (/matsedill) --- */
.menu-day {
  margin: 0 0 30px;
}

.menu-day__title {
  margin: 0 0 16px;
  font-size: 36px;
  color: var(--blue);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 10px;
}

.menu-meal {
  padding: 18px 20px;
  margin: 0 0 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
}

.menu-meal[data-meal="breakfast"] {
  border-left-color: var(--gold);
}

.menu-meal[data-meal="lunch"] {
  border-left-color: var(--green);
}

.menu-meal[data-meal="dinner"] {
  border-left-color: var(--red);
}

.meal-label {
  display: inline-block;
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue);
}

.meal-main {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.meal-alt {
  margin: 10px 0 0;
  font-size: 21px;
  line-height: 1.4;
  color: var(--muted);
}

.menu-times,
.menu-note {
  margin: 0 0 30px;
}

.times-block {
  padding: 18px 20px;
  margin: 0 0 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.times-block h3 {
  margin: 0 0 12px;
  font-size: 26px;
  color: var(--blue);
}

.times-sub {
  margin: 14px 0 6px;
  font-weight: 800;
  color: var(--red);
}

.times-block ul {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 4px;
}

.times-block li {
  font-size: 22px;
}

.menu-note p {
  margin: 0 0 12px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 24px 46px;
  background: var(--blue);
  color: #fff;
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 900;
}

@media (min-width: 860px) {
  .hero {
    min-height: 720px;
  }

  .hero__content {
    padding-left: 44px;
  }

  .notice-grid,
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .places-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .upload-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 28px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 30px;
  }

  main {
    padding: 18px;
  }

  .notice-card,
  .day-card,
  .game-card,
  .info-band {
    padding: 20px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .time {
    font-size: 26px;
  }

  .button {
    width: 100%;
  }
}
