/* Score colours, one set for the whole Play screen (Luke, 2026-10-14):
   albatross white with stripes · eagle purple · birdie green · par white · bogey red · double bogey or worse orange.
   Used by the hole bar (a tournament scoreboard), the quick score buttons, the par tiles and the key in the Score panel.
   Loaded after play-touches.css, so these win. */
:root {
  --sc-eagle: #B98CFF; --sc-birdie: #5EE07A; --sc-par: #F3EEE2; --sc-bogey: #FF5A4E; --sc-double: #FF9A3C;
  --sc-stripes: repeating-linear-gradient(135deg, #fff 0 2.5px, #8E979C 2.5px 4.5px);
}

/* ── the hole bar: a scoreboard ── */
.play.pf .pf-bottom .strip { position: relative; padding: 0 8px; border-radius: 14px; gap: 0;
  background: linear-gradient(180deg, rgba(10, 16, 13, .9), rgba(4, 8, 6, .94)); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 24px -8px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.play.pf .pf-bottom .strip .h { position: relative; width: 38px; padding: 7px 0 6px; gap: 4px; border-bottom: 0; }
.play.pf .pf-bottom .strip .h + .h { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .06); }
.play.pf .pf-bottom .strip .h .n { font: 700 10px/1 var(--sans); letter-spacing: .06em; color: rgba(243, 238, 226, .5); }
.play.pf .pf-bottom .strip .h .sc { width: auto; height: 20px; border-radius: 0; outline: 0 !important; box-shadow: none !important;
  font: 800 17px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--sc-par); }
.play.pf .pf-bottom .strip .h .sc:empty::before { content: '–'; color: rgba(243, 238, 226, .22); font-weight: 600; }
.play.pf .pf-bottom .strip .h .sc.e { color: var(--sc-eagle); }
.play.pf .pf-bottom .strip .h .sc.b { color: var(--sc-birdie); }
.play.pf .pf-bottom .strip .h .sc.o { color: var(--sc-bogey); }
.play.pf .pf-bottom .strip .h .sc.d { color: var(--sc-double); }
.play.pf .pf-bottom .strip .h .sc.a { color: transparent; background: var(--sc-stripes); -webkit-background-clip: text; background-clip: text; }
.play.pf .pf-bottom .strip .h[aria-current="true"] { background: linear-gradient(180deg, rgba(201, 161, 74, .22), rgba(201, 161, 74, .06)); }
.play.pf .pf-bottom .strip .h[aria-current="true"] .n { color: #E7C46A; }
.play.pf .pf-bottom .strip .h[aria-current="true"]::after { content: ''; position: absolute; left: 7px; right: 7px; bottom: 0; height: 2px; border-radius: 2px; background: #C9A14A; }

/* ── the key, at the top of the Score panel ── */
.play .sc-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 9px; margin: 0 0 10px; padding: 0; list-style: none;
  font: 600 10.5px/1 var(--sans); color: rgba(243, 238, 226, .78); }
.play .sc-key li { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.play .sc-key i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.play .sc-key .k-a i { background: var(--sc-stripes); }
.play .sc-key .k-e i { background: var(--sc-eagle); }
.play .sc-key .k-b i { background: var(--sc-birdie); }
.play .sc-key .k-p i { background: var(--sc-par); }
.play .sc-key .k-o i { background: var(--sc-bogey); }
.play .sc-key .k-d i { background: var(--sc-double); }

/* ── quick buttons: black, the colour only in the band across the top (Luke's earlier rule), now in the score colours.
   ── */
.play.pf .quick button.birdie { --score: #22A447; }
.play.pf .quick button.bogey { --score: #E0453A; }
.play.pf .quick button.par { --score: var(--sc-par); --score-ink: #0F2A1C; }   /* Par's band is white like everywhere else (Luke, 2026-10-14), so its word is dark */
.play.pf .quick button.par .q-w { text-shadow: none; }

/* ── par tiles (the "Other" pad): each number in its colour, with a stripe of it along the top ── */
.tiles button[class*="t-"] { position: relative; overflow: hidden; }
.tiles button[class*="t-"]::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.tiles button.t-a::before { background: var(--sc-stripes); }
.tiles button.t-e::before { background: var(--sc-eagle); }  .tiles button.t-e .n { color: var(--sc-eagle); }
.tiles button.t-b::before { background: var(--sc-birdie); } .tiles button.t-b .n { color: var(--sc-birdie); }
.tiles button.t-p::before { background: var(--sc-par); }
.tiles button.t-o::before { background: var(--sc-bogey); }  .tiles button.t-o .n { color: var(--sc-bogey); }
.tiles button.t-d::before { background: var(--sc-double); } .tiles button.t-d .n { color: var(--sc-double); }
.tiles button.sel .n { color: inherit; }
