/* Grapple Hacker app screens. Fonts are self-hosted (no calls to Google). */
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-display: swap; src: url("fonts/montserrat-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }

:root {
	--ink: #0A0B0B;
	--panel: #141716;
	--panel-2: #0F1111;
	--line: #262B2A;
	--line-2: #2F3534;
	--text: #F2F4F2;
	--muted: #A3AAA8;
	--dim: #6E7573;
	--acid: #D8FF41;
	--acid-soft: #151A0E;
	--acid-line: #4A5A1E;
	--warn: #FFB27A;
	--warn-bg: #1E1610;
	--warn-line: #5A3A22;
	--sans: "Montserrat", system-ui, -apple-system, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; min-height: 100dvh; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }

.gh-app {
	max-width: 520px; margin: 0 auto;
	padding: max(16px, env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom));
}

.gh-mono, .gh-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0; }
.gh-eyebrow { color: var(--acid); letter-spacing: .14em; }
.gh-accent { color: var(--acid); }

.gh-top { display: flex; align-items: center; justify-content: space-between; }

.gh-icon-btn {
	width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel);
	display: inline-flex; align-items: center; justify-content: center; color: var(--text); flex-shrink: 0;
}
.gh-icon-btn:disabled { opacity: .3; cursor: default; }

.gh-switch { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.gh-switch-mid { flex: 1; min-width: 0; text-align: center; }
.gh-title { margin: 6px 0 0; font-size: 24px; line-height: 1.1; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.gh-title-sm { font-size: 18px; margin: 0; }
.gh-pill {
	display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--acid);
	color: var(--acid); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
}
.gh-pill.is-off { border-color: var(--line-2); color: var(--muted); }

.gh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.gh-stat { padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.gh-stat .gh-mono { font-size: 10px; display: block; }
.gh-stat strong { display: block; font-size: 26px; font-weight: 900; margin-top: 4px; }

.gh-row-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.gh-btn-ghost {
	height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel);
	font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}

.gh-notice { margin: 0 0 10px; padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.5; }

.gh-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gh-person {
	width: 100%; min-height: 56px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel);
	display: flex; align-items: center; gap: 12px; padding: 8px 12px; text-align: left; transition: background .15s, border-color .15s;
}
.gh-person[aria-pressed="true"] { background: var(--acid-soft); border-color: var(--acid-line); }
.gh-person.is-noshow { opacity: .6; }
.gh-person:disabled { cursor: progress; }
.gh-box {
	width: 28px; height: 28px; border-radius: 8px; border: 2px solid #4A504E; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
}
.gh-person[aria-pressed="true"] .gh-box { background: var(--acid); border-color: var(--acid); }
.gh-box svg { display: none; }
.gh-person[aria-pressed="true"] .gh-box svg { display: block; }
.gh-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gh-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.gh-meta { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.gh-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.gh-tag {
	font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 4px 7px; border-radius: 6px;
	border: 1px solid var(--muted); color: var(--muted); white-space: nowrap;
}
.gh-tag.is-warn { border-color: var(--warn); color: var(--warn); }
.gh-tag.is-accent { border-color: var(--acid); color: var(--acid); }

.gh-belt { width: 22px; height: 7px; border-radius: 2px; position: relative; overflow: hidden; border: 1px solid #3A403E; flex-shrink: 0; }
.gh-belt::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: var(--bar, #0A0A0A); }
.gh-belt.white { background: #ECECE4; } .gh-belt.blue { background: #1F5FD1; } .gh-belt.purple { background: #6E3FA6; }
.gh-belt.brown { background: #6B4426; } .gh-belt.black { background: #141515; --bar: #C8202A; }

.gh-warn {
	position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom));
	width: calc(100% - 40px); max-width: 480px; padding: 12px 14px; border-radius: 12px;
	background: var(--warn-bg); border: 1px solid var(--warn-line); display: flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 600; line-height: 1.4; color: #FFD9BD;
}

.gh-sheet { position: fixed; inset: 0; z-index: 10; }
.gh-sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.gh-sheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; max-height: 82vh; overflow: auto;
	background: var(--panel-2); border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0;
	padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
}
.gh-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gh-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.gh-field input {
	height: 48px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); padding: 0 14px;
	font-size: 16px; font-weight: 600;
}
.gh-list-sheet .gh-person { min-height: 52px; }

.gh-toast {
	position: fixed; left: 50%; transform: translateX(-50%); top: calc(16px + env(safe-area-inset-top)); z-index: 20;
	padding: 12px 16px; border-radius: 12px; background: var(--text); color: var(--ink); font-size: 13px; font-weight: 700;
	max-width: calc(100% - 40px); box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.gh-toast.is-error { background: var(--warn); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── Split register: one column per class on the training day ── */
.gh-app-wide { max-width: 760px; padding-left: 12px; padding-right: 12px; }
.gh-app-wide .gh-top, .gh-app-wide .gh-switch, .gh-app-wide .gh-row-head { padding: 0 4px; }
.gh-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.gh-split.is-single { grid-template-columns: minmax(0, 1fr); }
.gh-col { min-width: 0; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); padding: 8px; }
.gh-col.is-live { border-color: var(--acid-line); }
.gh-col-head { padding: 6px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.gh-col-title { margin: 4px 0 0; font-size: 15px; font-weight: 900; text-transform: uppercase; line-height: 1.1; letter-spacing: .01em; }
.gh-col-time { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.gh-col-stats { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.gh-col-stats strong { font-family: var(--sans); font-size: 22px; font-weight: 900; color: var(--acid); letter-spacing: 0; }
.gh-col-bar { height: 4px; border-radius: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.gh-col-bar span { display: block; height: 4px; background: var(--acid); border-radius: 2px; }
.gh-col .gh-pill { margin-top: 6px; }
.gh-col-empty { margin: 4px 2px 6px; font-size: 12px; font-weight: 500; line-height: 1.45; color: var(--muted); }

.gh-col .gh-list { gap: 5px; }
.gh-col .gh-person { min-height: 54px; padding: 8px; gap: 8px; align-items: flex-start; border-radius: 10px; }
.gh-col .gh-box { width: 24px; height: 24px; border-radius: 7px; margin-top: 1px; }
.gh-col .gh-name { font-size: 13px; gap: 6px; }
.gh-col .gh-belt { width: 16px; height: 6px; }
.gh-col .gh-belt::after { width: 6px; }
.gh-col .gh-meta { font-size: 9px; letter-spacing: .02em; }
.gh-col .gh-tags { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 2px; }
.gh-col .gh-tag { font-size: 8px; padding: 2px 5px; border-radius: 4px; }
.gh-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.gh-choose { border: 0; padding: 0; margin: 0 0 12px; }
.gh-choose legend { padding: 0; margin-bottom: 6px; }
.gh-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.gh-seg button {
	min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel);
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 0 6px;
}
.gh-seg button[aria-pressed="true"] { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.gh-seg button:disabled { opacity: .35; cursor: default; }
.gh-col-booked { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); margin-top: 2px; }

/* ── Member booking screen ── */
.gh-member { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.gh-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 15px; letter-spacing: .06em; }
.gh-avatar { text-decoration: none; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.gh-card { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.gh-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gh-card-top .gh-mono { font-size: 10px; letter-spacing: .04em; text-transform: none; }
.gh-eyebrow .gh-dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: currentColor; margin-right: 8px; vertical-align: 1px; }
.gh-eyebrow.is-warn { color: var(--warn); }
.gh-usage { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.gh-usage strong { font-size: 34px; font-weight: 900; line-height: 1; }
.gh-usage span { font-size: 14px; font-weight: 600; color: var(--muted); }
.gh-pips { display: grid; gap: 6px; margin-top: 12px; }
.gh-pips span { height: 6px; border-radius: 3px; background: var(--line); }
.gh-pips span.is-on { background: var(--acid); }
.gh-card-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: #FFD9BD; font-size: 12px; font-weight: 600; line-height: 1.45; }

.gh-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-top: 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.gh-tabs button { height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.gh-tabs button[aria-selected="true"] { background: var(--acid); color: var(--ink); }

.gh-week-head { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.gh-icon-sm { width: 40px; height: 40px; }
.gh-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.gh-daybtn { height: 66px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.gh-daybtn.has { color: var(--text); }
.gh-daybtn.is-past { opacity: .4; }
.gh-daybtn-dow { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.gh-daybtn-num { font-size: 17px; font-weight: 800; }
.gh-daybtn-dot { width: 5px; height: 5px; border-radius: 3px; background: transparent; }
.gh-daybtn.has .gh-daybtn-dot { background: var(--acid); }
.gh-daybtn.is-sel { background: var(--acid); border-color: var(--acid); color: var(--ink); opacity: 1; }
.gh-daybtn.is-sel .gh-daybtn-dot { background: var(--ink); }
.gh-day-title { font-size: 20px; margin: 22px 0 12px; }

.gh-classes { display: flex; flex-direction: column; gap: 10px; }
.gh-class { padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.gh-class.is-mine { border-color: var(--acid); }
.gh-class-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gh-class-title { margin: 6px 0 0; font-size: 19px; font-weight: 800; text-transform: uppercase; }
.gh-book { min-width: 96px; height: 44px; border-radius: 10px; border: 1px solid var(--acid); background: transparent; color: var(--acid); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gh-book.is-on { background: var(--acid); color: var(--ink); }
.gh-book:disabled:not(.is-on) { border-color: var(--line-2); color: var(--dim); cursor: default; }
.gh-class-slots { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.gh-class-slots .is-low { color: var(--warn); }
.gh-class-note { margin: 10px 0 0; font-family: var(--mono); font-size: 11px; color: var(--acid); letter-spacing: .04em; }

.gh-sec { margin: 20px 0 10px; }
.gh-booking { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.gh-btn-sm { height: 36px; padding: 0 12px; font-size: 12px; }
.gh-btn-solid { height: 48px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--acid); color: var(--ink); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.gh-confirm-text { margin: 10px 0 18px; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 500; }
.gh-confirm-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gh-confirm-actions .gh-btn-ghost { height: 48px; justify-content: center; }
.gh-foot { margin: 24px 4px 0; font-size: 11px; line-height: 1.5; color: var(--dim); font-weight: 500; }

/* ── Player profile ── */
.gh-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gh-tabs button { font-size: 12px; }
button.gh-avatar { cursor: pointer; }
.gh-prof-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 20px; }
.gh-prof-head .gh-title { margin: 6px 0 4px; font-size: 26px; }
.gh-prof-head .gh-mono { font-size: 10px; }
.gh-buildtoggle { display: flex; padding: 3px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); flex-shrink: 0; }
.gh-buildtoggle button { width: 44px; height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-family: var(--mono); font-size: 13px; font-weight: 700; }
.gh-buildtoggle button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }
.gh-stage { position: relative; height: 380px; margin: 4px -20px 0; }
.gh-stage #avatar { width: 100%; height: 100%; }
.gh-lvl { position: absolute; top: 14px; left: 20px; z-index: 1; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--acid); font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--acid); letter-spacing: .08em; }
.gh-rankcard { margin-top: 0; }
.gh-rank-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gh-rank { font-size: 22px; font-weight: 900; text-transform: uppercase; margin-top: 4px; }
.gh-stripedots { display: flex; gap: 5px; margin-top: 8px; }
.gh-stripedots span { width: 18px; height: 6px; border-radius: 2px; background: var(--line); border: 1px solid #3A403E; }
.gh-stripedots span.is-on { background: #F4F4EE; }
.gh-beltchip { width: 50px; height: 50px; border-radius: 12px; border: 1px solid #3A403E; display: flex; justify-content: flex-end; overflow: hidden; flex-shrink: 0; }
.gh-beltchip span { width: 20px; height: 100%; }
.gh-xp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 18px; }
.gh-xp-head .gh-eyebrow { font-size: 10px; }
.gh-xp { height: 12px; border-radius: 6px; background: var(--ink); border: 1px solid var(--line); margin-top: 8px; padding: 2px; }
.gh-xp span { display: block; height: 6px; border-radius: 3px; background: var(--acid); min-width: 6px; transition: width .4s; }
.gh-xp-note { margin: 8px 0 0; font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.45; }
.gh-road { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.gh-road-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gh-road-bar { width: 100%; height: 12px; border-radius: 3px; border: 1px solid #3A403E; }
.gh-road-item.is-ahead .gh-road-bar { opacity: .28; }
.gh-road-item.is-here .gh-road-bar { outline: 2px solid var(--acid); outline-offset: 2px; }
.gh-road-label { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--dim); }
.gh-road-item.is-here .gh-road-label { color: var(--acid); }
.gh-statrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.gh-statrow .gh-stat strong { font-size: 22px; }
.gh-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gh-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .4; }
.gh-badge.is-on { opacity: 1; }
.gh-badge path { fill: var(--panel); stroke: #3A403E; stroke-width: 1.5; }
.gh-badge.is-on path { fill: var(--acid-soft); stroke: var(--acid); }
.gh-badge text { font-family: var(--mono); font-size: 14px; font-weight: 700; fill: var(--dim); }
.gh-badge.is-on text { fill: var(--acid); }
.gh-badge > span { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; color: #C9CFCD; text-align: center; }
.gh-logout { margin-top: 24px; width: 100%; justify-content: center; height: 48px; text-decoration: none; color: var(--muted); }
.gh-road-item.is-ahead .gh-road-bar { opacity: .4; }
.gh-road-bar { border-color: #4A504E; }

/* ── Free trial page ── */
a.gh-brand { color: var(--text); text-decoration: none; }
.gh-trial { max-width: 560px; padding-bottom: 48px; }
.gh-trial-eyebrow { margin-top: 26px; }
.gh-trial-title { margin: 10px 0 8px; font-size: 32px; line-height: 1.05; font-weight: 900; text-transform: uppercase; }
.gh-trial-lede { margin: 0 0 22px; font-size: 14px; line-height: 1.55; font-weight: 500; color: var(--muted); }
.gh-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gh-trial .gh-field input { font-size: 16px; }
.gh-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gh-dayopt { min-height: 58px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 4px; }
.gh-dayopt-dow { font-size: 13px; font-weight: 800; }
.gh-dayopt[aria-pressed="true"] { border-color: var(--acid); background: var(--acid-soft); }
.gh-dayopt[aria-pressed="true"] .gh-mono { color: var(--acid); }
.gh-dayopt:disabled { opacity: .35; cursor: default; }
.gh-days .gh-notice { grid-column: 1 / -1; }
.gh-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 13px; line-height: 1.45; font-weight: 500; color: #C9CFCD; }
.gh-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--acid); flex-shrink: 0; }
.gh-check a { color: var(--acid); }
.gh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gh-form-error { margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: #FFD9BD; font-size: 13px; font-weight: 600; }
.gh-submit { width: 100%; height: 56px; font-size: 15px; margin-top: 4px; }
.gh-submit:disabled { opacity: .6; }
.gh-done-mark { width: 64px; height: 64px; border-radius: 18px; background: var(--acid); display: flex; align-items: center; justify-content: center; margin-top: 32px; }
#step-done:focus { outline: none; }
.gh-done-card { margin-top: 18px; }
.gh-done-when { font-size: 20px; font-weight: 900; margin: 6px 0 10px; }
.gh-done-where { font-size: 11px; line-height: 1.6; text-transform: none; letter-spacing: .04em; }
.gh-done-list { margin: 18px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #C9CFCD; font-weight: 500; }
.gh-done-home { margin-top: 24px; width: 100%; height: 48px; justify-content: center; text-decoration: none; }
a.gh-btn-ghost { color: var(--text); text-decoration: none; }
a.gh-btn-ghost.gh-logout { color: var(--muted); }

/* ── Coach: student card, promote, injury tags ── */
.gh-top-actions { display: flex; gap: 8px; }
.gh-tag.is-injury { border-color: #FF8F8F; color: #FFB3B3; }
.gh-prow { display: flex; gap: 4px; align-items: stretch; }
.gh-prow > .gh-person { flex: 1; min-width: 0; }
.gh-info { flex: 0 0 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); display: flex; align-items: center; justify-content: center; padding: 0; }
.gh-info:hover { color: var(--acid); border-color: var(--acid-line); }
.gh-card-panel { max-height: 88vh; }
.gh-card-rank { display: flex; align-items: center; gap: 12px; }
.gh-chip { width: 46px; height: 46px; border-radius: 12px; border: 1px solid #3A403E; display: flex; justify-content: flex-end; overflow: hidden; flex-shrink: 0; }
.gh-chip span { width: 18px; height: 100%; }
.gh-card-ranktext { font-size: 20px; font-weight: 900; text-transform: uppercase; }
.gh-card-rank .gh-mono { font-size: 10px; margin-top: 4px; }
.gh-card-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.gh-card-stats .gh-stat { padding: 10px; }
.gh-card-stats .gh-stat .gh-mono { font-size: 9px; }
.gh-card-stats .gh-stat strong { font-size: 16px; margin-top: 4px; }
.gh-card-xp { margin-top: 14px; }
.gh-card-xphead { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.gh-card-xphead .gh-eyebrow { font-size: 10px; }
.gh-card-xphead .gh-mono { font-size: 10px; }
.gh-card-usage { font-size: 10px; margin-top: 8px; }
.gh-card-sec { margin: 20px 0 8px; font-size: 10px; }
.gh-promote { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.gh-promote-btn { height: 48px; justify-content: center; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.gh-promote-btn.is-armed { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.gh-card-empty { margin: 0; font-size: 13px; color: var(--muted); }
.gh-inj { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 6px; opacity: .7; }
.gh-inj.is-current { opacity: 1; border-color: #6A3A3A; background: #1A1212; }
.gh-inj-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.gh-inj-top .gh-mono { font-size: 9px; white-space: nowrap; }
.gh-inj.is-current .gh-inj-top strong { color: #FFB3B3; }
.gh-inj p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #C9CFCD; }
.gh-hist { list-style: none; margin: 0; padding: 0; }
.gh-hist li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.gh-hist .gh-mono { font-size: 9px; text-transform: none; letter-spacing: .04em; }

/* ── Member: injuries ── */
.gh-sec-row { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.gh-sec-row .gh-sec { margin: 0; }
.gh-inj-help { margin: 6px 0 10px; font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.gh-inj-none { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.gh-injrow { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 6px; }
.gh-injrow.is-current { border-color: #6A3A3A; background: #1A1212; }
.gh-injrow-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.gh-injrow.is-current strong { color: #FFB3B3; }
.gh-injrow-top .gh-mono { font-size: 9px; white-space: nowrap; }
.gh-injrow-note { font-size: 12px; color: #C9CFCD; line-height: 1.45; font-weight: 500; }
.gh-inj-past { margin-top: 8px; }
.gh-inj-past summary { cursor: pointer; padding: 8px 0; }
.gh-linkbtn { background: none; border: 0; padding: 8px 0; color: var(--dim); font-size: 12px; text-decoration: underline; }
#inj-form select, #inj-form input[type=date], #inj-form textarea { height: 48px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); padding: 0 12px; font-size: 16px; font-weight: 600; color: var(--text); width: 100%; }
#inj-form textarea { height: auto; padding: 12px; font-weight: 500; resize: vertical; font-family: var(--sans); }
#inj-form input[type=date] { color-scheme: dark; }
#inj-form .gh-confirm-actions { margin-top: 6px; }
.gh-col .gh-name-text { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.2; }
.gh-col .gh-name { align-items: flex-start; }
.gh-col .gh-name .gh-belt { margin-top: 4px; }
.gh-col .gh-person { padding: 8px 6px; gap: 7px; }
.gh-prow { gap: 3px; }
.gh-info { flex-basis: 30px; }
#inj-form .gh-confirm-actions { display: flex; }
#inj-form .gh-confirm-actions > * { flex: 1; }

/* ── Who's leading + Students view ── */
.gh-lead { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; width: 100%; margin-top: 8px; padding: 6px 8px; border-radius: 8px; border: 1px dashed var(--line-2); background: transparent; text-align: left; }
.gh-lead:hover { border-color: var(--acid-line); }
.gh-lead-k { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.gh-lead-v { font-size: 13px; font-weight: 800; color: var(--acid); }
.gh-lead.is-empty .gh-lead-v { color: var(--dim); font-weight: 700; }
.gh-lead-help { margin: 0 0 12px; font-size: 13px; color: var(--muted); font-weight: 500; }
.gh-lead-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.gh-leadopt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); text-align: left; }
.gh-leadopt[aria-pressed="true"] { background: var(--acid-soft); border-color: var(--acid-line); }
.gh-leadopt[aria-pressed="true"] .gh-box { background: var(--acid); border-color: var(--acid); }
.gh-leadopt[aria-pressed="true"] .gh-box svg { display: block; }
.gh-leadopt-name { font-size: 15px; font-weight: 800; }
.gh-lead-save { width: 100%; margin-top: 4px; }
.gh-students-btn { height: 44px; gap: 6px; }
.gh-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.gh-chipf { height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); font-size: 12px; font-weight: 700; }
.gh-chipf[aria-pressed="true"] { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.gh-count { list-style: none; font-size: 10px; margin: 0 2px 4px; }
.gh-tags-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; }
.gh-tags-row .gh-tag { font-size: 9px; padding: 2px 6px; }
.gh-list-sheet .gh-belt { margin-top: 0; }
.gh-class-coach { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--acid); margin-top: 6px; }

/* ── Coach in the member app + booking window ── */
.gh-member .gh-top-actions { display: flex; align-items: center; gap: 8px; }
.gh-reg-link { height: 44px; text-decoration: none; color: var(--acid); }
.gh-book.is-soon { min-width: 110px; font-size: 11px; letter-spacing: .02em; border-color: var(--line-2); color: var(--muted); }
.gh-coach-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.gh-coclass { display: block; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 8px; text-decoration: none; color: var(--text); }
.gh-coclass.is-live { border-color: var(--acid); }
.gh-coclass-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gh-coclass .gh-class-title { margin-top: 4px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.gh-coclass-n { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.gh-co-reg { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 10px; text-decoration: none; }
.gh-member .gh-tabs { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.gh-member .gh-tabs button { font-size: 11px; padding: 0 4px; }

/* ---------- App shell: launch splash + install tip (v0.14) ---------- */
.gh-splash { display: none; }
.gh-standalone .gh-splash {
	position: fixed; inset: 0; z-index: 100; background: var(--ink);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
	transition: opacity .4s ease, visibility .4s;
}
.gh-splash img { width: min(240px, 62vw); height: auto; animation: gh-splash-in .6s ease both; }
.gh-splash span { font: 700 11px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .42em; color: var(--acid); padding-left: .42em; animation: gh-splash-in .6s .12s ease both; }
.gh-splash i { position: absolute; bottom: calc(56px + env(safe-area-inset-bottom)); width: 64px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.gh-splash i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--acid); animation: gh-splash-bar 1s ease-in-out infinite; }
.gh-splash.is-out { opacity: 0; visibility: hidden; }
@keyframes gh-splash-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gh-splash-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.gh-install {
	position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
	width: min(440px, calc(100% - 32px)); transform: translate(-50%, 24px); opacity: 0;
	display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 12px;
	background: var(--panel); border: 1px solid var(--acid-line); border-radius: 16px;
	box-shadow: 0 18px 50px rgba(0,0,0,.55); transition: transform .3s ease, opacity .3s ease;
}
.gh-install.is-in { transform: translate(-50%, 0); opacity: 1; }
.gh-install.is-out { transform: translate(-50%, 24px); opacity: 0; }
.gh-install img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.gh-install-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gh-install-txt strong { font-weight: 800; font-size: 14px; color: var(--text); }
.gh-install-txt span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.gh-install-txt b { color: var(--text); font-weight: 700; }
.gh-share::after { content: ""; display: inline-block; width: 11px; height: 13px; margin: 0 2px -2px 4px;
	background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17' fill='none' stroke='%23D8FF41' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 1v10M3.5 4.5 7 1l3.5 3.5M4.5 7H2v9h10V7H9.5'/%3E%3C/svg%3E"); }
.gh-install-go { height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--acid); color: var(--ink); font: 900 12.5px/1 inherit; font-family: inherit; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; flex: none; }
.gh-install-x { width: 32px; height: 32px; border: 0; background: transparent; color: var(--dim); font-size: 22px; line-height: 1; cursor: pointer; flex: none; border-radius: 8px; }
.gh-install-x:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .gh-splash img, .gh-splash span, .gh-splash i::after { animation: none; } .gh-install { transition: none; } }

/* ---------- Academy check-in tablet (v0.15) ---------- */
.gh-kiosk { overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.gh-kiosk input { user-select: text; -webkit-user-select: text; }
.k-app {
	position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
	padding: max(20px, env(safe-area-inset-top)) clamp(20px, 4vw, 56px) max(20px, env(safe-area-inset-bottom));
	background: radial-gradient(120% 70% at 50% 0%, rgba(216,255,65,.07), transparent 60%), var(--ink);
}
.k-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.k-logo { width: clamp(110px, 14vw, 160px); height: auto; display: block; }
.k-clock { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.k-clock #k-time { font-weight: 900; font-size: clamp(24px, 3vw, 34px); line-height: 1; font-variant-numeric: tabular-nums; }
.k-screen { flex: 1; display: flex; flex-direction: column; position: relative; min-height: 0; }
.k-center { margin: auto; width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 0; }
.k-narrow { max-width: 420px; }
.k-wide { max-width: 720px; }
.k-h1 { margin: 8px 0 0; font-size: clamp(34px, 5.4vw, 64px); line-height: 1; font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; }
.k-h2 { margin: 10px 0 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.05; font-weight: 900; text-transform: uppercase; }
.k-lead { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 14px 0 0; }
.k-lead b { color: var(--text); }
.k-hint { color: var(--dim); font-size: 14px; margin: 14px 0 0; text-align: center; }
.k-error { color: var(--warn); font-size: 15px; font-weight: 700; margin: 12px 0 0; min-height: 1.4em; }
.k-btn-lg { height: 64px; padding: 0 34px; font-size: 18px; border-radius: 14px; margin-top: 24px; min-width: 220px; }
.k-btn-lg:disabled { opacity: .35; cursor: default; }

/* Home */
.k-home-head { text-align: center; margin-top: clamp(16px, 5vh, 56px); }
.k-status {
	display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px;
	padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel);
	font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase;
}
.k-status.is-open { border-color: var(--acid-line); color: var(--text); }
.k-live { color: var(--ink); background: var(--acid); border-radius: 6px; padding: 3px 8px; font-weight: 700; }
.k-search {
	display: flex; align-items: center; gap: 14px; width: 100%; max-width: 720px; margin: 28px auto 0;
	height: 76px; padding: 0 24px; border-radius: 18px; background: var(--panel); border: 2px solid var(--line-2); color: var(--muted);
}
.k-search:focus-within { border-color: var(--acid); color: var(--acid); }
.k-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--text); }
.k-search input::placeholder { color: var(--dim); font-weight: 500; }
.k-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.k-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; width: 100%; max-width: 920px; margin: 18px auto 0; }
.k-person {
	display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px 16px;
	border-radius: 18px; background: var(--panel); border: 1px solid var(--line); text-align: center;
	animation: k-pop .22s ease both;
}
.k-person:active { transform: scale(.97); border-color: var(--acid); }
.k-person-name { font-size: 19px; font-weight: 800; }
.k-initials {
	width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--line-2); background: var(--panel-2);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; letter-spacing: .02em;
}
.k-belt { position: relative; display: block; width: 100%; max-width: 150px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.k-belt-tab { position: absolute; right: 14px; top: 0; bottom: 0; width: 34px; background: #0A0A0A; display: flex; gap: 3px; align-items: center; justify-content: flex-end; padding: 0 4px; }
.k-belt-tab.is-red { background: #C8202A; }
.k-belt-tab i { width: 3px; height: 100%; background: #F4F4EE; }
.k-foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: center; gap: 12px 36px; flex-wrap: wrap; color: var(--dim); font-size: 14px; text-align: center; }
.k-foot b { color: var(--muted); }
@keyframes k-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* PIN */
.k-back {
	position: absolute; top: 4px; left: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 12px;
	border-radius: 24px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-weight: 700; font-size: 15px;
}
.k-who .k-initials { width: 96px; height: 96px; font-size: 32px; border-width: 5px; }
.k-dots { display: flex; gap: 18px; margin-top: 20px; }
.k-dots i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); transition: background .12s, border-color .12s; }
.k-dots i.is-on { background: var(--acid); border-color: var(--acid); }
.k-dots.is-ok i { background: var(--acid); border-color: var(--acid); }
.k-dots.is-bad { animation: k-shake .4s; }
.k-dots.is-bad i { border-color: var(--warn); background: transparent; }
@keyframes k-shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.k-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 360px; margin-top: 8px; }
.k-pad button {
	height: clamp(64px, 9vh, 84px); border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
	font-size: 30px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.k-pad button:active { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.k-pad .k-pad-fn { font-size: 15px; font-weight: 700; color: var(--muted); background: transparent; }
.k-nopin { display: flex; flex-direction: column; align-items: center; }
.k-steps { text-align: left; color: var(--muted); font-size: 17px; line-height: 1.5; margin: 16px 0 0; padding-left: 22px; }
.k-steps b { color: var(--text); }

/* Classes */
.k-cls { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; width: 100%; margin-top: 26px; }
.k-class {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 150px; padding: 22px;
	border-radius: 20px; background: var(--panel); border: 2px solid var(--line-2); text-align: left; transition: border-color .15s, background .15s;
}
.k-class.is-on { border-color: var(--acid); background: var(--acid-soft); }
.k-class.is-done { opacity: .55; cursor: default; }
.k-class-top { display: flex; gap: 10px; align-items: center; width: 100%; }
.k-class-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; text-transform: uppercase; line-height: 1.05; padding-right: 48px; }
.k-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--acid); color: var(--acid); }
.k-tag.is-in { border-color: var(--muted); color: var(--muted); }
.k-check { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line-2); }
.k-class.is-on .k-check, .k-class.is-done .k-check { background: var(--acid); border-color: var(--acid); }
.k-class.is-on .k-check::after, .k-class.is-done .k-check::after {
	content: ""; position: absolute; left: 13px; top: 7px; width: 9px; height: 17px; border: solid var(--ink); border-width: 0 4px 4px 0; transform: rotate(45deg);
}
.k-go { width: 100%; max-width: 420px; }

/* Done */
.k-done { margin: auto; display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 520px); gap: clamp(20px, 4vw, 56px); align-items: center; width: 100%; max-width: 960px; }
.k-done-av { position: relative; aspect-ratio: 310 / 410; width: 100%; animation: k-rise .5s ease both; }
.k-done-av #k-avatar { width: 100%; height: 100%; }
.k-lvl { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink); background: var(--acid); padding: 4px 9px; border-radius: 6px; }
.k-done-txt { animation: k-rise .5s .08s ease both; }
.k-rank { margin-top: 10px; font-size: 14px; color: var(--muted); }
.k-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.k-ticks li { display: flex; align-items: center; gap: 14px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; text-transform: uppercase; }
.k-tick { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--acid); flex: none; }
.k-tick::after { content: ""; position: absolute; left: 11px; top: 6px; width: 8px; height: 15px; border: solid var(--ink); border-width: 0 3.5px 3.5px 0; transform: rotate(45deg); }
.k-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.k-chips div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.k-chips strong { font-size: 26px; font-weight: 900; color: var(--acid); line-height: 1; }
.k-usage { margin-top: 16px; color: var(--muted); }
.k-notice { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn); font-weight: 700; font-size: 16px; }
.k-done .k-btn-lg { margin-top: 22px; }
.k-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.k-timer span { display: block; height: 100%; width: 100%; background: var(--acid); }
@keyframes k-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Pairing */
.k-pair-form { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 24px; }
.k-pair-input {
	width: 100%; max-width: 340px; height: 84px; border-radius: 18px; border: 2px solid var(--line-2); background: var(--panel);
	text-align: center; font-family: var(--mono); font-size: 40px; font-weight: 700; letter-spacing: .3em; padding-left: .3em; outline: none;
}
.k-pair-input:focus { border-color: var(--acid); }

.k-busy { position: fixed; inset: 0; z-index: 50; background: rgba(10,11,11,.35); display: flex; align-items: center; justify-content: center; }
.k-busy i { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--acid); animation: k-spin .8s linear infinite; }
@keyframes k-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
	.k-done { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.k-done-av { max-width: 220px; }
	.k-ticks li { justify-content: center; }
	.k-results { grid-template-columns: repeat(2, 1fr); }
	.k-back { position: static; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .k-person, .k-done-av, .k-done-txt, .k-dots.is-bad { animation: none; } }

/* Check-in PIN (member app) */
.gh-pincard { display: flex; align-items: center; gap: 14px; }
.gh-pincard-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--acid-soft); border: 1px solid var(--acid-line); color: var(--acid); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gh-pincard-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gh-pincard-txt strong { font-weight: 800; font-size: 15px; }
.gh-pincard-txt span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.gh-pincard .gh-btn-solid.gh-btn-sm { height: 36px; padding: 0 14px; font-size: 12px; border-radius: 9px; flex: none; }
.gh-pin-input { font-family: var(--mono); font-size: 26px !important; letter-spacing: .5em; text-align: center; }
.gh-pin-nudge {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px; padding: 14px 16px;
	border-radius: 14px; border: 1px solid var(--acid-line); background: var(--acid-soft); color: var(--acid); text-align: left;
}
.gh-pin-nudge > span { display: flex; flex-direction: column; gap: 3px; }
.gh-pin-nudge strong { font-weight: 800; font-size: 14px; color: var(--text); }
.gh-pin-nudge span span { font-size: 12.5px; color: var(--muted); }
.gh-pinrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
