/* ==================================================================
   🏷 PC 회원권 상품(가격표) · ⚡ 회원권 빨리 넣기 (web/msprod.js · 2026-11-16) · 이름 앞 글자 mp
   - 다크 하나 · 금색은 [💾 저장] 하나 + 고른 카드 테두리만 · 누르는 곳 44px 이상 · 연출 0.3 ~ 0.5초 · 동작 줄이기면 꺼요
   ================================================================== */
.mpbox { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.mptop { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 18px }
@media (max-width: 760px) { .mptop { grid-template-columns: 1fr } }
.mptop h2 { justify-content: flex-start }
.mptop .tthint b { color: var(--fg) }
.mpbas { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 10px; justify-content: start }
.mpbas > span { color: var(--dim); font-size: 13px; font-weight: 600 }
.mpbas small { grid-column: 1 / -1; color: var(--dim); font-size: 12.5px }
.mpwarn { color: var(--coral) }
.pn.mpwarn { border-color: rgba(242,139,102,.45) }

/* 카드 + 편집 칸 (넓으면 옆 · 좁으면 아래) */
.mpwrap { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start }
@media (min-width: 1180px) { .mpwrap { grid-template-columns: minmax(0, 1fr) 420px } }
.mpgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); align-content: start }
.mpgrid.enter > * { animation: mpIn .42s calc(var(--i, 0) * 45ms) cubic-bezier(.2,.8,.2,1) both }
@keyframes mpIn { from { opacity: 0; transform: translateY(14px) } }
.mpcard { position: relative; text-align: left; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 50%), var(--panel); color: var(--fg); font: inherit; cursor: pointer; transition: border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, opacity .26s }
.mpcard:hover { transform: translateY(-2px); border-color: var(--line2) }
.mpcard.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 14px 34px -18px rgba(242,193,78,.45) }
.mpcard.off { opacity: .62 } .mpcard.off.on { opacity: 1 }
.mpcard.bad { border-color: rgba(242,139,102,.6) }
.mpcard.gone { opacity: 0; transform: scale(.92) }
.mpcard.moved { animation: mpMv .55s cubic-bezier(.34,1.56,.64,1) }
@keyframes mpMv { 40% { transform: translateY(-6px) scale(1.03) } }
.mpno { position: absolute; top: 14px; right: 16px; font-size: 14px; font-weight: 800; color: var(--dim); letter-spacing: .06em }
.mpkn { font-size: 18px; font-weight: 900; padding-right: 30px; line-height: 1.35 }
.mptags { display: flex; flex-wrap: wrap; gap: 5px }
.mptag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--raise); color: var(--muted); line-height: 1.45 }
.mptag.free { background: rgba(127,209,174,.12); color: var(--good) }
.mptag.off { background: rgba(255,255,255,.06); color: var(--dim) }
.mptag.new, .mptag.dirty { background: rgba(138,180,248,.14); color: var(--blue) }
.mptag.bad { background: rgba(242,139,102,.14); color: var(--coral) }
.mppts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto }
.mppt { display: flex; flex-direction: column; padding: 7px 10px; border-radius: 12px; background: var(--raise); min-width: 74px }
.mppt small { color: var(--dim); font-size: 12px; font-weight: 600 }
.mppt em { font-style: normal; font-size: 18px; font-weight: 800; color: var(--fg); line-height: 1.2 }
.mppt em.no { font: 600 12.5px var(--body); color: var(--dim); padding-top: 3px }
.mpadd { min-height: 150px; border-radius: 18px; border: 1.5px dashed var(--line2); background: transparent; color: var(--muted); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: border-color .2s, color .2s, background-color .2s }
.mpadd b { font-size: 16px } .mpadd small { color: var(--dim); font-size: 12.5px }
.mpadd:hover { border-color: var(--muted); color: var(--fg); background: var(--hov) }

