#frostHotspots{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
#frostHotspots[hidden],#frostPicker[hidden],#frostZones[hidden]{display:none!important}
#frostHotspots .frost-target{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);background:transparent;border:0;box-shadow:none;padding:0;border-radius:40%}
#frostHotspots .frost-target:focus-visible{outline:3px dashed #fff3cc}
#world.frost-active #petwrap{pointer-events:none}#world.frost-active #petwrap :is(button,[role=button]){pointer-events:auto}
#world.frost-active[data-period=night] #frostHotspots{background:linear-gradient(155deg,#151e4a91,#101f4538 64%,#19244985)}
.frost-displays{position:absolute;left:30%;bottom:14%;display:flex;gap:8px;pointer-events:none}
.frost-displays img{width:clamp(38px,9vw,70px);max-height:60px;object-fit:contain}
#frostDialog{box-sizing:border-box;width:min(560px,96vw);max-height:94dvh;overflow:auto;color:#293d30;background:#f6edd7;border:2px solid #968050;border-radius:16px;padding:0}
#frostDialog::backdrop{background:#10251dc9}
#frostDialog header{position:sticky!important;inset:0 0 auto!important;display:flex!important;z-index:4;align-items:center;justify-content:space-between;padding:7px 12px;background:#294c3a;color:#fff5d9}
#frostDialog h2{color:inherit;margin:0;font:700 clamp(17px,4vw,24px) Georgia,serif}
#frostDialog button{margin:3px;padding:6px 10px;border-radius:9px;border:1px solid #998657;background:#365942;color:#fff4d6;min-height:34px}
#frostDialog button:disabled{opacity:.5}#frostDialog :focus-visible{outline:3px solid #df972b}
.frost-content{padding:9px 12px}.frost-content>p{margin:6px 0 10px}.frost-content details{margin:8px 0}.frost-content summary{cursor:pointer;font-weight:bold}
.frost-content article{display:grid;gap:3px;border-top:1px solid #c6b78f;padding:6px}.frost-content article img{max-width:90px;max-height:75px}
.frost-tools{border-top:1px solid #c6b78f;margin-top:8px}.frost-board{min-width:0}.frost-board svg{max-width:100%}
@media(max-height:390px){#frostDialog{max-height:98dvh;width:98vw}.frost-content{padding:4px 7px}#frostDialog button{min-height:28px;padding:4px 7px}}
#frostDialog{border:3px solid #9c7946;border-radius:18px;background:linear-gradient(120deg,#fff5da,#f5e8c9 65%,#eaddb9);box-shadow:0 10px 42px #0b1e1dc9,inset 0 0 0 2px #fff8de;color:#2b3c32}
#frostDialog header{background:linear-gradient(115deg,#153d33,#385742);border-bottom:2px solid #bb9e62;padding:7px 12px}
#frostDialog header button{background:#233f33;color:#fff4d9;border:1px solid #bca572}
#frostDialog .fh-primary{background:linear-gradient(#437353,#284e3d);border:2px solid #9e8249;color:#fff5da;font-weight:700;box-shadow:inset 0 0 0 1px #ffffff28}
.fh-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:4px 0 10px}
#frostDialog .fh-guide-card{overflow:hidden;display:grid;align-content:start;text-align:left;padding:0 0 9px;margin:0;border:1px solid #a88e58;border-radius:12px;background:#274a38;color:#fff5dc;box-shadow:0 2px 4px #48371729}
.fh-guide-card img{width:100%;aspect-ratio:3/2;object-fit:cover;border-bottom:1px solid #b49d70}
.fh-guide-card strong,.fh-guide-card small{margin:5px 9px 0}.fh-guide-card strong{font:700 clamp(15px,3.5vw,20px) Georgia,serif}.fh-guide-card small{line-height:1.25;color:#eee5ca}
.fh-trailhead{display:grid;grid-template-columns:minmax(0,45%) 1fr;align-items:center;gap:12px;margin:3px 0 13px}.fh-trailhead img{border-radius:12px;border:2px solid #b99a62;width:100%;aspect-ratio:3/2;object-fit:cover;box-sizing:border-box}
.fh-trailhead h3,.fh-result h3{color:#254936;font:700 clamp(18px,4vw,25px) Georgia,serif;margin:3px 0}.fh-trailhead p,.fh-result p{margin:4px 0 6px;line-height:1.3}.fh-trailhead small{color:#5b593d;font-weight:700}
.fh-chapters summary{padding:8px 2px;color:#2e4a38}
#frostDialog .fh-chapter{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:7px;text-align:left;width:100%;margin:4px 0;background:#faf1db;color:#314b37;border:1px solid #c9b78e}
#frostDialog .fh-chapter span{background:#dde6cc;color:#35503a;border-radius:50%;text-align:center;padding:3px}
.fh-result{text-align:center}.fh-result img{max-width:230px;width:65%;border-radius:12px}.fh-help-steps{line-height:1.4;padding-left:1.5em}.fh-help-steps li{margin-bottom:6px}
#frostDialog .frost-tools{display:flex;flex-wrap:wrap;gap:2px;padding-top:5px}
#frostDialog .frost-tools button{background:#e9ddc2;color:#3c4f40;border-color:#b8a37a;font-size:12px;min-height:30px}
@media(max-width:340px){.fh-trailhead{grid-template-columns:35% 1fr;gap:8px}}
@media(max-height:390px){.fh-trailhead img{max-height:96px}.fh-guide-card img{max-height:66px}}
#frostDialog>header{flex-direction:row!important;flex-wrap:nowrap;align-items:center!important;text-align:left;gap:8px}
#frostDialog>header h2{flex:1;min-width:0;text-align:left}
#frostDialog>header button{flex:none;margin:0}
#frostDialog .fc-arrow-board{touch-action:pan-y;cursor:default}
#frostDialog .fc-palette button{min-width:58px;min-height:58px;padding:4px 8px;gap:2px}
#frostDialog .fc-palette img{width:40px;height:34px;object-fit:contain;filter:drop-shadow(0 1px 1px #13282178)}
.fc-position{background:#e9dfc7;border-radius:10px;padding:4px 8px}.fc-position img{width:35px;height:33px;object-fit:contain}
#frostDialog .fc-arrows{display:grid;grid-template-columns:repeat(3,46px) auto;grid-template-rows:repeat(2,44px);justify-content:center;align-items:stretch;gap:3px}
#frostDialog .fc-arrows button{margin:0;padding:2px 6px;touch-action:manipulation}
.fc-arrows [data-direction]{font:bold 22px system-ui;background:linear-gradient(#47654e,#284937)!important}
.fc-arrows [data-direction=up]{grid-area:1/2}.fc-arrows [data-direction=left]{grid-area:2/1}.fc-arrows [data-direction=down]{grid-area:2/2}.fc-arrows [data-direction=right]{grid-area:2/3}.fc-arrows button:last-child{grid-area:2/4;margin-left:5px!important}
#frostDialog .fc-arrows button:active{transform:translateY(1px);filter:brightness(1.2)}

#world .scene-corner-next{position:absolute;right:3px;bottom:3px;width:22px;height:22px;min-width:0;min-height:0;z-index:18;border:0;padding:0;background:transparent;box-shadow:none;touch-action:manipulation}#world .scene-corner-next:focus-visible{outline:2px solid #ead29a}
#world .woods-spot-picker{display:none!important}
#world.world.quiet-nook{background-position:var(--nook-position,center)!important}
#world :is(#nookReturn,#nookBench){position:absolute;z-index:9;transform:translate(-50%,-50%);padding:0;min-width:0;min-height:0;border:0;background:transparent;box-shadow:none;touch-action:manipulation}
#world :is(#nookReturn,#nookBench)[hidden]{display:none!important}
#world :is(#nookReturn,#nookBench):focus-visible{outline:2px solid #ffdf83}
#frostDialog .frost-creative :is(.fc-controls,.fc-controls label,.fc-message,.fc-position,details>summary){color:#243c29}
#frostDialog .frost-creative .fc-position{background:#efdfbf}
#frostDialog .frost-creative details{background:#f8eacb;border:1px solid #bd9c63;border-radius:10px;padding:4px 9px;margin:8px 0}
#frostDialog .frost-creative details>summary{min-height:32px;cursor:pointer;font-weight:700}
#frostDialog .fc-palette{display:grid;grid-template-columns:repeat(auto-fit,minmax(83px,1fr));gap:5px}
#frostDialog .fc-palette button{width:100%;margin:0;white-space:normal}
#frostDialog .frost-creative button.fc-test{
  grid-area:1/4;
  margin:0 0 0 5px!important;
  min-height:44px;
  padding:3px 9px;
  white-space:normal;
  line-height:1.15;
  font-weight:800;
  background:#df7826!important;
  color:#082d19!important;
  border:1px solid #914410;
  text-shadow:none;
}
