/* ==========================================================================
   Sydney Lawn & Garden Blitz - NRL Tipping 2027 banner and dialog
   All selectors are prefixed slgb-nrl- so nothing else on the site changes.
   Maintained by Murphys Technology.
   ========================================================================== */

:root {
  --slgb-nrl-deep: #0C2F25;
  --slgb-nrl-green: #10551F;
  --slgb-nrl-lime: #C7DC49;
  --slgb-nrl-lime-soft: #E4EEA4;
  --slgb-nrl-paper: #F7F8ED;
  --slgb-nrl-ink: #0C2F25;
  --slgb-nrl-muted: #4A5D52;
  --slgb-nrl-line: #DCE3C4;
  --slgb-nrl-error: #B42318;
  --slgb-nrl-radius: 20px;
  /* Homepage banner only (V3): red family taken from the site's existing red accents
     (#EF3232 and the excavator widget's darker #d62c2c). White text on #D62C2C = 4.9:1. */
  --slgb-nrl-red: #D62C2C;
  --slgb-nrl-red-deep: #B42222;
  --slgb-nrl-red-ink: #9B1C1C;
}

/* --------------------------------------------------------------------------
   Banner (sits in normal page flow between the header and the hero)
   -------------------------------------------------------------------------- */
.slgb-nrl-banner {
  position: relative;
  margin: 0 30px 18px;
  border-radius: var(--slgb-nrl-radius);
  background-color: var(--slgb-nrl-red);
  background-image: linear-gradient(100deg, var(--slgb-nrl-red) 0%, var(--slgb-nrl-red) 45%, var(--slgb-nrl-red-deep) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* Faint rugby league field markings: try line, numbered 10 m lines */
.slgb-nrl-banner__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px),
    repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255, 255, 255, 0.08) calc(10% - 1px) 10%);
  background-size: 100% 100%, 100% 100%;
  background-position: 7% 0, 0 0;
  background-repeat: no-repeat, no-repeat;
}
.slgb-nrl-banner__field::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Darker on the left, where the text sits, so contrast never drops below the base red */
  background: radial-gradient(120% 140% at 0% 50%, rgba(150, 24, 24, 0.35) 0%, rgba(150, 24, 24, 0) 60%);
}
.slgb-nrl-banner__marks {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 50%;
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.22);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.slgb-nrl-banner__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 26px;
  min-height: 96px;
}

