.sc-guide { font-weight: 800; color: var(--text-2); }
.sc-count { font-family: var(--font-num); font-weight: 900; color: var(--primary); }
.sc-actions .btn { flex: 1 1 auto; }

/* 복권 목록 */
.sc-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.sc-ticket {
  --c: #ff5a36;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 84px;
  padding: 12px 14px 12px 18px; border-radius: 14px; cursor: pointer; text-align: left; color: var(--text);
  background: var(--surface); border: 2px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .12s ease, border-color .15s ease; -webkit-tap-highlight-color: transparent;
}
.sc-ticket::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 6px; border-radius: 0 6px 6px 0; background: var(--c);
}
.sc-ticket::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border); clip-path: inset(0 0 0 50%);
}
.sc-ticket:hover { transform: translateY(-2px); border-color: var(--c); }
.sc-ticket:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.sc-t-top { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.sc-t-icon { font-size: 20px; }
.sc-t-name { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-t-cta {
  font-size: 12.5px; font-weight: 800; color: #5b6475; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #c3c9d3, #eef1f5 50%, #b3bac6);
}
.sc-ticket.is-done { background: var(--surface-2); }
.sc-ticket.is-win { border-color: var(--primary); background: var(--primary-soft); }

/* 크게 본 복권 */
.sc-focus { max-width: 520px; margin: 0 auto; width: 100%; }
.sc-big {
  --c: #ff5a36;
  position: relative; border-radius: 20px; padding: 14px 14px 12px;
  background: linear-gradient(135deg, #fff4d6, #ffe0ec 55%, #dff1ff);
  border: 3px solid var(--c); box-shadow: var(--shadow); color: #3b2a1a;
}
.sc-big::before, .sc-big::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--c);
}
.sc-big::before { left: -13px; clip-path: inset(0 0 0 50%); }
.sc-big::after { right: -13px; clip-path: inset(0 50% 0 0); }
.sc-big-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sc-brand { font-weight: 900; font-size: 15px; color: #1d7a4a; letter-spacing: .02em; white-space: nowrap; }
.sc-owner {
  font-weight: 900; font-size: 15px; padding: 3px 12px; border-radius: 999px; background: var(--c); color: #fff;
  max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sc-area {
  position: relative; aspect-ratio: 2 / 1; border-radius: 14px; overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08);
}
.sc-result {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: repeating-linear-gradient(45deg, #fffdf6 0 10px, #fff6e3 10px 20px);
}
.sc-result.is-win { background: radial-gradient(circle, #fff8d6, #ffd66b 70%, #ffb020); }
.sc-r-emoji { font-size: clamp(30px, 9vw, 44px); line-height: 1.1; }
.sc-r-text { font-size: clamp(28px, 9vw, 46px); font-weight: 900; letter-spacing: -0.02em; color: #1d2030; text-align: center; padding: 0 8px; word-break: keep-all; line-height: 1.15; }
.sc-result.is-lose .sc-r-text { color: #6b7185; }
.sc-area.is-revealed .sc-result { animation: bb-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.sc-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab;
  transition: opacity .5s ease; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.sc-canvas:active { cursor: grabbing; }
.sc-canvas.is-gone { opacity: 0; pointer-events: none; }
.sc-big-foot { margin: 8px 0 0; text-align: center; font-size: 12px; font-weight: 700; color: #8a6d4a; }
.sc-live { margin: 0; text-align: center; font-weight: 800; color: var(--text-2); min-height: 1.5em; word-break: keep-all; }
