.quest-window{z-index:30;color:#3b2a14;width:min(480px,100% - 32px);max-height:calc(100% - 140px);font-family:var(--realm-body);border:1px solid var(--realm-gold-deep);box-shadow:inset 0 0 0 4px #e6d3a3,inset 0 0 0 5px var(--realm-gold-deep),0 18px 50px var(--realm-shadow);background:linear-gradient(145deg,#ead9ae,#dcc58f 60%,#cfb77d);border-radius:2px;padding:22px 24px 18px;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.quest-window h3,.quest-window h4{font-family:var(--realm-heading);margin:0}.quest-window h3{color:#2c1d0a;font-size:18px}.quest-window h4{letter-spacing:1.7px;text-transform:uppercase;color:#7a5a1e;margin:14px 0 5px;font-size:10px}.quest-detail header{flex-wrap:wrap;align-items:center;gap:10px;padding-right:28px;display:flex}.quest-tag{font:700 10px var(--realm-heading);letter-spacing:1px;text-transform:uppercase;border:1px solid;border-radius:1px;padding:2px 7px}.quest-tag-main{color:#9a6a00}.quest-tag-side{color:#2d6a8f}.quest-tag-daily{color:#4a7a2a}.quest-text{margin:10px 0 0;font-size:14px;line-height:1.5}.quest-objectives,.quest-rewards ul,.quest-list{margin:0;padding:0;list-style:none}.quest-objectives li{border-bottom:1px dotted #a98d52;justify-content:space-between;gap:12px;padding:3px 0;font-size:13px;display:flex}.quest-objectives li.met{color:#3d6a1f}.quest-objectives li.met span{text-decoration:line-through}.quest-rewards ul{flex-wrap:wrap;gap:6px 14px;font-size:13px;font-weight:700;display:flex}.quest-choices{flex-wrap:wrap;gap:8px;display:flex}.quest-choice{color:#3b2a14;min-height:44px;font:13px var(--realm-body);cursor:pointer;background:#f1e4bd;border:1px solid #8c6b2c;align-items:center;gap:7px;padding:6px 10px;display:flex}.quest-choice.selected{background:#fff3c4;border-color:#9a6a00;box-shadow:inset 0 0 0 2px #d6a82c}.quest-level{opacity:.8;margin:12px 0 0;font-size:13px}.quest-summary{opacity:.85;margin:6px 0 0;font-size:13px;font-style:italic}.quest-locked{opacity:1;color:#8a2a1a;margin:12px 0 0;font-size:13px;font-weight:700;line-height:1.4}.quest-window-detail .quest-detail>.quest-locked{border-top:1px dotted #a98d52;flex:none;margin:10px 0 0;padding-top:8px}.quest-detail footer{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.quest-window.quest-window-detail{flex-direction:column;display:flex;overflow:hidden}.quest-window-detail>.quest-detail{flex-direction:column;flex:auto;min-height:0;display:flex}.quest-window-detail .quest-detail>header{flex:none;margin-bottom:6px}.quest-scroll>div>:first-child{margin-top:0}.quest-window-detail .quest-detail>footer{flex:none;margin-top:12px}.quest-scroll{overscroll-behavior:contain;flex:auto;min-height:0;margin-right:-12px;padding-right:12px;overflow:auto}.quest-scroll-more{-webkit-mask-image:linear-gradient(#000 calc(100% - 36px),#0000);mask-image:linear-gradient(#000 calc(100% - 36px),#0000)}.quest-scroll-above{-webkit-mask-image:linear-gradient(#0000,#000 24px);mask-image:linear-gradient(#0000,#000 24px)}.quest-scroll-above.quest-scroll-more{-webkit-mask-image:linear-gradient(#0000,#000 24px calc(100% - 36px),#0000);mask-image:linear-gradient(#0000,#000 24px calc(100% - 36px),#0000)}.quest-scroll:focus-visible{outline:2px solid var(--realm-gold-deep);outline-offset:2px}.quest-window .gold-button:disabled{opacity:.5;cursor:not-allowed}.quest-close{color:#5a3d12;cursor:pointer;background:0 0;border:0;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:10px;right:10px}.quest-list li+li{margin-top:8px}.quest-list li.locked button{color:#5b4a30;background:#e6d6aa;border-style:dashed}.quest-list li.locked small{color:#8a2a1a;font-weight:700}.quest-speech{font:italic 14px/1.5 var(--realm-body);color:#2c1d0a;background:#fff3c473;border-left:3px solid #9a6a00;margin:12px 0 0;padding:8px 12px}.quest-speech p{margin:0}.quest-speech cite{font:700 11px var(--realm-heading);letter-spacing:.6px;color:#7a5a1e;margin-top:4px;font-style:normal;display:block}.quest-speech cite:before{content:"— "}.quest-text-recap{opacity:.8;font-size:13px}.quest-list-head{margin-bottom:6px;padding-right:28px}.quest-list-head+.quest-speech{margin:0 0 12px}.quest-greeting .quest-speech{margin-top:14px}.shop-greeting{margin:10px 0 4px}.quest-list button{color:#2c1d0a;width:100%;min-height:44px;font:700 14px var(--realm-heading);cursor:pointer;background:#f1e4bd;border:1px solid #8c6b2c;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px;display:flex}.quest-list small{font:12px var(--realm-body);color:#6b5326}@media (width<=700px){.quest-window{max-height:calc(100% - 100px);padding:18px 16px 14px}.quest-detail footer{justify-content:stretch}.quest-detail footer button{flex:1}}.quest-trade{min-height:28px;padding:0 12px;position:absolute;top:10px;right:46px}.quest-window:has(.quest-trade){padding-top:46px}.quest-window:has(.quest-trade) .quest-detail header{padding-right:28px}@media (width>=1101px){.quest-window{width:min(440px,100% - 48px);max-height:calc(100% - 320px);top:84px;left:24px;transform:none}}.quest-counts{opacity:.8;margin-top:2px;font-size:11px;font-style:italic;line-height:1.4;text-decoration:none;display:block}.quest-objectives li.met .quest-counts{display:none}.quest-tracker-way{color:var(--realm-muted);grid-column:1/-1;margin:2px 0 3px;font-size:10px;line-height:1.35;display:block}.quest-tracker-way>span{color:#ffd23f;opacity:1!important;text-decoration:none!important}.quest-objectives li>b{white-space:nowrap}