.slgb-nrl-ball {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.slgb-nrl-ball svg { width: 40px; height: 40px; transform: rotate(-28deg); }

.slgb-nrl-banner__copy { flex: 1 1 auto; min-width: 0; }

.slgb-nrl-banner__label {
  display: inline-block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: #fff;
}

.slgb-nrl-banner__title {
  margin: 0;
  font-size: clamp(20px, 1.2rem + 0.8vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

.slgb-nrl-banner__facts {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
}
.slgb-nrl-banner__facts strong { color: #fff; font-weight: 700; }

.slgb-nrl-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--slgb-nrl-lime);
  color: var(--slgb-nrl-deep);
  font: 700 16px/1.2 'Bricolage Grotesque', sans-serif;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.slgb-nrl-btn:hover { background: #D6E86A; transform: translateY(-1px); }
.slgb-nrl-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.slgb-nrl-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.slgb-nrl-btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.slgb-nrl-banner .slgb-nrl-btn { flex: 0 0 auto; white-space: nowrap; background: #fff; color: var(--slgb-nrl-red-ink); box-shadow: 0 6px 16px rgba(110, 14, 14, 0.25); }
.slgb-nrl-banner .slgb-nrl-btn:hover { background: #FFF1EE; color: var(--slgb-nrl-red-ink); }
.slgb-nrl-banner .slgb-nrl-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 991px) {
  .slgb-nrl-banner__inner { padding: 18px 22px; gap: 18px; }
  .slgb-nrl-ball { width: 54px; height: 54px; }
  .slgb-nrl-ball svg { width: 34px; height: 34px; }
}

@media (max-width: 768px) {
  .slgb-nrl-banner { margin: 0 20px 16px; }
  .slgb-nrl-banner__inner { flex-wrap: wrap; }
  .slgb-nrl-banner__copy { flex-basis: calc(100% - 72px); }
  .slgb-nrl-banner .slgb-nrl-btn { width: 100%; }
  .slgb-nrl-banner__marks { width: 100%; }
}

@media (max-width: 575px) {
  .slgb-nrl-banner { margin: 0 10px 14px; border-radius: 16px; }
  .slgb-nrl-banner__inner { padding: 16px; gap: 14px; align-items: flex-start; }
  .slgb-nrl-ball { width: 46px; height: 46px; }
  .slgb-nrl-ball svg { width: 28px; height: 28px; }
  .slgb-nrl-banner__copy { flex-basis: calc(100% - 60px); }
  .slgb-nrl-banner__facts { font-size: 14px; }
  .slgb-nrl-banner__marks { display: none; }
  .slgb-nrl-banner .slgb-nrl-btn { white-space: normal; }
}

@media (max-width: 360px) {
  .slgb-nrl-ball { display: none; }
  .slgb-nrl-banner__copy { flex-basis: 100%; }
}

/* --------------------------------------------------------------------------
   Dialog
   -------------------------------------------------------------------------- */
html.slgb-nrl-locked,
html.slgb-nrl-locked body { overflow: hidden !important; }

.slgb-nrl-dialog {
  box-sizing: border-box;
  width: min(940px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--slgb-nrl-radius);
  background: #fff;
  color: var(--slgb-nrl-ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  box-shadow: 0 30px 80px rgba(6, 26, 20, 0.45);
  overflow: hidden;
  overflow: clip; /* stops focus/scrollIntoView from shifting the whole dialog */
}
.slgb-nrl-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: slgb-nrl-in 0.22s ease-out;
}
.slgb-nrl-dialog::backdrop {
  background: rgba(6, 26, 20, 0.62);
  backdrop-filter: blur(2px);
}
.slgb-nrl-dialog *,
.slgb-nrl-dialog *::before,
.slgb-nrl-dialog *::after { box-sizing: border-box; }

@keyframes slgb-nrl-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Top bar: stays put while the body scrolls */
.slgb-nrl-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 26px;
  background: var(--slgb-nrl-deep);
  color: #fff;
}
.slgb-nrl-bar__title {
  flex: 1 1 auto;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.slgb-nrl-bar__title:focus { outline: none; }
.slgb-nrl-bar__title:focus-visible { outline: 2px solid var(--slgb-nrl-lime); outline-offset: 4px; border-radius: 4px; }

.slgb-nrl-close {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 600 15px/1 'Bricolage Grotesque', sans-serif;
  cursor: pointer;
}
.slgb-nrl-close:hover { background: rgba(255, 255, 255, 0.1); }
.slgb-nrl-close:focus-visible { outline: 3px solid var(--slgb-nrl-lime); outline-offset: 2px; }
.slgb-nrl-close svg { width: 18px; height: 18px; }

.slgb-nrl-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Intro band */
.slgb-nrl-intro {
  padding: 22px 26px 24px;
  background: var(--slgb-nrl-green);
  color: #fff;
}
.slgb-nrl-intro p { margin: 0; max-width: 62ch; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.slgb-nrl-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.slgb-nrl-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
}
.slgb-nrl-facts b { color: var(--slgb-nrl-lime); font-weight: 700; }

/* Body grid */
.slgb-nrl-body {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "steps" "form" "rules" "info" "app" "small";
  gap: 26px;
  padding: 26px;
}
@media (min-width: 860px) {
  .slgb-nrl-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "steps form" "rules rules" "info info" "app app" "small small";
    column-gap: 32px;
  }
}
.slgb-nrl-col-steps { grid-area: steps; }
.slgb-nrl-col-form { grid-area: form; }
.slgb-nrl-rules { grid-area: rules; }
.slgb-nrl-info { grid-area: info; }
.slgb-nrl-app { grid-area: app; }
.slgb-nrl-small { grid-area: small; }

.slgb-nrl-h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--slgb-nrl-ink);
}

/* Steps: a genuine sequence, so numbered */
.slgb-nrl-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: slgb-nrl-step;
}
.slgb-nrl-steps li {
  position: relative;
  padding: 0 0 14px 44px;
  counter-increment: slgb-nrl-step;
  line-height: 1.5;
}
.slgb-nrl-steps li::before {
  content: counter(slgb-nrl-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--slgb-nrl-lime);
  color: var(--slgb-nrl-deep);
  font-weight: 800;
  font-size: 15px;
}
.slgb-nrl-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 2px;
  width: 2px;
  background: var(--slgb-nrl-line);
}

