/* ===== 26-night-identity-v28.css ===== */
/* v28 night identity: real night photograph cross-fades over the daylight hero */
#home::after{content:"";position:fixed;inset:68px 0 0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(24,19,20,.42),rgba(24,19,20,.70) 45%,rgba(24,20,21,.86)) center/cover no-repeat;opacity:0;transition:opacity .6s ease}
/* Logo recolor, robust regardless of var() support in presentation attributes */
/* v38: supplied sun/moon morph and circular reveal; header stays visible. */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-old(root){z-index:1}
::view-transition-new(root){z-index:2}
html.uv-theme-active .hdr{transition:none!important}
html.uv-theme-fade,html.uv-theme-fade *,html.uv-theme-fade *::before,html.uv-theme-fade *::after{transition:background-color .35s ease,color .35s ease,border-color .35s ease,box-shadow .35s ease!important}
.moon{color:#0a62e8}
.moon:hover svg{transform:none}
.moon .uv-sun-core,.moon .uv-moon-mask{transition:transform .5s cubic-bezier(.4,0,.2,1),r .5s cubic-bezier(.4,0,.2,1)}
.moon .uv-sun-rays{transform-origin:center;transition:transform .5s cubic-bezier(.4,0,.2,1),opacity .3s ease}
@media(prefers-reduced-motion:reduce){.moon,.moon svg,.moon .uv-sun-core,.moon .uv-moon-mask,.moon .uv-sun-rays{transition:none!important}html.uv-theme-fade,html.uv-theme-fade *{transition:none!important}}
/* Primary actions join the red night identity */
#cta-start .cta-ic{color:#0951d6}
/* ===== 27-sidebar-reddit-ref-v31.css ===== */
/* v31: only three changes - panel on the right, submenu items as icon rows under the arrow, new toggle icon */
html body .drawer .pn,body.signed .drawer .pn{left:auto!important;right:0!important;border-right:0!important;border-left:1px solid var(--line)!important;transform:translateX(102%)!important;box-shadow:-12px 0 36px rgba(0,0,0,.16)!important}
html body .drawer.open .pn,body.signed .drawer.open .pn{transform:none!important}
/* toggle icon: three equal thin lines */
html body .burger{gap:5px}
html body .burger i,html body .burger:hover i:nth-child(2){width:20px;height:1.8px;border-radius:2px}
html body .burger[aria-expanded=true] i:nth-child(1),html body .burger[aria-expanded=true] i:nth-child(3){transform:none}
html body .burger[aria-expanded=true] i:nth-child(2){opacity:1}
/* submenu: flat icon + label rows below the parent, aligned like top-level rows */
html body .drawer .ds a{display:flex;align-items:center;gap:12px;margin:0!important;padding:9px 24px!important;padding-inline-start:48px!important;border:0;border-radius:0;font-size:14.5px;font-weight:700}
html body .drawer .ds a .cic{flex:none;width:20px;height:20px;color:#9aa3b6}
html body .drawer .ds a:hover .cic{color:currentColor}
html body .drawer .ds>div{padding-bottom:6px}

/* ===== 28-study-sequence-v33.css ===== */
#acct .reg-study{margin:0;padding:0;border:0;background:none}
#acct .reg-study-clear,#acct .study-change{border:0;background:none;font:inherit;font-size:11.5px;font-weight:700;color:var(--b);padding:5px;cursor:pointer}
#acct .reg-study-clear{margin-top:5px}
#acct .study-steps{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 22px 10px;flex:none}
#acct .study-step{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--mut)}
#acct .study-step i{font-style:normal;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#edf2fa;color:var(--mut)}
#acct .study-step.active{color:var(--b)}
#acct .study-step.active i{background:var(--b);color:#fff}
#acct .study-step.done i{background:#e5eeff;color:var(--b)}
#acct .study-step-line{height:1px;background:var(--line);flex:1;max-width:70px}
#acct .study-status{font-size:11px;line-height:1.7;color:var(--mut);margin:7px 16px;flex:none;text-align:center}
.spm-box{height:min(700px,88dvh)}
.spm-cur .adw-nm{flex:1}
.spm-bd .spk-item{min-height:56px}
@media(prefers-reduced-motion:reduce){.spm,.spm-box{transition:none}}

/* v34: study choices use the registration form's ordinary field treatment. */
#acct .reg-study-row{width:100%;min-height:46px;height:auto;text-align:start;font:inherit;cursor:pointer;color:var(--ink);justify-content:space-between;padding-block:10px}
#acct .reg-study-row>span{flex:1;min-width:0;font-size:14px;line-height:1.65;font-weight:400}
#acct .reg-study-row>span>span{display:block}
#acct .reg-study-row small{display:block;color:var(--mut);font-size:10.5px;line-height:1.6;margin-top:2px}
#acct .reg-study-row small[hidden]{display:none}
#acct .reg-study-row>svg{width:16px;height:16px;flex:none;color:#8a97b8}
#acct .reg-study:not(.has-uni) .reg-study-row{color:#8a97b8}
#acct .reg-study-row:disabled{cursor:default;color:#8a97b8;background:var(--bg,#f8faff)}
#acct .reg-study-clear{display:block;margin:-3px 0 9px;padding:0;font-size:11px;color:var(--mut);font-weight:500}
#acct .reg-study-clear[hidden]{display:none}
#acct .reg-study-row:focus-visible,#acct .study-change:focus-visible,#acct .reg-study-clear:focus-visible{outline:2px solid var(--b);outline-offset:2px;border-radius:8px}


/* progressive-hero: نفس التحميل التدريجي لصورة الشريط */
body.imgs-ready #home::after{background-image:linear-gradient(180deg,rgba(24,19,20,.42),rgba(24,19,20,.70) 45%,rgba(24,20,21,.86)),url("../img/photos/photo-35dfb58c.jpg")}
