/* ================= Mina's Hypno Lounge ================= */
.hyp-view { position: relative; isolation: isolate; min-height: calc(100vh - var(--tb, 60px)); --depth: 0; --sink: 0; }
.hyp-spiral { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; }
.hyp-dark { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: rgba(8, 0, 16, calc(.15 + var(--depth) * .45)); transition: background 2s; }
.hyp-whispers { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hyp-w { position: absolute; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: clamp(.95rem, 2.6vw, 1.35rem); color: #ffd6f3;
  text-shadow: 0 0 12px #ff5fd0, 0 0 2px #000; opacity: 0; animation: hypW 7s ease-in-out forwards; white-space: nowrap; letter-spacing: .04em; }
.hyp-w.strong { font-size: clamp(1.2rem, 4vw, 2rem); color: #fff; }
@keyframes hypW { 0% { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(3px); } 20% { opacity: .85; filter: blur(0); } 75% { opacity: .7; } 100% { opacity: 0; transform: translateY(-24px) scale(1.04); filter: blur(4px); } }
.hyp-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 12px 40px; }
.hyp-head { flex-wrap: wrap; gap: 8px; }
.hyp-title { color: #ffd6f3; text-shadow: 0 0 18px #ff4fc4; font-size: clamp(1.25rem, 4.5vw, 2.1rem); margin: 0; }
.hyp-title .script { font-family: "Great Vibes", cursive; color: var(--gold); font-weight: 400; margin-right: .2em; }
.hyp-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.hyp-meter { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; padding: 8px 12px; border-radius: 999px; background: rgba(20, 0, 30, .55); border: 1px solid rgba(255, 140, 230, .35); backdrop-filter: blur(4px); }
.hyp-meter small { letter-spacing: .15em; font-size: .68rem; color: #ffc2ec; }
.hm-bar { flex: 1; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hm-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ff7ad9, #a04dff, #3b0b6e); box-shadow: 0 0 12px #ff5fd0; transition: width 1s; }
.hm-name { min-width: 4.6em; text-align: right; color: #fff; font-family: "Cinzel", serif; font-size: .9rem; }
/* menu */
.hyp-intro { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.hyp-mina.sm { width: 92px; flex: none; }
.hyp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.hyp-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; text-decoration: none; color: #fff; background: rgba(30, 0, 45, .62);
  border: 1.5px solid rgba(255, 140, 230, .4); backdrop-filter: blur(5px); transition: transform .2s, border-color .2s, box-shadow .2s; }
.hyp-card:hover, .hyp-card:focus-visible { transform: translateY(-2px); border-color: #ff8ee0; box-shadow: 0 0 22px rgba(255, 90, 210, .45); }
.hyp-card h3 { margin: 0 0 4px; font-family: "Cinzel Decorative", serif; color: var(--gold); font-size: 1rem; }
.hyp-card p { margin: 0 0 6px; font-size: .84rem; line-height: 1.35; opacity: .92; }
.hyp-card small { color: #ffbfe9; font-size: .72rem; }
.gi-hypno { background: repeating-conic-gradient(#ff5fd0 0 30deg, #2a0640 30deg 60deg); border: 1.5px solid #ffb3ea; }
.hyp-odds { margin-top: 16px; background: rgba(20, 0, 30, .7); }
.hyp-odds summary { cursor: pointer; font-family: "Cinzel", serif; color: var(--gold); }
.hyp-oddlist { padding-left: 18px; font-size: .86rem; line-height: 1.45; }
.hyp-oddlist li { margin: 6px 0; }
/* game frame */
.hyp-game { background: rgba(20, 0, 32, .6); border: 1.5px solid rgba(255, 140, 230, .35); border-radius: 18px; padding: 12px; backdrop-filter: blur(5px); }
.hyp-ghead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hyp-ghead h2 { flex: 1; margin: 0; color: var(--gold); font-size: clamp(1.05rem, 3.6vw, 1.5rem); }
.hyp-pot { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.hyp-pot small { font-size: .62rem; letter-spacing: .15em; color: #ffc2ec; }
.hyp-pot b { font-size: 1.4rem; color: #fff; text-shadow: 0 0 10px #ff5fd0; }
.hyp-stage { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; gap: 14px; align-items: start; margin: 12px 0; }
.hyp-mina { position: relative; }
.hyp-mina img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; border-radius: 14px; border: 2px solid rgba(255, 150, 230, .6); box-shadow: 0 0 26px rgba(255, 80, 200, .35); display: block; }
.hyp-mina img.in { animation: hypIn .5s ease; }
@keyframes hypIn { from { opacity: .3; filter: blur(4px) hue-rotate(40deg); } to { opacity: 1; filter: none; } }
.hyp-say { margin: 8px 0 0; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 170, 235, .35); font-family: "Playfair Display", Georgia, serif; font-style: italic; color: #ffe3f6; min-height: 2.6em; font-size: .95rem; }
.hyp-intro .hyp-say { margin: 0; flex: 1; font-size: 1.02rem; }
.hyp-say.in { animation: hypIn .5s ease; }
.hyp-play { position: relative; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.hyp-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.hyp-bets { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.hyp-bets::before { content: "BET"; align-self: center; font-size: .66rem; letter-spacing: .15em; color: #ffc2ec; margin-right: 2px; }
.hyp-msg { text-align: center; min-height: 1.4em; margin: 10px 0 4px; color: #ffe3f6; font-size: .92rem; }
.hyp-log { margin-top: 6px; }
/* ---------- v2: big reactive Mina ---------- */
.hyp-stage { grid-template-columns: minmax(200px, 330px) 1fr; }
.hyp-mina.big .hm-frame { position: relative; border-radius: 16px; overflow: hidden; border: 2px solid rgba(255, 150, 230, .65); box-shadow: 0 0 30px rgba(255, 80, 200, .4); }
.hyp-mina.big img { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 3 / 4; object-position: center 20%; transition: filter .4s; }
.hyp-mina.r-laugh .hm-frame { animation: hmLaugh .8s ease; }
.hyp-mina.r-pout .hm-frame { animation: hmPout .6s ease; }
.hyp-mina.r-glow .hm-frame { animation: hmGlow 1.4s ease; }
.hyp-mina.r-swirl .hm-frame { animation: hmSwirl 1s ease; }
@keyframes hmLaugh { 0%, 100% { transform: none; } 20% { transform: translateY(-8px) scale(1.03); } 40% { transform: translateY(0) scale(1.01); } 60% { transform: translateY(-5px) scale(1.02); } }
@keyframes hmPout { 0%, 100% { transform: none; } 20% { transform: translateX(-7px) rotate(-1deg); } 40% { transform: translateX(7px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes hmGlow { 0%, 100% { box-shadow: 0 0 30px rgba(255, 80, 200, .4); } 50% { box-shadow: 0 0 60px rgba(255, 110, 230, .95), 0 0 120px rgba(160, 80, 255, .5); } }
@keyframes hmSwirl { 0% { filter: none; transform: none; } 40% { filter: blur(6px) hue-rotate(60deg) brightness(1.6); transform: rotate(6deg) scale(.94); } 100% { filter: none; transform: none; } }
.hm-cap { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) scale(.9); opacity: 0; pointer-events: none; white-space: nowrap; padding: 6px 14px; border-radius: 999px;
  font-family: "Cinzel Decorative", serif; font-weight: 700; font-size: clamp(.85rem, 2.6vw, 1.1rem); color: #fff; background: rgba(40, 0, 60, .8); border: 1.5px solid #ff8ee0; box-shadow: 0 0 18px #ff5fd0; transition: opacity .35s, transform .35s; }
.hm-cap.show { opacity: 1; transform: translateX(-50%) scale(1); }
.hm-cap.gold { color: #4a1a00; background: linear-gradient(180deg, #fff1b0, #ffd36b); border-color: #fff; box-shadow: 0 0 22px #ffd36b; }
/* the big result reveal over each board */
.hyp-big { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.4); opacity: 0; pointer-events: none; z-index: 5; white-space: nowrap;
  font-family: "Cinzel Decorative", serif; font-weight: 900; font-size: clamp(2.4rem, 11vw, 4.6rem); color: #fff; text-shadow: 0 0 24px #ff5fd0, 0 0 4px #000, 0 4px 0 #4a0a40; }
.hyp-big.show { animation: hypBig 2.2s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.hyp-big.win { color: #ffe3f6; }
.hyp-big.jack, .hyp-big.fs { color: #fff1b0; text-shadow: 0 0 30px #ffd36b, 0 0 60px #ff5fd0, 0 4px 0 #6e3a00; font-size: clamp(2.8rem, 13vw, 5.4rem); }
.hyp-big.fs { color: #c9f4ff; text-shadow: 0 0 28px #38c9ff, 0 0 50px #b06bff, 0 4px 0 #0a3050; }
.hyp-big.strip { color: #ffd6f3; text-shadow: 0 0 30px #ff3d9a, 0 0 60px #ff5fd0; }
.hyp-big.lose { color: #d8b8ff; font-style: italic; text-shadow: 0 0 20px #7a3cff, 0 3px 0 #1a0030; }
.hyp-big.trance { font-size: clamp(3rem, 15vw, 6rem); letter-spacing: .1em; color: #fff; text-shadow: 0 0 40px #ff5fd0, 0 0 80px #b06bff; }
@keyframes hypBig { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); } 30% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: .0; transform: translate(-50%, -60%) scale(1.04); } }
.hyp-play.snap { animation: hypSnap .7s ease; }
@keyframes hypSnap { 0% { filter: none; } 15% { filter: brightness(2.2) saturate(0); transform: translateX(-6px); } 30% { transform: translateX(6px); } 45% { transform: translateX(-3px); filter: brightness(.5); } 100% { filter: none; transform: none; } }
/* menu: lounge jackpot + art cards */
.hyp-ljp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; justify-content: center; text-align: center; text-decoration: none; color: #fff; margin: 0 0 14px; padding: 12px 16px; border-radius: 18px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(255, 211, 107, .22), rgba(40, 0, 60, .75) 60%); border: 1.5px solid #ffd36b; box-shadow: 0 0 22px rgba(255, 211, 107, .35); }
.hyp-ljp small, .cj-jpbox small { letter-spacing: .2em; font-size: .7rem; color: #ffe9a3; width: 100%; }
.hyp-ljp b, .cj-jpbox b { font-family: "Cinzel Decorative", serif; font-size: clamp(2rem, 8vw, 3rem); color: #fff1b0; text-shadow: 0 0 18px #ffd36b, 0 0 40px #ff5fd0; animation: ljGlow 2.4s ease-in-out infinite; font-variant-numeric: tabular-nums; }
.hyp-ljp span { font-size: .8rem; color: #ffd6f3; max-width: 36em; }
@keyframes ljGlow { 50% { text-shadow: 0 0 28px #ffd36b, 0 0 70px #ff5fd0; } }
.hyp-card { position: relative; overflow: hidden; padding: 0; align-items: stretch; }
.hyp-card .hc-art { width: 112px; flex: none; object-fit: cover; object-position: center 14%; aspect-ratio: 3 / 4; display: block; border-right: 1.5px solid rgba(255, 140, 230, .4); }
.hyp-card > div { padding: 12px 12px 10px 0; }
/* 1. Pendulum Roulette */
.pr-wrap { position: relative; width: 100%; display: flex; justify-content: center; }
.pr-cv { width: min(100%, 640px); height: auto; aspect-ratio: 640 / 400; display: block; }
.pr-key { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pr-key span { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(255, 170, 235, .35); background: rgba(30, 0, 45, .6); }
.pr-key small { font-weight: 400; opacity: .75; }
.pr-key .k20 { color: #fff1b0; border-color: #ffd36b; box-shadow: 0 0 10px rgba(255, 211, 107, .5); } .pr-key .k5 { color: #ff9fe6; border-color: #ff5fd0; } .pr-key .k0 { opacity: .7; }
/* 2. Trance Slots */
.ts-wrap { position: relative; width: min(100%, 420px); }
.ts-reels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; border-radius: 20px; background: linear-gradient(180deg, #3a0a50, #1a0028); border: 2px solid #ffd36b; box-shadow: 0 0 26px rgba(255, 95, 208, .45), inset 0 0 30px rgba(0, 0, 0, .6); }
.ts-reel { position: relative; aspect-ratio: 1 / 3; overflow: hidden; border-radius: 12px; background: radial-gradient(circle, #2c0644, #12001c); border: 1px solid rgba(255, 170, 235, .3); }
.ts-strip { --n: 3; display: flex; flex-direction: column; height: calc(var(--n) / 3 * 100%); will-change: transform; }
.ts-cell { flex: 1 1 0; display: flex; align-items: center; justify-content: center; padding: 12%; min-height: 0; }
.ts-cell svg { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(255, 95, 208, .5)); }
.ts-cell.hit { animation: tsHit .9s ease-in-out infinite alternate; }
.ts-cell.hit svg { filter: drop-shadow(0 0 14px #fff) drop-shadow(0 0 22px #ff5fd0); }
@keyframes tsHit { to { transform: scale(1.12); } }
.ts-reel.tease { box-shadow: 0 0 30px #ff5fd0, inset 0 0 30px rgba(255, 95, 208, .6); border-color: #fff; }
.ts-reel.land { animation: tsLand .3s ease; }
@keyframes tsLand { 40% { transform: translateY(4px); } }
.ts-lines { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); pointer-events: none; }
.ts-lines .ln { fill: none; stroke: #fff1b0; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .85; filter: drop-shadow(0 0 6px #ffd36b); vector-effect: non-scaling-stroke; }
.ts-pays { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ts-pays span { display: flex; align-items: center; gap: 4px; padding: 3px 8px 3px 4px; border-radius: 99px; background: rgba(30, 0, 45, .65); border: 1px solid rgba(255, 170, 235, .3); font-size: .78rem; }
.ts-pays svg { width: 24px; height: 24px; }
.ts-note { font-size: .78rem; color: #ffc2ec; text-align: center; margin: 0; max-width: 34em; }
.ts-mult { position: absolute; top: -14px; right: -6px; z-index: 4; padding: 4px 12px; border-radius: 999px; font: 900 1.3rem "Cinzel Decorative", serif; color: #2a0640; background: linear-gradient(180deg, #fff1b0, #ffd36b); box-shadow: 0 0 18px #ffd36b; }
.ts-mult.pop { animation: tsPop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes tsPop { from { transform: scale(1.8); } }
/* the trance bonus: the spiral takes over the whole screen */
.hyp-view.ts-trance .hyp-dark { background: rgba(30, 0, 50, .35); }
.hyp-view.ts-trance::after { content: ""; position: fixed; inset: -50vmax; z-index: 0; pointer-events: none; background: repeating-conic-gradient(from 0deg, rgba(255, 95, 208, .35) 0 12deg, rgba(40, 0, 70, .2) 12deg 24deg);
  animation: tsVortex 6s linear infinite; mix-blend-mode: screen; }
.hyp-view.ts-trance .hyp-game { box-shadow: 0 0 60px rgba(255, 95, 208, .7); border-color: #ff8ee0; }
.hyp-view.ts-trance .ts-reels { border-color: #ff5fd0; box-shadow: 0 0 50px #ff5fd0, inset 0 0 30px rgba(0, 0, 0, .6); }
@keyframes tsVortex { to { transform: rotate(360deg); } }
/* 3. Mind Wheel */
.mw-wrap { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.mw-cv { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 22px rgba(255, 95, 208, .5)); }
.mw-ptr { position: absolute; left: 50%; top: -6px; z-index: 3; transform: translateX(-50%); width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 34px solid #ffd36b; filter: drop-shadow(0 0 8px #ffd36b) drop-shadow(0 2px 0 #6e3a00); }
.mw-hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid #ffd36b;
  background: repeating-conic-gradient(#ff5fd0 0 20deg, #2a0640 20deg 40deg); box-shadow: 0 0 24px #ff5fd0; animation: hypSpin 3s linear infinite; }
@keyframes hypSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.mw-free { font: 800 .95rem "Cinzel", serif; letter-spacing: .12em; color: #c9f4ff; text-shadow: 0 0 12px #38c9ff; }
/* 4. Countdown Jackpot */
.cj-jpbox { display: flex; flex-direction: column; align-items: center; padding: 8px 18px; border-radius: 16px; border: 1.5px solid #ffd36b; background: rgba(40, 0, 60, .7); box-shadow: 0 0 22px rgba(255, 211, 107, .35); }
.cj-jpbox small { width: auto; }
.cj-ring { --k: 0; position: relative; isolation: isolate; width: min(64vw, 240px); aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(10, 0, 20, .88) 0 56%, transparent 57%); box-shadow: 0 0 calc(20px + var(--k) * 50px) rgba(255, 80, 210, .7); }
.cj-ring::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: repeating-conic-gradient(#ff5fd0 0 12deg, #22043a 12deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 0 56%, #000 57%); mask: radial-gradient(circle, transparent 0 56%, #000 57%); animation: hypSpinR 8s linear infinite; }
@keyframes hypSpinR { to { transform: rotate(360deg); } }
.cj-ring.last { box-shadow: 0 0 60px #ffd36b, 0 0 110px #ff5fd0; }
.cj-ring.last::before { background: repeating-conic-gradient(#ffd36b 0 12deg, #5a1078 12deg 24deg); animation-duration: 2.5s; }
.cj-num { font-family: "Cinzel Decorative", serif; font-size: clamp(3.4rem, 17vw, 5.6rem); font-weight: 900; color: #fff; text-shadow: 0 0 24px #ff5fd0; line-height: 1; font-variant-numeric: tabular-nums; }
.cj-num.on { animation: cdBeat .7s ease; }
.cj-num.drop { color: #d8b8ff; font-size: clamp(2.2rem, 11vw, 3.4rem); text-shadow: 0 0 30px #7a3cff; }
@keyframes cdBeat { from { transform: scale(1.4); opacity: .3; } to { transform: none; opacity: 1; } }
.cj-ring small { color: #ffc2ec; letter-spacing: .06em; font-size: .78rem; text-align: center; max-width: 80%; }
.cj-ladder { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-width: 460px; }
.cj-ladder i { font-style: normal; font-size: .74rem; padding: 3px 7px; border-radius: 10px; border: 1px solid rgba(255, 170, 235, .3); color: #ffc2ec; display: flex; gap: 4px; align-items: baseline; }
.cj-ladder i b { color: #fff; }
.cj-ladder i.past { opacity: .45; }
.cj-ladder i.on { background: #ff5fd0; color: #2a0640; border-color: #fff; transform: scale(1.12); box-shadow: 0 0 14px #ff5fd0; }
.cj-ladder i.on b { color: #2a0640; }
.cj-ladder i:last-child { border-color: #ffd36b; color: #ffe9a3; }
/* 5. Strip Spiral */
.ss-wrap { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ss-ask { margin: 0; font-family: "Cinzel Decorative", serif; color: #ffd6f3; font-size: 1.2rem; text-shadow: 0 0 12px #ff5fd0; }
.ss-spirals { display: flex; gap: clamp(10px, 4vw, 26px); justify-content: center; }
.ss-sp { position: relative; width: clamp(88px, 26vw, 140px); aspect-ratio: 1; border-radius: 50%; padding: 0; cursor: pointer; border: 3px solid #ffb3ea; background: #2a0640; overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 95, 208, .6); transition: transform .2s, box-shadow .2s, opacity .3s; touch-action: manipulation; }
.ss-sp i { position: absolute; inset: -2px; border-radius: 50%; background: repeating-conic-gradient(#ff5fd0 0 18deg, #2a0640 18deg 36deg); animation: hypSpin2 4s linear infinite; }
.ss-sp:nth-child(2) i { animation-duration: 3.2s; animation-direction: reverse; background: repeating-conic-gradient(#b06bff 0 18deg, #2a0640 18deg 36deg); }
.ss-sp:nth-child(3) i { animation-duration: 4.6s; background: repeating-conic-gradient(#ff7ad9 0 18deg, #3a0a50 18deg 36deg); }
@keyframes hypSpin2 { to { transform: rotate(360deg); } }
.ss-sp b { position: absolute; inset: 22%; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 900 clamp(1rem, 5vw, 1.6rem) "Cinzel Decorative", serif; color: #fff; background: rgba(10, 0, 20, 0); transition: background .3s; }
.ss-sp:hover:not(:disabled) { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 34px #ff5fd0; }
.ss-sp.chosen { transform: scale(1.08); box-shadow: 0 0 40px #fff, 0 0 60px #ff5fd0; }
.ss-sp.chosen i { animation-duration: .5s; }
.ss-sp.rev i { animation-play-state: paused; filter: saturate(.6) brightness(.6); }
.ss-sp.rev b { background: rgba(10, 0, 20, .82); }
.ss-sp.deep b, .ss-sp.deepbig b { color: #fff1b0; text-shadow: 0 0 14px #ffd36b; }
.ss-sp.deepbig { border-color: #ffd36b; box-shadow: 0 0 40px #ffd36b; }
.ss-sp.empty b { color: #b89ad8; font-size: clamp(.8rem, 3.6vw, 1.05rem); font-style: italic; }
.ss-sp.rev:not(.chosen) { opacity: .7; transform: scale(.94); }
.ss-sp:disabled { cursor: default; }
.ss-rule { font-size: .78rem; color: #ffc2ec; text-align: center; margin: 0; max-width: 34em; }
.ss-meter { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(20, 0, 30, .7); border: 1px solid rgba(255, 150, 230, .4); }
.ssm-top { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; }
.ssm-top b { color: var(--gold); font-family: "Cinzel", serif; }
.ssm-bar { display: block; height: 8px; margin: 6px 0 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ssm-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff7ad9, #b06bff, #ffd36b); box-shadow: 0 0 10px #ff5fd0; transition: width 1s; }
.ss-meter small { color: #ffc2ec; font-size: .74rem; }
.hyp-mina[data-stage="5"] .hm-frame { border-color: #ffd36b; box-shadow: 0 0 40px rgba(255, 211, 107, .6), 0 0 80px rgba(255, 95, 208, .4); }
/* entrance */
.hyp-gate { text-align: center; }
.hyp-warn { text-align: left; background: rgba(255, 210, 80, .12); border: 1px solid rgba(255, 210, 80, .5); border-radius: 12px; padding: 10px 12px; line-height: 1.45; font-size: .92rem; }
.hyp-int-pick { display: flex; gap: 8px; justify-content: center; margin: 12px 0 4px; }
.hyp-int-pick .btn.on, .hyp-tools .btn.on { background: #ff5fd0; color: #2a0640; border-color: #fff; }
.hyp-gate-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
/* deeper trance: darker cards */
.hyp-view[data-depth="3"] .hyp-game, .hyp-view[data-depth="4"] .hyp-game, .hyp-view[data-depth="3"] .hyp-card, .hyp-view[data-depth="4"] .hyp-card { background: rgba(8, 0, 16, .78); }
body.in-hypno .sparkles { opacity: .25; }
@media (max-width: 640px) {
  .hyp-stage { grid-template-columns: 1fr; gap: 10px; }
  .hyp-stage .hyp-mina.big { display: grid; grid-template-columns: 54% 1fr; grid-template-rows: auto 1fr; gap: 8px 10px; align-items: start; }
  .hyp-stage .hyp-mina.big .hm-frame { grid-column: 1; grid-row: 1 / span 2; }
  .hyp-stage .hyp-mina.big .ss-meter { grid-column: 2; grid-row: 1; margin: 0; }
  .hyp-stage .hyp-mina.big .hyp-say { margin: 0; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .88rem; }
  .hg-strip .hyp-stage .hyp-mina.big .hyp-say { grid-row: 2; align-self: start; }
  .ss-sp b { font-size: clamp(.85rem, 4.4vw, 1.3rem); }
  .hm-cap { font-size: .72rem; padding: 4px 9px; bottom: 6px; }
  .hyp-play { min-height: 0; }
  .hyp-card .hc-art { width: 92px; }
  .hyp-grid { grid-template-columns: 1fr; }
  .hyp-tools .btn { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hyp-w { animation: hypWr 7s linear forwards; } @keyframes hypWr { 0%, 100% { opacity: 0; } 15%, 80% { opacity: .8; } }
  .hyp-play.snap, .cj-num.on, .hyp-mina img.in, .hyp-say.in, .hyp-mina .hm-frame, .cj-ring::before, .ss-sp i, .mw-hub, .hyp-ljp b, .cj-jpbox b, .ts-cell.hit, .hyp-view.ts-trance::after { animation: none !important; }
  .hyp-big.show { animation: none; opacity: 1; transform: translate(-50%, -50%); }
}

/* ---------- lobby Hypno Lounge feature banner ---------- */
.hyp-feature {
  position: relative;
  display: block;
  margin: 0 0 18px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  border: 2px solid #ff8ee0;
  box-shadow: 0 0 18px rgba(255, 80, 210, .55), 0 0 40px rgba(160, 40, 200, .28), var(--glow);
  transition: transform .15s, box-shadow .15s;
}
.hyp-feature:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(255, 80, 210, .75), 0 0 48px rgba(160, 40, 200, .4), var(--glow); }
.hyp-feature:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hyp-feature-img { width: 100%; height: 340px; object-fit: cover; object-position: 72% 18%; display: block; }
.hyp-feature-text {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 28px 36px; max-width: 560px;
  background: linear-gradient(90deg, rgba(28, 0, 48, .86) 0%, rgba(60, 0, 80, .58) 58%, transparent 100%);
}
.hyp-feature-badge {
  font: 800 .7rem system-ui; letter-spacing: .14em; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
  background: linear-gradient(180deg, #ffe9a3, #f5b331); color: #6e0b3a; box-shadow: 0 0 10px #ffd36b;
}
.hyp-feature-script { font-size: 3.4rem; color: #ffd0e6; line-height: .8; text-shadow: 0 0 16px #ff5fd0, var(--glow); }
.hyp-feature h2 {
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; margin: 0;
  color: #ffd6f3; text-shadow: 0 0 18px #ff4fc4, 0 2px 0 #4a0a40;
}
.hyp-feature .hook { max-width: 22em; }
.hyp-feature-btn {
  pointer-events: none;
  background: linear-gradient(180deg, #e07bff, #ff3d9a 55%, #b3128a);
  box-shadow: 0 0 16px rgba(255, 95, 208, .9), 0 0 32px rgba(160, 80, 255, .45), inset 0 2px 0 #fff5;
}
.hyp-feature::before {
  content: ""; position: absolute; inset: -30%; z-index: 1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 30% 48%, rgba(255, 95, 208, .14) 0 10deg, transparent 10deg 20deg);
  animation: hypFeatSpin 40s linear infinite; mix-blend-mode: screen; opacity: .5;
}
.hyp-feature::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 190, 255, .2) 48%, transparent 70%);
  background-size: 220% 100%; animation: hypFeatShimmer 7s ease-in-out infinite;
}
@keyframes hypFeatSpin { to { transform: rotate(360deg); } }
@keyframes hypFeatShimmer { 0%, 100% { background-position: 140% 0; opacity: .35; } 50% { background-position: -20% 0; opacity: .8; } }

@media (max-width: 900px) {
  .hyp-feature { margin: 0 0 16px; }
  .hyp-feature-img { height: 230px; object-position: center 18%; }
  .hyp-feature-text {
    position: relative; padding: 16px 18px 20px; max-width: none;
    background: linear-gradient(180deg, #5a1078, #3a0a50 70%, #2a0640);
  }
  .hyp-feature-script { font-size: 2.5rem; }
  .hyp-feature h2 { font-size: 2rem; }
  .hyp-feature .hook { font-size: 1.15rem; margin: 6px 0 12px; }
  .hyp-feature::before { inset: -10% -10% 40% -10%; opacity: .35; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hyp-feature { display: grid; grid-template-columns: 1.15fr 1fr; margin: 0 0 10px; }
  .hyp-feature-img { height: 200px; width: 100%; }
  .hyp-feature-text {
    position: relative; padding: 10px 14px 12px; max-width: none; justify-content: center;
    background: linear-gradient(180deg, #5a1078, #3a0a50);
  }
  .hyp-feature-script { font-size: 2rem; }
  .hyp-feature h2 { font-size: 1.7rem; }
  .hyp-feature .hook { font-size: 1.05rem; margin: 4px 0 8px; }
  .hyp-feature-btn.big { font-size: 1rem; padding: .55em 1.1em; }
  .hyp-feature::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hyp-feature::before, .hyp-feature::after, .hyp-feature { animation: none !important; }
  .hyp-feature:hover { transform: none; }
}
