/* Four in a row: a deep teal frame with coral and cream discs. Discs also differ in mark (dot or ring), not only colour. */
:root { --page: #e6ecea; --card: #f4f7f6; --ink: #142220; --soft: #5b6b68; --line: #cbd6d3; --field: #1e5a55; --act: #1e5a55; --on-act: #ffffff; --stop: #b3261e; --one: #ef6f51; --two: #f6ecd2; --wide: 520px; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page: #0f1716; --card: #172220; --ink: #e8f0ee; --soft: #9fb0ac; --line: #2b3a37; --field: #174844; --act: #7fd1c6; --on-act: #062320; --stop: #ff8a80; color-scheme: dark; }
}
.between { justify-content: space-between; align-items: center; } .scores { display: flex; gap: 12px; color: var(--soft); font-size: 15px; } .scores b { color: var(--ink); }
.bar { justify-content: space-between; gap: 8px; margin-bottom: 10px; } .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.frame { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 8px; background: var(--field); border-radius: 16px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.25), 0 6px 16px rgba(0,0,0,.2); }
.col { all: unset; display: grid; grid-template-rows: repeat(6, 1fr); gap: 2px; border-radius: 10px; cursor: pointer; }
.col:hover:not([disabled]), .col:focus-visible { background: rgba(255,255,255,.1); } .col:focus-visible { outline: 3px solid var(--two); }
.col[disabled] { cursor: default; opacity: 1; }
.hole { aspect-ratio: 1; border-radius: 50%; margin: 6%; background: color-mix(in srgb, var(--page) 88%, black); box-shadow: inset 0 3px 4px rgba(0,0,0,.3); display: grid; place-items: center; }
.hole.p1, .hole.p-1 { box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.hole.p1 { background: var(--one); } .hole.p-1 { background: var(--two); }
.hole.p1::after { content: ""; width: 22%; height: 22%; border-radius: 50%; background: rgba(0,0,0,.22); }
.hole.p-1::after { content: ""; width: 44%; height: 44%; border-radius: 50%; border: 3px solid rgba(0,0,0,.14); }
.hole.new { animation: fall .28s cubic-bezier(.5,0,.75,0); } @keyframes fall { from { translate: 0 calc(var(--r) * -112%); } }
.hole.win { outline: 4px solid #fff; outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .hole.new { animation: none; } }
.msg { text-align: center; font-weight: 700; min-height: 1.5em; }
.msg i { display: inline-block; width: .9em; height: .9em; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
