.amb-shell-head{position:relative;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;min-height:60px;padding:.45rem clamp(.55rem,2vw,1.3rem);background:linear-gradient(105deg,#251529f5,#4a2441f2 55%,#173540f2);border-bottom:1px solid #c8a978a8;box-shadow:0 4px 20px #120b1e82;color:#fff0d9;font-family:Arial,sans-serif}
.amb-directory-subnav{display:flex;order:4;flex-basis:100%;justify-content:center;gap:.3rem;margin:.25rem calc(-1 * clamp(.55rem,2vw,1.3rem)) -.45rem;padding:.35rem clamp(.55rem,2vw,1.3rem);border-top:1px solid #c8a9787a;background:#24182de8}
.amb-directory-subnav[hidden]{display:none}
.amb-directory-subnav a{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-width:0;padding:.38rem .75rem;border:1px solid transparent;color:#f9e8d5;text-decoration:none;font-size:.78rem}
.amb-directory-subnav a:hover,.amb-directory-subnav a[aria-current=page]{background:#8ee3e02a;border-color:#a9ddd79c;color:#fff}
.amb-directory-subnav a:focus-visible{outline:2px solid #b5f7f0;outline-offset:2px}
@media(max-width:730px){.amb-directory-subnav{justify-content:space-around;gap:0}.amb-directory-subnav a{flex:1;flex-direction:column;gap:.12rem;padding:.28rem .1rem;font-size:.62rem}.amb-directory-subnav .amb-nav-icon{width:1.1rem;height:1.1rem}}
.amb-shell-brand{display:flex;align-items:center;gap:.4rem;flex:none;color:#fff0d9;text-decoration:none;font:700 .77rem Georgia,serif;line-height:1.05;letter-spacing:.035em;white-space:nowrap}
.amb-shell-brand>span:first-child{font:1.7rem Georgia,serif;color:#e8ba74;text-shadow:0 0 8px #aaf4ec}
.amb-shell-brand small{display:block;margin-top:.2rem;color:#b8e8e5;font:700 .52rem Arial,sans-serif;letter-spacing:.18em}
.amb-shell-wordmark{display:block;width:100%;height:clamp(34px,4.2vw,48px);object-fit:cover;object-position:center;filter:drop-shadow(0 1px 5px #0d0916)}
.amb-shell-brand{display:flex;flex-direction:column;align-items:flex-end;width:clamp(230px,30vw,365px);gap:0!important}
.amb-shell-brand-label{display:block;margin:-3px 2% 0 0;color:#b8e8e5;font:700 .54rem Arial,sans-serif;letter-spacing:.2em}
@media(max-width:730px){.amb-shell-brand{width:min(75vw,360px)}.amb-shell-wordmark{height:clamp(42px,11vw,55px)}.amb-shell-brand-label{font-size:.46rem}}
.amb-shell-nav{display:flex;align-items:center;gap:.1rem;margin-left:auto;min-width:0}
.amb-shell-nav a,.amb-shell-account>a,.amb-shell-account summary{display:block;padding:.48rem .52rem;border:1px solid transparent;color:#f9e8d5;text-decoration:none;white-space:nowrap;font-size:.78rem;cursor:pointer}
.amb-shell-nav a:hover,.amb-shell-nav a[aria-current=page],.amb-shell-account>a:hover,.amb-shell-account>a[aria-current=page],.amb-shell-account summary:hover{background:#8ee3e02a;border-color:#a9ddd79c;color:#fff}
.amb-shell-account{flex:none;position:relative}.amb-shell-account details{position:relative}.amb-shell-account summary{list-style:none}.amb-shell-account summary::-webkit-details-marker{display:none}.amb-shell-account summary:after{content:' ▾';color:#b6e9e8}.amb-shell-menu{position:absolute;z-index:30;right:0;top:100%;display:grid;min-width:165px;padding:.25rem;background:#2b1b35;border:1px solid #c9ab7f;box-shadow:0 8px 20px #100b1dcc}.amb-shell-menu a{padding:.5rem;color:#fff1db;text-decoration:none;font-size:.78rem}.amb-shell-menu a:hover{background:#7c545b}.amb-shell-footer{display:flex;justify-content:center;gap:.7rem;margin-top:auto;padding:.7rem;background:#211a2de8;border-top:1px solid #a9896480;color:#d6f4f2;font-size:.72rem}.amb-shell-footer a{color:#d6f4f2}.amb-shell-head a:focus-visible,.amb-shell-head summary:focus-visible{outline:2px solid #b5f7f0;outline-offset:2px}
@media(max-width:730px){.amb-shell-head{flex-wrap:wrap;gap:0;min-height:0}.amb-shell-brand{flex:1;padding:.1rem}.amb-shell-account{margin-left:auto}.amb-shell-nav{order:3;flex-basis:100%;justify-content:space-between;margin:0;padding-top:.3rem}.amb-shell-nav a{flex:1;text-align:center;padding:.42rem .12rem;font-size:.69rem}.amb-shell-account>a,.amb-shell-account summary{font-size:.7rem;padding:.4rem}.amb-shell-menu{right:0}}
.amb-shell-head{background:linear-gradient(105deg,#24142ef2,#3e1b3bee 55%,#183341ed),url('./assets/fabric/pink-olive.webp') center/520px auto repeat;background-blend-mode:normal,soft-light}
/* Main tabs follow the finger and settle with the usual flat app slide. */
main.amb-swipe-drag,main.amb-swipe-snap,main.amb-swipe-commit,main.amb-swipe-enter{position:relative;will-change:transform}
main.amb-swipe-drag{transition:none;transform:translate3d(var(--amb-swipe-x,0),0,0)}
main.amb-swipe-snap{transform:translate3d(0,0,0);transition:transform .22s ease-out}
main.amb-swipe-commit{transform:translate3d(var(--amb-swipe-x),0,0);transition:transform .18s ease-out}
main.amb-swipe-enter{animation:amb-page-arrive .22s ease-out both}
main.amb-swipe-enter.amb-swipe-from-left{animation-name:amb-page-arrive-left}
@keyframes amb-page-arrive{from{transform:translate3d(100vw,0,0)}to{transform:translate3d(0,0,0)}}
@keyframes amb-page-arrive-left{from{transform:translate3d(-100vw,0,0)}to{transform:translate3d(0,0,0)}}
@media(prefers-reduced-motion:reduce){main.amb-swipe-drag,main.amb-swipe-snap,main.amb-swipe-commit,main.amb-swipe-enter{animation:none!important;transition:none!important;transform:none!important}}
.amb-nav-icon{display:inline-block;flex:none;width:1.12rem;height:1.12rem;vertical-align:-.2em;overflow:visible}
.amb-shell-nav a{display:inline-flex;align-items:center;justify-content:center;gap:.34rem}
.amb-shell-account{display:flex;align-items:center;gap:.25rem}
.amb-fullscreen-toggle{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:4px;border:1px solid #a9ddd79c;background:#8ee3e020;color:#fff0d9;cursor:pointer}
.amb-fullscreen-toggle:hover,.amb-fullscreen-toggle:focus-visible{background:#8ee3e049;outline:2px solid #b5f7f0;outline-offset:2px}
.amb-fullscreen-toggle[aria-pressed=true]{background:#8ee3e05c}
.amb-shell-account summary{display:grid;place-items:center;width:34px;height:34px;padding:4px;border-color:#a9ddd79c;background:#8ee3e020}
.amb-shell-account>a[data-swipe-tab="guild"]{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:4px;border:1px solid #a9ddd79c;background:#8ee3e020}
.amb-shell-account>a[data-swipe-tab="guild"] .amb-nav-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.amb-shell-account summary:after{display:none}
.amb-account-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.amb-shell-account details[open] summary{background:#8ee3e05c}
@media(max-width:730px){.amb-shell-nav a{min-width:0;padding:.42rem .15rem}.amb-shell-nav .amb-nav-icon{width:1.25rem;height:1.25rem}.amb-nav-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.amb-shell-account{gap:.15rem}.amb-fullscreen-toggle{width:32px;height:32px}}
@media(max-width:730px){.amb-shell-account summary,.amb-shell-account>a[data-swipe-tab="guild"]{width:32px;height:32px}}
@media(max-width:1250px){.amb-shell-head{flex-wrap:wrap;gap:0}.amb-shell-nav{order:3;flex-basis:100%;width:100%;margin:0;justify-content:space-between;overflow-x:auto;scrollbar-width:thin}.amb-shell-nav a{flex:1;min-width:max-content}.amb-shell-account{margin-left:auto}}
@media(max-width:730px){.amb-shell-nav a{min-width:0}.amb-shell-nav .amb-nav-icon{width:1.12rem;height:1.12rem}}
.amb-embedded .amb-shell-head,.amb-embedded .amb-shell-footer{display:none!important}
.amb-shell-account>.amb-fullscreen-toggle,.amb-shell-account>details>summary,.amb-shell-account>a[data-swipe-tab="guild"]{box-sizing:border-box;display:grid;place-items:center;flex:none;width:34px;height:34px;min-width:34px;min-height:34px;margin:0;padding:0;line-height:1;appearance:none;border:1px solid #a9ddd79c;background:#8ee3e020;color:#fff0d9}
.amb-shell-account>.amb-fullscreen-toggle .amb-nav-icon,.amb-shell-account>details>summary .amb-nav-icon,.amb-shell-account>a[data-swipe-tab="guild"] .amb-nav-icon{width:20px;height:20px;vertical-align:0}
@media(max-width:730px){.amb-shell-account>.amb-fullscreen-toggle,.amb-shell-account>details>summary,.amb-shell-account>a[data-swipe-tab="guild"]{width:32px;height:32px;min-width:32px;min-height:32px}}

/* Raise the shared menu stacking context above the global status banner. */
.amb-shell-head:has(details[open]){z-index:10060}

.amb-shell-menu form{margin:0}.amb-shell-menu form button{display:block;width:100%;padding:.55rem .8rem;text-align:left;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.amb-shell-menu form button:hover{background:#8ee3e02a}
