body :is(#npc-services,#npc-rest-heal,#npc-misc,#guild,#npc-arena,#npc-dual,#npc-war,#portal-menu,.auction-window).npc-original-window{position:fixed;left:auto;right:12px;bottom:auto;margin:0;padding:0;min-width:0;min-height:0;max-width:none;max-height:none;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;transform:none;color:#17170f;z-index:40}
body .npc-window-art{position:relative;transform:scale(var(--npc-art-scale,1));transform-origin:top left;background-size:100% 100%;background-repeat:no-repeat;font:12px/1.25 Tahoma,sans-serif;text-shadow:none}
body .npc-window-art .npc-art-button{position:absolute;box-sizing:border-box;min-height:0;min-width:0;padding:2px 3px;margin:0;border:0;border-radius:0;background:transparent;color:#17170f;font:12px/1.1 Tahoma,sans-serif;text-shadow:none;box-shadow:none;white-space:normal;cursor:pointer}
body .npc-window-art .npc-art-button:hover:not(:disabled){box-shadow:inset 0 0 0 1px #fff3b9;backdrop-filter:brightness(1.15)}
body .npc-window-art .npc-art-button:disabled{opacity:.55;cursor:default}
body .npc-window-art .npc-art-button[data-baked]{color:transparent}
body .npc-window-art .npc-art-button[data-row]{border:2px ridge #b0a17b;background:#6b624a99;color:#f0e0ba}
body #npc-dual .npc-art-button[data-second]{font-size:10px;white-space:nowrap;border:0;outline:0;background:transparent;color:#f0e0ba;isolation:isolate}
body #npc-dual .npc-art-button[data-second]:hover:not(:disabled){box-shadow:none;backdrop-filter:none;color:#fff3b9}
body #npc-dual .npc-art-button[data-second]:disabled{opacity:1;color:#817b68}
body #npc-dual .npc-art-button[data-second][aria-pressed=true]{outline:0;background:transparent;color:#ffe5a1}
body #npc-dual .npc-art-button[data-second][aria-pressed=true]::before{content:'';position:absolute;inset:2px;background:#746233;z-index:-1;pointer-events:none}
/* The imported background retains a stray rule above the two lower slots. */
body #npc-dual .npc-art-button:is([data-second=archer],[data-second=wizard])::after{content:'';position:absolute;left:-1px;right:-1px;top:-6px;height:6px;background:#000;pointer-events:none}
body #npc-dual .npc-art-button[data-second]:focus-visible{outline:1px solid #ffe5a1;outline-offset:-3px}
body #npc-dual .npc-art-button[data-confirm-dual]{padding:0;background:url('../../assets/dual-ui/dual-6.png') no-repeat 0 0/100% 100%;color:transparent;text-shadow:none}
body #npc-dual .npc-art-button[data-confirm-dual]:hover:not(:disabled){box-shadow:none;backdrop-filter:none;color:transparent;text-shadow:none}
body #npc-dual .npc-art-button[data-confirm-dual]:active:not(:disabled){background-image:url('../../assets/dual-ui/dual-7.png')}
body #npc-dual .npc-art-button[data-confirm-dual]:disabled{opacity:1;background-image:url('../../assets/dual-ui/dual-8.png')}
body #npc-dual .npc-art-button[data-dual-confirm-image=divide]{background-image:url('../../assets/dual-ui/dual-9.png')}
body #npc-dual .npc-art-button[data-dual-confirm-image=divide]:active:not(:disabled){background-image:url('../../assets/dual-ui/dual-10.png')}
body #npc-dual .npc-art-button[data-dual-confirm-image=divide]:disabled{background-image:url('../../assets/dual-ui/dual-11.png')}
body #npc-dual .dual-window-close{left:auto;right:8px;top:4px;width:calc(32px / var(--npc-art-scale,1));height:calc(32px / var(--npc-art-scale,1));padding:0;display:grid;place-items:center;border:1px solid #d5bd83;background:#292319;color:#fff1c7;font:bold calc(26px / var(--npc-art-scale,1))/1 Tahoma,sans-serif;z-index:2}
body #npc-dual .dual-window-close::before{content:'';position:absolute;inset:calc(-6px / var(--npc-art-scale,1))}
body #npc-dual .dual-window-close:hover{background:#53442b;box-shadow:none;backdrop-filter:none}
body .npc-window-art .npc-art-button[aria-pressed=true]{outline:1px solid #ffe5a1;outline-offset:-2px;background:#746233}
body .npc-window-art .npc-art-button:focus-visible{outline:2px solid #ffe5a1;outline-offset:-2px}
body .npc-window-art .npc-art-content{position:absolute;box-sizing:border-box;overflow:auto;font:12px/1.35 Tahoma,sans-serif;color:#e7d9b8;padding:5px;background:transparent}
body .npc-window-art .npc-art-content p{margin:4px 0}
body .npc-window-art .npc-art-content label{display:block;margin:4px 0}
body .npc-window-art .npc-art-content input,body .npc-window-art .npc-art-content select{box-sizing:border-box;max-width:100%;min-width:0;font:12px Tahoma;color:#e7d9b8;background:#25251b;border:1px solid #8e805b}
body .npc-window-art .npc-art-content button{font:12px Tahoma;color:#e7d9b8;background:#3b3927;border:1px solid #8e805b;border-radius:0;padding:3px}
body .npc-window-art .npc-art-heading{position:absolute;margin:0;display:flex;align-items:center;justify-content:center;text-align:center;font:14px/1.2 Tahoma;color:#17170f}
body .npc-window-art .npc-art-label{position:absolute;font:12px/1.25 Tahoma;text-align:center;margin:0;color:#17170f}
body .npc-window-art .npc-ladder-table{width:100%;table-layout:fixed;border-collapse:collapse;color:#dfd3af;font:12px Tahoma}
body .npc-window-art .npc-ladder-table td{height:24px;padding:0 4px;border:0}
body .npc-window-art .npc-ladder-table td:first-child{width:43px}
body .npc-window-art .npc-ladder-table td:last-child{width:71px;text-align:right}
body .npc-window-art .npc-ladder-head{position:absolute;display:flex;justify-content:space-between;color:#dfd3af}
body .npc-window-art .npc-portal-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font:10px/18px Tahoma;color:#dfd3af}
body .npc-window-art .npc-portal-table th{color:#dfd3af;background:transparent;font: bold 10px/18px Tahoma,sans-serif}
body .npc-window-art .npc-art-light{color:#e7d9b8}
body .npc-window-art .npc-portal-table :is(td,th){height:18px;padding:0 2px;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .npc-window-art .npc-portal-table :is(td,th):first-child{width:116px;text-align:left}
body .npc-window-art .npc-portal-table :is(td,th):nth-child(2){width:66px;text-align:left}
body .npc-window-art .npc-portal-table :is(td,th):nth-child(3){width:24px;text-align:right;font-variant-numeric:tabular-nums}
body .npc-window-art .npc-portal-table :is(td,th):last-child{width:60px;text-align:right;font-variant-numeric:tabular-nums}
body .npc-window-art .npc-portal-table button{display:block;width:100%;height:18px;padding:0;text-align:left;border:0;background:transparent;font:10px/18px Tahoma;color:inherit}
body .npc-window-art .npc-portal-table button[aria-pressed=true]{background:#746233;color:#fff}
body #portal-menu .npc-portal-table tbody tr{cursor:pointer;touch-action:manipulation}
body #portal-menu .npc-portal-table tr[aria-selected=true] td{background:#746233;color:#fff}
body #portal-menu .npc-portal-page{display:flex;align-items:center;justify-content:center}
body #portal-menu .npc-portal-description{box-sizing:border-box;padding:0 3px;overflow:auto;overflow-wrap:anywhere;touch-action:pan-y}
body #portal-menu .npc-art-button:is([data-action="prev"],[data-action="next"]){display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #b5a375;background:#292b1d;color:#ffe5a1;font:14px/1 Tahoma,sans-serif;touch-action:manipulation}
body #portal-menu .npc-art-button:is([data-action="prev"],[data-action="next"]):disabled{color:#8c876e;border-color:#625e49;background:#171b13;opacity:.6}

body #npc-misc .nation-item-icon{position:absolute;display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:0;padding:0;min-width:0;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:help}
body #npc-misc .nation-item-heading,body #npc-misc .nation-item-name{color:#fff0cc;text-shadow:0 1px 2px #000}
body #npc-misc .nation-item-name{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:2px 5px;overflow-wrap:anywhere;line-height:1.2}
body #npc-misc .nation-item-details{padding:8px;color:#fff0cc;background:#17140fbb;text-align:left;line-height:1.5;text-shadow:0 1px 1px #000}
body #npc-misc .nation-item-details p{margin:0 0 8px;overflow-wrap:anywhere}
body #npc-misc .nation-item-details .nation-item-requirement{color:#ffe0a3}
body #npc-misc .nation-item-details [role=status]{color:#fff0cc;margin-bottom:0}

body #npc-misc .nation-item-icon:focus-visible{outline:1px solid #ffe5a1;outline-offset:1px}
