/* New Beginnings – accessibility tools. */
@font-face { font-family: "NBA OpenDyslexic"; src: url("fonts/opendyslexic-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "NBA OpenDyslexic"; src: url("fonts/opendyslexic-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "NBA Atkinson Hyperlegible"; src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "NBA Atkinson Hyperlegible"; src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ================= launcher and panel ================= */
#nba-root {
	--nba-teal: #005465; --nba-cream: #efebe7; --nba-gold: #eab339; --nba-line: #d4d0cb; --nba-text: #1d1d1d;
	--nba-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-family: var(--nba-font);
}
#nba-root *, #nba-root *::before, #nba-root *::after { box-sizing: border-box; }
#nba-root [hidden] { display: none !important; }
#nba-root svg { width: 22px; height: 22px; flex: none; }
#nba-root :focus-visible { outline: 3px solid var(--nba-gold); outline-offset: 2px; }
#nba-root .nba-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#nba-root button { font-family: var(--nba-font); text-transform: none; letter-spacing: 0; box-shadow: none; margin: 0; }

#nba-root .nba-launch {
	position: fixed; left: 0; top: 120px; z-index: 2147483400;
	width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--nba-teal); border: 1px solid var(--nba-line); border-left: 0; border-radius: 0 10px 10px 0;
	box-shadow: 0 4px 16px rgba(0,0,0,.15); cursor: pointer;
}
#nba-root .nba-launch svg { width: 26px; height: 26px; }

#nba-root .nba-panel {
	position: fixed; left: 16px; top: 16px; bottom: 16px; z-index: 2147483650;
	width: 440px; max-width: calc(100vw - 32px);
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; color: var(--nba-text); border-radius: 14px; box-shadow: 0 12px 48px rgba(0,0,0,.28);
	font-size: 15px; line-height: 1.4;
}
#nba-root .nba-head { background: var(--nba-teal); color: var(--nba-cream); padding: 18px 20px 16px; flex: none; }
#nba-root .nba-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
#nba-root .nba-head h2 { font: 700 28px/1.15 var(--nba-font); color: #fff; margin: 0 0 14px; padding: 0; }
#nba-root .nba-head h2:focus { outline: none; }
#nba-root .nba-close { width: 40px; height: 40px; padding: 0; border-radius: 10px; background: #fff; color: var(--nba-teal); border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
#nba-root .nba-reset { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; min-height: 40px; border-radius: 10px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); font-size: 14px; font-weight: 700; cursor: pointer; }
#nba-root .nba-reset svg { width: 18px; height: 18px; }

#nba-root .nba-tabs { display: flex; padding: 0 20px; border-bottom: 1px solid var(--nba-line); flex: none; }
#nba-root .nba-tabs [role="tab"] { flex: 1; padding: 13px 8px; background: none; border: 0; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 600; color: #555; cursor: pointer; border-radius: 0; }
#nba-root .nba-tabs [aria-selected="true"] { color: var(--nba-text); border-bottom-color: var(--nba-teal); }

#nba-root .nba-body { overflow-y: auto; flex: 1 1 auto; padding: 4px 20px 20px; }
#nba-root .nba-section { padding: 16px 0 18px; border-bottom: 1px solid var(--nba-line); }
#nba-root .nba-section:last-child { border-bottom: 0; }
#nba-root .nba-section h3, #nba-root .nba-pane h3 { font: 700 20px/1.3 var(--nba-font); color: var(--nba-text); margin: 0 0 12px; padding: 0; }
#nba-root .nba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#nba-root .nba-card {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	min-height: 104px; padding: 12px 8px; background: #fff; color: var(--nba-text);
	border: 1.5px solid var(--nba-line); border-radius: 14px; cursor: pointer; font-size: 14px; line-height: 1.25; text-align: center;
	transition: border-color .15s ease, background-color .15s ease;
}
#nba-root .nba-card:hover { border-color: var(--nba-teal); }
#nba-root .nba-card[aria-pressed="true"] { background: var(--nba-teal); border-color: var(--nba-teal); color: #fff; }
#nba-root .nba-ico { color: inherit; display: inline-flex; }
#nba-root .nba-state { font-size: 12px; font-weight: 600; min-height: 0; }
#nba-root .nba-state:empty { display: none; }
#nba-root .nba-dots { display: flex; gap: 4px; }
#nba-root .nba-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .7; }
#nba-root .nba-dots i.on { background: currentColor; opacity: 1; }
#nba-root .nba-stepper { display: grid; grid-template-columns: 1fr 44px 64px 44px; align-items: center; gap: 8px; margin-top: 12px; }
#nba-root .nba-step-label { font-size: 15px; }
#nba-root .nba-step { width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1.5px solid var(--nba-line); background: #fff; color: var(--nba-text); font-size: 22px; line-height: 1; cursor: pointer; }
#nba-root .nba-step:disabled { opacity: .4; cursor: default; }
#nba-root .nba-step-value { text-align: center; font-weight: 700; font-size: 15px; }

