/* ==================================================================
   🧭 PC 메뉴 묶음 칸 줄 · 🎫 회원권 현황 그림 (web/hub.js) · 🧾 상품 · 가격표 (web/msprice.js) — 2026-11-16
   - 다크 하나 · 금색은 화면마다 주 버튼 하나(가격표 = [💾 저장]) + 고른 칸 밑줄만 · 누르는 곳 44px 이상 · 연출 0.3 ~ 0.5초 · 동작 줄이기면 꺼요
   - 이름 앞 글자: hub · mt
   ================================================================== */
/* 묶음 안 칸 줄 [시간표 | 그날 명단] */
.hubsub { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); align-self: flex-start; max-width: 100% }
.hubsub button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 700 14.5px var(--body); cursor: pointer; transition: background-color .25s, color .25s; white-space: nowrap }
.hubsub button:hover { color: var(--fg); background: var(--hov) }
.hubsub button[aria-selected="true"] { background: var(--raise); color: var(--fg); box-shadow: inset 0 -2px 0 var(--gold) }
.hubsub button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px }
@media (max-width: 420px) { .hubsub { align-self: stretch } .hubsub button { flex: 1 1 0; padding: 0 10px; font-size: 14px } }

/* 🎫 현황: 큰 숫자 칩 4개 */
.hubviz { display: flex; flex-direction: column; gap: 12px; min-width: 0 }
.hubchips { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 900px) { .hubchips { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.hubchip { display: flex; flex-direction: column; gap: 2px; min-height: 104px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); color: var(--fg); text-align: left; font: inherit; min-width: 0 }
button.hubchip { cursor: pointer; transition: border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1) }
button.hubchip:hover { border-color: var(--line2); transform: translateY(-2px) }
button.hubchip:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px }
.hubchip small { color: var(--muted); font-size: 13px; font-weight: 700 }
.hubchip b { font: 800 40px/1.05 var(--num); letter-spacing: -.01em }
.hubchip b i { font: 700 15px var(--body); font-style: normal; color: var(--muted); margin-left: 3px }
.hubchip em { font-style: normal; color: var(--dim); font-size: 12.5px; word-break: keep-all }
.hubchip.hot b { color: var(--coral) }
.hubchip.hot small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 6px; vertical-align: 1px }
@media (max-width: 420px) { .hubchip { min-height: 92px; padding: 12px } .hubchip b { font-size: 32px } }

/* 그림 두 개 (넓으면 옆 · 좁으면 아래) */
.hubg2 { display: grid; gap: 12px; grid-template-columns: 1fr }
@media (min-width: 1000px) { .hubg2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) } }
.hubp { min-width: 0 }
.hubc { width: 100%; min-height: 60px }
.hubsvg { display: block; overflow: visible }
.hubsvg [tabindex]:focus { outline: none }
.hubsvg [tabindex]:focus-visible .hubhit { stroke: var(--fg); stroke-width: 1.5 }
.hubhit { fill: transparent; cursor: default; rx: 8 }
.hubrow:hover .hubhit { fill: rgba(255,255,255,.03) }
.hublab { fill: var(--fg); font: 700 13px var(--body) }
.hubval { fill: var(--fg); font: 800 15px var(--num) }
.hubu { fill: var(--muted); font: 600 11.5px var(--body) }
.hubbar { transform-box: fill-box; transform-origin: left center }
.hubbar.grow { animation: hubGrow .45s var(--d, 0ms) cubic-bezier(.2,.8,.2,1) both }
@keyframes hubGrow { from { transform: scaleX(0) } }
.hubband { fill: rgba(242,139,102,.08) }
.hubbt { fill: var(--coral); font: 700 11.5px var(--body) }
.hubaxis { stroke: var(--line2); stroke-width: 1 }
.hubdot { cursor: pointer }
.hubdot .hubhit { cursor: pointer }
.hubpt { fill: var(--blue); stroke: var(--panel); stroke-width: 2; transition: r .15s }
.hubdot.hot .hubpt { fill: var(--coral) }
.hubdot:hover .hubpt, .hubdot:focus-visible .hubpt { r: 8.5 }
.hubdot.pop { animation: hubPop .4s var(--d, 0ms) cubic-bezier(.34,1.56,.64,1) both; transform-box: fill-box; transform-origin: center }
@keyframes hubPop { from { opacity: 0; transform: translateY(8px) } }
.hubmore { fill: var(--fg); font: 800 12px var(--num) }
.hublg { display: flex; gap: 14px; color: var(--muted); font-size: 12.5px; margin-top: -4px }
.hublg span { display: inline-flex; align-items: center; gap: 6px }
.hublg i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue) } .hublg i.hot { background: var(--coral) }
.hubtip b { font: 800 14px var(--body) }

