.is-pearl .gem { filter: drop-shadow(0 0 5px #b7faff); }
.cell.is-pearl { background: radial-gradient(circle, #b7eeff29, #17334b55); border-color: #b6f2ff80; cursor: default; z-index: 5; }
.cell.is-pearl .gem-tint { z-index: 5; }
.cell.ocean-lane { border-inline-color: #a4edff45; background: linear-gradient(90deg, #83dbff13, #0928385c 50%, #83dbff13); }
.cell.ocean-lane .gem-tint { z-index: 4; }
.ocean-shell { position: absolute; height: auto; aspect-ratio: 1; object-fit: contain; pointer-events: none; z-index: 3; filter: drop-shadow(0 0 5px #c0ebff88); }
.ocean-shell.is-catching { filter: brightness(1.3) drop-shadow(0 0 14px #fff3bd); }
.ocean-hero { display: block; width: 42px; height: 42px; flex: none; background: url('assets/swan-hero.png') left center / 200% 100% no-repeat; filter: drop-shadow(0 0 4px #b6edff77); }
.ocean-hero.has-pearl { background-position: right center; }
.ocean-task { color: #d8f8ff; font-size: clamp(.7rem, 2.1vw, .87rem); text-wrap: balance; }
.flying-pearl { position: absolute; z-index: 25; pointer-events: none; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 0 10px #d3fbff); }
.ocean-bubbles { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; border-radius: inherit; }
.is-ocean .ocean-bubbles { display: block; }
.ocean-bubbles i { position: absolute; bottom: -20px; width: 8px; height: 8px; border: 1px solid #cbf8ff80; border-radius: 50%; box-shadow: inset 1px 1px 2px #d9fcff80; animation: sea-bubble 9s linear infinite; }
.ocean-bubbles i:nth-child(1) { left: 7%; animation-delay: -2s; }
.ocean-bubbles i:nth-child(2) { left: 28%; animation-delay: -6s; width: 5px; height: 5px; }
.ocean-bubbles i:nth-child(3) { left: 61%; animation-delay: -4s; }
.ocean-bubbles i:nth-child(4) { left: 80%; animation-delay: -8s; width: 12px; height: 12px; }
.ocean-bubbles i:nth-child(5) { left: 95%; animation-delay: -1s; }
@keyframes sea-bubble { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: .65; } 85% { opacity: .5; } 100% { transform: translate(10px,-560px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ocean-bubbles { display: none !important; } }
@media (orientation: landscape) and (max-height: 550px) { .ocean-hero { width: 26px; height: 26px; } .ocean-task { font-size: .62rem; } }