/* Bank details */
.slgb-nrl-bank {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--slgb-nrl-paper);
  border: 1px solid var(--slgb-nrl-line);
}
.slgb-nrl-bank__title { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--slgb-nrl-ink); }
.slgb-nrl-bank dl { margin: 0; }
.slgb-nrl-bank__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 8px 0;
  border-top: 1px solid var(--slgb-nrl-line);
}
.slgb-nrl-bank__row:first-child { border-top: 0; }
.slgb-nrl-bank dt { flex: 0 0 auto; min-width: 110px; font-size: 14px; font-weight: 600; color: var(--slgb-nrl-muted); }
.slgb-nrl-bank dd {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--slgb-nrl-ink);
}
.slgb-nrl-num { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; white-space: nowrap; }
.slgb-nrl-copy {
  -webkit-appearance: none;
  appearance: none;
  min-height: 36px;
  min-width: 64px;
  padding: 6px 12px;
  border: 1px solid #76874A;
  border-radius: 999px;
  background: #fff;
  color: var(--slgb-nrl-green);
  font: 600 13px/1 'Bricolage Grotesque', sans-serif;
  cursor: pointer;
}
.slgb-nrl-copy:hover { background: var(--slgb-nrl-lime-soft); }
.slgb-nrl-copy:focus-visible { outline: 3px solid var(--slgb-nrl-green); outline-offset: 2px; }
.slgb-nrl-copy.is-copied { background: var(--slgb-nrl-green); border-color: var(--slgb-nrl-green); color: #fff; }
.slgb-nrl-bank__note { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--slgb-nrl-muted); }

/* Form */
.slgb-nrl-formwrap {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--slgb-nrl-line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(12, 47, 37, 0.04);
}
.slgb-nrl-formwrap > p { margin: 0 0 16px; color: var(--slgb-nrl-muted); font-size: 15px; line-height: 1.5; }

.slgb-nrl-field { margin: 0 0 16px; }
.slgb-nrl-field label,
.slgb-nrl-legend {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--slgb-nrl-ink);
}
.slgb-nrl-opt { font-weight: 500; color: var(--slgb-nrl-muted); }
.slgb-nrl-hint { display: block; margin: -2px 0 8px; font-size: 14px; line-height: 1.45; color: var(--slgb-nrl-muted); }
.slgb-nrl-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #7D8B57;
  border-radius: 10px;
  background: #fff;
  color: var(--slgb-nrl-ink);
  font: 400 16px/1.4 'Bricolage Grotesque', sans-serif;
}
.slgb-nrl-input:focus { outline: none; border-color: var(--slgb-nrl-green); box-shadow: 0 0 0 3px rgba(16, 85, 31, 0.25); }
.slgb-nrl-input[aria-invalid="true"] { border-color: var(--slgb-nrl-error); }
.slgb-nrl-err {
  display: block;
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--slgb-nrl-error);
}
.slgb-nrl-err:empty { display: none; }

.slgb-nrl-field .slgb-nrl-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  cursor: pointer;
}
.slgb-nrl-check input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--slgb-nrl-green);
  cursor: pointer;
}
.slgb-nrl-check a,
.slgb-nrl-dialog .slgb-nrl-link { color: var(--slgb-nrl-green); text-decoration: underline; text-underline-offset: 2px; }
.slgb-nrl-dialog a:focus-visible { outline: 3px solid var(--slgb-nrl-green); outline-offset: 2px; border-radius: 2px; }

.slgb-nrl-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.slgb-nrl-submit { width: 100%; margin-top: 4px; }
.slgb-nrl-submit:focus-visible { outline-color: var(--slgb-nrl-deep); }

.slgb-nrl-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.slgb-nrl-status:empty { display: none; }
.slgb-nrl-status.is-error { background: #FDECEA; color: #7A1810; border: 1px solid #F3B7B0; }
.slgb-nrl-status.is-warn { background: #FFF6DB; color: #5C4300; border: 1px solid #EBD38A; }
.slgb-nrl-status.is-info { background: var(--slgb-nrl-paper); color: var(--slgb-nrl-ink); border: 1px solid var(--slgb-nrl-line); }
.slgb-nrl-status a { color: inherit; text-decoration: underline; }

/* Success */
.slgb-nrl-done { text-align: left; }
.slgb-nrl-done:focus { outline: none; }
.slgb-nrl-done__tick {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--slgb-nrl-lime);
  color: var(--slgb-nrl-deep);
}
.slgb-nrl-done__tick svg { width: 26px; height: 26px; }
.slgb-nrl-done h3 { margin: 0 0 8px; font-size: 22px; color: var(--slgb-nrl-ink); }
.slgb-nrl-done p { margin: 0 0 12px; line-height: 1.55; }
.slgb-nrl-ref {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--slgb-nrl-paper);
  border: 1px dashed #9DB35A;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.slgb-nrl-btn--ghost {
  background: transparent;
  color: var(--slgb-nrl-green);
  border: 1.5px solid var(--slgb-nrl-green);
}
.slgb-nrl-btn--ghost:hover { background: var(--slgb-nrl-paper); }
.slgb-nrl-btn--ghost:focus-visible { outline-color: var(--slgb-nrl-deep); }