/* 편집 칸 */
.mppanel { gap: 14px }
@media (min-width: 1180px) { .mppanel { position: sticky; top: 88px; max-height: calc(100vh - 190px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin } }
.mppanel.swap > * { animation: mpSl .36s cubic-bezier(.2,.8,.2,1) both }
@keyframes mpSl { from { opacity: 0; transform: translateX(14px) } }
.mpempty { text-align: center; color: var(--dim); padding: 40px 10px } .mpempty b { font-size: 34px; display: block } .mpempty p b { display: inline; font-size: inherit; color: var(--fg) }
.mpph { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.mpbig { width: 52px; height: 52px; border-radius: 16px; background: var(--raise); display: grid; place-items: center; font-size: 26px; flex: none }
.mpphn { flex: 1; min-width: 140px; display: flex; flex-direction: column } .mpphn b { font-size: 19px; font-weight: 900 } .mpphn small { color: var(--dim); font-size: 12.5px }
.mpsw { flex: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 10px; border-radius: 14px; border: 1px solid var(--line2); background: transparent; color: var(--fg); font: inherit; cursor: pointer; text-align: left }
.mpsw span { display: flex; flex-direction: column; line-height: 1.3 } .mpsw b { font-size: 13.5px } .mpsw small { color: var(--dim); font-size: 11.5px; max-width: 120px }
.mpsw i { width: 42px; height: 24px; border-radius: 999px; background: var(--line2); position: relative; flex: none; transition: background-color .25s }
.mpsw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--fg); transition: transform .3s cubic-bezier(.34,1.56,.64,1) }
.mpsw[aria-checked="true"] i { background: var(--good) } .mpsw[aria-checked="true"] i::after { transform: translateX(18px); background: #0F1013 }
.mpsec { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line) }
.mpsec h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14.5px; font-weight: 800 }
.mpsec h4 em { font-style: normal; color: var(--muted); font-weight: 600; font-size: 13px; text-align: right }
.mpnote { margin: 0; color: var(--dim); font-size: 12.5px; line-height: 1.55 } .mpnote b { color: var(--fg) }
.mpseg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px }
.mpseg button { min-height: 48px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 700 14px var(--body); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3; transition: all .2s }
.mpseg button small { font-size: 11.5px; font-weight: 500; color: var(--dim) }
.mpseg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg) } .mpseg button[aria-pressed="true"] small { color: #3A3E48 }
.mpseg.sm button { min-height: 44px; padding: 0 14px }
.mpnm { display: flex; gap: 8px }
.mpnm input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--fg); font: 700 16px var(--body) }
.mpnm input:focus, .mprow input:focus, .mprow select:focus, .mpse input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,.18) }
.mpsq { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: var(--raise); color: var(--fg); font: 800 18px var(--body); cursor: pointer; display: grid; place-items: center; flex: none; transition: background-color .2s, transform .15s }
.mpsq:active { transform: scale(.94) } .mpsq:disabled { opacity: .35; cursor: default }
.mpicb { min-width: 48px; min-height: 48px; font-size: 22px }
.mpchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px }
.mpplus { display: inline-grid; place-items: center; width: 28px; height: 44px; font-size: 22px; font-weight: 700; color: var(--gold) }
.mpchip { min-height: 44px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 700 13.5px var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .18s }
.mpchip:hover { color: var(--fg); border-color: var(--muted) }
.mpchip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg) }
.mpics .mpchip { min-width: 44px; justify-content: center; font-size: 18px; padding: 0 8px } .mpics .mpchip:first-child { font-size: 13px }
.mpdot { width: 9px; height: 9px; border-radius: 50%; background: var(--cc) }
.mprows { display: flex; flex-direction: column; gap: 8px }
.mprow { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 44px; gap: 6px; align-items: center }
.mpper { display: flex; align-items: center; gap: 5px; min-width: 0 }
.mpper span { color: var(--dim); font-size: 12.5px; white-space: nowrap }
.mprow input, .mprow select { min-height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--fg); padding: 0 8px; min-width: 0; font: 800 17px var(--num) }
.mpper input { width: 56px; text-align: center } .mpper select { font: 700 14px var(--body); padding: 0 6px }
.mpwon { display: flex; align-items: center; gap: 5px; min-width: 0 } .mpwon input { flex: 1; width: 100%; text-align: right } .mpwon span { color: var(--dim); font-size: 13px }
.mpwon input::placeholder { font: 500 13px var(--body); color: var(--dim) }
.mpx { font-size: 14px; color: var(--muted) }
.mpse { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap }
.mpse label { display: flex; flex-direction: column; gap: 3px } .mpse small { color: var(--dim); font-size: 12px }
.mpse input { min-height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--fg); padding: 0 10px; font: 700 15px var(--num); color-scheme: dark }
.mpse > span { color: var(--dim); padding-bottom: 10px }
.mpdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px }
.mpday { min-height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--dim); font: 800 14px var(--body); cursor: pointer; transition: all .18s }
.mpday[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg) } .mpday.sun[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: #15161A }
.mp2 { display: grid; grid-template-columns: 1fr; gap: 0 }
.mpstp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap }
.mpstp output { min-width: 46px; text-align: center; font-size: 22px; font-weight: 800 }
.mperr { margin: 0; color: var(--coral); font-size: 13.5px; font-weight: 700 } .mperr:empty { display: none }
.mpfoot { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line) } .mpfoot .danger { margin-left: auto }
.mpfoot .btn:disabled { opacity: .4; cursor: default }

