/* 선반 정리 시험판 전용 */
.shelf-help { margin: 0; font-size: 13px; color: #6b5d50; line-height: 1.5; text-align: center; }
.shelf-wrap { display: flex; flex-direction: column; gap: 6px; }
.shelf-labels { display: grid; gap: 6px; padding: 0 6px; }
.shelf-label { background: #fff; border-radius: 10px; padding: 5px 2px; text-align: center; border: 2px solid #e7dccb; transition: background 0.3s, border-color 0.3s; }
.shelf-label .li { font-size: 22px; line-height: 1.1; }
.shelf-label .ln { display: block; font-size: 11px; font-weight: 700; color: #6b5d50; }
.shelf-label .lc { display: block; font-size: 11px; color: #9a8b7d; }
.shelf-label.near { border-color: #8cc676; }
.shelf-label.done { background: #8cc676; border-color: #8cc676; animation: pop 0.4s ease-out; }
.shelf-label.done .ln, .shelf-label.done .lc { color: #fff; }
.shelf-board { touch-action: none; position: relative; }
.shelf-board .cell { cursor: pointer; }
.shelf-board .cell.lane { background: #e4d4bd; }
.shelf-board .tile { flex-direction: column; font-size: 30px; transition: transform 0.14s ease-out; box-shadow: inset 0 -4px 0 rgba(0,0,0,0.08); }
.shelf-board .tile.home { box-shadow: inset 0 -4px 0 rgba(0,0,0,0.08), 0 0 0 3px #fff inset; }
.shelf-board .tile.home::after { content: '✓'; position: absolute; right: 5px; top: 2px; font-size: 12px; color: #2e7d32; font-weight: 900; }
.shelf-board .tile.arrive { animation: drop-in 0.35s ease-out; }
.shelf-board .tile.clearing { animation: clear-out 0.45s ease-in forwards; z-index: 3; }
.shelf-board .tile.nudge { animation: nudge 0.25s ease-in-out; }
@keyframes drop-in { 0% { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
@keyframes clear-out { 0% { transform: scale(1); opacity: 1; } 40% { transform: scale(1.12); } 100% { transform: translateY(-40%) scale(0.5); opacity: 0; } }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
#next-box b { font-size: 20px; }
.card.shelf .go { background: #8cc676; }
