/* 뭐 하고 놀지 */
.ac-wrap { max-width: 760px; margin: 0 auto; }
.ac-modebar .seg { display: flex; width: 100%; flex-wrap: nowrap; }
.ac-modebar .seg button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 6px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 릴 */
.ac-machine {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px; display: flex; flex-direction: column; gap: 14px;
}
.ac-reel {
  position: relative; height: 140px; overflow: hidden; border-radius: 18px;
  background: var(--surface); border: 2px solid var(--border-strong);
  box-shadow: inset 0 10px 18px -12px rgba(0, 0, 0, .25), inset 0 -10px 18px -12px rgba(0, 0, 0, .25);
}
.ac-reel::before, .ac-reel::after { content: ""; position: absolute; left: 0; right: 0; height: 30px; z-index: 2; pointer-events: none; }
.ac-reel::before { top: 0; background: linear-gradient(var(--surface), color-mix(in srgb, var(--surface) 0%, transparent)); }
.ac-reel::after { bottom: 0; background: linear-gradient(color-mix(in srgb, var(--surface) 0%, transparent), var(--surface)); }
.ac-reel-mark {
  position: absolute; left: 10px; right: 10px; top: 50%; height: 80px; transform: translateY(-50%);
  border-radius: 14px; border: 2px dashed color-mix(in srgb, var(--primary) 45%, transparent); pointer-events: none; z-index: 1;
}
.ac-reel.is-spinning .ac-reel-mark { border-style: solid; border-color: var(--primary); }
.ac-reel-strip { will-change: transform; }
.ac-reel-row { height: 80px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px; }
.ac-reel-emoji { font-size: 42px; line-height: 1; flex: none; }
.ac-reel-name {
  font-size: clamp(20px, 5.8vw, 28px); font-weight: 900; letter-spacing: -0.03em; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.ac-reel-sm { height: 96px; }
.ac-reel-sm .ac-reel-mark { height: 64px; }
.ac-reel-sm .ac-reel-row { height: 64px; gap: 10px; }
.ac-reel-sm .ac-reel-emoji { font-size: 32px; }
.ac-reel-sm .ac-reel-name { font-size: clamp(17px, 4.8vw, 21px); }

.ac-detail { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.ac-desc { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; word-break: keep-all; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ac-tag-main { background: var(--primary); color: var(--primary-ink); }
.ac-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; }
.ac-actions .btn { flex: 1 1 auto; }

/* 코스 */
.ac-course { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ac-course { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ac-slot {
  display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: var(--radius-lg);
  background: var(--surface-2); border: 1px solid var(--border);
}
.ac-slot-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ac-slot-label { font-weight: 900; font-size: 16px; }
.ac-reroll { width: 44px; padding: 0; font-size: 18px; }
.ac-slot-info { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.ac-slot-info:empty { display: none; }
.ac-slot-info .ac-desc { font-size: 14px; }
.ac-slot-info .tag { font-size: 12px; }

/* 필터 */
.ac-filters { display: flex; flex-direction: column; gap: 14px; }
.ac-filters .seg-wrap { flex-direction: column; align-items: stretch; gap: 8px; }
.ac-filters .seg { display: flex; width: 100%; }
.ac-filters .seg button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 4px; white-space: nowrap; }
.ac-fgroup { display: flex; flex-direction: column; gap: 8px; }
.ac-flabel { font-weight: 800; font-size: 14px; }
.ac-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn.ac-chip { height: auto; min-height: 44px; padding: 0 14px; font-size: 14px; background: var(--surface); }
.chip-btn.ac-chip[aria-pressed="true"] { background: var(--primary-soft); }
.ac-count { margin: 0; font-size: 14.5px; color: var(--text-2); }
.ac-count b { color: var(--primary); font-family: var(--font-num); }
.ac-excl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--border-strong); }
.ac-excl-text { font-size: 13.5px; color: var(--text-2); flex: 1 1 200px; }
@media (max-width: 380px) {
  .ac-reel-emoji { font-size: 34px; }
  .ac-filters .seg button { font-size: 13px; }
}
