/* ==========================================================================
   허브 페이지 PR 포스터 — 고민 살롱·우주정거장·마이·충전.
   상품 포스터(product-poster.css)와 같은 뼈대(.pp-hero 히어로 → 본문)를 쓰고, 페이지마다 자기 시각 언어를 가진다.
   살롱 = 고민 버블·라디오 답장 / 우주정거장 = 출항 전광판·탑승권·단면도 / 마이 = 내 마음 궤도 / 충전 = 별 병·동전 탑.
   모션은 js/components/hub-motion.js. 히어로는 다른 서브 히어로처럼 낮 모드에서도 어두운 우주 배경을 유지한다.
   ========================================================================== */

.hb-page main.page-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hb-page .pp-cuts { margin-top: 44px; }
.hb-page .pp-cuts-lead { margin: -8px 0 18px; font-size: 15px; line-height: 1.7; color: var(--text-sub); }
.hb-page [hidden] { display: none !important; }
/* 히어로는 낮 모드에서도 어두운 우주 배경이므로, 그 안의 네온 색은 밤 값으로 고정한다(낮 모드 잉크색이 어두운 배경에서 안 읽히는 것을 막는다). */
.hb-page .pp-hero { --neon-lime: #00ffa3; --neon-cyan: #00e5ff; --neon-pink: #ff5fd2; --neon-yellow: #ffe600; }

/* ── 낱장 넘김 전광판(우주정거장 히어로) ─────────────────────────────────── */
/* 전광판과 회차 숫자는 한 줄. 숫자는 흐름 안에 두어 띠 밖으로 잘리지 않는다. */
.pp-monitor.hb-monitor-board {
  display: flex; align-items: center; justify-content: flex-start; gap: 18px;
  height: auto; min-height: 148px; box-sizing: border-box; overflow: hidden;
  padding: 16px max(20px, calc((100% - 1080px) / 2));
}
.pp-monitor.hb-monitor-board .pp-readout { position: static; flex: 0 0 auto; max-width: 100%; margin-left: auto; justify-items: end; }
.hb-board {
  flex: 1 1 auto; width: auto; min-width: 0; max-width: 74%; margin: 0; display: grid; gap: 8px;
  font-family: 'Pretendard', sans-serif;
}
.hb-board-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1.5fr); gap: 12px; align-items: center; padding: 7px 12px; border-radius: 10px; border: 1px solid transparent; }
.hb-board-head { padding-top: 0; padding-bottom: 2px; color: var(--neon-cyan); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.hb-board-row.is-scan { border-color: color-mix(in srgb, var(--neon-lime) 55%, transparent); background: rgba(0, 255, 163, .06); box-shadow: 0 0 16px rgba(0, 255, 163, .18) inset; }
.hb-flapword { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.hb-board-len .hb-flapword, .hb-board-day .hb-flapword { flex-wrap: nowrap; }
.hb-flap {
  position: relative; display: inline-grid; place-items: center; min-width: 1.35em; height: 1.75em; padding: 0 2px; border-radius: 4px;
  background: linear-gradient(180deg, #1a1236 0 49%, #120b2b 50% 100%); color: #f4f0ff;
  font-style: normal; font-weight: 800; font-size: clamp(13px, 1.55vw, 17px); box-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}
.hb-flap::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .65); }
.hb-flap.is-flip { transform: rotateX(28deg); filter: brightness(1.25); }
.hb-board-name .hb-flap { font-size: clamp(14px, 1.8vw, 20px); color: #fff; }
.hb-board-len .hb-flap, .hb-board-day .hb-flap { color: var(--neon-cyan); }
.hb-board-seats { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.hb-board-seats i { width: 9px; height: 9px; border-radius: 50%; }
.hb-board-seats i.is-taken { background: var(--neon-pink); box-shadow: 0 0 6px rgba(255, 95, 210, .6); }
.hb-board-seats i.is-open { background: transparent; border: 1.5px solid var(--neon-lime); }
.hb-board-seats b { margin-left: 6px; font-family: var(--font-main); font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 900; color: var(--neon-lime); }
.hb-board-row.is-empty .hb-board-seats b { color: var(--text-muted, #9c88b8); }

/* ── 고민 살롱 ───────────────────────────────────────────────────────────── */
.hb-anon { display: grid; place-items: center; gap: 4px; align-content: center; }
.hb-anon-face { font-size: 76px; filter: drop-shadow(0 0 18px rgba(131, 56, 236, .7)); animation: hb-float 3.4s ease-in-out infinite; }
.hb-anon-tag { padding: 4px 14px; border-radius: var(--radius-pill); font-family: var(--font-main); font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--neon-lime); border: 1px dashed color-mix(in srgb, var(--neon-lime) 60%, transparent); }
@keyframes hb-float { 50% { transform: translateY(-8px); } }

.hb-salon .story-card { position: relative; overflow: hidden; transition: transform .2s, border-color .2s; }
.hb-salon .story-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple, #8338ec)); opacity: .8; }
.hb-salon .story-card:hover { transform: translateY(-3px); border-color: var(--neon-pink); }
.hb-empty { margin: 18px 0 0; padding: 22px; text-align: center; border-radius: 16px; border: 1px dashed var(--border-box-purple); color: var(--text-sub); font-size: 15px; }

/* 답장 — 라디오 사연 답장처럼 말풍선 꼬리와 공감 수 */
.hb-salon .cmt-grid { counter-reset: hb-reply; }
.hb-salon .cmt-card { position: relative; border-radius: 20px 20px 20px 6px; }
.hb-salon .cmt-card::after {
  content: ''; position: absolute; left: 14px; bottom: -9px; width: 16px; height: 16px; transform: rotate(45deg);
  background: inherit; border-right: 1px solid var(--border-box-purple); border-bottom: 1px solid var(--border-box-purple);
}

/* ── 우주정거장 ──────────────────────────────────────────────────────────── */
.hb-tickets .format-card { position: relative; border-radius: 18px; overflow: visible; }
.hb-tickets .format-card::before, .hb-tickets .format-card::after {
  content: ''; position: absolute; top: 34%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-page, #070220);
  border: 1px solid var(--border-box-purple);
}
.hb-tickets .format-card::before { left: -12px; clip-path: inset(0 0 0 50%); }
.hb-tickets .format-card::after { right: -12px; clip-path: inset(0 50% 0 0); }
.hb-tickets .seat-strip { border-top: 1px dashed var(--border-box-purple); padding-top: 12px; }
.hb-tickets .seat-dots i { transition: transform .3s; }
.hb-tickets .format-card:hover .seat-dots i:not(.taken) { transform: scale(1.35); background: var(--neon-lime); }

.hb-hours { max-width: 760px; }
.hb-weekstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 10px 6px 4px; }
.hb-day { position: relative; display: grid; grid-template-rows: auto 132px auto; justify-items: center; gap: 6px; text-align: center; }
.hb-day b { font-size: 15px; font-weight: 900; color: var(--text-pure); }
.hb-bar { position: relative; width: 100%; max-width: 44px; height: 100%; border-radius: 10px; background: color-mix(in srgb, var(--text-sub) 12%, transparent); overflow: hidden; }
.hb-bar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20%; height: 0; border-radius: 10px; background: linear-gradient(180deg, var(--neon-cyan), #007f95); transition: height .8s cubic-bezier(.3, .8, .3, 1); }
.hb-day.is-sat .hb-bar::after { background: linear-gradient(180deg, var(--neon-pink), #7a22d6); }
.is-play .hb-day.is-open .hb-bar::after, .is-still .hb-day.is-open .hb-bar::after { height: 60%; }
.is-play .hb-day:nth-child(2) .hb-bar::after { transition-delay: .08s; } .is-play .hb-day:nth-child(3) .hb-bar::after { transition-delay: .16s; }
.is-play .hb-day:nth-child(4) .hb-bar::after { transition-delay: .24s; } .is-play .hb-day:nth-child(5) .hb-bar::after { transition-delay: .32s; }
.is-play .hb-day:nth-child(6) .hb-bar::after { transition-delay: .4s; }
.hb-day.is-off .hb-bar { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--text-sub) 16%, transparent) 0 6px, transparent 6px 12px); }
.hb-day span { font-size: 13px; font-weight: 800; color: var(--text-sub); font-variant-numeric: tabular-nums; }
.hb-day.is-off span, .hb-day.is-off b { opacity: .55; }
.hb-day.is-sat b, .hb-day.is-sat span { color: var(--neon-pink); }
.hb-day em { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: var(--radius-pill); background: var(--neon-pink); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; white-space: nowrap; }
.hb-day.is-sat { padding-top: 14px; }
.hb-hours-note { margin: 16px 4px 0; font-size: 15px; line-height: 1.85; color: var(--text-muted); }

.hb-house { max-width: 560px; margin: 0 auto 26px; }
.hb-house-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hb-house-svg rect { fill: var(--bg-card); stroke: var(--border-box-bright); stroke-width: 1.5; }
.hb-h-roof rect { fill: color-mix(in srgb, var(--neon-cyan) 30%, transparent); stroke: var(--neon-cyan); }
.hb-h-rail { stroke: var(--neon-cyan); stroke-width: 1.5; opacity: .7; }
.hb-h-star { fill: var(--neon-yellow); }
.hb-h-wall { stroke: var(--border-box-bright); stroke-width: 1.5; stroke-dasharray: 4 4; }
.hb-h-ground { stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round; }
.hb-h-floor text { fill: var(--text-pure); font-size: 13px; font-weight: 800; font-family: 'Pretendard', sans-serif; }
.hb-h-floor .hb-h-emoji { font-size: 26px; fill: initial; font-weight: 400; }
.hb-h-tag { fill: var(--neon-cyan); font-family: 'Pretendard', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.hb-h-floor, .hb-h-roof { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.is-play .hb-h-floor, .is-play .hb-h-roof, .is-still .hb-h-floor, .is-still .hb-h-roof { opacity: 1; transform: none; }
.is-play .hb-h-floor.is-2f { transition-delay: .2s; } .is-play .hb-h-floor.is-1f { transition-delay: .4s; }
.hb-house-cap { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--text-muted); }

/* ── 좁은 화면 ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hb-board { width: 100%; max-width: none; margin: 0; }
  .pp-monitor.hb-monitor-board { flex-direction: column; align-items: stretch; min-height: 0; padding: 14px 16px 16px; }
  .pp-monitor.hb-monitor-board .pp-readout { position: static; top: auto; margin-left: 0; align-self: flex-end; }
}
@media (max-width: 599px) {
  .pp-monitor.hb-monitor-board { height: auto; padding: 12px 16px; }
  .pp-monitor.hb-monitor-board .pp-readout {
    display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline;
    gap: 4px 8px; width: 100%;
  }
  .hb-board-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 8px 10px; }
  .hb-board-head { display: none; }
  .hb-board-len, .hb-board-day { grid-row: 2; }
  .hb-board-len { grid-column: 1; } .hb-board-day { grid-column: 1; display: none; }
  .hb-board-seats { grid-column: 2; grid-row: 1 / span 2; justify-content: flex-end; max-width: 120px; }
  .hb-weekstrip { gap: 4px; padding: 14px 10px; }
  .hb-day { grid-template-rows: auto 110px auto; }
  .hb-day span { font-size: 11.5px; }
}

/* ── 충전: 별 병 · 단가 곡선 · 동전 탑 ───────────────────────────────────── */
.pp-monitor.hb-monitor-tank { height: clamp(210px, 26vw, 290px); }
.hb-curve { margin: 0 0 22px; padding: 18px 20px 12px; border-radius: 22px; background: var(--bg-card); border: 1px solid var(--border-box-purple); }
.hb-curve figcaption { margin: 0 0 4px; font-size: 17px; font-weight: 900; color: var(--text-pure); }
.hb-curve svg { width: 100%; max-width: 760px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.hb-cv-grid { stroke: var(--border-hair, rgba(255, 255, 255, .12)); stroke-width: 1; stroke-dasharray: 3 5; }
.hb-cv-area { fill: color-mix(in srgb, var(--neon-pink) 14%, transparent); opacity: 0; }
.hb-cv-line { fill: none; stroke: var(--neon-pink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hb-cv-pts circle { fill: var(--bg-card); stroke: var(--neon-cyan); stroke-width: 3; opacity: 0; }
.hb-cv-val text, .hb-cv-x text { text-anchor: middle; font-family: 'Pretendard', sans-serif; }
.hb-cv-val text { font-size: 14px; font-weight: 900; fill: var(--text-pure); opacity: 0; }
.hb-cv-x text { font-size: 12.5px; font-weight: 700; fill: var(--text-muted); }
.is-play .hb-cv-line { animation: hb-draw 1.5s cubic-bezier(.45, 0, .2, 1) forwards; }
.is-play .hb-cv-area { animation: hb-fade .6s 1.1s forwards; }
.is-play .hb-cv-pts circle, .is-play .hb-cv-val text { animation: hb-fade .3s forwards; }
.is-play .hb-cv-pts circle:nth-child(1), .is-play .hb-cv-val text:nth-child(1) { animation-delay: .15s; }
.is-play .hb-cv-pts circle:nth-child(2), .is-play .hb-cv-val text:nth-child(2) { animation-delay: .55s; }
.is-play .hb-cv-pts circle:nth-child(3), .is-play .hb-cv-val text:nth-child(3) { animation-delay: .95s; }
.is-play .hb-cv-pts circle:nth-child(4), .is-play .hb-cv-val text:nth-child(4) { animation-delay: 1.35s; }
.is-still .hb-cv-line { stroke-dashoffset: 0; animation: none; }
.is-still .hb-cv-area, .is-still .hb-cv-pts circle, .is-still .hb-cv-val text { opacity: 1; animation: none; }
@keyframes hb-draw { to { stroke-dashoffset: 0; } }
@keyframes hb-fade { to { opacity: 1; } }
.hb-curve-note { margin: 4px 0 0; text-align: center; font-size: 13px; color: var(--text-muted); }

.hb-coins .charge-card { position: relative; }
.hb-stack { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; height: 74px; margin: 0 auto 6px; }
.hb-stack i {
  display: block; width: 40px; height: 9px; margin-top: -3px; border-radius: 50%; background: linear-gradient(180deg, #ffe600, #d6a300);
  border: 1px solid #a17a00; box-shadow: 0 2px 0 #8a6800; opacity: 0; transform: translateY(-46px);
}
.hb-stack i:nth-child(odd) { width: 42px; }
.is-play .hb-stack i, .is-still .hb-stack i { opacity: 1; transform: none; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .2s; transition-delay: calc(var(--i) * .07s); }
.hb-coins .charge-card:hover .hb-stack i { filter: brightness(1.12); }

/* ── 마이: 내 마음 궤도 헤더 · 프로필 · 리포트함 · 상대방 슬롯 ────────────── */
.hb-hero-compact { padding-bottom: 22px; }
.hb-hero-compact .pp-title { font-size: clamp(30px, 4.4vw, 48px); }
.hb-hero-compact .pp-monitor { height: clamp(140px, 17vw, 176px); margin-block: 18px 16px; }
.hb-my .hb-hero-compact .pp-monitor { height: clamp(200px, 22vw, 250px); }
.hb-readout-note b { color: var(--neon-lime); font-weight: 800; }
.hb-page main.hb-my-main { max-width: 960px; margin: 0 auto; padding: 28px 20px 60px; }
.hb-example { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--radius-pill); border: 1px dashed var(--text-muted); font-size: 12px; font-weight: 800; font-style: normal; color: var(--text-muted); vertical-align: middle; }
.hb-pill { padding: 2px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 800; color: var(--neon-cyan); background: color-mix(in srgb, var(--neon-cyan) 14%, transparent); }
.hb-pill.is-pink { color: var(--pink-ink); background: color-mix(in srgb, var(--neon-pink) 18%, transparent); }
.hb-profile { display: flex; flex-direction: row; align-items: center; gap: 16px; border-color: var(--border-box-bright); }
.hb-avatar { width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-size: 28px; background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple)); box-shadow: 0 0 16px rgba(203, 35, 162, .5); }
.hb-profile-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hb-profile-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--text-pure); }
.hb-profile-line { margin: 4px 0 0; font-size: 15px; color: var(--text-sub); }
.hb-profile-meta { font-size: 14px; color: var(--text-muted); }
.hb-pass { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; border-color: var(--neon-pink); background: linear-gradient(135deg, rgba(203, 35, 162, .12) 0%, var(--bg-card) 100%); }
.hb-pass h4 { margin: 2px 0; font-size: 17px; color: var(--text-pure); }
.hb-pass-kicker { font-family: var(--font-main); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--pink-ink); }
.hb-pass-btn { width: auto; flex: 0 0 auto; padding: 6px 14px; font-size: 15px; text-decoration: none; white-space: nowrap; }
.hb-widget-h { margin: 0 0 12px; font-size: 16px; }
.hb-stubs { display: flex; flex-direction: column; gap: 10px; }
.hb-stub {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px 12px 20px;
  border: 1px solid var(--border-box-purple); border-left: 0; border-radius: 4px 12px 12px 4px; background: var(--bg-card-inner); text-decoration: none; color: inherit;
  transition: transform .2s, border-color .2s;
}
.hb-stub::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(180deg, var(--neon-pink) 0 6px, transparent 6px 10px); border-radius: 3px; }
.hb-stub:hover { transform: translateX(4px); border-color: var(--neon-cyan); }
.hb-stub:focus-visible { outline: 3px solid var(--neon-cyan); outline-offset: 2px; }
.hb-stub-name { font-size: 15px; font-weight: 700; color: var(--text-pure); }
.hb-stub-go { flex-shrink: 0; font-size: 14px; font-weight: 800; color: var(--neon-cyan); }
.hb-partners { margin-bottom: 30px; }
.hb-partners-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.hb-partners-head .widget-title { margin: 0; font-size: 17px; }
.hb-slots { gap: 14px; }
.hb-slot { position: relative; min-height: 130px; padding: 14px; border-radius: 16px; border: 1px solid var(--border-box-purple); background: var(--bg-card-inner); }
.hb-slot.is-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-style: dashed; color: var(--text-muted); font-size: 14px; cursor: pointer; transition: border-color .2s, color .2s; }
.hb-slot.is-empty:hover, .hb-slot.is-empty:focus-visible { border-color: var(--neon-cyan); color: var(--text-pure); outline: none; }
.hb-slot-plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px dashed currentColor; font-size: 15px; animation: hb-orbit-pulse 2.4s ease-in-out infinite; }
@keyframes hb-orbit-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--neon-cyan) 12%, transparent); } }
.hb-slot-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hb-slot-head strong { font-size: 15px; color: var(--text-pure); }
.hb-slot-line { margin: 6px 0 12px; font-size: 14px; color: var(--text-sub); }
.hb-slot-actions { display: flex; gap: 6px; }
.hb-slot-actions .btn-step-next { flex: 1; padding: 5px; font-size: 14px; text-align: center; text-decoration: none; }
.hb-slot-actions .btn-step-next.is-ghost { background: transparent; border-color: var(--border-pink); color: var(--pink-ink); box-shadow: none; }
@media (max-width: 599px) {
  .hb-hero-compact .pp-monitor { height: 180px; }
  .hb-profile { align-items: flex-start; }
  .hb-pass { flex-wrap: wrap; }
  .hb-curve { padding: 14px 10px 8px; }
  .hb-cv-val text { font-size: 12.5px; } .hb-cv-x text { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-slot-plus { animation: none; }
  .hb-stack i { transition: none; }
}
html[data-theme="light"] .hb-h-roof rect { fill: color-mix(in srgb, var(--neon-cyan) 22%, #fff); }
@media (prefers-reduced-motion: reduce) {
  .hb-anon-face { animation: none; }
  .hb-bar::after, .hb-h-floor, .hb-h-roof { transition: none; }
}

/* ── 마이: 내 연애 궤도 · 살롱 활동 ─────────────────────────────────────── */
.my-orbit { margin-bottom: 20px; }
.my-planets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.my-planet {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 14px; border-radius: 16px; text-decoration: none; color: inherit;
  border: 1px solid var(--border-box-purple); background: var(--bg-card-inner); transition: transform .2s, border-color .2s;
}
.my-planet:hover { transform: translateY(-3px); border-color: var(--neon-pink); }
.my-planet:focus-visible { outline: 3px solid var(--neon-cyan); outline-offset: 3px; }
.my-planet > i { font-style: normal; font-size: 26px; line-height: 1; }
.my-planet b { font-size: 16px; font-weight: 900; color: var(--text-pure); }
.my-planet span { font-size: 14px; line-height: 1.6; color: var(--text-sub); }
.my-planet.is-focus { border-color: var(--neon-pink); box-shadow: 0 0 0 1px var(--neon-pink), 0 10px 26px color-mix(in srgb, var(--neon-pink) 22%, transparent); }
.my-planet-pill { position: absolute; top: 10px; right: 10px; padding: 1px 8px; border-radius: var(--radius-pill); font-style: normal; font-size: 12px; font-weight: 900; background: var(--neon-yellow); color: #000; }
.my-planets.is-play .my-planet { animation: my-rise .5s calc(var(--i, 0) * 90ms) both cubic-bezier(.2, 1.1, .4, 1); }
.my-planets.is-still .my-planet { animation: none; opacity: 1; transform: none; }
@keyframes my-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.my-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; align-items: start; }
.my-counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 12px; }
.my-counters > div { display: grid; gap: 2px; padding: 12px 8px; text-align: center; border-radius: 14px; background: var(--bg-card-inner); border: 1px solid var(--border-hair); }
.my-counters b { font-family: var(--font-main); font-size: 28px; font-weight: 900; color: var(--pink-ink); font-variant-numeric: tabular-nums; }
.my-counters span { font-size: 14px; color: var(--text-sub); }
.my-recent { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.my-recent a { display: block; padding: 8px 12px; border-radius: 10px; background: var(--bg-card-inner); border: 1px solid var(--border-hair); color: var(--text-sub); font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.my-recent a:hover { border-color: var(--neon-pink); color: var(--text-pure); }
.my-salon-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.my-salon-actions .btn-step-next { width: auto; text-decoration: none; }

/* 1:1 문의 — 공개 입력(.input-cyber)과 같은 토큰. 관리자 form-input은 이 페이지에 없다. */
.my-inquiry-form { display: grid; gap: 12px; width: 100%; margin: 4px 0 14px; }
.my-inquiry-field { display: grid; gap: 6px; min-width: 0; font-size: 14px; font-weight: 800; color: var(--text-sub); }
.my-inquiry-form .input-cyber { min-height: 46px; }
.my-inquiry-form textarea.input-cyber { min-height: 132px; line-height: 1.65; resize: vertical; }
.my-inquiry-form :is(input, textarea).input-cyber:focus { background: var(--bg-input); }
.my-inquiry-form select.input-cyber {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239c88b8' stroke-width='1.6' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.my-inquiry-form select.input-cyber:focus { background-color: var(--bg-input); }
html[data-theme="light"] .my-inquiry-form select.input-cyber {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23715b78' stroke-width='1.6' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E");
}
html:not([data-theme="light"]) .my-inquiry-form .input-cyber { color-scheme: dark; }
.my-inquiry-status { min-height: 1.4em; margin: 0; overflow-wrap: anywhere; }
.my-inquiry-form .btn-step-next { margin-top: 0; }

.my-withdraw { margin-top: 20px; margin-bottom: 20px; }
.my-withdraw summary { cursor: pointer; font-size: 15px; color: var(--text-sub); }
.my-withdraw-form { display: grid; gap: 12px; margin-top: 12px; }
.my-withdraw-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.my-withdraw-modes { display: grid; gap: 8px; margin: 0; padding: 12px; border-radius: 12px; border: 1px solid var(--border-hair); background: var(--bg-card-inner); }
.my-withdraw-modes legend { padding: 0 6px; font-size: 14px; color: var(--text-pure); }
.my-withdraw-modes label, .my-withdraw-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-sub); line-height: 1.6; cursor: pointer; }
.my-withdraw-modes input, .my-withdraw-check input { margin-top: 5px; flex: none; }
.my-withdraw-btn { width: auto; justify-self: start; border-color: var(--neon-pink); }
.my-withdraw-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.my-withdraw-status { min-height: 1.4em; overflow-wrap: anywhere; }

@media (max-width: 960px) { .my-planets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .my-planets .my-planet:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .my-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .my-planets { grid-template-columns: minmax(0, 1fr); } }
