/* LYX サロン（窓・運営の枠）と LYX Value Point（泉の中）。色はロビーの SALON_COLOR と合わせる */
:root { --st-open: #2ee6a6; --st-busy: #ffd23f; --st-full: #ff9f1c; --st-private: #ff4d6d; }

/* ---- サロンの窓 ---- */
.salon-head { display: flex; align-items: center; gap: 12px; padding-right: 36px; }
.salon-head h2 { font-size: 22px; margin-bottom: 4px; }
.salon-pic { width: 88px; height: auto; flex: none; filter: drop-shadow(0 8px 14px rgba(255, 210, 63, .25)); }
.salon-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; border: 2px solid #000; color: #0b0f24; background: var(--st-open); }
.salon-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; }
.salon-badge.st-open { background: var(--st-open); }
.salon-badge.st-open::before { animation: salonBlink 1.6s infinite; }
.salon-badge.st-busy { background: var(--st-busy); }
.salon-badge.st-full { background: var(--st-full); }
.salon-badge.st-private { background: var(--st-private); color: #fff; }
@keyframes salonBlink { 50% { opacity: .15; } }

.salon-seat { margin: 14px 0 6px; background: var(--bg2); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.salon-free { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.salon-free span { color: var(--sub); font-weight: 700; }
.salon-free b { font-family: var(--head); font-weight: 400; font-size: 40px; line-height: 1; color: var(--ok); }
.salon-meter { height: 12px; border-radius: 999px; background: var(--panel2); overflow: hidden; margin: 10px 0 6px; border: 1px solid var(--line); }
.salon-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ok), var(--r3) 70%, var(--r2)); transition: width .5s; }
.salon-meter.full i { background: var(--st-full); }
.salon-seat .tiny { margin: 0; }

.salon-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 12px 0 0; font-size: 15px; }
.salon-info dt { color: var(--sub); font-size: 13px; font-weight: 700; padding-top: 2px; white-space: nowrap; }
.salon-info dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.salon-info dd.salon-note { color: var(--accent); font-weight: 700; }

.salon-mems { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.salon-mem { appearance: none; border: 2px solid var(--line); background: var(--bg2); border-radius: 14px; padding: 8px 4px; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.salon-mem img.face { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--st-open); }
.salon-mem b { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.salon-mem small { font-size: 11px; color: var(--dim); }
.salon .empty { padding: 18px 8px; }

.salon-act { margin-top: 16px; display: grid; gap: 8px; }
.salon-act .tiny { margin: 0; }
.salon-shut { margin: 0; padding: 12px; border-radius: 12px; background: var(--bg2); border: 1px dashed var(--line); text-align: center; font-weight: 800; color: var(--sub); }
.salon-act .salon-rookie { padding: 10px 12px; border-radius: 12px; background: var(--bg2); color: var(--sub); }

/* ---- LYX Value Point（泉の窓の中） ---- */
.vp { position: relative; overflow: hidden; isolation: isolate; margin: 12px 0 16px; padding: 18px 16px 16px; border-radius: 18px; background: radial-gradient(120% 90% at 50% 0%, #1d2563 0%, #0b1030 62%, #070a1f 100%); border: 2px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 2px rgba(255, 210, 63, .35), 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); text-align: center; }
.vp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px); }
.vp::after { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--rainbow); }
.vp-glow { position: absolute; z-index: -1; left: 50%; top: 34px; width: 280px; height: 140px; max-width: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 210, 63, .42), rgba(155, 123, 255, .18) 60%, transparent); filter: blur(8px); animation: vpBreath 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes vpBreath { 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }
.vp-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .24em; color: var(--accent); }
.vp-total { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 2px; }
.vp-num { font-family: var(--head); font-weight: 400; font-size: clamp(38px, 11vw, 60px); line-height: 1.05; letter-spacing: .01em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff6c9 0%, #ffd23f 45%, #ff9f1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(255, 210, 63, .55)); overflow-wrap: anywhere; max-width: 100%; }
.vp-num[data-len="l"] { font-size: clamp(30px, 8.4vw, 48px); }
.vp-num[data-len="xl"] { font-size: clamp(24px, 6.6vw, 40px); }
.vp-unit { font-family: var(--head); font-size: 22px; color: var(--r5); text-shadow: 0 0 12px rgba(76, 201, 255, .6); }
.vp-name { margin: 0 0 10px; font-size: 12px; color: var(--sub); }
.vp-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--sub); margin-bottom: 10px; }
.vp-stats em { font-style: normal; font-family: var(--head); color: var(--ink); margin-right: 2px; }

