.l4-wrap { width: min(100%, 520px); margin: 6px auto 0; }
.l4-arrows { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; padding: 0 10px 4px; }
.l4-arrow { border: 0; background: none; color: var(--muted); font-size: 1.1rem; height: 30px; cursor: pointer; border-radius: 8px; }
.l4-arrow:hover:not(:disabled) { color: var(--ink); background: var(--subtle, #eef0f2); }
.l4-arrow:disabled { opacity: .25; cursor: default; }
.l4-board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2.2%; padding: 10px; background: #1f5fae; border-radius: 16px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.18), var(--shadow-lg); aspect-ratio: 7 / 6; touch-action: manipulation; }
.l4-cell { position: relative; border-radius: 50%; background: #f3f5f8; box-shadow: inset 0 4px 6px rgba(0,0,0,.28); cursor: pointer; }
.l4-disc { position: absolute; inset: 7%; border-radius: 50%; opacity: 0; }
.l4-cell.p1 .l4-disc { opacity: 1; background: radial-gradient(circle at 40% 35%, #ff6b5f, #d7322a 60%, #a8231d); box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.l4-cell.p2 .l4-disc { opacity: 1; background: radial-gradient(circle at 40% 35%, #ffe479, #f2c218 60%, #c99a07); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.l4-cell.drop .l4-disc { animation: l4-fall calc(.12s + var(--fall, 1) * .05s) cubic-bezier(.5, 0, 1, 1); }
@keyframes l4-fall { from { transform: translateY(calc(var(--fall, 1) * -118%)); } }
.l4-cell.win .l4-disc { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink); animation: l4-win .6s ease infinite alternate; }
@keyframes l4-win { to { transform: scale(.9); } }
.l4-board[data-hover="0"] .l4-cell[data-col="0"], .l4-board[data-hover="1"] .l4-cell[data-col="1"], .l4-board[data-hover="2"] .l4-cell[data-col="2"], .l4-board[data-hover="3"] .l4-cell[data-col="3"],
.l4-board[data-hover="4"] .l4-cell[data-col="4"], .l4-board[data-hover="5"] .l4-cell[data-col="5"], .l4-board[data-hover="6"] .l4-cell[data-col="6"] { background: #dfe7f2; }
.l4-s1 .icon { color: #d7322a; }
.l4-s2 .icon { color: #c99a07; }
.l4-msg { font-weight: 700; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .l4-cell.drop .l4-disc, .l4-cell.win .l4-disc { animation: none; } }
