/* Scoped to ChemLabBG: native Ultimate Member form and CAPTCHA markup stays intact. */
.clbg-auth-layout,.clbg-dashboard,.clbg-logout,.clbg-lesson,.clbg-auth-buttons{--clbg-ink:#14362c;--clbg-green:#176e50;--clbg-soft:#edf5ec;--clbg-line:#dce8dd;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--clbg-ink);box-sizing:border-box}
.clbg-auth-layout *,.clbg-dashboard *,.clbg-logout *{box-sizing:border-box}
.clbg-auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:1080px;margin:40px auto 64px;background:#fff;border:1px solid var(--clbg-line);border-radius:28px;box-shadow:0 24px 70px #173c2510;overflow:hidden}
.clbg-kicker{font-size:10px;font-weight:800;letter-spacing:2px;line-height:1.6;display:block}
.clbg-auth-story{background:#e9f2e6;padding:46px 40px;position:relative;display:flex;flex-direction:column;justify-content:center;min-height:580px;isolation:isolate;overflow:hidden}
.clbg-auth-story:after{content:none;display:none}
.clbg-story-art{width:116px;height:116px;display:grid;place-items:center;font-size:64px;background:#f7fbf2;border:1px solid #d4e2cb;border-radius:28px;margin:46px 0 25px;transform:rotate(-7deg);box-shadow:8px 9px 0 #d3e4c6;color:#37794d}
.clbg-auth-story h1{font-size:clamp(30px,3vw,44px);line-height:1.12;letter-spacing:-1.7px;margin:0 0 18px;font-weight:850;max-width:370px;color:#193d2e}
.clbg-auth-story p{font-size:16px;line-height:1.7;max-width:320px;color:#506b57;margin:0}
.clbg-story-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:34px}.clbg-story-chips span{font-size:11px;font-weight:700;border:1px solid #cdddca;background:#f4f8ed;padding:9px 11px;border-radius:99px}
.clbg-auth-form{padding:55px 38px;min-width:0;align-self:center}.clbg-auth-form h2{font-size:28px;line-height:1.2;letter-spacing:-1px;margin:12px 0;color:#173e2d}.clbg-intro{font-size:14px;color:#6a7b6e;line-height:1.6;margin:0 0 28px}
.clbg-auth-form .um{width:100%!important;max-width:none!important;margin:0!important;opacity:1}.clbg-auth-form .um-form{margin:0}.clbg-auth-form .um-field{padding-top:15px}.clbg-auth-form .um-field-label label{font-size:13px!important;color:#244933!important;font-weight:700!important}
.clbg-auth-form .um input[type=text],.clbg-auth-form .um input[type=password],.clbg-auth-form .um input[type=email],.clbg-auth-form .um input[type=tel],.clbg-auth-form .um textarea{border:1px solid #d7e2d6!important;border-radius:11px!important;background:#fafcf8!important;color:#193c2c!important;min-height:48px;padding:12px 14px!important;box-shadow:none!important;font-size:15px!important}
.clbg-auth-form .um input:focus,.clbg-auth-form .um textarea:focus{border-color:#277d55!important;outline:3px solid #b9dfc066!important;outline-offset:1px}.clbg-auth-form .um .um-button{border-radius:11px!important;font-weight:750!important;min-height:46px;box-shadow:none!important;text-decoration:none!important}
.clbg-auth-form .um input[type=submit].um-button,.clbg-auth-form .um a.um-button:not(.um-alt){background:#176e50!important;color:#fff!important;border:1px solid #176e50!important}.clbg-auth-form .um .um-button.um-alt{background:#edf4e9!important;color:#315d3d!important}.clbg-auth-form .um a.um-link-alt{color:#386b4c!important;font-size:13px!important}
.clbg-form-switch{border-top:1px solid #e6ece3;margin-top:28px;padding-top:22px;font-size:13px;color:#667a69;text-align:center}.clbg-form-switch a{color:#176e50;font-weight:800;text-underline-offset:4px}
.clbg-auth-buttons,.clbg-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.clbg-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#176e50;color:#fff!important;border:1px solid #176e50;border-radius:12px;padding:12px 19px;font:700 13px/1.4 Inter,system-ui,sans-serif;text-decoration:none!important;cursor:pointer;min-height:44px;transition:background .18s,transform .18s,box-shadow .18s}.clbg-btn:hover{background:#10543c;box-shadow:0 6px 18px #14583420;transform:translateY(-1px)}.clbg-secondary{background:#f4f8ef;color:#27553b!important;border-color:#d3e0ce}.clbg-secondary:hover{background:#e6efdf}.clbg-btn:focus-visible,.clbg-settings:focus-visible{outline:3px solid #8dbf72;outline-offset:4px}.clbg-btn:disabled{background:#e9f2e5;color:#3d6a48!important;border-color:#d3e1cc;cursor:default;box-shadow:none;transform:none}
.clbg-shell{padding:40px 20px;min-height:65vh;background:#f5f8f0}.clbg-logout{max-width:580px;margin:30px auto;background:white;border:1px solid #dfe8d8;border-radius:26px;text-align:center;padding:48px 36px;box-shadow:0 20px 60px #254c2b09}.clbg-big-icon{display:grid;place-items:center;width:76px;height:76px;margin:32px auto;background:#e8f1df;border:1px solid #d8e6ca;border-radius:22px;font-size:36px;color:#397346}.clbg-logout h1{font-size:31px;line-height:1.15;letter-spacing:-1px;margin:0 0 18px}.clbg-logout p{font-size:14px;line-height:1.8;color:#6b7d65;margin:0 auto 28px;max-width:380px}.clbg-logout .clbg-actions{justify-content:center}.clbg-lesson{margin:24px 0;padding:20px;border:1px solid #dbe7d3;border-radius:15px;background:#f6f9f1}.clbg-lesson p{font-size:13px;margin:10px 0 0;color:#48663b}.clbg-notice{padding:20px;background:#f0f6e9;border-radius:14px}
/* XP + leaderboard. Unique selectors prevent theme typography from taking over. */
section.clbg-dashboard{box-sizing:border-box!important;max-width:1120px!important;margin:28px auto 48px!important;padding:26px!important;border:1px solid #e1e8f2!important;border-radius:25px!important;background:#f8faff!important;color:#1c2f4b!important;box-shadow:0 20px 65px #223c6009!important;font:400 14px/1.5 Inter,system-ui,-apple-system,sans-serif!important}
.clbg-dashboard *{box-sizing:border-box!important}
.clbg-dashboard :is(h1,h2,p){font-family:Inter,system-ui,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;margin:0!important;padding:0!important}
.clbg-dashboard a{text-decoration:none!important}
.clbg-dashboard .clbg-profile-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;margin:0 0 27px!important;background:transparent!important;padding:0!important}
.clbg-dashboard .clbg-profile-identity{display:flex!important;align-items:center!important;gap:17px!important;min-width:0!important}
.clbg-dashboard .clbg-avatar{flex-shrink:0!important;width:64px!important;height:64px!important}
.clbg-dashboard .clbg-avatar img{display:block!important;width:64px!important;height:64px!important;border-radius:20px!important;border:4px solid #fff!important;margin:0!important;box-shadow:0 3px 14px #2a47781a!important}
.clbg-dashboard .clbg-eyebrow{font:750 9px/1.6 Inter,system-ui,sans-serif!important;letter-spacing:1.7px!important;color:#8190aa!important;display:block!important}
.clbg-dashboard .clbg-profile-identity h1{font-size:clamp(21px,2.5vw,29px)!important;line-height:1.25!important;font-weight:800!important;color:#172c49!important;letter-spacing:-.8px!important;margin:5px 0!important;overflow-wrap:anywhere!important}
.clbg-dashboard .clbg-profile-identity p{font-size:12px!important;line-height:1.6!important;font-weight:400!important;color:#7d8ba1!important}
.clbg-dashboard .clbg-settings{flex-shrink:0!important;font:650 12px/1.5 Inter,system-ui,sans-serif!important;color:#516782!important;background:#fff!important;border:1px solid #dfe6f0!important;border-radius:11px!important;padding:10px 15px!important}
.clbg-dashboard .clbg-dash-grid{display:grid!important;grid-template-columns:minmax(260px,.85fr) minmax(0,1.35fr)!important;align-items:start!important;gap:22px!important}
.clbg-dashboard .clbg-dash-side{display:grid!important;gap:18px!important;min-width:0!important}
.clbg-dashboard .clbg-total-card{position:relative!important;overflow:hidden!important;isolation:isolate!important;background:#163971!important;border:1px solid #1a4589!important;border-radius:20px!important;padding:28px!important;box-shadow:0 12px 24px #193c7220!important;color:white!important}
.clbg-dashboard .clbg-total-card .clbg-eyebrow{color:#a9c6f4!important}
.clbg-dashboard .clbg-total-card>strong{display:flex!important;align-items:baseline!important;gap:10px!important;font:800 clamp(44px,5vw,66px)/1.1 Inter,system-ui,sans-serif!important;letter-spacing:-3px!important;margin:22px 0 24px!important;color:white!important;overflow-wrap:anywhere!important}
.clbg-dashboard .clbg-total-card>strong small{font:750 14px/1 Inter,system-ui,sans-serif!important;letter-spacing:1px!important;color:#99baf4!important}
.clbg-dashboard .clbg-total-rank{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border-top:1px solid #ffffff25!important;padding-top:18px!important;font-size:12px!important;color:#b9ccef!important}
.clbg-dashboard .clbg-total-rank b{font-size:22px!important;color:#fff!important}
.clbg-dashboard .clbg-xp-decoration{position:absolute!important;z-index:-1!important;right:9px!important;top:8px!important;font-size:160px!important;line-height:1!important;color:#ffffff08!important;transform:rotate(12deg)!important}
.clbg-dashboard .clbg-sources{padding:22px!important;border:1px solid #e3e9f3!important;border-radius:18px!important;background:#fff!important}
.clbg-dashboard .clbg-sources h2{font-size:16px!important;line-height:1.4!important;font-weight:750!important;color:#233c60!important;margin-bottom:8px!important}
.clbg-dashboard .clbg-source{display:flex!important;align-items:center!important;gap:12px!important;padding:16px 0!important;border-bottom:1px solid #edf0f6!important}
.clbg-dashboard .clbg-source:last-child{border-bottom:0!important;padding-bottom:0!important}
.clbg-dashboard .clbg-source>span{width:37px!important;height:37px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:#edf3ff!important;color:#4e76ba!important;font:600 22px/1 system-ui!important;flex-shrink:0!important}
.clbg-dashboard .clbg-source>div{flex:1!important}
.clbg-dashboard .clbg-source strong{display:block!important;font:650 12px/1.5 Inter,system-ui,sans-serif!important;color:#334967!important}
.clbg-dashboard .clbg-source small{display:block!important;font:400 10px/1.6 Inter,system-ui,sans-serif!important;color:#8a97aa!important;margin-top:3px!important}
.clbg-dashboard .clbg-source>b{font:750 16px/1.4 Inter,system-ui,sans-serif!important;color:#233d64!important;white-space:nowrap!important}
.clbg-dashboard .clbg-source>b small{display:inline!important;font-size:9px!important}
.clbg-dashboard .clbg-study-link{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:21px 23px!important;background:#eaf0ff!important;border:1px solid #dae4fc!important;border-radius:16px!important;color:#697faa!important;font-size:11px!important}
.clbg-dashboard .clbg-study-link strong{display:block!important;font:750 15px/1.6 Inter,system-ui,sans-serif!important;color:#2d5196!important;margin-top:4px!important}
.clbg-dashboard .clbg-study-link>b{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:50%!important;background:#fff!important;color:#3f67b7!important;font-size:22px!important}
.clbg-dashboard .clbg-board{background:#fff!important;border:1px solid #e1e8f2!important;border-radius:20px!important;overflow:hidden!important;min-width:0!important}
.clbg-dashboard .clbg-board-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;padding:25px 24px 22px!important}
.clbg-dashboard .clbg-board h2{font-size:25px!important;line-height:1.3!important;color:#193252!important;font-weight:800!important;letter-spacing:-.7px!important;margin-top:7px!important}
.clbg-dashboard .clbg-tag{font:750 8px/1.5 Inter,system-ui,sans-serif!important;letter-spacing:.8px!important;white-space:nowrap!important;color:#7388a6!important;border:1px solid #e1e8f0!important;padding:7px 9px!important;border-radius:7px!important}
.clbg-dashboard .clbg-board-labels{display:flex!important;justify-content:space-between!important;gap:20px!important;margin:0 24px!important;padding-bottom:12px!important;color:#8b9ab0!important;letter-spacing:1px!important;font:700 8px/1.5 Inter,system-ui,sans-serif!important;border-bottom:1px solid #edf1f6!important}
.clbg-dashboard .clbg-board-row{display:flex!important;align-items:center!important;gap:12px!important;padding:16px 22px!important;border-bottom:1px solid #f0f3f8!important;min-height:72px!important}
.clbg-dashboard .clbg-board-row.is-you{background:#edf4ff!important;border-left:3px solid #4e7fe3!important;padding-left:19px!important}
.clbg-dashboard .clbg-place{width:22px!important;flex-shrink:0!important;text-align:center!important;font:750 12px/1.5 Inter,system-ui,sans-serif!important;color:#9aa6b7!important}
.clbg-dashboard .clbg-place.place-1{color:#bc8b29!important}.clbg-dashboard .clbg-place.place-2{color:#7a8da9!important}.clbg-dashboard .clbg-place.place-3{color:#b48668!important}
.clbg-dashboard .clbg-player-icon{width:35px!important;height:35px!important;border:1px solid #e2e9f7!important;border-radius:12px!important;background:#f0f4fc!important;display:grid!important;place-items:center!important;color:#7892b9!important;font:700 11px/1 Inter,system-ui,sans-serif!important;flex-shrink:0!important}
.clbg-dashboard .clbg-board-row>strong{font:650 13px/1.5 Inter,system-ui,sans-serif!important;color:#3c5270!important;flex:1!important;overflow-wrap:anywhere!important}
.clbg-dashboard .clbg-board-row>strong small{display:block!important;font-size:7px!important;letter-spacing:.9px!important;color:#5c82c7!important;margin-top:3px!important}
.clbg-dashboard .clbg-board-row>b{font:800 15px/1.4 Inter,system-ui,sans-serif!important;color:#334e74!important;white-space:nowrap!important}
.clbg-dashboard .clbg-board-row>b small{font-size:8px!important;color:#8da0bb!important;font-weight:600!important}
.clbg-dashboard .clbg-board-note{font-size:9px!important;line-height:1.8!important;color:#94a1b3!important;padding:16px 24px!important}
.clbg-dashboard .clbg-board-empty{padding:46px 25px!important;font-size:14px!important;line-height:1.8!important;color:#7b8ca4!important;text-align:center!important}
.clbg-dashboard .clbg-rules{margin-top:22px!important;border:1px solid #e3e9f2!important;border-radius:13px!important;background:#fff!important;padding:16px 20px!important}
.clbg-dashboard .clbg-rules summary{font:650 12px/1.5 Inter,system-ui,sans-serif!important;color:#647895!important;cursor:pointer!important;display:flex!important;justify-content:space-between!important;list-style:none!important}
.clbg-dashboard .clbg-rules p{font-size:12px!important;line-height:1.9!important;color:#8391a5!important;margin-top:15px!important}
.clbg-track{display:flex;align-items:center;gap:15px;padding:18px 20px;background:#f2f6ff;border:1px solid #dfe8fc;border-radius:14px;margin:24px 0;font:13px/1.5 Inter,system-ui,sans-serif;color:#365b93}.clbg-track-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e0eaff;font-size:23px}.clbg-track>div{flex:1}.clbg-track p{margin:4px 0 0!important;font-size:11px!important;color:#8a9bb6!important}.clbg-time-status{font-size:12px;font-weight:700;color:#4c70a8}.clbg-audio{padding:23px;background:#f4f7ff;border:1px solid #dfe7f6;border-radius:16px;margin:24px 0;color:#315282;font:13px/1.6 Inter,system-ui,sans-serif}.clbg-audio>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:17px}.clbg-audio>div span{font-size:11px;color:#7890b4}.clbg-audio audio{width:100%;display:block}.clbg-audio p{font-size:11px!important;color:#7e92b0!important;margin:14px 0 0!important}
.clbg-auth-layout .clbg-auth-story h1{font:800 clamp(30px,3vw,44px)/1.14 Inter,system-ui,sans-serif!important;letter-spacing:-1.3px!important;text-transform:none!important;color:#193d2e!important;margin:24px 0 18px!important}.clbg-auth-layout .clbg-auth-form h2{font:750 27px/1.25 Inter,system-ui,sans-serif!important;letter-spacing:-.7px!important;text-transform:none!important;color:#173e2d!important;margin:12px 0!important}
@media(max-width:800px){.clbg-auth-layout{grid-template-columns:1fr;margin:20px auto}.clbg-auth-story{min-height:auto;padding:30px}.clbg-story-art{display:none}.clbg-auth-story h1{margin-top:24px;max-width:none}.clbg-auth-form{padding:32px 26px}.clbg-dashboard .clbg-dash-grid{grid-template-columns:1fr!important}.clbg-dashboard .clbg-dash-side{grid-template-columns:1fr 1fr!important}.clbg-dashboard .clbg-study-link{grid-column:1/-1!important}}
@media(max-width:520px){section.clbg-dashboard{padding:16px!important;border-radius:18px!important;margin:16px auto!important}.clbg-dashboard .clbg-profile-head{flex-wrap:wrap!important;gap:16px!important}.clbg-dashboard .clbg-profile-identity{gap:12px!important}.clbg-dashboard .clbg-avatar,.clbg-dashboard .clbg-avatar img{width:52px!important;height:52px!important}.clbg-dashboard .clbg-dash-side{grid-template-columns:1fr!important}.clbg-dashboard .clbg-profile-identity p{font-size:11px!important}.clbg-dashboard .clbg-eyebrow{font-size:8px!important}.clbg-dashboard .clbg-board-heading{padding:20px 17px!important}.clbg-dashboard .clbg-board-row{padding:14px 15px!important;gap:9px!important}.clbg-dashboard .clbg-board-row.is-you{padding-left:12px!important}.clbg-dashboard .clbg-board-labels{margin:0 17px!important}.clbg-dashboard .clbg-total-card>strong{font-size:54px!important}.clbg-track{flex-wrap:wrap}.clbg-track .clbg-time-status{width:100%;padding-left:51px}.clbg-auth-form{padding:28px 18px}.clbg-logout{padding:30px 22px}}
@media(prefers-reduced-motion:reduce){.clbg-btn{transition:none}.clbg-btn:hover{transform:none}}
/* 2.1 resource details and leaderboard refinements */
.clbg-dashboard .clbg-profile-head{flex-wrap:wrap!important;gap:12px!important}.clbg-dashboard .clbg-profile-identity{margin-right:auto!important}
.clbg-dashboard .clbg-refresh{font:650 12px/1.5 Arial,sans-serif!important;border:1px solid #d9e4f5!important;color:#426baf!important;background:#eaf1ff!important;border-radius:11px!important;padding:10px 15px!important;cursor:pointer!important}
.clbg-dashboard .clbg-next-place{font:500 11px/1.7 Arial,sans-serif!important;color:#9bbceb!important;margin-top:12px!important}
.clbg-dashboard .clbg-own-rank{display:flex!important;gap:15px!important;align-items:center!important;padding:16px 24px!important;background:#eef4ff!important;color:#5576ac!important;font-size:12px!important}.clbg-dashboard .clbg-own-rank strong{margin-left:auto!important}
.clbg-dashboard .clbg-board-row:first-child{background:#fffcf3!important}.clbg-dashboard .clbg-board-row.is-you{background:#edf4ff!important}.clbg-dashboard .clbg-place.place-1{background:#fff0c2!important;border-radius:8px!important;padding:5px 0!important;color:#a67c22!important}
.clbg-dashboard .clbg-detail{margin-top:26px!important;background:#fff!important;border:1px solid #e0e7f2!important;border-radius:20px!important;overflow:hidden!important}
.clbg-dashboard .clbg-detail-head{display:flex!important;justify-content:space-between!important;gap:20px!important;align-items:center!important;padding:26px!important;background:#fcfdff!important}
.clbg-dashboard .clbg-detail-head h2{font:800 24px/1.3 Arial,sans-serif!important;letter-spacing:-.7px!important;color:#1a3558!important;margin:6px 0 8px!important}.clbg-dashboard .clbg-detail-head p{font:400 12px/1.6 Arial,sans-serif!important;color:#8393aa!important}
.clbg-dashboard .clbg-detail-count{font:650 11px/1.5 Arial,sans-serif!important;color:#6c83a5!important;white-space:nowrap!important;background:#edf3fc!important;padding:8px 11px!important;border-radius:9px!important}
.clbg-dashboard .clbg-detail-tools{padding:0 24px 18px!important;display:flex!important;justify-content:space-between!important;gap:15px!important;flex-wrap:wrap!important}
.clbg-dashboard .clbg-kind-filters{display:flex!important;gap:5px!important;padding:4px!important;background:#f0f4fa!important;border:1px solid #e6ecf4!important;border-radius:11px!important}
.clbg-dashboard .clbg-kind-filters button{font:650 11px/1.5 Arial,sans-serif!important;min-height:34px!important;border:0!important;border-radius:8px!important;padding:8px 13px!important;background:transparent!important;color:#7f90a8!important;cursor:pointer!important;box-shadow:none!important;letter-spacing:0!important;text-transform:none!important}
.clbg-dashboard .clbg-kind-filters button[aria-pressed=true]{background:#fff!important;color:#3465b8!important;box-shadow:0 2px 8px #264c8a10!important}
.clbg-dashboard .clbg-search{flex:0 1 270px!important;min-width:160px!important}.clbg-dashboard .clbg-search input{box-sizing:border-box!important;width:100%!important;min-height:43px!important;height:43px!important;border:1px solid #dfe7f2!important;border-radius:10px!important;background:#fff!important;color:#33537e!important;padding:10px 14px!important;font:400 12px/1.5 Arial,sans-serif!important;box-shadow:none!important}
.clbg-dashboard .clbg-detail-options{display:flex!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important;padding:13px 25px!important;border-top:1px solid #edf1f7!important;border-bottom:1px solid #edf1f7!important;background:#fafcff!important;font:400 10px/1.5 Arial,sans-serif!important;color:#8192aa!important}
.clbg-dashboard .clbg-detail-options label{display:flex!important;align-items:center!important;gap:7px!important;font-weight:400!important;font-size:10px!important;color:#8192aa!important}
.clbg-dashboard .clbg-detail-options select{height:31px!important;min-height:31px!important;font:600 10px/1.5 Arial,sans-serif!important;color:#547197!important;border:1px solid #e0e7f0!important;border-radius:7px!important;background-color:#fff!important;padding:4px 23px 4px 8px!important;max-width:170px!important;box-shadow:none!important}
.clbg-dashboard .clbg-result-count{margin-left:auto!important;font-size:10px!important;color:#8b9bb0!important}
.clbg-dashboard .clbg-resource{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;padding:22px 25px!important;border-bottom:1px solid #edf1f7!important;background:#fff!important}
.clbg-dashboard .clbg-resource:last-child{border-bottom:0!important}.clbg-dashboard .clbg-resource[hidden],.clbg-dashboard .clbg-detail-empty[hidden],.clbg-dashboard .clbg-load-more[hidden]{display:none!important}
.clbg-dashboard .clbg-resource-icon{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border-radius:13px!important;background:#edf3ff!important;color:#6384bd!important;font:500 25px/1 Arial,sans-serif!important}
.clbg-dashboard .clbg-resource-icon.resource-read{color:#4f9685!important;background:#edf7f3!important}.clbg-dashboard .clbg-resource-icon.resource-audio{color:#9672bc!important;background:#f4effa!important}
.clbg-dashboard .clbg-resource-label{display:flex!important;gap:9px!important;align-items:center!important;margin-bottom:7px!important;font:600 9px/1.4 Arial,sans-serif!important;color:#8c9bb0!important}
.clbg-dashboard .clbg-resource-label span:last-child{padding:3px 7px!important;border-radius:5px!important;background:#f1f4f9!important;color:#8c9bb0!important}.clbg-dashboard .clbg-resource-label .state-done{color:#498d78!important;background:#eaf6f1!important}.clbg-dashboard .clbg-resource-label .state-started{color:#ac8b3b!important;background:#faf4e4!important}
.clbg-dashboard .clbg-resource h3{font:700 14px/1.4 Arial,sans-serif!important;color:#2b466b!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 7px!important;overflow-wrap:anywhere!important}
.clbg-dashboard .clbg-resource-main p{font:400 10px/1.7 Arial,sans-serif!important;color:#8b9ab0!important}.clbg-dashboard .clbg-resource-main p b{font-weight:600!important;color:#6a81a4!important}
.clbg-dashboard .clbg-resource-bar{height:4px!important;background:#edf2f9!important;border-radius:99px!important;margin-top:11px!important;max-width:340px!important;overflow:hidden!important}.clbg-dashboard .clbg-resource-bar i{height:100%!important;display:block!important;background:#8aabe8!important;border-radius:99px!important}
.clbg-dashboard .clbg-resource-score{text-align:right!important;min-width:135px!important}.clbg-dashboard .clbg-resource-score strong{display:block!important;font:800 21px/1.4 Arial,sans-serif!important;color:#2a4e88!important;white-space:nowrap!important}.clbg-dashboard .clbg-resource-score strong small{font:500 11px/1.4 Arial,sans-serif!important;color:#93a3ba!important}
.clbg-dashboard .clbg-resource-score>span{display:block!important;font:400 9px/1.6 Arial,sans-serif!important;color:#8b9db5!important;margin:3px 0 8px!important}.clbg-dashboard .clbg-resource-score a{font:650 10px/1.5 Arial,sans-serif!important;color:#527cbe!important;padding:5px 0!important}
.clbg-dashboard .clbg-detail-empty{padding:30px 25px!important;font:400 13px/1.8 Arial,sans-serif!important;color:#8395ad!important;text-align:center!important}
.clbg-dashboard .clbg-load-more{display:block!important;margin:18px auto!important;font:650 11px/1.5 Arial,sans-serif!important;color:#5a7daf!important;border:1px solid #dce6f5!important;background:#f6f9fe!important;padding:10px 23px!important;border-radius:9px!important;cursor:pointer!important}
.clbg-dashboard .clbg-diagnostics{margin-top:20px!important;padding:15px 20px!important;border:1px dashed #d6e1f0!important;border-radius:12px!important;font:400 11px/1.7 Arial,sans-serif!important;color:#8697af!important}.clbg-dashboard .clbg-diagnostics summary{cursor:pointer!important}.clbg-dashboard .clbg-diagnostics p{font-size:11px!important;line-height:1.9!important;color:#7d90ab!important;margin-top:12px!important}
.clbg-dashboard button:focus-visible,.clbg-dashboard input:focus-visible,.clbg-dashboard select:focus-visible{outline:3px solid #90b4f2!important;outline-offset:3px!important}
@media(max-width:650px){.clbg-dashboard .clbg-detail-head{padding:21px 17px!important;gap:12px!important}.clbg-dashboard .clbg-detail-head h2{font-size:21px!important}.clbg-dashboard .clbg-detail-tools{padding:0 16px 16px!important}.clbg-dashboard .clbg-search{flex-basis:100%!important}.clbg-dashboard .clbg-kind-filters{width:100%!important}.clbg-dashboard .clbg-kind-filters button{flex:1!important;padding:8px 9px!important}.clbg-dashboard .clbg-detail-options{padding:12px 16px!important;gap:10px!important}.clbg-dashboard .clbg-result-count{margin-left:0!important;width:100%!important}.clbg-dashboard .clbg-resource{padding:20px 16px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:12px!important}.clbg-dashboard .clbg-resource-icon{width:34px!important;height:34px!important;font-size:21px!important}.clbg-dashboard .clbg-resource-score{grid-column:2!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;text-align:left!important}.clbg-dashboard .clbg-resource-score strong{font-size:19px!important}.clbg-dashboard .clbg-resource-score>span{margin:0!important}.clbg-dashboard .clbg-resource-score a{margin-left:auto!important}.clbg-dashboard .clbg-detail-count{font-size:9px!important}.clbg-dashboard .clbg-profile-head .clbg-settings{margin-left:auto!important}}

.clbg-dashboard .clbg-resource .clbg-resource-label .state-done{color:#498d78!important;background:#eaf6f1!important}.clbg-dashboard .clbg-resource .clbg-resource-label .state-started{color:#a48232!important;background:#faf4e4!important}
.clbg-xp-toast{position:fixed!important;right:24px!important;bottom:24px!important;z-index:2147483000!important;display:flex!important;align-items:center!important;gap:15px!important;box-sizing:border-box!important;width:min(430px,calc(100vw - 32px))!important;padding:20px!important;background:#153b70!important;color:#fff!important;border:1px solid #4674b5!important;border-radius:18px!important;box-shadow:0 15px 50px #142d4d40!important;font:400 13px/1.6 Arial,sans-serif!important}.clbg-xp-toast[hidden]{display:none!important}.clbg-xp-toast>span{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;flex-shrink:0!important;background:#315b92!important;border-radius:14px!important;color:#ffe8a2!important;font-size:29px!important}.clbg-xp-toast strong{display:block!important;font:750 17px/1.4 Arial,sans-serif!important;color:#fff!important}.clbg-xp-toast p{font:400 12px/1.7 Arial,sans-serif!important;color:#b8ccea!important;margin:5px 0 0!important}.clbg-xp-toast button{align-self:flex-start!important;background:transparent!important;border:0!important;color:#c2d5ef!important;cursor:pointer!important;font-size:22px!important;padding:0 5px!important;min-width:26px!important;line-height:1.2!important}.clbg-xp-toast button:focus-visible{outline:2px solid #fff!important;outline-offset:3px!important}#clLesson .clbg-track{margin:0 0 22px!important} @media(max-width:520px){.clbg-xp-toast{right:16px!important;bottom:16px!important;padding:16px!important;gap:12px!important}}
.clbg-xp-toast.is-test{background:linear-gradient(120deg,#153b70,#1f4c86)!important;border-color:#9da977!important;animation:clbg-toast-in .25s ease-out}.clbg-xp-toast.is-test>span{color:#ffe7a4!important;background:#ffffff14!important;box-shadow:inset 0 0 0 1px #ffe7a440!important}.clbg-xp-toast.is-test strong{color:#ffedb7!important;font-size:20px!important}@keyframes clbg-toast-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.clbg-xp-toast.is-test{animation:none!important}}

/* Keep theme font settings from spreading letters or changing form headings. */
.clbg-auth-layout .clbg-auth-form{position:relative;z-index:1;background:#fff}
.clbg-auth-layout .clbg-auth-form .um :is(input,button,a,label,.um-field-checkbox-option){font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif!important;letter-spacing:normal!important;text-transform:none!important}
.clbg-auth-layout .clbg-auth-form .um :is(input[type=submit],a.um-button){font-size:14px!important;font-weight:700!important;line-height:1.5!important}

/* Profile 2.2.19: compact learning dashboard, visible real account usernames. */
.clbg-dashboard{--clbg-profile-green:#137758;max-width:1280px!important;margin:24px auto!important;padding:26px!important;border:1px solid #e1e9e5!important;border-radius:22px!important;background:#f5f8f6!important;color:#213d33!important;font-family:"Segoe UI",Arial,sans-serif!important}
.clbg-dashboard .clbg-eyebrow{color:#71867a!important;letter-spacing:1.2px!important;font-size:9px!important;font-weight:750!important}
.clbg-dashboard .clbg-profile-head{padding:6px 0 24px!important;border-bottom:1px solid #e0e8e2;margin-bottom:24px!important;gap:12px!important}
.clbg-dashboard .clbg-profile-head h1{font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.8px!important;color:#183e2d!important;overflow-wrap:anywhere}
.clbg-dashboard .clbg-profile-head p{font-size:13px!important;color:#75867c!important}
.clbg-dashboard .clbg-avatar{border-radius:18px!important;box-shadow:none!important;border:3px solid white!important;width:66px!important;height:66px!important;overflow:hidden}
.clbg-dashboard .clbg-avatar img{width:100%!important;height:100%!important;object-fit:cover}
.clbg-dashboard .clbg-settings,.clbg-dashboard .clbg-refresh{font-size:12px!important;letter-spacing:0!important;min-height:39px!important;padding:9px 14px!important;border:1px solid #d6e3da!important;border-radius:10px!important;background:white!important;color:#28573e!important;box-shadow:none!important}
.clbg-dashboard .clbg-refresh{background:#137758!important;color:white!important;border-color:#137758!important}
.clbg-dashboard .clbg-dash-grid{grid-template-columns:minmax(270px,.85fr) minmax(0,1.5fr)!important;gap:20px!important;align-items:start!important}
.clbg-dashboard .clbg-total-card{padding:25px!important;border-radius:17px!important;background:linear-gradient(125deg,#153f31,#197656)!important;box-shadow:0 8px 20px rgba(20,80,54,.09)!important;min-height:215px!important}
.clbg-dashboard .clbg-total-card .clbg-eyebrow{color:#b6dac5!important}
.clbg-dashboard .clbg-total-card>strong{font-size:66px!important;letter-spacing:-2px!important;line-height:1.15!important;color:#fff!important;margin:16px 0!important}
.clbg-dashboard .clbg-total-card>strong small{font-size:15px!important;letter-spacing:0!important;color:#c0e0ce!important}
.clbg-dashboard .clbg-total-rank{border-top-color:rgba(255,255,255,.18)!important;color:#d7ebdf!important;padding-top:15px!important}
.clbg-dashboard .clbg-xp-decoration{display:none!important}
.clbg-dashboard .clbg-sources,.clbg-dashboard .clbg-board,.clbg-dashboard .clbg-detail{background:white!important;border:1px solid #dfe8e1!important;border-radius:17px!important;box-shadow:none!important}
.clbg-dashboard .clbg-sources{padding:18px!important}
.clbg-dashboard h2{color:#234331!important;letter-spacing:-.5px!important}
.clbg-dashboard .clbg-sources h2{font-size:17px!important;margin-bottom:10px!important}
.clbg-dashboard .clbg-source{padding:13px 0!important;border-color:#edf1ed!important}
.clbg-dashboard .clbg-source>span{background:#eef6ef!important;color:#23744d!important;border-radius:10px!important}
.clbg-dashboard .clbg-source strong{color:#365742!important}
.clbg-dashboard .clbg-source b{color:#1d5d3b!important}
.clbg-dashboard .clbg-study-link{background:#e8f3eb!important;border:1px solid #d5e7db!important;border-radius:13px!important;padding:16px 19px!important;color:#286044!important}
.clbg-dashboard .clbg-study-link strong{color:#22583b!important;font-size:15px!important}
.clbg-dashboard .clbg-board-heading{padding:23px 24px 18px!important;gap:10px!important}
.clbg-dashboard .clbg-board-heading h2{font-size:26px!important;line-height:1.25!important;margin-top:5px!important}
.clbg-dashboard .clbg-tag{background:#f4f7f4!important;border:1px solid #e3eae4!important;color:#718176!important;letter-spacing:.5px!important;font-size:8px!important;padding:7px 9px!important;border-radius:7px!important}
.clbg-dashboard .clbg-board-labels{padding:10px 24px!important;color:#89958a!important;letter-spacing:.8px!important}
.clbg-dashboard .clbg-board-row{padding:15px 22px!important;min-height:73px!important;gap:12px!important;border-bottom:1px solid #edf2ed!important;grid-template-columns:28px 36px minmax(0,1fr) auto!important}
.clbg-dashboard .clbg-board-row>strong{font-size:14px!important;color:#294b36!important;overflow-wrap:anywhere;min-width:0}
.clbg-dashboard .clbg-board-row>strong small{color:#458c65!important;font-size:8px!important;letter-spacing:.7px!important}
.clbg-dashboard .clbg-board-row>b{font-size:18px!important;color:#205c3a!important}
.clbg-dashboard .clbg-player-icon{width:36px!important;height:36px!important;border-radius:11px!important;background:#f1f6f0!important;border:1px solid #e2eadf!important;color:#4b7558!important;font-size:15px!important;font-weight:800!important}
.clbg-dashboard .clbg-board-row.is-you{background:#edf7ef!important;border-left:3px solid #269260!important}
.clbg-dashboard .clbg-place{font-weight:800!important;color:#829086!important}
.clbg-dashboard .clbg-place.place-1{background:#fff2c7!important;color:#a77711!important;border-radius:8px!important}
.clbg-dashboard .clbg-place.place-2{background:#edf1f3!important;color:#6b7c89!important;border-radius:8px!important}
.clbg-dashboard .clbg-place.place-3{background:#f9ece1!important;color:#ab7145!important;border-radius:8px!important}
.clbg-dashboard .clbg-board-note{padding:15px 22px!important;margin:0!important;font-size:10px!important;color:#8b988e!important}
.clbg-dashboard .clbg-detail{margin-top:24px!important;padding:22px!important}
.clbg-dashboard .clbg-resource{border-color:#e1e9e2!important;border-radius:12px!important;box-shadow:none!important}
.clbg-dashboard .clbg-rules{margin-top:18px!important;background:white!important;border:1px solid #dfe8e1!important;border-radius:12px!important;color:#45634d!important}
@media(max-width:800px){.clbg-dashboard{margin:12px auto!important;padding:16px!important;border-radius:16px!important}.clbg-dashboard .clbg-dash-grid{grid-template-columns:1fr!important}.clbg-dashboard .clbg-profile-head{flex-wrap:wrap!important}.clbg-dashboard .clbg-profile-identity{flex-basis:100%!important}.clbg-dashboard .clbg-board-heading{padding:19px 17px!important}.clbg-dashboard .clbg-board-row{padding:13px 15px!important;gap:9px!important}.clbg-dashboard .clbg-detail{padding:16px!important}}

/* Full-width profile and game-inspired XP guide. */
body:has(.clbg-dashboard) .um-profile,body:has(.clbg-dashboard) .um-profile-body,body:has(.clbg-dashboard) .um-profile-body.main,body:has(.clbg-dashboard) .um-row{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important}
.clbg-dashboard{width:100%!important;max-width:none!important;margin:0 auto!important;border:0!important;border-radius:0!important;padding:clamp(18px,3vw,52px)!important;background:#f3f7f4!important}
.clbg-dashboard .clbg-dash-grid{grid-template-columns:minmax(300px,.8fr) minmax(0,1.6fr)!important}
.clbg-dashboard .clbg-total-rank b{font-size:clamp(14px,1.6vw,22px)!important}
.clbg-xp-guide{margin-top:24px;padding:26px;background:white;border:1px solid #dce8df;border-radius:18px}
.clbg-guide-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.clbg-guide-heading h2{font-size:28px;margin:6px 0 8px}.clbg-guide-heading p{font-size:13px;color:#7b8e80;margin:0}
.clbg-guide-badge{font-size:9px;font-weight:800;letter-spacing:1px;padding:8px 10px;border-radius:8px;background:#eef6ee;color:#52765a;white-space:nowrap}
.clbg-missions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.clbg-missions>a,.clbg-missions>div{position:relative;display:block;text-decoration:none!important;padding:22px;background:#f5faf5;border:1px solid #dcebdd;border-radius:15px;color:#294d36}
.clbg-missions>a:hover{border-color:#74b38a;background:#edf7ee}.clbg-mission-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:white;border:1px solid #ddeadd;color:#27834e;font-size:22px;margin-bottom:18px}
.clbg-missions b{position:absolute;top:25px;right:20px;font-size:15px;color:#27814a}.clbg-missions h3{font-size:19px!important;color:#274d35!important;margin:0 0 10px!important}.clbg-missions p{font-size:13px;line-height:1.75;color:#718476;margin:0 0 16px}.clbg-missions strong{font-size:12px;color:#27814a}.clbg-mission-soon{background:#f7f8f6!important}.clbg-mission-soon b{font-size:10px;color:#899487}
.clbg-xp-example{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px;padding:16px;background:#fbf8ee;border:1px solid #eee5cd;border-radius:11px;font-size:12px;color:#7e7151}.clbg-xp-example span{padding:7px 10px;background:white;border-radius:7px}.clbg-xp-example b{margin-left:8px;color:#4e7c45}
.clbg-guide-faq{border-top:1px solid #e7eee6;margin-top:16px;padding-top:15px}.clbg-guide-faq summary{font-weight:700;font-size:13px;cursor:pointer;color:#3c6147}.clbg-guide-faq p{font-size:13px;line-height:1.8;color:#718476}
body.clbg-account-page .um-account{max-width:1450px!important;margin:24px auto!important;padding:28px!important;background:#f5f8f5!important;border:1px solid #dfe8e1;border-radius:19px;color:#32503c}
body.clbg-account-page .um-account-side{background:white;border:1px solid #e2eae3;border-radius:14px;padding:18px!important}
body.clbg-account-page .um-account-main{background:white;border:1px solid #e2eae3;border-radius:14px;padding:25px!important;box-sizing:border-box}
body.clbg-account-page .um-account input{min-height:43px;border-radius:9px!important;border:1px solid #d9e3da!important;background:#fcfdfb!important;box-shadow:none!important}
body.clbg-account-page .um-account input[type=submit]{background:#147650!important;color:white!important;border-color:#147650!important;padding:10px 20px!important;letter-spacing:0!important}
body.clbg-account-page .um-account-side li a{background:white!important;border-radius:8px;color:#49634e!important}body.clbg-account-page .um-account-side li a.current{background:#edf7ee!important;color:#196c43!important}
@media(max-width:800px){.clbg-dashboard .clbg-dash-grid{grid-template-columns:1fr!important}.clbg-missions{grid-template-columns:1fr}.clbg-xp-guide{padding:18px}.clbg-guide-heading{align-items:flex-start}.clbg-guide-heading h2{font-size:23px}.clbg-guide-badge{display:none}body.clbg-account-page .um-account{padding:12px!important}body.clbg-account-page .um-account-main{padding:16px!important}}

/* 2.2.21: viewport-wide profile, independent of Ultimate Member/theme columns. */
body:has(.clbg-dashboard) #primary,body:has(.clbg-dashboard) .entry-content,body:has(.clbg-dashboard) .um-profile-body{overflow:visible!important}
html body .clbg-dashboard{position:relative!important;left:auto!important;width:calc(100vw - 24px)!important;max-width:none!important;margin:0 calc(50% - 50vw + 12px)!important;padding:32px clamp(18px,3vw,58px)!important;border:0!important;border-radius:0!important;background:#f1f5f8!important;box-shadow:none!important;box-sizing:border-box!important;float:none!important}
html body .clbg-dashboard,html body .clbg-dashboard button,html body .clbg-dashboard input,html body .clbg-dashboard select,html body .clbg-dashboard h1,html body .clbg-dashboard h2,html body .clbg-dashboard h3,html body .clbg-dashboard strong,html body .clbg-dashboard b{font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-style:normal!important;letter-spacing:normal!important}
html body .clbg-dashboard .clbg-profile-head{padding:0 0 23px!important;margin-bottom:24px!important;border-bottom:1px solid #dce4ea!important}
html body .clbg-dashboard .clbg-profile-head h1{font-size:36px!important;line-height:1.2!important;color:#172c3c!important;font-weight:800!important}
html body .clbg-dashboard .clbg-eyebrow{font-size:10px!important;letter-spacing:1.1px!important;color:#7d909c!important}
html body .clbg-dashboard .clbg-dash-grid{display:grid!important;grid-template-columns:minmax(230px,.85fr) minmax(260px,1fr) minmax(340px,1.5fr)!important;gap:20px!important;align-items:start!important}
html body .clbg-dashboard .clbg-dash-side{display:contents!important}
html body .clbg-dashboard .clbg-total-card{grid-column:1;grid-row:1;padding:27px!important;min-height:290px!important;background:linear-gradient(140deg,#162e47,#255b88)!important;border:0!important;border-radius:19px!important;box-shadow:0 10px 24px rgba(26,60,94,.12)!important}
html body .clbg-dashboard .clbg-total-card .clbg-eyebrow{color:#a4c5df!important}
html body .clbg-dashboard .clbg-total-card>strong{font-size:76px!important;line-height:1.15!important;margin:22px 0!important;color:white!important}
html body .clbg-dashboard .clbg-total-card>strong small{color:#adcde5!important}
html body .clbg-dashboard .clbg-sources{grid-column:2;grid-row:1;min-height:290px!important;padding:24px!important;background:white!important;border-color:#dfe7ec!important;border-radius:19px!important}
html body .clbg-dashboard .clbg-sources h2{font-size:20px!important;color:#263f50!important}
html body .clbg-dashboard .clbg-source{padding:15px 0!important}
html body .clbg-dashboard .clbg-source strong{font-size:13px!important;color:#365365!important}
html body .clbg-dashboard .clbg-source>span{background:#edf4fa!important;color:#3b719c!important}
html body .clbg-dashboard .clbg-board{grid-column:3;grid-row:1/3;background:white!important;border-color:#dfe7ec!important;border-radius:19px!important;overflow:hidden}
html body .clbg-dashboard .clbg-board-heading h2{font-size:26px!important;color:#213e51!important;font-weight:800!important}
html body .clbg-dashboard .clbg-board-row>strong{color:#28475c!important;font-size:14px!important}
html body .clbg-dashboard .clbg-board-row.is-you{background:#eef5fc!important;border-left-color:#3a88bf!important}
html body .clbg-dashboard .clbg-player-icon{background:#edf4fa!important;border-color:#deebf4!important;color:#487998!important}
html body .clbg-dashboard .clbg-study-link{grid-column:1/3;grid-row:2;margin:0!important;padding:17px 22px!important;border:1px solid #d7e5f0!important;background:#e6f0f8!important;border-radius:12px!important}
html body .clbg-dashboard .clbg-study-link strong{color:#285c83!important}
html body .clbg-dashboard .clbg-xp-guide{margin-top:24px!important;padding:26px!important;border-color:#dfe7ec!important;border-radius:19px!important;background:#fff!important}
html body .clbg-dashboard .clbg-guide-heading h2{font-size:30px!important;color:#213d50!important;font-weight:800!important}
html body .clbg-dashboard .clbg-missions{gap:18px!important}
html body .clbg-dashboard .clbg-missions>a,html body .clbg-dashboard .clbg-missions>div{padding:23px!important;min-height:235px!important;background:#f3f8fc!important;border:1px solid #dde9f2!important;border-radius:15px!important}
html body .clbg-dashboard .clbg-missions>a:nth-child(2){background:#f1f8f4!important;border-color:#dcebe2!important}
html body .clbg-dashboard .clbg-mission-soon{background:#f7f7f8!important;border-color:#e6e7e9!important}
html body .clbg-dashboard .clbg-missions h3{font-size:21px!important;font-weight:750!important;color:#27495f!important}
html body .clbg-dashboard .clbg-missions p{font-size:14px!important;line-height:1.7!important}
html body .clbg-dashboard .clbg-detail{margin-top:24px!important;padding:25px!important;border-color:#dfe7ec!important;background:white!important;border-radius:19px!important}
html body .clbg-dashboard .clbg-detail h2{font-size:28px!important;color:#263f50!important;font-weight:800!important}
@media(max-width:1100px){html body .clbg-dashboard .clbg-dash-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .clbg-dashboard .clbg-board{grid-column:1/-1;grid-row:3}html body .clbg-dashboard .clbg-missions{grid-template-columns:1fr!important}html body .clbg-dashboard .clbg-missions>a,html body .clbg-dashboard .clbg-missions>div{min-height:0!important}}
@media(max-width:600px){html body .clbg-dashboard{width:calc(100vw - 16px)!important;margin:0 calc(50% - 50vw + 8px)!important;padding:20px 12px!important}html body .clbg-dashboard .clbg-dash-grid{display:flex!important;flex-direction:column!important;gap:14px!important}html body .clbg-dashboard .clbg-dash-side{display:contents!important}html body .clbg-dashboard .clbg-total-card,html body .clbg-dashboard .clbg-sources,html body .clbg-dashboard .clbg-study-link,html body .clbg-dashboard .clbg-board{width:100%!important;min-height:0!important}html body .clbg-dashboard .clbg-total-card{order:1}html body .clbg-dashboard .clbg-sources{order:2}html body .clbg-dashboard .clbg-study-link{order:3}html body .clbg-dashboard .clbg-board{order:4}html body .clbg-dashboard .clbg-profile-head h1{font-size:28px!important}html body .clbg-dashboard .clbg-xp-guide,html body .clbg-dashboard .clbg-detail{padding:18px!important}}

.clbg-possible-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.clbg-possible-summary>div{padding:17px 19px;border:1px solid #dfe8f0;border-radius:12px;background:#f4f8fc}.clbg-possible-summary span{display:block;font-size:12px;color:#738a9b}.clbg-possible-summary strong{display:block;margin-top:6px;font-size:25px;color:#245779}.clbg-resource-maximum{font-size:11px!important;font-weight:650!important;color:#50748e!important;margin:5px 0}
html body .clbg-dashboard .clbg-resource{padding:18px!important;margin-bottom:10px!important;border:1px solid #e1e8ed!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important}
html body .clbg-dashboard .clbg-resource-main h3{font-size:16px!important;font-weight:700!important;margin:7px 0!important;color:#294a60!important}
html body .clbg-dashboard .clbg-resource-main p{font-size:12px!important;line-height:1.6!important}
html body .clbg-dashboard .clbg-resource-score{min-width:170px!important;max-width:240px!important;text-align:right!important}
html body .clbg-dashboard .clbg-resource-score>strong{font-size:24px!important}
html body .clbg-dashboard .clbg-resource-bar{max-width:none!important;width:100%!important;height:5px!important;margin-top:12px!important}
html body .clbg-dashboard .clbg-load-more{padding:11px 20px!important;background:#edf5fb!important;color:#2b6289!important;border:1px solid #d6e6f1!important;border-radius:9px!important;font-size:13px!important}
@media(max-width:650px){.clbg-possible-summary{grid-template-columns:1fr}.clbg-possible-summary>div{display:flex;justify-content:space-between;align-items:center}.clbg-possible-summary strong{font-size:20px;margin:0}html body .clbg-dashboard .clbg-resource{grid-template-columns:32px minmax(0,1fr)!important;gap:11px!important}html body .clbg-dashboard .clbg-resource-score{grid-column:2;min-width:0!important;max-width:none!important;text-align:left!important}}

/* Halloween2026: one server-verified pumpkin per completed level. */
.clbg-dashboard .clbg-board-row .clbg-pumpkins{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px 8px;min-width:55px;flex-shrink:0;background:#fff5e7;border:1px solid #f1dfc3;border-radius:9px;color:#aa6c26;font-size:13px;font-weight:750;white-space:nowrap}
.clbg-dashboard .clbg-pumpkins small{font-size:9px;color:#ba9f79}
@media(max-width:520px){.clbg-dashboard .clbg-board-row{gap:7px!important}.clbg-dashboard .clbg-board-row .clbg-pumpkins{padding:4px 5px;min-width:42px;font-size:11px}.clbg-dashboard .clbg-pumpkins small{display:none}.clbg-dashboard .clbg-board-row>strong{font-size:12px!important}.clbg-dashboard .clbg-board-row>b{font-size:15px!important}}

/* Public leaderboard: show counts and earned XP below the username. */
.clbg-dashboard .clbg-board-sources{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:5px;font-size:11px;font-weight:500;line-height:1.45;color:#475b70}
.clbg-dashboard .clbg-board-sources>span{display:inline-block;max-width:100%;overflow-wrap:normal}
html[data-clnav-theme=dark] .clbg-dashboard .clbg-board-sources{color:#bac8d9}
@media(max-width:520px){.clbg-dashboard .clbg-board-sources{display:grid;gap:2px;font-size:10px}}

/* Compact profile: progress overview, leaderboard, then resource details. */
html body .clbg-dashboard.clbg-dashboard-compact .clbg-dash-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr)!important;gap:12px!important;align-items:stretch!important;max-width:1380px;margin-inline:auto}
html body .clbg-dashboard.clbg-dashboard-compact :is(.clbg-total-card,.clbg-sources){min-height:0!important;padding:18px 22px!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-total-card>strong{font-size:clamp(40px,5vw,64px)!important;margin:10px 0!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-source{padding:7px 0!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-study-link{grid-column:1/-1;grid-row:2;padding:10px 18px!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-board{grid-column:1/-1;grid-row:3}
html body .clbg-dashboard.clbg-dashboard-compact :is(.clbg-detail,.clbg-xp-guide){max-width:1380px;margin-inline:auto!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-board-row{min-height:56px!important;padding-block:9px!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-detail-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-resource{min-width:0;margin:0!important;padding:13px!important;gap:10px!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-resource[hidden]{display:none!important}
html body .clbg-dashboard.clbg-dashboard-compact .clbg-detail-empty{grid-column:1/-1}
@media(max-width:950px){html body .clbg-dashboard.clbg-dashboard-compact .clbg-detail-rows{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
 html body .clbg-dashboard.clbg-dashboard-compact .clbg-dash-grid{display:flex!important;flex-direction:column!important}
 html body .clbg-dashboard.clbg-dashboard-compact :is(.clbg-total-card,.clbg-sources){padding:15px!important}
}

/* Profile visual system; scoped to the profile and standalone leaderboard. */
html body .clbg-dashboard.clbg-studio{
 --studio-ink:#162e36;--studio-muted:#4c656e;--studio-card:#fff;--studio-soft:#eef5f4;
 --studio-line:#d4e4e1;--studio-accent:#07614e;--studio-chip:#e2f3ec;--studio-fill:#16866b;
 background:#f4f8f7!important;color:var(--studio-ink)!important;
}
html[data-clnav-theme=dark] body .clbg-dashboard.clbg-studio{
 --studio-ink:#e8f4f0;--studio-muted:#adc4bd;--studio-card:#152825;--studio-soft:#1c332e;
 --studio-line:#35514a;--studio-accent:#8de5bf;--studio-chip:#21453b;--studio-fill:#5bd3ab;
 background:#101e1b!important;
}
html body .clbg-dashboard.clbg-studio .clbg-profile-head{
 max-width:1380px;margin:0 auto 16px!important;padding:18px 22px!important;border:1px solid var(--studio-line)!important;
 border-radius:16px!important;background:var(--studio-card)!important;
}
html body .clbg-dashboard.clbg-studio .clbg-profile-head h1{font-size:clamp(24px,3vw,34px)!important;color:var(--studio-ink)!important}
html body .clbg-dashboard.clbg-studio :is(.clbg-profile-head p,.clbg-eyebrow,.clbg-source small,.clbg-board-note){color:var(--studio-muted)!important}
html body .clbg-dashboard.clbg-studio :is(.clbg-settings,.clbg-refresh){background:var(--studio-chip)!important;color:var(--studio-accent)!important;border:1px solid var(--studio-line)!important}
html body .clbg-dashboard.clbg-studio .clbg-total-card{background:linear-gradient(120deg,#0b3b36,#12604d)!important;border-radius:16px!important}
html body .clbg-dashboard.clbg-studio .clbg-total-card :is(.clbg-eyebrow,.clbg-next-place){color:#c0e9dd!important}
html body .clbg-dashboard.clbg-studio :is(.clbg-sources,.clbg-board,.clbg-detail,.clbg-xp-guide){
 background:var(--studio-card)!important;border-color:var(--studio-line)!important;border-radius:16px!important;min-width:0
}
html body .clbg-dashboard.clbg-studio :is(.clbg-sources,.clbg-board-heading,.clbg-detail,.clbg-xp-guide) h2{color:var(--studio-ink)!important}
html body .clbg-dashboard.clbg-studio :is(.clbg-source strong,.clbg-board-row>strong,.clbg-resource-main h3){color:var(--studio-ink)!important}
html body .clbg-dashboard.clbg-studio :is(.clbg-study-link,.clbg-study-link strong){background:var(--studio-chip)!important;color:var(--studio-accent)!important;border-color:var(--studio-line)!important}
html body .clbg-dashboard.clbg-studio .clbg-board-heading{padding:16px 20px!important}
html body .clbg-dashboard.clbg-studio .clbg-board-labels{background:var(--studio-soft)!important;color:var(--studio-muted)!important}
html body .clbg-dashboard.clbg-studio .clbg-board-row{background:var(--studio-card)!important;border-color:var(--studio-line)!important}
html body .clbg-dashboard.clbg-studio .clbg-board-row.is-you{background:var(--studio-chip)!important}
html body .clbg-dashboard.clbg-studio :is(.clbg-board-row>b,.clbg-board-sources,.clbg-source>b){color:var(--studio-accent)!important}
html body .clbg-dashboard.clbg-studio .clbg-detail-head{padding:0!important}
html body .clbg-dashboard.clbg-studio :is(.clbg-detail-head p,.clbg-resource-main p,.clbg-resource-score>span,.clbg-result-count){color:var(--studio-muted)!important}
html body .clbg-dashboard.clbg-studio .clbg-possible-summary{margin:14px 0}
html body .clbg-dashboard.clbg-studio .clbg-possible-summary>div{padding:12px 14px;background:var(--studio-soft);border-color:var(--studio-line)}
html body .clbg-dashboard.clbg-studio .clbg-possible-summary span{color:var(--studio-muted)}
html body .clbg-dashboard.clbg-studio .clbg-possible-summary strong{color:var(--studio-accent)}
html body .clbg-dashboard.clbg-studio .clbg-detail-tools{padding:0 0 10px!important;gap:8px!important}
html body .clbg-dashboard.clbg-studio .clbg-detail-options{padding:8px 10px!important;margin-bottom:10px;background:var(--studio-soft)!important;border:1px solid var(--studio-line)!important;border-radius:9px}
html body .clbg-dashboard.clbg-studio :is(.clbg-search input,.clbg-detail-options select,.clbg-kind-filters button){color:var(--studio-ink)!important;background:var(--studio-card)!important;border-color:var(--studio-line)!important}
html body .clbg-dashboard.clbg-studio .clbg-kind-filters button[aria-pressed=true]{background:var(--studio-chip)!important;color:var(--studio-accent)!important}
html body .clbg-dashboard.clbg-studio .clbg-resource{background:var(--studio-card)!important;border-color:var(--studio-line)!important;align-items:start!important}
html body .clbg-dashboard.clbg-studio .clbg-resource-score{min-width:92px!important;max-width:112px!important}
html body .clbg-dashboard.clbg-studio .clbg-resource-score>strong{font-size:20px!important;color:var(--studio-accent)!important}
html body .clbg-dashboard.clbg-studio .clbg-resource-score a{display:inline-block;padding:5px 8px!important;border-radius:7px;background:var(--studio-chip);color:var(--studio-accent)!important}
html body .clbg-dashboard.clbg-studio .clbg-resource-bar{background:var(--studio-soft)!important}
html body .clbg-dashboard.clbg-studio .clbg-resource-bar i{background:var(--studio-fill)!important}
@media(max-width:650px){
 html body .clbg-dashboard.clbg-studio .clbg-profile-head{padding:14px!important}
 html body .clbg-dashboard.clbg-studio .clbg-detail{padding:12px!important}
 html body .clbg-dashboard.clbg-studio .clbg-resource-score{grid-column:2;max-width:none!important;min-width:0!important;text-align:left!important}
}

.clbg-login-event,.clbg-login-profile{--event-ink:#172643;--event-muted:#495c79;--event-panel:#fff;--event-soft:#eef2ff;--event-line:#d5def1;--event-accent:#3443a4;color:var(--event-ink)}
html[data-clnav-theme=dark] :is(.clbg-login-event,.clbg-login-profile){--event-ink:#f0f4ff;--event-muted:#bac7e3;--event-panel:#19243c;--event-soft:#253354;--event-line:#3d4e75;--event-accent:#bec8ff}
.clbg-login-event{max-width:1060px;margin:24px auto 40px;padding:0 16px}
.clbg-login-event-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:24px;background:#182445;color:#fff;padding:clamp(18px,4vw,36px);border-radius:20px}
.clbg-event-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--event-accent)}
.clbg-login-event-hero .clbg-event-kicker,.clbg-login-event-hero small{color:#c2ceff}
.clbg-login-event-hero h2{font-size:clamp(28px,5vw,54px)!important;line-height:1.05;color:#fff!important;margin:8px 0 12px}
.clbg-login-event-hero h2 span{color:#aebcff}
.clbg-login-event-hero p{margin:0 0 10px}
.clbg-event-meter{background:#25345e;border:1px solid #56658f;border-radius:14px;padding:16px}
.clbg-event-meter>span{font-size:11px;letter-spacing:.1em;color:#d2dbff}
.clbg-event-meter strong{font-size:40px;line-height:1.1;font-variant-numeric:tabular-nums}
.clbg-event-meter progress{display:block;width:100%;height:9px;accent-color:#bdc7ff;margin:10px 0 3px}
.clbg-event-ticks{display:grid;grid-template-columns:repeat(3,1fr);text-align:right;color:#c2ceff;font-size:11px}
.clbg-event-meter p{margin:7px 0 0;font-size:13px}
.clbg-event-heading,.clbg-login-profile>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:20px}
.clbg-event-heading h3,.clbg-login-profile h3{font-size:20px;margin:0;color:var(--event-ink)!important}
.clbg-event-heading>span,.clbg-login-profile p,.clbg-login-event-rewards p{color:var(--event-muted);font-size:13px;margin:5px 0}
.clbg-login-event-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}
.clbg-login-event-rewards article{min-width:0;background:var(--event-panel);border:1px solid var(--event-line);border-radius:13px;padding:14px}
.clbg-login-event-rewards article[data-state=ready]{border-color:var(--event-accent);background:var(--event-soft)}
.clbg-event-card-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;font-size:12px;color:var(--event-muted)}
.clbg-event-card-top>span:last-child{background:var(--event-soft);color:var(--event-accent);border-radius:20px;padding:3px 8px;font-weight:700}
.clbg-login-event-rewards :is(h3,h4){font-size:26px!important;color:var(--event-ink)!important;margin:6px 0}
.clbg-login-event-rewards h3 small{font-size:.55em;color:var(--event-accent)}
.clbg-login-event-rewards :is(button,a),.clbg-event-link{display:inline-flex;background:#3547aa;color:white!important;border:0;border-radius:9px;align-items:center;min-height:40px;padding:0 12px;font-weight:700;cursor:pointer;text-decoration:none!important}
.clbg-login-event-notice,.clbg-login-profile{background:var(--event-soft);border:1px solid var(--event-line);border-radius:12px;padding:12px 14px}
.clbg-login-profile{margin:12px 0}
.clbg-login-profile>header{margin-top:0}
.clbg-login-profile .clbg-login-event-rewards{margin-bottom:0}
.clbg-login-profile .clbg-login-event-rewards h4{font-size:20px!important}
@media(max-width:580px){.clbg-login-event-hero,.clbg-login-event-rewards{grid-template-columns:1fr}}

/* Login event: editorial headline, distinct counter and reward tickets. */
.clbg-login-event-hero{background:#f4f0ff;color:#2b204c;border:1px solid #e0d7f5;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(14px,3vw,32px)}
.clbg-login-event-hero h2{color:#2b204c!important;max-width:19ch;font-size:clamp(29px,4.6vw,50px)!important;letter-spacing:-.035em;text-transform:none!important}
.clbg-login-event-hero h2 span{display:inline-block;color:#6337ad}
.clbg-login-event-hero .clbg-event-kicker,.clbg-login-event-hero>div:first-child small{color:#56358a}
.clbg-event-meter{background:#302251;color:#fff;border-color:#4b396f;padding:18px}
.clbg-event-meter strong{font-size:clamp(34px,5vw,50px)}
.clbg-event-meter progress{height:11px;accent-color:#c6a9ff}
.clbg-event-ticks>span.is-reached{color:#aef0c9;font-weight:800}
.clbg-login-event-rewards article{border-top:3px solid #a991d4;box-shadow:0 6px 16px #281d4c0b}
.clbg-login-event-rewards article[data-state=ready]{border-top-color:#623bbb}
.clbg-login-event-rewards article[data-state=claimed]{border-top-color:#278467}
.clbg-login-event-rewards article[data-state=missed]{border-top-color:#9099aa}
.clbg-login-event-rewards :is(button,a),.clbg-event-link{background:#56309e}
.clbg-login-profile{background:var(--event-panel);border-left:4px solid #9b80cf}
html[data-clnav-theme=dark] .clbg-login-event-hero{background:#241d38;color:#f1eaff;border-color:#54436c}
html[data-clnav-theme=dark] .clbg-login-event-hero h2{color:#fff!important}
html[data-clnav-theme=dark] .clbg-login-event-hero :is(h2 span,.clbg-event-kicker,div:first-child small){color:#d4baff}
@media(max-width:650px){.clbg-login-event-hero{grid-template-columns:minmax(0,1fr)}}

/* Typography and spacing for the Login event and profile cards. */
.clbg-login-event,.clbg-login-profile{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
.clbg-login-event-hero{border-radius:24px;padding:clamp(20px,4vw,42px);background:linear-gradient(145deg,#fff 15%,#f1eaff)}
.clbg-login-event-hero h2,.clbg-login-profile h3{font-family:inherit!important;font-weight:780!important;text-wrap:balance}
.clbg-login-event-hero h2{font-size:clamp(33px,5vw,57px)!important;line-height:1.06!important;letter-spacing:-.045em!important;margin:12px 0 16px!important}
.clbg-login-event-hero>div:first-child p{max-width:43ch;font-size:clamp(15px,1.8vw,17px);line-height:1.65}
.clbg-login-event-hero>div:first-child>small{display:inline-block;margin-top:6px;font-size:13px}
.clbg-event-kicker,.clbg-event-meter>span{font-size:13px;font-weight:700;letter-spacing:0}
.clbg-event-meter{border-radius:18px;padding:clamp(16px,3vw,24px)}
.clbg-event-meter strong{font-size:clamp(40px,6vw,62px);font-weight:800;letter-spacing:-.05em}
.clbg-event-heading h3{font-size:clamp(21px,3vw,26px);font-weight:750}
.clbg-login-event-rewards{gap:14px;margin-top:14px}
.clbg-login-event-rewards article{padding:clamp(14px,2.4vw,22px);border-radius:16px}
.clbg-event-card-top{font-size:13px;font-weight:650}
.clbg-login-event .clbg-login-event-rewards h3{font-family:inherit!important;font-size:clamp(32px,4.5vw,42px)!important;font-weight:800;line-height:1.12;letter-spacing:-.035em}
.clbg-login-event-rewards p,.clbg-login-profile p{font-size:14px}
.clbg-login-profile h3{font-size:clamp(18px,2.5vw,23px)!important;line-height:1.2}
.clbg-login-event-rewards :is(button,a),.clbg-event-link{min-height:44px;font-size:14px}
html[data-clnav-theme=dark] .clbg-login-event-hero{background:linear-gradient(145deg,#241d38,#35264c)}
@media(max-width:580px){.clbg-login-profile .clbg-login-event-rewards article{padding:12px 14px}.clbg-login-event-hero h2{max-width:none}}

html body .clbg-dashboard .clbg-login-profile{padding:clamp(14px,2vw,24px);border:1px solid var(--event-line);border-radius:18px;background:var(--event-soft)}
html body .clbg-dashboard .clbg-login-profile h3{text-transform:none!important;letter-spacing:-.025em!important;font-size:clamp(19px,3vw,26px)!important}
.clbg-profile-meter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;margin-top:14px;color:var(--event-muted);font-size:13px}
.clbg-profile-meter b{margin-inline-start:5px;color:var(--event-ink);font-variant-numeric:tabular-nums}
.clbg-profile-meter progress{width:100%;height:8px;accent-color:#7551bb}
.clbg-login-profile .clbg-login-event-rewards article{padding:12px 14px;border-top:1px solid var(--event-line);box-shadow:none}
.clbg-login-profile .clbg-login-event-rewards h4{font-size:25px!important;margin:4px 0 0}
.clbg-login-profile .clbg-login-event-rewards article[data-state=ready]{border-color:var(--event-accent)}
.clbg-event-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.clbg-event-rules>div{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid var(--event-line);border-radius:13px;background:var(--event-panel)}
.clbg-event-rules>div>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;background:var(--event-soft);color:var(--event-accent);font-size:12px;font-weight:800}
.clbg-event-rules strong{font-size:15px;color:var(--event-ink)}
.clbg-event-rules p{margin:3px 0 0;font-size:13px;color:var(--event-muted)}
@media(max-width:580px){.clbg-event-rules,.clbg-profile-meter{grid-template-columns:minmax(0,1fr);gap:7px}}

/* Community event: midnight hero, gold rewards, compact profile strip. */
.clbg-login-event-hero,
html[data-clnav-theme=dark] .clbg-login-event-hero{
 background:radial-gradient(ellipse at 95% 0%,#303d62 0%,transparent 56%),#141d31;
 color:#eef2fc;border:1px solid #343f58;border-radius:22px
}
.clbg-login-event-hero h2{color:#fff!important}
.clbg-login-event-hero h2 span,
html[data-clnav-theme=dark] .clbg-login-event-hero h2 span{color:#ffd98a}
.clbg-login-event-hero .clbg-event-kicker{
 display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border:1px solid #66728e;border-radius:99px;color:#f1e0bd
}
.clbg-login-event-hero>div:first-child>small,
html[data-clnav-theme=dark] .clbg-login-event-hero>div:first-child>small{color:#cdd7ed}
.clbg-event-meter{background:#1d2942;border-color:#526284}
.clbg-event-meter progress,.clbg-profile-meter progress{accent-color:#d6a249}
.clbg-event-ticks>span.is-reached{color:#ffd98a}
.clbg-event-heading>span{border-radius:99px;background:#f7ecd5;color:#634416;padding:4px 10px;font-weight:750}
.clbg-login-event .clbg-login-event-rewards article{border-top:1px solid var(--event-line);box-shadow:none}
.clbg-login-event .clbg-login-event-rewards h3 small,.clbg-login-profile .clbg-login-event-rewards h4 small{color:var(--event-muted);font-size:.58em}
:is(.clbg-login-event,.clbg-login-profile) .clbg-login-event-rewards article[data-state=ready]{border-color:#ac7d2d;background:#fff5de;color:#402c10}
:is(.clbg-login-event,.clbg-login-profile) .clbg-login-event-rewards article[data-state=ready] :is(h3,h4,p,.clbg-event-card-top,.clbg-event-card-top>span:last-child){color:#5b3b0d!important}
:is(.clbg-login-event,.clbg-login-profile) .clbg-login-event-rewards article[data-state=ready] .clbg-event-card-top>span:last-child{background:#f5dfad}
.clbg-login-event-rewards :is(button,a),.clbg-event-link{background:#29395b}
html body .clbg-dashboard .clbg-login-profile{background:var(--event-panel);border-radius:16px}
.clbg-login-profile .clbg-profile-meter{background:var(--event-soft);border-radius:8px;padding:7px 11px}
.clbg-login-profile .clbg-login-event-rewards{gap:8px}
.clbg-login-profile .clbg-login-event-rewards article{display:flex;flex-direction:column;gap:3px}
.clbg-event-rules>div{border:0;background:var(--event-soft)}
@media(max-width:580px){
 .clbg-login-profile .clbg-login-event-rewards article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px}
 .clbg-login-profile .clbg-event-card-top{justify-content:flex-start}
 .clbg-login-profile .clbg-login-event-rewards h4{margin:0;font-size:20px!important;white-space:nowrap}
 .clbg-login-profile .clbg-login-event-rewards article>p{grid-column:1/-1}
}

/* Once tab JS runs, it is the source of truth; keep hash CSS as a no-JS fallback. */
html body #clLesson[data-clbg-tab-navigation=ready] .cl-panel > [role="tabpanel"][hidden]{display:none!important}
html body #clLesson[data-clbg-tab-navigation=ready] .cl-panel > [role="tabpanel"]:not([hidden]){display:block!important}
html body #clLesson[data-clbg-tab-navigation=ready] .cl-tabs .cl-tab[aria-selected=false]{background:var(--card)!important;color:var(--text)!important;border-color:var(--line)!important}
html body #clLesson[data-clbg-tab-navigation=ready] .cl-tabs .cl-tab[aria-selected=true]{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}
#clLesson [id]:is(h2,h3,h4){scroll-margin-top:100px}

/* Login only: use the native, keyboard-accessible Remember Me field. */
html body .um.um-login label.clbg-remember {
    --clbg-remember-bg: #f2faf6;
    --clbg-remember-on: #e0f5eb;
    --clbg-remember-text: #17392d;
    --clbg-remember-muted: #48675b;
    --clbg-remember-line: #bcded0;
    --clbg-remember-accent: #127356;
    display: flex !important;
    box-sizing: border-box;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    margin: 0 0 12px !important;
    padding: 10px 14px !important;
    border: 1px solid var(--clbg-remember-line) !important;
    border-radius: 14px;
    background: var(--clbg-remember-bg) !important;
    color: var(--clbg-remember-text) !important;
    cursor: pointer;
    text-align: start;
}
html[data-clnav-theme="dark"] body .um.um-login label.clbg-remember {
    --clbg-remember-bg: #172f26;
    --clbg-remember-on: #21483b;
    --clbg-remember-text: #eefaf4;
    --clbg-remember-muted: #b4d4c5;
    --clbg-remember-line: #52796b;
    --clbg-remember-accent: #8ee2be;
}
html body .um.um-login label.clbg-remember:hover,
html body .um.um-login label.clbg-remember:has(input:checked) {
    background: var(--clbg-remember-on) !important;
    border-color: var(--clbg-remember-accent) !important;
}
html body .um.um-login .clbg-remember input[type="checkbox"][name="rememberme"] {
    appearance: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    flex: 0 0 21px;
    width: 21px !important;
    height: 21px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--clbg-remember-accent);
    cursor: pointer;
}
html body .um.um-login .clbg-remember:focus-within {
    outline: 2px solid var(--clbg-remember-accent);
    outline-offset: 2px;
}
html body .um.um-login .clbg-remember-copy {
    display: grid;
    gap: 2px;
    line-height: 1.3;
}
html body .um.um-login .clbg-remember-copy strong { font-size: 14px; color: var(--clbg-remember-text) !important; }
html body .um.um-login .clbg-remember-copy small { font-size: 12px; color: var(--clbg-remember-muted) !important; }
html body .clbg-auth-form .um.um-login :is(input[type="submit"].um-button, a.um-button.um-alt) {
    box-sizing: border-box;
    min-height: 48px;
    border-radius: 13px !important;
}
html body .clbg-auth-form .um.um-login input[type="submit"].um-button:hover {
    background: #0d553f !important;
    border-color: #0d553f !important;
}
html body .clbg-auth-form .um.um-login a.um-button.um-alt {
    background: transparent !important;
    border: 1px solid #93bcaa !important;
}


html body .um.um-login .clbg-login-duration { clear: both; margin: 8px 0 14px; }
html body .um.um-login button.clbg-save-credentials {
    display: block; width: 100%; min-height: 46px; padding: 9px 12px;
    border: 1px solid #79ab98 !important; border-radius: 12px;
    background: transparent !important; color: inherit !important;
    font-size: 14px; font-weight: 750; cursor: pointer;
}
html body .um.um-login button.clbg-save-credentials:hover {
    box-shadow: inset 0 0 0 1px #79ab98;
}
html body .um.um-login button.clbg-save-credentials:focus-visible {
    outline: 2px solid #438c73; outline-offset: 2px;
}
html body .um.um-login .clbg-save-credentials-help {
    margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: inherit;
}