#nba-root .nba-pane#nba-pane-outline { padding-top: 16px; }
#nba-root .nba-outline { list-style: none; margin: 0 0 18px; padding: 0; }
#nba-root .nba-outline li { margin: 0 0 4px; padding: 0; list-style: none; }
#nba-root .nba-outline button { display: flex; gap: 10px; align-items: baseline; width: 100%; text-align: left; padding: 9px 10px; background: #fff; border: 1px solid var(--nba-line); border-radius: 8px; cursor: pointer; color: var(--nba-text); font-size: 14px; }
#nba-root .nba-outline button:hover { border-color: var(--nba-teal); }
#nba-root .nba-lvl-2 { margin-left: 12px !important; } #nba-root .nba-lvl-3 { margin-left: 24px !important; } #nba-root .nba-lvl-4 { margin-left: 36px !important; }
#nba-root .nba-tag { font-size: 11px; font-weight: 700; color: var(--nba-teal); background: var(--nba-cream); border-radius: 4px; padding: 1px 5px; flex: none; }
#nba-root .nba-foot { flex: none; background: var(--nba-teal); color: var(--nba-cream); font-size: 12.5px; padding: 10px 20px; }

#nba-root .nba-guide { position: fixed; left: 0; right: 0; height: 12px; z-index: 2147483300; pointer-events: none; background: rgba(234,179,57,.35); border-top: 2px solid #005465; border-bottom: 2px solid #005465; display: none; }
#nba-root .nba-mask { position: fixed; left: 0; right: 0; z-index: 2147483300; pointer-events: none; background: rgba(0,0,0,.6); display: none; }
#nba-root .nba-mask-top { top: 0; }
#nba-root .nba-mask-bottom { bottom: 0; }

@media (max-width: 600px) {
	#nba-root .nba-panel { left: 8px; right: 8px; top: 8px; bottom: 8px; width: auto; max-width: none; }
	#nba-root .nba-head h2 { font-size: 24px; }
	#nba-root .nba-launch { top: auto; bottom: 120px; }
}
@media print { #nba-root { display: none !important; } }

/* ================= what each option does to the page ================= */

/* Stop animations */
html.nba-stop-anim *:not(#nba-root *), html.nba-stop-anim *::before, html.nba-stop-anim *::after {
	animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
	transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
}

/* Hide images */
html.nba-hide-img :is(img, picture, video):not(#nba-root *):not(#nbc-root *) { visibility: hidden !important; }
html.nba-hide-img body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { background-image: none !important; }

/* Contrast: dark */
html.nba-contrast-dark body,
html.nba-contrast-dark body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *, img, video, picture, iframe, svg, svg *) {
	background-color: #000 !important; color: #fff !important; border-color: #fff !important; text-shadow: none !important;
}
html.nba-contrast-dark body a:not(#nba-root *):not(#nbc-root *) { color: #ffd54a !important; }

/* Contrast: light */
html.nba-contrast-light body,
html.nba-contrast-light body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *, img, video, picture, iframe, svg, svg *) {
	background-color: #fff !important; color: #000 !important; border-color: #000 !important; text-shadow: none !important;
}
html.nba-contrast-light body a:not(#nba-root *):not(#nbc-root *) { color: #0b3fc4 !important; }

/* Text alignment */
html.nba-align-left :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, td, th, dd, dt, label, .et_pb_text_inner, .et_pb_module_header):not(#nba-root *):not(#nbc-root *) { text-align: left !important; }
html.nba-align-center :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, td, th, dd, dt, label, .et_pb_text_inner, .et_pb_module_header):not(#nba-root *):not(#nbc-root *) { text-align: center !important; }
html.nba-align-right :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, td, th, dd, dt, label, .et_pb_text_inner, .et_pb_module_header):not(#nba-root *):not(#nbc-root *) { text-align: right !important; }

/* Fonts (icon fonts are left alone) */
html.nba-font-dyslexic body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *, i, [class*="icon"], [class*="fa-"], [data-icon], .et-pb-icon) {
	font-family: "NBA OpenDyslexic", Arial, sans-serif !important;
}
html.nba-font-readable body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *, i, [class*="icon"], [class*="fa-"], [data-icon], .et-pb-icon) {
	font-family: "NBA Atkinson Hyperlegible", Arial, sans-serif !important;
}

/* Line height, letter spacing, word spacing */
html.nba-lh-1 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { line-height: 1.75 !important; }
html.nba-lh-2 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { line-height: 2 !important; }
html.nba-lh-3 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { line-height: 2.3 !important; }
html.nba-ls-1 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { letter-spacing: 0.05em !important; }
html.nba-ls-2 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { letter-spacing: 0.1em !important; }
html.nba-ls-3 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { letter-spacing: 0.15em !important; }
html.nba-ws-1 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { word-spacing: 0.16em !important; }
html.nba-ws-2 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { word-spacing: 0.32em !important; }
html.nba-ws-3 body *:not(#nba-root, #nba-root *, #nbc-root, #nbc-root *) { word-spacing: 0.48em !important; }

/* Big cursor */
html.nba-cursor-white, html.nba-cursor-white * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5l13.5 9-6.2 1.3 3.7 7-2.8 1.5-3.7-7L5 19.2z' fill='%23fff' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 10 5, auto !important;
}
html.nba-cursor-black, html.nba-cursor-black * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5l13.5 9-6.2 1.3 3.7 7-2.8 1.5-3.7-7L5 19.2z' fill='%23000' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 10 5, auto !important;
}

/* Highlights */
html.nba-hl-headings :is(h1, h2, h3, h4, h5, h6):not(#nba-root *):not(#nbc-root *) { outline: 3px solid #eab339 !important; outline-offset: 4px !important; }
html.nba-hl-links a:not(#nba-root *):not(#nbc-root *) { text-decoration: underline !important; text-underline-offset: 3px !important; outline: 2px solid #eab339 !important; outline-offset: 2px !important; }
html.nba-hl-focus *:focus, html.nba-hl-focus *:focus-visible { outline: 4px solid #eab339 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #005465 !important; }
