:root { font: 100% system-ui, sans-serif; color: #17243a; background: #f8fafc; }
body { margin: 0; }
main { width: min(46rem, calc(100% - 2rem)); margin: 3rem auto; }
h1 { margin: 0 0 1.5rem; }
ul { padding: 0; list-style: none; }
li { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; background: white; border-bottom: 1px solid #dbe3eb; overflow-wrap: anywhere; }
.score-entry { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.play { display: block; width: 100%; color: #164d8a; text-decoration: none; }
form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
input, button { font: inherit; }
input { min-width: 0; max-width: 100%; }
input:not([type="file"]) { padding: .4rem; }
button { border: 1px solid #2563a1; border-radius: .35rem; background: #1c528b; color: white; padding: .4rem .7rem; cursor: pointer; }
.score-pin { display: grid; flex-shrink: 0; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: #64748b; }
.score-pin svg { width: 22px; height: 22px; transform: rotate(35deg); }
.score-pin[aria-pressed="true"] { color: #1c528b; background: #e9f2fb; }
.score-pin[aria-pressed="true"] svg { transform: none; }
.score-pin:disabled { opacity: .45; cursor: default; }
dialog { box-sizing: border-box; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; padding: 0; color: inherit; }
dialog[open] { display: grid; grid-template-rows: auto 1fr; }
dialog header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; }
dialog h2 { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
iframe { width: 100%; height: 100%; border: 0; }
[role="alert"] { color: #9b1c1c; }
