/* The header and account surface share one quiet, warm visual language. */
body[data-ui-shell="community"] #app .topbar{height:76px;min-height:76px;padding:0 26px;gap:18px;background:#93462f;color:#fff8ee;border:0;box-shadow:0 1px 0 #542c2420;backdrop-filter:none}
body[data-ui-shell="community"] #app .topbar .brand{gap:9px;min-width:0;flex:none;transform:none}
body[data-ui-shell="community"] #app .topbar .brand strong{font-size:20px;font-weight:650;letter-spacing:.6px;white-space:nowrap;color:#fff8ee}
body[data-ui-shell="community"] #app .topbar .brand small{display:none}
body[data-ui-shell="community"] #app .topbar .brand-mark{width:31px;height:40px;background:none;border:0;border-radius:0;box-shadow:none;color:#f4dbbb}
body[data-ui-shell="community"] #app .topbar .brand-mark svg{width:27px;height:27px}
body[data-ui-shell="community"] #app .topbar :is(.sidebar-toggle,.mobile-feature-entry,.searchbox,.account-menu-trigger){width:40px;height:40px;min-width:40px;min-height:40px;flex:0 0 40px;padding:9px;border:0;border-radius:8px;background:transparent;color:#f7e9d9;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .16s,color .16s}
body[data-ui-shell="community"] #app .topbar .mobile-feature-entry{display:none}
body[data-ui-shell="community"] #app .topbar .sidebar-toggle svg{width:21px;height:21px}
body[data-ui-shell="community"] #app .topbar .topnav{gap:3px;flex:none;align-items:center;align-self:stretch}
body[data-ui-shell="community"] #app .topbar .topnav a{position:relative;height:44px;min-height:44px;padding:0 13px;border:0;border-radius:5px;background:transparent;color:#ead3c1;font-size:14px;font-weight:500;box-shadow:none;display:flex;align-items:center}
body[data-ui-shell="community"] #app .topbar .topnav a.active{color:#fffaf3;background:none;font-weight:650}
body[data-ui-shell="community"] #app .topbar .topnav a.active::after{content:'';display:block;position:absolute;bottom:0;left:13px;right:13px;width:auto;height:2px;border-radius:1px;background:#f0cd9b;transform:none}
body[data-ui-shell="community"] #app .topbar .top-actions{gap:8px;margin-left:0;flex:none}
body[data-ui-shell="community"] #app .topbar .experience-publish{height:40px;min-height:40px;gap:6px;padding:0 15px;border:0;border-radius:7px;background:#fff5e6;color:#863e2a;box-shadow:none;font-size:14px;font-weight:650;display:flex;align-items:center}
body[data-ui-shell="community"] #app .topbar .experience-publish svg{width:18px;height:18px}
body[data-ui-shell="community"] #app .topbar .searchbox span{display:none}
body[data-ui-shell="community"] #app .topbar .searchbox svg{width:21px;height:21px}
body[data-ui-shell="community"] #app .topbar .register-entry{height:40px;min-height:40px;padding:0 9px!important;border:0;border-radius:6px;background:transparent;box-shadow:none;color:#fff4e7;font-size:13px!important;font-weight:500}
body[data-ui-shell="community"] #app .topbar .account-menu-trigger{border-radius:50%;padding:4px}
body[data-ui-shell="community"] #app .topbar .account-menu-trigger>svg{width:25px;height:25px}
body[data-ui-shell="community"] #app .topbar .account-menu-trigger[aria-expanded=true]{background:#ffffff18;outline:1px solid #f4dbbb80;outline-offset:2px}
body[data-ui-shell="community"] #app .topbar .town-clock-slot{flex:1 1 120px;min-width:110px;display:flex;justify-content:center;align-items:center}
body[data-ui-shell="community"] #app .topbar .town-clock{position:relative;left:auto;bottom:auto;min-width:0;height:auto;margin:0;gap:9px;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:#f5dfbd}
body[data-ui-shell="community"] #app .topbar .town-clock-bridge{width:45px;height:31px;color:#ecc99d}
body[data-ui-shell="community"] #app .topbar .town-clock-time{font-size:23px;line-height:1.1;font-weight:600;letter-spacing:1px;color:#fff8eb;text-shadow:none}
body[data-ui-shell="community"] #app .topbar .town-clock-date{font-size:9px;line-height:1.4;font-weight:400;color:#ebcfb9;opacity:1}
body[data-ui-shell="community"] #app .topbar .town-clock-place{display:none}
body[data-ui-shell="community"] #app .topbar :is(button,a):focus-visible{outline:2px solid #f4d8ad;outline-offset:3px}
/* A single account surface: identity, small balances, and clear menu rows. */
#app #account-popover{top:calc(100% + 18px);right:-8px;width:308px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);padding:22px 14px 12px;background:#fffcf7;color:#493c33;border:1px solid #e7dcd0;border-radius:12px;box-shadow:0 16px 42px #39271c24,0 2px 5px #39271c0a;overflow-y:auto;overscroll-behavior:contain;transform-origin:top right;animation:account-reveal .18s ease-out;text-align:left;outline:none}
#app #account-popover[hidden],#app .account-menu-shade[hidden]{display:none!important}
#app .account-menu-shade{display:none}
#app #account-popover .account-menu-close{position:absolute;right:10px;top:9px;width:32px;height:32px;padding:8px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#8b7564;cursor:pointer}
#app #account-popover .account-menu-close svg{width:16px;height:16px}
#app #account-popover .account-menu-identity,#app #account-popover .account-welcome{display:flex;align-items:center;flex-wrap:nowrap;gap:12px;padding:0 20px 18px 6px}
#app #account-popover .account-identity-avatar{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#f2e7da;color:#994a35}
#app #account-popover .account-identity-avatar>svg{width:25px;height:25px}
#app #account-popover .account-menu-identity>div{min-width:0}
#app #account-popover .account-menu-identity strong{display:block;font-size:17px;font-weight:650;line-height:1.45;color:#493c33;overflow-wrap:anywhere}
#app #account-popover .account-identity-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;line-height:1.5;color:#8b7564;margin-top:4px}
#app #account-popover .account-menu-assets{display:flex;gap:0;margin:0 6px 10px;padding:13px 0;border-top:1px solid #e9dfd4;border-bottom:1px solid #e9dfd4}
#app #account-popover .account-menu-assets>a{display:flex;flex:1;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:7px;padding:0 8px;color:#493c33}
#app #account-popover .account-menu-assets>a+a{border-left:1px solid #e9dfd4}
#app #account-popover .account-menu-assets span{font-size:11px;line-height:1.5;color:#8b7564}
#app #account-popover .account-menu-assets b{font-size:15px;font-weight:600;overflow-wrap:anywhere}
#app #account-popover nav{display:flex;flex-direction:column;gap:2px}
#app #account-popover nav a{display:flex;align-items:center;gap:11px;min-height:41px;padding:9px 12px;font-size:13px;line-height:1.5;font-weight:500;color:#59493d;border-radius:6px;background:transparent;transition:background .15s,color .15s}
#app #account-popover nav a>svg:first-child{width:18px;height:18px;color:#927760;flex:none}
#app #account-popover nav a>span{flex:1}
#app #account-popover nav a>svg:last-child{width:13px;height:13px;color:#b6a18e}
#app #account-popover .account-setting-links{margin-top:9px;padding-top:9px;border-top:1px solid #e9dfd4}
#app #account-popover .account-storage-note{margin:12px 12px 0;font-size:10px;line-height:1.7;color:#978574}
#app #account-popover .account-welcome small{display:block;font-size:10px;letter-spacing:.8px;color:#90755e;margin-bottom:5px}
#app #account-popover .account-welcome h3{font-size:18px;font-weight:650;margin:0;color:#493c33}
#app #account-popover .account-welcome-note{font-size:12px;color:#846e5c;line-height:1.7;margin:0 6px 19px}
#app #account-popover .account-signin{margin:0 6px;display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:10px 14px;border-radius:7px;background:#984630;color:#fff9f0;font-size:13px;font-weight:600}
#app #account-popover .account-guest-footer{display:flex;justify-content:space-between;gap:12px;margin:9px 6px 0;padding-top:7px}
#app #account-popover .account-guest-footer a{display:flex;align-items:center;gap:4px;min-height:36px;font-size:12px;color:#866c56}
#app #account-popover .account-guest-footer svg{width:12px;height:12px}
#app #account-popover :is(a,button):focus-visible{outline:2px solid #a4583e;outline-offset:1px}
@media(hover:hover){body[data-ui-shell="community"] #app .topbar :is(.sidebar-toggle,.mobile-feature-entry,.searchbox,.account-menu-trigger,.register-entry,.topnav a):hover{background:#fff4e712;color:#fffaf3}body[data-ui-shell="community"] #app .topbar .experience-publish:hover{background:#ffe9c8}#app #account-popover nav a:hover,#app #account-popover .account-menu-close:hover{background:#f3eae1;color:#984630}#app #account-popover nav a:hover>svg{color:#984630}}
@keyframes account-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:761px) and (max-width:1180px){body[data-ui-shell="community"] #app .topbar{gap:10px;padding-inline:18px}body[data-ui-shell="community"] #app .topbar .brand strong{font-size:18px}body[data-ui-shell="community"] #app .topbar .topnav a{padding-inline:9px}body[data-ui-shell="community"] #app .topbar .topnav a.active::after{left:9px;right:9px}body[data-ui-shell="community"] #app .topbar .town-clock-slot{min-width:100px}body[data-ui-shell="community"] #app .topbar .town-clock-bridge{width:34px}body[data-ui-shell="community"] #app .topbar .town-clock-time{font-size:20px}}
@media(max-width:760px){
 body[data-ui-shell="community"] #app .topbar{height:84px;min-height:84px;padding:0 12px 23px;gap:6px}
 body[data-ui-shell="community"] #app .topbar .sidebar-toggle{display:none}
 body[data-ui-shell="community"] #app .topbar .mobile-feature-entry{display:inline-flex}
 body[data-ui-shell="community"] #app .topbar .brand{gap:5px;flex:0 1 auto;min-width:0}
 body[data-ui-shell="community"] #app .topbar .brand strong{font-size:14px;letter-spacing:0}
 body[data-ui-shell="community"] #app .topbar .brand-mark{width:22px;height:32px;flex:none}
 body[data-ui-shell="community"] #app .topbar .brand-mark svg{width:21px;height:21px}
 body[data-ui-shell="community"] #app .topbar .top-actions{gap:2px;margin-left:auto}
 body[data-ui-shell="community"] #app .topbar .topnav{display:none}
 body[data-ui-shell="community"] #app .topbar .experience-publish{display:none}
 body[data-ui-shell="community"] #app .topbar .register-entry{padding:0 5px!important;font-size:12px!important}
 body[data-ui-shell="community"] #app .topbar .town-clock-slot{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);height:19px;width:auto;min-width:0}
 body[data-ui-shell="community"] #app .topbar .town-clock{height:19px;gap:5px;padding:0}
 body[data-ui-shell="community"] #app .topbar .town-clock-bridge{width:29px;height:19px}
 body[data-ui-shell="community"] #app .topbar .town-clock-time{font-size:13px;line-height:19px;letter-spacing:.7px}
 body[data-ui-shell="community"] #app .topbar .town-clock-date{display:none}
 #app .account-menu-shade{display:block;position:fixed;inset:0;background:#2f211b66;z-index:190}
 #app #account-popover{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-width:none;max-height:calc(100dvh - 32px);padding:26px 20px max(18px,env(safe-area-inset-bottom));border:0;border-radius:19px 19px 0 0;box-shadow:0 -12px 45px #39271c24;z-index:200;animation:account-sheet-reveal .22s ease-out}
 #app #account-popover::before{content:'';position:absolute;top:9px;left:calc(50% - 17px);width:34px;height:3px;background:#d8c7b7;border-radius:2px}
 #app #account-popover .account-menu-close{top:16px;right:16px;width:40px;height:40px}
 #app #account-popover .account-menu-identity,#app #account-popover .account-welcome{padding-right:38px}
 #app #account-popover nav a{min-height:46px;font-size:14px}
 #app #account-popover .account-menu-assets b{font-size:16px}
 #app #account-popover .account-guest-footer a{min-height:44px}
}
@keyframes account-sheet-reveal{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#app #account-popover{animation:none}#app #account-popover nav a,body[data-ui-shell="community"] #app .topbar :is(button,a){transition:none}}
/* Boundary handle belongs to the sidebar, not to the brand controls. */
@media(min-width:761px){
 body[data-ui-shell="community"] #app .topbar .sidebar-toggle{position:fixed;left:var(--sidebar-toggle-left,196px);top:calc(50dvh + 38px);transform:translateY(-50%);display:flex;width:28px;min-width:28px;height:54px;min-height:54px;padding:4px;border:1px solid #dfcbb9;border-radius:8px;background:#fffcf7;color:#8d5c42;box-shadow:0 2px 7px #61402a0d;z-index:55;transition:background .16s,color .16s}
 body[data-ui-shell="community"] #app .topbar .sidebar-toggle svg{width:18px;height:18px;stroke-width:1.7}
 body[data-ui-shell="community"] #app .topbar .sidebar-toggle-arrow{transform-origin:12px 12px}
 html.sidebar-collapsed body[data-ui-shell="community"] #app .topbar .sidebar-toggle{border-left:0;border-radius:0 8px 8px 0}
 body[data-ui-shell="community"] #app .topbar .sidebar-toggle:active{transform:translateY(-50%)}
 body[data-ui-shell="community"] #app .topbar .sidebar-toggle:focus-visible{outline:2px solid #984630;outline-offset:3px}
}
body[data-ui-shell="community"] #app .topbar .account-menu-trigger{background:#fff6e90d;outline:1px solid #f4dbbb66;outline-offset:-2px}
body[data-ui-shell="community"] #app .topbar .account-menu-trigger>svg{color:#fff3de;stroke:currentColor;stroke-width:1.6;width:24px;height:24px}
body[data-ui-shell="community"] #app .topbar .town-clock{gap:10px}
body[data-ui-shell="community"] #app .topbar .town-clock-copy{gap:5px}
body[data-ui-shell="community"] #app .topbar .town-clock-time{font-size:22px;font-weight:550;letter-spacing:1.3px}
body[data-ui-shell="community"] #app .topbar .town-clock-date{font-size:10px;font-weight:400;letter-spacing:.2px;color:#f0d9c1;white-space:nowrap}
body[data-ui-shell="community"] #app .topbar .town-clock-bridge{width:43px;height:32px;color:#f0d5ae}
@media(hover:hover){body[data-ui-shell="community"] #app .topbar .sidebar-toggle:hover{background:#f3e7d9;color:#984630}body[data-ui-shell="community"] #app .topbar .account-menu-trigger:hover{background:#fff6e91c;outline-color:#f4dbbb}}
@media(max-width:760px){body[data-ui-shell="community"] #app .topbar .town-clock{gap:6px}body[data-ui-shell="community"] #app .topbar .town-clock-time{font-size:13px;letter-spacing:.8px}body[data-ui-shell="community"] #app .topbar .town-clock-bridge{width:29px;height:19px}}