/* Rules */
.slgb-nrl-rules {
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--slgb-nrl-paper);
}
/* V3: rules get the full width; tipping and prizes are separate cards below */
.slgb-nrl-rules .slgb-nrl-h3 { margin-bottom: 14px; }
.slgb-nrl-rulelist {
  max-width: 68ch;
  margin: 0;
  padding-left: 30px;
  font-size: 16px;
}
.slgb-nrl-rulelist li { margin: 0 0 12px; padding-left: 8px; line-height: 1.55; }
.slgb-nrl-rulelist li:last-child { margin-bottom: 0; }
.slgb-nrl-rulelist li::marker { color: var(--slgb-nrl-green); font-weight: 700; }

.slgb-nrl-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .slgb-nrl-info { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.slgb-nrl-card {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--slgb-nrl-line);
  background: #fff;
}
.slgb-nrl-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slgb-nrl-ink);
}
.slgb-nrl-card p { max-width: 60ch; margin: 0; font-size: 16px; line-height: 1.6; color: var(--slgb-nrl-ink); }

.slgb-nrl-small { font-size: 14px; line-height: 1.55; color: var(--slgb-nrl-muted); }
.slgb-nrl-small p { margin: 0 0 8px; }

/* Closed state: shown once entries close */
.slgb-nrl-closed-only { display: none; }
.slgb-nrl-is-closed .slgb-nrl-closed-only { display: block; }
.slgb-nrl-is-closed .slgb-nrl-open-only { display: none !important; }
.slgb-nrl-closednote {
  padding: 18px;
  border-radius: 14px;
  background: #FFF6DB;
  border: 1px solid #EBD38A;
  color: #3D2E00;
}
.slgb-nrl-closednote p { margin: 0 0 6px; }

/* Phones: the dialog becomes a full-height sheet */
@media (max-width: 600px) {
  .slgb-nrl-dialog {
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }
  .slgb-nrl-dialog[open] { animation-name: slgb-nrl-up; }
  .slgb-nrl-bar {
    padding: 10px 10px 10px 16px;
    padding-top: max(10px, env(safe-area-inset-top));
  }
  .slgb-nrl-bar__title { font-size: 17px; }
  .slgb-nrl-close__text { display: none; }
  .slgb-nrl-close { padding: 8px 12px; }
  .slgb-nrl-intro { padding: 18px 16px 20px; }
  .slgb-nrl-body { padding: 18px 16px; padding-bottom: max(24px, env(safe-area-inset-bottom)); gap: 22px; }
  .slgb-nrl-formwrap, .slgb-nrl-rules { padding: 16px; }
  .slgb-nrl-card { padding: 16px 18px; }
  .slgb-nrl-rulelist { padding-left: 26px; }
  .slgb-nrl-rulelist li { padding-left: 6px; }
  .slgb-nrl-bank { padding: 14px; }
  .slgb-nrl-bank dt { min-width: 0; }
}
@keyframes slgb-nrl-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Short laptop screens */
@media (min-width: 601px) and (max-height: 700px) {
  .slgb-nrl-dialog { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .slgb-nrl-intro { padding-top: 16px; padding-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .slgb-nrl-dialog[open] { animation: none; }
  .slgb-nrl-btn { transition: none; }
  .slgb-nrl-btn:hover { transform: none; }
}

@media (forced-colors: active) {
  .slgb-nrl-btn, .slgb-nrl-copy, .slgb-nrl-close { border: 1px solid ButtonText; }
}

/* Visually hidden but read by screen readers */
.slgb-nrl-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Inline text swaps for the closed state */
.slgb-nrl-is-closed span.slgb-nrl-closed-only { display: inline; }

/* Fallback for very old browsers without <dialog> support */
.slgb-nrl-dialog.slgb-nrl-fallback {
  position: fixed;
  inset: 0;
  z-index: 100000;
}
html.slgb-nrl-fallback-open body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(6, 26, 20, 0.62);
}
/* Closed state: the notice spans the full width */
@media (min-width: 860px) {
  .slgb-nrl-is-closed .slgb-nrl-col-steps { grid-column: 1 / -1; }
}
.slgb-nrl-closednote p { line-height: 1.55; }

/* ---------- Correction pass, 19 October 2026 ---------- */

/* Keep the banner button clear of the fixed "Excavator Hire" tab (38 px wide up to
   760 px, 46 to 52 px wide above that), including the button's 6 px focus outline. */
@media (max-width: 768px) {
  .slgb-nrl-banner .slgb-nrl-btn { width: calc(100% - 24px); }
}
@media (max-width: 575px) {
  .slgb-nrl-banner .slgb-nrl-btn { width: calc(100% - 28px); }
}
@media (max-width: 360px) {
  .slgb-nrl-banner .slgb-nrl-btn { padding: 12px 14px; gap: 8px; font-size: 15px; }
}

/* "Already paid?" shortcut: only needed when the form sits below the payment details */
.slgb-nrl-shortcut { display: none; }
@media (max-width: 859px) {
  .slgb-nrl-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--slgb-nrl-lime);
    color: var(--slgb-nrl-deep);
    font: 700 15px/1.25 'Bricolage Grotesque', sans-serif;
    text-decoration: none;
  }
  .slgb-nrl-shortcut:hover { background: #D6E86A; color: var(--slgb-nrl-deep); }
  .slgb-nrl-shortcut:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
}
.slgb-nrl-h3[tabindex="-1"]:focus { outline: none; }
.slgb-nrl-h3[tabindex="-1"]:focus-visible { outline: 2px solid var(--slgb-nrl-green); outline-offset: 4px; border-radius: 4px; }

