/* 試着室のカーテンが開くルーレット（booth.js）— /cosplay/ と店内メニューで共用 */
.kn-booth {
  --bt-pink: #ff6fa5; --bt-pink-2: #ffb3cf; --bt-rose: #e2477f; --bt-gold: #e2b25a; --bt-dim: #8a6573; --bt-msg: #e2477f; --bt-line: rgba(226, 71, 127, .16);
  --bt-en: 'Fredoka', 'Outfit', sans-serif; --bt-script: 'Parisienne', cursive; --bt-pop: 'Zen Maru Gothic', 'Dela Gothic One', 'Noto Sans JP', sans-serif; --bt-jp: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  --bt-ease: cubic-bezier(.16, 1, .3, 1); --bt-spring: cubic-bezier(.34, 1.56, .64, 1);
  text-align: center; color: #4a2a3a; font-family: var(--bt-jp);
}
:where(.kn-booth) :where(p, button) { margin: 0; padding: 0; }
:where(.kn-booth) button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.bt-no { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 2px 12px; border-radius: 999px; background: #fff; color: var(--bt-rose); font-family: var(--bt-en); font-weight: 700; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(226, 71, 127, .25); }
.bt-no[hidden] { display: none; }
.bt-booth { position: relative; width: min(78vw, 340px); margin: 50px auto 0; padding: 0 12px 12px; border-radius: 26px 26px 18px 18px; background: #fff; box-shadow: 0 22px 46px rgba(150, 60, 100, .2), 0 0 0 6px rgba(255, 179, 207, .35); }
.bt-sign { position: absolute; left: 50%; top: -36px; transform: translateX(-50%); z-index: 4; padding: 2px 18px 4px; border-radius: 999px; background: #fff; color: var(--bt-rose); font-family: var(--bt-script); font-size: 1.5rem; line-height: 1.3; white-space: nowrap; box-shadow: 0 6px 14px rgba(226, 71, 127, .22); animation: btSign 3s ease-in-out infinite; }
.bt-sign::after { content: ' ♡'; font-family: var(--bt-jp); font-size: .8rem; color: var(--bt-pink); }
@keyframes btSign { 50% { transform: translateX(-50%) rotate(-3deg); } }
.bt-rod { position: relative; z-index: 3; height: 14px; margin: 0 -18px; border-radius: 999px; background: linear-gradient(180deg, #fff1c9, #e2b25a 60%, #b98a3a); box-shadow: 0 3px 8px rgba(150, 100, 40, .3); }
.bt-rod::before, .bt-rod::after { content: ''; position: absolute; top: -3px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #ffb3cf 60%, #ff6fa5); }
.bt-rod::before { left: -6px; } .bt-rod::after { right: -6px; }
.bt-inner { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px 4px 14px 14px; background: radial-gradient(60% 50% at 50% 40%, #fff, #ffe3ee); }
/* 上のレースの飾り */
.bt-inner::before { content: ''; position: absolute; inset: 0 0 auto; z-index: 3; height: 16px; background: radial-gradient(circle at 8px 0, #fff 7px, transparent 7.5px) 0 0 / 16px 16px repeat-x; filter: drop-shadow(0 2px 2px rgba(226, 71, 127, .2)); }
.bt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-img[hidden] { display: none; }
.bt-booth.is-peek .bt-img { filter: blur(1.5px) saturate(1.3); }
.bt-curtain { position: absolute; top: 0; bottom: 0; z-index: 2; width: 51%; background: linear-gradient(90deg, rgba(226, 71, 127, .18), transparent 30%, transparent 70%, rgba(226, 71, 127, .18)), repeating-linear-gradient(90deg, #ffb3cf 0, #ffc8dc 8px, #ffe1ec 12px, #ffc8dc 16px, #ffb3cf 24px); box-shadow: inset 0 -24px 30px rgba(226, 71, 127, .15); transition: transform 1.1s var(--bt-ease); }
.bt-curtain::after { content: ''; position: absolute; inset: auto 0 0; height: 12px; background: radial-gradient(circle at 6px 12px, #fff 6px, transparent 6.5px) 0 0 / 12px 12px repeat-x; }
.bt-left { left: 0; transform-origin: 0 50%; }
.bt-right { right: 0; transform-origin: 100% 50%; }
.bt-booth.is-shake .bt-left { animation: btRustleL .3s ease-in-out infinite; }
.bt-booth.is-shake .bt-right { animation: btRustleR .3s ease-in-out infinite; }
@keyframes btRustleL { 50% { transform: skewX(-2deg) translateX(-2px); } }
@keyframes btRustleR { 50% { transform: skewX(2deg) translateX(2px); } }
.bt-booth.is-peek .bt-left { transform: translateX(-30%) scaleX(.85); }
.bt-booth.is-peek .bt-right { transform: translateX(30%) scaleX(.85); }
.bt-booth.is-open .bt-left { transform: scaleX(.1); }
.bt-booth.is-open .bt-right { transform: scaleX(.1); }
.bt-booth.is-open { box-shadow: 0 22px 46px rgba(150, 60, 100, .22), 0 0 0 6px var(--bt-pink-2), 0 0 50px rgba(255, 111, 165, .45); }
.bt-q { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; font-family: var(--bt-en); font-weight: 700; font-size: 5rem; color: #fff; text-shadow: 0 4px 0 var(--bt-pink), 0 10px 24px rgba(226, 71, 127, .35); transition: opacity .3s ease, transform .5s var(--bt-spring); pointer-events: none; }
.bt-booth:not(.is-closed) .bt-q { opacity: 0; transform: scale(.4); }
.bt-booth.is-closed .bt-q { animation: btQBob 2.4s ease-in-out infinite; }
@keyframes btQBob { 50% { transform: translateY(-8px) rotate(6deg); } }
.bt-msg { min-height: 1.9em; margin-top: 18px; font-family: var(--bt-pop); font-weight: 900; font-size: 1.15rem; color: var(--bt-msg); }
.bt-actions { display: grid; justify-items: center; gap: 8px; width: min(100%, 360px); margin: 6px auto 0; }
.bt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 58px; border-radius: 999px; background: linear-gradient(110deg, var(--bt-pink), #ff8fb8); color: #fff; font-weight: 900; font-size: 1.02rem; box-shadow: 0 10px 24px rgba(255, 111, 165, .4), inset 0 -3px 0 rgba(226, 71, 127, .3); transition: transform .3s var(--bt-spring), opacity .3s ease; }
.bt-btn:active { transform: scale(.95); }
.bt-btn:disabled { opacity: .55; box-shadow: none; }
.bt-btn.is-busy .bt-dice { animation: btDice .5s linear infinite; }
@keyframes btDice { to { transform: rotate(360deg); } }
.bt-count { font-size: .76rem; font-weight: 700; color: var(--bt-dim); }
@media (prefers-reduced-motion: reduce) {
  .kn-booth *, .kn-booth *::before, .kn-booth *::after { animation: none !important; transition: none !important; }
}
