@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Slab Beton SH";
  src: url("../fonts/DMSlabBetonSH-XBoldCond.otf") format("opentype");
  font-weight: 100 900; font-stretch: 50% 200%; font-style: normal; font-display: swap;
}
/* Daily Mail Golf Foursomes website: Round 4 design (Figma "DM Golf EXT", page "Round 4 - Website").
   DM Blue ground, the Foursomes panel on the left, a cream card on the right.
   Type: DM Slab Beton SH XBold Cond for headlines (the real font, from assets/fonts), Inter for everything else. */

:root {
  --blue: #004db3;
  --blue-dark: #003f94;
  --cream: #f9f4ef;
  --ink: #0b0b0a;
  --ink-70: rgba(0, 0, 0, .7);
  --ink-50: rgba(0, 0, 0, .5);
  --ink-40: rgba(0, 0, 0, .4);
  --field-line: rgba(0, 0, 0, .21);
  --rule: rgba(0, 0, 0, .12);
  --white-60: rgba(255, 255, 255, .6);
  --white-25: rgba(255, 255, 255, .25);
  --amber: #8a4a00;
  --slab: "DM Slab Beton SH", "DMSlabBetonSH-XBoldCond", Georgia, serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--blue); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--blue); color: #fff; font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.r4-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 600; }
.skip:focus { left: 16px; top: 8px; }

/* To confirm marker */
.tbc { display: inline-block; margin: 0 2px; padding: 0 7px; border: 1px solid currentColor; border-radius: 999px; font-size: 10.5px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; white-space: nowrap; opacity: .85; }
.r4-card .tbc { color: var(--amber); opacity: 1; }