.vp-chart { position: relative; background: rgba(7, 10, 31, .55); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 6px; }
.vp-svg { display: block; width: 100%; height: auto; overflow: visible; }
.vp-base { stroke: var(--line); stroke-width: 2; }
.vp-bar { fill: rgba(76, 201, 255, .55); transform-box: fill-box; transform-origin: 50% 100%; animation: vpGrow .7s cubic-bezier(.2, .9, .3, 1.2) backwards; }
.vp-line { fill: none; stroke: url(#vpLine); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: vpDraw 1.8s .2s ease-out forwards; filter: drop-shadow(0 0 6px rgba(255, 210, 63, .6)); }
.vp-area { opacity: 0; animation: vpFade .8s 1.2s forwards; }
.vp-dot { fill: #fff6c9; stroke: #ffd23f; stroke-width: 3; opacity: 0; animation: vpFade .3s 1.8s forwards; }
.vp-pulse { fill: rgba(255, 210, 63, .35); transform-box: fill-box; transform-origin: center; opacity: 0; animation: vpPulse 2.2s 2s ease-out infinite; }
.vp-svg.ghost .vp-ghostline { fill: none; stroke: rgba(255, 210, 63, .45); stroke-width: 3; stroke-dasharray: .015 .02; stroke-linecap: round; }
@keyframes vpGrow { from { transform: scaleY(0); } }
@keyframes vpDraw { to { stroke-dashoffset: 0; } }
@keyframes vpFade { to { opacity: 1; } }
@keyframes vpPulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
.vp-axis { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 11px; color: var(--dim); margin-top: 4px; flex-wrap: wrap; }
.vp-legend { display: inline-flex; align-items: center; gap: 4px; }
.vp-legend i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; margin-left: 6px; }
.vp-legend i.bar { background: rgba(76, 201, 255, .7); }
.vp-legend i.line { height: 3px; background: linear-gradient(90deg, #9b7bff, #ffd23f); }
.vp-wait { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; font-size: 13px; color: var(--sub); padding: 0 12px; }

.vp-sec { text-align: left; margin-top: 14px; }
.vp-sec h4 { margin: 0 0 6px; font-size: 13px; color: var(--sub); letter-spacing: .08em; }
.vp-rank, .vp-latest { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vp-rank li, .vp-latest li { display: flex; align-items: center; gap: 10px; background: rgba(18, 26, 63, .8); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.vp-no { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 13px; background: var(--panel2); color: var(--sub); }
.vp-rank li:first-child .vp-no { background: linear-gradient(180deg, #fff1a8, #ffb700); color: #2a1a00; box-shadow: 0 0 10px rgba(255, 210, 63, .6); }
.vp-pj { flex: 1; min-width: 0; }
.vp-pj b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-pj small { display: block; font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-pj p { margin: 2px 0 0; font-size: 12px; color: var(--sub); white-space: pre-wrap; overflow-wrap: anywhere; }
.vp-track { height: 6px; border-radius: 999px; background: var(--bg2); margin-top: 4px; overflow: hidden; }
.vp-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9b7bff, #4cc9ff, #ffd23f); }
.vp-rank em, .vp-latest em { flex: none; font-style: normal; font-family: var(--head); font-size: 15px; color: var(--accent); white-space: nowrap; }
.vp-rank em small { font-size: 11px; color: var(--sub); }
.vp-latest time { flex: none; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.vp-first { margin: 14px 4px 0; font-size: 13px; color: var(--sub); }

/* ---- 運営メニュー：LYX サロン ---- */
.salon-sts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.salon-st { appearance: none; min-height: 48px; padding: 6px 2px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg2); color: var(--sub); font-weight: 800; font-size: 13px; cursor: pointer; position: relative; }
.salon-st::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; margin: 0 auto 2px; background: var(--c, var(--st-open)); }
.salon-st.st-open { --c: var(--st-open); } .salon-st.st-busy { --c: var(--st-busy); } .salon-st.st-full { --c: var(--st-full); }
.salon-st.st-private { --c: var(--st-private); }
.salon-st.on { background: var(--c); color: #0b0f24; border-color: #000; box-shadow: 0 3px 0 #000; }
.salon-st.on::before { background: #0b0f24; }
.salon-guests { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.salon-guests b { font-family: var(--head); font-size: 22px; min-width: 2.2em; text-align: center; }
.salon-guests .btn { min-width: 44px; font-size: 18px; }
.salon-seats { align-items: flex-end; }
.salon-seats .field { flex: 1; min-width: 0; margin-bottom: 0; }
.salon-seats .btn { margin-bottom: 4px; }
.salon-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.salon-row img.face { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.salon-row .grow { min-width: 0; }
.salon-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.salon-row .btn { flex: none; }
.salon-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); color: var(--sub); font-size: 11px; font-weight: 800; vertical-align: 2px; }
.salon-list { min-width: 0; }
.salon-pick { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; margin-top: 6px; padding-right: 4px; }
.salon-adm input[type=search] { width: 100%; }


/* ---- 運営メニュー：LYX Value Point ---- */
.vp-admtotal { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 14px; margin-bottom: 12px; border-radius: 14px; background: radial-gradient(120% 120% at 50% 0%, #1d2563, #0b1030); border: 2px solid rgba(255, 210, 63, .35); }
.vp-admtotal span { color: var(--sub); font-weight: 700; }
.vp-admtotal b { font-family: var(--head); font-weight: 400; font-size: clamp(26px, 8vw, 40px); color: var(--accent); overflow-wrap: anywhere; min-width: 0; }
.vp-admtotal small { color: var(--dim); }
.vp-form h4 { margin: 0 0 10px; }
.vp-prev { display: block; margin: -8px 0 12px; color: var(--accent); font-weight: 800; }
.vp-em { color: var(--accent); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .vp-glow, .vp-pulse, .salon-badge.st-open::before { animation: none; }
  .vp-line { animation: none; stroke-dashoffset: 0; }
  .vp-bar, .vp-area, .vp-dot { animation: none; opacity: 1; }
}
