/* Namespaced styles: designed not to override Campaign, Online Co-op, Soul, PvP or HUD. */
.abp-root {font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#f4ebd5;position:relative;z-index:2147483000}
.abp-root * {box-sizing:border-box}
/* Party is an artwork icon in the SAME top HUD icon dock as Daily Quests. */
#aetherTopPanelDock .abp-launcher{position:relative!important;inset:auto!important;transform:none!important;display:block!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:1px!important;border:1px solid #c99f52!important;border-radius:6px!important;background:#0a1a2b url('/party-artwork.webp?v=456') center center/contain no-repeat!important;color:transparent!important;font-size:0!important;box-shadow:0 0 5px #e2bb6e50;cursor:pointer;touch-action:manipulation}
#aetherTopPanelDock .abp-launcher:focus-visible{outline:2px solid #9ce9ff;outline-offset:2px}
#aetherTopPanelDock .abp-launcher.abp-has-invite::after{content:'';position:absolute;right:-3px;top:-3px;width:10px;height:10px;border:2px solid #101827;border-radius:50%;background:#ff779f;box-shadow:0 0 8px #ff4ea4}

.abp-panel {position:fixed;right:12px;top:calc(68px + env(safe-area-inset-top,0px));bottom:auto;z-index:2147483002;width:min(390px,calc(100vw - 24px));max-height:min(75vh,680px);overflow-y:auto;background:#121726;box-shadow:0 14px 55px #000b;border:1px solid #ba9357;border-radius:14px;padding:14px;overscroll-behavior:contain}
.abp-hidden {display:none!important}
.abp-header {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid #67563d;padding-bottom:10px}
.abp-title {font-size:17px;font-weight:900;letter-spacing:.08em;color:#f2d69e}
.abp-subtitle {font-size:10px;color:#bdb6a8;letter-spacing:.18em;margin-top:3px}
.abp-small,.abp-close {background:#2a344a;color:#f7efdf;border:1px solid #8c785e;border-radius:7px;padding:7px 11px;font-size:12px;font-weight:700;cursor:pointer;min-height:36px}
.abp-small:disabled {opacity:.35;cursor:default}
.abp-small:not(:disabled):hover,.abp-close:hover {background:#445170}
.abp-close {padding:5px 10px}
.abp-feedback {font-size:12px;min-height:17px;color:#bde0b8;margin:7px 0}
.abp-error {color:#ffb8b8}
.abp-section {padding:10px 0;border-top:1px solid #323a4a}
.abp-section-heading {font-size:12px;font-weight:800;letter-spacing:.07em;color:#e4bc75;margin:0 0 9px}
.abp-player {display:flex;justify-content:space-between;align-items:center;gap:8px;margin:6px 0;font-size:13px;min-height:36px}
.abp-member {overflow-wrap:anywhere}
.abp-muted {font-size:12px;color:#b2b7c4;margin:7px 0}
.abp-invite {background:#2d2740;border:1px solid #947a45;border-radius:10px;padding:11px;font-size:13px}
.abp-actions {display:flex;gap:8px;margin-top:9px}
@media(max-width:700px) {
  .abp-panel {left:7px;right:7px;width:auto;top:calc(72px + env(safe-area-inset-top,0px));bottom:auto;max-height:min(68dvh,520px);padding:12px}
}

/* Invite visibility and iOS-friendly touch handling */
.abp-has-invite{border-color:#ffe7a5;box-shadow:0 0 0 2px #e4b9604d,0 4px 18px #000b}
.abp-root button{touch-action:manipulation}
@media (max-height:500px) and (pointer:coarse) {
 .abp-panel{top:57px;bottom:8px;max-height:calc(100dvh - 65px)}
}


@media(max-width:900px){#aetherTopPanelDock .abp-launcher{flex-basis:36px!important}}
