/* Beachcombing (v1.156). Prefixed .bcm- */
.bcm { text-align: center; }
.bcm .dwx-row { justify-content: center; }
.bcm-promise { color: var(--dw-muted); }
.bcm-line { max-width: 34em; margin-left: auto; margin-right: auto; }
.bcm-shore { position: relative; display: grid; place-items: center; height: 210px; margin-bottom: 8px; border-radius: 16px; overflow: hidden; background: #2b2a35; box-shadow: 0 14px 34px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .05); isolation: isolate; }
.bcm-shore > span { position: absolute; left: 0; right: 0; pointer-events: none; }
.bcm-sky { top: 0; height: 36%; background: linear-gradient(180deg, #0a1030 0%, #1b2a5a 55%, #4a4f7c 100%); }
.bcm-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(214, 170, 130, 0), rgba(214, 170, 130, .28)); }
.bcm-sea { top: 34%; height: 24%; background: linear-gradient(180deg, #3a4f86 0%, #2f4a78 40%, #4f6f98 100%); }
.bcm-sea::before, .bcm-sea::after { content: ""; position: absolute; left: -5%; right: -5%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent 30%, transparent 55%, rgba(255, 255, 255, .25), transparent); }
.bcm-sea::before { top: 30%; } .bcm-sea::after { top: 62%; opacity: .7; }
.bcm-swell { top: 53%; height: 9%; background: linear-gradient(180deg, rgba(90, 120, 165, .5), rgba(140, 165, 195, .9) 60%, rgba(175, 195, 212, .95)); border-radius: 50% 50% 0 0 / 100% 100% 0 0; animation: bcm-wash 9s ease-in-out infinite; transform-origin: center bottom; }
.bcm-wet { top: 58%; height: 20%; background: linear-gradient(180deg, #7d7f88 0%, #6a665f 45%, #5b5548 100%); }
.bcm-wet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(170, 185, 205, .45), rgba(170, 185, 205, 0) 60%); }
.bcm-foam { top: 59%; height: 16px; left: -10%; right: -10%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .6), rgba(255, 255, 255, .2) 40%, rgba(255, 255, 255, 0) 72%); filter: blur(1.2px); animation: bcm-wash 9s ease-in-out infinite; }
.bcm-foam--b { top: 64%; animation-delay: 3s; opacity: .5; }
.bcm-sand { top: 74%; bottom: 0; background: linear-gradient(180deg, #8f8270 0%, #6f6452 100%); }
.bcm-sand::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>"); }
.bcm-shadow { top: 80%; left: 50%; right: auto; width: 110px; height: 22px; margin-left: -55px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%); }
.bcm-art { width: 86px; height: 86px; }
.bcm-art--found { position: relative; width: 104px; height: 104px; margin-top: 78px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }

.bcm-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); list-style: none; margin: 1.2em 0; padding: 0; }
.bcm-cell { display: grid; place-items: center; gap: 4px; padding: 12px 8px; min-height: 108px; border-radius: 12px; border: 1px solid var(--dw-line-strong); background: rgba(255, 255, 255, .02); }
.bcm-cell.is-found { border-color: rgba(217, 185, 138, .5); background: rgba(217, 185, 138, .08); }
.bcm-cell .bcm-art { width: 46px; height: 46px; }
.bcm-cell__n { font-size: 12px; color: var(--dw-muted); line-height: 1.3; }
.bcm-cell__empty { width: 36px; height: 36px; border-radius: 50%; border: 1px dashed var(--dw-line-strong); opacity: .5; }

@keyframes bcm-wash { 0%, 100% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(7px) scaleX(1.05); } }
@media (prefers-reduced-motion: reduce) { .bcm-foam, .bcm-swell { animation: none; } }
