/* Island Play: close views of the shelf and workbench. */
.loc-screen [hidden]{display:none!important}
.loc-screen.has-galley>:not(.loc-galley){display:none!important}
.loc-galley{position:absolute;inset:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f7f0dc;color:#293f35;overflow:hidden}
.gal-head{display:flex;align-items:center;gap:14px;padding:8px clamp(10px,3vw,38px);color:#f9f4df;background:#355743;border-bottom:4px solid #c5a66c}
.gal-head h2,.loc-galley h3{margin:0;line-height:1.14;color:inherit}.gal-head h2{font-size:clamp(20px,2.7vw,34px)}.gal-head>span{margin-left:auto;font-weight:600;color:#e0e7cc;font-size:14px}
.gal-scroll{overflow:auto;overscroll-behavior:contain;padding:clamp(10px,2.3vw,30px);background:radial-gradient(ellipse at 65% 100%,#eddcb7,transparent 65%),#fbf6e8}
.gal-scroll>*{max-width:1000px;margin-left:auto;margin-right:auto}.gal-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(210px,.9fr);gap:clamp(12px,2.2vw,32px);align-items:stretch}
.loc-screen .loc-galley button{box-sizing:border-box;min-height:44px;min-width:0;font:inherit;line-height:1.16;color:#34503d}
.loc-screen .loc-galley .gal-button{font-size:clamp(14px,1.3vw,17px);font-weight:720;background:#fffaf0;border-color:#b2b799;border-radius:10px;padding:9px 15px}
.loc-screen .loc-galley .primary,.loc-screen .tackle-buttons .primary,.loc-screen .reel-buttons .primary{background:#306848;border-color:#2d5c40;color:#fffbe9}
.loc-screen .loc-galley button:disabled{opacity:.55;cursor:default}
.loc-galley .gal-head button{background:#f8f1dd}
.gal-intro{font-size:clamp(18px,2vw,26px);font-weight:750;margin:0 auto 14px}.gal-collection{min-width:0}.gal-tabs,.gal-picks{display:flex;gap:6px;flex-wrap:wrap}.gal-tabs{margin-bottom:12px}
.loc-screen .loc-galley .current{background:#e0ead5;border:2px solid #466c4a}
.gal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gal-recipe-list{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,2vw,22px);margin-bottom:16px}
.loc-screen .loc-galley .gal-card{display:grid;grid-template-rows:minmax(62px,auto) auto auto;align-content:stretch;position:relative;text-align:left;overflow:hidden;margin:0;padding:0 0 10px;border-radius:14px;border:2px solid #c2b898;background:#fffdf2;box-shadow:0 3px 0 #d2c6a7}
.loc-screen .loc-galley .gal-card.selected{border-color:#4c7650;box-shadow:0 0 0 1px #4c7650}
.gal-card strong,.gal-card small{padding:0 12px}.gal-card strong{font-size:clamp(15px,1.7vw,20px);margin-top:6px}.gal-card small{color:#5a624d;font-size:13px;margin-top:3px}
.gal-illustration,.gal-feature,.gal-bench-art{display:grid;place-items:center;position:relative;background:radial-gradient(ellipse at 50% 70%,#efe3c5,transparent 63%),#f5efd9}
.gal-illustration{min-height:66px}.loc-item-art{object-fit:contain;display:block;width:100%;height:auto}
.gal-illustration .loc-item-art{width:auto;height:clamp(50px,8vh,98px)}.gal-recipe-list .gal-illustration{min-height:clamp(100px,23vh,190px)}.gal-recipe-list .gal-illustration .loc-item-art{height:clamp(76px,18vh,146px)}
.gal-count{position:absolute;right:6px;top:6px;border-radius:16px;background:#fff9e6dd;color:#38543e;border:1px solid #c5c5a4;padding:3px 8px;font-size:12px;line-height:1}
.gal-detail,.gal-meal{background:#fffdf2;border:1px solid #c8bd9e;border-radius:16px;padding:clamp(12px,2vw,24px);box-shadow:0 3px 0 #d5cbae}
.gal-detail{display:flex;flex-direction:column;align-items:stretch;gap:9px;justify-content:center}.gal-detail>small,.gal-step{font-size:13px;font-weight:750;color:#637654}
.gal-detail h3,.gal-bench h3,.gal-meal h3{font-size:clamp(18px,2.2vw,29px)}.gal-detail p,.gal-meal p{margin:0 0 4px;line-height:1.4;font-size:clamp(14px,1.45vw,18px)}
.gal-detail .gal-note{font-size:14px;color:#596454}
.gal-feature{border-radius:11px}.gal-feature .loc-item-art{max-width:160px;max-height:115px}.gal-meal .gal-feature{margin-bottom:13px}
.gal-bench{display:flex;flex-direction:column;align-items:stretch;padding:15px;border-radius:16px;border:1px solid #cfbc90;background:#f5e5c5;text-align:center;justify-content:center}
.gal-bench-art{min-height:110px;height:clamp(110px,24vh,210px);background:radial-gradient(ellipse at center,#ffefd2,transparent 70%);isolation:isolate}
.gal-bench-art>.loc-item-art{width:65%;height:95%;min-width:110px}.gal-ingredient{position:absolute;left:7%;top:5%;width:26%}.gal-ingredient.added{left:35%;top:43%;width:24%}
.gal-spatula,.gal-pestle{position:absolute;top:33%;left:55%;width:30%;height:8%;transform:rotate(-37deg);border-radius:8px;background:#956537;border:2px solid #775333}.gal-spatula:before{content:'';position:absolute;left:-12%;width:35%;height:180%;top:-37%;background:#b58d56;border-radius:20%}
.gal-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}.gal-dots i{border:1px solid #83916c;background:#f7f0d7;width:13px;height:13px;border-radius:50%}.gal-dots .done{background:#52724c}
.gal-meal{max-width:520px;text-align:center}.gal-meal>div:last-child{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.gal-status{color:#34513e;background:#e7edd5;padding:5px 12px;font-weight:650}.gal-status:empty{display:none}
.loc-screen .loc-hero.swimming{clip-path:none;aspect-ratio:138/70;width:clamp(69px,9.6%,135px);transform:translate(-50%,-76%);filter:drop-shadow(0 2px 2px #1d75764d)}
.loc-screen .loc-hero.swimming:after{content:none}.loc-screen .loc-hero.swimming:before{content:'';position:absolute;z-index:-1;left:-43%;bottom:1%;width:76%;height:21%;border:3px solid #d4fff0;border-right-color:transparent;border-radius:50%;opacity:.65;transform:rotate(5deg)}.loc-hero.swimming[data-facing="left"]:before{left:68%;transform:scaleX(-1)}
.loc-screen .loc-hero.stroking:before{animation:loc-wake .55s ease-out infinite}@keyframes loc-wake{from{opacity:.9;scale:.7}to{opacity:.2;scale:1.2}}
.loc-spot.s-pantry{z-index:3}.loc-home .loc-spot.s-pantry{height:18%}.loc-screen .s-fishing{display:flex;flex-direction:column;gap:0}.s-fishing svg{width:clamp(50px,7cqw,96px);height:42px;filter:drop-shadow(0 1px 1px #fff6d4)}
.loc-screen .loc-rod-shadow{stroke:#473422;stroke-width:6}.loc-screen .loc-rod{stroke:#dcb877;stroke-width:3}.loc-screen .loc-line{stroke:#faf5d9;stroke-width:2.1;filter:drop-shadow(0 1px .7px #32635d)}.loc-spool{fill:#edcb7a;stroke:#4e4d39;stroke-width:1.7}
.loc-screen .loc-float{width:35px;height:48px;z-index:5;transform:translate(-50%,-68%)}.loc-screen .loc-float i{left:9px;bottom:2px;width:18px;height:30px;border-radius:60% 60% 52% 52%;border:2px solid #8a452e;background:linear-gradient(#ee4b37 0 41%,#fffae4 42% 67%,#ed543d 68%);box-shadow:0 2px 1px #fff1c6}.loc-float i:before{content:'';position:absolute;left:5px;bottom:98%;height:9px;width:3px;background:#ad442e}.loc-float b{display:none}.loc-float.bite b{display:block;position:absolute;left:75%;bottom:88%;font-size:22px;color:#fff9dd;background:#a14225;border-radius:50%;padding:0 7px;line-height:1.2}.loc-float.bite em,.loc-float.bite:after{content:'';position:absolute;left:-46%;bottom:-6%;border:3px solid #fffbd5;width:184%;height:35%;border-radius:50%;animation:loc-ring .75s ease-out infinite}.loc-float.bite:after{animation-delay:.32s}.loc-float.bite i{animation:loc-dive .45s ease-in-out infinite alternate}
@keyframes loc-ring{0%{transform:scale(.4);opacity:1}100%{transform:scale(1.4);opacity:.2}}@keyframes loc-dive{to{transform:translateY(38%) rotate(26deg)}}
.tackle-summary{width:100%;display:flex;align-items:center;gap:10px}.tackle-illustration{width:62px;min-width:45px}.tackle-summary strong,.tackle-summary small{display:block}.tackle-summary strong{font-size:clamp(16px,2vw,23px)}.tackle-summary small{font-size:14px}.tackle-buttons{margin-left:auto;display:flex;gap:5px;flex-wrap:wrap}.loc-screen[data-fishing="bite"] .loc-tray{background:#fff0c4;box-shadow:inset 0 4px #d08832}.loc-tray:has(.reel-ui){max-height:none;padding:8px 16px;background:#edf4e7}.reel-ui{width:100%;display:grid;grid-template-columns:minmax(180px,.85fr) minmax(230px,1.55fr) auto;gap:5px 16px;align-items:center}.reel-instructions{grid-row:span 2}.reel-instructions strong,.reel-instructions span{display:block}.reel-instructions span{font-size:13px;line-height:1.18}.reel-scope{height:32px;position:relative;background:linear-gradient(90deg,#679a9c,#3c7883);border-radius:14px;box-shadow:inset 0 2px 4px #31575177;border:2px solid #526f66;overflow:hidden}.reel-zone{position:absolute;inset-block:1px;width:35%;left:var(--zone,32%);transform:translateX(-50%);border-radius:8px;border:2px solid #faffdd;background:repeating-linear-gradient(125deg,#a8c973 0 6px,#bedd8f 6px 11px)}.reel-fish{position:absolute;left:var(--fish,55%);top:50%;width:48px;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 1px #243828)}.reel-readouts{grid-column:2;display:flex;gap:12px}.reel-readouts label{flex:1;color:#324f3c;font-size:12px;font-weight:700}.reel-meter{display:block;height:6px;border-radius:8px;background:#d6d7bf;overflow:hidden}.reel-meter:before{content:'';display:block;height:100%;width:var(--fill,35%);background:#50845b}.reel-readouts label+label .reel-meter:before{background:#bb8547}.reel-buttons{grid-column:3;grid-row:1 / 3;display:flex;gap:4px;align-items:center}.line-hold{touch-action:none;user-select:none;-webkit-user-select:none}.reel-scope[data-tracking="true"]{outline:2px solid #8fbd6f}
@media(max-width:720px){.gal-layout{grid-template-columns:minmax(0,1.2fr) minmax(158px,1fr);gap:7px}.gal-detail{padding:8px}.gal-head{padding:3px 9px}.gal-scroll{padding:8px}.reel-ui{grid-template-columns:minmax(0,1fr) auto}.reel-instructions{grid-row:auto;grid-column:1/-1}.reel-buttons{grid-column:2;grid-row:2 / 4}.reel-readouts{grid-column:1}.reel-scope{grid-column:1}.tackle-illustration{width:45px}}
@media(max-width:520px) and (orientation:portrait){.gal-layout{grid-template-columns:1fr}.gal-grid,.gal-recipe-list{gap:7px}.gal-feature .loc-item-art{height:74px}.gal-detail{display:grid;grid-template-columns:minmax(76px,.6fr) 1fr;align-items:center}.gal-detail h3,.gal-detail p,.gal-detail>button,.gal-detail>.gal-picks,.gal-detail>small{grid-column:2}.gal-detail .gal-feature{grid-column:1;grid-row:1/span 4}.gal-detail:not(:has(.gal-feature)){display:flex}.gal-illustration .loc-item-art{height:64px}.gal-recipe-list .gal-count{position:static;margin:0 auto 4px}.tackle-summary{flex-wrap:wrap}.tackle-buttons{width:100%;margin:0}.loc-tray:has(.reel-ui){max-height:none;padding:5px 8px}.reel-ui{grid-template-columns:1fr}.reel-scope,.reel-readouts,.reel-buttons,.reel-instructions{grid-column:1;grid-row:auto}.reel-buttons{justify-content:space-between}}
@media(max-height:480px){.gal-head{padding:0 9px;border-bottom-width:2px}.gal-scroll{padding:7px 12px}.gal-feature .loc-item-art{height:66px}.gal-bench-art{height:90px;min-height:75px}.gal-detail{gap:4px}.reel-ui{grid-template-columns:minmax(145px,.8fr) minmax(150px,1.3fr) auto;gap:3px 8px}.reel-instructions{grid-column:1;grid-row:1 / 3}.reel-scope,.reel-readouts{grid-column:2}.reel-buttons{grid-column:3;grid-row:1 / 3}.reel-instructions span{font-size:12px}.tackle-illustration{max-height:42px}.loc-tray:has(.reel-ui){padding:3px 8px;max-height:none}.reel-buttons{flex-direction:column}.loc-screen .reel-buttons button{min-height:35px}}
@media(prefers-reduced-motion:reduce){.loc-screen *{animation:none!important}}


.loc-screen[data-fishing="reel"] .loc-tray{padding:14px clamp(10px,2.6vw,34px);max-height:none;min-height:102px;box-sizing:border-box;overflow:visible;align-content:center}
.loc-screen[data-fishing="reel"] .reel-scope{height:42px;border-width:3px}.loc-screen[data-fishing="reel"] .reel-fish{width:57px}
.loc-screen[data-fishing="reel"] .reel-meter{height:8px}.loc-screen[data-fishing="reel"] .reel-instructions strong{font-size:clamp(16px,1.7vw,22px);margin-bottom:3px}
.loc-screen[data-fishing="reel"] .reel-buttons button{min-height:44px}
@media(max-width:520px) and (orientation:portrait){.loc-screen[data-fishing="reel"] .loc-tray{padding:7px 10px}.loc-screen[data-fishing="reel"] .reel-scope{height:35px}}
@media(max-height:480px){.loc-screen[data-fishing="reel"] .loc-tray{padding:4px 9px;min-height:74px}.loc-screen[data-fishing="reel"] .reel-buttons{flex-direction:row}.loc-screen[data-fishing="reel"] .reel-scope{height:33px}}

.loc-card .loc-item-art{width:48px;height:31px}.reel-fish .loc-item-art{height:34px}.tackle-illustration .loc-item-art{height:47px}.gal-ingredient .loc-item-art{max-height:80px}

.loc-cove .loc-world{min-width:640px}
.loc-cove .loc-head h2{font-size:clamp(23px,2.5vw,32px);line-height:1.12;color:#234b35}
.loc-screen.loc-cove .loc-spot{width:clamp(44px,7%,76px);height:44px;border-radius:12px}
.loc-screen.loc-cove .s-rock{width:clamp(54px,9%,106px);height:auto}
.loc-screen.loc-cove .s-fishing{width:clamp(48px,7.5%,84px);}
.loc-screen.loc-cove .s-fishing svg{width:100%;height:100%;filter:drop-shadow(0 1px 1px #fff8dc)}
.loc-cove .loc-spot:not(:has(.cove-landmark)):focus-visible:after{content:attr(aria-label);position:absolute;top:100%;background:#fff8e7;color:#254633;border-radius:6px;padding:2px 6px;white-space:nowrap}
.loc-cove .loc-spot>.cove-landmark{
 position:absolute;left:calc(100% + 3px);top:50%;transform:translateY(-50%);
 pointer-events:auto;padding:4px 9px;color:#254633;background:#fff8e8;
 border:1px solid #847755;box-shadow:0 1px 3px #27463955;font-size:clamp(13px,2.6cqh,17px);
}
.loc-cove [data-loc-spot^="buoy"]>.cove-landmark{left:50%;top:100%;transform:translate(-50%,0);font-size:clamp(11px,2cqh,14px);padding:3px 6px}
.loc-screen.loc-cove [data-loc-spot^="buoy"]{width:clamp(60px,10%,116px);height:clamp(48px,10%,70px);touch-action:manipulation}
.loc-screen[data-effect="buoy"] .s-buoy>.cove-landmark,.loc-screen[data-effect="buoy2"] .s-buoy2>.cove-landmark,.loc-screen[data-effect="buoy3"] .s-buoy3>.cove-landmark{background:#ffec99}
.loc-cove .s-fishing>.cove-landmark{top:100%;left:max(calc(100% + 4px),calc(50% + clamp(30px,6cqw,70px)))}
.loc-cove .loc-markers[inert] .loc-spot,.loc-cove .loc-markers[inert] .cove-landmark{pointer-events:none}
.loc-screen.loc-cove .loc-hero{
 --actor-size:clamp(46px,min(9cqw,16cqh),98px);
 width:var(--actor-size);max-width:none;
 left:clamp(calc(var(--actor-size) / 2 + 2px),var(--display-x),calc(100% - var(--actor-size) / 2 - 2px))!important;
 top:var(--display-y)!important;
 transform:translate(-50%,max(-95%,calc(3px - var(--foot-room) * .94)));
 filter:drop-shadow(0 1px 1px #473d3077);
}
.loc-screen.loc-cove .loc-hero.swimming{--actor-size:clamp(64px,11cqw,135px);transform:translate(-50%,max(-76%,calc(3px - var(--foot-room) * .94)))}
.loc-screen.loc-cove .loc-aim-point{position:absolute;z-index:5;transform:translate(-50%,-50%);pointer-events:none;opacity:0;min-width:28px;min-height:28px;padding:0;border-radius:50%}
.loc-screen.loc-cove .loc-aim-point:focus-visible{opacity:1;background:transparent;border:3px solid #fff9d9;outline:2px solid #315444}
.loc-cove .tackle-buttons,.loc-cove .reel-buttons{justify-content:flex-end}
.loc-cove .tackle-buttons .hook:disabled{background:#e4e6d7;color:#58604e;border-color:#bec4ae;cursor:default}
@media(max-width:520px) and (orientation:portrait){
 .loc-cove .tackle-buttons,.loc-cove .reel-buttons{width:100%;justify-content:space-between}
 .loc-cove [data-loc-action="dismiss"]{margin-left:auto}
}

.gal-bench-art[data-effect="drop"] .gal-ingredient{animation:gal-drop .26s ease-out}
.gal-bench-art[data-effect="turn"] .gal-ingredient{animation:gal-turn .68s ease-in-out}
.gal-bench-art[data-effect="turn"] .gal-spatula{animation:gal-lift .68s ease-in-out}
.gal-bench-art[data-effect="press"] .gal-ingredient{animation:gal-squash .35s ease-out}
.gal-bench-art[data-effect="press"] .gal-pestle{animation:gal-press .35s ease-in-out}
@keyframes gal-drop{from{transform:translate(-55%,-70%) rotate(-16deg)}to{transform:none}}
@keyframes gal-turn{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-90%) rotate(165deg)}99%{transform:rotate(360deg)}}
@keyframes gal-lift{50%{transform:translate(-8%,-28%) rotate(-52deg)}}
@keyframes gal-squash{50%{transform:translateY(8%) scale(1.18,.69)}}
@keyframes gal-press{50%{transform:translate(-14%,45%) rotate(-48deg)}}
@media(prefers-reduced-motion:reduce){.gal-bench-art *{animation:none!important}}
