/* Huron Darts Scorer */
.hds, .hds-stats {
	--hds-main: #14213d; --hds-hi: #e0a526; --hds-btn: #c8102e; --hds-bg: #f6f1e6;
	--hds-line: color-mix(in srgb, var(--hds-main) 18%, var(--hds-bg));
	--hds-soft: color-mix(in srgb, var(--hds-main) 7%, var(--hds-bg));
	--hds-muted: color-mix(in srgb, var(--hds-main) 65%, var(--hds-bg));
	--hds-on: color-mix(in srgb, var(--hds-bg) 90%, var(--hds-main));
	--hds-display: "Inter Tight", "Inter Display", Inter, "Arial Black", Arial, sans-serif;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--hds-main);
}
.hds { max-width: 520px; margin: 0 auto !important; min-height: 640px; background: var(--hds-bg); display: flex; flex-direction: column; font-size: 16px; line-height: 1.4; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
body.hd-app-shell .hds { min-height: 100dvh; }
.hds *, .hds *::before, .hds *::after { box-sizing: border-box; }
.hds button { font: inherit; color: inherit; margin: 0; cursor: pointer; border: 0; background: none; text-transform: none; letter-spacing: 0; border-radius: 10px; padding: 0; transform: none; filter: none; }
.hds button:disabled { opacity: .3; cursor: default; }
.hds button:active:not(:disabled) { transform: scale(.97); }
.hds a { color: var(--hds-btn); }
.hds p { margin: 0; }

.hds-top { background: var(--hds-main); color: var(--hds-on); border-bottom: 4px solid var(--hds-hi); padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; }
.hds a.hds-brand { color: var(--hds-on); text-decoration: none; font-family: var(--hds-display); font-weight: 900; font-size: 1.15rem; text-transform: uppercase; letter-spacing: -.01em; }
.hds-brand img { height: 38px; max-height: 38px; width: auto; max-width: 56vw; object-fit: contain; object-position: left center; display: block; }
.hds .hds-chip { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hds-hi); border: 1.5px solid var(--hds-hi); border-radius: 6px; padding: 7px 10px; text-decoration: none; white-space: nowrap; }
.hds .hds-chip.is-armed { background: var(--hds-btn); border-color: var(--hds-btn); color: #fff; }

.hds-pad { padding: 14px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.hds-lab { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hds-btn); margin-top: 8px; }
.hds-note { font-size: .82rem; color: var(--hds-muted); }

.hds-seg { display: grid; gap: 8px; }
.hds-seg--2 { grid-template-columns: 1fr 1fr; } .hds-seg--3 { grid-template-columns: repeat(3, 1fr); } .hds-seg--4 { grid-template-columns: repeat(4, 1fr); }
.hds .hds-seg__b { background: #fff; border: 2px solid var(--hds-line); padding: 12px 4px; text-align: center; font-weight: 800; font-size: .9rem; min-height: 48px; }
.hds .hds-seg--num .hds-seg__b { font-family: var(--hds-display); font-weight: 900; font-size: 1.25rem; }
.hds .hds-seg--num .hds-seg__b:last-child { font-size: .9rem; }
.hds .hds-seg__b small { display: block; font-size: .66rem; font-weight: 600; opacity: .75; margin-top: 3px; line-height: 1.25; }
.hds .hds-seg__b.is-on { background: var(--hds-main); border-color: var(--hds-main); color: var(--hds-hi); }

.hds input.hds-in { width: 100%; min-width: 0; flex: 1; font: inherit; font-weight: 600; color: var(--hds-main); background: #fff; border: 2px solid var(--hds-line); border-radius: 10px; padding: 11px 12px; margin: 0; user-select: text; -webkit-user-select: text; }
.hds input.hds-in:focus { outline: none; border-color: var(--hds-main); }
.hds-row__main { display: flex; align-items: center; gap: 6px; }
.hds-row__n { font-family: var(--hds-display); font-weight: 900; color: var(--hds-hi); width: 18px; text-align: center; flex: none; }
.hds-badge { flex: none; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--hds-hi); border-radius: 6px; padding: 5px 7px; }
.hds .hds-mini { flex: none; width: 40px; height: 44px; border: 2px solid var(--hds-line); font-weight: 800; color: var(--hds-muted); background: #fff; }
.hds .hds-mini--wide { width: auto; padding: 0 10px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.hds-sug { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 24px; }
.hds-sug:not(:empty) { margin-top: 6px; }
.hds .hds-sug__b { background: var(--hds-main); color: var(--hds-hi); font-size: .85rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.hds .hds-add { border: 2px dashed var(--hds-line); padding: 11px; text-align: center; font-weight: 700; color: var(--hds-muted); width: 100%; }
.hds-team { background: var(--hds-soft); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.hds-team__head { display: flex; gap: 6px; }
.hds input.hds-in--team { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.hds .hds-go { margin-top: auto; background: var(--hds-btn); color: #fff; padding: 17px; text-align: center; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; width: 100%; }
.hds .hds-linkish { color: var(--hds-muted); text-decoration: underline; font-size: .85rem; padding: 6px 0; text-align: left; }
.hds-help { background: #fff; border-left: 5px solid var(--hds-hi); border-radius: 8px; padding: 10px 12px; font-size: .85rem; display: grid; gap: 6px; }
.hds-flash { min-height: 0; font-size: .85rem; font-weight: 700; border-radius: 8px; }
.hds-flash.is-bad { background: var(--hds-btn); color: #fff; padding: 9px 12px; }
.hds-flash.is-ok { background: #fff; border-left: 5px solid var(--hds-hi); padding: 9px 12px; }

/* scoring */
.hds-info { background: var(--hds-main); color: var(--hds-on); text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 9px 8px 8px; opacity: .95; }
.hds-board { background: var(--hds-main); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 10px 12px; }
.hds-board > :only-child { grid-column: 1 / -1; }
.hds-card { background: color-mix(in srgb, var(--hds-bg) 10%, var(--hds-main)); color: var(--hds-on); border: 2px solid transparent; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.hds-card.is-on { background: var(--hds-bg); color: var(--hds-main); border-color: var(--hds-hi); }
.hds-card__name { display: flex; justify-content: space-between; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hds-card__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hds-card__name i { font-style: normal; color: var(--hds-btn); white-space: nowrap; }
.hds-card__score { display: block; font-family: var(--hds-display); font-weight: 900; font-size: 3.4rem; line-height: 1; margin: 3px 0; font-variant-numeric: tabular-nums; }
.hds-card__who { display: block; font-size: .82rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hds-card__sub { display: block; font-size: .72rem; opacity: .75; }
.hds-card__need { display: inline-block; margin-top: 4px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--hds-hi); color: var(--hds-main); border-radius: 5px; padding: 3px 6px; }
.hds-board--many .hds-card { padding: 7px 10px; }
.hds-board--many .hds-card__score { font-size: 2rem; }

.hds-turn { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 8px; padding: 10px 10px 0; }
.hds-turn--total { grid-template-columns: 2fr 1fr; }
.hds-slot { background: #fff; border: 2px solid var(--hds-line); border-radius: 10px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--hds-display); font-weight: 900; font-size: 1.25rem; line-height: 1.1; }
.hds-slot.is-empty { border-style: dashed; background: none; }
.hds-slot--typed { font-size: 1.9rem; }
.hds-slot--typed.is-empty { font-family: inherit; font-size: .85rem; font-weight: 600; color: var(--hds-muted); }
.hds-slot--total { background: var(--hds-hi); border-color: var(--hds-hi); }
.hds-slot--total small { font-family: Inter, system-ui, sans-serif; font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hds > .hds-flash { margin: 8px 10px 0; }
.hds-order { margin: 8px 10px 0; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: .76rem; display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.hds-order b { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hds-btn); margin-right: 2px; }
.hds-order span { background: var(--hds-soft); border-radius: 6px; padding: 3px 7px; font-weight: 600; }
.hds-order span.is-on { background: var(--hds-main); color: var(--hds-hi); }

.hds-entry { margin: auto 10px 0; padding-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.hds .hds-entry__b { border: 2px solid var(--hds-main); padding: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 8px 0 0 8px; }
.hds .hds-entry__b + .hds-entry__b { border-radius: 0 8px 8px 0; border-left: 0; }
.hds .hds-entry__b.is-on { background: var(--hds-main); color: var(--hds-hi); }
.hds-pad2 { padding: 8px 10px calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 7px; }
.hds-mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.hds .hds-mod { border: 2px solid var(--hds-main); padding: 11px 4px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; min-height: 46px; }
.hds .hds-mod.is-on { background: var(--hds-main); color: var(--hds-hi); }
.hds-nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.hds-digits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.hds-bot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.hds-bot--2 { grid-template-columns: 1fr 1fr; }
.hds .hds-key { background: #fff; min-height: 50px; font-family: var(--hds-display); font-weight: 900; font-size: 1.25rem; box-shadow: 0 2px 0 var(--hds-line); }
.hds .hds-digits .hds-key { min-height: 56px; font-size: 1.5rem; }
.hds .hds-key--sm { font-family: inherit; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hds .hds-key--miss { background: var(--hds-line); box-shadow: none; }
.hds .hds-key--undo, .hds .hds-key--enter { background: var(--hds-btn); color: #fff; box-shadow: none; }
.hds .hds-digits .hds-key--enter { font-family: inherit; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.hds-finish p { font-weight: 700; text-align: center; padding: 4px 0; }

/* result */
.hds-win { background: var(--hds-main) repeating-linear-gradient(115deg, transparent 0 40px, color-mix(in srgb, var(--hds-hi) 9%, transparent) 40px 80px); color: var(--hds-on); text-align: center; padding: 24px 14px 26px; }
.hds-win small { font-size: .72rem; font-weight: 800; letter-spacing: .2em; color: var(--hds-hi); text-transform: uppercase; }
.hds .hds-win h2 { margin: 8px 0 4px; font-family: var(--hds-display); font-weight: 900; font-size: 2.5rem; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; color: inherit; }
.hds-win p { opacity: .85; }
.hds-save { border-radius: 10px; padding: 11px 13px; font-size: .85rem; font-weight: 600; }
.hds-save--ok { background: #e3f1e6; color: #1c5a2e; }
.hds-save--guest { background: #fff; border: 2px dashed var(--hds-line); }
.hds-b2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.hds .hds-btn2 { border: 2px solid var(--hds-main); padding: 15px 8px; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hds .hds-btn2--main { background: var(--hds-main); color: var(--hds-hi); }
.hds .hds-b2 + .hds-go { margin-top: 0; }

/* tables: result screen, My Stats, leaderboard */
.hds-scroll { overflow-x: auto; }
.hds-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .92rem; font-variant-numeric: tabular-nums; margin: 0; }
table.hds-table th { background: var(--hds-main); color: var(--hds-hi); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 9px 8px; text-align: right; border: 0; }
table.hds-table td { padding: 10px 8px; text-align: right; border: 0; border-bottom: 1px solid var(--hds-soft); font-weight: 600; }
table.hds-table th:first-child, table.hds-table td:first-child { text-align: left; padding-left: 14px; }
.hds-stats table.hds-table th:nth-child(2), .hds-stats table.hds-table td:nth-child(2) { text-align: left; }
table.hds-table td.hds-group { background: var(--hds-soft); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; }
.hds-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 24px; }
.hds-tile { background: #fff; border-radius: 12px; padding: 14px; border-top: 5px solid var(--hds-hi); }
.hds-tile b { display: block; font-family: var(--hds-display); font-weight: 900; font-size: 1.9rem; line-height: 1.1; }
.hds-tile span { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hds-muted); }
.hds-stats h3 { margin: 22px 0 10px; }
.hds-link-btn { display: inline-block; background: var(--hds-btn); color: #fff !important; text-decoration: none; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; padding: 12px 20px; border-radius: 6px; }
.hds-link-btn--alt { background: var(--hds-main); }

/* events */
.hds select.hds-sel { width: 100%; font: inherit; font-weight: 700; color: var(--hds-main); background: #fff; border: 2px solid var(--hds-line); border-radius: 10px; padding: 12px; margin: 0; min-height: 48px; }
.hds-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hds-pick { display: block; margin: 0; }
.hds-pick span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hds-muted); margin-bottom: 4px; }
.hds-note--box { border: 2px dashed var(--hds-line); border-radius: 10px; padding: 12px; text-align: center; }
.hds a.hds-linkish { display: block; color: var(--hds-muted); font-size: .85rem; }
.hds.hds--page { max-width: 720px; min-height: 0; border-radius: 14px; user-select: auto; -webkit-user-select: auto; }
.hds-ev { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 12px; border-left: 6px solid var(--hds-hi); }
.hds-ev__main { flex: 1; min-width: 0; }
.hds-ev__main b { display: block; font-size: 1.05rem; }
.hds-ev__main span { font-size: .8rem; color: var(--hds-muted); }
.hds-ev__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hds-ev__meta input.hds-in { flex: 1 1 160px; }
.hds .hds-mini.is-armed { background: var(--hds-btn); border-color: var(--hds-btn); color: #fff; }
.hds label.hds-check { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; margin: 0; }
.hds label.hds-check input { width: 20px; height: 20px; margin: 0; }
.hds-brandbox { background: var(--hds-soft); border-radius: 12px; padding: 12px; display: grid; gap: 10px; }
.hds-logo-prev { background: var(--hds-main); border-radius: 10px; padding: 12px; }
.hds-logo-prev img { max-height: 48px; max-width: 100%; display: block; }
.hds label.hds-upload { display: inline-flex; align-items: center; height: 44px; cursor: pointer; margin: 0; border-radius: 10px; }
.hds label.hds-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hds-colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.hds label.hds-color { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; margin: 0; }
.hds label.hds-color input { width: 44px; height: 34px; padding: 0; border: 2px solid var(--hds-line); border-radius: 8px; background: #fff; }
.hds-filter { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hds-filter label { margin: 0; }
.hds-filter select { width: auto; max-width: 100%; }
.hds textarea.hds-paste { resize: vertical; min-height: 70px; flex: none; }
.hds-draw select.hds-sel { flex: 2 1 160px; width: auto; }
.hds-draw input.hds-in--n { flex: 1 1 70px; text-align: center; }

/* organizer app: phone first, two columns on tablets */
.hds-top__links { display: flex; gap: 8px; }
.hds-hello { font-size: .8rem; color: var(--hds-muted); }
.hds.hds--page .hds-go { margin-top: 0; }
.hds-evgrid, .hds-teamgrid { display: grid; gap: 10px; }
.hds-cols { display: block; flex: 1; }
.hds-savebar { position: sticky; bottom: 0; background: var(--hds-bg); border-top: 2px solid var(--hds-line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: grid; gap: 8px; z-index: 5; }
.hds-savebar .hds-b2 { margin: 0; }
body.hd-app-shell .hds.hds--page { max-width: none; min-height: 100dvh; border-radius: 0; }
body.hd-app-shell .hds.hds--page > .hds-pad { width: 100%; max-width: 1100px; margin: 0 auto; flex: 0 0 auto; }
@media (min-width: 760px) {
	.hds.hds--page { font-size: 17px; }
	.hds-evgrid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
	body.hd-app-shell .hds-cols { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); align-items: start; max-width: 1400px; width: 100%; margin: 0 auto; }
	body.hd-app-shell .hds-col { flex: none; }
	body.hd-app-shell .hds-teamgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
	body.hd-app-shell .hds-savebar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-inline: 24px; }
	body.hd-app-shell .hds-savebar .hds-b2 { width: 380px; flex: none; }
	body.hd-app-shell .hds-savebar .hds-flash { flex: 1; }
}
@media (min-width: 760px) {
	/* tablet: the two columns scroll on their own, so the teams stay in view while players are entered */
	body.hd-app-shell .hds.hds--page { height: 100dvh; }
	body.hd-app-shell .hds-cols { flex: 1 1 0; min-height: 0; overflow: hidden; }
	body.hd-app-shell .hds-col { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
	body.hd-app-shell .hds-col:first-child { border-right: 2px solid var(--hds-line); }
}

/* match length, event settings, site widgets */
.hds-fixed { background: var(--hds-main); color: var(--hds-hi); border-radius: 10px; padding: 14px; font-weight: 800; text-align: center; }
.hds-results { list-style: none; margin: 0; padding: 0; width: 100%; }
.hds-results li { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--hds-main) 12%, transparent); font-weight: 700; font-size: .92rem; }
.hds-results li:last-child { border-bottom: 0; }
.hds-results em { font-style: normal; background: var(--hds-main); color: var(--hds-hi); border-radius: 5px; padding: 2px 8px; font-weight: 900; font-size: .8rem; }
.hds-results__l { text-align: right; font-weight: 600; opacity: .65; }
.hds-results small { grid-column: 1 / -1; font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-top: -4px; }
.hds-next { display: flex; gap: 14px; align-items: center; }
.hds-next__date { background: var(--hds-btn); color: #fff; border-radius: 10px; padding: 10px 12px; font-weight: 900; font-size: 1.2rem; line-height: 1.05; text-transform: uppercase; text-align: center; max-width: 92px; }
.hds-next h3 { margin: 0 0 4px; }
.hds-next p { margin: 0; opacity: .7; font-size: .92rem; }
.hds-evlist { display: grid; gap: 14px; }
.hds-evcard { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 12px; padding: 16px; border-left: 6px solid var(--hds-hi); }
.hds-evcard__date { flex: none; width: 84px; background: var(--hds-main); color: var(--hds-hi); border-radius: 10px; padding: 12px 6px; text-align: center; font-weight: 900; font-size: 1.15rem; text-transform: uppercase; line-height: 1.1; }
.hds-evcard h3 { margin: 0 0 4px; }
.hds-evcard p { margin: 0; opacity: .75; }
.hds-evcard__game { font-weight: 700; opacity: 1 !important; }
.hds .hds-seg--2 .hds-seg__b small { font-size: .68rem; }

/* ---------- organizer app: tabs, formats, tonight ---------- */
.hds-brand { display: flex; align-items: center; gap: 10px; }
.hds-brand__tag { font-family: Inter, system-ui, sans-serif; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--hds-hi); color: var(--hds-main); border-radius: 5px; padding: 3px 7px; }
.hds-tabs { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: color-mix(in srgb, var(--hds-main) 88%, #000); overflow-x: auto; flex: none; }
.hds-tabs__name { color: var(--hds-on); font-size: .9rem; margin: 0 8px 0 2px; white-space: nowrap; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; }
.hds .hds-tab { flex: none; color: var(--hds-on); border: 1.5px solid color-mix(in srgb, var(--hds-on) 30%, transparent); border-radius: 8px; padding: 9px 12px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.hds .hds-tab.is-on { background: var(--hds-hi); border-color: var(--hds-hi); color: var(--hds-main); }
.hds .hds-tab--back { border-color: transparent; opacity: .85; }
.hds-formats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hds .hds-format { text-align: left; background: #fff; border: 2px solid var(--hds-line); border-radius: 12px; padding: 14px; display: block; }
.hds .hds-format.is-on { border-color: var(--hds-main); box-shadow: inset 0 0 0 2px var(--hds-main); }
.hds .hds-format b { display: block; font-family: var(--hds-display); font-weight: 900; text-transform: uppercase; font-size: .95rem; margin-bottom: 6px; }
.hds .hds-format span { font-size: .82rem; color: var(--hds-muted); line-height: 1.4; display: block; }
.hds-m { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #fff; border-radius: 10px; padding: 9px 12px; border-left: 5px solid var(--hds-line); }
.hds-m.is-live { border-left-color: var(--hds-btn); }
.hds-m.is-done { border-left-color: var(--hds-hi); }
.hds-m__teams { display: flex; align-items: center; gap: 8px; font-weight: 700; flex-wrap: wrap; }
.hds-m__teams small { font-weight: 800; font-size: .7rem; color: var(--hds-muted); min-width: 26px; }
.hds-m__teams i { font-style: normal; font-weight: 600; opacity: .5; font-size: .8rem; }
.hds-m__teams .is-w { color: var(--hds-main); } .hds-m__teams .is-w::after { content: " ✓"; color: #1c7a3c; }
.hds-m__teams .is-l { opacity: .5; font-weight: 600; }
.hds-m__act { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hds-m__act em { font-style: normal; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.hds-m__live { color: var(--hds-btn); } .hds-m__wait { opacity: .5; } .hds-m__score { background: var(--hds-main); color: var(--hds-hi); border-radius: 5px; padding: 3px 8px; }
.hds .hds-m .hds-mini { height: 38px; font-size: .68rem; }
.hds .hds-mini--block { width: 100%; height: auto; padding: 12px; white-space: normal; }
.hds-champ { background: var(--hds-main); color: var(--hds-on); border-radius: 12px; padding: 16px; text-align: center; border: 3px solid var(--hds-hi); }
.hds-champ small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--hds-hi); }
.hds-champ b { font-family: var(--hds-display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1.1; }
.hds-standings__event { font-weight: 800; margin: 0 0 8px; }
.hds-sched h3 { margin: 18px 0 6px; font-size: 1rem; }
.hds-col--narrow, .hds-col--wide { width: 100%; margin: 0 auto; }
.hds-col--narrow { max-width: 620px; } .hds-col--wide { max-width: 980px; }
@media (min-width: 760px) {
	body.hd-app-shell .hds-cols--setup, body.hd-app-shell .hds-cols--format { display: block; overflow-y: auto; }
	body.hd-app-shell .hds-cols--setup .hds-col, body.hd-app-shell .hds-cols--format .hds-col { height: auto; overflow: visible; border: 0; }
	body.hd-app-shell .hds-cols--tonight { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); }
	body.hd-app-shell .hds-cols--tonight > :only-child { grid-column: 1 / -1; }
}
.hds-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hds-places li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 9px 12px; font-weight: 700; color: var(--hds-main); }
.hds-places li b { font-family: var(--hds-display); font-weight: 900; min-width: 44px; color: var(--hds-btn); }
.hds-places li:first-child { background: var(--hds-main); color: var(--hds-on); }
.hds-places li:first-child b { color: var(--hds-hi); }
.hds-stats .hds-tiles { margin-bottom: 8px; }
.hds-fine { font-size: .8rem; opacity: .7; margin: 10px 0 0; }

/* Event registration */
.hds-reg { max-width: 520px; background: #fff; border: 2px solid var(--hds-line); border-radius: 12px; padding: 20px; }
.hds-reg__title { margin: 0 0 10px; }
.hds-reg__form label { display: block; margin: 0 0 12px; }
.hds-reg__form label span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hds-muted); margin-bottom: 4px; }
.hds-reg__form input[type=text], .hds-reg__form input[type=email], .hds-reg__form select { width: 100%; box-sizing: border-box; min-height: 46px; padding: 8px 12px; border: 2px solid var(--hds-line); border-radius: 8px; font: inherit; font-size: 16px; background: #fff; }
.hds-reg__form button { border: 0; cursor: pointer; font-family: inherit; }
.hds-reg__event { font-weight: 800; }
.hds-reg__small { font-size: .82rem; color: var(--hds-muted); margin: 10px 0 0; }
.hds-reg__hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.hds-reg__note { padding: 10px 12px; border-radius: 8px; font-weight: 700; background: #fdecea; color: #8a1220; }
.hds-reg__note.is-ok { background: #e7f5ea; color: #17602b; }
.hds-regadd .hds-in { flex: 1 1 130px; min-width: 0; }
.hds-reg-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--hds-line); }
.hds-reg-row__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hds-reg-row__who span { font-size: .78rem; color: var(--hds-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Boards */
.hds .hds-go--alt { background: var(--hds-main); margin-top: 10px; }
.hds .hds-m .hds-sel.hds-sel--board { flex: none; width: auto; min-width: 0; height: 38px; min-height: 0; padding: 0 26px 0 8px; font-size: .78rem; font-weight: 700; }
.hds-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 6px 0 10px; }
.hds-bd { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 2px solid var(--hds-line); border-radius: 10px; padding: 10px 12px; }
.hds-bd small { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hds-muted); }
.hds-bd span { font-size: .76rem; color: var(--hds-muted); }
.hds-bd.is-set { border-color: var(--hds-hi); }
.hds-bd.is-live { border-color: var(--hds-btn); }
.hds-bd.is-live span { color: var(--hds-btn); font-weight: 800; }
.hds-callout { display: grid; gap: 6px; margin: 6px 0 12px; }
.hds-callout__t { display: flex; gap: 10px; align-items: baseline; background: #fff; border: 2px solid var(--hds-line); border-radius: 10px; padding: 8px 12px; }
.hds-callout__t b { flex: none; min-width: 74px; font-family: var(--hds-display); text-transform: uppercase; }
.hds-callout__t span { font-size: .9rem; }
.hds-bs { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px; text-align: center; }
.hds-bs__head { display: flex; flex-direction: column; }
.hds-bs__head b { font-family: var(--hds-display); font-weight: 900; font-size: 2rem; text-transform: uppercase; color: var(--hds-btn); line-height: 1; }
.hds-bs__head span { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hds-muted); }
.hds .hds-bs__go { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 55vh; padding: 22px 14px; border-radius: 16px; background: var(--hds-main); color: var(--hds-on, #fff); border: 4px solid var(--hds-hi); }
.hds-bs__go small { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hds-hi); }
.hds-bs__vs { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px 26px; width: 100%; }
@media (min-width: 900px) and (orientation: landscape) { .hds-bs__vs { flex-direction: row; } .hds-bs__vs > div { flex: 1; } }
.hds-bs__vs > div { display: flex; flex-direction: column; gap: 6px; }
.hds-bs__vs b { font-family: var(--hds-display); font-weight: 900; font-size: clamp(2.4rem, 9vw, 5.5rem); line-height: .95; text-transform: uppercase; }
.hds-bs__vs span { font-size: .95rem; opacity: .85; }
.hds-bs__vs i { font-style: normal; font-weight: 900; font-size: 1.4rem; color: var(--hds-hi); text-transform: uppercase; }
.hds-bs__go em { font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--hds-btn); color: #fff; padding: 12px 22px; border-radius: 999px; animation: hds-pulse 1.6s ease-in-out infinite; }
.hds-bs__wait { font-family: var(--hds-display); font-weight: 900; font-size: 1.8rem; text-transform: uppercase; margin-top: 12vh; }
@keyframes hds-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .hds-bs__go em { animation: none; } }

/* Board code + QR */
.hds-qr { display: flex; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--hds-line); border-radius: 12px; padding: 12px; margin: 6px 0 12px; }
.hds-qr__img { flex: none; line-height: 0; }
.hds-qr__img svg { width: 150px; height: 150px; display: block; }
.hds-qr__side { display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
.hds-qr__side small { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hds-muted); }
.hds-qr__side b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.9rem; letter-spacing: .14em; line-height: 1; color: var(--hds-main); }
.hds-qr__side span { font-size: .78rem; color: var(--hds-muted); }
.hds-join .hds-in { flex: 1 1 140px; min-width: 0; text-transform: uppercase; letter-spacing: .12em; }
.hds-pad > .hds-scroll, .hds-pad > .hds-qr, .hds-pad > .hds-callout, .hds-pad > .hds-boards { flex: none; }
.hds-qr--reg .hds-qr__img svg { width: 120px; height: 120px; }
.hds-guest { flex: none; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hds-muted); border: 1px dashed var(--hds-line); border-radius: 6px; padding: 4px 6px; }

/* Pick from members */
.hds-pick-wrap { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 16, 32, .6); display: flex; align-items: center; justify-content: center; padding: 14px; }
.hds-pickbox { width: 100%; max-width: 560px; max-height: 90vh; display: flex; flex-direction: column; gap: 10px; background: var(--hds-bg); border-radius: 14px; border-top: 5px solid var(--hds-hi); padding: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.hds-pickbox__head { display: flex; justify-content: space-between; align-items: center; }
.hds-pickbox__head b { font-family: var(--hds-display); font-size: 1.15rem; text-transform: uppercase; }
.hds-pickbox__list { flex: 1; min-height: 120px; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 2px solid var(--hds-line); border-radius: 10px; }
.hds-pk { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--hds-line); font-weight: 700; cursor: pointer; }
.hds-pk input { width: 24px; height: 24px; flex: none; accent-color: var(--hds-btn); }
.hds-pk span { flex: 1; }
.hds-pk em { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hds-muted); }
.hds-pk.is-here { opacity: .55; cursor: default; }
.hds-pickbox__foot { display: flex; gap: 8px; }
.hds .hds-pickbox__foot .hds-btn2 { flex: 0 0 auto; }
.hds .hds-pickbox__foot .hds-go { margin-top: 0; flex: 1; }
.hds-formats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
