/* Story route only: original backgrounds, quiet discovery mode and other games stay intact. */
.kx-story-route .kx-introduction{margin:0;padding:18px 20px;line-height:1.65;color:#f5f1e5;background:#14213d;font-size:1rem;white-space:normal}
.kx-story-route .kx-mission{padding:16px 20px;border:2px solid #e2c15d;border-radius:12px;margin:10px;background:#fff3c4;color:#14213d}
.kx-story-route .kx-mission h4{font-size:1.15rem;line-height:1.45;margin:6px 0 10px;color:#14213d}
.kx-story-route .kx-mission .kx-button{background:#14213d;color:white}
.kx-story-route .kx-feedback{margin:0;padding:12px 20px;background:#14213d;color:#ffedac;line-height:1.5;min-height:1.5em}
.kx-story-route .kx-feedback:empty{display:none}
.kx-story-route .kx-scene{aspect-ratio:3/2;height:auto;min-height:0;width:100%;border-radius:0}
.kx-story-route .kx-background{object-fit:contain;scale:1;transition:none}
.kx-story-route .kx-veil{background:linear-gradient(#071c2320,transparent 50%,#08221b22)}
.kx-story-route .kx-point{width:48px;height:48px;min-width:48px;min-height:48px;background:transparent;border:0;box-shadow:none;filter:drop-shadow(0 2px 3px #0008);padding:0}
.kx-story-route .kx-point>img,.kx-story-route .kx-piece-art{width:100%;height:100%;object-fit:contain;pointer-events:auto}
.kx-story-route .kx-point:not(.kx-landmark):not(.kx-found)>img{padding:7px;box-sizing:border-box}
.kx-story-route .kx-point:not(.kx-landmark):not(.kx-found)>.kx-piece-art{padding:5px;box-sizing:border-box}
.kx-story-route .kx-point.kx-found{background:#14213dc9;outline:2px solid #ffce32;filter:none;width:44px;min-width:44px;height:44px;min-height:44px}
.kx-story-route .kx-point.kx-found::after{display:none}
.kx-story-route .kx-marker{display:grid;place-items:center;width:100%;height:100%;box-sizing:border-box;font-size:.65rem;line-height:1.2;padding:3px;color:#fff8df;background:#14213dd9;border:1px solid #ffe5a3;border-radius:50%;overflow-wrap:normal}
.kx-story-route .kx-found .kx-marker{font-size:1.3rem;color:#ffe479;border:0}
.kx-story-route .kx-hint{outline:4px solid #ffda45!important;outline-offset:4px;box-shadow:0 0 0 8px #14213dc9;z-index:8}
.kx-story-route .kx-bag .kx-piece-art{width:28px;height:28px;vertical-align:middle;margin-right:6px;flex:none}
.kx-story-route .kx-bag .kx-button{text-align:left;min-width:0;overflow-wrap:anywhere}
.kx-story-route .kx-story{position:relative;inset:auto;width:auto;max-height:none;white-space:pre-line}
.kx-story-route .kx-story-actions{gap:10px;flex-wrap:wrap}
.kx-story-route .kx-story-actions .kx-sigil{width:106px;min-width:106px;height:120px;white-space:normal}
.kx-story-route .kx-story-actions .kx-sigil .kx-piece-art{width:52px;height:52px}
.kx-story-route .kx-button:disabled{opacity:.62;cursor:default;filter:none}
.kx-story-route .kx-button:disabled:hover{background:#15382ee8;color:#fff3dc}
.kx-story-route .kx-map button{flex:1 1 190px;min-width:0;overflow-wrap:anywhere}
.kx-story-route .kx-view-only .kx-points{visibility:hidden;pointer-events:none}
.kx-story-route .kx-progress{font-weight:400;line-height:1.5}
.kx-story-route .kx-button:focus-visible,.kx-story-route .kx-point:focus-visible{outline:3px solid #ffdf60;outline-offset:3px;box-shadow:0 0 0 6px #14213d}
@media(max-width:650px){.kx-story-route .kx-top{padding:14px}.kx-story-route .kx-top-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.kx-story-route .kx-top-actions button{min-width:0;min-height:44px;white-space:normal}.kx-story-route .kx-introduction{padding:14px}.kx-story-route .kx-scene{aspect-ratio:3/2;height:auto;min-height:0}.kx-story-route .kx-mission{padding:12px;margin:8px}.kx-story-route .kx-mission h4{font-size:1rem}.kx-story-route .kx-detail-list{padding:10px}.kx-story-route .kx-detail-list button{flex-basis:100%;text-align:left}.kx-story-route .kx-tray{display:block}.kx-story-route .kx-bag{margin:10px 0}.kx-story-route .kx-story-actions .kx-sigil{width:80px;min-width:76px;height:112px;padding:6px;font-size:.8rem}.kx-story-route .kx-map button{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.kx-story-route *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
