html[data-main-template="minimal"] .desktop-account{position:relative;gap:10px}
.ma-trigger{margin-left:auto;flex-shrink:0;display:grid;place-items:center;width:30px;height:34px;padding:7px;border:0;border-radius:6px;background:transparent;color:#171717;cursor:pointer}
.ma-trigger:hover,.ma-trigger[aria-expanded="true"]{background:#ededed}
.ma-trigger svg{width:16px;height:16px;fill:currentColor}
.ma-menu{position:absolute;bottom:calc(100% + 6px);left:8px;width:calc(100% - 16px);min-width:230px;max-width:calc(100vw - 24px);padding:5px;background:white;color:#171717;border:1px solid #e5e5e5;border-radius:9px;box-shadow:0 8px 30px #00000014;z-index:12000;font-size:14px;line-height:1.4;max-height:75dvh;overflow-y:auto}
.ma-menu[hidden],.ma-languages[hidden]{display:none!important}
.ma-menu button,.ma-menu a{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:5px;background:transparent;color:inherit;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.ma-menu button:hover,.ma-menu a:hover,.ma-menu button:focus-visible,.ma-menu a:focus-visible{background:#f1f1f1;outline:2px solid transparent}
.ma-menu svg{width:17px;height:17px;flex-shrink:0;fill:currentColor}
.ma-menu .ma-logout svg{fill:none}
.ma-identity{padding:10px;border-bottom:1px solid #ededed;margin-bottom:4px}
.ma-identity strong,.ma-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ma-identity small{color:#737373;font-size:12px;margin-top:3px}
.ma-arrow{margin-left:auto;font-size:20px;line-height:1}
.ma-languages{margin:2px 4px 6px;padding:4px;border:1px solid #ededed;border-radius:6px;background:#fafafa}
.ma-languages button{font-size:13px;padding:9px 7px}
.ma-languages button span{margin-left:auto;visibility:hidden}
.ma-languages [aria-checked="true"]{background:#ededed;font-weight:600}
.ma-languages [aria-checked="true"] span{visibility:visible}
.ma-divider{height:1px;background:#ededed;margin:4px -5px}
.ma-trigger:focus-visible{outline:2px solid #171717;outline-offset:2px}
html[data-sidebar-collapsed="true"] .ma-trigger{margin-left:0}
html[data-sidebar-collapsed="true"] .desktop-account-avatar{display:none}
html[lang="en"] .desktop-nav a{font-size:13px}
@media(max-width:768px){.ma-menu{min-width:0;left:8px;max-width:calc(100vw - 24px)}html[data-sidebar-collapsed="true"] .desktop-account-avatar{display:grid}}
/* The language picker is a flyout, never an accordion inside the account menu. */
.ma-menu{overflow:visible}
.ma-languages{margin:0;padding:5px;background:#fff;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 8px 30px #00000018;z-index:12001;max-height:calc(100dvh - 16px);overflow:auto}
.ma-languages button{min-height:38px;white-space:nowrap;gap:10px}
.ma-languages button .ma-check{margin-left:auto;visibility:hidden}
.ma-languages [aria-checked="true"] .ma-check{visibility:visible}
.ma-flag{width:20px;height:14px;object-fit:cover;flex-shrink:0;border-radius:2px;box-shadow:0 0 0 1px #0000000d}
html[data-main-template="minimal"] .minimal-invitation ol{margin:16px 0 0;padding-left:24px;color:#536273;line-height:1.8}
html[data-main-template="minimal"] .minimal-invitation ol li{padding-left:5px;margin:10px 0;overflow-wrap:anywhere}
html[data-main-template="minimal"] .minimal-invitation .invite-rule{line-height:1.9}
html[lang="en"] .minimal-invitation .invite-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:600px){html[lang="en"] .minimal-invitation .invite-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.minimal-invitation .invite-head{flex-wrap:wrap}}
/* Keep localized purchase actions inside the drawer at narrow widths. */
html[data-main-template="minimal"] .md-drawer .add-device-actions{display:flex;gap:10px;align-items:stretch}
html[data-main-template="minimal"] .md-drawer .add-device-actions button{min-width:0;min-height:42px;height:auto;line-height:1.35;padding:10px 12px;white-space:normal;overflow-wrap:normal}
html[lang="en"] .md-drawer .add-device-actions .btn-instant,html[lang="en"] .md-drawer .add-device-actions .btn-reserve{white-space:nowrap}
