/* Courses and course detail on the dusk ground (docs/DUSK-ROLLOUT-PLAN.md §4). Our own drawn maps are the pictures. */

/* The one raised card: the nearest (or most-played) course, its hole 1 drawn as the picture. */
.cl-hero { margin-top: 18px; overflow: hidden; cursor: pointer; }
.cl-map { position: relative; aspect-ratio: 1.9 / 1; background: #1B3A27; overflow: hidden; }
.cl-hero-svg { display: block; width: 100%; height: 100%; }
.cl-map.empty { background: linear-gradient(135deg, #1B3A27, #13331F); }
.cl-crest { position: absolute; left: 12px; bottom: 12px; }
.cl-cap { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 14px 14px 16px 16px; }
.cl-k { margin: 0 0 4px; font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #46584D; }
.cl-name { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; font-variation-settings: "opsz" 144; color: #10241A; }
.cl-meta { margin: 4px 0 0; font-size: 14px; color: #46584D; }
.cl-go { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: #10281B; color: #fff; font: 700 15px/1 var(--sans); }
.cl-go .ico { width: 18px; height: 18px; }

/* Province bands: the colour fades in from the left, the shield stands on the band's top edge. */
.cl-band { margin-top: 38px; }
.cl-bh { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 16px 0 88px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cl-shield { position: absolute; left: 16px; top: -22px; width: 56px; height: 56px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.cl-shield svg { width: 56px; height: 56px; }
.cl-shield-none { display: none; }
.cl-band:has(.cl-shield-none) .cl-bh { padding-left: 16px; }
.cl-bn { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.cl-bt { font-family: var(--serif); font-size: 22px; line-height: 1.1; font-variation-settings: "opsz" 144; color: #fff; }
.cl-bs { font-size: 13px; color: rgba(255, 255, 255, .62); }
.cl-band .list, .cl-flat { margin-top: 6px; }

/* Rows: a 44 px drawn map of hole 1, name, town, chevron. */
.cl-row { gap: 14px; }
.cl-row .t { font-size: 17px; }
.cl-row .chev { color: rgba(255, 255, 255, .5); }
.cl-row .mini { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.mini-hole { display: block; }
.mini-none { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.cl-credit { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* Course detail. */
.cd-title { font-size: 24px !important; text-align: center; line-height: 1.1; }
.cd-hero { position: relative; aspect-ratio: 4 / 3; max-height: 62vh; background: #1B3A27; overflow: hidden; }
.cd-hero .cl-hero-svg { position: absolute; inset: 0; }
/* The photo melts into the green page at the foot, so the course name and crest sit on calm ground. */
.cd-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(16, 40, 27, .55) 0, rgba(16, 40, 27, 0) 22%, rgba(16, 40, 27, 0) 58%, #10281B 100%); }
.cd-hero.none { aspect-ratio: auto; min-height: 120px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.cd-crest { position: absolute; left: 16px; bottom: 12px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.cd-hero.none .cd-crest { position: static; }
.cd-sub { margin: 6px 0 14px; }
.cd-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.cd-actions .btn:nth-child(3) { grid-column: 1 / -1; }
.cd-tees { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.screen.dusk .tee { background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); border-radius: 0; padding: 10px 2px; color: #fff; }
.screen.dusk .tee .sw { width: 14px; height: 14px; border: 1px solid rgba(255, 255, 255, .45); }
.screen.dusk .tee .r { color: rgba(255, 255, 255, .62); }
.screen.dusk .tee .r b { color: #fff; font-size: 20px; }
.screen.dusk .cardwrap { margin: 0; padding: 4px 8px 8px; }
.screen.dusk .card th, .screen.dusk .card td { border-bottom-color: rgba(255, 255, 255, .12); color: #fff; font-family: var(--serif); font-variant-numeric: tabular-nums; }
.screen.dusk .card th { font-family: var(--sans); color: rgba(255, 255, 255, .62); }
.screen.dusk .card td.lab, .screen.dusk .card th.lab { position: sticky; left: 0; background: #1A3B28; z-index: 1; font-family: var(--sans); color: rgba(255, 255, 255, .7); }
.screen.dusk .card td.quiet { color: rgba(255, 255, 255, .62); }
.screen.dusk .card .tot { background: rgba(255, 255, 255, .08); }
.cd-bar { display: inline-block; width: 3px; height: 12px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
.screen.dusk .cl-hero .cl-name { color: #10241A; }
.screen.dusk .card td.lab { white-space: nowrap; }

/* Folded bands: a stack of coloured headers, each opens on tap. */
details.cl-band > summary { list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
details.cl-band > summary::-webkit-details-marker { display: none; }
.cl-bh { padding-right: 12px; }
.cl-chev { flex: none; margin-left: auto; color: rgba(255, 255, 255, .62); transition: transform 160ms ease-out; }
details.cl-band[open] > summary .cl-chev { transform: rotate(90deg); }
.cl-band { margin-top: 34px; }
@media (prefers-reduced-motion: reduce) { .cl-chev { transition: none; } }

/* The little hole beside "Courses", in 3D (a moving favicon, like the Stats chart). */
.cl-top { justify-content: flex-start; gap: 8px; }
.cl-top .btn { margin-left: auto; }
.cl-mark { flex: none; width: 58px; height: 43px; margin-top: 2px; overflow: visible; }
.cl-mark .cm-shadow { fill: #000; opacity: .45; }
.cl-mark .cm-rock { fill: url(#cmRock); }
.cl-mark .cm-soil { fill: url(#cmSoil); }
.cl-mark .cm-top { fill: url(#cmGrass); }
.cl-mark .cm-gr { filter: drop-shadow(0 .5px .4px rgba(0, 40, 15, .5)); }
.cl-mark .cm-rim { fill: none; stroke: #A6E2B3; stroke-width: .7; opacity: .55; stroke-linecap: round; }
.cl-mark .cm-fw { fill: none; stroke: #2A6B3E; stroke-width: 5; stroke-linecap: round; opacity: .9; }
.cl-mark .cm-fw2 { fill: none; stroke: #9BE0AA; stroke-width: 2.6; stroke-linecap: round; opacity: .85; }
.cl-mark .cm-tee { fill: #A3E0B0; }
.cl-mark .cm-bk { fill: #EFE3BE; stroke: #C9B88A; stroke-width: .4; }
.cl-mark .cm-gr { fill: url(#cmGreen); stroke: #D8F5DE; stroke-width: .6; }
.cl-mark .cm-pinshadow { stroke: #0B2414; stroke-width: .9; stroke-linecap: round; opacity: .35; }
.cl-mark .cm-pin { stroke: #F3EEE2; stroke-width: .8; stroke-linecap: round; }
.cl-mark .cm-flag { fill: #E5484D; transform-box: fill-box; transform-origin: 0% 50%; animation: clm-flutter 2.6s ease-in-out 2.4s infinite; }
.cl-mark .cm-ball { fill: #fff; opacity: 0; filter: drop-shadow(0 .4px .6px rgba(0, 0, 0, .55)); animation: clm-in 1ms linear 1100ms forwards, clm-out 250ms ease-in 2.2s forwards; }
.cl-mark .cm-island { animation: clm-bob 4.5s ease-in-out 2.6s infinite; }
.cl-mark.anim .cm-island { opacity: 0; transform: translateY(5px); animation: clm-rise 650ms cubic-bezier(.16, 1, .3, 1) 50ms forwards, clm-bob 4.5s ease-in-out 2.6s infinite; }
.cl-mark.anim .cm-shadow { opacity: 0; animation: clm-shadow 650ms ease-out 50ms forwards; }
.cl-mark.anim .cm-fw, .cl-mark.anim .cm-fw2 { stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: clm-draw 650ms cubic-bezier(.65, 0, .35, 1) 450ms forwards; }
.cl-mark.anim .cm-tee, .cl-mark.anim .cm-bk { opacity: 0; animation: clm-in 300ms ease-out 800ms forwards; }
.cl-mark.anim .cm-gr { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: clm-pop 450ms cubic-bezier(.34, 1.56, .64, 1) 750ms forwards; }
.cl-mark.anim .cm-pin, .cl-mark.anim .cm-pinshadow, .cl-mark.anim .cm-flag { opacity: 0; }
.cl-mark.anim .cm-pin { animation: clm-in 200ms ease-out 1000ms forwards; }
.cl-mark.anim .cm-pinshadow { animation: clm-shade 200ms ease-out 1000ms forwards; }
.cl-mark.anim .cm-flag { animation: clm-in 200ms ease-out 1050ms forwards, clm-flutter 2.6s ease-in-out 2.4s infinite; }
@keyframes clm-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes clm-shadow { to { opacity: .45; } }
@keyframes clm-shade { to { opacity: .35; } }
@keyframes clm-draw { to { stroke-dashoffset: 0; } }
@keyframes clm-in { to { opacity: 1; } }
@keyframes clm-out { to { opacity: 0; } }
@keyframes clm-pop { to { transform: scale(1); } }
@keyframes clm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2px); } }
@keyframes clm-flutter { 0%, 100% { transform: scaleX(1) skewY(0deg); } 50% { transform: scaleX(.86) skewY(-6deg); } }
@media (prefers-reduced-motion: reduce) {
  .cl-mark *, .cl-mark.anim * { animation: none !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .cl-mark.anim .cm-island, .cl-mark.anim .cm-tee, .cl-mark.anim .cm-bk, .cl-mark.anim .cm-pin, .cl-mark.anim .cm-flag { opacity: 1 !important; }
  .cl-mark .cm-ball { display: none; }
}

/* The 3D course tile beside "Courses" (demo only: COURSE_TILE_ICON). Drops in once, then floats very gently. */
.cl-tile { flex: none; align-self: center; width: 58px; height: auto; margin-top: 12px; filter: brightness(1.35) saturate(1.25) contrast(1.06) drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); animation: clt-float 5s ease-in-out 1.2s infinite; }
.cl-tile.anim { opacity: 0; transform: translateY(-8px) scale(.92); animation: clt-in 700ms cubic-bezier(.16, 1, .3, 1) 80ms forwards, clt-float 5s ease-in-out 1.2s infinite; }
@keyframes clt-in { to { opacity: 1; transform: none; } }
@keyframes clt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@media (prefers-reduced-motion: reduce) { .cl-tile, .cl-tile.anim { animation: none; opacity: 1; transform: none; } }
/* the map credit, cut to one quiet line (Luke, 2026-10-12); the full wording is in Me → Credits */
.cl-credit { margin: 18px 0 0; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .4); }

/* Courses hero: the whole course as a vivid aerial photo (Luke, 2026-10-12, option 1), shaded only at the bottom edge. */
.cl-map .cl-aerial { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 400ms ease-out; }
.cl-map .cl-aerial.on { opacity: 1; }
.cl-map .cl-aerial img { position: absolute; max-width: none; filter: saturate(1.55) contrast(1.12) brightness(1.03); }
.cl-map .cl-aerial::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 26, 20, 0) 55%, rgba(5, 26, 20, .35)); }
.cl-map .cl-crest { z-index: 2; }

/* Courses round two (Luke, 2026-10-12): filter chips, recently played, distances, photo thumbnails with a 3D badge, photo strips
   behind the provinces. Photos are satellite tiles centred on each course and load only when on screen. */
.cl-chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cl-chips::-webkit-scrollbar { display: none; }
.cl-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font: 600 14px/1 var(--sans, system-ui); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 150ms ease-out, transform 150ms ease-out; }
.cl-chip:active { transform: scale(.97); }
.cl-chip .ico { width: 16px; height: 16px; }
.cl-chip.on { background: #F4EFE4; border-color: #F4EFE4; color: #10281B; }
.cl-chip:focus-visible { outline: 2px solid #E6C98A; outline-offset: 2px; }
.cl-3d-mini { font: 800 10px/1 var(--sans, system-ui); padding: 3px 4px; border-radius: 4px; background: #E6C98A; color: #10281B; letter-spacing: .02em; }
.cl-sec { margin: 22px 0 10px; font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.cl-recent { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 4px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cl-recent::-webkit-scrollbar { display: none; }
.cl-rc { flex: none; width: 168px; scroll-snap-align: start; display: grid; gap: 3px; padding: 0 0 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .06); color: #fff; text-align: left; font: inherit; cursor: pointer; overflow: hidden; clip-path: inset(0 round 16px); }
.cl-rc:active { transform: scale(.98); }
.cl-rc-pic { position: relative; display: block; height: 92px; background: #1B3A27; overflow: hidden; margin-bottom: 6px; }
.cl-rc-t { padding: 0 12px; font-size: 15px; font-weight: 650; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-rc-s { padding: 0 12px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.cl-spot { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 300ms ease-out; }
.cl-spot.on { opacity: 1; }
.cl-spot img { position: absolute; max-width: none; filter: saturate(1.5) contrast(1.1) brightness(1.04); }
.cl-row .mini { position: relative; overflow: hidden; }
.cl-row .mini.pic { width: 52px; height: 52px; border-radius: 12px; border-color: rgba(255, 255, 255, .25); }
.cl-3d { position: absolute; right: 4px; bottom: 4px; z-index: 2; font: 800 10px/1 var(--sans, system-ui); padding: 3px 4px; border-radius: 4px; background: #E6C98A; color: #10281B; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.cl-rc-pic .cl-3d { right: 8px; bottom: 8px; font-size: 11px; padding: 4px 6px; }
.cl-km { color: #E6C98A; font-weight: 600; }
/* province bands: a photo of one of its courses behind the colour */
.cl-bh { position: relative; isolation: isolate; }   /* no overflow clip: the shield stands above the band edge */
.cl-bh-pic { position: absolute; inset: 0; z-index: -2; }
.cl-bh-pic .cl-spot img { filter: saturate(1.3) brightness(.85); }
.cl-bh::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--tint) 0%, rgba(13, 33, 23, .7) 45%, rgba(13, 33, 23, .35) 100%); }
.cl-recent { scroll-padding-inline: 16px; }   /* first card sits on the page margin, not cut by the edge */
.cl-chip { padding: 0 12px; font-size: 13.5px; gap: 5px; }
/* Filter chips: always all three in full, side by side, never scrolled or cut at the screen edge (Luke, 2026-10-12). */
.cl-chips { display: grid; grid-template-columns: auto auto auto; justify-content: start; gap: 6px; overflow: visible; }
.cl-chip { min-width: 0; justify-content: center; padding: 0 11px; font-size: clamp(12px, 3.4vw, 13.5px); white-space: nowrap; }
@media (max-width: 370px) { .cl-chip .ico, .cl-chip .cl-3d-mini { display: none; } }

/* the contour lines behind the page, as on Stats (layer made in courses.js backdrop(); look from stats-story.css .st-bg) */
.screen.dusk.cl-bg { position: relative; isolation: isolate; }
.screen.dusk.cl-bg > :not(.st-bg) { position: relative; z-index: 1; }

/* the club's logo leads each row of the course list (Luke, 2026-10-19); courses without one yet keep the little map */
.cl-row .cl-logo { flex: none; display: grid; place-items: center; width: 52px; }
.cl-row .cl-logo .crest { width: 48px; height: 48px; }
.cl-row .cl-3d-tag { font: 700 10px/1 var(--sans); letter-spacing: .08em; color: #7CF0B0; }
/* The ground behind the page: terraces under the contour lines, both exactly the size of the page and clipped to it, so nothing can run off sideways. */
.screen.dusk.cl-bg > .cl-bgmap { --st-bg-tail: 0px; overflow: hidden; contain: paint; }
.cl-bgmap .st-bg-map { inset: 0; background-size: 124% auto; background-position: 50% 0; }
.cl-bgmap .cl-terr { opacity: .92; }
.cl-bgmap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 20, .35), rgba(10, 30, 20, 0) 30%, rgba(10, 30, 20, .25)); }
/* and the page itself never pans sideways: only the rows meant to slide (chips, recent courses) do */
html:has(.screen.cl-bg), html:has(.screen.cl-bg) body { overflow-x: clip; }
.screen.dusk.cl-bg { overflow-x: clip; touch-action: pan-y; }
.screen.dusk.cl-bg .cl-chips, .screen.dusk.cl-bg .cl-recent { touch-action: pan-x pan-y; }

/* ════ Black contour glass on Courses (Luke, 2026-10-20): behind the filter buttons, behind Recently played, under the pictures on the recent
   cards and under the Nearest card. The lines are the same course heights as the page, cut in as black grooves (--cl-dark, made in backdrop()). */
.cl-chip:not(.on), .cl-rc {
  background-color: #070A09;
  background-image: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 34%), var(--cl-dark, none), linear-gradient(180deg, #1B221F 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0; }
.cl-chip:not(.on) { border-color: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); background-position: 0 0, center top, 0 0; }
.cl-recent-band { margin: 22px 0 0; padding: 0 0 16px; background: none; border: 0; box-shadow: none; }   /* no band: the cards float on the page's green contours (Luke, 2026-10-20) */
.cl-recent-band .cl-sec { display: inline-block; margin: 14px 0 12px 16px; padding: 7px 13px; border-radius: 999px; color: #fff; font-weight: 750;
  background: rgba(8, 28, 18, .6); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }   /* only the words get a backing, so they read over the lines */
.cl-recent-band .cl-recent { margin: 0; }   /* the first card sits on the page margin */
/* the recent cards: picture on top, the name and date on their own black contour glass */
.cl-rc { gap: 0; padding: 0; background-position: 0 0, center bottom, 0 0; }
.cl-rc-pic { margin-bottom: 0; }
.cl-rc-t { padding: 10px 12px 3px; }
.cl-rc-s { padding: 0 12px 11px; }
/* the Nearest card: the strip under the picture is white ridged glass with white contour lines (Luke, 2026-10-20), dark writing */
.screen.dusk .cl-hero .cl-cap { padding: 16px 14px 18px 16px; background-color: #ECF0ED;
  background-image: linear-gradient(118deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%), var(--cl-white, none), linear-gradient(180deg, #FAFBFA 0%, #DCE3DF 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center bottom, 0 0; }
.screen.dusk .cl-hero .cl-k { color: #2F4338; font-weight: 750; }
.screen.dusk .cl-hero .cl-name { color: #10241A; }
.screen.dusk .cl-hero .cl-meta { color: #1E3328; font-weight: 600; }
.screen.dusk .cl-hero .cl-go { background: #10281B; color: #fff; }

/* Soft olive scrim behind the course writing, fading out to the right so the contour lines still show (Luke, 2026-10-23: "soft scrim"). */
.list > .item.cl-row { background: linear-gradient(90deg, rgba(24, 50, 30, .94) 0%, rgba(24, 50, 30, .88) 58%, rgba(24, 50, 30, .34) 100%); border-radius: 16px; margin: 6px 0; padding: 10px 12px; border-top: 0; }
.cl-band .list, .cl-flat { border-top: 0; }

/* ════ The three columns (Luke, 2026-10-24): PGA on top in the PGA TOUR's navy, red and white; South Africa on its flag; International
   on a wall of flags. Each column is one drop-down: inside are its countries (South Africa: provinces, then towns), then the courses. ════ */
.cl-cols { max-width: 560px; margin: 30px auto 0; padding: 0 12px; display: grid; gap: 18px; }
.cl-col { position: relative; isolation: isolate; border-radius: 24px; overflow: clip; background: var(--col-bg, #0C2318);
  box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .9), 0 6px 14px -8px rgba(0, 0, 0, .5); }
.cl-col::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .24); }
details.cl-col > summary { list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
details.cl-col > summary::-webkit-details-marker { display: none; }
/* The three heads are one size and one layout (Luke, 2026-10-24): 112 px tall; the left 100 px holds each column's mark (the PGA TOUR
   logo, the flag's hoist, the wall of flags); the name starts at 100 px centred on the middle line, the count centred in the lower
   third (on the flag: the green band and the blue band); the arrow centred on the right. */
.cl-ch { position: relative; isolation: isolate; display: block; height: 112px; overflow: hidden; }
.cl-ch-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cl-ch-art::after { content: ''; position: absolute; inset: 0; }   /* each column's shade, so the writing reads over its art */
.cl-cbadge { position: absolute; left: 0; top: 0; bottom: 0; width: 100px; display: grid; place-items: center; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.cl-cn { position: absolute; top: 0; bottom: 0; left: 100px; right: 58px; }
.cl-ct, .cl-cs { position: absolute; left: 0; right: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateY(-50%); }
.cl-ct { top: 50%; padding-top: .06em; font-family: var(--serif); font-size: clamp(28px, 8.7vw, 34px); line-height: 1.15; font-variation-settings: "opsz" 144; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.cl-cs { top: 83.3%; font-size: 13px; font-weight: 650; line-height: 1.3; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .65); }
.cl-ch .cl-chev { position: absolute; right: 14px; top: calc(50% - 17px); width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
details.cl-col[open] > summary .cl-chev { transform: rotate(90deg); }
/* small phones (iPhone SE and narrower): a slimmer mark zone and type so every name and count fits whole; the flag's arms still meet at 84 px */
@media (max-width: 370px) {
  .cl-cbadge { width: 84px; }
  .cl-cn { left: 84px; right: 52px; }
  .cl-ct { font-size: 27px; }
  .cl-cs { font-size: 12px; letter-spacing: 0; }
  .cl-ch .cl-chev { right: 10px; }
}
details.cl-col[open] > .cl-ch::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--col-rule, rgba(255, 255, 255, .2)); }
.cl-cb { padding: 4px 10px 16px; }
.cl-col .cl-band .list { margin-top: 6px; }

/* PGA: PGA TOUR navy with a red and white sash, the logo as its crest; navy pinstripe inside, every course row edged in red. */
.cl-col-pga { --nat-rgb: 0 40 88; --col-rule: linear-gradient(180deg, #fff 0 1px, #E6000A 1px);
  --col-bg: repeating-linear-gradient(112deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 10px), linear-gradient(180deg, #003366 0%, #00285A 40%, #001B40 100%); }
.cl-col-pga .cl-ch-art { background:
  repeating-linear-gradient(112deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 10px),
  radial-gradient(130% 170% at 0% 0%, #0B4C93 0%, #00386E 45%, #00234D 100%); }
/* the sash keeps to the right, beside the arrow, clear of the writing on any width */
.cl-col-pga .cl-ch-art::before { content: ''; position: absolute; top: -12px; bottom: -12px; right: 40px; width: 38px; transform: skewX(20deg);
  background: linear-gradient(90deg, #fff 0 3px, #E6000A 3px 25px, #fff 25px 28px, transparent 28px 33px, rgba(255, 255, 255, .55) 33px 35px, transparent 35px);
  box-shadow: -6px 0 18px rgba(0, 0, 0, .25); }
.cl-col-pga .cl-ch-art::after { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .2)); }
.cl-pga-logo { display: block; width: 52px; height: auto; }
.cl-globe { display: block; width: 54px; height: 54px; }
.cl-col-pga .list > .item.cl-row { position: relative; background: linear-gradient(90deg, rgba(0, 32, 74, .97) 0%, rgba(0, 32, 74, .9) 60%, rgba(0, 32, 74, .55) 100%); }
.cl-col-pga .list > .item.cl-row::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: #E6000A; }

/* LIV Golf: LIV's own greens (livgolf.com: dark green #094C24, near-black green #142217, bright green #00E36D), the monogram on a white tile, every course row edged in the bright green. */
.cl-col-liv { --nat-rgb: 10 34 20; --col-rule: linear-gradient(90deg, transparent, #007836 15%, #00E36D 50%, #007836 85%, transparent);
  --col-bg: repeating-linear-gradient(112deg, rgba(0, 227, 109, .035) 0 1px, transparent 1px 10px), linear-gradient(180deg, #0E3A1E 0%, #0A2212 55%, #07160C 100%); }
.cl-col-liv .cl-ch-art { background: repeating-linear-gradient(112deg, rgba(0, 227, 109, .06) 0 1px, transparent 1px 10px),
  radial-gradient(130% 170% at 0% 0%, #0F5A2B 0%, #094C24 45%, #07260F 100%); }
.cl-col-liv .cl-ch-art::after { background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .25)); }
.cl-liv-logo { display: grid; place-items: center; width: 44px; height: 56px; border-radius: 7px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.cl-liv-logo img { display: block; width: 24px; height: auto; }
.cl-col-liv .list > .item.cl-row { position: relative; background: linear-gradient(90deg, rgba(8, 30, 17, .97) 0%, rgba(8, 30, 17, .9) 60%, rgba(8, 30, 17, .55) 100%); }
.cl-col-liv .list > .item.cl-row::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: #00E36D; }

/* South Africa: the whole flag is the head, centred top to bottom; the name on its green band, the count in white on the blue. */
.cl-col-za { --col-rule: linear-gradient(90deg, #000 0 10%, #FFB81C 10% 16%, #007749 16% 46%, #fff 46% 50%, #E03C31 50% 75%, #001489 75%);
  --col-bg: radial-gradient(110% 600px at 100% 0%, rgba(224, 60, 49, .26), transparent 70%), radial-gradient(110% 600px at 0% 100%, rgba(0, 20, 137, .4), transparent 70%),
    linear-gradient(155deg, transparent 30%, rgba(0, 119, 73, .2) 48%, rgba(255, 184, 28, .07) 52%, transparent 68%), linear-gradient(180deg, #0D2619 0%, #0A1D14 100%); }
.cl-saflag { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.cl-col-za .cl-ch-art::after { background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 25, .28)); }
.cl-col-za .cl-ct { text-shadow: 0 2px 10px rgba(0, 30, 15, .65); }
.cl-col-za .cl-cs { text-shadow: 0 1px 6px rgba(0, 0, 30, .75); }
.cl-cols { grid-template-columns: minmax(0, 1fr); }   /* no column can push the page wider than the phone */
.cl-col-za .cl-cb { padding-top: 0; }
.cl-col .cl-band:not(.cl-nat):not(.cl-place) > .cl-bh { border-top: 0; border-radius: 16px; }
.cl-col .cl-bh-pic, .cl-col .cl-band > .cl-bh::before { border-radius: 16px; overflow: hidden; }

/* International: a wall of flags drifting slowly behind the head, the same wall faint behind every country. */
.cl-col-intl { --nat-rgb: 10 24 18; --col-rule: linear-gradient(90deg, #E03C31, #FFB81C 25%, #2FA84F 50%, #1E88E5 75%, #E6C98A);
  --col-bg: linear-gradient(180deg, rgba(8, 19, 14, .84), rgba(8, 19, 14, .92)), url("/img/flag-wall.webp") 0 0 / 324px auto repeat; }
.cl-wall { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 324px); background: url("/img/flag-wall.webp") 0 0 / 324px auto repeat;
  animation: cl-drift 48s linear infinite; will-change: transform; }
@keyframes cl-drift { to { transform: translateX(-324px); } }
/* a lighter shade round the globe, the deepest under the writing, lifting again toward the arrow so the flags still read */
.cl-col-intl .cl-ch-art::after { background: linear-gradient(90deg, rgba(5, 13, 9, .5) 0, rgba(5, 13, 9, .58) 70px, rgba(5, 13, 9, .9) 112px, rgba(5, 13, 9, .84) 62%, rgba(5, 13, 9, .32) 100%),
  linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .25)); }
.cl-col-intl .list > .item.cl-row { background: linear-gradient(90deg, rgba(10, 24, 18, .97) 0%, rgba(10, 24, 18, .92) 60%, rgba(10, 24, 18, .6) 100%); }
@media (prefers-reduced-motion: reduce) { .cl-wall { animation: none; } }

/* A country: its flag as the badge and washed in from the left under the column's colour. */
.cl-col .cl-nat { margin-top: 10px; }
.cl-nat > .cl-bh { min-height: 64px; padding: 0 10px 0 12px; gap: 14px; border: 0; border-radius: 16px; overflow: hidden;
  background: rgb(var(--nat-rgb) / .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); }
.cl-nat > .cl-bh::before { background: var(--flag) left center / 64% auto no-repeat; opacity: .6;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 30%, transparent 64%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 30%, transparent 64%); }
.cl-nat .cl-shield { position: relative; left: auto; top: auto; width: 48px; height: 36px; flex: none; border-radius: 6px; overflow: hidden; filter: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .28); }
.cl-nat .cl-shield::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .16)); }
.cl-flag { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-nat .cl-bn { padding-top: 0; }
.cl-nat .cl-bt { font-size: 20px; }

/* A town inside a province: a slim bar in the province's colour, a pin, the name and how many courses. */
.cl-towns { padding: 8px 0 2px 12px; }
.cl-towns .cl-place { margin-top: 6px; }
.cl-place > .cl-bh { min-height: 48px; padding: 0 8px 0 12px; gap: 10px; border: 0; border-radius: 12px;
  background: linear-gradient(90deg, var(--tint) 0%, rgba(255, 255, 255, .05) 72%); box-shadow: inset 3px 0 0 var(--pc), inset 0 0 0 1px rgba(255, 255, 255, .09); }
.cl-place > .cl-bh::before { display: none; }
.cl-place .cl-shield { position: static; width: auto; height: auto; flex: none; filter: none; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.cl-place .cl-shield .cl-pin { width: 18px; height: 18px; }
.cl-place .cl-bn { flex-direction: row; align-items: baseline; gap: 8px; padding-top: 0; min-width: 0; }
.cl-place .cl-bt { font-family: var(--sans); font-size: 16px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-place .cl-bs { font-size: 12.5px; white-space: nowrap; }
.cl-place .cl-chev { width: 18px; height: 18px; }
.cl-place .list { padding-left: 4px; }

/* ════ Black leather on Courses (Luke, 2026-10-24): the search bar, the filter buttons, the Recently played cards and the Nearest card's
   writing strip are black leather with gold stitching, the same hide as the hole-in-one card. The four group bars (PGA, LIV Golf,
   South Africa, International) and the course rows inside them keep their own looks. ════ */
.screen.dusk .input#q { background-color: #0A0A09; color: #F3E4BD; border: 0; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), 0 6px 14px -6px rgba(0, 0, 0, .6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"), radial-gradient(130% 90% at 20% -10%, rgba(255, 255, 255, .16), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)),
    radial-gradient(150% 130% at 50% 50%, transparent 55%, rgba(0, 0, 0, .5)),
    url("/img/leather-grain.webp"),
    radial-gradient(120% 140% at 15% 0%, #34322E 0%, #1A1917 48%, #0A0A09 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat; background-size: 20px 20px, auto, auto, auto, 300px 300px, auto;
  background-position: 16px 50%, 0 0, 0 0, 0 0, 0 0, 0 0; background-blend-mode: normal, normal, normal, normal, overlay, normal; }
.screen.dusk .input#q::placeholder { color: rgba(243, 228, 189, .6); }
.cl-chip:not(.on), .cl-chip.on, .cl-rc {
  background-color: #0A0A09; color: #F3E4BD; border: 0; position: relative;
  background-image: radial-gradient(130% 90% at 20% -10%, rgba(255, 255, 255, .16), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)),
    radial-gradient(150% 130% at 50% 50%, transparent 55%, rgba(0, 0, 0, .5)),
    url("/img/leather-grain.webp"),
    radial-gradient(120% 140% at 15% 0%, #34322E 0%, #1A1917 48%, #0A0A09 100%);
  background-size: auto, auto, auto, 300px 300px, auto; background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat; background-position: 0 0;
  background-blend-mode: normal, normal, normal, overlay, normal; }
.cl-chip:not(.on) { box-shadow: 0 3px 8px rgba(0, 0, 0, .5); }
.cl-chip.on { color: #E6C98A; box-shadow: inset 0 0 0 1.5px #E6C98A, 0 3px 8px rgba(0, 0, 0, .5); }
.cl-rc { box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.cl-rc::after { content: ""; position: absolute; inset: 4px; z-index: 3; border: 1.5px dashed rgba(246, 214, 160, .75); border-radius: 12px; pointer-events: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)); }
.cl-rc-t { color: #F3E4BD; }
.cl-rc-s { color: rgba(243, 228, 189, .65); }
.screen.dusk .cl-hero .cl-cap { position: relative; background-color: #0A0A09; background-image: radial-gradient(130% 90% at 20% -10%, rgba(255, 255, 255, .16), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)),
    radial-gradient(150% 130% at 50% 50%, transparent 55%, rgba(0, 0, 0, .5)),
    url("/img/leather-grain.webp"),
    radial-gradient(120% 140% at 15% 0%, #34322E 0%, #1A1917 48%, #0A0A09 100%);
  background-size: auto, auto, auto, 300px 300px, auto; background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat; background-position: 0 0;
  background-blend-mode: normal, normal, normal, overlay, normal; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .55); }
.screen.dusk .cl-hero .cl-cap::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(246, 214, 160, .75); border-radius: 10px; pointer-events: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)); }
.screen.dusk .cl-hero .cl-k { color: #E6C98A; }
.screen.dusk .cl-hero .cl-name { color: #F3E4BD; text-shadow: 0 -1px 0 rgba(0, 0, 0, .5); }
.screen.dusk .cl-hero .cl-meta { color: rgba(243, 228, 189, .75); font-weight: 500; }
.screen.dusk .cl-hero .cl-go { position: relative; z-index: 1; background: linear-gradient(#F0D9A0, #D9B86C); color: #10281B; box-shadow: 0 2px 6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }

/* ════ The Courses dashboard (Luke, 2026-10-25): one big leather banner holding Near me / Has 3D / Played before and Recently played, a recessed
   black-contour inlay inside a thick leather rim. PGA and South Africa heads are leather too. ════════════════════════════════════════════ */
.cl-dash { position: relative; isolation: isolate; margin-top: 14px; padding: 26px 24px 22px; border-radius: 22px; color: #fff; background-color: #0A0A09;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3)),
    url("/img/leather-grain.webp"),
    linear-gradient(180deg, #1B1A18, #0E0E0D);
  background-size: auto, 300px 300px, auto; background-repeat: no-repeat, repeat, no-repeat; background-position: 0 0; background-blend-mode: normal, overlay, normal;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -2px 3px rgba(0, 0, 0, .5); }
.cl-dash::before { content: ""; position: absolute; inset: 12px; z-index: -1; border-radius: 14px; pointer-events: none; background-color: #070A09;
  background-image: linear-gradient(118deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 34%), var(--cl-dark, none), linear-gradient(180deg, #151A18 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0;
  box-shadow: inset 0 3px 9px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .12); }
.cl-dash .cl-chips { margin-top: 0; }
.cl-dash .cl-recent-band { margin: 4px 0 0; padding: 0; }
.cl-dash .cl-recent-band .cl-sec { margin: 14px 0 10px 2px; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #E6C98A; }
.cl-dash .cl-recent { margin: 0 -24px; padding: 0 24px 4px; scroll-padding-inline: 24px; }
.cl-dash .cl-rc::after { display: none; }   /* no stitching on the cards inside the dashboard */

.cl-col-pga, .cl-col-za { --col-bg: #0E0E0D; background-color: #0A0A09;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3)),
    url("/img/leather-grain.webp"),
    linear-gradient(180deg, #1B1A18, #0E0E0D);
  background-size: auto, 300px 300px, auto; background-repeat: no-repeat, repeat, no-repeat; background-position: 0 0; background-blend-mode: normal, overlay, normal;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .9), 0 4px 10px -6px rgba(0, 0, 0, .6); }
.cl-col-pga .cl-ch-art::before, .cl-col-pga .cl-ch-art::after, .cl-col-za .cl-ch-art::before, .cl-col-za .cl-ch-art::after { display: none; }
.cl-col-pga .cl-ch-art { background: none; }
.cl-col-za .cl-ch-art { inset: auto; left: 18px; top: 50%; width: 66px; height: 44px; margin-top: -22px; border-radius: 6px; overflow: hidden; background: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .25); z-index: 0; }
.cl-col-za .cl-ch-art .cl-saflag { display: block; width: 100%; height: 100%; }
.cl-col-pga .cl-ct, .cl-col-za .cl-ct { color: #F1D98F; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.cl-col-pga .cl-cs, .cl-col-za .cl-cs { color: #fff; }

/* ════ Recently played is one full-width banner (Luke, 2026-10-25): edge to edge, one course at a time, swipe or tap the dots for the next; every group
   bar wears its icon in a gold-ringed circle on leather (PGA, South Africa, International). ═══════════════════════════════════════════════ */
.cl-dash { margin: 14px -16px 0; border-radius: 0; padding: 22px 14px 16px; }
.cl-dash::before { inset: 9px; border-radius: 10px; }
.cl-dash .cl-chips { padding: 0 6px; }
.cl-dash .cl-recent-band .cl-sec { margin: 14px 0 10px 6px; }
.cl-dash .cl-recent { gap: 0; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; border-radius: 8px; }
.cl-dash .cl-rc { flex: 0 0 100%; width: 100%; height: 150px; scroll-snap-align: start; position: relative; display: block; padding: 0; border-radius: 8px; overflow: hidden; clip-path: none; box-shadow: none; background: #0A0A09; }
.cl-dash .cl-rc-pic { position: absolute; inset: 0; height: 100%; margin: 0; }
.cl-dash .cl-rc::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(4, 12, 8, 0) 38%, rgba(4, 12, 8, .86) 100%); }
.cl-dash .cl-rc-t, .cl-dash .cl-rc-s { position: absolute; left: 16px; right: 70px; z-index: 3; padding: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.cl-dash .cl-rc-t { bottom: 34px; font-size: 20px; font-family: var(--serif); font-weight: 400; color: #fff; line-height: 1.15; }
.cl-dash .cl-rc-s { bottom: 14px; font-size: 13px; color: rgba(255, 255, 255, .88); }
.cl-dash .cl-rc-pic .cl-3d { right: 12px; bottom: 12px; font-size: 12px; padding: 4px 7px; }
.cl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.cl-dot { position: relative; flex: none; width: 9px; height: 9px; min-width: 0; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .3); cursor: pointer; -webkit-appearance: none; appearance: none; }
.cl-dot.on { background: #E6C98A; box-shadow: 0 0 6px rgba(230, 201, 138, .6); }
.cl-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; }

.cl-col-intl { --col-bg: #0E0E0D; background-color: #0A0A09;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3)), url("/img/leather-grain.webp"), linear-gradient(180deg, #1B1A18, #0E0E0D);
  background-size: auto, 300px 300px, auto; background-repeat: no-repeat, repeat, no-repeat; background-position: 0 0; background-blend-mode: normal, overlay, normal;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .9), 0 4px 10px -6px rgba(0, 0, 0, .6); }
.cl-col-intl .cl-ch-art { display: none; }
.cl-col-intl .cl-ct { color: #F1D98F; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.cl-col-intl .cl-cs { color: #fff; }
/* the circle: a dark disc with a gold ring, the icon sitting inside it */
.cl-col-pga .cl-cbadge, .cl-col-intl .cl-cbadge { filter: none; }
.cl-col-pga .cl-cbadge::before, .cl-col-intl .cl-cbadge::before { content: ""; position: absolute; left: 18px; top: 50%; width: 66px; height: 66px; margin-top: -33px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b2a27, #0c0c0b 70%); box-shadow: inset 0 0 0 2.5px #E6C98A, inset 0 0 0 4px rgba(0, 0, 0, .55), 0 3px 8px rgba(0, 0, 0, .7); }
.cl-col-pga .cl-cbadge > *, .cl-col-intl .cl-cbadge > * { position: relative; }
.cl-col-pga .cl-pga-logo { width: 32px; height: 40px; }
.cl-col-intl .cl-globe { width: 44px; height: 44px; }
.cl-col-za .cl-ch-art { left: 18px; width: 66px; height: 66px; margin-top: -33px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px #E6C98A, 0 3px 8px rgba(0, 0, 0, .7); }
.cl-col-za .cl-ch-art::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2.5px #E6C98A, inset 0 0 0 4px rgba(0, 0, 0, .5); }
.cl-col-za .cl-ch-art .cl-saflag { width: 100%; height: 100%; }

/* the dashboard is plain black leather all the way through, no contour inlay (Luke, 2026-10-25) */
.cl-dash::before { content: none; }

/* black-contour edging along the top and the bottom of the leather dashboard (Luke, 2026-10-25): a slim recessed strip of the course contours, the leather between */
.cl-dash { padding-top: 40px; padding-bottom: 36px; }
.cl-dash::before, .cl-dash::after { content: ""; position: absolute; left: 0; right: 0; height: 18px; z-index: 0; pointer-events: none;
  background-color: #070A09; background-image: linear-gradient(118deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 40%), var(--cl-dark, none), linear-gradient(180deg, #151A18 0%, #070A09 100%);
  background-size: auto, 100% auto, auto; background-repeat: no-repeat, repeat-y, no-repeat; background-position: 0 0, center top, 0 0; }
.cl-dash::before { content: ""; inset: auto; top: 0; left: 0; right: 0; border-radius: 0; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .1); }
.cl-dash::after { bottom: 0; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .8), 0 -1px 0 rgba(255, 255, 255, .1); }

/* "Where you play most" is just the leather strip now, no satellite picture (Luke, 2026-10-25) */
.cl-hero { margin-top: 14px; }
.screen.dusk .cl-hero .cl-cap { border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -3px 6px rgba(0, 0, 0, .5); }

/* ════ The group bars in rich mahogany leather, stitched all round, with a smaller stitched circle for the icon (Luke, 2026-10-25). The hide colour is three
   variables, so another brown is a three-line change. ════════════════════════════════════════════════════════════════════════════════════ */
.cl-col-pga, .cl-col-za, .cl-col-intl { --hide-hi: #7A3A22; --hide-mid: #4C2012; --hide-lo: #2A0F07; --stitch: rgba(214, 150, 104, .92);
  background-color: var(--hide-lo);
  background-image:
    radial-gradient(130% 90% at 20% -10%, rgba(255, 220, 190, .20), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35)),
    url("/img/leather-grain.webp"),
    radial-gradient(120% 140% at 15% 0%, var(--hide-hi) 0%, var(--hide-mid) 48%, var(--hide-lo) 100%);
  background-size: auto, auto, 300px 300px, auto; background-repeat: no-repeat, no-repeat, repeat, no-repeat; background-position: 0 0; background-blend-mode: normal, normal, overlay, normal;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .9), 0 4px 10px -6px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 225, 200, .22), inset 0 -4px 8px rgba(0, 0, 0, .45); }
.cl-col-pga::before, .cl-col-za::before, .cl-col-intl::before { content: ""; position: absolute; inset: 6px; z-index: 4; border: 1.8px dashed var(--stitch); border-radius: 19px; pointer-events: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .55), inset 0 1px 1px rgba(0, 0, 0, .4); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); }
.cl-col-pga .cl-ct, .cl-col-za .cl-ct, .cl-col-intl .cl-ct { color: #F6E2B8; }
.cl-col-pga .cl-ch, .cl-col-za .cl-ch, .cl-col-intl .cl-ch { height: 96px; }
.cl-col-pga .cl-cbadge, .cl-col-za .cl-cbadge, .cl-col-intl .cl-cbadge { width: 88px; }
.cl-col-pga .cl-cn, .cl-col-za .cl-cn, .cl-col-intl .cl-cn { left: 88px; }
/* the icon circle: smaller, a gold ring inside and a ring of stitches round it */
.cl-col-pga .cl-cbadge::before, .cl-col-intl .cl-cbadge::before { left: 24px; width: 52px; height: 52px; margin-top: -26px; }
.cl-col-pga .cl-cbadge::after, .cl-col-intl .cl-cbadge::after, .cl-col-za .cl-ch-art::before { content: ""; position: absolute; left: 17px; top: 50%; width: 66px; height: 66px; margin-top: -33px; border: 1.6px dashed var(--stitch); border-radius: 50%; pointer-events: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); }
.cl-col-pga .cl-pga-logo { width: 26px; height: 33px; }
.cl-col-intl .cl-globe { width: 36px; height: 36px; }
.cl-col-za .cl-ch-art { left: 24px; width: 52px; height: 52px; margin-top: -26px; overflow: visible; }
.cl-col-za .cl-ch-art::before { display: block; left: -7px; top: 50%; margin-top: -33px; }
.cl-col-za .cl-ch-art .cl-saflag { border-radius: 50%; overflow: hidden; }

/* The Courses dashboard in rich cognac-brown leather, a shade lighter than the chestnut group bars below it (Luke, 2026-10-25) */
.cl-dash { --hide-hi: #9A5830; --hide-mid: #6C3A1B; --hide-lo: #3A1C0B; background-color: var(--hide-lo);
  background-image:
    radial-gradient(130% 90% at 20% -10%, rgba(210, 255, 225, .12), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35)),
    url("/img/leather-grain.webp"),
    radial-gradient(120% 140% at 15% 0%, var(--hide-hi) 0%, var(--hide-mid) 48%, var(--hide-lo) 100%);
  background-size: auto, auto, 300px 300px, auto; background-repeat: no-repeat, no-repeat, repeat, no-repeat; background-position: 0 0; background-blend-mode: normal, normal, overlay, normal;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 230, 205, .22), inset 0 -4px 8px rgba(0, 0, 0, .45); }

/* no contour edging on the dashboard any more: stitching right round all four sides instead, in a lighter shade of the brown (Luke, 2026-10-25) */
.cl-dash { padding: 28px 22px 24px; --stitch: rgba(236, 178, 126, .95); }
.cl-dash::before { content: ""; position: absolute; inset: 7px; left: 7px; right: 7px; top: 7px; height: auto; z-index: 2; border: 1.8px dashed var(--stitch); border-radius: 15px; pointer-events: none;
  background: none; box-shadow: 0 1px 1px rgba(0, 0, 0, .55), inset 0 1px 1px rgba(0, 0, 0, .4); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); }
.cl-dash::after { content: none; }

/* TRIAL (Luke, 2026-10-25): the dashboard in the theme's deep contour green, as leather, a touch darker than the page */
.cl-dash { --hide-hi: #245A3A; --hide-mid: #153C27; --hide-lo: #0A2016; --stitch: rgba(130, 196, 150, .9);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(190, 250, 215, .18), inset 0 -4px 8px rgba(0, 0, 0, .5); }

/* puffier, padded leather (Luke, 2026-10-25): a raised cushion inside the stitched seam, lit from the top, shaded at the bottom, with a pressed groove round the edge */
.cl-dash { box-shadow: 0 16px 26px -8px rgba(0, 0, 0, .9), 0 3px 0 rgba(0, 0, 0, .35), inset 0 2px 0 rgba(200, 255, 225, .30), inset 0 -7px 10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .45); }
.cl-dash::after { content: ""; position: absolute; inset: 7px; z-index: 0; border-radius: 15px; pointer-events: none;
  background:
    radial-gradient(90% 70% at 50% 16%, rgba(210, 255, 228, .22), rgba(210, 255, 228, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .32));
  box-shadow: inset 0 8px 14px -6px rgba(220, 255, 235, .30), inset 0 -14px 16px -8px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .45); }
.cl-dash > * { position: relative; z-index: 1; }
.cl-dash::before { z-index: 2; }
/* a little more cushion: brighter crown, deeper shade underneath, a fatter pressed groove */
.cl-dash::after { background:
    radial-gradient(85% 62% at 50% 14%, rgba(215, 255, 232, .34), rgba(215, 255, 232, 0) 66%),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .46));
  box-shadow: inset 0 10px 16px -6px rgba(225, 255, 238, .42), inset 0 -18px 20px -8px rgba(0, 0, 0, .78), inset 0 0 0 1px rgba(0, 0, 0, .5), 0 0 0 2px rgba(0, 0, 0, .38), 0 2px 0 2px rgba(190, 250, 215, .10); }
.cl-dash::after { height: auto; top: 7px; bottom: 7px; left: 7px; right: 7px; }   /* the old 18px edging strip height no longer applies: the cushion fills the whole dashboard */

/* ════ The three group bars in crocodile skin instead of the leather (Luke's pictures, 2026-10-25; licence unknown, demo only until replaced):
   PGA red, South Africa brown, International black. A shade over the top and bottom keeps the writing clear; the stitching takes each skin's colour. ═══ */
.cl-col-pga, .cl-col-za, .cl-col-intl { background-blend-mode: normal; background-size: auto, cover; background-repeat: no-repeat; background-position: 0 0, center; }
.cl-col-pga { --croc: url("/img/croc-red.webp"); --stitch: rgba(255, 196, 186, .9); background-color: #4A0A10; }
.cl-col-za { --croc: url("/img/croc-brown.webp"); --stitch: rgba(240, 192, 140, .92); background-color: #3A1C0B; }
.cl-col-intl { --croc: url("/img/croc-black.webp"); --stitch: rgba(205, 205, 200, .85); background-color: #0B0B0B; }
.cl-col-pga, .cl-col-za, .cl-col-intl {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .18) 62%, rgba(0, 0, 0, .55) 100%), var(--croc); }
.cl-col-pga .cl-ct, .cl-col-za .cl-ct, .cl-col-intl .cl-ct { color: #FFF4DC; text-shadow: 0 2px 6px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .6); }
.cl-col-pga .cl-cs, .cl-col-za .cl-cs, .cl-col-intl .cl-cs { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }

/* The badge circles, smaller, with the picture filling each one (Luke, 2026-10-25): every disc 48 px inside a 60 px ring of stitches, all on the same
   centre (50 px in from the bar's left). PGA's logo stands bigger on PGA blue so it fills its circle; the globe fills its disc; the flag is much smaller. */
.cl-col-pga .cl-cbadge::before, .cl-col-intl .cl-cbadge::before { left: 26px; width: 48px; height: 48px; margin-top: -24px; }
.cl-col-pga .cl-cbadge::after, .cl-col-intl .cl-cbadge::after { left: 20px; width: 60px; height: 60px; margin-top: -30px; }
.cl-col-pga .cl-cbadge::before { background: #00386E; }
.cl-col-pga .cl-pga-logo { width: 28px; height: 36px; }
.cl-col-intl .cl-globe { width: 43px; height: 43px; }
.cl-col-za .cl-ch-art { left: 32px; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; overflow: visible;
  box-shadow: 0 0 0 2.5px #0c0c0b, 0 0 0 4.5px #E6C98A, 0 3px 8px 4px rgba(0, 0, 0, .55); }
.cl-col-za .cl-ch-art::before { left: -12px; width: 60px; height: 60px; margin-top: -30px; }
.cl-col-za .cl-ch-art .cl-saflag { width: 100%; height: 100%; }

/* the logo and globe are centred 44 px in, so the discs, rings and the flag share that centre */
.cl-col-pga .cl-cbadge::before, .cl-col-intl .cl-cbadge::before { left: 20px; }
.cl-col-pga .cl-cbadge::after, .cl-col-intl .cl-cbadge::after { left: 14px; }
.cl-col-za .cl-ch-art { left: 26px; }
/* no stitching on the croc bars (Luke, 2026-10-25): not round the bar, not round the badge circles */
.cl-col-pga::before, .cl-col-za::before, .cl-col-intl::before,
.cl-col-pga .cl-cbadge::after, .cl-col-intl .cl-cbadge::after, .cl-col-za .cl-ch-art::before { content: none; }

/* "Recently played" dashboard on Luke's black textured skin (2026-10-25; licence unknown, demo only until replaced). No cushion light, no stitching,
   to match the croc bars; a soft shade top and bottom keeps the heading and the dots clear. */
.cl-dash { background-color: #0B0B0B;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .45) 100%), url("/img/skin-black-dash.webp");
  background-size: auto, cover; background-repeat: no-repeat; background-position: 0 0, center; background-blend-mode: normal; }
.cl-dash::before, .cl-dash::after { content: none; }

/* ════ The group bars in golf-ball dimples instead of the croc (Luke, 2026-10-25): PGA red, South Africa black, International blue.
   Drawn as small repeating tiles (img/ball-*.svg, our own drawing after Luke's reference pictures), so they stay sharp on any phone. ═══ */
.cl-col-pga { --croc: url("/img/ball-red-hex.svg"); background-color: #D9232B; }
.cl-col-za { --croc: url("/img/ball-black-hex.svg"); background-color: #1C1D1F; }
.cl-col-pga, .cl-col-za, .cl-col-intl { background-repeat: no-repeat, repeat; background-size: auto, 22px auto; background-position: 0 0, 0 0; }
.cl-col-intl { --croc: url("/img/ball-blue-hex.svg"); background-color: #2A63D6;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .14) 62%, rgba(0, 0, 0, .45) 100%), var(--croc); }
.cl-col-intl .cl-ct { color: #FFF4DC; text-shadow: 0 2px 6px rgba(0, 0, 0, .6), 0 0 2px rgba(0, 0, 0, .4); }
.cl-col-intl .cl-cs { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.cl-col-intl .cl-ch .cl-chev { color: #fff; background-color: rgba(255, 255, 255, .14); box-shadow: none; }

/* ════ Golf-ball bars, round 2 (Luke, 2026-10-25): red and blue brighter, black deep with a gloss, and the writing laser-etched into the ball:
   frosted and a touch see-through so the colour of the ball comes up through it, a dark lip above and a light lip below so it sits sunk in.
   Names in a flowing script (Yellowtail, free, in the spirit of a ball maker's script; not anyone's logo); the count in small etched capitals. ═══ */
.cl-col-pga, .cl-col-za, .cl-col-intl {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 22%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .18) 100%), var(--croc); }
.cl-col-pga { background-color: #EE1C2A; }
.cl-col-intl { background-color: #1E66FF; }
.cl-col-za { background-color: #0A0A0B;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .07) 20%, rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, .3) 100%), var(--croc); }
.cl-cols .cl-col-pga .cl-ct, .cl-cols .cl-col-za .cl-ct, .cl-cols .cl-col-intl .cl-ct {
  top: 40%; font-family: "Yellowtail", var(--serif); font-weight: 400; font-size: 34px; line-height: 1.25; letter-spacing: .01em; font-variation-settings: normal;
  color: rgba(255, 255, 255, .80); text-shadow: 0 -1px 0 rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .28); }
.cl-cols .cl-col-pga .cl-cs, .cl-cols .cl-col-za .cl-cs, .cl-cols .cl-col-intl .cl-cs {
  top: 70%; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); text-shadow: 0 -1px 0 rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 255, 255, .2); }
.cl-cols .cl-col-za .cl-ct { color: rgba(225, 228, 232, .78); text-shadow: 0 -1px 0 rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .16); }
.cl-cols .cl-col-za .cl-cs { color: rgba(210, 214, 218, .66); }

/* ════ Recently played (Luke, 2026-10-25): the panel starts at its heading, on his fairway picture; Near me / Has 3D / Played before float above it
   on the page; the course card is shorter so the fairway shows round it. Picture: Luke's, licence unknown, demo only until replaced. ═══ */
.cl-dash { padding: 16px 0 0; background: none; background-image: none; box-shadow: none; border-radius: 0; }
.cl-dash::before, .cl-dash::after { content: none; }
.cl-dash .cl-recent-band { margin: 18px 0 0; padding: 0 0 14px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 20, 8, .5) 0%, rgba(0, 20, 8, 0) 34%, rgba(0, 20, 8, 0) 70%, rgba(0, 20, 8, .45) 100%), url("/img/fairway-recent.webp") center 62% / cover no-repeat;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.cl-dash .cl-recent-band .cl-sec { margin: 14px 0 10px 16px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.cl-dash .cl-recent { margin: 0; padding: 0 16px 2px; scroll-padding-inline: 16px; }
.cl-dash .cl-rc { height: 112px; border-radius: 12px; box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .7); }
.cl-dash .cl-dots { margin-top: 10px; }
.cl-dash .cl-chips { padding: 0 16px; }
.cl-dash .cl-recent-band { margin: 18px 16px 0; }

/* Names in the same font as "Oubaai Golf Club" above them, full white (Luke, 2026-10-25) */
.cl-cols .cl-col-pga .cl-ct, .cl-cols .cl-col-za .cl-ct, .cl-cols .cl-col-intl .cl-ct {
  font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: 0; font-variation-settings: "opsz" 144;
  color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }


/* Recently played, smaller (Luke, 2026-10-25): the club's logo instead of the satellite picture, on a short dark-glass strip, so the fairway shows
   round it. Courses with no logo keep their satellite picture. */
.cl-dash .cl-rc:has(.cl-rc-crest) { height: 76px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-content: center; column-gap: 12px;
  padding: 0 14px; background: rgba(6, 18, 10, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-align: left; }
.cl-dash .cl-rc:has(.cl-rc-crest)::before { content: none; }
.cl-dash .cl-rc-crest { grid-row: 1 / span 2; align-self: center; }
.cl-dash .cl-rc:has(.cl-rc-crest) .cl-rc-t { position: static; right: auto; bottom: auto; grid-column: 2; padding: 0; font-size: 18px; }
.cl-dash .cl-rc:has(.cl-rc-crest) .cl-rc-s { position: static; right: auto; bottom: auto; grid-column: 2; padding: 0; }
.cl-dash .cl-rc-3d { position: static; grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.cl-dash .cl-recent-band { padding-bottom: 10px; }

/* South Africa on small black hexagon dimples, lots of them (Luke, 2026-10-25; our own drawing after his reference) */
.cl-col-za { --croc: url("/img/ball-black-hex.svg"); background-color: #0C0D0E; background-size: auto, 11px auto; background-repeat: no-repeat, repeat; }
/* a thin black outline on the PGA and International writing, for body on the bright balls; none on the black ball (Luke) */
.cl-cols .cl-col-pga .cl-ct, .cl-cols .cl-col-intl .cl-ct { -webkit-text-stroke: 1.6px rgba(0, 0, 0, .7); paint-order: stroke fill; }
.cl-cols .cl-col-pga .cl-cs, .cl-cols .cl-col-intl .cl-cs { -webkit-text-stroke: 1.4px rgba(0, 0, 0, .65); paint-order: stroke fill; }
.cl-cols .cl-col-pga .cl-cs, .cl-cols .cl-col-za .cl-cs, .cl-cols .cl-col-intl .cl-cs { color: #fff; }
/* PGA and International on the same small hexagon dimples as South Africa (Luke, 2026-10-25: "as many dimples as we possibly can") */
.cl-col-pga { --croc: url("/img/ball-red-hex.svg"); background-size: auto, 11px auto; background-repeat: no-repeat, repeat; }
.cl-col-intl { --croc: url("/img/ball-blue-hex.svg"); background-size: auto, 11px auto; background-repeat: no-repeat, repeat; }

/* "Where you play most" / "Nearest to you" on a map of the course's area instead of black leather (Luke, 2026-10-25). DEMO: Luke's own map
   screenshot of the George coast, shown only for Oubaai; a per-course map from free data is the real version. A shade from the left keeps the words clear. */
.screen.dusk .cl-hero.cl-hero-map .cl-cap { background-color: #1B2D5C;
  background-image: linear-gradient(90deg, rgba(6, 14, 30, .42) 0%, rgba(6, 14, 30, .18) 55%, rgba(6, 14, 30, 0) 100%), var(--hero-map);
  background-size: auto, cover; background-repeat: no-repeat; background-position: 0 0, center 55%; background-blend-mode: normal; }
.screen.dusk .cl-hero.cl-hero-map .cl-cap::after { content: none; }
.screen.dusk .cl-hero.cl-hero-map .cl-name { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.screen.dusk .cl-hero.cl-hero-map .cl-meta { color: rgba(255, 255, 255, .88); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.screen.dusk .cl-hero.cl-hero-map .cl-k { text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }

/* the three filters sit above the search bar, together as the page's tools (Luke, 2026-10-25) */
.cl-top + .cl-chips { margin: 2px 0 14px; }

/* ════ Browse courses (Luke, 2026-10-25): a stitched gold divider heading the PGA / South Africa / International columns, so your own golf above
   (Recently played, Nearest to you) reads as separate from the directory below. First child of .cl-cols, so the grid gap spaces it. ═════════ */
.cl-browse { margin-top: 4px; text-align: center; }
.cl-browse-t { margin: 0; display: flex; align-items: center; gap: 10px; font: 800 15px/1 Georgia, "Times New Roman", serif; letter-spacing: .26em; text-indent: .26em;
  text-transform: uppercase; white-space: nowrap; color: #F0CC6E; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
.cl-browse-t::before, .cl-browse-t::after { content: ""; flex: 1; min-width: 16px; border-top: 1.5px dashed rgba(232, 196, 110, .8); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.cl-browse-n { margin: 15px 0 0; font: 600 10.5px/1 var(--sans, system-ui); letter-spacing: .22em; text-indent: .22em; text-transform: uppercase;
  color: rgba(243, 228, 189, .75); text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }

/* ════ Flag bars, three looks (Luke, 2026-10-27): ?bar=A|B|C on the playground, United Kingdom + United States only.
   The words were disjointed on the flags (heavy black outline, busy count). All three keep the flag as the bar. ═════════════ */
.cl-cols .cl-col-usa { background-color: #3C3B6E;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 22%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .18) 100%),
    url("/img/ball-flag-hex.svg"), url("/img/us-flag.svg");
  background-size: auto, 11px auto, 100% 96px; background-repeat: no-repeat, repeat, no-repeat; background-position: 0 0, 0 0, 0 0;
  --col-rule: linear-gradient(90deg, #B22234 0 33.3%, #FFFFFF 33.3% 66.6%, #3C3B6E 66.6%); }
.cl-cols .cl-col-usa .cl-cbadge::before { background: #3C3B6E; }
.cl-cols .cl-col-usa .cl-ukflag { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #E6C98A, 0 0 0 4px rgba(0, 0, 0, .5), 0 3px 8px rgba(0, 0, 0, .7); }
.cl-cols .cl-col-flag .cl-ct, .cl-cols .cl-col-flag .cl-cs { -webkit-text-stroke: 0; paint-order: normal; }

/* A: a dark glass wash fades in from the badge so the flag's colours still show on the right; the name in the serif, white, no outline; small quiet count */
.cl-look-A .cl-col-flag > .cl-ch::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 24, .82) 0%, rgba(6, 10, 24, .6) 48%, rgba(6, 10, 24, 0) 92%); pointer-events: none; }
.cl-look-A .cl-col-flag .cl-ct { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.cl-look-A .cl-col-flag .cl-cs { color: rgba(255, 255, 255, .72); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-shadow: none; }

/* B: flag tinted down to one deep tone so it reads as texture; name in gold, count gone from the bar (it shows once opened) */
.cl-look-B .cl-col-flag > .cl-ch::before { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 30, .58); backdrop-filter: saturate(.55); -webkit-backdrop-filter: saturate(.55); pointer-events: none; }
.cl-look-B .cl-col-flag .cl-ct { color: #F0D9A0; text-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 0 10px rgba(0, 0, 0, .4); }
.cl-look-B .cl-col-flag .cl-cs { display: none; }

/* C: flag stays bright; the name sits on a small frosted dark plate, count gone */
.cl-look-C .cl-col-flag .cl-cn { display: flex; align-items: center; }
.cl-look-C .cl-col-flag .cl-ct { display: inline-block; padding: 5px 14px 6px; border-radius: 10px; color: #fff; background: rgba(8, 12, 28, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); text-shadow: none; }
.cl-look-C .cl-col-flag .cl-cs { display: none; }

/* D (Luke, 2026-10-27: "take writing away completely"): the flag bars carry no words, just the flag and its badge; the name stays for screen readers */
.cl-cols .cl-col-flag > .cl-ch::before { content: none; }
.cl-cols .cl-col-flag .cl-cn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* sharp colour, no filter (Luke, 2026-10-27): the bare flag, no gloss and no dimple layer over it */
.cl-cols .cl-col-uk { background-image: url("/img/union-jack.svg"); background-size: 100% 96px; background-repeat: no-repeat; background-position: 0 0; }
.cl-cols .cl-col-usa { background-image: url("/img/us-flag.svg"); background-size: 100% 96px; background-repeat: no-repeat; background-position: 0 0; }
/* flag bars (Luke, 2026-10-27): flag + golf-ball dimples + round badge; no country name, just the course count underneath the badge's row */
.cl-cols .cl-col-uk { background-image: url("/img/ball-flag-hex.svg"), url("/img/union-jack.svg"); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; }
.cl-cols .cl-col-usa { background-image: url("/img/ball-flag-hex.svg"), url("/img/us-flag.svg"); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; }
.cl-cols .cl-col-flag .cl-cn { position: absolute; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: flex; align-items: center; top: 0; bottom: 0; }
.cl-cols .cl-col-flag .cl-ct { display: none; }
.cl-cols .cl-col-flag .cl-cs { display: block; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; -webkit-text-stroke: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 0 6px rgba(0, 0, 0, .6); }
.cl-cols .cl-col-za { background-color: #002395; background-image: url("/img/ball-flag-hex.svg"), url("/img/za-flag.svg"); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; --col-rule: linear-gradient(90deg, #DE3831 0 33.3%, #007749 33.3% 66.6%, #FFB612 66.6%); }
.cl-cols .cl-col-za .cl-ukflag { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #E6C98A, 0 0 0 4px rgba(0, 0, 0, .5), 0 3px 8px rgba(0, 0, 0, .7); }
.cl-cols .cl-col-flag .cl-cn { top: 0; bottom: 0; height: auto; transform: none; margin: 0; }
.cl-cols .cl-col-flag .cl-cs { margin: 0; line-height: 1; }
.cl-cols .cl-col-flag .cl-cs { top: 50%; }

/* ════ America redone (Luke, 2026-10-27): the flag was stretched on a long bar. ?us=A|B|C. Crisp navy like the Union Jack, stars true circles. ═════ */
.cl-cols .cl-col-usa { background-color: #0A3161; --us-stripes: repeating-linear-gradient(180deg, #B22234 0 7.385px, #fff 7.385px 14.77px); }
.cl-cols .cl-col-usa > .cl-ch::before { content: ""; position: absolute; left: 0; top: 0; pointer-events: none; }
.cl-cols .cl-col-usa .cl-cbadge::before { background: #0A3161; }
/* A: true canton, stripes run on to the chevron. Canton keeps the real 7-of-13 stripe height; 50 stars in the real 6/5 rows. */
.cl-us-A .cl-col-usa { background-image: url("/img/ball-flag-hex.svg"), var(--us-stripes); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; }
.cl-us-A .cl-col-usa > .cl-ch::before { width: 132px; height: 51.7px; background-color: #0A3161;
  background-image: url("/img/ball-flag-hex.svg"), radial-gradient(circle, #fff 1.15px, transparent 1.55px), radial-gradient(circle, #fff 1.15px, transparent 1.55px);
  background-size: 11px auto, 24px 11.5px, 24px 11.5px; background-position: 0 0, -6px -2.9px, 6px 2.9px; }
/* B: a bold full-height navy field of big stars, stripes beside it */
.cl-us-B .cl-col-usa { background-image: url("/img/ball-flag-hex.svg"), var(--us-stripes); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; }
.cl-us-B .cl-col-usa > .cl-ch::before { width: 120px; height: 96px; background-color: #0A3161;
  background-image: url("/img/ball-flag-hex.svg"), radial-gradient(circle, #fff 2.1px, transparent 2.6px), radial-gradient(circle, #fff 2.1px, transparent 2.6px);
  background-size: 11px auto, 30px 30px, 30px 30px; background-position: 0 0, -7px -7px, 8px 8px; }
/* C: the whole flag at its true shape on the right, the rest of the bar crisp navy dimples */
.cl-us-C .cl-col-usa { background-image: url("/img/ball-flag-hex.svg"), url("/img/us-flag.svg"); background-size: 11px auto, 182px 96px; background-repeat: repeat, no-repeat; background-position: 0 0, right 0 center; }
.cl-us-C .cl-col-usa > .cl-ch::before { content: none; }
/* Ireland: green, white, orange, dimpled; no country name, just the count */
.cl-cols .cl-col-ire { background-color: #169B62; background-image: url("/img/ball-flag-hex.svg"), linear-gradient(90deg, #169B62 0 33.33%, #FFFFFF 33.33% 66.66%, #FF883E 66.66%); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; --col-rule: linear-gradient(90deg, #169B62 0 33.3%, #FFFFFF 33.3% 66.6%, #FF883E 66.6%); }
.cl-cols .cl-col-ire .cl-cbadge::before { background: #169B62; }
.cl-cols .cl-col-ire .cl-ukflag { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #E6C98A, 0 0 0 4px rgba(0, 0, 0, .5), 0 3px 8px rgba(0, 0, 0, .7); }
/* Portugal, Spain, Australia, Germany, Switzerland, Netherlands, France (Luke, 2026-11-01; France 2026-11-08): the Ireland recipe, flag colours on golf-ball dimples, round flag badge, count only */
.cl-cols .cl-col-nat { background-image: url("/img/ball-flag-hex.svg"), var(--flag-art); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; }
.cl-cols .cl-col-nat .cl-cbadge::before { background: var(--plate); }
.cl-cols .cl-col-nat .cl-ukflag { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #E6C98A, 0 0 0 4px rgba(0, 0, 0, .5), 0 3px 8px rgba(0, 0, 0, .7); }
.cl-cols .cl-col-pt { --plate: #006600; background-color: #006600; --flag-art: linear-gradient(90deg, #006600 0 40%, #FF0000 40%); --col-rule: linear-gradient(90deg, #006600 0 40%, #FF0000 40%); }
.cl-cols .cl-col-es { --plate: #AA151B; background-color: #AA151B; --flag-art: linear-gradient(180deg, #AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); --col-rule: linear-gradient(90deg, #AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); }
.cl-cols .cl-col-de { --plate: #000; background-color: #000; --flag-art: linear-gradient(180deg, #000 0 33.33%, #DD0000 33.33% 66.66%, #FFCE00 66.66%); --col-rule: linear-gradient(90deg, #000 0 33.3%, #DD0000 33.3% 66.6%, #FFCE00 66.6%); }
.cl-cols .cl-col-nl { --plate: #21468B; background-color: #AE1C28; --flag-art: linear-gradient(180deg, #AE1C28 0 33.33%, #fff 33.33% 66.66%, #21468B 66.66%); --col-rule: linear-gradient(90deg, #AE1C28 0 33.3%, #fff 33.3% 66.6%, #21468B 66.6%); }
.cl-cols .cl-col-ca { --plate: #D52B1E; background-color: #D52B1E; --flag-art: linear-gradient(90deg, #D52B1E 0 25%, #FFFFFF 25% 75%, #D52B1E 75%); --col-rule: linear-gradient(90deg, #D52B1E 0 25%, #FFFFFF 25% 75%, #D52B1E 75%); }
.cl-cols .cl-col-fr { --plate: #0055A4; background-color: #0055A4; --flag-art: linear-gradient(90deg, #0055A4 0 33.33%, #FFFFFF 33.33% 66.66%, #EF4135 66.66%); --col-rule: linear-gradient(90deg, #0055A4 0 33.3%, #FFFFFF 33.3% 66.6%, #EF4135 66.6%); }
/* Germany, the Netherlands and France opened (Luke, 2026-11-08): the flag runs all the way down behind the course list, not just the bar. */
.cl-cols .cl-col-de[open], .cl-cols .cl-col-nl[open], .cl-cols .cl-col-fr[open] { background-image: url("/img/ball-flag-hex.svg"), var(--flag-art), var(--flag-art);
  background-size: 11px auto, 100% 96px, 100% calc(100% - 96px); background-repeat: repeat, no-repeat, no-repeat; background-position: 0 0, 0 0, 0 96px; }
/* Canada (Luke, 2026-11-23): the big red maple leaf in the middle of the white stripe, over the dimples; opened, the flag runs on down behind the list. */
.cl-cols .cl-col-ca { background-image: url("/img/maple-leaf.svg"), url("/img/ball-flag-hex.svg"), var(--flag-art);
  background-size: auto 80px, 11px auto, 100% 96px; background-repeat: no-repeat, repeat, no-repeat; background-position: center 8px, 0 0, 0 0; }
.cl-cols .cl-col-ca[open] { background-image: url("/img/maple-leaf.svg"), url("/img/ball-flag-hex.svg"), var(--flag-art), var(--flag-art);
  background-size: auto 80px, 11px auto, 100% 96px, 100% calc(100% - 96px); background-repeat: no-repeat, repeat, no-repeat, no-repeat; background-position: center 8px, 0 0, 0 0, 0 96px; }
/* Switzerland: the white cross stands at the right end of the red bar, true square. Australia (Luke, 2026-11-03): the real flag, Union Jack in the corner, Commonwealth Star low under it, the Southern Cross before the arrow. */
.cl-cols .cl-col-ch { --plate: #D52B1E; background-color: #D52B1E; --col-rule: linear-gradient(90deg, #D52B1E, #fff 50%, #D52B1E);
  background-image: url("/img/ball-flag-hex.svg"), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-size: 11px auto, 52px 16px, 16px 52px; background-repeat: repeat, no-repeat, no-repeat; background-position: 0 0, right 76px top 40px, right 94px top 22px; }
.cl-cols .cl-col-au { --plate: #012169; background-color: #012169; --col-rule: linear-gradient(90deg, #012169, #fff 50%, #C8102E);
  background-image: url("/img/ball-flag-hex.svg"), url("/img/au-stars.svg"), url("/img/au-union.svg");
  background-size: 11px auto, auto 96px, 125px 96px; background-repeat: repeat, no-repeat, no-repeat; background-position: 0 0, right 52px top 0, 0 0; }
/* Continent tiers (Luke, 2026-11-01/02, "option two"): each continent wears its own flag whole, edge to edge, golf-ball dimples over it, no stitching.
   The round badge holds the initials; the name and the count stand beside it. Pictures: public/img/cont/*.webp (the flag on the right, its edge stretched left). */
.cl-cols .cl-col-cont { --plate: #0F1620; background-color: #0F1620; background-image: url("/img/ball-flag-hex.svg"), var(--cpic); background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; }
.cl-cols .cl-col-cont::before { display: none; }
.cl-cols .cl-col-cont .cl-cbadge::after { display: none; }
.cl-cols .cl-col-cont .cl-cbadge::before { background: var(--plate); }
.cl-cols .cl-col-cont .cl-ukflag { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #E6C98A, 0 0 0 4px rgba(0, 0, 0, .5), 0 3px 8px rgba(0, 0, 0, .7); }
.cl-cols .cl-col-cont .cl-cn { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.cl-cols .cl-col-cont .cl-ct, .cl-cols .cl-col-cont .cl-cs { position: static; top: auto; left: auto; right: auto; width: auto; transform: none; margin: 0; padding: 0; }
.cl-cols .cl-col-cont .cl-ct { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 9px rgba(0, 0, 0, .85); }
.cl-cols .cl-col-cont .cl-cs { display: block; font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 9px rgba(0, 0, 0, .85); }
.cl-cols .cl-col-cont .cl-cs b { display: block; margin-bottom: 3px; font-size: 22px; font-weight: 800; letter-spacing: 0; }
.cl-cols .cl-col-cont .cl-cb .cl-col { margin: 10px 0 0; }
.cl-empty { margin: 0; padding: 14px 18px; color: rgba(255, 255, 255, .8); font-size: 13px; }
/* United Kingdom badge: the round flag, same as the other flag bars */
.cl-cols .cl-col-uk .cl-cbadge::before { background: #012169; }
.cl-cols .cl-col-uk { --col-rule: linear-gradient(90deg, #C8102E 0 33.3%, #FFFFFF 33.3% 66.6%, #4A7BE8 66.6%); }
.cl-cols .cl-col-uk .cl-ukflag { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #E6C98A, 0 0 0 4px rgba(0, 0, 0, .5), 0 3px 8px rgba(0, 0, 0, .7); }

/* ════ PGA + International, two looks each (Luke, 2026-10-27): ?pga=A|B ?intl=A|B. Same recipe as the flag bars: dimples over the colours, round badge, count only. ═════ */
.cl-cols[class*="cl-pga-"] .cl-col-pga { background-size: 11px auto, 100% 96px; background-repeat: repeat, no-repeat; background-position: 0 0, 0 0; --col-rule: linear-gradient(90deg, #00386E 0 33.3%, #FFFFFF 33.3% 66.6%, #E6000A 66.6%); }
/* PGA A: PGA TOUR navy, a red band and a white line along the foot of the bar */
.cl-pga-A .cl-col-pga { background-color: #00386E; background-image: url("/img/ball-flag-hex.svg"), linear-gradient(180deg, #00386E 0 74%, #E6000A 74% 90%, #FFFFFF 90% 96%, #00386E 96%); }
/* PGA B: navy, white and red in one diagonal sweep */
.cl-pga-B .cl-col-pga { background-color: #00386E; background-image: url("/img/ball-flag-hex.svg"), linear-gradient(112deg, #00386E 0 44%, #FFFFFF 44% 56%, #E6000A 56%); }
.cl-cols[class*="cl-pga-"] .cl-col-pga .cl-cbadge::before { background: #00386E; }
.cl-cols[class*="cl-pga-"] .cl-col-pga .cl-ct { display: none; }
.cl-cols[class*="cl-pga-"] .cl-col-pga .cl-pga-logo { filter: none; }
/* International: dimples in flag colours, ?intl=C|D|E (banner built in courses.js hexBanner) */
.cl-cols[class*="cl-intl-"] .cl-col-intl:not(.cl-col-pga):not(.cl-col-uk):not(.cl-col-usa):not(.cl-col-za):not(.cl-col-ire):not(.cl-col-nat):not(.cl-col-cont) { background-color: #0A1A44; background-image: url("/img/ball-flag-hex.svg"), var(--iflags); background-size: 11px auto, auto 96px; background-repeat: repeat, no-repeat; background-position: 0 0, center top; }
.cl-cols[class*="cl-intl-"] .cl-col-intl:not(.cl-col-pga):not(.cl-col-uk):not(.cl-col-usa):not(.cl-col-za):not(.cl-col-ire):not(.cl-col-nat):not(.cl-col-cont) .cl-ct { display: none; }
/* International F: Luke's wall of glitter flags (AirDrop IMG_6362, demo only: licence unknown), one row tiled across, golf-ball dimples over it */
.cl-cols .cl-intl-F, .cl-cols.cl-intl-F .cl-col-intl:not(.cl-col-pga):not(.cl-col-uk):not(.cl-col-usa):not(.cl-col-za):not(.cl-col-ire):not(.cl-col-nat):not(.cl-col-cont) { background-color: #1A1A1A; background-image: url("/img/ball-flag-hex.svg"), url("/img/intl-flags-strip.webp"); background-size: 11px auto, auto 96px; background-repeat: repeat, repeat-x; background-position: 0 0, 0 0; }
/* animal badges: a little larger than the flag was so the face reads */
.cl-cols .cl-col-flag .cl-ukpic { width: 48px; height: 48px; margin: -3px 0 0 -3px; border-radius: 50%; object-fit: cover; }

/* approximate-layout courses (Luke, 2026-10-28): the note on the course page */
.cd-note { margin: 4px 0 10px; line-height: 1.4; }

/* ════ Counties, council areas and states (Luke, 2026-10-28): each one is its flag with the golf-ball dimples pressed into it, the
   same make as the country bars above, with the flag in a gold-ringed round badge. They sit inside the country they belong to and
   drop down to the courses. ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
.cl-regs { padding: 8px 0 2px 10px; }
.cl-regs .cl-reg { margin-top: 8px; }
.cl-reg > .cl-bh { min-height: 58px; padding: 0 10px 0 12px; border-radius: 14px;
  background: url("/img/ball-flag-hex.svg") 0 0 / 11px auto repeat, var(--flag) center / cover no-repeat, #1B2A22; }
.cl-reg > .cl-bh::before { background: linear-gradient(90deg, rgba(6, 12, 10, .78) 0%, rgba(6, 12, 10, .55) 55%, rgba(6, 12, 10, .14) 100%); opacity: 1;
  -webkit-mask-image: none; mask-image: none; border-radius: 14px; }
.cl-reg .cl-shield { width: 38px; height: 38px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px #E6C98A, 0 0 0 4px rgba(0, 0, 0, .5), 0 3px 8px rgba(0, 0, 0, .7); }
.cl-reg .cl-shield::after { border-radius: 50%; }
.cl-reg .cl-shield .cl-flag { border-radius: 50%; }
.cl-reg .cl-bt { font-size: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 8px rgba(0, 0, 0, .6); }
.cl-reg .cl-bs { color: rgba(255, 255, 255, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
.cl-reg-none > .cl-bh { background: #26352D; }
.cl-reg-none > .cl-bh::before { display: none; }
.cl-reg-none .cl-shield-none { display: none; }

/* The scorecard: a deep-green card with brass hairlines. Out / In / Total columns, par picked out, tee lengths below. */
.cd-card { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #1D4A31 0%, #143826 55%, #102E1F 100%); border: 1px solid rgba(226, 194, 122, .28); box-shadow: 0 14px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12); }
.cd-card::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; pointer-events: none; background: linear-gradient(90deg, rgba(16, 46, 31, 0), #102E1F); }
.cd-card-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 4px 10px 0; scrollbar-width: none; }
.cd-card-scroll::-webkit-scrollbar { display: none; }
.cd-tbl { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; }
.screen.dusk .cd-tbl th, .screen.dusk .cd-tbl td { min-width: 32px; padding: 11px 6px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.screen.dusk .cd-tbl thead th { font-family: var(--serif); font-size: 17px; font-weight: 400; color: #fff; border-bottom: 1px solid rgba(226, 194, 122, .45); padding-top: 14px; }
.screen.dusk .cd-tbl thead th.sub, .screen.dusk .cd-tbl thead th.tot { font-family: var(--sans); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-ink); }
.screen.dusk .cd-tbl td.lab, .screen.dusk .cd-tbl th.lab { position: sticky; left: 0; z-index: 1; min-width: 64px; padding-left: 14px; text-align: left; background: #174029; font-family: var(--sans); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); box-shadow: 8px 0 10px -8px rgba(0, 0, 0, .4); }
.screen.dusk .cd-tbl tr.par td { font-size: 18px; font-weight: 500; background: rgba(255, 255, 255, .05); }
.screen.dusk .cd-tbl tr.par td.lab { background: #1B4A30; }
.screen.dusk .cd-tbl td.sub, .screen.dusk .cd-tbl th.sub { background: rgba(201, 161, 74, .12); }
.screen.dusk .cd-tbl td.tot, .screen.dusk .cd-tbl th.tot { background: rgba(201, 161, 74, .2); color: #fff; font-weight: 600; padding-right: 14px; }
.screen.dusk .cd-tbl tbody tr:last-child td { border-bottom: 0; }
.cd-tbl .cd-bar { width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; border: 1px solid rgba(255, 255, 255, .5); }