/* Closed notice heading and focus target */
.slgb-nrl-closednote__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.35; color: #3D2E00; }
.slgb-nrl-closednote:focus { outline: none; }
.slgb-nrl-closednote:focus-visible { outline: 3px solid var(--slgb-nrl-green); outline-offset: 2px; }
.slgb-nrl-is-closed .slgb-nrl-col-form:not(:has(.slgb-nrl-done:not([hidden]))):not(:has(.slgb-nrl-status:not(:empty))) { display: none; }
@media (min-width: 860px) {
  .slgb-nrl-is-closed .slgb-nrl-col-form { grid-column: 1 / -1; }
}

/* Mobile: tighter top section so the form is reached sooner (font sizes unchanged) */
@media (max-width: 600px) {
  .slgb-nrl-intro { padding: 14px 16px 16px; }
  .slgb-nrl-facts { gap: 6px; margin-top: 12px; }
  .slgb-nrl-facts li { padding: 5px 10px; }
  .slgb-nrl-shortcut { width: 100%; }
  .slgb-nrl-body { gap: 20px; }
  .slgb-nrl-steps { margin-bottom: 16px; }
  .slgb-nrl-steps li { padding-bottom: 10px; }
  .slgb-nrl-bank__row { padding: 6px 0; }
}
/* Leave breathing room when jumping to the form or rules */
#slgb-nrl-form-title, #slgb-nrl-rules { scroll-margin-top: 16px; }

/* ---------- V4: ESPN FootyTips app card ---------- */
.slgb-nrl-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--slgb-nrl-line);
  background: #fff;
}
@media (min-width: 640px) {
  .slgb-nrl-app { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px 24px; }
}
.slgb-nrl-app__art { display: block; width: 100%; max-width: 200px; }
@media (min-width: 640px) { .slgb-nrl-app__art { max-width: 260px; } }
.slgb-nrl-app__art img {
  display: block;
  width: 100%;
  height: auto;          /* keeps the artwork's 1200 x 630 proportions */
  aspect-ratio: 1200 / 630;
  border-radius: 10px;
}
.slgb-nrl-app__body { min-width: 0; }
.slgb-nrl-app__body > p { max-width: 62ch; margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--slgb-nrl-ink); }
.slgb-nrl-app__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); /* side by side when both fit, otherwise stacked */
  gap: 10px 12px;
  max-width: 560px;
  margin: 0 0 14px;
}
.slgb-nrl-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--slgb-nrl-deep);
  color: #fff;
  font: 700 15px/1.25 'Bricolage Grotesque', sans-serif;
  text-decoration: none;
}
.slgb-nrl-dialog .slgb-nrl-store { color: #fff; text-decoration: none; }
.slgb-nrl-store:hover { background: var(--slgb-nrl-green); color: #fff; }
.slgb-nrl-dialog .slgb-nrl-store:focus-visible { outline: 3px solid var(--slgb-nrl-green); outline-offset: 3px; border-radius: 999px; }
.slgb-nrl-store svg { width: 16px; height: 16px; flex: 0 0 auto; }
.slgb-nrl-app__body > p.slgb-nrl-app__note { margin: 0; font-size: 15px; line-height: 1.55; color: var(--slgb-nrl-muted); }
@media (max-width: 479px) {
  .slgb-nrl-app { padding: 16px 18px; }
  .slgb-nrl-app__links { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .slgb-nrl-store { padding: 11px 14px; font-size: 14px; }
}
