.hql-map-host{position:relative;min-width:0;width:100%;grid-column:1/-1;color:#f6f1ff}.hql-map-host[hidden]{display:none!important}.hql-map-canvas{width:100%;height:clamp(320px,60vh,680px);min-height:280px;background:#d3e0e4;border-radius:9px;overflow:hidden}.hql-map-message{padding:28px 18px;background:#32234b;border:1px solid #a58acb;border-radius:8px;text-align:center}.hql-map-message a{color:#9bf2dc!important;font-weight:bold}.hql-map-legend{margin:6px 0;font:12px Arial,sans-serif}.hql-map-legend summary{cursor:pointer;font-weight:bold}.hql-map-legend>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:6px;padding:8px;background:#2d2443;border-radius:5px}.hql-map-legend span{display:flex;align-items:center;gap:7px}.hql-map-legend i{width:12px;height:12px;border:1px solid #888;border-radius:50%;flex:0 0 auto}.hql-map-missed-label{background:#fff3a6;border:1px solid #ffe36b;padding:3px 6px;border-radius:4px;white-space:nowrap;box-shadow:0 1px 5px #0007,0 0 6px #ffe36b66}.hql-next-map-notice{display:block;font-size:10px;line-height:1.4;color:#ffd78a;width:100%;margin-top:2px}.hql-next-map-notice[hidden]{display:none!important}.hql-map-access-badge{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:#ffdc8e;margin:4px 0}.hql-map-access-tip{position:relative;display:inline-block}.hql-map-access-tip summary{cursor:pointer;border:1px solid currentColor;border-radius:50%;width:18px;height:18px;text-align:center;list-style:none;line-height:16px}.hql-map-access-tip p{position:absolute;z-index:1000;right:0;top:15px;width:240px;background:#fffdf4;color:#2e2443;border:1px solid #b79bc5;border-radius:6px;padding:10px;font-size:12px;box-shadow:0 4px 15px #0004}.hql-map-fullscreen-overlay{position:absolute;inset:0;pointer-events:none;z-index:100000;font:13px Arial,sans-serif}.hql-map-fullscreen-overlay>div{position:absolute;pointer-events:auto;background:#2b2052ed;color:#fff;border:1px solid #aa8ac8;border-radius:9px;padding:10px;box-sizing:border-box}.hql-map-overlay-left{top:10px;left:10px;width:32%;max-width:420px}.hql-map-overlay-center{top:10px;left:35%;width:30%}.hql-map-overlay-right{top:60px;right:10px;width:28.75%;max-width:375px}.hql-map-fullscreen-overlay input{font-size:16px;max-width:100%;box-sizing:border-box}.hql-map-fullscreen-overlay .hql-guess-bar,.hql-map-fullscreen-overlay [data-panel=guess],.hql-map-fullscreen-overlay #guess-form{position:static!important;width:100%!important;min-height:0!important;transform:none!important;display:block!important;bottom:auto!important}.hql-map-fullscreen-overlay .hql-top-row{display:block}.hql-map-fullscreen-overlay h2{font-size:18px!important;margin:0 0 6px}.hql-map-fullscreen-overlay #last-answer,.hql-map-fullscreen-overlay .hql-last-answer{margin:5px 0;padding:6px;font-size:12px}.hql-map-fullscreen-overlay .panel-handle{display:none}.hql-map-fullscreen-overlay ol{padding-left:20px}.light .hql-map-message,.hql-standard-ivory .hql-map-message{background:#fffdf4;color:#322748}.light .hql-map-message a,.hql-standard-ivory .hql-map-message a{color:#006b68!important}.light .hql-map-legend>div,.hql-standard-ivory .hql-map-legend>div{background:#fff9ee;color:#302840}.light .hql-map-access-badge{color:#6b4910}.hql-maps-enabled-label{font-size:12px;display:flex;gap:6px;align-items:center}.hql-map-quiz-filter{display:flex;gap:5px;align-items:center;font-size:11px;margin-top:5px}
@media(max-width:767px){.hql-map-canvas{height:55vh;min-height:260px}.hql-map-overlay-left{top:64px;width:55%;padding:7px!important}.hql-map-overlay-center{left:10px;right:65px;width:auto;top:10px}.hql-map-overlay-right{top:64px;width:35%;padding:6px!important}.hql-map-overlay-left h2{font-size:14px!important}}

body .hql-map-fullscreen-overlay .hql-guess-bar.hql-mobile-guess-bar{position:static!important;bottom:auto!important;left:auto!important;width:100%!important;transform:none!important}

.hql-map-solved-control{display:flex;align-items:center;gap:5px;margin:8px 0;font-size:12px;color:inherit}.hql-map-solved-control[hidden]{display:none!important}.hql-map-solved-label,.hql-map-solved-toast{background:#d8ffe7f5;border:1px solid #22835a;padding:3px 6px;border-radius:5px;white-space:nowrap;box-shadow:0 1px 5px #0004}.hql-map-solved-toast{animation:hql-map-credit-fade 3s ease-out forwards}.hql-map-solved-info{color:#173e2c;font:13px Arial,sans-serif}.hql-map-solved-info p{margin:6px 0 0}.hql-map-overlay-bottom{bottom:10px;left:10px;padding:4px 10px!important}.hql-map-overlay-bottom .hql-map-solved-control{margin:3px 0}@keyframes hql-map-credit-fade{0%,65%{opacity:1}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.hql-map-solved-toast{animation:none}}

.hql-map-overlay-center>.hql-map-solved-control{justify-content:center;margin:7px 0 0;width:100%;font-size:12px}

.hql-grid-instructions{padding:8px 10px;margin:0 0 7px;border:1px solid #aa79c9;border-radius:6px;background:#322146;color:#f6eaff;font-size:12px}.hql-map-grid-credit{background:#582b7f;border:1px solid #b28bcf;padding:1px 3px;border-radius:3px;line-height:1.15;white-space:nowrap;box-shadow:0 1px 3px #0005}

/* Compact fullscreen overlays for regular mobile and explicit Mobile View. */
.hql-map-mobile-fullscreen .hql-map-overlay-center{top:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px) + var(--hql-map-keyboard-inset,0px));left:8px;right:8px;width:auto;padding:6px!important}
.hql-map-mobile-fullscreen .hql-map-overlay-left{top:54px;left:8px;width:56%;max-width:290px;max-height:28vh;overflow:auto;padding:6px!important;line-height:1.2}
.hql-map-mobile-fullscreen .hql-map-overlay-right{top:54px;right:8px;width:34%;max-width:190px;max-height:28vh;overflow:auto;padding:5px!important;line-height:1.2}
.hql-map-mobile-fullscreen .hql-map-overlay-left h2,.hql-map-mobile-fullscreen .hql-map-overlay-left [data-title]{font-size:12px!important;line-height:1.2!important;margin:0 0 4px!important}
.hql-map-mobile-fullscreen .hql-coming-up,.hql-map-mobile-fullscreen .metrics,.hql-map-mobile-fullscreen .hql-progress-row,.hql-map-mobile-fullscreen .hql-leaderboard,.hql-map-mobile-fullscreen #scores{font-size:10px!important;line-height:1.25!important;margin:3px 0!important}
.hql-map-mobile-fullscreen .hql-map-overlay-right strong,.hql-map-mobile-fullscreen .hql-map-overlay-right li{font-size:10px!important;line-height:1.25!important}
.hql-map-mobile-fullscreen .hql-map-overlay-right ol{margin:4px 0 0!important;padding-left:16px!important}
.hql-map-mobile-fullscreen .hql-map-overlay-left .hql-last-answer,.hql-map-mobile-fullscreen .hql-map-overlay-left #last-answer{font-size:10px!important;padding:3px!important;margin:3px 0!important}
.hql-map-mobile-fullscreen .hql-map-overlay-center input{font-size:16px!important;min-height:36px;max-width:100%}
.hql-map-mobile-fullscreen .hql-map-overlay-center .hql-map-solved-control{font-size:10px;margin-top:4px}
.hql-map-mobile-fullscreen .hql-map-overlay-center .hql-guess-bar{margin:0!important;padding:0!important}

.hql-map-stage{position:relative;min-width:0;width:100%}.hql-map-stage[hidden]{display:none!important}
.hql-map-hide-labels{position:absolute;left:8px;bottom:26px;z-index:5;display:flex;align-items:center;gap:4px;margin:0;padding:5px 7px;border:1px solid #b19bcf;border-radius:5px;background:#2b2052ed;color:#fff;font:11px/1.3 Arial,sans-serif;cursor:pointer;box-shadow:0 1px 5px #0005}
.hql-map-hide-labels input{width:14px;height:14px;min-height:0!important;margin:0;flex:0 0 auto}
.hql-map-overlay-bottom .hql-map-hide-labels{position:static;padding:0;border:0;box-shadow:none;background:none}
.hql-map-mobile-fullscreen .hql-map-overlay-bottom{bottom:calc(110px + env(safe-area-inset-bottom,0px) + var(--hql-map-keyboard-inset,0px));left:8px;padding:4px 6px!important}

.hql-map-overlay-center>.hql-map-hide-labels{position:static;justify-content:center;margin:4px 0 0;padding:0;border:0;box-shadow:none;background:none;font-size:11px}

.hql-map-hide-labels[hidden]{display:none!important}

.hql-map-mobile-fullscreen .hql-map-overlay-left>.hql-map-mobile-info-extra{display:none!important}
.hql-map-mobile-fullscreen .hql-map-overlay-left{width:auto;max-width:56%;padding:4px 6px!important;max-height:18vh}
.hql-map-mobile-fullscreen .hql-map-overlay-left .hql-last-answer,.hql-map-mobile-fullscreen .hql-map-overlay-left #last-answer{margin:0!important}

/* Compact Grid directions directly above the fullscreen label toggle. */
.hql-map-overlay-center>.hql-grid-instructions{margin:5px 0 3px;padding:0;border:0;border-radius:0;background:none;color:inherit;font-size:11px;line-height:1.3;text-align:center}
.hql-map-fullscreen-overlay .hql-map-overlay-left .hql-preview-last-wrap{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px}
.hql-map-fullscreen-overlay .hql-map-overlay-left .hql-roster{margin-left:0!important;margin-right:auto!important;align-self:flex-start!important;text-align:left;max-width:100%}
@media(max-width:767px){.hql-map-overlay-center>.hql-grid-instructions{font-size:10px}}

/* Locator map-native controls follow Google's own fullscreen container. */
.hql-locator-prompt,.hql-locator-review{margin:10px;padding:10px 12px;border:1px solid #9cecdf;border-radius:10px;background:#241b42f2;color:#fff;box-shadow:0 3px 15px #0006;font:13px/1.4 Arial,sans-serif;max-width:min(350px,65vw)}
.hql-locator-prompt{display:flex;flex-direction:column;gap:4px;pointer-events:auto}.hql-locator-prompt strong{font-size:17px;color:#ffe477}.hql-locator-prompt b{color:#8affdd;font-size:16px}.hql-locator-prompt span{font-size:12px}.hql-locator-lock{margin:10px 58px 0 0;padding:11px 16px;border:2px solid #fff0b0;border-radius:8px;background:#ffc44f;color:#241b42;font:bold 14px Arial,sans-serif;cursor:pointer;box-shadow:0 2px 10px #0005;min-height:42px}.hql-locator-lock:disabled{opacity:.65;cursor:default}.hql-locator-review select{max-width:220px;font-size:12px;margin-left:5px}.hql-locator-review[hidden],.hql-locator-lock[hidden],.hql-locator-prompt[hidden],.hql-locator-guess-hidden{display:none!important}.hql-locator-target-label{padding:4px 7px;border:2px solid #fff8c7;background:#ffe477;border-radius:6px;white-space:nowrap;box-shadow:0 0 15px #ffe47788}.hql-locator-own-label{background:#dcfff6;padding:3px 5px;border-radius:4px;white-space:nowrap}.hql-locator-score-label{white-space:nowrap;animation:hql-locator-score-pop .45s ease-out}.hql-map-fullscreen-overlay>div[hidden]{display:none!important}
@keyframes hql-locator-score-pop{from{transform:translateY(12px) scale(.8);opacity:0}to{transform:none;opacity:1}}
@media(max-width:767px){.hql-locator-prompt{padding:6px 8px;margin:6px;max-width:58vw}.hql-locator-prompt strong{font-size:13px}.hql-locator-prompt span{font-size:10px}.hql-locator-lock{padding:8px;margin-right:48px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.hql-locator-score-label{animation:none}}

body.room-locator-mode [data-panel=guess]{display:none!important}

/* Locator controls: compact fixed-pixel marker labels and native corner panels. */
.hql-locator-prompt .hql-locator-lock{align-self:flex-start;margin:4px 0 0;padding:7px 12px;min-height:34px;font-size:13px}
.hql-locator-leaders{margin:10px 58px 0 0;max-width:min(280px,34vw);pointer-events:auto}
.hql-locator-leaders[hidden]{display:none!important}
.hql-locator-leaders>[data-leaderboard]{margin:0!important;width:auto!important}
@media(max-width:767px){.hql-locator-leaders{margin:6px 48px 0 0;max-width:32vw;font-size:10px}.hql-locator-leaders *{font-size:inherit}.hql-locator-prompt .hql-locator-lock{font-size:11px;min-height:30px;padding:5px 8px}}

.hql-locator-left-stack{display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}
.hql-locator-left-stack[hidden],.hql-locator-round-scores[hidden]{display:none!important}
.hql-locator-round-scores{pointer-events:auto;margin:0 10px 10px;padding:8px 12px;box-sizing:border-box;max-width:min(350px,65vw);min-width:190px;border:1px solid #9cecdf;border-radius:10px;background:#241b42f2;color:#fff;box-shadow:0 3px 15px #0006;font:12px/1.4 Arial,sans-serif}
.hql-locator-round-scores>strong{display:block;color:#ffe477;font-size:13px}.hql-locator-round-scores>small{display:block;color:#d7caeb;margin:2px 0 5px}
.hql-locator-round-scores ol{margin:0;padding-left:20px}.hql-locator-round-scores li{padding:2px 0}.hql-locator-round-scores li>span{display:inline-block;max-width:170px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.hql-locator-round-scores li>b{float:right;margin-left:14px;color:#8affdd;font-size:12px}
@media(max-width:767px){.hql-locator-round-scores{margin:0 6px 6px;padding:5px 8px;max-width:58vw;min-width:145px;font-size:10px}.hql-locator-round-scores>strong{font-size:11px}.hql-locator-round-scores li>b{font-size:10px;margin-left:8px}.hql-locator-round-scores li>span{max-width:90px}}

.hql-locator-image-panel{box-sizing:border-box;width:320px;height:240px;min-width:140px;min-height:120px;max-width:70vw;max-height:65vh;resize:both;overflow:auto;position:relative;margin:8px 12px 24px 8px;padding:7px;border:2px solid #ffd15e;border-radius:12px;background:#201538;box-shadow:0 4px 18px #0008;color:#fff;pointer-events:auto}.hql-locator-image-panel img{display:block;width:100%;height:calc(100% - 24px);object-fit:contain}.hql-locator-image-panel small{display:block;text-align:center;line-height:20px;font-size:12px}.hql-locator-image-panel[hidden]{display:none!important}@media(max-width:700px){.hql-locator-image-panel{width:180px;height:165px;max-width:55vw;max-height:45vh;margin-bottom:18px}.hql-locator-image-panel small{font-size:10px}}

.hql-locator-image-resize{position:absolute;left:2px;top:2px;border:0;border-radius:4px;background:#261743dd;color:#fff;padding:2px 7px;cursor:nwse-resize;touch-action:none;font-size:16px;line-height:22px}

/* Image Locators dock below the upper-left info panel; drag to float. */
.hql-locator-image-anchor{position:absolute;inset:0;z-index:40;pointer-events:none}.hql-locator-image-dock{margin:0 10px 10px;pointer-events:auto}.hql-locator-image-dock[hidden]{display:none!important}.hql-locator-image-panel{position:relative;margin:0;max-width:90vw;max-height:70vh}.hql-locator-image-panel img{height:calc(100% - 50px)}.hql-locator-image-anchor .hql-locator-image-floating{position:absolute;margin:0;pointer-events:auto}.hql-locator-image-drag{display:block;width:100%;height:24px;border:0;border-radius:4px;background:#382652;color:white;text-align:left;padding:2px 7px;cursor:move;touch-action:none;font-size:11px;line-height:20px}.hql-locator-image-resize{left:auto;top:auto;right:0;bottom:0;cursor:nwse-resize;z-index:2}@media(max-width:767px){.hql-locator-image-dock{margin:0 6px 6px}.hql-locator-image-panel{margin:0}}
