/* 솔빛 FC 팬 앱·관리자 시연. 자주(구단 색) + 주황(포인트), 분필색 바탕. */
.cl {
  --bg: #F4F1EC;
  --surface: #FFFFFF;
  --surface-2: #F9F7F3;
  --text: #1B1426;
  --muted: #625A6E;
  --line: #E2DCE5;
  --primary: #2E1A47;
  --primary-2: #45296B;
  --accent: #FF8A3D;
  --accent-ink: #A8430A;
  --ok: #1D7A4F;
  --warn: #8F5600;
  --danger: #B3261E;
  --pitch: #2F6B45;
  --f-display: "Black Han Sans", "Pretendard Variable", sans-serif;
  --f-num: "Oswald", "Pretendard Variable", sans-serif;
  --r: 12px;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
.cl *, .cl *::before, .cl *::after { box-sizing: border-box; }
:where(.cl) a { color: inherit; }
:where(.cl) button { font: inherit; color: inherit; }
:where(.cl) input, :where(.cl) select, :where(.cl) textarea { font: inherit; color: var(--text); }
.cl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cl [hidden] { display: none !important; }

.cl-band { height: 28px; display: flex; align-items: center; justify-content: center; padding: 0 12px; background: #E9E3EF; color: var(--muted); font-size: 12px; text-align: center; position: relative; z-index: 30; }
.cl-eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.cl-h2 { margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.cl-p { margin: 0 0 12px; }
.cl-small { font-size: 13px; margin: 0; }
.cl-muted { color: var(--muted); }
.cl-pad { padding: 12px 4px 0; }
.cl-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #F1EAF7; color: var(--primary-2); font-size: 11px; font-weight: 600; vertical-align: 1px; }

/* 버튼 */
.cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 650; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.cl-btn:disabled { opacity: .45; cursor: not-allowed; }
.cl-btn--primary { background: var(--primary); color: #fff !important; }
.cl-btn--primary:not(:disabled):hover { background: var(--primary-2); }
.cl-btn--accent { background: var(--accent); color: var(--text) !important; }
.cl-btn--ghost-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff !important; }
.cl-btn--line { background: var(--surface); border-color: var(--line); color: var(--text); }
.cl-btn--line:not(:disabled):hover { border-color: var(--primary); }
.cl-btn--danger { background: var(--danger); color: #fff; }
.cl-btn--block { display: flex; width: 100%; }
.cl-btn--lg { min-height: 52px; font-size: 16px; }
.cl-btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.cl-icon-btn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; display: inline-grid; place-items: center; cursor: pointer; color: var(--muted); }
.cl-icon-btn:hover { background: var(--surface-2); color: var(--text); }
.cl-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; cursor: pointer; }
.cl-reset--icon { width: 40px; height: 40px; padding: 0; justify-content: center; border: 0; background: transparent; color: inherit; }

.cl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; border: 1px solid transparent; }
.cl-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cl-chip--received { background: #EEF0FA; color: #3B4A9C; }
.cl-chip--approved { background: #E6F3EC; color: var(--ok); }
.cl-chip--waiting { background: #FBF0DC; color: var(--warn); }
.cl-chip--rejected { background: #FBE9E7; color: var(--danger); }

/* ── 팬 앱 무대 ───────────────────────── */
.cl-stage { display: flex; justify-content: center; align-items: flex-start; gap: 48px; }
.cl-side { display: none; }
.cl-phone { width: 100%; max-width: 430px; min-height: calc(100vh - 28px); background: var(--bg); position: relative; display: flex; flex-direction: column; }
.cl-main { flex: 1; padding-bottom: 24px; }

.cl-appbar { position: sticky; top: 0; z-index: 20; height: 56px; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 12px; background: var(--primary); color: #fff; }
.cl-appbar__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-display); font-size: 20px; letter-spacing: .01em; }
.cl-appbar__back { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 10px; }
.cl-appbar__title { margin: 0; font-size: 17px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-appbar__right { margin-left: auto; display: flex; align-items: center; }
.cl-bell { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; }
.cl-bell__dot { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--primary); }

.cl-tabbar { position: sticky; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line); }
.cl-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); cursor: pointer; }
.cl-tab.is-on { color: var(--primary); }
.cl-tab.is-on svg { color: var(--accent-ink); }

.cl-sec { padding: 18px 16px 0; }
.cl-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cl-sec > .cl-h2 { margin-bottom: 10px; }
.cl-more-link { font-size: 13px; color: var(--muted); }
.cl-empty { padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface-2); text-align: center; color: var(--muted); font-size: 14px; }
.cl-empty p { margin: 0 0 10px; }
.cl-empty p:last-child { margin: 0; }
.cl-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.cl-note p { margin: 0; }
.cl-note svg { flex: none; margin-top: 1px; color: var(--primary-2); }
.cl-note--accent { background: #FFF1E6; border-color: #FFD9BD; color: #5E2C0A; }
.cl-note--warn { background: #FBF0DC; border-color: #F1DDB4; color: #5B3A00; margin: 0 0 4px; }

/* 홈 */
.cl-hero { margin: 0; padding: 18px 16px 20px; background: linear-gradient(170deg, var(--primary) 0%, #3C2160 70%, #4A2A57 100%); color: #fff; position: relative; overflow: hidden; }
.cl-hero__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: #FFD2B3; display: flex; align-items: center; gap: 6px; }
.cl-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,138,61,.3); }
.cl-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; position: relative; z-index: 1; }
.cl-score__team { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.cl-score__team b { font-size: 15px; font-weight: 750; line-height: 1.25; }
.cl-score__team small { font-size: 12px; color: #CDBFDD; }
.cl-score__mid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cl-score__time { font-family: var(--f-num); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: .02em; }
.cl-score__count { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.12); white-space: nowrap; }
.cl-opp { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #DCE7F5; color: #1E3A66; font-family: var(--f-display); font-size: 22px; border: 2px solid #9DB6D8; }
.cl-hero__meta { margin: 14px 0 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #E4DAEF; position: relative; z-index: 1; }
.cl-hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1; }

.cl-quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cl-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border-radius: var(--r); text-decoration: none; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.3; min-height: 84px; }
.cl-quick a:hover { background: var(--surface); }
.cl-quick__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--primary); }

