.bd-page { --b1: #ffc24a; --b2: #ffb238; --b3: #ff8a1e; --b4: #c9560a; --b5: #6b2a05; --foam: #fff3dc; --stout: #0a0604; }
body.bd-page:not(.bd-hub) { background: #f6a53a; }

.loader { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: radial-gradient(720px 480px at 50% 38%, rgba(255, 138, 30, .13), transparent 62%), radial-gradient(900px 620px at 50% 115%, rgba(201, 86, 10, .18), transparent 65%), #0a0604; transition: opacity .55s ease, visibility .55s; }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; width: min(360px, 84vw); transform: translateY(-3vh); }
.loader-mug { width: auto; height: 64px; max-width: 78px; object-fit: contain; margin-bottom: 22px; filter: drop-shadow(0 0 22px rgba(255, 138, 30, .55)); animation: loader-bob 2.4s ease-in-out infinite; }
@keyframes loader-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
.loader-line { min-height: 40px; display: flex; align-items: flex-end; justify-content: center; text-align: center; font: 500 14px var(--f-ui, "Inter Tight", system-ui); color: rgba(255, 243, 220, .72); line-height: 1.5; margin-bottom: 18px; padding: 0 8px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.loader-line.show { opacity: 1; transform: none; }
.loader-bar { position: relative; width: 100%; height: 36px; border: 3px solid rgba(255, 233, 199, .22); border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 34px rgba(255, 138, 30, .14); overflow: hidden; }
.loader-bar::before { content: ""; position: absolute; top: 3px; left: 3px; right: 3px; height: 9px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent); border-radius: 6px; pointer-events: none; z-index: 4; }
.loader-beer { position: absolute; top: 0; left: 0; bottom: 0; width: 0%; background: linear-gradient(180deg, #ffc24a 0%, #ffb238 48%, #c9560a 100%); box-shadow: 0 0 18px rgba(255, 138, 30, .6); }
.loader-beer::after { content: ""; position: absolute; top: -2px; right: -7px; bottom: -2px; width: 14px; background: #ffe9c7; border-radius: 45% 55% 55% 45%; box-shadow: 0 0 10px rgba(255, 233, 199, .8); animation: foam-wobble .9s ease-in-out infinite; }
@keyframes foam-wobble { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.12); } }
.loader-bubble { position: absolute; bottom: -6px; border-radius: 50%; background: rgba(255, 233, 199, .5); animation: loader-bubble-up linear infinite; }
@keyframes loader-bubble-up { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .85; } 100% { transform: translateY(-46px); opacity: 0; } }
.loader-meta { display: flex; align-items: baseline; justify-content: space-between; width: 100%; margin-top: 14px; }
.loader-label { font: 700 10.5px var(--f-ui, "Inter Tight", system-ui); letter-spacing: .22em; text-transform: uppercase; color: #8a7b6a; }
.loader-label .ldots::after { content: ""; display: inline-block; width: 1.4em; text-align: left; animation: loader-dots 1.4s steps(4) infinite; }
@keyframes loader-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } 100% { content: ""; } }
.loader-pct { font: 800 30px/1 var(--f-display, "Archivo", system-ui); color: #ffc24a; text-shadow: 0 0 20px rgba(255, 178, 56, .55); font-variant-numeric: tabular-nums; }

.pw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; padding: 7px 12px 9px; border-radius: 999px; overflow: hidden; }
.chip b { color: #fff; font-weight: 800; letter-spacing: .1em; }
.chip i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 100%); background: var(--c); }
.chip--mult { --c: #ff9a1e; } .chip--mult b { color: #ffc24a; font-size: 14px; }
.chip--mag { --c: #ff6fb5; }
.chip--star { --c: linear-gradient(90deg, #ff4d4d, #ffe14a, #4dff88, #4dc3ff, #c44dff); }
.chip--ult { --c: #f5c518; }
.chip--jam { --c: linear-gradient(90deg, #be64ff, #ff69c8); }

.bd-speed { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(62vw, 360px); height: 18px; border-radius: 999px; overflow: hidden; }
.bd-speed i { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: linear-gradient(180deg, #fff0b0, #ffc24a 45%, #ff8a1e); box-shadow: 0 0 16px rgba(255, 178, 56, .55); transition: width .08s linear; }
.bd-speed.low i { background: linear-gradient(180deg, #ffb0a0, #ff5a3a 45%, #c0200a); }
.bd-speed::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255, 243, 220, .7); }
.bd-speed b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }

.bd-ult { pointer-events: auto; }
.bd-ult__bar { position: relative; display: block; overflow: hidden; }
.bd-ult__bar #ultFill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #fff0b0, #f5c518); box-shadow: 0 0 14px rgba(245, 197, 24, .6); }
.bd-ult.is-ready { animation: bdUlt .9s ease-in-out infinite; }
.bd-ult.is-ready #ultHint::before { content: "Ready! "; color: #ffe14a; }
.bd-ult.is-spent { opacity: .4; }
@keyframes bdUlt { 0%, 100% { filter: drop-shadow(0 0 0 rgba(245, 197, 24, 0)); } 50% { filter: drop-shadow(0 0 14px rgba(245, 197, 24, .9)); } }

.voice { position: fixed; left: 0; right: 0; top: 24%; z-index: 20; text-align: center; font: 900 clamp(26px, 6vw, 46px) var(--f-display, "Archivo", system-ui); color: #ffe135; -webkit-text-stroke: 2px #0a0604; paint-order: stroke fill; text-shadow: 0 4px 0 #6b2a05; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; pointer-events: none; }
.voice.on { opacity: 1; transform: scale(1); }
.bd-web { color: rgba(255, 243, 220, .7); text-transform: none; letter-spacing: 0; }

.bd-page .jam-art__small { color: #ffe9c7; text-shadow: 0 0 10px rgba(255, 138, 30, .8); }
.bd-page .jam-art .jamglow { background: linear-gradient(180deg, #fff0b0 0%, #ffc24a 45%, #ff8a1e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(255, 138, 30, .7)) drop-shadow(0 0 34px rgba(255, 194, 74, .35)); }
.bd-page .jam-art .jamglow::before, .bd-page .jam-art .jamglow::after { color: #ffb238; -webkit-text-fill-color: #ffb238; }
.bd-page .jamglow { color: #ffc24a; text-shadow: 0 0 1px rgba(255, 243, 220, .9), 0 0 16px rgba(255, 138, 30, .8), 0 0 46px rgba(255, 194, 74, .45); }

.chip[hidden] { display: none; }
.bd-speed { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 58px); height: 14px; }
.bd-ult__bar { height: 16px; border-radius: 999px; padding: 3px; }
.bd-ult__bar #ultFill { left: 3px; top: 3px; bottom: 3px; border-radius: 999px; max-width: calc(100% - 6px); }

.bd-hub .page-bg--jam .haze i { background: radial-gradient(circle, rgba(255, 138, 30, .22), rgba(255, 138, 30, 0) 70%); }
.bd-hub .page-bg--jam .haze i:nth-child(2) { background: radial-gradient(circle, rgba(201, 86, 10, .22), rgba(201, 86, 10, 0) 70%); }
.bd-hub .page-bg--jam .haze i:nth-child(3) { background: radial-gradient(circle, rgba(255, 243, 220, .06), rgba(255, 243, 220, 0) 70%); }
.bd-hub .page-bg--jam .page-bg__glow { background: radial-gradient(closest-side, rgba(255, 138, 30, .18), rgba(201, 86, 10, .05) 60%, transparent); }
.bd-hubrep { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.bd-hubrep[hidden] { display: none; }
.bd-hubrep__scrim { position: fixed; inset: 0; background: rgba(10, 6, 4, .78); backdrop-filter: blur(6px); }
.bd-hubrep__card { position: relative; z-index: 1; width: min(640px, 94vw); max-height: calc(100dvh - 32px); overflow: auto; }
.bd-hubrep__x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 28px; line-height: 1; color: rgba(255, 243, 220, .7); cursor: pointer; }
.bd-hubrep__x:hover { color: #fff; }
.bd-page { --pink: #ffb238; --jam: #ff8a1e; --line: rgba(255, 178, 56, .16); }
.bd-page .jam-idx { color: #ffb238; }
.bd-page .jam-edition { background: linear-gradient(90deg, #ff8a1e, #ffc24a); box-shadow: 0 0 26px rgba(255, 138, 30, .55); }

.bd-hub .fh-mobile-play.jam-cta, .bd-hub .fh-chat__form .jam-cta { color: #0a0604; }

.bd-nav .nav__links { display: flex !important; }
.bd-hub .fh-play.bd-solo { display: block; }
.bd-hub .bd-tgjoin { display: inline-flex; margin-top: 18px; color: #0a0604; }
.bd-tip { position: absolute; left: 50%; top: 20%; transform: translate(-50%, 8px); margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(20, 10, 4, .62); color: #fff3dc; font-size: 12px; letter-spacing: .08em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease; z-index: 6; }
.bd-tip.is-on { opacity: 1; transform: translate(-50%, 0); }