/* 저장 띠 (아래에 붙어 따라와요) */
.mpbar { position: sticky; bottom: 14px; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 18px; border-radius: 18px; border: 1px solid var(--line2); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); transition: border-color .3s, box-shadow .3s }
.mpbar.dirty { border-color: rgba(242,193,78,.55); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8), 0 0 0 1px rgba(242,193,78,.18); animation: mpUp .4s cubic-bezier(.2,.8,.2,1) }
@keyframes mpUp { from { transform: translateY(10px); opacity: .6 } }
.mpbt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4 }
.mpbt b { font-size: 14.5px } .mpbt b.ok { color: var(--good) } .mpbt b.bad { color: var(--coral) }
.mpbt span { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.mpbar .btn:disabled { opacity: .4; cursor: default; transform: none }

/* 저장 확인 창 · 바뀐 것 목록 */
.mpdiff { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow-y: auto }
.mpdiff li { padding: 9px 12px; border-radius: 12px; background: var(--raise); font-size: 13.5px; line-height: 1.5; border-left: 3px solid var(--line2) }
.mpdiff .mpd-add { border-left-color: var(--good) } .mpdiff .mpd-del { border-left-color: var(--coral) } .mpdiff .mpd-won { border-left-color: var(--gold) } .mpdiff .mpd-chg { border-left-color: var(--blue) }

/* ⚡ 빨리 넣기 (회원권 보드 위) */
.mpql { display: flex; flex-direction: column; gap: 6px; max-height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: contain; padding-right: 2px }
.mpq { container-type: inline-size }
@container (max-width: 520px) { .mpqr { grid-template-columns: 1fr auto } .mpqr small { grid-column: 1 / -1; grid-row: 2 } }
.mpqr { display: grid; grid-template-columns: minmax(140px, auto) 1fr auto; gap: 12px; align-items: center; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--raise); animation: mpIn .35s calc(var(--i, 0) * 35ms) cubic-bezier(.2,.8,.2,1) both }
.mpqr .lrn { display: flex; align-items: center; gap: 8px; min-width: 0 }
.mpqr small { color: var(--muted); font-size: 13px; min-width: 0 } .mpqr .none { color: var(--dim) } .mpqr .soon { color: var(--coral) }
@media (max-width: 560px) { .mpsw { flex-basis: 100% } .mpqr { grid-template-columns: 1fr auto } .mpqr small { grid-column: 1 / -1; grid-row: 2 } .mprow { grid-template-columns: 1fr 44px } .mpwon { grid-column: 1; grid-row: 2 } .mprow .mpx { grid-row: 1 / span 2; grid-column: 2 } .mpbar { flex-wrap: wrap } .mpbt { flex-basis: 100% } }

@media (prefers-reduced-motion: reduce) { .mpgrid.enter > *, .mpcard, .mpcard.moved, .mppanel.swap > *, .mpbar.dirty, .mpqr, .mpsw i::after { animation: none !important; transition: none !important } }

/* ==================================================================
   📆 회원 서랍 '이번 달 출석' 점 · 🔴 회원권 초과 (web/visit.js · 서버 146 · 2026-11-16) · 이름 앞 글자 vs
   - 진한 점 = 인증된 와드 기록 · 시작 지난 수업 신청 · 테두리 점 = 기록만 있고 인증 전 (색을 못 봐도 모양으로 구분)
   ================================================================== */
.vsdots { display: grid; grid-template-columns: repeat(var(--n, 30), minmax(0, 12px)); gap: 3px; align-items: center; margin-top: 4px }
.vsd { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--line) }
.vsd.on { background: var(--good) }
.vsd.on.lt { background: transparent; box-shadow: 0 0 0 1.5px var(--good) inset }
.vsd.now { box-shadow: 0 0 0 1.5px var(--fg) }
.vsd.on.lt.now { box-shadow: 0 0 0 1.5px var(--good) inset, 0 0 0 1.5px var(--fg) }
.vsnote { margin: 8px 0 0; font-size: 12.5px; color: var(--dim); word-break: keep-all; line-height: 1.6 }
.vsk { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 2px; border-radius: 50%; background: var(--good); vertical-align: -1px }
.vsk.lt { background: transparent; box-shadow: 0 0 0 1.5px var(--good) inset; margin-left: 10px }
.vsover { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--coral); background: rgba(242,139,102,.14); border: 1px solid rgba(242,139,102,.45); white-space: nowrap; vertical-align: 1px }
.vsover[hidden] { display: none }
@media (prefers-reduced-motion: no-preference) { .vsover:not([hidden]), .vsatt .vsdots { animation: vsIn .35s ease both } }
@keyframes vsIn { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
