.sol { max-width: 920px; margin: 0 auto; background: #2f7d3a; background: radial-gradient(circle at 50% 30%, #3a9147, #276a31); border-radius: 18px; padding: 12px; box-shadow: 0 10px 30px rgba(29, 40, 23, .15); }
.sol-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; color: #fff; }
.sol-bar select, .sol-bar button { font: inherit; font-size: 14px; padding: 7px 12px; border-radius: 10px; border: 0; background: #fff; color: #1d2817; cursor: pointer; }
.sol-bar button:disabled { opacity: .5; cursor: default; }
.sol-stat { font-size: 14px; opacity: .9; }
.sol-stat b { font-size: 16px; margin-left: 4px; }
.sol-spacer { flex: 1; }
.sol-table { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; min-height: 300px; }
.sol-slot { position: absolute; left: 0; top: 0; border: 2px solid rgba(255, 255, 255, .28); background: rgba(0, 0, 0, .08); box-sizing: border-box; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .45); font-size: calc(var(--cw) * .42); }
.sol-slot.stock { cursor: pointer; }
.sol-card { position: absolute; left: 0; top: 0; box-sizing: border-box; transition: transform .2s ease; will-change: transform; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); cursor: pointer; font-family: Georgia, "Times New Roman", serif; }
.sol-card, .sol-slot { width: var(--cw); height: var(--ch); border-radius: calc(var(--cw) * .08); }
.sol-card.down { background: #1e5bb8 repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 4px, transparent 4px 9px); border: 3px solid #fff; }
.sol-card.down > * { display: none !important; }
.sol-card.up { background: #fff; border: 1px solid #c9c9c9; }
.sol-card.red { color: #d0312d; }
.sol-card.black { color: #1d1d1d; }
.sol-card .c-tl { position: absolute; top: 3%; left: 7%; font-weight: 700; line-height: 1; font-size: calc(var(--cw) * .24); letter-spacing: -.02em; }
.sol-card .c-br { position: absolute; bottom: 3%; right: 7%; font-weight: 700; line-height: 1; font-size: calc(var(--cw) * .24); transform: rotate(180deg); }
.sol-card .c-mid { position: absolute; inset: 22% 0 8%; display: flex; align-items: center; justify-content: center; font-size: calc(var(--cw) * .5); line-height: 1; }
.sol-card.drag { transition: none; box-shadow: 0 10px 22px rgba(0, 0, 0, .4); }
.sol-card.hint { box-shadow: 0 0 0 3px #ffd54a; }
.sol-card.shake { animation: sol-shake .3s; }
@keyframes sol-shake { 25% { margin-left: -4px; } 75% { margin-left: 4px; } }
.sol-status { text-align: center; color: #fff; font-weight: 700; min-height: 1.4em; margin: 10px 0 2px; }
.sol-win { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 999; }
.sol-win div { background: #fff; color: #1d2817; border-radius: 16px; padding: 20px 26px; text-align: center; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.sol-win h2 { margin: 0 0 6px; }
.sol-win button { font: inherit; font-weight: 700; margin-top: 12px; padding: 10px 22px; border-radius: 999px; border: 0; background: #2f7d3a; color: #fff; cursor: pointer; }
