/* 간식 슬롯머신(v3.8, slots.js) */
.slot-open { flex: none; white-space: nowrap; background: #fff1c9; border-color: #b8860b; color: #7a5200; }
.social-head .slot-open { margin-left: auto; }
.social-head .slot-open + .duel-open { margin-left: 0; }  /* duel.css가 대결 버튼을 오른쪽으로 밀어 둠 → 슬롯이 대신 밂 */
.update-dlg.slot-dlg { width: min(340px, calc(100vw - 24px)); max-height: calc(100dvh - 16px); overflow-y: auto; }
.slot-dlg .slot-sub { margin-bottom: 10px; font-size: 0.8rem; }
.slot-box { background: linear-gradient(#ffcf6b, #f5a742); border: 2px solid var(--ink); border-radius: 18px; padding: 12px 10px 8px; box-shadow: inset 0 -4px 0 rgba(61,48,43,.18); }
.slot-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-reel { aspect-ratio: 1; background: #fffdf6; border: 2px solid var(--ink); border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.slot-reel img { width: 78%; height: 78%; object-fit: contain; }
.slot-reel.spin img { filter: blur(1.5px); transform: translateY(4%); }
.slot-reel.hit { background: #fff3a8; animation: slotHit .5s ease 2; }
@keyframes slotHit { 50% { transform: scale(1.08); } }
.slot-msg { min-height: 1.4em; margin: 8px 0 0; font: 0.95rem var(--display); color: var(--ink); }
.slot-msg.good { color: #2f6b2a; }
.slot-msg.big { color: #c0473f; font-size: 1.1rem; }
.slot-msg.bad { color: #c0473f; font-size: 0.85rem; }
.slot-bets { display: flex; gap: 6px; justify-content: center; margin: 12px 0 8px; }
.slot-bets button { font: 0.85rem var(--display); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; background: #fff; color: var(--ink); cursor: pointer; }
.slot-bets button[aria-pressed="true"] { background: var(--gold); }
.slot-go { width: 100%; }
.slot-go:disabled { opacity: .55; }
.slot-table { margin: 10px 0 4px; text-align: left; font-size: 0.8rem; }
.slot-table summary { cursor: pointer; font-family: var(--display); color: var(--leaf); text-align: center; }
.slot-table ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; }
.slot-table li { display: flex; align-items: center; white-space: nowrap; color: var(--muted); }
.slot-table li img { width: 20px; height: 20px; object-fit: contain; }
.slot-table li.slot-lim { grid-column: 1 / -1; white-space: normal; color: #c0473f; font-family: var(--display); }
/* 우리 집 상점 「슬롯 대박 한정」 칸(home-panel.js) */
.home-shop .rar.r-lim { font: 0.66rem var(--display); line-height: 1; padding: 3px 7px; border-radius: 999px; border: 1.5px solid #e0a46e; background: linear-gradient(90deg, #ffd86b, #ff9fb6); color: var(--ink); }
.home-shop button.lim-lock img { filter: saturate(.6); opacity: .8; }
@media (prefers-reduced-motion: reduce) { .slot-reel.hit { animation: none; } .slot-reel.spin img { filter: none; transform: none; } }
