#daynight-ambient,#daynight-glow,#daynight-sky{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:9}
#daynight-sky{z-index:3;mask-size:100% 100%;-webkit-mask-size:100% 100%;mix-blend-mode:multiply}
#daynight-glow{mix-blend-mode:screen}
#scene #speech,#scene .scene-caption{z-index:11}
#lighting-tools{max-width:920px;margin:16px auto;padding:18px;background:#e6dfbd;color:#22372c;border:2px solid #637150;border-radius:12px;font:14px/1.4 Arial,sans-serif}
#lighting-tools strong{letter-spacing:1px}#lighting-tools p{margin:4px 0 14px}#lighting-tools label{display:flex;align-items:center;gap:12px;margin:10px 0;flex-wrap:wrap}#lighting-tools select{min-height:44px;padding:8px;font:16px Arial;max-width:100%}#lighting-tools input{flex:1;min-width:160px;min-height:44px}#lighting-tools button{min-height:44px;border:1px solid #526643;border-radius:6px;padding:10px 14px;background:#f6eed4;color:#22372c;font-weight:bold}#lighting-tools button[aria-pressed=true]{background:#344f3c;color:white}.lighting-phases{display:flex;gap:6px;flex-wrap:wrap}#lighting-tools small,#lighting-tools a{display:block;margin-top:10px;color:#22372c}#lighting-tools a{font-weight:bold}
@media(max-width:600px){#lighting-tools{margin:10px;padding:12px}}
.lighting-capture .topbar,.lighting-capture .sidebar,.lighting-capture footer,.lighting-capture .pet-profile,.lighting-capture #leaderboards,.lighting-capture #notice,.lighting-capture .release-label{display:none!important}
.lighting-capture .layout{display:block;margin:0 auto;padding:38px 10px 10px;max-width:520px}.lighting-capture .device-wrap{width:100%}

#daynight-signs{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:9}

/* Characters and held tackle stay in front of every scenery/light layer. */
#scene #pet,#scene #opponent-pet{z-index:12!important}
#scene #fishing-rod-layer{z-index:13}
#scene #fishing-cast-target{z-index:14}
#scene #speech{z-index:15}

#scene #speech{pointer-events:auto;cursor:pointer;touch-action:manipulation}
#scene #speech:focus-visible{outline:2px solid #ffe58a;outline-offset:2px}
