/* Hjerterfri Rum – alt er afgrænset under .hjr, så temaet ikke påvirkes. */
.hjr {
	--hjr-bg: #0e2a1f;
	--hjr-surface: #163a2c;
	--hjr-surface2: #12352a;
	--hjr-line: #2c5a48;
	--hjr-line-soft: #24503f;
	--hjr-text: #f3efe6;
	--hjr-muted: #a9bfb3;
	--hjr-soft: #c9d8cf;
	--hjr-gold: #e3b24f;
	--hjr-gold-ink: #1a1405;
	--hjr-red: #c41e33;
	--hjr-heart: #d7263d;
	--hjr-bot: #1f5f5a;
	--hjr-bot-ink: #bfe7e3;
	--hjr-felt: radial-gradient(ellipse at center, #2a6b50 0%, #1e4a38 55%, #143829 100%);
	--hjr-card: #fffdf8;
	--hjr-display: "Bricolage Grotesque", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
	box-sizing: border-box;
	background: var(--hjr-bg);
	color: var(--hjr-text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	border-radius: 18px;
	overflow: hidden;
	position: relative;
	min-height: 560px;
	-webkit-font-smoothing: antialiased;
}
.hjr *, .hjr *::before, .hjr *::after { box-sizing: border-box; }
.hjr h1, .hjr h2, .hjr h3, .hjr p { margin: 0; color: inherit; padding: 0; border: 0; background: none; text-transform: none; letter-spacing: normal; }
.hjr h1, .hjr h2, .hjr h3 { font-family: var(--hjr-display); }
.hjr button, .hjr input, .hjr select { font: inherit; color: inherit; margin: 0; letter-spacing: normal; text-transform: none; box-shadow: none; }
.hjr button { cursor: pointer; background: none; border: 0; padding: 0; line-height: 1.2; }
.hjr button:disabled { cursor: default; }
.hjr a { color: var(--hjr-gold); }
.hjr :focus-visible { outline: 3px solid var(--hjr-gold); outline-offset: 2px; }
.hjr svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.hjr .hjr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hjr-loading { padding: 80px 24px; text-align: center; color: var(--hjr-muted); }

/* Knapper */
.hjr .hjr-btn { min-height: 44px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; transition: transform .1s, background .15s; }
.hjr .hjr-btn:active { transform: translateY(1px); }
.hjr .hjr-btn-gold { background: var(--hjr-gold); color: var(--hjr-gold-ink); }
.hjr .hjr-btn-gold:hover { background: #f0c46a; }
.hjr .hjr-btn-line { border: 1.5px solid var(--hjr-gold); color: var(--hjr-text); }
.hjr .hjr-btn-ghost { border: 1px solid var(--hjr-line); color: var(--hjr-soft); font-weight: 500; }
.hjr .hjr-btn-ghost:hover { background: var(--hjr-surface); }
.hjr .hjr-btn-light { background: var(--hjr-text); color: var(--hjr-bg); }
.hjr .hjr-btn-big { min-height: 56px; font-size: 17px; border-radius: 12px; }
.hjr .hjr-btn-icon { width: 44px; padding: 0; }
.hjr .hjr-link { color: var(--hjr-muted); text-decoration: underline; font-weight: 500; min-height: 44px; }

.hjr .hjr-input { min-height: 44px; width: 100%; border-radius: 10px; border: 1px solid var(--hjr-line); background: var(--hjr-bg); color: var(--hjr-text); padding: 0 14px; font-size: 16px; }
.hjr .hjr-input::placeholder { color: #7f9a8c; }
.hjr .hjr-label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 8px; }

/* Topbjælke */
.hjr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--hjr-line-soft); }
.hjr-brand { display: flex; align-items: center; gap: 10px; font-family: var(--hjr-display); font-weight: 800; font-size: 20px; }
.hjr-brand i { width: 34px; height: 34px; border-radius: 9px; background: var(--hjr-heart); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 19px; }
.hjr-brand b { color: var(--hjr-gold); font-weight: 800; }
.hjr-top-right { display: flex; align-items: center; gap: 10px; }
.hjr-namepill { display: flex; align-items: center; gap: 8px; background: var(--hjr-surface); border: 1px solid var(--hjr-line); border-radius: 999px; padding: 5px 14px 5px 5px; min-height: 44px; font-size: 14px; }
.hjr-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--hjr-gold); color: var(--hjr-gold-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.hjr-avatar.bot { background: var(--hjr-bot); color: var(--hjr-bot-ink); }
.hjr-avatar.empty { background: transparent; border: 1.5px dashed #4e7a67; }

/* Lobby */
.hjr-lobby { display: flex; gap: 36px; padding: 32px 28px; }
.hjr-hero { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.hjr-hero h1 { font-weight: 800; font-size: 40px; line-height: 1.03; letter-spacing: -0.02em; }
.hjr-hero p { color: var(--hjr-soft); }
.hjr-stack { display: flex; flex-direction: column; gap: 10px; }
.hjr-box { background: var(--hjr-surface); border-radius: 14px; padding: 18px; }
.hjr-row { display: flex; gap: 8px; }
.hjr-rooms { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hjr-rooms h2 { font-size: 22px; font-weight: 700; }
.hjr-room { display: flex; align-items: center; gap: 16px; background: var(--hjr-surface); border-radius: 14px; padding: 14px 16px; }
.hjr-room-main { flex-grow: 1; min-width: 0; }
.hjr-room-name { font-weight: 600; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hjr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--hjr-muted); }
.hjr-tags span { padding: 2px 8px; border-radius: 6px; background: var(--hjr-bg); }
.hjr-seatdots { display: flex; gap: 5px; }
.hjr-seatdots .hjr-avatar { width: 30px; height: 30px; font-size: 13px; }
.hjr-room-status { width: 150px; font-size: 14px; color: var(--hjr-soft); }
.hjr-empty { padding: 28px; border: 1px dashed var(--hjr-line); border-radius: 14px; color: var(--hjr-muted); text-align: center; }
.hjr-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--hjr-muted); }
.hjr-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hjr-legend .hjr-avatar { width: 12px; height: 12px; }

/* Opret rum */
.hjr-create { padding: 28px; display: flex; gap: 28px; }
.hjr-create form { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hjr-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.hjr-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hjr-seg { display: flex; flex-wrap: wrap; background: var(--hjr-surface); border-radius: 10px; padding: 4px; gap: 4px; border: 0; margin: 0; }
.hjr-seg legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.hjr-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hjr-fieldset > legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.hjr-seg label { flex: 1 1 auto; position: relative; }
.hjr-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hjr-seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 40px; padding: 4px 10px; border-radius: 8px; color: var(--hjr-soft); font-size: 14px; }
.hjr-seg input:checked + span { background: var(--hjr-text); color: var(--hjr-bg); font-weight: 600; }
.hjr-seg input:focus-visible + span { outline: 3px solid var(--hjr-gold); }
.hjr-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--hjr-surface); border-radius: 10px; padding: 10px 14px; font-size: 14px; min-height: 48px; cursor: pointer; }
.hjr-toggle input { width: 22px; height: 22px; accent-color: var(--hjr-gold); }
.hjr-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* Venteværelse */
.hjr-wait { padding: 32px 28px; display: flex; gap: 32px; }
.hjr-wait-main { flex-grow: 1; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hjr-code { font-family: var(--hjr-display); font-size: 44px; font-weight: 800; letter-spacing: .1em; color: var(--hjr-gold); }
.hjr-seatlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hjr-seatcard { display: flex; align-items: center; gap: 12px; background: var(--hjr-surface); border-radius: 12px; padding: 14px; min-height: 64px; }
.hjr-seatcard.empty { background: transparent; border: 1.5px dashed var(--hjr-line); color: var(--hjr-muted); }

/* Spillebord */
.hjr-game { display: flex; min-height: 640px; }
.hjr-table { flex-grow: 1; display: flex; flex-direction: column; min-width: 0; }
.hjr-tablebar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--hjr-line-soft); }
.hjr-tablebar small { display: block; color: var(--hjr-muted); font-size: 13px; }
.hjr-felt { flex-grow: 1; position: relative; background: var(--hjr-felt); min-height: 560px; overflow: hidden; }
.hjr-banner { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 8px; background: var(--hjr-bg); border: 1px solid var(--hjr-line); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--hjr-soft); max-width: calc(100% - 24px); }
.hjr-seat { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; width: 130px; z-index: 2; }
.hjr-seat .hjr-avatar { width: 50px; height: 50px; font-size: 19px; box-shadow: 0 0 0 3px var(--hjr-bg); transition: box-shadow .2s; }
.hjr-seat.turn .hjr-avatar { box-shadow: 0 0 0 3px var(--hjr-bg), 0 0 0 6px var(--hjr-gold); }
.hjr-seat b { font-size: 14px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hjr-seat small { font-size: 12px; color: #e3ece7; }
.hjr-seat .hjr-badge { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--hjr-bot); color: var(--hjr-bot-ink); }
.hjr-seat-top { left: 50%; top: 56px; transform: translateX(-50%); }
.hjr-seat-left { left: 12px; top: 38%; }
.hjr-seat-right { right: 12px; top: 38%; }
.hjr-trick { position: absolute; left: 50%; top: 44%; width: 250px; height: 220px; transform: translate(-50%, -50%); }
.hjr .hjr-trick .hjr-card { position: absolute; transition: transform .25s, opacity .25s; }
.hjr .hjr-trick .p0 { left: 93px; top: 118px; transform: rotate(2deg); }
.hjr .hjr-trick .p1 { left: 22px; top: 62px; transform: rotate(-12deg); }
.hjr .hjr-trick .p2 { left: 93px; top: 6px; transform: rotate(-3deg); }
.hjr .hjr-trick .p3 { left: 164px; top: 62px; transform: rotate(10deg); }
.hjr .hjr-trick .won { opacity: .6; }
.hjr-trick-slot { position: absolute; left: 93px; top: 118px; width: 64px; height: 92px; border-radius: 8px; border: 2px dashed rgba(243,239,230,.4); }
.hjr-chips { position: absolute; left: 14px; bottom: 168px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.hjr-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(14,42,31,.88); color: var(--hjr-text); }
.hjr-chip.heart { color: #ff9aa6; }
.hjr-timer { position: absolute; right: 14px; bottom: 168px; display: flex; align-items: center; gap: 8px; background: var(--hjr-bg); border-radius: 999px; padding: 5px 14px 5px 5px; font-size: 14px; font-weight: 600; z-index: 2; }
.hjr-timer svg circle { transition: stroke-dashoffset 1s linear; }
.hjr-hint { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 8px; background: var(--hjr-text); color: var(--hjr-bg); border-radius: 10px; padding: 8px 12px; font-size: 13px; max-width: calc(100% - 24px); }
.hjr-hand { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: flex-end; padding: 0 12px; z-index: 3; }
.hjr-hand .hjr-card + .hjr-card { margin-left: -18px; }
.hjr-passbar { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 12px; background: var(--hjr-bg); border-radius: 12px; padding: 8px 8px 8px 14px; font-size: 14px; max-width: calc(100% - 24px); }

/* Kort */
.hjr .hjr-card { width: 64px; height: 92px; border-radius: 8px; background: var(--hjr-card); color: #141414; position: relative; box-shadow: 0 1px 0 rgba(0,0,0,.25), 0 6px 14px rgba(0,0,0,.28); font-family: var(--hjr-display); flex-shrink: 0; border: 1px solid #d8d2c4; transition: transform .15s, filter .15s; user-select: none; }
.hjr .hjr-card.red { color: var(--hjr-red); }
.hjr .hjr-card .r { position: absolute; left: 6px; top: 4px; font-size: 17px; font-weight: 700; line-height: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.hjr .hjr-card .r em { font-style: normal; font-size: 13px; }
.hjr .hjr-card .c { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; padding-top: 6px; }
.hjr .hjr-hand .hjr-card.ok { transform: translateY(-16px); border: 2px solid var(--hjr-gold); cursor: pointer; }
.hjr .hjr-hand .hjr-card.ok:hover { transform: translateY(-24px); }
.hjr .hjr-hand .hjr-card.no { filter: brightness(.6); }
.hjr .hjr-hand .hjr-card.sel { transform: translateY(-24px); border: 2px solid var(--hjr-gold); box-shadow: 0 0 0 3px rgba(227,178,79,.4), 0 6px 14px rgba(0,0,0,.28); }
.hjr .hjr-hand .hjr-card.new::after { content: "ny"; position: absolute; right: 4px; bottom: 4px; font-size: 10px; font-family: system-ui, sans-serif; background: var(--hjr-gold); color: var(--hjr-gold-ink); border-radius: 4px; padding: 0 4px; }
.hjr .hjr-hand .hjr-card.pick { cursor: pointer; }

/* Sidepanel */
.hjr-side { width: 330px; flex-shrink: 0; border-left: 1px solid var(--hjr-line-soft); display: flex; flex-direction: column; }
.hjr-side section { padding: 16px 18px; border-bottom: 1px solid var(--hjr-line-soft); }
.hjr-side h2 { font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.hjr-side h2 small { font-family: system-ui, sans-serif; font-weight: 400; font-size: 13px; color: var(--hjr-muted); }
.hjr-score { width: 100%; border-collapse: collapse; font-size: 14px; }
.hjr-score th { font-weight: 400; color: var(--hjr-muted); font-size: 12px; text-align: right; padding: 0 8px 4px; }
.hjr-score th:first-child { text-align: left; }
.hjr-score td { padding: 7px 8px; text-align: right; }
.hjr-score td:first-child { text-align: left; }
.hjr-score tr.me td { background: #1f4a39; }
.hjr-score tr.me td:first-child { border-radius: 8px 0 0 8px; }
.hjr-score tr.me td:last-child { border-radius: 0 8px 8px 0; font-weight: 700; }
.hjr-score .hjr-badge { font-size: 11px; padding: 1px 5px; border-radius: 4px; background: var(--hjr-bot); color: var(--hjr-bot-ink); margin-left: 6px; }
.hjr-chat { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; min-height: 240px; border-bottom: 0 !important; }
.hjr-msgs { flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; max-height: 260px; }
.hjr-msgs b { color: var(--hjr-gold); font-weight: 600; margin-right: 4px; }
.hjr-msgs .sys { color: var(--hjr-muted); font-style: italic; font-size: 13px; }
.hjr-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.hjr-quick button { min-height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--hjr-line); background: var(--hjr-surface); font-size: 13px; }

/* Overlays */
.hjr-overlay { position: absolute; inset: 0; z-index: 20; background: rgba(8,26,19,.82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.hjr-modal { background: var(--hjr-surface2); border: 1px solid var(--hjr-line); border-radius: 18px; padding: 24px; width: 100%; max-width: 440px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hjr-modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.hjr-handsum { width: 100%; border-collapse: collapse; margin: 8px 0 4px; }
.hjr-handsum td { padding: 8px 4px; border-bottom: 1px solid var(--hjr-line-soft); }
.hjr-handsum td:last-child { text-align: right; font-weight: 700; }
.hjr-toast { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 30; background: var(--hjr-text); color: var(--hjr-bg); padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: calc(100% - 24px); }
.hjr-toast.err { background: #ffd6db; color: #5c0d17; }

/* Resultat */
.hjr-result { padding: 36px 32px; display: flex; gap: 36px; }
.hjr-result-left { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.hjr-result h1 { font-size: 52px; font-weight: 800; line-height: .98; letter-spacing: -0.02em; }
.hjr-result h1 span { color: var(--hjr-gold); display: block; }
.hjr-place { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--hjr-surface); }
.hjr-place.win { background: #1f4a39; }
.hjr-place .n { width: 26px; font-family: var(--hjr-display); font-size: 22px; font-weight: 800; color: var(--hjr-gold); }
.hjr-place .nm { flex-grow: 1; font-weight: 600; }
.hjr-place .pt { font-weight: 700; font-size: 18px; }
.hjr-result-right { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hjr-heat { display: flex; flex-direction: column; gap: 6px; overflow-x: auto; }
.hjr-heat div { display: flex; align-items: center; gap: 4px; }
.hjr-heat .lbl { width: 70px; flex-shrink: 0; font-size: 14px; color: var(--hjr-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hjr-heat i { flex: 1 0 26px; height: 28px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 600; background: var(--hjr-bg); color: #e9f0ec; }
.hjr-heat i.mid { background: #3d6e5a; }
.hjr-heat i.hi { background: var(--hjr-red); color: #fff; }
.hjr-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hjr-facts div { background: var(--hjr-surface); border-radius: 12px; padding: 14px 16px; }
.hjr-facts small { display: block; color: var(--hjr-muted); font-size: 13px; }
.hjr-facts b { font-size: 17px; }
.hjr-readydots { display: flex; gap: 4px; }
.hjr-readydots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #4e7a67; }
.hjr-readydots i.on { background: #5fd38d; border-color: #5fd38d; }

/* Smal visning (styres af ResizeObserver, så det passer til temaets indholdsbredde) */
.hjr.narrow .hjr-lobby, .hjr.narrow .hjr-create, .hjr.narrow .hjr-wait, .hjr.narrow .hjr-result { flex-direction: column; padding: 20px 16px; gap: 24px; }
.hjr.narrow .hjr-hero, .hjr.narrow .hjr-result-left { width: auto; }
.hjr.narrow .hjr-hero h1 { font-size: 32px; }
.hjr.narrow .hjr-result h1 { font-size: 38px; }
.hjr.narrow .hjr-room { flex-wrap: wrap; }
.hjr.narrow .hjr-room-main { flex-basis: 100%; }
.hjr.narrow .hjr-room-status { flex-grow: 1; width: auto; }
.hjr.narrow .hjr-grid2 { grid-template-columns: minmax(0, 1fr); }
.hjr.narrow .hjr-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hjr.narrow .hjr-seatlist { grid-template-columns: minmax(0, 1fr); }
.hjr.narrow .hjr-game { flex-direction: column; }
.hjr.narrow .hjr-side { width: auto; border-left: 0; border-top: 1px solid var(--hjr-line-soft); }
.hjr.narrow .hjr-felt { min-height: 650px; }
.hjr.narrow .hjr-seat { width: 31%; top: 50px; }
.hjr.narrow .hjr-seat .hjr-avatar { width: 42px; height: 42px; font-size: 16px; }
.hjr.narrow .hjr-seat b { max-width: 100%; }
.hjr.narrow .hjr-seat-top { top: 50px; }
.hjr.narrow .hjr-seat-left { left: 2%; }
.hjr.narrow .hjr-seat-right { right: 2%; }
.hjr.narrow .hjr-banner { font-size: 12px; top: 8px; padding: 5px 10px; }
.hjr.narrow .hjr-chips { bottom: auto; top: 172px; left: 8px; }
.hjr.narrow .hjr-timer { bottom: auto; top: 172px; right: 8px; font-size: 13px; }
.hjr.narrow .hjr-trick { transform: translate(-50%, -50%) scale(.8); top: 330px; }
.hjr.narrow .hjr-hand { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; max-width: 400px; margin: 0 auto; padding: 0 10px; }
.hjr.narrow .hjr-hand .hjr-card { width: 100%; height: auto; aspect-ratio: 64 / 92; }
.hjr.narrow .hjr-hand .hjr-card + .hjr-card { margin-left: 0; }
.hjr.narrow .hjr-hand .hjr-card .c { font-size: 22px; padding-top: 14px; }
.hjr.narrow .hjr-hand .hjr-card .r { font-size: 14px; left: 4px; }
.hjr.narrow .hjr-hand .hjr-card.ok, .hjr.narrow .hjr-hand .hjr-card.sel, .hjr.narrow .hjr-hand .hjr-card.ok:hover { transform: translateY(-5px); }
.hjr.narrow .hjr-hint, .hjr.narrow .hjr-passbar { bottom: 168px; width: calc(100% - 20px); justify-content: space-between; }
.hjr.narrow .hjr-tablebar [data-act=share] span { display: none; }
.hjr.narrow .hjr-tablebar [data-act=share] { width: 44px; padding: 0; }
.hjr.narrow .hjr-tablebar small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hjr.tiny .hjr-top { padding: 12px 14px; }
.hjr.tiny .hjr-namepill span.t { display: none; }

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