.account-menu-slot{position:relative;flex:0 0 44px;width:44px;height:44px;z-index:65}
.header .account-menu-slot[hidden],.header .saved-nav[hidden],.account-menu-slot [hidden]{display:none!important}
.account-user-menu>summary,.account-guest-link{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #ad6a22;border-radius:14px;background:#17130f;color:#ffb65b;cursor:pointer;list-style:none;box-shadow:0 0 12px #ff910016;touch-action:manipulation}
.account-user-menu>summary::-webkit-details-marker{display:none}.account-user-menu>summary::marker{content:""}
.account-user-menu>summary>img{display:block;width:40px;height:40px;border-radius:12px;object-fit:cover;background:#17130f}
.account-guest-link>svg{width:23px;height:23px}.account-menu-arrow{position:absolute;right:-4px;bottom:-3px;width:15px;height:15px;padding:2px;border:1px solid #88511c;border-radius:5px;background:#21190f;fill:none;stroke:#ffc36e;stroke-width:1.5}
.account-user-menu[open]>summary,.account-user-menu>summary:hover,.account-guest-link:hover{border-color:#ffad39;box-shadow:0 0 16px #ff99002a}
.account-menu-popup{position:absolute;right:0;top:calc(100% + 12px);width:min(238px,calc(100vw - 32px));max-height:min(410px,calc(100dvh - 100px));overflow:auto;padding:10px;background:#11100f;border:1px solid #a15e20;border-radius:16px;box-shadow:0 16px 44px #000c,0 0 18px #ff940018;animation:account-menu-in .14s ease-out;overscroll-behavior:contain}
.account-menu-popup>strong{display:block;padding:10px 12px 13px;color:#ffbd68;font-size:13px;border-bottom:1px solid #392a1c;margin-bottom:5px;overflow-wrap:anywhere}
.account-menu-popup>a,.account-menu-popup>button{display:flex;align-items:center;width:100%;min-height:42px;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:#dfd6ca;font:inherit;font-size:13px;text-align:left;text-decoration:none;cursor:pointer}
.account-menu-popup>a:hover,.account-menu-popup>button:hover{color:#ffbf70;background:#ff9c0014}.account-menu-popup>button{border-top:1px solid #392a1c;border-radius:0 0 9px 9px;margin-top:5px;color:#ffba6a}
.account-menu-popup :focus-visible,.account-user-menu>summary:focus-visible,.account-guest-link:focus-visible{outline:2px solid #ffb44f;outline-offset:2px}
.account-menu-status{display:block;font-size:11px;color:#efba82;line-height:1.6;overflow-wrap:anywhere}.account-menu-status:empty{display:none}
.cm-public .header-inner{grid-template-columns:auto minmax(0,1fr) 44px}.information-header .account-menu-slot{margin-left:auto}
.cm-page.cm-public .header-inner,.header .header-inner.information-header{display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:24px}
.cm-page.cm-public .top-nav,.header .information-header .top-nav{display:flex;justify-self:center;justify-content:center;flex-wrap:wrap;min-width:0;max-width:100%}
.cm-page.cm-public .header-inner>.account-menu-slot,.header .information-header>.account-menu-slot{justify-self:end;margin-left:0}
@media(max-width:900px){.cm-page.cm-public .header-inner,.header .header-inner.information-header{grid-template-columns:minmax(0,1fr) 44px;gap:12px 18px;padding-top:16px;padding-bottom:16px}.cm-page.cm-public .header-inner>.brand,.header .information-header>.brand{grid-column:1;grid-row:1;justify-self:start}.cm-page.cm-public .header-inner>.account-menu-slot,.header .information-header>.account-menu-slot{grid-column:2;grid-row:1}.cm-page.cm-public .top-nav,.header .information-header .top-nav{grid-column:1/-1;grid-row:2;width:100%;gap:8px}.cm-page.cm-public .top-nav a,.header .information-header .top-nav a{font-size:12px;min-height:42px;padding-inline:12px}}
@keyframes account-menu-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:680px){.header-inner>.account-menu-slot{margin-left:auto}.account-menu-popup{max-height:min(390px,calc(100dvh - 96px))}}
@media(max-width:600px){.cm-public .header-inner>.account-menu-slot{order:1}.cm-public .top-nav{order:2}}
@media(prefers-reduced-motion:reduce){.account-menu-popup{animation:none}}

/* Guest access sits immediately next to saved videos; account controls stay touch-sized. */
.header-inner>.account-menu-slot[data-replace-saved="1"][data-account-authenticated="0"]{margin-left:0}
.header-inner>.account-menu-slot[data-replace-saved="1"][data-account-authenticated="1"]{margin-left:auto}
@media(max-width:380px){.header-inner>.saved-nav{padding-inline:10px;gap:5px}.header-inner>.saved-nav>span:not(.saved-count){display:none}}
