/* Beltchecker Score mark: the dial wherever it shows (profile hero, front page, top bar, score page) and the
   "new division" celebration. functions_score.php bcScoreDialSvg(), scripts/bc-score.js. */
:root { --sc-belt: var(--bc-accent, #5b4bd1); --sc-mat: #2f80ed; --sc-comp: #e5533f; --sc-teach: #e89a1c; --sc-years: #1f9d72; --sc-expo: #8e5fd8; --sc-lift: #9aa0ae; --sc-fit: #1f9d72; }

.bcsc-dial { width: 100%; height: 100%; display: block; overflow: visible; }
.bcsc-dial .bcsc-track { fill: none; stroke: var(--bc-surface-2, rgba(0,0,0,.06)); stroke-width: 16; }
.bcsc-dial .bcsc-arc { fill: none; stroke-width: 16; transform: rotate(-90deg); transform-origin: 120px 120px;
	filter: drop-shadow(0 0 5px color-mix(in srgb, currentColor 45%, transparent)); }
.bcsc-dial.is-mark .bcsc-track { stroke: color-mix(in srgb, var(--bc-ink, #111) 10%, transparent); }
.bcsc-dial.is-mark .bcsc-arc { filter: none; }
/* Drawn in when bc-score.js sees the dial (or straight away without JS) */
.bcsc-anim .bcsc-arc { stroke-dasharray: 0 1000; }
.bcsc-anim.is-go .bcsc-arc { stroke-dasharray: var(--len) 1000; transition: stroke-dasharray 1.25s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
.bcsc-c-belt { stroke: var(--sc-belt); color: var(--sc-belt); background: var(--sc-belt); }
.bcsc-c-mat, .bcsc-c-training { stroke: var(--sc-mat); color: var(--sc-mat); background: var(--sc-mat); }
.bcsc-c-comp, .bcsc-c-competitor { stroke: var(--sc-comp); color: var(--sc-comp); background: var(--sc-comp); }
.bcsc-c-teach, .bcsc-c-instructor { stroke: var(--sc-teach); color: var(--sc-teach); background: var(--sc-teach); }
.bcsc-c-years { stroke: var(--sc-years); color: var(--sc-years); background: var(--sc-years); }
.bcsc-c-expo, .bcsc-c-knowledge { stroke: var(--sc-expo); color: var(--sc-expo); background: var(--sc-expo); }
.bcsc-c-lift { stroke: var(--sc-lift); color: var(--sc-lift); background: var(--sc-lift); }
.bcsc-c-fitness { stroke: var(--sc-fit); color: var(--sc-fit); background: var(--sc-fit); }

/* The number lands with a soft light */
@keyframes bcsc-land { 0% { transform: scale(.96); } 45% { transform: scale(1.06); text-shadow: 0 0 24px color-mix(in srgb, var(--bc-accent, #5b4bd1) 55%, transparent); } 100% { transform: none; text-shadow: none; } }
.is-landed [data-count] { animation: bcsc-land .7s cubic-bezier(.2,.8,.2,1); }
@keyframes bcsc-glow { 0% { opacity: 0; transform: scale(.9); } 40% { opacity: .55; } 100% { opacity: 0; transform: scale(1.18); } }

/* Profile hero and front page: the dial with the number in the middle */
.bcsc-hero-dial { position: relative; display: inline-grid; justify-items: center; gap: 6px; color: inherit !important; text-decoration: none !important; }
.bcsc-hero-ring { position: relative; display: block; width: 190px; height: 190px; }
.bcsc-hero-ring::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--bc-accent, #5b4bd1) 40%, transparent), transparent); opacity: 0; pointer-events: none; }
.is-landed .bcsc-hero-ring::after { animation: bcsc-glow 1.1s ease-out; }
.bcsc-hero-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 1px; }
.bcsc-hero-k { font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-muted, #6b6b76); font-weight: 650; }
.bcsc-hero-num { font-size: 54px; line-height: 1; font-weight: 760; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--bc-ink, #0b0b10); }
.bcsc-hero-num.is-blur { filter: blur(5px); opacity: .5; }
.bcsc-hero-div { font-size: 14px; font-weight: 650; color: var(--bc-ink, #0b0b10); }
.bcsc-hero-note { font-size: 11.5px; color: var(--bc-muted, #6b6b76); text-align: center; max-width: 220px; }
.bcsc-hero-note i { font-size: 10px; }
.bcsc-hero-dial:hover .bcsc-hero-ring { transform: scale(1.02); }
.bcsc-hero-ring { transition: transform .25s cubic-bezier(.2,.8,.2,1); }

/* Top bar: the mark and the number */
.bcsc-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 5px; border-radius: 999px; border: 1px solid var(--bc-line, rgba(0,0,0,.1));
	background: var(--bc-surface, #fff); color: var(--bc-ink, #0b0b10) !important; text-decoration: none !important; font-weight: 750; font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.bcsc-chip svg { width: 22px; height: 22px; }
.bcsc-chip:hover { border-color: var(--bc-accent, #5b4bd1); }

/* "New division" celebration */
.bcsc-cel { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; }
.bcsc-cel[hidden] { display: none; }
.bcsc-cel-back { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(40,30,90,.72), rgba(6,6,14,.88)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.bcsc-cel.is-open .bcsc-cel-back { opacity: 1; }
.bcsc-cel-confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.bcsc-cel-box { position: relative; z-index: 2; width: min(420px, 100%); display: grid; justify-items: center; gap: 14px; text-align: center; color: #fff;
	opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .4s, transform .6s cubic-bezier(.2,.9,.25,1.2); }
.bcsc-cel.is-open .bcsc-cel-box { opacity: 1; transform: none; }
.bcsc-cel-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: #c9c2ff; }
.bcsc-cel-ring { position: relative; width: min(280px, 72vw); aspect-ratio: 1; }
.bcsc-cel-ring .bcsc-dial .bcsc-track { stroke: rgba(255,255,255,.1); }
.bcsc-cel-ring .bcsc-dial .bcsc-arc { stroke: url(#bcsc-cel-grad); filter: drop-shadow(0 0 10px rgba(157,144,255,.8)); }
.bcsc-cel-center { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; }
.bcsc-cel-k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 650; }
.bcsc-cel-num { font-size: clamp(64px, 18vw, 92px); line-height: 1; font-weight: 780; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bcsc-cel-div { position: relative; height: 26px; overflow: hidden; font-size: 19px; font-weight: 700; }
.bcsc-cel-div span { display: block; transition: transform .55s cubic-bezier(.2,.9,.25,1.2), opacity .4s; }
.bcsc-cel-div .is-new { position: absolute; inset: 0; transform: translateY(110%); opacity: 0; color: #ffd66b; }
.bcsc-cel.is-up .bcsc-cel-div .is-old { transform: translateY(-110%); opacity: 0; }
.bcsc-cel.is-up .bcsc-cel-div .is-new { transform: none; opacity: 1; }
.bcsc-cel-flash { position: absolute; inset: -8%; border-radius: 50%; border: 3px solid #ffd66b; opacity: 0; pointer-events: none; }
.bcsc-cel.is-up .bcsc-cel-flash { animation: bcsc-ring-out 1s ease-out; }
@keyframes bcsc-ring-out { 0% { opacity: .9; transform: scale(.82); } 100% { opacity: 0; transform: scale(1.35); } }
.bcsc-cel h2 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.bcsc-cel p { margin: 0; font-size: 15px; color: rgba(255,255,255,.75); }
.bcsc-cel-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.bcsc-cel-actions button, .bcsc-cel-actions a { padding: 12px 20px; border-radius: 14px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.bcsc-cel-share { background: #fff; color: #14102e !important; }
.bcsc-cel-close { background: rgba(255,255,255,.12); color: #fff !important; }
.bcsc-cel-x { position: absolute; top: 14px; right: 14px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
	.bcsc-anim .bcsc-arc { stroke-dasharray: var(--len) 1000; }
	.bcsc-anim.is-go .bcsc-arc { transition: none; }
	.is-landed [data-count], .is-landed .bcsc-hero-ring::after, .bcsc-cel.is-up .bcsc-cel-flash { animation: none; }
}

/* Profile hero: the dial first, then the world rank and rings */
.bc-hero-scorewrap { display: flex; gap: 22px; align-items: flex-start; min-width: 0; padding-top: 14px; }
.bc-hero-scorewrap > .bc-hero-stats { flex: 1 1 auto; padding-top: 4px; }
.bc-hero-scorewrap .bcsc-hero-ring { width: 176px; height: 176px; }
@media (max-width: 991.98px) {
	.bc-hero-scorewrap { flex-direction: column; align-items: center; padding-top: 6px; }
	.bc-hero-scorewrap > .bc-hero-stats { width: 100%; }
}

/* Sub-scores on the hero dial: a card on hover with a mouse, a list under the dial on touch screens */
.bcsc-hero-tip { display: grid; gap: 7px; width: 230px; padding: 12px 14px; border-radius: 14px; background: var(--bc-surface, #fff); border: 1px solid var(--bc-line, rgba(0,0,0,.08)); box-shadow: 0 0 28px rgba(20,20,40,.16); text-align: left; }
.bcsc-tip-head { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-muted, #6b6b76); font-weight: 650; }
.bcsc-tip-row { display: grid; grid-template-columns: 78px 1fr 30px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--bc-ink-2, #3a3a44); }
.bcsc-tip-row i { height: 6px; border-radius: 99px; background: var(--bc-surface-2, rgba(0,0,0,.06)); overflow: hidden; }
.bcsc-tip-row em { display: block; height: 100%; border-radius: 99px; }
.bcsc-tip-row b { text-align: right; font-variant-numeric: tabular-nums; color: var(--bc-ink, #0b0b10); }
@media (hover: hover) and (pointer: fine) {
	.bcsc-hero-tip { position: absolute; top: calc(100% + 6px); left: 50%; z-index: 30; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
	.bcsc-hero-ring:hover ~ .bcsc-hero-tip, .bcsc-hero-dial:focus-visible .bcsc-hero-tip { opacity: 1; transform: translate(-50%, 0); }
}
@media (hover: none), (pointer: coarse) { .bcsc-hero-tip { box-shadow: none; width: min(260px, 100%); } }

/* The score leads the hero: a big dial, the world rank and rings step down a size next to it */
.bc-hero-scorewrap .bcsc-hero-ring { width: 214px; height: 214px; }
.bc-hero-scorewrap .bcsc-hero-num { font-size: 62px; }
.bc-hero-scorewrap .bcsc-hero-div { font-size: 16px; }
.bc-hero-scorewrap .bc-overview-rank-num { font-size: 24px !important; }
.bc-hero-scorewrap .bc-overview-rank-label { font-size: 12px; }
.bc-hero-scorewrap .bc-hero-rings .bc-ring svg { width: 54px; height: 54px; }
.bc-hero-scorewrap .bc-hero-rings .bc-ring-big { font-size: 11.5px; }
.bc-hero-scorewrap .bc-hero-rings .bc-ring-label { font-size: 11px; }
.bc-hero-scorewrap .bc-hero-rankrow { margin-bottom: 8px; }
@media (max-width: 480px) { .bcsc-chip-wrap + .invite-topbar-wrap { display: none !important; } .bcsc-chip { padding-right: 8px; } }

/* Front page welcome card */
.bc-hello-score { flex: 0 0 auto; display: flex; justify-content: center; }
.bc-hello-score .bcsc-hero-ring { width: 150px; height: 150px; }
.bc-hello-score .bcsc-hero-num { font-size: 44px; }
.bc-hello-score .bcsc-hero-k { font-size: 7.5px; }
.bc-hello-score .bcsc-hero-div { font-size: 13px; }
@media (max-width: 640px) { .bc-hello-score { width: 100%; } }
@media (hover: hover) and (pointer: fine) {
	.bc-hero-scorewrap .bcsc-hero-tip { top: 8px; left: calc(100% + 10px); transform: translate(0, 6px); }
	.bc-hero-scorewrap .bcsc-hero-ring:hover ~ .bcsc-hero-tip, .bc-hero-scorewrap .bcsc-hero-dial:focus-visible .bcsc-hero-tip { transform: none; }
	.bc-hello-score .bcsc-hero-tip { top: auto; bottom: calc(100% + 6px); }
}
.bc-hello-score .bcsc-hero-k { display: none; }
.bc-hello-score .bcsc-hero-dial { position: relative; }

/* Desktop: the dial furthest right in the hero, the world rank and rings to its left (Christian, 21/11 2026) */
@media (min-width: 992px) {
	.bc-hero-scorewrap > .bcsc-hero-dial { order: 2; }
	.bc-hero-scorewrap > .bc-hero-stats { order: 1; }
	.bc-hero-scorewrap .bcsc-hero-tip { left: auto !important; right: calc(100% + 10px); }
}

/* "What is this?" under the dial */
.bcsc-what { position: relative; font-size: 11.5px; color: var(--bc-muted, #6b6b76); text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.bcsc-what-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 40; width: 260px; padding: 12px 14px; border-radius: 14px; background: var(--bc-ink, #0b0b10); color: var(--bc-surface, #fff); font-size: 12.5px; line-height: 1.45; text-align: left; text-decoration: none; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; box-shadow: 0 0 24px rgba(0,0,0,.18); }
.bcsc-what-tip b { display: block; margin-bottom: 4px; font-size: 13px; }
.bcsc-what:hover .bcsc-what-tip { opacity: 1; transform: translate(-50%, 0); }
.bc-hero-scorewrap .bcsc-what-tip { left: auto; right: -20px; transform: translateY(4px); }
.bc-hero-scorewrap .bcsc-what:hover .bcsc-what-tip { transform: none; }
@media (hover: none) { .bcsc-what-tip { display: none; } }

/* With the dial in the hero, the actions (share, add friend, message, follow) sit on the cover photo, top right (Christian, 21/11 2026) */
.bc-hero:has(.bc-hero-scorewrap) { position: relative; }
.bc-hero:has(.bc-hero-scorewrap) .bc-hero-actions { position: absolute; top: 14px; right: 14px; z-index: 5; margin: 0; }
.bc-hero:has(.bc-hero-scorewrap) .bc-hero-iconbtn { background: rgba(255,255,255,.88) !important; color: #0b0b10 !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 14px rgba(0,0,0,.18) !important; }
.bc-hero:has(.bc-hero-scorewrap) .bc-hero-iconbtn i { color: #0b0b10 !important; }

/* The Score tab on the profile: the small mark before the word */
.bc-ptab-mark { display: inline-flex; width: 18px; height: 18px; margin-right: 6px; flex: none; }
.bc-ptab-mark svg { width: 18px !important; height: 18px !important; }

/* Front page: one compact line instead of the big dial */
.bc-hello-score { align-self: center; }
.bcsc-inline { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--bc-surface-2, rgba(0,0,0,.04)); color: var(--bc-ink, #0b0b10) !important; text-decoration: none !important; }
.bcsc-inline:hover { background: var(--bc-surface-3, rgba(0,0,0,.07)); }
.bcsc-inline-mark { width: 40px; height: 40px; flex: none; }
.bcsc-inline-mark svg { width: 40px; height: 40px; }
.bcsc-inline-txt { display: grid; line-height: 1.15; }
.bcsc-inline-txt small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-muted, #6b6b76); font-weight: 650; }
.bcsc-inline-txt b { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bcsc-inline .bcsc-what { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--bc-line-strong, rgba(0,0,0,.15)); font-size: 11px; text-decoration: none; }
.bcsc-inline .bcsc-what-tip { left: auto; right: -10px; transform: translateY(4px); }
.bcsc-inline .bcsc-what:hover .bcsc-what-tip { transform: none; }
@media (max-width: 640px) { .bc-hello-score { width: auto; } }
/* Top bar on phones: the chip never pushes into the avatars */
@media (max-width: 400px) { .bcsc-chip { padding: 0 6px 0 4px; gap: 4px; font-size: 13px; } .bcsc-chip svg { width: 18px; height: 18px; } }
@media (max-width: 350px) { .bcsc-chip-wrap { display: none !important; } }
.bcsc-inline-go { font-size: 11px; color: var(--bc-muted, #6b6b76); margin-left: 2px; }

/* Top bar: the sub-scores on hover (mouse only) */
.bcsc-chip { position: relative; }
.bcsc-chip .bcsc-hero-tip { display: none; }
@media (hover: hover) and (pointer: fine) {
	.bcsc-chip .bcsc-hero-tip { display: grid; position: absolute; top: calc(100% + 8px); right: 0; left: auto; z-index: 1000; transform: translateY(6px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; font-weight: 500; letter-spacing: 0; }
	.bcsc-chip:hover .bcsc-hero-tip, .bcsc-chip:focus-visible .bcsc-hero-tip { opacity: 1; transform: none; }
}

/* Desktop hero: the rank and rings sit centred beside the big dial and fill its height (Christian, 21/11 2026) */
@media (min-width: 992px) {
	.bc-hero-scorewrap { align-items: center; padding-top: 18px; }
	.bc-hero-scorewrap > .bc-hero-stats { padding-top: 0; }
	.bc-hero-scorewrap .bc-overview-rank-num { font-size: 34px !important; }
	.bc-hero-scorewrap .bc-overview-rank-label { font-size: 13px; }
	.bc-hero-scorewrap .bc-hero-rankrow { margin-bottom: 18px; }
	.bc-hero-scorewrap .bc-hero-rings .bc-ring svg { width: 74px; height: 74px; }
	.bc-hero-scorewrap .bc-hero-rings .bc-ring-big { font-size: 13.5px; }
	.bc-hero-scorewrap .bc-hero-rings .bc-ring-label { font-size: 12.5px; }
	.bc-hero-scorewrap .bc-hero-rings .bc-ring-sub { font-size: 12px; }
}

/* Club Management: the quiet mark next to the belt (Grading day, Promote sheets, the member page) and the card that
   asks an academy's administrators to turn the score on (functions_score_academy.php bcScoreAdminMark, bcScoreInviteCard) */
.bcsc-admark { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; line-height: 1.2; color: var(--bc-ink, #0b0b10); white-space: nowrap; vertical-align: middle; }
.bcsc-admark-dial { display: block; width: 28px; height: 28px; flex: none; }
.bcsc-admark b { font-weight: 650; font-variant-numeric: tabular-nums; }
.bcsc-admark small { font-size: 12.5px; font-weight: 500; color: var(--bc-muted, #6b6b76); }
/* The Beltchecker Score column on Grading day: 36px dial, the number beside it, the level under the number */
.bcsc-admark--col { gap: 10px; }
.bcsc-admark--col .bcsc-admark-dial { width: 36px; height: 36px; }
.bcsc-admark-txt { display: grid; gap: 1px; line-height: 1.15; }
.bcsc-admark--col b { font-size: 16px; }
.bcsc-admark--col small { font-size: 12px; }
.bcsc-invite { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 22px; background: var(--bc-surface, #fff); box-shadow: 0 0 0 1px var(--bc-line, rgba(0,0,0,.08)); margin: 0 0 16px; color: var(--bc-ink-2, #3a3a44); box-sizing: border-box; max-width: 100%; min-width: 0; }
.bcsc-invite-mark { display: block; flex: none; width: 44px; height: 44px; margin-top: 2px; }
.bcsc-invite-main { flex: 1; min-width: 0; }
.bcsc-invite h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--bc-ink, #0b0b10); }
.bcsc-invite p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; max-width: 68ch; }
.bcsc-invite p.bcsc-invite-small { font-size: 13px; color: var(--bc-muted, #6b6b76); margin-bottom: 12px; }
.bcsc-invite-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.bcsc-invite-acts form { display: inline; margin: 0; }
.bcsc-invite-later { border: 0; background: none; padding: 6px 8px; font: inherit; font-size: 14px; color: var(--bc-muted, #6b6b76); cursor: pointer; }
.bcsc-invite-later:hover { color: var(--bc-ink, #0b0b10); }
.bcsc-invite-link { margin-left: auto; font-size: 13px; color: var(--bc-muted, #6b6b76) !important; }
@media (max-width: 560px) {
	.bcsc-invite { padding: 16px; gap: 12px; }
	.bcsc-invite-mark { width: 34px; height: 34px; }
	.bcsc-invite-link { margin-left: 0; flex-basis: 100%; }
}
/* The member page in Club Management: a row under the belt, the dial centred in the belt's 120px column */
.am-score-lead { display: flex; justify-content: center; width: 120px; }
.am-score-lead .bcsc-dial { width: 34px; height: 34px; }
.am-score-row .am-score-num { margin-left: 4px; font-variant-numeric: tabular-nums; }
.am-score-row .am-score-lvl { font-weight: 500; color: var(--bc-muted, #6b6b76); }
@media (max-width: 560px) { .am-score-lead { width: auto; } }

/* Own profile below Elite: "Getting close to Expert" in place of "What is this?", its card holds the best step (Christian, 22/11 2026) */
.bcsc-hero-dialwrap { position: relative; display: inline-grid; justify-items: center; gap: 6px; }
@media (min-width: 992px) { .bc-hero-scorewrap > .bcsc-hero-dialwrap { order: 2; } }
.bcsc-next-what { text-align: center; max-width: 220px; }
.bcsc-next-what:focus-visible { outline: 2px solid var(--bc-accent, #5b4bd1); outline-offset: 3px; border-radius: 4px; }
.bcsc-next-tip { display: grid; gap: 6px; cursor: default; }
.bcsc-next-tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.bcsc-next-tip b { margin-bottom: 0; }
.bcsc-next-step { color: inherit !important; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.bcsc-next-step i { font-size: 10px; margin-left: 2px; }
.bcsc-next-eff { font-style: normal; font-size: 11.5px; opacity: .7; }
.bcsc-next-about { display: block; margin-top: 4px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 12px; opacity: .85; }
.bcsc-next-about b { font-size: 12px; margin-bottom: 2px; }
.bcsc-next-what:hover .bcsc-next-tip, .bcsc-next-what:focus-within .bcsc-next-tip, .bcsc-next-what.is-open .bcsc-next-tip { opacity: 1; pointer-events: auto; }
.bcsc-next-what:focus-within .bcsc-next-tip, .bcsc-next-what.is-open .bcsc-next-tip { transform: translate(-50%, 0); }
.bc-hero-scorewrap .bcsc-next-what:focus-within .bcsc-next-tip, .bc-hero-scorewrap .bcsc-next-what.is-open .bcsc-next-tip { transform: none; }
@media (hover: none) { .bcsc-next-what.is-open .bcsc-next-tip { display: grid; } }

/* Front page welcome card: how far the next level is, and a small button to the best step */
.bc-hello-score:has(.bcsc-inline-next) { flex-direction: column; align-items: center; gap: 6px; }
.bcsc-inline-next { display: grid; justify-items: center; gap: 5px; max-width: 240px; text-align: center; }
.bcsc-inline-far { font-size: 12.5px; font-weight: 650; color: var(--bc-ink-2, #3a3a44); }
.bcsc-inline-step { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--bc-line-strong, rgba(0,0,0,.15)); font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--bc-ink, #0b0b10) !important; text-decoration: none !important; }
.bcsc-inline-step:hover { border-color: var(--bc-accent, #5b4bd1); }
.bcsc-inline-step i { font-size: 10px; }
.bcsc-inline-next { max-width: 300px; }
@media (max-width: 640px) { .bc-hello-score:has(.bcsc-inline-next) { align-items: flex-start; } .bcsc-inline-next { justify-items: start; text-align: left; padding-left: 4px; } }
