:root {
  --navy: #082d49;
  --navy-2: #0d3e60;
  --navy-3: #154f74;
  --gold: #d7b45a;
  --gold-bright: #f2d47f;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --ink: #172532;
  --muted: #64717c;
  --line: #dcd6c8;
  --green: #2d8157;
  --blue: #2d72c4;
  --shadow: 0 18px 50px rgba(8, 45, 73, 0.13);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .8rem 1rem;
  background: var(--gold-bright);
  color: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 32, 51, .96);
  color: white;
  border-bottom: 1px solid rgba(215, 180, 90, .4);
  backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: 1240px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .04em;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy small { margin-top: 4px; color: var(--gold-bright); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #eaf1f5;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 720;
}

.nav-links a:hover,
.nav-links a:focus-visible { background: rgba(255,255,255,.1); color: white; outline: none; }

.nav-live {
  border: 1px solid rgba(242, 212, 127, .75);
  color: var(--gold-bright) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  border-radius: 10px;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
}

.hero-banner {
  background: #c4d2de;
  border-bottom: 5px solid var(--gold);
}

.hero-banner img {
  width: 100%;
  height: auto;
}

.hero-strip {
  background:
    radial-gradient(circle at 87% -40%, rgba(215,180,90,.24), transparent 44%),
    linear-gradient(135deg, #06283f, var(--navy));
  color: white;
}

.hero-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 28px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-strip h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 3.3rem);
  line-height: 1.04;
  font-weight: 700;
}

.hero-strip p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #dbe8ef;
  font-size: 1.02rem;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 820;
  cursor: pointer;
}

.button-primary { background: var(--gold); color: #08253a; }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-bright); }
.button-secondary { border-color: rgba(255,255,255,.44); color: white; background: rgba(255,255,255,.06); }
.button-secondary:hover, .button-secondary:focus-visible { background: rgba(255,255,255,.14); }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover, .button-dark:focus-visible { background: var(--navy-3); }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { background: #edf4f7; }

.quick-facts {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fact {
  min-height: 96px;
  padding: 17px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 7px 24px rgba(8,45,73,.06);
}

.fact strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.1; }
.fact span { display: block; margin-top: 7px; color: var(--muted); font-size: .83rem; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }

.handbook-section { padding-top: 58px; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-card { min-height: 150px; padding: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); color: inherit; text-decoration: none; box-shadow: 0 10px 28px rgba(8,45,73,.07); transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover, .guide-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); outline: 2px solid var(--gold); outline-offset: 2px; }
.guide-number { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold-bright); font-family: Georgia, serif; font-weight: 800; }
.guide-card h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 1.35rem; }
.guide-card p { margin: 7px 0 0; color: var(--muted); font-size: .9rem; }
.guide-arrow { color: var(--gold); font-size: 1.7rem; font-weight: 800; }

