/* Shared header/footer; intentionally independent of finalized profile card CSS. */
.loa-shell-header,.loa-shell-footer{font-family:'Inter',system-ui,sans-serif;color:#e6d9bf;box-sizing:border-box}
.loa-shell-header *,.loa-shell-footer *{box-sizing:border-box}
.loa-shell-header{position:sticky;top:0;z-index:120;background:#0b1019f5;border-bottom:1px solid #7d6746;box-shadow:0 6px 24px #0008}
.loa-shell-inner{width:min(1450px,calc(100% - 36px));margin:auto;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.loa-shell-brand{font-family:'Cinzel',Georgia,serif;font-size:clamp(15px,1.45vw,20px);letter-spacing:.04em;line-height:1.2;color:#f6dfa9!important;text-decoration:none!important;font-weight:700;white-space:nowrap}
.loa-shell-nav{display:flex;align-items:center;gap:2px}
.loa-shell-nav details{position:relative}.loa-shell-nav summary{list-style:none;color:#e9d6ae!important;padding:13px 10px;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap;border-radius:5px}.loa-shell-nav summary::-webkit-details-marker{display:none}.loa-shell-nav summary:after{content:' ▾';opacity:.75}.loa-shell-nav details[open]>summary,.loa-shell-nav summary:hover{background:#28303d;color:#fff2c7!important}
.loa-shell-dropdown{position:absolute;top:100%;right:0;width:max-content;min-width:220px;max-height:80vh;overflow-y:auto;background:#111a28;border:1px solid #79643f;box-shadow:0 18px 32px #000a;border-radius:7px;padding:8px;display:flex;flex-direction:column;gap:1px;z-index:3}
.loa-shell-dropdown a{display:block;padding:9px 12px;border-radius:4px;text-decoration:none!important;color:#d8dbe1!important;font-size:12px;letter-spacing:normal!important;text-transform:none!important;white-space:nowrap}
.loa-shell-dropdown a:hover,.loa-shell-dropdown a:focus-visible{background:#343b4a;color:#fce5aa!important}
.loa-shell-account{margin-left:8px}.loa-shell-account summary{border:1px solid #947547;background:#5a492b;color:#fff1c3!important}
.loa-shell-toggle{display:none;color:#f8ddab;background:#222b3a;border:1px solid #836942;padding:9px 14px;border-radius:5px;font-weight:700;cursor:pointer}
.loa-shell-footer{background:#0b1019;border-top:1px solid #655439;padding:40px 0 20px}
.loa-shell-foot-inner{width:min(1216px,calc(100% - 36px));margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}
.loa-shell-foot-inner section{display:flex;flex-direction:column;gap:8px}.loa-shell-foot-inner h3{font:700 17px 'Cinzel',serif;color:#e9cb88;margin:0 0 7px}.loa-shell-foot-inner a{color:#aebac9;text-decoration:none;font-size:12px}.loa-shell-foot-inner a:hover{color:#f5dca5}
.loa-shell-copyright{border-top:1px solid #343e4d;width:min(1216px,calc(100% - 36px));margin:28px auto 0;padding-top:16px;color:#8e9aaa;font-size:12px}
@media(max-width:1150px){.loa-shell-toggle{display:block}.loa-shell-inner{flex-wrap:wrap;padding:13px 0;min-height:64px}.loa-shell-nav{display:none;width:100%;flex-direction:column;align-items:stretch;padding:10px 0}.loa-shell-nav.is-open{display:flex}.loa-shell-nav details,.loa-shell-account{margin:0;width:100%}.loa-shell-nav summary{padding:12px 16px;border-bottom:1px solid #303948}.loa-shell-dropdown{position:static;width:100%;max-height:none;box-shadow:none;border:0;border-radius:0;padding:4px 8px 10px 17px;background:#111723}.loa-shell-dropdown a{white-space:normal}.loa-shell-foot-inner{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.loa-shell-brand{font-size:15px}.loa-shell-foot-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.loa-shell-foot-inner h3{font-size:14px}.loa-shell-footer{padding-top:28px}}

/* Collapsed details MUST hide their dropdowns even though .loa-shell-dropdown is display:flex. */
.loa-shell-nav details:not([open])>.loa-shell-dropdown{display:none!important}
