/* New pool scene only. Existing scene layouts and shared time source are untouched. */
#communityPool{padding:0;min-height:0;background:#10243c}
#communityPool .pool-stage{position:relative;line-height:0;width:100%;isolation:isolate}
#communityPool .pool-stage>img{display:block;width:100%;height:auto;user-select:none}
#communityPool .pool-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 16px;background:#263f3e;color:#eee7ca;border-bottom:1px solid #a59869}
#communityPool h1{font:normal 14px "DM Mono",monospace;margin:0}
#communityPool .pool-navigation button{background:none;color:#eee7ca;border:0;border-radius:0;box-shadow:none;padding:10px 0;min-height:44px;font:14px "DM Mono",monospace;cursor:pointer}
#communityPool .pool-target{position:absolute;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0;cursor:pointer;z-index:6;min-height:0}
#communityPool .pool-target:focus-visible{outline:2px dashed #fff;outline-offset:2px}
#communityPool .pool-water{left:26%;top:43.5%;width:65%;height:18.5%;clip-path:polygon(12% 0,55% 0,100% 100%,0 100%)}
#communityPool .pool-snack{left:83%;top:23%;width:17%;height:31%}
#communityPool .pool-guard{left:73%;top:27%;width:9%;height:24%}
#communityPool .pool-board{left:1%;top:25%;width:21%;height:56%}
#communityPool .pool-tone,#communityPool .pool-water-light,#communityPool .pool-building-light,#communityPool .pool-ripples{position:absolute;inset:0;pointer-events:none;z-index:1}
#communityPool .pool-tone{background:transparent;transition:background 2s}
[data-maplewood-period="morning"] #communityPool .pool-tone{background:rgba(166,199,213,.16)}
[data-maplewood-period="daytime"] #communityPool .pool-tone{background:rgba(255,244,203,.04)}
[data-maplewood-period="sunset"] #communityPool .pool-tone{background:linear-gradient(125deg,rgba(224,139,55,.22),rgba(83,48,37,.18));mix-blend-mode:multiply}
[data-maplewood-period="nighttime"] #communityPool .pool-tone{background:rgba(3,15,39,.76)}
#communityPool .pool-water-light,#communityPool .pool-ripples{clip-path:polygon(34% 44%,62% 44%,91% 61.5%,26% 61.5%);z-index:2}
#communityPool .pool-water-light{opacity:0;background:radial-gradient(ellipse at 39% 56%,#45dddb88,transparent 14%),radial-gradient(ellipse at 74% 57%,#5ce4e977,transparent 14%)}
[data-maplewood-period="nighttime"] #communityPool .pool-water-light{opacity:1}
#communityPool .pool-building-light{opacity:0;clip-path:polygon(86% 31%,92% 31%,92% 42%,86% 42%);background:radial-gradient(ellipse at 89% 37%,#ffc87f99,transparent 16%);z-index:2}
[data-maplewood-period="nighttime"] #communityPool .pool-building-light{opacity:1}
#communityPool .pool-ripples{background:repeating-linear-gradient(174deg,transparent 0 11px,#d2ffff25 12px,transparent 14px 27px);background-size:100% 200%;opacity:.25;animation:pool-ripple 9s ease-in-out infinite alternate}
@keyframes pool-ripple{to{background-position:0 20px;opacity:.5}}
#communityPool .pool-night-note{display:none;margin:0;padding:12px 16px;color:#ded9c1;font:14px Georgia,serif;background:#122639}
[data-maplewood-period="nighttime"] #communityPool .pool-night-note{display:block}
#poolInfo{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;background:#eee3c4;color:#293b36;border:5px solid #496159;padding:20px;font:17px/1.6 Georgia,serif}
#poolInfo::backdrop{background:#07151dbb}
#poolInfo header{display:flex;justify-content:space-between;align-items:center;gap:15px}#poolInfo h2{font-size:22px;line-height:1.2;margin:0}#poolInfo button{min-height:44px;padding:8px 14px;background:#e1d4ad;color:#293b36;border:1px solid #8e8969;cursor:pointer}
@media(max-width:500px){#communityPool .pool-navigation{padding:5px 12px}#communityPool h1{font-size:13px}#communityPool .pool-navigation button{font-size:13px}#poolInfo{font-size:16px}}
@media(prefers-reduced-motion:reduce){#communityPool .pool-ripples{animation:none}#communityPool .pool-tone{transition:none}}
