/* Scan to post: one card on a phone. The course's colours come in on .pst as --ink/--acc/--link/--strong/--soft. */
.pst { margin: 0; min-height: 100vh; background: #F6F4EE; color: #0F2029; font: 16px/1.45 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
.pst * { box-sizing: border-box; }
.pst-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--ink); color: #fff; font-weight: 600; letter-spacing: -.01em; }
.pst-bar img { height: 30px; width: auto; max-width: 140px; object-fit: contain; }
.pst-main { max-width: 520px; margin: 0 auto; padding: 22px 16px 40px; }
.pst-card { background: #fff; border: 1px solid rgba(15, 32, 41, .08); border-radius: 22px; padding: 24px 22px 26px; box-shadow: 0 1px 2px rgba(15, 32, 41, .04), 0 20px 40px -28px rgba(15, 32, 41, .35); }
.pst-card--quiet { text-align: center; padding-top: 34px; }
.pst-eyebrow { margin: 0 0 8px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.pst h1 { margin: 0 0 12px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 36px; line-height: 1.05; letter-spacing: -.02em; }
.pst p { margin: 0 0 12px; }
.pst-hint { color: #5F6E76; font-size: 14.5px; }
.pst-who { font-size: 14.5px; color: #3C4C55; }
.pst-who a, .pst-back { color: var(--link); text-decoration: none; font-weight: 500; }
.pst-back { display: block; text-align: center; margin-top: 14px; font-size: 15px; }
.pst-msg { padding: 10px 14px; border-radius: 12px; background: #FCEFD2; color: #6B4A00; font-size: 14.5px; font-weight: 500; }
.pst-btn { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; width: 100%; box-shadow: 0 10px 24px -14px var(--ink); transition: transform .15s ease; }
.pst-btn:active { transform: scale(.985); }
.pst-btn--ghost { background: #fff; color: var(--ink); border-color: rgba(15, 32, 41, .2); box-shadow: none; }
.pst-btn--big { margin-top: 18px; min-height: 58px; font-size: 18px; }
.pst-acts { display: grid; gap: 10px; margin-top: 18px; }
/* the names */
.pst-filter { width: 100%; min-height: 50px; margin: 6px 0 12px; padding: 0 16px; border: 1px solid rgba(15, 32, 41, .2); border-radius: 14px; font: inherit; font-size: 17px; background: #fff; }
.pst-filter:focus { outline: 0; border-color: var(--link); box-shadow: 0 0 0 4px var(--soft); }
.pst-names { display: grid; gap: 8px; max-height: 52vh; overflow: auto; padding: 2px; margin: 0 -2px; }
.pst-names button { all: unset; display: flex; flex-direction: column; gap: 2px; padding: 13px 16px; border: 1px solid rgba(15, 32, 41, .1); border-radius: 14px; background: #FBFAF7; cursor: pointer; }
.pst-names button b { font-size: 17px; font-weight: 600; }
.pst-names button small { font-size: 13px; color: #6A7880; }
 .pst-names button:focus-visible { border-color: var(--ink); background: #fff; outline: 0; }
@media (hover: hover) {
	.pst-names button:hover { border-color: var(--ink); background: #fff; outline: 0; }
}
.pst-names button[hidden] { display: none; }
.pst-none { color: #6A7880; font-size: 14.5px; text-align: center; padding: 10px; }
.pst-join { margin-top: 14px; }
.pst-forget { margin-top: 20px; text-align: center; }
.pst-forget button { all: unset; font-size: 13px; color: #6A7880; text-decoration: underline; cursor: pointer; }
/* the score */
.pst-form { margin-top: 6px; }
.pst-field { display: block; margin: 12px 0; }
.pst-field > span { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: #3C4C55; }
.pst-field input, .pst-field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid rgba(15, 32, 41, .2); border-radius: 12px; font: inherit; font-size: 17px; background: #fff; color: #0F2029; }
.pst-field input:focus, .pst-field select:focus { outline: 0; border-color: var(--link); box-shadow: 0 0 0 4px var(--soft); }
.pst-field--total input { font-family: 'Instrument Serif', Georgia, serif; font-size: 34px; min-height: 64px; text-align: center; letter-spacing: -.02em; }
.pst-holes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; margin: 8px 0 4px; }
.pst-holes label { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pst-holes label span { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; color: #6A7880; }
.pst-holes label small { font-size: 9.5px; color: #8A959C; letter-spacing: .02em; white-space: nowrap; }
.pst-live { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 2px; padding: 10px 14px; border-radius: 12px; background: var(--soft); color: var(--ink); }
.pst-live b { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.pst-live span { font-family: 'Instrument Serif', Georgia, serif; font-size: 28px; line-height: 1; letter-spacing: -.02em; }
.pst-holes input[readonly] { background: #F3F1EA; color: #6A7880; }
.pst-holes input { width: 100%; min-height: 44px; padding: 0; border: 1px solid rgba(15, 32, 41, .2); border-radius: 10px; text-align: center; font: inherit; font-size: 17px; font-weight: 600; background: #fff; color: #0F2029; }
.pst-holes input:focus { outline: 0; border-color: var(--link); box-shadow: 0 0 0 3px var(--soft); }
.pst-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid rgba(15, 32, 41, .12); border-radius: 14px; background: #FAF9F5; margin: 12px 0; }
.pst-seg label { position: relative; }
.pst-seg input { position: absolute; opacity: 0; inset: 0; }
.pst-seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; font-weight: 500; color: #5F6E76; }
.pst-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 32, 41, .08); }
/* done */
.pst-card--done { text-align: center; }
.pst-done__mark { width: 64px; height: 64px; margin: 4px auto 16px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.pst-done__mark svg { width: 32px; height: 32px; fill: none; stroke: var(--strong); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pst-done__num { font-family: 'Instrument Serif', Georgia, serif; font-size: 72px; line-height: 1; letter-spacing: -.03em; margin: 6px 0 10px; color: var(--ink); }
.pst-foot { text-align: center; font-size: 12px; color: #8A959C; padding: 0 0 24px; }
/* the poster */
.pst--print { background: #fff; }
.pst-poster { max-width: 640px; margin: 0 auto; padding: 48px 32px; text-align: center; }
.pst-poster__logo { height: 64px; width: auto; max-width: 260px; object-fit: contain; margin-bottom: 18px; }
.pst-poster__course { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--link); }
.pst-poster h1 { font-size: 52px; margin-bottom: 4px; }
.pst-poster__when { color: #5F6E76; font-size: 18px; margin-bottom: 26px; }
.pst-poster__code { display: inline-block; padding: 18px; border: 2px solid var(--ink); border-radius: 28px; }
.pst-poster__code svg { display: block; width: min(420px, 70vw); height: auto; }
.pst-poster__do { margin: 26px 0 6px; font-family: 'Instrument Serif', Georgia, serif; font-size: 34px; letter-spacing: -.01em; color: var(--ink); }
.pst-poster__how { color: #3C4C55; font-size: 17px; max-width: 440px; margin: 0 auto 12px; }
.pst-poster__url { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 14px; color: #6A7880; }
.pst-poster__print { margin-top: 24px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
@media print { .pst-poster__print { display: none; } .pst-poster { padding: 0; } .pst { background: #fff; } }
@media (prefers-reduced-motion: reduce) { .pst-btn { transition: none; } }