.cl-hscroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; }
.cl-mini { flex: 0 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.cl-mini b { font-weight: 650; }
.cl-mini span { color: var(--muted); }
.cl-mini em { font-style: normal; font-size: 12px; font-weight: 650; min-height: 18px; }
.cl-mini em.is-low, .cl-product__stock.is-low { color: var(--accent-ink); }
.cl-mini em.is-out, .cl-product__stock.is-out { color: var(--danger); }
.cl-mini__art { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); margin-bottom: 6px; }
.cl-art { width: 100%; height: 100%; display: block; }

.cl-banner { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 12px; align-items: center; padding: 16px; border-radius: var(--r); background: #FFF1E6; border: 1px solid #FFD9BD; text-decoration: none; }
.cl-banner > * { grid-column: 1; }
.cl-banner > svg { grid-column: 2; grid-row: 1 / span 3; color: var(--accent-ink); }
.cl-banner b { font-size: 16px; }
.cl-banner span { font-size: 13px; color: #6A3A1B; }
.cl-banner__tag { justify-self: start; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--text) !important; font-weight: 700; font-size: 12px !important; margin-bottom: 4px; }
.cl-banner--line { background: var(--surface); border-color: var(--line); grid-template-columns: 1fr; row-gap: 6px; }
.cl-banner--line span { color: var(--muted); }
.cl-banner--line .cl-btn { justify-self: start; margin-top: 4px; }

/* 모바일 티켓 (시그니처) */
.cl-tk { display: grid; grid-template-columns: 1fr 128px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(46,26,71,.08); position: relative; overflow: hidden; }
.cl-tk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--primary) 0 60%, var(--accent) 60%); }
.cl-tk__main { padding: 14px 12px 14px 20px; min-width: 0; }
.cl-tk__eyebrow { margin: 0; font-size: 12px; font-weight: 650; color: var(--accent-ink); }
.cl-tk__match { margin: 2px 0 10px; font-family: var(--f-display); font-size: 18px; line-height: 1.25; color: var(--primary); }
.cl-tk__match span { font-family: var(--f-num); font-size: 14px; color: var(--muted); margin: 0 2px; }
.cl-tk__info { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 0; font-size: 13px; }
.cl-tk__info div { min-width: 0; }
.cl-tk__info dt { color: var(--muted); font-size: 11px; }
.cl-tk__info dd { margin: 0; font-weight: 650; }
.cl-tk__stub { border-left: 2px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; background: var(--surface-2); position: relative; }
.cl-tk__stub::before, .cl-tk__stub::after { content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.cl-tk__stub::before { top: -10px; }
.cl-tk__stub::after { bottom: -10px; }
.cl-tk__code { margin: 0; font-family: var(--f-num); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.cl-tk__void { margin: 0; text-align: center; font-weight: 700; color: var(--danger); font-size: 14px; }
.cl-tk.is-void { opacity: .75; }
.cl-tk.is-void .cl-tk__match { text-decoration: line-through; text-decoration-thickness: 1px; }
.cl-tk.is-new { animation: cl-tk-in .7s cubic-bezier(.2,.8,.2,1) both; }
.cl-tk.is-new .cl-tk__stub { animation: cl-stub-in .9s .25s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cl-tk-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cl-stub-in { from { transform: translateX(30px) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.cl-tk + .cl-tk { margin-top: 10px; }
.cl-mine + .cl-mine { margin-top: 14px; }
.cl-mine__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 4px 0; flex-wrap: wrap; }

/* 티켓 예매 */
.cl-matches { display: grid; gap: 8px; }
.cl-match { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "date tag" "vs state"; gap: 2px 8px; text-align: left; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); cursor: pointer; align-items: center; }
.cl-match.is-on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.cl-match__date { grid-area: date; font-size: 12px; color: var(--muted); }
.cl-match b { grid-area: vs; font-size: 16px; }
.cl-match__state { grid-area: state; font-size: 12px; font-weight: 650; color: var(--primary-2); justify-self: end; }
.cl-match__tag { grid-area: tag; justify-self: end; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #FFF1E6; color: var(--accent-ink); }
.cl-match.is-soon { cursor: default; grid-template-areas: "date date" "vs vs" "state btn"; background: var(--surface-2); }
.cl-match.is-soon .cl-match__state { justify-self: start; color: var(--muted); }
.cl-match.is-soon .cl-btn { grid-area: btn; }

.cl-stadium { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; }
.cl-zone { cursor: pointer; outline: none; }
.cl-zone rect { fill: #EFE9F4; stroke: #A794BE; stroke-width: 1.2; }
.cl-zone text { font-size: 11px; font-weight: 700; fill: var(--primary); pointer-events: none; }
.cl-zone:hover rect, .cl-zone:focus-visible rect { fill: #E2D6EE; }
.cl-zone.is-low rect { fill: #FFF1E6; stroke: #E9A06A; }
.cl-zone.is-out rect { fill: #E6E3E8; stroke: #C9C3CE; }
.cl-zone.is-out text { fill: #8F8899; text-decoration: line-through; }
.cl-zone.is-on rect { fill: var(--accent); stroke: var(--accent-ink); stroke-width: 2; }
.cl-zone.is-on text { fill: var(--text); }
.cl-zones { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.cl-zrow { width: 100%; display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; min-height: 52px; }
.cl-zrow__key { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: #EFE9F4; font-family: var(--f-num); font-weight: 600; color: var(--primary); }
.cl-zrow__name { display: flex; flex-direction: column; }
.cl-zrow__name small { font-size: 12px; color: var(--muted); }
.cl-zrow__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cl-zrow.is-low small { color: var(--accent-ink); font-weight: 650; }
.cl-zrow.is-out { background: var(--surface-2); color: #8F8899; cursor: not-allowed; }
.cl-zrow.is-out small { color: var(--danger); font-weight: 650; }
.cl-zrow.is-on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.cl-zrow.is-on .cl-zrow__key { background: var(--accent); color: var(--text); }

.cl-fares { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cl-fare { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.cl-fare > span:first-child { display: flex; flex-direction: column; }
.cl-fare small { color: var(--muted); font-size: 12px; min-height: 18px; }
[data-club--tickets-target="fareSec"].is-dim { opacity: .5; }
.cl-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cl-stepper button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--primary); }
.cl-stepper output { min-width: 28px; text-align: center; font-family: var(--f-num); font-size: 17px; font-weight: 600; }
.cl-stepper--sm button { width: 38px; height: 38px; }

.cl-paybar { position: sticky; bottom: 62px; z-index: 15; margin: 18px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.cl-paybar div { display: flex; flex-direction: column; min-width: 0; }
.cl-paybar small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-paybar b { font-family: var(--f-num); font-weight: 600; font-size: 20px; }
.cl-paybar .cl-btn { min-width: 120px; }

.cl-details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 0 14px; }
.cl-details summary { min-height: 48px; display: flex; align-items: center; font-weight: 650; cursor: pointer; }
.cl-details ul { margin: 0 0 8px; padding-left: 18px; font-size: 13px; }
.cl-details p { margin: 0 0 12px; }

/* 결제창·모달 */
.cl-modal, .cl-sheet { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.cl-modal::backdrop, .cl-sheet::backdrop { background: rgba(27,20,38,.5); }
.cl-modal[open] { margin: auto auto 0; width: 100%; max-width: 480px; }
.cl-modal__body, .cl-sheet__body { background: var(--surface); border-radius: 18px 18px 0 0; padding: 14px 18px 22px; max-height: 88vh; overflow-y: auto; }
.cl-sheet[open] { margin: auto auto 0; width: 100%; max-width: 520px; }
.cl-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
@media (min-width: 700px) {
  .cl-modal[open], .cl-sheet[open] { margin: auto; }
  .cl-modal__body, .cl-sheet__body { border-radius: 18px; }
}
.cl-pay__title { margin: 0 0 8px; font-weight: 700; }
.cl-pay__lines { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.cl-pay__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.cl-pay__total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 14px; }
.cl-pay__total b { font-family: var(--f-num); font-size: 24px; font-weight: 600; color: var(--primary); }
.cl-pay__methods { border: 0; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cl-pay__methods legend { font-size: 13px; font-weight: 650; margin-bottom: 6px; padding: 0; }
.cl-pay__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.cl-radio { position: relative; display: block; cursor: pointer; }
.cl-radio input { position: absolute; opacity: 0; }
.cl-radio > span { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 650; text-align: center; background: var(--surface); }
.cl-radio small { font-weight: 400; color: var(--muted); font-size: 12px; }
.cl-radio input:checked + span { border-color: var(--primary); background: #F4EFF9; box-shadow: inset 0 0 0 1px var(--primary); }
.cl-radio input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cl-policy { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 12px; }
.cl-policy__head { margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.cl-policy ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); }
.cl-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 0 0 12px; cursor: pointer; }
.cl-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }
.cl-paying { text-align: center; padding: 18px 0 8px; }
.cl-spinner { display: inline-block; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #E6DEEE; border-top-color: var(--primary); animation: cl-spin .8s linear infinite; }
@keyframes cl-spin { to { transform: rotate(360deg); } }
.cl-paying__title { font-weight: 700; margin: 10px 0 12px; }
.cl-paying__steps { list-style: none; margin: 0 auto; padding: 0; text-align: left; max-width: 300px; font-size: 13px; color: #A49DAE; }
.cl-paying__steps li { padding: 5px 0 5px 24px; position: relative; }
.cl-paying__steps li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; }
.cl-paying__steps li.is-on { color: var(--text); font-weight: 600; }
.cl-paying__steps li.is-on::before { background: var(--ok); border-color: var(--ok); }

/* 스토어 */
.cl-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cl-product { width: 100%; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; font-size: 14px; }
.cl-product:hover { border-color: var(--primary); }
.cl-product__art { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); margin-bottom: 6px; }
.cl-product__name { font-weight: 650; }
.cl-product__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cl-product__stock { font-size: 12px; color: var(--muted); font-weight: 600; min-height: 18px; }
.cl-pd__art { width: 160px; aspect-ratio: 1; margin: 0 auto 8px; border-radius: 14px; background: var(--surface-2); }
.cl-pd__price { text-align: center; font-family: var(--f-num); font-size: 22px; font-weight: 600; margin: 0 0 12px; }
.cl-label { margin: 0 0 6px; font-size: 13px; font-weight: 650; }
.cl-opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.cl-opt { min-height: 52px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.cl-opt small { font-size: 11px; color: var(--muted); }
.cl-opt.is-on { border-color: var(--primary); background: #F4EFF9; }
.cl-opt:disabled { background: var(--surface-2); color: #A49DAE; cursor: not-allowed; text-decoration: line-through; }
.cl-pd__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cl-ship { display: grid; gap: 6px; margin-bottom: 14px; }
.cl-ship .cl-radio > span { text-align: left; }
.cl-list { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cl-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; }
.cl-list li + li { border-top: 1px solid var(--line); }
.cl-list li div { display: flex; flex-direction: column; min-width: 0; }
.cl-list small { color: var(--muted); font-size: 12px; }
.cl-list li > span { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 현장 주문 */
.cl-stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cl-store { display: flex; flex-direction: column; gap: 1px; padding: 10px 8px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; min-height: 84px; }
.cl-store b { font-size: 14px; }
.cl-store small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.cl-store em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-ink); margin-top: auto; }
.cl-store.is-on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.cl-menu { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cl-dish { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; }
.cl-dish + .cl-dish { border-top: 1px solid var(--line); }
.cl-dish__art { width: 52px; height: 52px; border-radius: 10px; background: var(--surface-2); }
.cl-dish__name { display: flex; flex-direction: column; min-width: 0; }
.cl-dish__name b { font-size: 15px; }
.cl-dish__name small { font-size: 12px; color: var(--muted); }
.cl-dish__name em { font-style: normal; font-size: 12px; font-weight: 650; color: var(--accent-ink); }
.cl-dish.is-out { background: var(--surface-2); }
.cl-dish.is-out .cl-dish__art, .cl-dish.is-out b { opacity: .5; }
.cl-dish.is-out em { color: var(--danger); }

.cl-fo { padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(46,26,71,.06); }
.cl-fo + .cl-fo { margin-top: 10px; }
.cl-fo--ready { border-color: var(--ok); box-shadow: 0 0 0 2px rgba(29,122,79,.18); }
.cl-fo__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cl-fo__label { margin: 0; font-size: 12px; color: var(--muted); }
.cl-fo__no { margin: 0; font-family: var(--f-num); font-size: 34px; font-weight: 600; line-height: 1.05; color: var(--primary); letter-spacing: .02em; }
.cl-fo__where { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 12px; color: var(--muted); }
.cl-fo__where b { color: var(--text); font-size: 14px; }
.cl-fo__msg { margin: 6px 0 4px; font-size: 13px; font-weight: 600; }
.cl-fo--ready .cl-fo__msg { color: var(--ok); }
.cl-fo__lines { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.cl-fo__cancel { margin: 10px 0; font-size: 13px; color: var(--danger); }
.cl-steps { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 11px; font-weight: 650; color: #A49DAE; text-align: center; }
.cl-steps li { position: relative; padding-top: 18px; }
.cl-steps li i { position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #E6DEEE; z-index: 1; }
.cl-steps li::before { content: ""; position: absolute; top: 5px; left: -50%; width: 100%; height: 2px; background: #E6DEEE; }
.cl-steps li:first-child::before { display: none; }
.cl-steps li.is-done, .cl-steps li.is-on { color: var(--text); }
.cl-steps li.is-done i, .cl-steps li.is-done::before, .cl-steps li.is-on::before { background: var(--primary-2); }
.cl-steps li.is-on i { background: var(--accent); box-shadow: 0 0 0 3px rgba(255,138,61,.3); }

/* 신청 */
.cl-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 12px; background: #E9E3EF; }
.cl-seg button { min-height: 40px; border: 0; border-radius: 9px; background: none; font-size: 14px; font-weight: 650; color: var(--muted); cursor: pointer; }
.cl-seg button.is-on { background: var(--surface); color: var(--primary); box-shadow: 0 1px 3px rgba(27,20,38,.12); }
.cl-seg b { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--text); font-size: 11px; }
.cl-seg b:empty { display: none; }
.cl-programs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cl-program { padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.cl-program__tag { margin: 0; font-size: 12px; font-weight: 650; color: var(--accent-ink); }
.cl-program__name { margin: 2px 0 8px; font-size: 17px; }
.cl-program__info { margin: 0 0 10px; display: grid; gap: 3px; font-size: 13px; }
.cl-program__info div { display: grid; grid-template-columns: 44px 1fr; }
.cl-program__info dt { color: var(--muted); }
.cl-program__info dd { margin: 0; font-weight: 550; }
.cl-meter { margin-bottom: 12px; }
.cl-meter span { display: block; height: 8px; border-radius: 999px; background: #EDE7F2; overflow: hidden; }
.cl-meter i { display: block; height: 100%; background: var(--primary-2); border-radius: inherit; }
.cl-meter small { font-size: 12px; color: var(--muted); }
.cl-meter.is-full i { background: var(--accent); }
.cl-meter.is-full small { color: var(--accent-ink); font-weight: 650; }
.cl-form { display: grid; gap: 12px; }
.cl-form__prog { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); display: flex; flex-direction: column; }
.cl-form__prog small { color: var(--muted); font-size: 12px; }
.cl-field { display: flex; flex-direction: column; gap: 5px; border: 0; padding: 0; margin: 0; min-width: 0; }
.cl-field > span, .cl-field > legend { font-size: 13px; font-weight: 650; padding: 0; }
.cl-field input, .cl-field select, .cl-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid #CFC7D6; background: var(--surface); }
.cl-field textarea { resize: vertical; }
.cl-field input:focus, .cl-field select:focus, .cl-field textarea:focus { outline: 2px solid var(--primary-2); outline-offset: 0; border-color: transparent; }
.cl-inline { display: flex; gap: 6px; flex-wrap: wrap; }
.cl-inline .cl-radio { flex: 1; min-width: 88px; }
.cl-consent { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.cl-consent p { margin: 0 0 6px; }
.cl-consent b { color: var(--text); }
.cl-consent .cl-check { margin: 4px 0 0; color: var(--text); }
.cl-form__err { margin: 0; color: var(--danger); font-size: 13px; font-weight: 650; }
.cl-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cl-app { padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.cl-app__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cl-app .cl-btn { justify-self: start; margin-top: 4px; }

/* 파트너 */
.cl-partners { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cl-partner, .cl-me { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cl-partner__mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #FFF1E6; color: var(--accent-ink); font-family: var(--f-display); font-size: 20px; }
.cl-partner b, .cl-me b { display: block; }
.cl-partner small, .cl-me small { color: var(--muted); font-size: 12px; }
.cl-partner p { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--primary-2); }
.cl-me dl { grid-column: 1 / -1; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cl-me dl div { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.cl-me dt { font-size: 12px; color: var(--muted); }
.cl-me dd { margin: 0; font-family: var(--f-num); font-size: 20px; font-weight: 600; }
.cl-lock { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 26px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.cl-lock svg { color: var(--primary-2); }
.cl-lock p { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.cl-posts { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cl-posts li + li { border-top: 1px solid var(--line); }
.cl-post { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px; border: 0; background: none; text-align: left; cursor: pointer; }
.cl-post.is-notice { background: #FBF9FD; }
.cl-post b { font-size: 14px; }
.cl-post small { font-size: 12px; color: var(--muted); }
.cl-post__title { margin: 0; font-weight: 700; font-size: 16px; }

/* 알림 */
.cl-alerts { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cl-alert { padding: 12px 14px; display: grid; gap: 2px; }
.cl-alert + .cl-alert { border-top: 1px solid var(--line); }
.cl-alert.is-unread { background: #FFF7F0; }
.cl-alert b { font-size: 14px; }
.cl-alert p { margin: 0; font-size: 13px; color: var(--muted); }
.cl-alert small { font-size: 12px; color: #8A8295; }
.cl-alert__cat { justify-self: start; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #EFE9F4; color: var(--primary-2); }
.cl-alert__cat--order { background: #E6F3EC; color: var(--ok); }
.cl-alert__cat--ad { background: #FFF1E6; color: var(--accent-ink); }
.cl-alert__cat--apply { background: #EEF0FA; color: #3B4A9C; }
.cl-prefs { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cl-pref { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.cl-pref + .cl-pref { border-top: 1px solid var(--line); }
.cl-pref div { display: flex; flex-direction: column; }
.cl-pref small { font-size: 12px; color: var(--muted); }
.cl-pref em { font-style: normal; font-size: 12px; font-weight: 650; color: var(--primary-2); }
.cl-pref em:empty { display: none; }
.cl-switch { position: relative; flex: none; width: 52px; height: 32px; cursor: pointer; }
.cl-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cl-switch span[aria-hidden] { position: absolute; inset: 0; border-radius: 999px; background: #D6CFDD; transition: background .15s; }
.cl-switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.cl-switch input:checked + span { background: var(--primary); }
.cl-switch input:checked + span::after { transform: translateX(20px); }
.cl-switch input:disabled + span { opacity: .5; }
.cl-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 구단·선수 */
.cl-club { display: flex; gap: 14px; align-items: center; padding: 18px 16px; background: var(--primary); color: #fff; }
.cl-club__name { margin: 0; font-family: var(--f-display); font-size: 24px; font-weight: 400; }
.cl-club .cl-small { color: #DCD0EA; }
.cl-intro { padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.cl-intro p { margin: 0 0 8px; }
.cl-intro p:last-child { margin: 0; }
.cl-chips { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; }
.cl-chips button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 650; cursor: pointer; }
.cl-chips button.is-on { background: var(--primary); color: #fff; border-color: var(--primary); }
.cl-players { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cl-players li + li { border-top: 1px solid var(--line); }
.cl-player { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border: 0; background: none; text-align: left; cursor: pointer; min-height: 60px; }
.cl-player span:nth-child(2) { display: flex; flex-direction: column; }
.cl-player small { color: var(--muted); font-size: 12px; }
.cl-player > svg { color: #B5ADC0; }
.cl-jersey { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--f-num); font-size: 19px; font-weight: 600; box-shadow: inset 0 -4px 0 var(--accent); }
.cl-jersey--lg { width: 72px; height: 72px; font-size: 32px; border-radius: 18px; flex: none; }
.cl-player-detail { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.cl-player-detail .cl-program__info { margin: 0; }

/* 전체 메뉴 · 공고 대응표 */
.cl-more { list-style: none; margin: 0; padding: 0; }
.cl-more a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 6px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.cl-more svg { color: var(--primary-2); }
.cl-fab { position: fixed; right: 16px; bottom: 76px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--text); color: #fff; font-weight: 650; font-size: 14px; box-shadow: 0 6px 18px rgba(27,20,38,.28); cursor: pointer; }
.cl--admin .cl-fab { bottom: 20px; }
.cl-map { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.cl-map li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; }
.cl-map li::before { counter-increment: m; content: counter(m); position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: #EFE9F4; color: var(--primary); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cl-map a { color: var(--accent-ink); font-weight: 650; text-decoration: none; font-size: 13px; }
.cl-map__foot { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

.cl-toast { position: fixed; left: 50%; bottom: 140px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 10px; background: var(--text); color: #fff; font-size: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.cl-push { position: fixed; top: 36px; left: 50%; z-index: 70; width: min(400px, calc(100% - 24px)); transform: translate(-50%, -160%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: grid; gap: 1px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(27,20,38,.22); text-decoration: none; font-size: 13px; color: var(--muted); }
.cl-push.is-in { transform: translate(-50%, 0); }
.cl-push b { color: var(--text); font-size: 14px; }
.cl-push__app { font-size: 11px; font-weight: 700; color: var(--primary-2); }

.cl .demo-notice { padding: 16px 16px 24px; font-size: 12px; color: var(--muted); text-align: center; }

@media (min-width: 900px) {
  .cl-stage { padding: 28px 24px 0; }
  .cl-side { display: block; position: sticky; top: 28px; width: 290px; padding-top: 12px; }
  .cl-side__title { margin: 8px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.2; color: var(--primary); }
  .cl-side__text { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
  .cl-side__list { margin: 0 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
  .cl-side__list a { display: block; padding: 9px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; }
  .cl-side__list a.is-on { color: var(--accent-ink); }
  .cl-phone { min-height: 780px; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(46,26,71,.16); overflow: clip; margin-bottom: 24px; }
  .cl-appbar { border-radius: 0; }
  .cl--app .cl-fab { bottom: 24px; right: 24px; }
  .cl-toast { bottom: 100px; }
}

/* ── 관리자 ───────────────────────── */
.ad { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 28px); }
.ad-side { background: var(--primary); color: #fff; padding: 18px 12px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 0; height: calc(100vh - 28px); }
.ad-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 0 6px; }
.ad-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.ad-brand b { font-family: var(--f-display); font-weight: 400; font-size: 19px; }
.ad-brand small { font-size: 12px; color: #CDBFDD; }
.ad-nav { display: grid; gap: 2px; }
.ad-nav__item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: #E4DAEF !important; }
.ad-nav__item:hover { background: rgba(255,255,255,.08); }
.ad-nav__item.is-on { background: rgba(255,255,255,.14); color: #fff !important; box-shadow: inset 3px 0 0 var(--accent); }
.ad-side__app { margin-top: auto; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); text-decoration: none; font-size: 13px; font-weight: 600; color: #fff !important; }
.ad-body { min-width: 0; padding: 22px 28px 40px; }
.ad-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; max-width: 1180px; }
.ad-title { margin: 2px 0 0; font-family: var(--f-display); font-weight: 400; font-size: 28px; color: var(--primary); }
.ad-top__right { display: flex; align-items: center; gap: 10px; }
.ad-live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--ok); }
.ad-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(29,122,79,.2); }
.ad-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; max-width: 1180px; align-items: start; }
.ad-span-12 { grid-column: span 12; }
.ad-span-7 { grid-column: span 7; }
.ad-span-5 { grid-column: span 5; }
.ad-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.ad-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.ad-h2 { margin: 0; font-size: 16px; font-weight: 750; }
.ad-muted { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.ad-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ad-kpis { grid-column: span 12; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ad-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.ad-kpi p { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.ad-kpi b { display: block; font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--primary); }
.ad-kpi small { font-size: 13px; color: var(--muted); }
.ad-kpi a { color: var(--accent-ink); font-weight: 650; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ad-table th { text-align: left; font-size: 12px; font-weight: 650; color: var(--muted); padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ad-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ad-table tr:last-child td { border-bottom: 0; }
.ad-table td small { display: block; }
.ad-table--zones td small, .ad-table--stock td small { display: inline; }
.ad-bar { display: inline-block; width: 120px; height: 8px; border-radius: 999px; background: #EDE7F2; overflow: hidden; vertical-align: middle; margin-right: 8px; }
.ad-bar i { display: block; height: 100%; background: var(--primary-2); border-radius: inherit; }
.ad-opts { display: flex; flex-wrap: wrap; gap: 4px; }
.ad-opts span { padding: 2px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; white-space: nowrap; }
.ad-opts span.is-low { background: #FBF0DC; border-color: #F1DDB4; color: var(--warn); }
.ad-opts span.is-out { background: #FBE9E7; border-color: #F3CBC6; color: var(--danger); }
.ad-em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: #FFF1E6; color: var(--accent-ink); }
.ad-feed { list-style: none; margin: 0; padding: 0; }
.ad-feed li { display: grid; grid-template-columns: 44px auto 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ad-feed li:last-child { border-bottom: 0; }
.ad-feed li.is-fresh { background: linear-gradient(90deg, #FFF1E6, rgba(255,241,230,0)); }
.ad-feed__at { font-family: var(--f-num); color: var(--muted); font-size: 13px; }
.ad-feed__kind { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: #EFE9F4; color: var(--primary-2); }
.ad-feed__kind--food { background: #FFF1E6; color: var(--accent-ink); }
.ad-feed__kind--goods { background: #E6F3EC; color: var(--ok); }
.ad-feed__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-feed__text em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-ink); }
.ad-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ad-col { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.ad-col__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.ad-col__warn { margin: 0 0 8px; padding: 6px 8px; border-radius: 8px; background: #FBF0DC; color: var(--warn); font-size: 12px; font-weight: 600; }
.ad-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ad-order { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.ad-order.is-mine { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,138,61,.2); }
.ad-order--empty { color: var(--muted); font-size: 13px; text-align: center; }
.ad-order__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ad-order__top b { font-family: var(--f-num); font-weight: 600; font-size: 17px; }
.ad-order p { margin: 4px 0 6px; font-size: 13px; }
.ad-order__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ad-restock { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.ad-restock small { font-weight: 400; color: var(--muted); }

.ad-programs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ad-prog { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 4px; align-content: start; }
.ad-prog__kind { margin: 0; font-size: 11.5px; color: var(--accent-ink); font-weight: 650; }
.ad-prog b { font-size: 14px; line-height: 1.35; }
.ad-prog .ad-bar { width: 100%; margin: 4px 0 0; }
.ad-prog small { font-size: 12px; color: var(--muted); }
.ad-toolbar { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ad-filter { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 650; color: var(--muted); }
.ad-filter select, .ad-filter input { min-height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid #CFC7D6; background: var(--surface); font-size: 14px; min-width: 150px; }
.ad-filter--grow { flex: 1; min-width: 160px; }
.ad-toolbar__actions { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.ad-table--apps td:first-child, .ad-table--apps th:first-child { width: 36px; }
.ad-table--apps input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--primary); }
.ad-table--apps tr.is-mine td { background: #FFF7F0; }
.ad-status { display: inline-flex; align-items: center; gap: 6px; }
.ad-status select { min-height: 32px; border-radius: 8px; border: 1px solid #CFC7D6; background: var(--surface); padding: 0 6px; font-size: 13px; }
.ad-foot { margin: 10px 0 0; }
.ad-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ad-players { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 620px; overflow-y: auto; }
.ad-player { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.ad-player input, .ad-player select, .ad-player textarea { min-height: 38px; padding: 6px 10px; border-radius: 8px; border: 1px solid #CFC7D6; background: var(--surface); font-size: 14px; min-width: 0; }
.ad-player__no input { width: 100%; text-align: center; font-family: var(--f-num); font-size: 20px; height: 100%; }
.ad-player__main { display: grid; gap: 6px; min-width: 0; }
.ad-player__line { display: grid; grid-template-columns: minmax(0, 1fr) 104px 64px 60px 40px; gap: 6px; align-items: center; }
.ad-player textarea { width: 100%; resize: vertical; }
.ad-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad-check { margin: 0; display: grid; gap: 2px; font-size: 12.5px; color: var(--warn); }
.ad-check:empty { display: none; }
.ad-phone { padding: 18px 14px 26px; border-radius: 22px; background: linear-gradient(160deg, #3C2160, #1F1033); }
.ad-phone__push { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.95); font-size: 13px; color: var(--muted); }
.ad-phone__push b { color: var(--text); font-size: 14px; }
.ad-reach { margin: 12px 0 0; display: grid; gap: 6px; font-size: 13px; }
.ad-reach div { display: flex; justify-content: space-between; gap: 12px; }
.ad-reach dt { color: var(--muted); }
.ad-reach dd { margin: 0; text-align: right; }

@media (max-width: 1100px) {
  .ad-programs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .ad { grid-template-columns: 1fr; }
  .ad-side { position: static; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 8px 12px; overflow-x: auto; }
  .ad-brand span { display: none; }
  .ad-nav { display: flex; gap: 4px; }
  .ad-nav__item { white-space: nowrap; min-height: 40px; padding: 0 10px; font-size: 13px; }
  .ad-nav__item svg { display: none; }
  .ad-side__app { margin: 0; white-space: nowrap; min-height: 40px; }
  .ad-body { padding: 16px 16px 90px; }
  .ad-top { flex-direction: column; align-items: flex-start; }
  .ad-title { font-size: 24px; }
  .ad-grid { grid-template-columns: 1fr; gap: 12px; }
  .ad-span-12, .ad-span-7, .ad-span-5 { grid-column: 1 / -1; }
  .ad-kpis { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ad-kpi b { font-size: 24px; }
  .ad-board { grid-template-columns: 1fr; }
  .ad-programs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ad-card { padding: 14px; }
  .ad-table thead { display: none; }
  .ad-table, .ad-table tbody, .ad-table tr, .ad-table td { display: block; width: 100%; }
  .ad-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ad-table tr:last-child { border-bottom: 0; }
  .ad-table td { border: 0; padding: 2px 0; }
  .ad-table td.ad-num { text-align: left; }
  .ad-table--zones tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
  .ad-table--zones td:nth-child(3)::before { content: "판매 "; color: var(--muted); }
  .ad-table--zones td:nth-child(4)::before { content: "잔여 "; color: var(--muted); }
  .ad-table--stock td:nth-child(3)::before { content: "합계 "; color: var(--muted); }
  .ad-table--stock td:nth-child(5)::before { content: "재입고 알림 대기 "; color: var(--muted); }
  .ad-table--apps tr { display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; }
  .ad-table--apps td:first-child { grid-row: span 6; }
  .ad-table--apps td[data-label]::before { content: attr(data-label) " "; color: var(--muted); font-size: 12px; }
  .ad-table--apps td small { display: inline; margin-left: 6px; }
  .ad-filter, .ad-filter select, .ad-filter input { width: 100%; }
  .ad-toolbar__actions { margin-left: 0; }
  .ad-two { grid-template-columns: 1fr; }
  .ad-player { grid-template-columns: 52px 1fr; }
  .ad-player__line { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "name name del" "pos born h"; }
  .ad-player__line [name=name] { grid-area: name; }
  .ad-player__line [name=pos] { grid-area: pos; }
  .ad-player__line [name=born] { grid-area: born; }
  .ad-player__line [name=height] { grid-area: h; }
  .ad-player__line .cl-icon-btn { grid-area: del; justify-self: end; }
  .ad-feed li { grid-template-columns: 40px auto 1fr; }
  .ad-feed li > b { grid-column: 3; justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .cl *, .cl *::before, .cl *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }
}
