:is(#npc-window,#commerce-window){isolation:isolate;box-sizing:border-box;top:35px;max-width:calc(100% - 8px);max-height:calc(100% - 8px);padding:50px 22px 24px;border:0;border-image:none;border-radius:0;box-shadow:none;background:transparent;color:#e6d7bd;overflow:hidden;font-family:'Microsoft JhengHei',sans-serif;pointer-events:auto}:is(#npc-window,#commerce-window)::before,:is(#npc-window,#commerce-window)::after{display:none}:is(#npc-window,#commerce-window)>.window-title{position:absolute;top:9px;left:20px;right:20px;display:flex;align-items:center;justify-content:center;height:20px;min-height:20px;margin:0;padding:0 18px;border:0;background:transparent}:is(#npc-window,#commerce-window)>.window-title h2{min-width:0;max-width:100%;margin:0;padding:0 2px;font:700 14px/20px 'Noto Serif TC','DFKai-SB','PMingLiU',serif;letter-spacing:.025em;text-align:center;color:#f4dea3;text-shadow:0 1px 1px #0c0904;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:is(#npc-window,#commerce-window) .close-window{position:absolute;right:-5px;top:0;width:16px;height:16px;min-height:16px;flex:0 0 16px;padding:1px;border:1px solid #89713a;border-radius:0;background:#171710;color:#e6d7ad}:is(#npc-window,#commerce-window) .close-window svg{width:12px;height:12px}:is(#npc-window,#commerce-window) .close-window:hover:not(:disabled){background:#353023;border-color:#d6b770;color:#fff0bc}#npc-window{width:280px;height:380px}#npc-content{flex:1;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;padding:0 3px 2px 0;font-size:13px;line-height:1.55;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#95805a #151713;overscroll-behavior:contain;overflow-wrap:anywhere}#npc-content .npc-line{max-width:200px;min-height:12px;margin-inline:auto;line-height:1.55;white-space:normal}#npc-content .npc-command-line{padding:0}#npc-content .npc-command{display:inline;width:auto;max-width:100%;min-height:0;padding:0;border:0;border-image:none;border-radius:0;background:transparent;box-shadow:none;font:inherit;line-height:inherit;text-align:inherit;color:#ffd700;vertical-align:baseline}#npc-content .npc-command::after{content:none}#npc-content .npc-command:hover:not(:disabled){background:transparent;color:#ffeaa0;text-decoration:underline;text-underline-offset:2px;filter:none}#npc-content .npc-image-atom{vertical-align:middle}#npc-content .npc-image-atom img{max-width:100%;width:auto;height:auto;vertical-align:middle;image-rendering:pixelated}#npc-content .npc-page-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;padding:6px 0}#npc-content .npc-page-button{display:inline-flex;justify-content:center;align-items:center;width:28px;min-height:26px;height:26px;padding:2px;border:1px solid #89713a;background:#171918;color:#ead6a6}#npc-content .npc-page-button:hover:not(:disabled){background:#302c1f;text-decoration:none}#npc-content .clan-create-open{display:flex;justify-content:center;align-items:center;min-height:34px;max-width:100%;width:190px;margin:8px auto;padding:7px 16px;background:url('/ui/menu380/button.png') center 40%/100% 170% no-repeat;border:0;color:#ffe1a0;text-align:center;font:600 14px/20px 'Microsoft JhengHei',sans-serif}#npc-content .clan-create-open:hover:not(:disabled){background:url('/ui/menu380/button.png') center 40%/100% 170% no-repeat;text-decoration:none;filter:brightness(1.2)}:is(#npc-window,#commerce-window) :is(input,select){box-sizing:border-box;max-width:100%;border:1px solid #786647;border-radius:0;background:#0d100e;color:#f0e7d2;outline:0;font:14px/20px 'Microsoft JhengHei',sans-serif}:is(#npc-window,#commerce-window) input:focus{border-color:#d6b770;box-shadow:0 0 0 1px #d6b77044}:is(#npc-window,#commerce-window) .commerce-footer{display:flex;flex:none;justify-content:center;gap:10px;margin:0;padding:10px 0 0}:is(#npc-window,#commerce-window) .commerce-footer button{display:inline-flex;align-items:center;justify-content:center;flex:1;min-width:0;max-width:140px;min-height:32px;height:32px;padding:5px 12px;border:0;border-radius:0;box-shadow:none;background:url('/ui/menu380/button.png') center 40%/100% 170% no-repeat;color:#ead6a6;font:13px/20px 'Microsoft JhengHei',sans-serif;text-shadow:0 1px 1px #000}:is(#npc-window,#commerce-window) .commerce-footer button:hover:not(:disabled){background:url('/ui/menu380/button.png') center 40%/100% 170% no-repeat;color:#fff0bb;filter:brightness(1.2)}:is(#npc-window,#commerce-window) .commerce-footer button:disabled{opacity:.42;filter:grayscale(.8)}#npc-window .npc-amount-form{flex:none;gap:6px 8px;margin:10px 0 0;padding:8px 0 0;border-top:1px solid #655839}#npc-window .npc-amount-form input{min-height:30px;height:30px;padding:4px 7px}#npc-window .npc-amount-form .commerce-footer{padding-top:2px}#npc-content .clan-create-form{gap:10px;padding:0 4px;color:#e6d7bd}#npc-content .clan-create-form label{display:block;font-size:13px;line-height:20px;text-align:center}#npc-content .clan-create-form input{width:100%;min-height:32px;height:32px;padding:5px 8px;text-align:center}#npc-content .clan-create-form p{font-size:12px;line-height:20px;text-align:center;overflow-wrap:anywhere}#npc-content .clan-create-error:empty{display:none}#commerce-window{width:340px;height:420px}#commerce-summary{flex:none;margin:0 0 8px;min-height:20px;max-width:100%;font-size:12px;line-height:20px;text-align:right;color:#eace8b;overflow-wrap:anywhere}#commerce-summary:empty{display:none}#commerce-list{flex:1;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;padding:0 5px 0 0;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#95805a #151713;overscroll-behavior:contain}#commerce-list .commerce-row{gap:9px;min-height:64px;padding:7px 4px;border-bottom:1px solid #60563d;cursor:default}#commerce-list .commerce-row:nth-child(even){background:#a9966e0a}#commerce-list .commerce-row.editing,#commerce-list .commerce-row:focus-within{background:#c6a75b18}#commerce-list .slot{width:38px;height:38px;min-height:38px;border:1px solid #8c774a;background:#0b0d0a}#commerce-list .commerce-body{min-width:0}#commerce-list .commerce-name{padding:0;font-size:13px;line-height:20px;color:#eee3cc}#commerce-list .commerce-values{flex-wrap:wrap;gap:3px 8px;min-height:26px;font-size:11px;line-height:18px}#commerce-list .commerce-price{color:#c6b17d}#commerce-list .commerce-quantity{gap:3px;margin-left:auto;max-width:100%}#commerce-list .commerce-quantity input{box-sizing:content-box;min-width:3ch;max-width:8ch;height:20px;padding:2px 5px;font:13px/20px Consolas,'Microsoft JhengHei',sans-serif;text-align:center;font-variant-numeric:tabular-nums}#commerce-list .commerce-quantity button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:26px;min-height:26px;padding:0;border:1px solid #887447;border-radius:0;background:#23251c;color:#efdbab;font:16px/24px sans-serif}#commerce-list .commerce-quantity button:hover:not(:disabled){background:#3b3828;border-color:#c1a56a}@media(max-width:360px){:is(#npc-window,#commerce-window){padding-left:18px;padding-right:18px}#commerce-list .commerce-row{gap:6px}}#npc-content .npc-response{margin:0 0 8px;padding:4px;color:#ead8a8;font-size:12px;line-height:1.5;overflow-wrap:anywhere}