.cell.is-frozen { border-color: #a7eaff99; background: #2b638866; cursor: default; }
.ice-cube { position: absolute; inset: 2%; display: grid; place-items: center; border: 1px solid #d9faff; border-radius: 17%; background: linear-gradient(135deg, #e5ffffb8, #6cccf66b 28%, #b6f2ff87 45%, #369ed596 76%, #d4fdffc4); box-shadow: inset 3px 3px 4px #f3ffffb5, inset -3px -4px 5px #0b598988, 0 0 10px #7bd9ff55; pointer-events: none; z-index: 4; }
.ice-cube img { width: 85%; height: 85%; object-fit: contain; filter: hue-rotate(var(--yarn-hue)) saturate(.8); opacity: .65; }
.ice-cube::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(145deg, #ffffffb0 0 12%, transparent 13% 48%, #d5faff88 49% 53%, transparent 54%), linear-gradient(20deg, #d9fcff66, transparent 40%); box-shadow: inset 0 0 8px #c3f9ff; }
.ice-cube::after { content: ''; position: absolute; inset: 6%; border: 1px solid #e0ffff99; border-radius: 12%; clip-path: polygon(0 0, 100% 0, 100% 30%, 85% 15%, 20% 12%, 0 90%); }
.ice-cracks { position: absolute; inset: 0; opacity: 0; filter: drop-shadow(1px 1px 1px #104d7d); }
.ice-cracks::before, .ice-cracks::after { content: ''; position: absolute; inset: 0; background: #f3ffff; clip-path: polygon(37% 0, 40% 0, 53% 30%, 43% 49%, 63% 64%, 56% 100%, 52% 100%, 58% 65%, 37% 50%, 48% 30%); }
.ice-cracks::after { transform: rotate(90deg); opacity: 0; }
.cell[data-cracks="1"] .ice-cracks, .cell[data-cracks="2"] .ice-cracks { opacity: 1; }
.cell[data-cracks="2"] .ice-cracks::after { opacity: 1; }
.cell[data-cracks="2"] .ice-cube { box-shadow: inset 0 0 9px #e0ffff, 0 0 13px #a0e9ff99; }
.yarn-slot { display: grid; place-items: center; width: clamp(27px, 6vw, 38px); aspect-ratio: 1; border: 1px solid #b6deff55; border-radius: 50%; background: #1c274c99; }
.yarn-slot img { width: 100%; height: 100%; object-fit: contain; opacity: .22; filter: hue-rotate(var(--yarn-hue)) grayscale(.6); }
.yarn-slot.is-collected { border-color: #ffe6a1; box-shadow: 0 0 9px #f6cd6a55; }
.yarn-slot.is-collected img { opacity: 1; filter: hue-rotate(var(--yarn-hue)) drop-shadow(0 0 3px #ffdb86); }
.rolling-yarn { position: absolute; aspect-ratio: 1; object-fit: contain; z-index: 20; pointer-events: none; filter: hue-rotate(var(--yarn-hue)) drop-shadow(0 0 7px #ffda76); }
.ice-shard { position: absolute; width: 10px; height: 15px; background: linear-gradient(145deg, #f1ffff, #6dcdf7a8); clip-path: polygon(20% 0, 100% 30%, 55% 100%, 0 70%); box-shadow: 0 0 6px #cdfbff; pointer-events: none; z-index: 19; }
@media (orientation: landscape) and (max-height: 550px) { .yarn-slot { width: 23px; } }