.course-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.course-card { min-height: 190px; padding: 21px; display: flex; flex-direction: column; background: linear-gradient(150deg, var(--paper), #f4efe1); border: 1px solid var(--line); border-radius: var(--radius-md); color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.course-card:nth-child(1), .course-card:nth-child(2), .course-card:nth-child(3) { grid-column: span 2; }
.course-card:nth-child(4), .course-card:nth-child(5) { grid-column: span 3; }
.course-card:hover, .course-card:focus-visible { transform: translateY(-3px); border-color: var(--gold); outline: none; }
.course-round { color: #8a6722; font-size: .73rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.course-card h3 { margin: 15px 0 5px; color: var(--navy); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.1; }
.course-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.course-link { margin-top: auto; padding-top: 20px; color: var(--navy); font-size: .82rem; font-weight: 850; }

.page-hero { background: linear-gradient(135deg, #06283f, var(--navy-2)); color: white; border-bottom: 5px solid var(--gold); }
.page-hero-inner { max-width: 1180px; margin: 0 auto; padding: 58px 24px 60px; }
.breadcrumbs { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; color: #b9cad4; font-size: .82rem; }
.breadcrumbs a { color: var(--gold-bright); text-decoration: none; }
.page-hero h1 { max-width: 880px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: .98; }
.page-hero .lede { max-width: 760px; margin: 17px 0 0; color: #dce8ee; font-size: 1.08rem; }
.page-hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.page-main { max-width: 1180px; margin: 0 auto; padding: 54px 24px 86px; }
.page-intro { max-width: 800px; margin-bottom: 32px; }
.page-intro h2, .content-section h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.05; }
.page-intro p, .content-section > p { color: var(--muted); }
.content-section { margin-top: 54px; }
.content-section:first-child { margin-top: 0; }
.section-rule { height: 1px; margin: 54px 0; background: var(--line); border: 0; }

.format-list { display: grid; gap: 18px; }
.format-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(8,45,73,.06); }
.format-head { padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 20px; background: #edf3f5; border-bottom: 1px solid var(--line); }
.format-head h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 1.7rem; }
.format-head p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.format-round { padding: 7px 10px; background: var(--navy); border-radius: 999px; color: white; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.format-body { padding: 24px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; }
.format-body h3 { margin: 0 0 12px; color: var(--navy); font-size: 1rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 34px; margin: 11px 0; padding-left: 42px; color: #3d4b55; font-size: .93rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -.15rem; width: 28px; height: 28px; display: grid; place-items: center; background: var(--navy); border-radius: 50%; color: white; font-size: .73rem; font-weight: 850; }
.key-points { margin: 0; padding-left: 19px; }
.key-points li { margin: 9px 0; color: #46545e; font-size: .9rem; }
.rule-callout { margin-top: 17px; padding: 14px 16px; background: #fff5d8; border: 1px solid #e5cb77; border-radius: 10px; color: #5f4a0e; font-size: .88rem; }
.rule-callout strong { color: #443300; }
.format-jump { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.format-jump a { padding: 8px 11px; background: white; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); text-decoration: none; font-size: .78rem; font-weight: 800; }

.etiquette-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.etiquette-card { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.etiquette-card h3 { margin: 0 0 11px; color: var(--navy); font-family: Georgia, serif; font-size: 1.35rem; }
.etiquette-card p, .etiquette-card li { color: #46545e; font-size: .92rem; }
.etiquette-card ul { margin: 0; padding-left: 19px; }
.etiquette-card li { margin: 8px 0; }
.pace-board { margin: 28px 0; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); border-radius: var(--radius-lg); color: white; }
.pace-mark { padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.14); }
.pace-mark:first-child { border-left: 0; }
.pace-mark strong { display: block; color: var(--gold-bright); font-family: Georgia, serif; font-size: 1.55rem; }
.pace-mark span { display: block; margin-top: 4px; color: #cbd9e1; font-size: .76rem; font-weight: 760; text-transform: uppercase; letter-spacing: .06em; }
.gold-panel { padding: 25px; background: #fff4d0; border: 1px solid #e2c368; border-radius: var(--radius-lg); }
.gold-panel h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; }

.course-page-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(4,31,50,.98), rgba(8,45,73,.82)), url("assets/myrtle-golf-hero.png") center / cover no-repeat; }
.course-kicker { color: var(--gold-bright); font-size: .8rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.course-page-hero h1 { margin-top: 9px; }
.course-meta-line { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; }
.course-meta-line span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #edf4f7; font-size: .78rem; font-weight: 740; }
.course-stat-grid { margin-top: -30px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.course-stat { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 30px rgba(8,45,73,.1); }
.course-stat strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.1; }
.course-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.course-layout { margin-top: 46px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 30px; align-items: start; }
.course-copy h2, .course-sidebar h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; }
.course-copy h3 { margin: 26px 0 9px; color: var(--navy); font-size: 1.08rem; }
.course-copy p, .course-copy li { color: #46545e; }
.course-copy ul { padding-left: 20px; }
.course-copy li { margin: 8px 0; }
.course-sidebar { position: sticky; top: 92px; display: grid; gap: 13px; }
.info-card { padding: 19px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.info-card h3 { margin: 0 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: 1.2rem; }
.info-card p { margin: 7px 0; color: #46545e; font-size: .88rem; }
.info-card .button { width: 100%; margin-top: 8px; }
.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.strategy-card { padding: 19px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.strategy-card strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 1.12rem; }
.strategy-card p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.next-course { margin-top: 50px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.next-course a { color: var(--navy); font-weight: 820; text-decoration: none; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 24px 0;
  scroll-margin-top: 74px;
}

.section:last-of-type { padding-bottom: 84px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.section-heading p:not(.eyebrow) { max-width: 680px; margin: 12px 0 0; color: var(--muted); }

.live-shell {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.live-toolbar {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--navy);
  color: white;
}

.live-status { display: flex; align-items: center; gap: 10px; font-size: .93rem; font-weight: 780; }
.status-dot { width: 10px; height: 10px; background: #4ee28a; border-radius: 50%; box-shadow: 0 0 0 5px rgba(78,226,138,.14); }
.live-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.code-chip { padding: 8px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; color: #eaf3f7; font-size: .85rem; }
.code-chip strong { color: var(--gold-bright); letter-spacing: .08em; }
.copy-code { border: 0; background: rgba(255,255,255,.12); color: white; padding: 9px 11px; border-radius: 8px; font-weight: 750; cursor: pointer; }

.live-frame-wrap { position: relative; min-height: 650px; background: #f6f8fa; }
.live-frame { width: 100%; min-height: 650px; border: 0; background: white; }
.live-fallback { padding: 14px 20px; margin: 0; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }

.round-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.round-tab {
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.round-tab span, .round-tab small { display: block; }
.round-tab span { font-size: .76rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.round-tab small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.25; }
.round-tab[aria-selected="true"] { background: var(--navy); color: white; border-color: var(--navy); box-shadow: 0 10px 24px rgba(8,45,73,.18); }
.round-tab[aria-selected="true"] small { color: #dce7ed; }

.round-panel { display: none; }
.round-panel.active { display: block; animation: reveal .22s ease-out; }

@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.round-overview {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  border-radius: 18px 18px 0 0;
}

.round-overview h3 { margin: 0; font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.1; }
.round-overview p { margin: 8px 0 0; color: #dce9ef; font-size: .9rem; }
.round-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.round-badge { padding: 7px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #eef5f7; font-size: .78rem; font-weight: 750; }

.round-content {
  padding: 18px;
  background: rgba(255,253,248,.78);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.format-note {
  margin: 0 0 14px;
  padding: 11px 13px;
  background: #edf3f5;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: #43525e;
  font-size: .88rem;
}

.match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.match-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.match-head {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f1eee5;
  border-bottom: 1px solid var(--line);
}

.match-time { color: var(--navy); font-size: .95rem; font-weight: 880; }
.match-start { color: var(--muted); font-size: .73rem; font-weight: 720; text-transform: uppercase; letter-spacing: .07em; }
.match-body { padding: 12px; }
.teams-row { display: grid; grid-template-columns: 1fr 32px 1fr; align-items: stretch; gap: 6px; }
.match-side { padding: 9px; border-radius: 9px; }
.match-side.pirates { background: #edf6fb; }
.match-side.hunters { background: #f9f3e9; }
.side-name { margin-bottom: 5px; font-size: .67rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.pirates .side-name { color: #17618d; }
.hunters .side-name { color: #76501e; }
.player { display: flex; align-items: center; gap: 6px; min-height: 26px; font-size: .8rem; font-weight: 730; }
.versus { display: flex; align-items: center; justify-content: center; color: #8a9298; font-size: .65rem; font-weight: 900; }
.tee-dot { flex: 0 0 auto; width: 10px; height: 10px; border: 1px solid #69737b; border-radius: 50%; }
.tee-white { background: white; }
.tee-green { background: var(--green); border-color: #236846; }
.tee-blue { background: var(--blue); border-color: #1e5b9b; }
.tee-white-green { background: linear-gradient(90deg, white 0 50%, var(--green) 50%); }
.tee-white-gold { background: linear-gradient(90deg, white 0 50%, #d1a72d 50%); }
.pop { display: inline-block; margin-left: auto; padding: 2px 5px; background: white; border: 1px solid #dbe1e5; border-radius: 999px; color: #52606a; font-size: .63rem; font-weight: 850; white-space: nowrap; }
.team-pop { margin-top: 7px; display: inline-block; padding: 3px 7px; background: #fff1c2; border-radius: 999px; color: #6e5000; font-size: .66rem; font-weight: 850; }
.blind-note { margin-top: 10px; padding: 9px 10px; background: #fff6d9; border: 1px solid #ead28b; border-radius: 8px; color: #624b0b; font-size: .76rem; }

.singles-pair { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 6px; margin-top: 6px; }
.singles-pair:first-child { margin-top: 0; }
.single-player { min-height: 38px; padding: 7px 8px; display: flex; align-items: center; gap: 6px; border-radius: 8px; font-size: .77rem; font-weight: 760; }
.single-player.pirates { background: #edf6fb; }
.single-player.hunters { background: #f9f3e9; }

.tee-legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: .76rem; }
.tee-key { display: inline-flex; align-items: center; gap: 5px; }

.team-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 12px 32px rgba(8,45,73,.07); }
.team-card-head { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.team-card.pirates .team-card-head { background: linear-gradient(135deg, #0b456c, #1674a7); color: white; }
.team-card.hunters .team-card-head { background: linear-gradient(135deg, #705022, #ad7a31); color: white; }
.team-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; }
.captain { margin: 5px 0 0; color: rgba(255,255,255,.84); font-size: .86rem; }
.team-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 800; }
.roster { margin: 0; padding: 16px 24px 22px; list-style: none; columns: 2; column-gap: 20px; }
.roster li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid #ebe6d9; font-size: .91rem; font-weight: 680; }
.roster .captain-name::after { content: "C"; margin-left: 7px; display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .65rem; font-weight: 900; }

.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.room-card { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.room-card h3 { margin: 0 0 11px; color: var(--navy); font-family: Georgia, serif; font-size: 1.35rem; }
.room-card ul { margin: 0; padding: 0; list-style: none; }
.room-card li { padding: 5px 0; color: #35434d; font-size: .92rem; border-top: 1px solid #eee9df; }
.room-card li:first-child { border-top: 0; }
.room-card.featured { background: var(--navy); border-color: var(--navy); color: white; }
.room-card.featured h3 { color: var(--gold-bright); }
.room-card.featured li { color: white; border-color: rgba(255,255,255,.14); }

.lodging-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lodging-image { min-height: 360px; background: url("assets/myrtle-golf-hero.png") center / cover no-repeat; }
.lodging-copy { padding: 38px; }
.lodging-copy h3 { margin: 0; font-family: Georgia, serif; font-size: 2.15rem; }
.lodging-copy p { color: #d8e4ea; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; margin: 22px 0 26px; padding: 0; list-style: none; }
.amenities li { position: relative; padding-left: 18px; color: #eef4f7; font-size: .9rem; }
.amenities li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.logistics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.logistics-card { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); }
.logistics-card h3 { margin: 0 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: 1.25rem; }
.logistics-card p, .logistics-card li { color: #46545e; font-size: .89rem; }
.logistics-card ul { margin: 0; padding-left: 19px; }
.logistics-card li { margin: 7px 0; }
.logistics-card.highlight { background: #fff7df; border-color: #e5cb77; }

.app-card { margin-top: 16px; padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; background: #e8f0f4; border-radius: var(--radius-md); }
.app-card h3 { margin: 0; color: var(--navy); }
.app-card p { margin: 6px 0 0; color: var(--muted); }
.app-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.site-footer { margin-top: 84px; background: #041f32; color: white; border-top: 4px solid var(--gold); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 34px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 74px; height: 74px; object-fit: contain; }
.footer-brand strong { display: block; font-family: Georgia, serif; font-size: 1.25rem; }
.footer-brand span { display: block; margin-top: 4px; color: #adc0ca; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.footer-links a { color: #dce8ed; text-decoration: none; font-size: .85rem; }
.footer-links a:hover { color: var(--gold-bright); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); padding: 10px; display: none; flex-direction: column; align-items: stretch; background: #06283f; border: 1px solid rgba(215,180,90,.45); border-radius: 14px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero-strip-inner { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .round-tabs { grid-template-columns: repeat(5, 180px); overflow-x: auto; padding-bottom: 5px; }
  .team-layout { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .logistics-grid { grid-template-columns: repeat(2, 1fr); }
  .lodging-card { grid-template-columns: 1fr; }
  .lodging-image { min-height: 320px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .course-card:nth-child(n) { grid-column: span 1; }
  .course-card:last-child { grid-column: 1 / -1; }
  .course-layout { grid-template-columns: 1fr; }
  .course-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .nav-inner { min-height: 64px; padding: 0 15px; }
  .brand img { width: 44px; height: 44px; }
  .brand-copy { font-size: .9rem; }
  .hero-banner { overflow: hidden; }
  .hero-banner img { width: 136%; max-width: none; margin-left: -18%; }
  .hero-strip-inner { padding: 24px 18px 26px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .quick-facts { margin-top: 16px; padding: 0 15px; gap: 8px; }
  .fact { min-height: 82px; padding: 14px; }
  .fact strong { font-size: 1.2rem; }
  .fact span { font-size: .7rem; }
  .section { padding: 64px 15px 0; scroll-margin-top: 64px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 2rem; }
  .section-heading .button { justify-self: start; }
  .live-toolbar { align-items: flex-start; flex-direction: column; }
  .live-actions { justify-content: flex-start; }
  .live-frame-wrap, .live-frame { min-height: 610px; }
  .round-overview { grid-template-columns: 1fr; padding: 18px; }
  .round-badges { justify-content: flex-start; }
  .round-content { padding: 10px; }
  .match-grid { grid-template-columns: 1fr; }
  .teams-row, .singles-pair { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); }
  .match-side { padding: 7px; }
  .player, .single-player { font-size: .72rem; }
  .side-name { font-size: .6rem; }
  .pop { margin-left: 0; }
  .roster { columns: 1; }
  .rooms-grid, .logistics-grid { grid-template-columns: 1fr; }
  .lodging-copy { padding: 26px 20px; }
  .lodging-image { min-height: 250px; }
  .amenities { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; }
  .app-links { justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .guide-grid, .etiquette-grid, .strategy-grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: auto 1fr; }
  .guide-arrow { display: none; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card:last-child { grid-column: auto; }
  .page-hero-inner { padding: 42px 16px 44px; }
  .page-main { padding: 38px 15px 66px; }
  .format-head, .format-body { grid-template-columns: 1fr; }
  .format-round { justify-self: start; }
  .pace-board { grid-template-columns: repeat(2, 1fr); }
  .pace-mark:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .pace-mark:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .course-stat-grid { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
  .course-sidebar { grid-template-columns: 1fr; }
  .next-course { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .round-panel.active { animation: none; }
}


/* 2026 final-results archive */
.final-home { padding-top: 44px; }
.champion-card { background: linear-gradient(135deg, #082d49 0%, #124e6f 100%); color: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); border: 1px solid rgba(215,180,90,.35); }
.champion-card h2 { margin: 4px 0 14px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.3rem); }
.champion-card p:not(.eyebrow) { max-width: 760px; color: #dbe8ee; line-height: 1.65; }
.final-score { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 18px 0; font-size: 1.15rem; }
.final-score span { display: inline-flex; align-items: baseline; gap: 9px; }
.final-score strong { color: var(--gold-bright); font-family: Georgia, serif; font-size: 2rem; }
.final-score em { color: #91aebc; font-style: normal; }
.champion-pill { display: inline-block; margin-left: 7px; padding: 4px 7px; border-radius: 999px; background: #d7b45a; color: #082d49; font: 700 .62rem/1 Arial,sans-serif; text-transform: uppercase; letter-spacing: .06em; vertical-align: middle; }
.results-hero { background: linear-gradient(135deg,#061f33,#0b3b5b); }
.results-champion { padding: 0 0 30px; }
.results-champion h2 { margin: 4px 0 20px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem,4vw,3.2rem); }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.score-team { padding: 28px; background: #f4f7f8; border: 1px solid var(--line); border-radius: var(--radius-md); text-align: center; }
.score-team.champion { background: #fff8df; border-color: #d7b45a; }
.score-team span,.score-team small { display:block; }
.score-team span { color: var(--navy); font-weight: 800; }
.score-team strong { display:block; margin: 4px 0; color: var(--navy); font: 700 3.4rem/1 Georgia,serif; }
.score-team.champion strong { color: #8a6517; }
.score-team small { color: var(--muted); text-transform: uppercase; letter-spacing:.08em; font-size:.68rem; }
.score-divider { align-self:center; color:var(--muted); font-size:.7rem; font-weight:800; letter-spacing:.12em; }
.results-lede { margin: 18px 0 0; color: #46545e; font-size: 1.05rem; line-height:1.7; }
.results-section { padding-top: 56px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; box-shadow:0 8px 24px rgba(4,31,50,.06); }
.results-table { width:100%; border-collapse:collapse; min-width:680px; }
.results-table th { padding:12px 14px; text-align:left; background:#082d49; color:#fff; font-size:.75rem; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap; }
.results-table td { padding:11px 14px; border-bottom:1px solid #e5eaed; color:#33434c; font-size:.88rem; }
.results-table tbody tr:nth-child(even) td { background:#fafcfc; }
.results-table .num { text-align:right; font-variant-numeric:tabular-nums; }
.results-table .winner-cell { font-weight:800; color:#0a5b3f; background:#eff8f3!important; }
.results-table .total-row td { background:#fff4cf!important; color:#523f13; border-top:2px solid #d7b45a; }
.purse-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:14px; }
.purse-summary div { padding:18px; border-radius:var(--radius-md); background:#eaf1f4; text-align:center; }
.purse-summary strong { display:block; color:var(--navy); font:700 1.65rem/1.1 Georgia,serif; }
.purse-summary span { display:block; margin-top:5px; color:var(--muted); font-size:.75rem; }

.archive-note { margin-top:56px; padding:32px; background:#082d49; color:#fff; border-radius:var(--radius-lg); }
.archive-note h2 { margin:0 0 8px; font-family:Georgia,serif; font-size:2rem; }
.archive-note p { color:#dbe8ee; }
@media (max-width:700px){.scoreboard{grid-template-columns:1fr}.score-divider{justify-self:center}.purse-summary{grid-template-columns:repeat(2,1fr)}.champion-card{padding:24px}.results-table{min-width:620px}}


/* Final actual-pairings archive */
.results-footnote { margin: 12px 4px 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.pairing-round { margin: 0 0 28px; scroll-margin-top: 86px; }
.pairing-round-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; background:#eaf1f4; border:1px solid var(--line); border-bottom:0; border-radius:var(--radius-md) var(--radius-md) 0 0; }
.pairing-round-head span { display:block; color:var(--navy); font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; font-weight:800; }
.pairing-round-head strong { display:block; margin-top:3px; color:#344953; font-size:.92rem; }
.pairing-round .table-wrap { border-radius:0 0 var(--radius-md) var(--radius-md); }
.pairing-table td { vertical-align:top; line-height:1.65; }
.tee-chip { display:inline-block; margin-left:5px; padding:2px 6px; border:1px solid #9aa7ae; border-radius:999px; background:#fff; color:#53636c; font-size:.62rem; font-weight:800; line-height:1.2; vertical-align:middle; white-space:nowrap; }
.tee-green-chip { background:#e7f3e9; border-color:#73a77e; color:#2d6840; }
.tee-blue-chip { background:#e6f0fb; border-color:#75a4d7; color:#245c96; }
.tee-combo-chip { background:linear-gradient(90deg,#fff 0 50%,#f4e4ac 50% 100%); border-color:#c9b06b; color:#65511f; }
.tee-gold-chip { background:#f7e6ab; border-color:#c9a94b; color:#6c5316; }
.tee-wg-chip { background:linear-gradient(90deg,#fff 0 50%,#dcefdc 50% 100%); border-color:#7da982; color:#315f39; }
.match-result { font-weight:800; white-space:nowrap; }
.hunters-win { color:#7c581d!important; background:#fff8df!important; }
.pirates-win { color:#0b5f8c!important; background:#eef7fc!important; }
.halve { color:#626e75!important; background:#f4f6f7!important; }
.singles-results td[rowspan] { vertical-align:middle; border-right:1px solid #e5eaed; }
@media (max-width:700px){
  .pairing-round-head{align-items:flex-start;flex-direction:column}
  .pairing-table{min-width:760px}
}


/* Final archive cleanup */
.payout-table-wrap {
  width: 100%;
  max-width: none;
  overflow-x: visible;
}
.payout-table-wrap .results-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.payout-table-wrap .results-table th:first-child,
.payout-table-wrap .results-table td:first-child {
  width: 68%;
}
.payout-table-wrap .results-table th:last-child,
.payout-table-wrap .results-table td:last-child {
  width: 32%;
  text-align: right;
}
@media (max-width:700px){
  .payout-table-wrap .results-table {
    min-width: 0;
  }
}


/* Payout ledger full-width hard override */
.results-section#payouts .payout-table-wrap,
#payouts .payout-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}
.results-section#payouts .payout-table-wrap .results-table,
#payouts .payout-table-wrap .results-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}
