/* Scroll painting belongs entirely to the inner well, including its corners. */
body.desktop-client #panel[data-native-panel=npc] .native-npc-service-pane{min-width:0;min-height:0;box-sizing:border-box}
body.desktop-client #panel[data-native-panel=npc] .native-npc-services{flex:1 1 0%;min-height:0;height:auto;max-height:none;margin:0;overflow:auto;overflow-x:hidden;clip-path:inset(0);contain:paint;overscroll-behavior:contain}
body.desktop-client #panel[data-native-panel=npc] .native-npc-services>.quest-entry{width:100%;max-width:100%;margin:0;padding:10px 0;border:0;border-bottom:1px solid #6c6243;box-sizing:border-box}
body.desktop-client #panel[data-native-panel=npc] .native-npc-service-title{background:none;left:26px;top:-24px;color:#f2dca7;text-shadow:0 1px #17140c}
body.desktop-client #panel[data-native-panel=npc] .native-npc-footer{box-sizing:border-box;min-height:42px;max-width:100%;margin:0;padding:4px 8px 0;flex:0 0 42px;align-items:center}
body.desktop-client #panel[data-native-panel=npc] .native-npc-footer>button{min-height:30px;margin:0}
/* Use the record frame and the same quest scroll as the function rail. */
body.desktop-client.touch-client #window-quests{border:solid transparent;border-width:35px 28px 28px;border-image:url('/assets/ui/followup/options-0-0.png') 28 28 22 / 35px 28px 28px / 0 stretch}
body.desktop-client.touch-client #window-quests .window-header::before{content:'';position:absolute;left:-26px;top:0;width:28px;height:28px;background:url('/assets/ui/rail-8-0-full.png') center/contain no-repeat;pointer-events:none}
body.desktop-client.touch-client #window-quests [data-close]{right:-36px;top:-7px;width:44px;height:44px;min-height:44px;font-size:0;color:transparent;border:0;background:none;box-shadow:none}
body.desktop-client.touch-client #window-quests [data-close]::before{content:none}
body.desktop-client.touch-client #window-quests [data-close]:focus-visible{outline:1px solid #ebcc85;outline-offset:-6px;border-radius:50%}
.touch-target-switch{display:none}
body.desktop-client.touch-client .actionbar .touch-target-switch{display:grid;place-items:center;position:absolute;left:0;top:55px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #967c4b;border-radius:50%;background:radial-gradient(circle,#25342e 50%,#0e1816 67%,#927342 71%,#221b12 77%);color:#f2deb0;box-shadow:0 1px 3px #0009;pointer-events:auto;touch-action:manipulation;font:20px/1 var(--font)}
body.desktop-client.touch-client .touch-target-switch small{position:absolute;top:44px;left:-4px;right:-4px;font:10px/12px var(--font);white-space:nowrap;color:#f2deb0;text-shadow:0 1px #000}