/* Draft bar (and the preview's All sections button) */
.draft-bar { background: #0b0b0a; color: #ede3c8; font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-block: 7px; }
.draft-bar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.hub-link { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; background: var(--cream); color: var(--ink); text-decoration: none; }

/* Header: a full-width bar that stays at the top while you scroll. Logo, pill navigation, Sign in button. */
.r4-head { position: sticky; top: 0; z-index: 50; width: 100%; background: rgba(0, 77, 179, .94); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .1); padding-top: env(safe-area-inset-top, 0px); }
.r4-head__in { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.r4-logo { flex: none; display: block; padding: 4px 0; }
.r4-logo img { width: 136px; height: 20px; display: block; }
.r4-tabs { display: flex; gap: 2px; margin-left: auto; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.r4-tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 22px; border-radius: 999px; color: #fff; font-size: 15px; line-height: 24px; text-decoration: none; white-space: nowrap; transition: background .15s; }
.r4-tabs a:hover { background: rgba(255, 255, 255, .14); }
.r4-tabs a[aria-current] { background: var(--cream); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 11, 10, .12), 0 2px 8px -2px rgba(11, 11, 10, .12); }
.r4-tabs a:focus-visible, .r4-signin:focus-visible, .r4-register:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
/* Header buttons: Register (solid, the main action) and Sign in (outlined) */
.r4-register, .r4-signin { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 24px; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.r4-register { background: var(--cream); color: var(--blue); box-shadow: 0 1px 2px rgba(11, 11, 10, .15); }
.r4-register:hover, .r4-register[aria-current] { background: #fff; }
.r4-signin { margin-left: -6px; border: 2px solid rgba(255, 255, 255, .85); color: #fff; }
.r4-signin:hover, .r4-signin[aria-current] { background: #fff; border-color: #fff; color: var(--blue); }
@media (min-width: 900px) { .r4-head__in { gap: 20px; } }
@media (max-width: 1024px) {   /* phones and tablets: the menu button instead of the tabs (the full header needs more width) */
  .r4-head__in { flex-wrap: wrap; row-gap: 10px; padding-block: 10px; min-height: 0; }
  /* Phones: logo, Register, Sign in and the menu button on one line */
  .r4-head__in { column-gap: 8px; }
  .r4-logo img { width: 112px; height: 16.5px; }
  .r4-register { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .r4-signin { margin-left: 0; min-height: 40px; padding: 0 12px; font-size: 14px; }
  .r4-head .r4-burger { width: 40px; height: 40px; }
  /* Phones without JavaScript: two rows of three tabs */
  .r4-tabs { order: 3; width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: 22px; }
  .r4-tabs a { justify-content: center; min-height: 38px; padding: 0 8px; font-size: 14px; }
  /* Phones: the burger menu (shell.js adds .has-burger) */
  .has-burger .r4-burger { display: inline-flex; }
  .has-burger .r4-register { margin-left: auto; }
  .has-burger .r4-tabs { display: none; }
  .has-burger.is-open .r4-tabs { display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, .1); animation: r4-drop .18s ease-out; }
  .has-burger.is-open .r4-tabs a { justify-content: flex-start; min-height: 48px; padding: 0 16px; font-size: 17px; border-radius: 12px; }
}
.r4-burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); cursor: pointer; }
.r4-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.r4-burger:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.is-open .r4-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .r4-burger span:nth-child(2) { opacity: 0; }
.is-open .r4-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@keyframes r4-drop { from { opacity: 0; transform: translateY(-6px); } }

/* "Add to your home screen" prompt (phones) */
.r4-install { position: fixed; z-index: 60; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 8px 30px rgba(11, 11, 10, .28); transform: translateY(140%); transition: transform .25s ease-out; font-size: 14px; line-height: 1.35; }
.r4-install.is-in { transform: none; }
.r4-install img { flex: none; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.r4-install__text { display: grid; gap: 2px; min-width: 0; }
.r4-install__text strong { font-size: 15px; }
.r4-install__text span { color: #4a4a45; }
.r4-install__share { display: inline-block; width: 14px; height: 16px; vertical-align: -2px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18' fill='none' stroke='%23007aff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 1v10M3.5 4.5 7 1l3.5 3.5M4 8H2v9h10V8h-2'/%3E%3C/svg%3E"); }
.r4-install__actions { display: flex; gap: 6px; margin-left: auto; flex: none; }
.r4-install__go { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--blue, #004db3); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.r4-install__close { min-width: 40px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: #f1ede7; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
@media (min-width: 761px) { .r4-install { display: none; } }
/* Jump links land below the sticky bar */
:target, [id] { scroll-margin-top: 96px; }
@media (max-width: 760px) { :target, [id] { scroll-margin-top: 150px; } }

/* Main: left panel + right card */
.r4-main { display: grid; gap: 40px; padding-block: 32px 72px; }
@media (min-width: 1000px) {
  .r4-main { grid-template-columns: minmax(0, 1fr) 520px; column-gap: 72px; align-items: start; padding-block: 50px 56px; }
  .r4-left { padding-top: 0; }
}
.r4-main--wide { display: block; }

.r4-left { display: grid; gap: 28px; align-content: start; min-width: 0; }
.r4-brand { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(64px, 10vw, 101px); line-height: .95; letter-spacing: -.01em; color: var(--cream); margin-left: -3px; }
.r4-intro { max-width: 372px; font-size: 20px; line-height: 28px; color: #fff; }
.r4-kicker { font-size: 15px; line-height: 22.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.r4-kicker--ink { color: var(--blue); }
.r4-news { display: grid; gap: 16px; margin-top: 18px; }
.r4-news__grid { display: grid; gap: 0 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 528px; }
.r4-news__item { padding: 10px 0 28px; border-top: .5px solid #fff; }
.r4-news__item h2 { font-size: 18px; line-height: 22.8px; font-weight: 600; letter-spacing: -.016em; color: #fff; }
.r4-news__item p { margin-top: 10px; font-size: 16px; line-height: 23px; color: var(--white-60); }
@media (max-width: 999px) {
  .r4-main { grid-template-areas: "left" "card"; }
  .r4-left { display: contents; }
  .r4-brand { order: 1; }
  .r4-intro { order: 2; margin-top: -20px; }
  .r4-card { order: 3; }
  .r4-news { order: 4; margin-top: 8px; }
}
@media (max-width: 480px) { .r4-news__grid { grid-template-columns: minmax(0, 1fr); } }

/* The cream card */
.r4-card { min-width: 0; padding: 32px 30px 40px; background: var(--cream); color: var(--ink); box-shadow: 0 4px 2px rgba(0, 0, 0, .07); }
@media (max-width: 480px) { .r4-card { margin-inline: -8px; padding: 28px 20px 32px; } }
.r4-card--wide { max-width: 100%; padding: 40px clamp(20px, 4vw, 56px) 56px; }
.r4-card a { color: inherit; }
.r4-title { display: flex; align-items: flex-end; gap: 6px; font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: 38px; line-height: 35px; letter-spacing: -.005em; color: var(--blue); }
.r4-card--wide .r4-title { font-size: clamp(38px, 5vw, 56px); line-height: 1; }
.r4-title__boy { flex: none; width: 34px; height: auto; margin-bottom: -4px; }
.r4-title__boy--end { margin-left: auto; }
.r4-title--big { justify-content: center; font-size: 56px; line-height: 1; }
.r4-title--big .r4-title__boy { width: 38px; }
.r4-lead { margin-top: 28px; font-size: 14px; line-height: 22.5px; color: var(--ink-70); max-width: 52ch; }
.r4-card--wide .r4-lead { font-size: 16px; line-height: 25px; }
.r4-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.r4-back:hover { text-decoration: underline; }
.r4-back + .r4-title { line-height: 36px; }

/* Forms */
.r4-form { display: grid; gap: 18px; margin-top: 18px; }
.r4-grid { display: grid; gap: 18px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.r4-wide { grid-column: 1 / -1; }
@media (max-width: 420px) { .r4-grid { grid-template-columns: minmax(0, 1fr); } }
.r4-field { display: grid; gap: 5px; min-width: 0; }
.r4-field label { font-size: 14px; line-height: 21px; letter-spacing: .12px; color: var(--ink); }
.r4-field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 10px; background: transparent; color: var(--ink); font: 400 15px/19px var(--sans); }
.r4-field input::placeholder { color: var(--ink-40); font-weight: 500; font-size: 14px; }
.r4-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 77, 179, .18); }
.r4-field input[aria-invalid="true"] { border-color: #a3241d; }
.r4-hint { font-size: 12.5px; line-height: 18px; color: var(--ink-50); }
.r4-search { position: relative; }
.r4-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px 0; list-style: none; max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid var(--field-line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.r4-list li { padding: 10px 14px; font-size: 14px; cursor: pointer; }
.r4-list li[aria-selected="true"], .r4-list li:hover { background: rgba(0, 77, 179, .08); }
.r4-list li.is-none { color: var(--ink-50); cursor: default; background: none; }
.r4-partner { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 14px; border: 1px dashed var(--ink); border-radius: 10px; background: transparent; color: var(--ink); font: 600 14px var(--sans); cursor: pointer; text-align: left; }
.r4-partner__plus { font-size: 20px; font-weight: 400; line-height: 1; }
.r4-partner__opt { margin-left: auto; font-weight: 400; color: var(--ink-50); }
.r4-partner[aria-expanded="true"] .r4-partner__plus { transform: rotate(45deg); }
.r4-switches { display: grid; gap: 14px; margin-top: 2px; }
.r4-switch { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; line-height: 20.25px; font-weight: 500; color: var(--ink); cursor: pointer; }
.r4-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.r4-switch__ui { position: relative; width: 52px; height: 30px; border-radius: 999px; background: rgba(11, 11, 10, .17); transition: background .15s; }
.r4-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(11, 11, 10, .2); transition: transform .15s; }
.r4-switch input:checked + .r4-switch__ui { background: var(--blue); }
.r4-switch input:checked + .r4-switch__ui::after { transform: translateX(22px); }
.r4-switch input:focus-visible + .r4-switch__ui { outline: 2px solid var(--blue); outline-offset: 2px; }
.r4-switch.is-invalid .r4-switch__ui { box-shadow: 0 0 0 2px #a3241d; }
.r4-opt { font-weight: 400; color: var(--ink-50); }
.r4-legal { font-size: 12px; line-height: 19.5px; color: var(--ink-50); }
.r4-legal a { color: inherit; text-underline-offset: 2px; }
.r4-error { padding: 10px 14px; border-radius: 10px; background: rgba(163, 36, 29, .08); color: #a3241d; font-size: 14px; line-height: 20px; font-weight: 500; }
.r4-draft { font-size: 12px; color: var(--ink-50); }
.r4-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }

/* Buttons */
.r4-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 40px; border: 1px solid var(--blue); border-radius: 42px; background: var(--blue); color: #fff; font: 600 18px/27px var(--sans); letter-spacing: .44px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.r4-card .r4-btn { color: #fff; }
.r4-btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.r4-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.r4-card .r4-btn--ghost { background: #fff; color: var(--ink); border-color: rgba(0, 0, 0, .2); padding: 0 32px; }
.r4-card .r4-btn--ghost:hover { background: var(--cream); }
.r4-btn--cream { background: var(--cream); border-color: var(--cream); }
.r4-card .r4-btn--cream { color: var(--blue); padding: 0 28px; min-height: 46px; font-size: 16px; }
.r4-btn--cream:hover { background: #fff; border-color: #fff; }
.r4-link { font-size: 14px; font-weight: 600; color: var(--blue) !important; text-underline-offset: 3px; }

/* Done screens */
.r4-done { display: grid; justify-items: center; gap: 28px; padding-block: 120px 100px; text-align: center; outline: none; }
.r4-done p { max-width: 410px; font-size: 16px; line-height: 24px; color: var(--ink-70); }
.r4-done .r4-legal { font-size: 12px; }
.r4-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.r4-done__actions .r4-btn { padding: 0 32px; }

/* Ticks list (club pack) */
/* Register: player or club */
.r4-choices { display: grid; gap: 12px; margin-top: 24px; }
.r4-choice { position: relative; display: grid; gap: 4px; padding: 18px 52px 18px 20px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 6px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.r4-choice:hover { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.r4-choice:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.r4-choice__kicker { font-size: 11.5px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.r4-choice__title { font-family: var(--slab); font-size: 24px; line-height: 28px; color: var(--blue); }
.r4-choice__text { font-size: 14px; line-height: 21px; color: var(--ink-70); max-width: 46ch; }
.r4-choice__go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 20px; line-height: 1; padding-bottom: 2px; }
.r4-choices__note { margin-top: 18px; max-width: 52ch; }
.r4-ticks { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 10px; }
.r4-ticks li { position: relative; padding-left: 28px; font-size: 14px; line-height: 24px; color: var(--ink); }
.r4-ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.r4-ticks--plain { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }

/* The road to the Finals */
.r4-road { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 8px; }
.r4-road li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; margin-left: 36px; padding: 12px 14px 14px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 10px; }
.r4-road li::before { content: ""; position: absolute; left: -36px; top: 13px; width: 16px; height: 16px; border: 2.5px solid var(--blue); border-radius: 50%; background: var(--cream); }
.r4-road li:not(:last-child)::after { content: ""; position: absolute; left: -29px; top: 31px; bottom: -22px; width: 2px; background: var(--blue); }
.r4-road__final { border-color: var(--blue) !important; }
.r4-road__final::before { background: var(--blue) !important; }
.r4-road__when { font-size: 13px; line-height: 20px; letter-spacing: .03em; color: var(--ink); }
.r4-road__what { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink); }
.r4-road p:not(.r4-road__what) { margin-top: 4px; font-size: 13px; line-height: 17px; color: var(--ink-70); }
@media (max-width: 420px) { .r4-road li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* FAQs */
.r4-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: -8px -6px 32px; padding: 18px 20px; border-radius: 12px; background: var(--blue); color: #fff; }
.r4-cta__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: 28px; line-height: 1; color: var(--cream); }
.r4-cta p:not(.r4-cta__title) { margin-top: 6px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .8); }
.faq-groups { display: grid; gap: 28px; margin-top: 28px; }
.faq-group h2 { margin-bottom: 4px; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 16px 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; justify-self: end; font-size: 22px; font-weight: 400; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--blue); }
.faq__a { display: grid; gap: 10px; padding: 0 0 18px; }
.faq__a p, .faq__a li { font-size: 15px; line-height: 23px; color: var(--ink-70); }
.faq__a ol, .faq__a ul { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.faq__a strong { color: var(--ink); }

/* Long pages: rules, privacy */
.r4-prose { display: grid; gap: 14px; max-width: 68ch; margin-top: 28px; }
.r4-prose p, .r4-prose li { font-size: 16px; line-height: 26px; color: var(--ink-70); }
.r4-prose ul { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.r4-prose strong { color: var(--ink); }
.r4-prose h2 { margin: 18px 0 0; font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-size: 26px; line-height: 1.1; color: var(--blue); }
.r4-prose h2:first-of-type { margin-top: 8px; }
.rules-layout { display: grid; gap: 32px; margin-top: 36px; }
@media (min-width: 960px) { .rules-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; } .rules-toc { position: sticky; top: 24px; align-self: start; } }
.rules-toc ol { list-style: none; margin: 10px 0 0; padding: 0; }
.rules-toc a { display: block; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 14px; line-height: 20px; text-decoration: none; color: var(--ink); }
.rules-toc a:hover { color: var(--blue); }
.rules { display: grid; gap: 32px; min-width: 0; }
.rules section { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ink); }
.rules h2 { display: flex; align-items: baseline; gap: 12px; font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: 28px; line-height: 1.1; color: var(--blue); }
.rules h2 span { min-width: 1.3em; }
.rules ol { margin: 0; padding-left: 1.5em; display: grid; gap: 8px; }
.rules ol[type="a"] { list-style-type: lower-alpha; }
.rules p, .rules li { font-size: 15px; line-height: 24px; color: var(--ink-70); }
.rules strong { color: var(--ink); }
.timetable-wrap { overflow-x: auto; border: 1px solid rgba(0, 0, 0, .14); border-radius: 10px; padding: 4px 14px; }
.timetable { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.timetable th { text-align: left; padding: 10px 10px 8px 0; border-bottom: 1px solid var(--ink); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); }
.timetable td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 20px; color: var(--ink); vertical-align: top; }
.timetable td:first-child { font-weight: 600; white-space: nowrap; }
.timetable tr:last-child td { border-bottom: 0; }

/* Footer */
.r4-foot { border-top: 1px solid var(--white-25); }
.r4-foot__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 98px; padding-block: 8px; }
.r4-foot__left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 13px; line-height: 19.5px; }
.r4-foot__mascot { width: 44px; height: auto; }
.r4-foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; }
.r4-foot__links a { font-size: 13px; line-height: 19.5px; color: #fff; text-underline-offset: 3px; }
.r4-foot__links a[aria-current] { text-decoration-thickness: 2px; }
@media (max-width: 700px) { .r4-foot__in { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: 24px; } .r4-foot__left, .r4-foot__links { justify-content: center; } .r4-foot__mascot { order: -1; } }

/* Powered by MASHIE Golf */
.powered { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(255, 255, 255, .8); font-size: 10.5px; line-height: 1; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.powered img { height: 17px; width: auto; }
.powered:hover { color: #fff; }

/* Print hooks for the rules PDF live in print.css */

/* =====================================================================
   Restored pages (How it works, Entering, Draw, Finals detail, History, Partners, Contact)
   in the Round 4 style: inside a wide cream card, blue panels for the old dark bands.
   ===================================================================== */
.r4-after { grid-column: 1 / -1; }
.r4-legacy { --r4-text: var(--ink); --r4-body: var(--ink-70); --r4-accent: var(--blue); --r4-line: var(--rule); color: var(--ink); }
.r4-legacy .wrap { max-width: none; margin: 0; padding: 0; }
.r4-legacy [data-theme="dark"] { --r4-text: #fff; --r4-body: rgba(255,255,255,.86); --r4-accent: var(--cream); --r4-line: rgba(255,255,255,.28); color: #fff; }
.r4-legacy .section { padding-block: 36px; border-top: 1px solid var(--rule); }
.r4-legacy .section > .wrap { display: grid; gap: 28px; }
.r4-legacy .section[data-theme="dark"], .r4-legacy .panel[data-theme="dark"], .r4-legacy .title-partner, .r4-legacy .sponsor-bar { background: var(--blue); border-radius: 14px; border-top: 0; }
.r4-legacy .section[data-theme="dark"] { margin-block: 12px; padding: 36px clamp(20px, 3vw, 40px); }
.r4-legacy .section[data-theme="dark"] + .section { border-top: 0; }

/* Page heads */
.r4-legacy .page-head .wrap, .r4-legacy .hero__text { display: grid; gap: 14px; justify-items: start; }
.r4-legacy .page-head { padding-bottom: 32px; }
.r4-legacy .dmg-headline, .r4-legacy .hero__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(40px, 5.4vw, 64px); line-height: 1; color: var(--blue); text-wrap: balance; max-width: 18ch; }
.r4-legacy .lede, .r4-legacy .hero__lede { max-width: 62ch; font-size: 18px; line-height: 27px; color: var(--ink-70); }
.r4-legacy .hl { display: inline; color: var(--blue); }
.r4-legacy .hero__in { display: grid; gap: 28px; align-items: center; padding-bottom: 32px; }
@media (min-width: 900px) { .r4-legacy .hero__in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.r4-legacy .hero__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* Type */
.r4-legacy .dmg-eyebrow { font-size: 12.5px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--r4-accent); }
.r4-legacy .section-title { display: grid; gap: 8px; max-width: 64ch; align-content: start; }
.r4-legacy .section-title h2, .r4-legacy .dmg-app-title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.02; color: var(--r4-accent); }
.r4-legacy [data-theme="dark"] .section-title h2, .r4-legacy [data-theme="dark"] .dmg-app-title { color: var(--cream); }
.r4-legacy .dmg-body, .r4-legacy .prose p, .r4-legacy .prose li { font-size: 16px; line-height: 26px; color: var(--r4-body); }
.r4-legacy .dmg-caption { font-size: 13.5px; line-height: 20px; color: var(--r4-body); }
.r4-legacy .prose { display: grid; gap: 14px; max-width: 68ch; }
.r4-legacy .prose ul, .r4-legacy .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.r4-legacy strong { color: var(--r4-text); }
.r4-legacy a:not(.dmg-btn) { color: var(--r4-text); text-underline-offset: 3px; }

/* Layout helpers */
.r4-legacy .stack-2, .r4-legacy .stack-3, .r4-legacy .stack-4 { display: grid; gap: 14px; align-content: start; }
.r4-legacy .grid-2, .r4-legacy .grid-3 { display: grid; gap: 24px; }
@media (min-width: 760px) { .r4-legacy .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } .r4-legacy .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.r4-legacy .grid-2 > *, .r4-legacy .grid-3 > * { min-width: 0; }
.r4-legacy .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.r4-legacy .row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }

/* Buttons */
.r4-legacy .dmg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--blue); border-radius: 42px; background: var(--blue); color: #fff; font: 600 16px/24px var(--sans); text-decoration: none; cursor: pointer; justify-self: start; }
.r4-legacy .dmg-btn--secondary { background: #fff; color: var(--ink); border-color: rgba(0,0,0,.2); }
.r4-legacy .dmg-btn--quiet { min-height: 0; padding: 0; border: 0; background: none; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.r4-legacy [data-theme="dark"] .dmg-btn--primary { background: var(--cream); border-color: var(--cream); color: var(--blue); }
.r4-legacy [data-theme="dark"] .dmg-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.r4-legacy [data-theme="dark"] .dmg-btn--quiet { color: #fff; }

/* Cards and panels */
.r4-legacy .card { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 4px 2px rgba(0,0,0,.05); color: var(--ink); }
.r4-legacy .card h3 { font-size: 18px; line-height: 23px; font-weight: 600; color: var(--ink); }
.r4-legacy .card p { font-size: 15px; line-height: 23px; color: var(--ink-70); }
.r4-legacy .card .dmg-eyebrow { color: var(--blue); }
.r4-legacy [data-theme="dark"] .card { background: rgba(255,255,255,.1); box-shadow: none; color: #fff; }
.r4-legacy [data-theme="dark"] .card h3 { color: #fff; }
.r4-legacy [data-theme="dark"] .card p { color: rgba(255,255,255,.86); }
.r4-legacy [data-theme="dark"] .card .dmg-eyebrow { color: var(--cream); }
.r4-legacy .card--yellow { background: var(--blue); color: #fff; }
.r4-legacy .card--yellow h3, .r4-legacy .card--yellow p, .r4-legacy .card--yellow .dmg-eyebrow { color: #fff; }
.r4-legacy .panel { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 14px; background: #fff; }
.r4-legacy .panel .dmg-body, .r4-legacy .panel .dmg-caption { color: inherit; }
.r4-legacy .checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r4-line); }
.r4-legacy .checklist li { padding: 12px 0; border-bottom: 1px solid var(--r4-line); }
.r4-legacy .bigmail { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
.r4-legacy .bigmail a { color: inherit; text-decoration-thickness: 2px; }
.r4-legacy .datecard { display: inline-grid; gap: 2px; padding: 12px 18px; border-radius: 12px; background: var(--blue); color: #fff; }
.r4-legacy .datecard__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.r4-legacy .datecard__date { font-size: 18px; font-weight: 600; }
.r4-legacy .finals-mark { display: grid; place-items: center; }
/* A page title with the paper boy beside it, top right (How it works) */
.r4-legacy .page-head__title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.r4-legacy .page-head__title .dmg-headline { min-width: 0; }
.r4-legacy .page-head__boy { flex: none; width: 68px; height: auto; margin-bottom: -2px; }
@media (max-width: 700px) { .r4-legacy .page-head__boy { width: 46px; } }
.r4-legacy .finals-mark img { width: 110px; height: auto; }

/* Notices */
.r4-legacy .dmg-notice { padding: 14px 18px; border-radius: 12px; background: #fff; border-left: 4px solid var(--blue); color: var(--ink); }
.r4-legacy .dmg-notice--warning { border-left-color: var(--amber); }
.r4-legacy .dmg-notice__title { font-size: 15px; font-weight: 600; color: var(--ink); }
.r4-legacy .dmg-notice .dmg-body { font-size: 14.5px; line-height: 22px; color: var(--ink-70); }

/* Steps */
.r4-legacy .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 760px) { .r4-legacy .steps--cards:not(.steps--one) { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .r4-legacy .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1100px) { .r4-legacy .steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.r4-legacy .steps > li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 12px; background: #fff; color: var(--ink); }
.r4-legacy [data-theme="dark"] .steps > li { background: rgba(255,255,255,.1); color: #fff; }
.r4-legacy .steps > li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; }
.r4-legacy [data-theme="dark"] .steps > li::before { background: var(--cream); color: var(--blue); }
.r4-legacy .steps h3 { font-size: 17px; line-height: 22px; font-weight: 600; }
.r4-legacy .steps p { margin-top: 4px; font-size: 14.5px; line-height: 22px; color: var(--ink-70); }
.r4-legacy [data-theme="dark"] .steps p { color: rgba(255,255,255,.86); }

/* Tables: scorecard and timetable */
.r4-legacy .table-card { padding: 6px 18px; border-radius: 12px; background: #fff; }
.r4-legacy .scorecard-wrap { overflow-x: auto; }
.r4-legacy .scorecard { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; font-size: 15px; }
.r4-legacy .scorecard th, .r4-legacy .scorecard td { padding: 10px; border-bottom: 1px solid var(--rule); text-align: center; color: var(--ink); }
.r4-legacy .scorecard th:first-child, .r4-legacy .scorecard td:first-child { text-align: left; padding-left: 0; }
.r4-legacy .scorecard thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); }
.r4-legacy .scorecard .best { font-weight: 700; background: rgba(0,77,179,.12) padding-box; color: var(--blue); border: 3px solid transparent; border-radius: 12px; }
.r4-legacy .scorecard .stroke { display: inline-block; padding: 0 7px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; line-height: 18px; font-weight: 700; }
.r4-legacy .scorecard tfoot td { font-weight: 700; border-bottom: 0; }

/* Stats (History) */
.r4-legacy .stats { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .r4-legacy .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.r4-legacy .stat { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--ink); }
.r4-legacy .stat__num { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; color: var(--blue); }
.r4-legacy .logo-story { margin: 0; display: grid; gap: 10px; }
.r4-legacy .logo-story__video { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--ink); object-fit: cover; }
.r4-legacy .logo-story__replay { font: inherit; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* Partners and sponsor slots */
.r4-legacy .partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 760px) { .r4-legacy .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.r4-legacy .partner { display: grid; gap: 8px; align-content: start; }
.r4-legacy .partner p { font-size: 14px; line-height: 20px; color: var(--ink-70); }
.r4-legacy .slot { display: grid; place-items: center; height: 104px; padding: 12px; border: 1.5px dashed rgba(0,0,0,.25); border-radius: 12px; background: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--ink-50); }
.r4-legacy .slot--sm { width: 148px; height: 56px; flex: none; }
.r4-legacy .slot--lg { height: 130px; }
.r4-legacy .title-partner { display: grid; gap: 20px; align-items: center; padding: 32px; color: #fff; }
@media (min-width: 760px) { .r4-legacy .title-partner { grid-template-columns: 1fr 300px; } }
.r4-legacy .title-partner .dmg-body { color: rgba(255,255,255,.86); }
.r4-legacy .sponsor-bar { margin-bottom: 24px; color: #fff; }
.r4-legacy .sponsor-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
.r4-legacy .sponsor-bar__round { margin-top: 2px; font-size: 20px; font-weight: 600; }
.r4-legacy .sponsor-bar__logo { display: block; flex: none; }
.r4-legacy .sponsor-bar__logo img { display: block; width: 150px; height: auto; }
@media (max-width: 520px) { .r4-legacy .sponsor-bar__logo img { width: 112px; } }

/* Draw page */
.r4-legacy .draw-tools { display: grid; gap: 14px; padding: 18px; border-radius: 12px; background: #fff; }
@media (min-width: 760px) { .r4-legacy .draw-tools { grid-template-columns: 1fr 1fr 2fr; align-items: end; } }
.r4-legacy .dmg-field { display: grid; gap: 5px; }
.r4-legacy .dmg-field__label { font-size: 14px; color: var(--ink); }
.r4-legacy .dmg-field__input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 10px; background: #fff; color: var(--ink); font: 400 15px var(--sans); appearance: none; }
.r4-legacy .dmg-select { position: relative; }
.r4-legacy .dmg-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.r4-legacy .draw-list { min-width: 0; }
.r4-legacy .draw-head { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 0 0 8px; border-bottom: 1px solid var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); }
.r4-legacy .dmg-draw { list-style: none; margin: 0; padding: 0; }
.r4-legacy .dmg-draw__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.r4-legacy .dmg-draw__pair { font-size: 15.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.r4-legacy .dmg-draw__v { padding: 0 .4em; font-weight: 400; color: var(--ink-50); }
.r4-legacy .dmg-draw__meta { padding: 2px 10px; border-radius: 999px; background: rgba(0,77,179,.08); color: var(--blue); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r4-legacy .dmg-tag { display: inline-flex; padding: 2px 10px; border: 1px solid rgba(0,0,0,.2); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.r4-legacy .draw-more, .r4-legacy .draw-byes { margin-top: 12px; }
.r4-legacy .dmg-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Home: Run by MASHIE, under the register card */
.r4-runby { margin-top: 8px; }
.r4-runby .home-block > .wrap { padding: 0; max-width: none; }
.r4-runby .runby { display: grid; gap: 14px; }
@media (min-width: 900px) { .r4-runby .runby { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.r4-runby .runby__main { display: grid; gap: 18px; justify-items: start; align-content: start; padding: 36px 32px; background: var(--cream); color: var(--ink); box-shadow: 0 4px 2px rgba(0,0,0,.07); }
.r4-runby .dmg-tag { display: inline-flex; padding: 3px 10px; border: 1px solid rgba(0,0,0,.25); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.r4-runby .runby__logo { height: 40px; width: auto; }
.r4-runby .runby__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(32px, 3.6vw, 46px); line-height: 1; color: var(--blue); }
.r4-runby .runby__body { max-width: 52ch; font-size: 16px; line-height: 25px; color: var(--ink-70); }
.r4-runby .runby__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; width: 100%; }
.r4-runby .runby__stats > div { padding-top: 10px; border-top: 1px solid var(--ink); }
.r4-runby .runby__stats dt { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--blue); }
.r4-runby .runby__stats dd { margin: 4px 0 0; font-size: 13.5px; line-height: 19px; color: var(--ink-70); }
.r4-runby .runby__offer { display: grid; gap: 10px; justify-items: start; align-content: start; padding: 36px 32px; border-radius: 0; background: #00336f; color: #fff; }
.r4-runby .runby__offer > img { height: 20px; width: auto; margin-bottom: 8px; }
.r4-runby .runby__offer-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.r4-runby .runby__offer-title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: 34px; line-height: 1; color: var(--cream); }
.r4-runby .runby__offer-list { list-style: none; margin: 6px 0; padding: 0; width: 100%; }
.r4-runby .runby__offer-list li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 15px; color: rgba(255,255,255,.9); }
.r4-runby .runby__offer-note { font-size: 13px; color: rgba(255,255,255,.75); }
.r4-runby .dmg-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 42px; border: 1px solid rgba(0,0,0,.2); background: #fff; color: var(--ink); font: 600 16px var(--sans); text-decoration: none; }
.r4-runby .runby__offer .dmg-btn { background: var(--cream); border-color: var(--cream); color: var(--blue); }
.r4-legacy [data-theme="dark"] .tbc, .r4-runby .runby__offer .tbc { color: #ffd27a; }

/* ---- Home page (restored, Round 4 style) ---------------------------------- */
.r4-home { display: grid; gap: 56px; }
@media (min-width: 900px) { .r4-home { gap: 72px; } }
.r4-home .wrap { max-width: none; padding: 0; }
.r4-home .home-block { padding: 0; }
.r4-home .stack-6 { display: grid; gap: 24px; }
.r4-home .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.r4-home .dmg-tag { display: inline-flex; align-items: center; padding: 3px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.r4-home .dmg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 32px; border: 1px solid var(--cream); border-radius: 42px; background: var(--cream); color: var(--blue); font: 600 17px/24px var(--sans); letter-spacing: .3px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.r4-home .dmg-btn:hover { background: #fff; border-color: #fff; }
.r4-home .dmg-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.r4-home .dmg-btn--secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.r4-home .dmg-btn svg { flex: none; }
.r4-slab { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; }

/* Hero */
.hero-photo__card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; align-content: space-between; min-height: min(74vh, 660px); padding: 28px 22px 22px; border-radius: 16px; background: var(--blue-dark); color: #fff; }
.hero-photo__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,51,111,.15) 20%, rgba(0,51,111,.78)); }
.hero-photo__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
@media (min-width: 900px) { .hero-photo__card { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: end; padding: 56px; } }
.hero-photo__text { display: grid; gap: 22px; justify-items: start; }
.hero-photo__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(52px, 8vw, 112px); line-height: .9; color: var(--cream); max-width: 10ch; text-wrap: balance; }
.hero-note { display: grid; gap: 8px; justify-items: start; padding: 20px; border-radius: 12px; background: var(--cream); color: var(--ink); }
.hero-note .dmg-tag { color: var(--blue); }
.hero-note__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: 26px; line-height: 1; color: var(--blue); }
.hero-note__meta { font-size: 14px; line-height: 20px; color: var(--ink-70); }

/* Mission */
.mission__in { display: grid; justify-items: center; gap: 18px; text-align: center; }
.mission__text { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; color: var(--cream); max-width: 24ch; text-wrap: balance; }

/* Section heads */
.home-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--white-25); }
.home-head h2 { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--cream); }
.home-head p { font-size: 16px; line-height: 24px; color: var(--white-60); }

/* What's new */
.features { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dmg-feature { margin: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 12px; background: var(--cream); color: var(--ink); }
.dmg-feature__media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; }
.dmg-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.dmg-feature__media .dmg-tag { position: absolute; left: 12px; top: 12px; border-color: var(--cream); background: var(--cream); color: var(--blue); }
.features figcaption { display: grid; gap: 6px; align-content: start; padding: 18px 18px 22px; }
.dmg-feature__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: 26px; line-height: 1; color: var(--blue); }
.dmg-feature__body { font-size: 15px; line-height: 22px; color: var(--ink-70); }

/* Road to the Finals */
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .road { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .road { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.road__step { display: grid; gap: 4px; align-content: start; min-height: 150px; padding: 18px; border-radius: 12px; background: var(--cream); color: var(--ink); }
.road__step--first { background: #fff; }
.road__step--fairway { background: var(--blue-dark); color: #fff; box-shadow: inset 0 0 0 1px var(--white-25); }
.road__when { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.road__step--fairway .road__when { color: var(--cream); opacity: .8; }
.road__what { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: 24px; line-height: 1; }
.road__step:not(.road__step--fairway) .road__what { color: var(--blue); }
.road__note { margin-top: 4px; font-size: 14px; line-height: 20px; opacity: .8; }

/* Finals band */
.finals-band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: 440px; padding: 28px 22px; border-radius: 16px; background: var(--blue-dark); color: #fff; }
.finals-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,51,111,.88), rgba(0,51,111,.2)); }
@media (min-width: 900px) { .finals-band { min-height: 500px; padding: 56px; } }
.finals-band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.finals-band__text { display: grid; gap: 18px; justify-items: start; max-width: 540px; }
.finals-band__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(42px, 5.4vw, 72px); line-height: .94; color: var(--cream); text-wrap: balance; }
.finals-band__body { font-size: 17px; line-height: 26px; color: rgba(255,255,255,.88); }

/* Register CTA */
.home-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 32px clamp(22px, 4vw, 48px); border-radius: 16px; background: var(--cream); color: var(--ink); }
.home-cta > div:first-child { flex: 1 1 360px; min-width: 0; display: grid; gap: 8px; }
.home-cta__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--blue); }
.home-cta p:not(.home-cta__title) { max-width: 56ch; font-size: 16px; line-height: 24px; color: var(--ink-70); }
.home-cta__actions { display: grid; gap: 12px; justify-items: center; }
.home-cta .r4-btn--cream { background: var(--blue); border-color: var(--blue); color: #fff; }
.home-cta .r4-btn--cream:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.home-cta__link { font-size: 14px; font-weight: 600; color: var(--blue); text-underline-offset: 3px; }

/* Run by MASHIE on home: reuse the restored-page styles, with rounded cards */
.r4-home .r4-runby { margin: 0; }
.r4-home .r4-runby .runby__main, .r4-home .r4-runby .runby__offer { border-radius: 16px; }
.r4-home .r4-runby .dmg-tag { border-color: rgba(0,0,0,.25); }
.r4-home .r4-runby .runby__main .dmg-btn--secondary { background: #fff; color: var(--ink); border-color: rgba(0,0,0,.2); }
.r4-home .r4-runby .runby__offer .dmg-btn { background: var(--cream); color: var(--blue); }

/* Good questions */
.good-q { display: grid; gap: 24px; }
@media (min-width: 900px) { .good-q { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; } }
.good-q__head { display: grid; gap: 12px; }
.good-q__head h2 { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(44px, 5vw, 68px); line-height: .94; color: var(--cream); }
.good-q__head p { font-size: 16px; line-height: 24px; color: var(--white-60); }
.good-q__head a { color: #fff; text-underline-offset: 3px; }
.good-q__list { display: grid; gap: 10px; }
.q { border-radius: 12px; background: var(--cream); color: var(--ink); }
.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-size: 17px; line-height: 24px; font-weight: 600; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--field-line); border-radius: 50%; font-size: 18px; font-weight: 400; color: var(--blue); }
.q[open] summary::after { content: "\2212"; background: var(--blue); color: #fff; border-color: var(--blue); }
.q__a { padding: 0 20px 18px; }
.q__a p { font-size: 15px; line-height: 23px; color: var(--ink-70); }
.q__a a { color: var(--blue); }

/* Club form: a club that has played before */
.r4-return { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: #e9f0fa; border: 1px solid rgba(0,77,179,.2); color: var(--ink); font-size: 14px; line-height: 21px; }
.r4-return__title { font-family: var(--slab); font-weight: 900; font-stretch: 50%; font-size: 24px; line-height: 1.05; color: var(--blue); }
.r4-return strong { overflow-wrap: anywhere; }
.r4-return__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.r4-card .r4-return .r4-btn { min-height: 46px; padding: 0 24px; font-size: 16px; }
.r4-linkbtn { padding: 0; border: 0; background: none; color: var(--blue); font: 600 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.r4-hint { font-size: 13px; line-height: 19px; color: var(--ink-70); }
.r4-form [data-new][hidden], .r4-form [hidden] { display: none !important; }

/* Selects in forms look like the inputs */
.r4-field select { width: 100%; height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--field-line); border-radius: 10px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b0b0a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; color: var(--ink); font: 400 15px/19px var(--sans); }
.r4-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 77, 179, .18); }
.r4-field select[aria-invalid="true"] { border-color: #b42318; }

/* Player form: a club that isn't in the list */
.r4-newclub-toggle { display: inline-block; margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; }
.r4-newclub { display: grid; gap: 12px; margin: 4px 0 18px; padding: 18px; border: 1.5px solid var(--blue); border-radius: 14px; background: #fff; }
.r4-newclub > .r4-link { justify-self: start; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; }
.r4-list .is-none a { color: var(--blue); font-weight: 600; }

/* ---- Mobile: every page fits a phone, nothing zooms, everything is easy to tap (1 Dec 2026) ---------------- */
/* Grids can't stretch past the screen: a column with no size grows to its widest content, so give it one */
.r4-legacy .grid-2, .r4-legacy .grid-3 { grid-template-columns: minmax(0, 1fr); }
.r4-legacy .wrap, .r4-legacy .stack-3, .r4-legacy .stack-2, .r4-legacy .stack-4 { grid-template-columns: minmax(0, 1fr); }
.r4-legacy .wrap > *, .r4-legacy [class*=stack] > * { min-width: 0; }
img, svg, video, iframe { max-width: 100%; height: auto; }
/* iPhones zoom the page when a form field's text is under 16px: keep it at 16px on phones and tablets */
@media (max-width: 1024px), (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
}
/* Tap targets at least 44px high (Apple's minimum) */
.r4-logo { display: inline-flex; align-items: center; min-height: 44px; }
.r4-back { min-height: 44px; margin-bottom: 8px; }
.r4-newclub-toggle, .r4-newclub > .r4-link { min-height: 44px; display: inline-flex; align-items: center; }
.logo-story__replay { min-height: 44px; padding-inline: 14px; }
.r4-legacy .sponsor-bar__logo { display: inline-flex; align-items: center; min-height: 44px; }
.powered { font-size: 12px; }
@media (max-width: 760px) {
  .r4-legacy .draw-head { font-size: 12px; }
  /* long words and addresses wrap instead of pushing the page wider */
  .r4-card, .r4-card p, .r4-card li, .r4-card dd, .prose { overflow-wrap: anywhere; }
}
/* Phones: the card is widened 8px each side (margin-inline: -8px), so it must be allowed past 100% to stay centred */
@media (max-width: 480px) { .r4-card, .r4-card.r4-card--wide { max-width: calc(100% + 16px); } }
@media (max-width: 760px) {
  .r4-choice__eyebrow, .r4-choice__kicker, .r4-choice__tag { font-size: 12px; }
  .r4-actions .r4-link { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Buttons wrap their text rather than run off a narrow phone; and no page ever scrolls sideways */
@media (max-width: 480px) { .r4-btn { max-width: 100%; white-space: normal; height: auto; min-height: 48px; padding-block: 12px; text-align: center; line-height: 1.25; } }
html, body { overflow-x: clip; }
/* The narrowest phones (under 360px): keep the header on one line */
@media (max-width: 359px) {
  .r4-head > .r4-wrap, .r4-head__in { column-gap: 6px; padding-inline: 14px; }
  .r4-logo img { width: 92px; height: 13.5px; }
  .r4-register { padding: 0 10px; font-size: 13px; }
  .r4-signin { padding: 0 9px; font-size: 13px; }
  .r4-head .r4-burger { width: 38px; height: 38px; }
}

/* Status tags (2 Dec 2026): solid colour with white writing, as in the app */
.dmg-tag--success, .dmg-tag--warning, .dmg-tag--danger { color: #fff; }
.dmg-tag--success { background: #15803d; border-color: #15803d; }
.dmg-tag--warning { background: #b45309; border-color: #b45309; }
.dmg-tag--danger { background: #c62828; border-color: #c62828; }
.dmg-tag--success::before, .dmg-tag--warning::before, .dmg-tag--danger::before { background: #fff; }

/* Draw sponsor band: only shown when a draw has a sponsor (set in the office) */
.r4-legacy .sponsor-bar[hidden] { display: none; }
.r4-legacy .sponsor-bar__logo img { max-height: 48px; object-fit: contain; }
.r4-legacy .sponsor-bar__name { font-size: 20px; font-weight: 700; color: #fff; }

/* Scorecard tables on phones (1 Dec 2026): scores and results stay on one line, the row labels stay pinned on the
   left while the holes scroll sideways, and the spacing tightens so more holes fit */
.r4-legacy .scorecard td:not(:first-child), .r4-legacy .scorecard th:not(:first-child) { white-space: nowrap; }
.r4-legacy .scorecard .stroke { white-space: nowrap; }
@media (max-width: 640px) {
  .r4-legacy .scorecard { min-width: 0; width: max-content; font-size: 14px; }
  .r4-legacy .scorecard th, .r4-legacy .scorecard td { padding: 8px 7px; }
  .r4-legacy .scorecard th:first-child, .r4-legacy .scorecard td:first-child {
    position: sticky; left: 0; z-index: 1; background: #fff; width: 104px; min-width: 104px; max-width: 104px;
    white-space: normal; font-size: 13px; line-height: 17px; padding-right: 8px; box-shadow: 6px 0 6px -6px rgba(0,0,0,.18); }
  .r4-legacy .scorecard td:not(:first-child), .r4-legacy .scorecard th:not(:first-child) { min-width: 44px; }
  .r4-legacy .scorecard .best { border-width: 2px; border-radius: 10px; }
  .r4-legacy .scorecard .stroke { padding: 0 5px; font-size: 11px; line-height: 16px; }
}
.r4-legacy .scorecard-swipe { display: none; }
@media (max-width: 640px) { .r4-legacy .scorecard-swipe { display: block; margin-top: -4px; font-size: 13px; color: var(--ink-50); } }

/* Register: Handicap index with a + button for plus handicaps (phone number keypads have no + key) */
.r4-hi { display: flex; gap: 8px; }
.r4-hi input { flex: 1; min-width: 0; }
.r4-hi__plus { flex: none; width: 48px; height: 48px; border: 1px solid var(--field-line); border-radius: 10px; background: #fff; color: var(--blue); font: 700 22px/1 var(--sans); cursor: pointer; }
.r4-hi__plus.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.r4-hi__plus:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 77, 179, .25); }
.r4-hi-limit { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff4e0; color: #8a5300; font-size: 13.5px; line-height: 19px; }
.r4-hi-limit a { color: inherit; }
/* The + shows inside the box once the plus button is on */
.r4-hi__box { position: relative; flex: 1; min-width: 0; display: flex; }
.r4-hi__box input { flex: 1; }
.r4-hi__sign { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 600 16px/1 var(--sans); color: var(--ink); pointer-events: none; }
.r4-hi__sign[hidden] { display: none; }
.r4-field .r4-hi__box input.is-plus { padding-left: 25px; }

/* Register: the (i) beside the MASHIE switch, and the benefits it shows */
.r4-switch-row { display: flex; align-items: center; gap: 10px; }
.r4-switch-row .r4-switch { flex: 1; min-width: 0; }
.r4-info { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1.5px solid var(--blue); border-radius: 50%; background: #fff; color: var(--blue); font: italic 700 16px/1 Georgia, 'Times New Roman', serif; cursor: pointer; }
.r4-info[aria-expanded="true"] { background: var(--blue); color: #fff; }
.r4-info:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 77, 179, .25); }
.r4-info-panel { margin: -4px 0 0 64px; padding: 12px 14px; border-radius: 10px; background: #e9f0fa; font-size: 14px; line-height: 20px; color: var(--ink); }
.r4-info-panel[hidden] { display: none; }
.r4-info-panel__title { margin: 0 0 6px; font-weight: 700; }
.r4-info-panel ul { margin: 0 0 6px; padding-left: 1.2em; display: grid; gap: 3px; }
.r4-info-panel .r4-opt { margin: 0; font-size: 13px; }
@media (max-width: 480px) { .r4-info-panel { margin-left: 0; } }
