.city-wizard-dialog{position:fixed;inset:0;z-index:100005;display:grid;place-items:center;padding:20px;background:rgba(5,8,18,.74);backdrop-filter:blur(4px);font-family:Georgia,serif;color:#f4e7c7}
.city-wizard-dialog *{box-sizing:border-box}
.city-wizard-dialog-box{position:relative;width:min(560px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid #a89060;border-radius:12px;background:linear-gradient(145deg,#17202c,#17141e);box-shadow:0 20px 80px #0009}
.city-wizard-dialog h2{font-size:25px;margin:0 35px 18px 0;color:#e9cf91}
.city-wizard-dialog h3{font-size:22px;margin:14px 0;color:#efdfb8}
.city-wizard-dialog p{line-height:1.55;margin:12px 0}
.city-wizard-dialog button{border:1px solid #998362;border-radius:6px;padding:9px 14px;background:#2b2c34;color:#f4e7c7;cursor:pointer;font:inherit}
.city-wizard-dialog button:focus-visible{outline:3px solid #a9e6e7;outline-offset:3px}
.city-wizard-dialog button:disabled{opacity:.5;cursor:wait}
.city-wizard-dialog .city-wizard-close{position:absolute;right:12px;top:10px;padding:2px 10px;font-size:27px;border:0;background:transparent}
.city-wizard-dialog .city-wizard-primary{background:#514329;color:#fff0c5;font-weight:bold}
.city-wizard-greeting{font-style:italic;color:#d9ceb6}
.city-wizard-spell-effect{color:#a9e6e7;font-size:18px}
.city-wizard-training-note{font-size:13px;color:#bfb9ae;border-top:1px solid #665940;padding-top:12px}
.city-wizard-guide-meter{display:flex;gap:10px;align-items:center;min-height:46px;font-size:14px}
.city-wizard-guide-meter [data-wizard-status]{flex:1}
.city-wizard-guide-meter strong{font-variant-numeric:tabular-nums;white-space:nowrap;color:#cde8df}
.city-wizard-guide-meter button{padding:4px 10px;font-size:24px}
.city-wizard-guide-progress{height:5px;overflow:hidden;margin:6px 0 12px;background:#3c3a3b;border-radius:3px}
.city-wizard-guide-progress i{display:block;height:100%;background:#9adfc8;transition:background .2s}
.city-wizard-guide-progress .is-warning{background:#e1a574}
.city-wizard-gesture{display:block;width:100%;height:280px;border:1px solid #756143;border-radius:8px;background:#101720;touch-action:none;cursor:crosshair}
.city-wizard-dialog [data-wizard-result]{min-height:28px;color:#cde8df}
@media(max-width:600px){.city-wizard-dialog{padding:10px}.city-wizard-dialog-box{padding:20px;max-height:calc(100dvh - 20px)}.city-wizard-gesture{height:240px}}