/* 🧾 상품 · 가격표 (표가 넓으면 표 칸 안에서만 옆으로 밀어요 · 화면 전체는 넘치지 않게) */
.rpane > #rext { min-width: 0 }
.mpback { align-self: flex-start; margin-bottom: 6px }
.mtbody { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.mtsec { gap: 10px }
.mtw { position: relative; overflow-x: auto; overscroll-behavior-x: contain; margin: 0 -18px; padding: 0 18px; scrollbar-width: thin }
.mtt { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 560px }
.mtt th, .mtt td { padding: 0; vertical-align: middle }
.mtt thead th { color: var(--dim); font: 700 13px var(--body); text-align: center; padding: 0 6px 2px; white-space: nowrap }
.mtt thead th.mtk { text-align: left; padding-left: 4px }
.mtt tbody th, .mtt tbody td { background: var(--raise); border-block: 1px solid var(--line) }
.mtt tbody th { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px }
.mtt tbody td:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0 }
.mtk { position: sticky; left: 0; z-index: 1; text-align: left; min-width: 190px; max-width: 260px; padding: 10px 12px !important }
.mtt tbody .mtk { box-shadow: 6px 0 10px -8px rgba(0,0,0,.7) }
.mtkn { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 900; line-height: 1.3; word-break: keep-all }
.mtdot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--cc) }
.mtk .mptags { margin-top: 6px }
.mtt .mptag:not(.free):not(.new):not(.dirty):not(.bad) { background: var(--panel); color: var(--fg) }
.mtc { width: 100%; min-width: 108px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 10px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; cursor: pointer; transition: background-color .2s }
button.mtc:hover { background: var(--hov) }
button.mtc:focus-visible { outline: 2px solid var(--fg); outline-offset: -3px; border-radius: 10px }
.mtc b { font: 800 24px/1.1 var(--num); white-space: nowrap }
.mtc b i { font: 700 12.5px var(--body); font-style: normal; color: var(--muted); margin-left: 2px }
.mtc small { color: var(--dim); font-size: 12px; white-space: nowrap }
.mtc .mtdc { font: 700 12px var(--body); color: var(--good) }
.mtc em { font-style: normal; color: var(--dim); font-size: 13px; font-weight: 700 }
.mtnp small { color: var(--dim) }
.mtno { color: var(--dim); font-size: 20px; font-weight: 400 }
.mtno:hover { color: var(--fg) }
.mted { cursor: text; background: var(--bg); box-shadow: inset 0 0 0 2px var(--gold); border-left-color: transparent; flex-direction: row; gap: 4px }
.mted input { width: 100%; min-width: 0; max-width: 120px; min-height: 44px; border: 0; background: transparent; color: var(--fg); font: 800 20px var(--num); text-align: right; outline: none }
.mted span { color: var(--muted); font-size: 13px }
.mtok { animation: mtOk .5s cubic-bezier(.2,.8,.2,1) }
@keyframes mtOk { 30% { background: rgba(127,209,174,.14) } }
.mtact { width: 1%; padding: 0 10px !important; white-space: nowrap; text-align: right }
.mtact .btn { min-height: 44px }
.mtsr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.mtoff .mtkn b, .mtoff .mtc b { opacity: .55 }
.mtbad .mtk { box-shadow: inset 3px 0 0 var(--coral) }
.mtbox .mpbar:not(.dirty) { position: static }   /* 바뀐 게 없으면 아래에 가만히 (폰에서 표를 가리지 않게) · 고치면 바닥에 붙어요 */
.mtadd { min-height: 72px; flex-direction: row; gap: 12px }
.mtbody.enter .mtr { animation: mtIn .42s calc(var(--i, 0) * 45ms) cubic-bezier(.2,.8,.2,1) both }
@keyframes mtIn { from { opacity: 0; transform: translateY(10px) } }
@media (max-width: 560px) { .mtk { min-width: 150px; max-width: 170px } .mtkn { font-size: 15px } .mtc { min-width: 96px } .mtc b { font-size: 21px } .mtadd { flex-direction: column; gap: 2px } }
@media (max-width: 560px) { .mtsec h2 { flex-wrap: wrap; justify-content: flex-start } .mtsec h2 small { flex-basis: 100% } }
@media (prefers-reduced-motion: reduce) { .hubbar.grow, .hubdot.pop, .mtbody.enter .mtr, .mtok, button.hubchip { animation: none !important; transition: none !important } }

/* ＋ 회원권 만들기 (맨 위 · 금색 · 방장 2026-11-16 '눈에 띄게') */
.mtnew { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 20px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #F2C14E, #E9A93A); color: #15161A; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 28px rgba(242,193,78,.18); transition: transform .15s, box-shadow .2s }
.mtnew:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(242,193,78,.26) } .mtnew:active { transform: scale(.98) }
.mtnew .mtnewi { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(21,22,26,.12); font: 800 26px/1 var(--num, inherit) }
.mtnew b { display: block; font-size: 19px; font-weight: 800 } .mtnew small { display: block; font-size: 13px; color: rgba(21,22,26,.78); margin-top: 2px; word-break: keep-all }
.mtsec h2 { font-size: 19px } .mtsec h2 small { font-size: 13px; color: var(--muted) }
.mpaddtop { min-height: 96px; border-color: rgba(242,193,78,.55); color: var(--fg) } .mpaddtop b { color: #F2C14E }
@media (prefers-reduced-motion: reduce) { .mtnew { transition: none } }
