/* プレプレカジノ 画面の土台（CASINO1127）。紺・黒・金・ワインレッド・ネオンのピンクと水色。絵が届くまでは CSS と SVG の仮の見た目。 */
:root {
	--cs-ink: #06071a; --cs-navy: #0b0f2a; --cs-navy2: #161a45;
	--cs-gold: #f3c75f; --cs-gold2: #ffe9a8; --cs-gold3: #a8741c;
	--cs-wine: #5a0c26; --cs-wine2: #a8183f;
	--cs-pink: #ff4fa8; --cs-cyan: #35e0ff; --cs-violet: #9b55f0;
	--cs-text: #f7f0e3; --cs-muted: rgba(247, 240, 227, .72);
	--cs-glass: rgba(12, 10, 34, .74); --cs-line: rgba(243, 199, 95, .32);
	--cs-serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", "Times New Roman", serif;
	--cs-mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	--cs-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
	--cs-safe-b: env(safe-area-inset-bottom, 0px);
	--cs-goldtxt: linear-gradient(180deg, #fff6d0 0%, #f3c75f 45%, #b8842a 70%, #ffe7a0 100%);
	color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cs-body { margin: 0; min-height: 100vh; background: var(--cs-ink); color: var(--cs-text); font-family: var(--cs-sans); font-size: 15px; line-height: 1.6; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
.cs { position: relative; min-height: 100vh; }
.cs a { color: var(--cs-gold2); }
.cs button, .cs-sheet button, .cs-pm button { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--cs-cyan); outline-offset: 2px; }
.cs-boot { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 14px; background: radial-gradient(circle at 50% 40%, #1b1046, #06071a 70%); }
.cs-boot b { font-family: var(--cs-serif); letter-spacing: .3em; font-size: 22px; color: #ffe3f2; text-shadow: 0 0 10px var(--cs-pink), 0 0 26px var(--cs-pink); }
.cs-boot i { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; border: 3px solid rgba(243, 199, 95, .25); border-top-color: var(--cs-gold); animation: csSpin 1s linear infinite; }
@keyframes csSpin { to { transform: rotate(360deg); } }

/* ---------- 床の背景 ---------- */
.cs-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0a0618; pointer-events: none; }
.cs-bg__sky { position: absolute; left: 0; right: 0; top: 0; height: 48%; background:
	radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 8%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 44% 22%, #fff 50%, transparent 51%),
	radial-gradient(1px 1px at 61% 12%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 76% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 89% 9%, #fff 50%, transparent 51%),
	radial-gradient(1px 1px at 5% 32%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 35% 34%, #dff 50%, transparent 51%), radial-gradient(1px 1px at 68% 36%, #ffd 50%, transparent 51%),
	linear-gradient(180deg, #070a24 0%, #141049 45%, #3a1446 80%, #5a1a3c 100%); }
.cs-bg__moon { position: absolute; top: 9%; right: 13%; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffbe8, #f2e2b0 60%, #d9c48a); box-shadow: 0 0 30px 8px rgba(255, 240, 190, .35), 0 0 90px 30px rgba(255, 220, 160, .12); }
.cs-bg__win { position: absolute; left: 0; right: 0; top: 14%; height: 34%; }
.cs-bg__city { position: absolute; left: 0; bottom: 0; width: 100%; height: 72%; }
.cs-blink { animation: csBlink 2.4s steps(1) infinite; }
@keyframes csBlink { 50% { opacity: .15; } }
.cs-bg__frames { position: absolute; inset: 0; background:
	linear-gradient(180deg, #2a1208 0, #b68a3c 6px, #5a3a14 10px, transparent 12px),
	linear-gradient(0deg, #1a0a06 0, #b68a3c 5px, #4a2e10 8px, transparent 10px),
	repeating-linear-gradient(90deg, transparent 0 calc(20% - 7px), #3a2410 calc(20% - 7px), #d3a650 calc(20% - 4px), #3a2410 20%); }
.cs-bg__wall { position: absolute; left: 0; right: 0; top: 0; height: 50%; background:
	linear-gradient(90deg, rgba(40, 4, 16, .96) 0, rgba(110, 14, 42, .9) 3%, rgba(40, 4, 16, .95) 6%, rgba(120, 16, 46, .9) 9%, rgba(30, 3, 12, .9) 12%, transparent 15%, transparent 85%, rgba(30, 3, 12, .9) 88%, rgba(120, 16, 46, .9) 91%, rgba(40, 4, 16, .95) 94%, rgba(110, 14, 42, .9) 97%, rgba(40, 4, 16, .96) 100%),
	linear-gradient(180deg, rgba(60, 6, 22, .95) 0, rgba(60, 6, 22, .7) 7%, transparent 14%); }
.cs-chand { position: absolute; top: -18px; transform-origin: 50% 0; animation: csSway 7s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(255, 210, 120, .45)); }
.cs-chand--c { left: 50%; width: min(72vw, 400px); margin-left: calc(min(72vw, 400px) / -2); }
.cs-chand--l, .cs-chand--r { width: min(34vw, 220px); top: -36px; opacity: .8; animation-duration: 8.5s; }
.cs-chand--l { left: 2%; } .cs-chand--r { right: 2%; animation-delay: -3s; }
@keyframes csSway { 0%, 100% { transform: rotate(-.8deg); } 50% { transform: rotate(.8deg); } }
.cs-chand__glow { animation: csGlow 4s ease-in-out infinite; }
@keyframes csGlow { 50% { opacity: .7; } }
.cs-flame { animation: csFlame 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes csFlame { to { transform: scaleY(.82); opacity: .85; } }
.cs-crys.is-tw { animation: csTw 3s ease-in-out infinite; }
@keyframes csTw { 50% { fill: #fff; filter: drop-shadow(0 0 3px #fff); } }
.cs-bg__floor { position: absolute; left: 0; right: 0; top: 47%; bottom: 0; background:
	radial-gradient(ellipse 70% 40% at 50% 0, rgba(255, 196, 110, .26), transparent 70%),
	repeating-linear-gradient(45deg, rgba(255, 215, 130, .06) 0 1px, transparent 1px 46px),
	repeating-linear-gradient(-45deg, rgba(255, 215, 130, .06) 0 1px, transparent 1px 46px),
	linear-gradient(180deg, #3a0d22 0%, #1d0613 55%, #0c030a 100%); }
.cs-bg__floor::before { content: ""; position: absolute; left: 0; right: 0; top: -64px; height: 66px; background:
	repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 79, 168, .65) 6px 26px, transparent 26px 34px, rgba(53, 224, 255, .55) 34px 54px, transparent 54px 62px, rgba(255, 211, 107, .6) 62px 82px, transparent 82px 92px) 0 10px / 100% 22px no-repeat,
	repeating-linear-gradient(90deg, #1a0a1e 0 30px, #2a1030 30px 31px, #1a0a1e 31px 46px);
	filter: blur(1.2px); box-shadow: 0 -10px 30px rgba(255, 79, 168, .18); opacity: .42; }
.cs-bg__carpet { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(180deg, #e8c46a, #9a6a1c); clip-path: polygon(44% 0, 56% 0, 90% 100%, 10% 100%); }
.cs-bg__carpet::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 22px), linear-gradient(180deg, #8a0f2e 0%, #b0143a 40%, #6a0a22 100%); clip-path: polygon(44.8% 0, 55.2% 0, 88% 100%, 12% 100%); }
.cs-bg__carpet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 220, 150, .35), transparent 50%); clip-path: polygon(46% 0, 54% 0, 70% 100%, 30% 100%); opacity: .5; }
.cs-bg__neonL, .cs-bg__neonR { position: absolute; top: 18%; width: 4px; height: 26%; border-radius: 4px; }
.cs-bg__neonL { left: 17%; background: #ffd0ea; box-shadow: 0 0 6px #ff4fa8, 0 0 16px #ff4fa8, 0 0 34px #ff4fa8; animation: csNeon 6s infinite; }
.cs-bg__neonR { right: 17%; background: #d6f8ff; box-shadow: 0 0 6px #35e0ff, 0 0 16px #35e0ff, 0 0 34px #35e0ff; animation: csNeon 7s infinite 1s; }
@keyframes csNeon { 0%, 18%, 22%, 100% { opacity: 1; } 20% { opacity: .35; } }
.cs-bg__dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-bg__vig { position: absolute; inset: 0; background: radial-gradient(ellipse 85% 75% at 50% 40%, transparent 55%, rgba(3, 2, 10, .75) 100%), linear-gradient(180deg, transparent 60%, rgba(4, 2, 10, .55)); }
.cs-bg.has-img .cs-bg__img { position: absolute; inset: 0; background: var(--bgv) center / cover no-repeat; }
@media (orientation: landscape) { .cs-bg.has-img .cs-bg__img { background-image: var(--bgh); } }
body[data-tier="platinum"] .cs-bg__vig, body[data-tier="black"] .cs-bg__vig { background: radial-gradient(ellipse 85% 75% at 50% 40%, transparent 55%, rgba(20, 4, 40, .75) 100%), linear-gradient(180deg, transparent 60%, rgba(10, 2, 20, .6)); }
@media (max-width: 599px) { .cs-chand--l, .cs-chand--r { display: none; } }

/* ---------- 頭の帯 ---------- */
.cs-top { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, rgba(8, 6, 24, .96), rgba(8, 6, 24, .86)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(243, 199, 95, .45), 0 8px 24px rgba(0, 0, 0, .45); padding-top: env(safe-area-inset-top, 0px); }
.cs-top__in { display: flex; align-items: center; gap: 6px; max-width: 1200px; margin: 0 auto; padding: 6px max(8px, env(safe-area-inset-left, 0px)); height: 58px; }
.cs-ib { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--cs-line); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)); color: var(--cs-gold2); text-decoration: none; padding: 0; }
.cs-ib svg { width: 22px; height: 22px; }
.cs-ib:active { transform: scale(.94); }
.cs-logo { flex: 0 1 auto; min-width: 0; margin-right: auto; display: flex; flex-direction: column; line-height: 1; text-decoration: none; padding: 4px 2px; }
.cs-logo b { font-family: var(--cs-serif); font-size: 17px; letter-spacing: .16em; background: var(--cs-goldtxt); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 6px rgba(243, 199, 95, .35)); }
.cs-logo i { font-style: normal; font-family: var(--cs-serif); font-size: 10px; letter-spacing: .62em; color: #ffd3ea; text-shadow: 0 0 6px var(--cs-pink), 0 0 14px var(--cs-pink); margin-top: 4px; }
.cs-wallet { flex: 0 1 auto; min-width: 0; height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 5px; border-radius: 22px; border: 1px solid rgba(243, 199, 95, .55); background: linear-gradient(180deg, rgba(40, 30, 70, .85), rgba(12, 10, 30, .9)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 12px rgba(243, 199, 95, .15); transition: box-shadow .3s; }
.cs-wallet__v { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; min-width: 0; }
.cs-wallet__v small { font-size: 9px; color: var(--cs-muted); letter-spacing: .08em; white-space: nowrap; }
.cs-wallet__v b { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.cs-wallet__c { width: 10px; height: 10px; color: var(--cs-gold); flex: 0 0 auto; }
.cs-wallet.is-up { box-shadow: 0 0 0 2px rgba(255, 220, 120, .6), 0 0 24px rgba(255, 210, 100, .6); }
.cs-wallet.is-up b { color: #fff2b0; }
.cs-wallet.is-down b { color: #ffc0c8; }
.cs-wallet--g { border-color: #ffd36b; background: linear-gradient(180deg, rgba(90, 60, 10, .85), rgba(30, 18, 4, .92)); }
.cs-wallet--d { border-color: rgba(200, 220, 255, .45); }
.cs-coin { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--cs-serif); font-weight: 800; font-size: 14px; color: rgba(60, 20, 30, .85); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), inset 0 -3px 6px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .4); }
.cs-coin--p { background: radial-gradient(circle at 35% 30%, #fff0f8, #ff9ccf 50%, #b23d78); }
.cs-coin--g { background: radial-gradient(circle at 35% 30%, #fff8cf, #f5c242 50%, #9c6410); color: rgba(90, 50, 0, .85); }
.cs-coin--d { background: radial-gradient(circle at 35% 30%, #ffffff, #cfd8ee 50%, #7c88a8); font-family: var(--cs-sans); font-size: 12px; color: #2a3350; }
.cs-vipb { flex: 0 0 auto; min-width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--cs-gold2); gap: 1px; --sh: #6b6f88; --sh2: #3a3d52; }
.cs-vipb img { width: 26px; height: 26px; object-fit: contain; }
.cs-vipb__t { font-size: 9px; letter-spacing: .06em; white-space: nowrap; }
.cs-shield { display: block; width: 24px; height: 24px; }
.cs-shield svg { width: 100%; height: 100%; display: block; }
.cs-shield svg path:first-child { fill: var(--sh); stroke: var(--sh2); stroke-width: 1.2; }
.cs-shield__c { fill: rgba(255, 255, 255, .85); }
.cs-shield--lg { width: 54px; height: 54px; } .cs-shield--xl { width: 120px; height: 120px; filter: drop-shadow(0 0 20px rgba(255, 220, 140, .6)); }
.cs-vipb--silver, .cs-tc--silver, .cs-up--silver { --sh: #dfe6f2; --sh2: #8a95ad; }
.cs-vipb--gold, .cs-tc--gold, .cs-up--gold { --sh: #f5c242; --sh2: #8a5d16; }
.cs-vipb--platinum, .cs-tc--platinum, .cs-up--platinum { --sh: #eef7ff; --sh2: #8fb6d9; }
.cs-vipb--black, .cs-tc--black, .cs-up--black { --sh: #15121d; --sh2: #f3c75f; }
.cs-vipb--black .cs-shield__c, .cs-tc--black .cs-shield__c, .cs-up--black .cs-shield__c { fill: #f3c75f; }
.cs-tick { height: 26px; overflow: hidden; border-top: 1px solid rgba(243, 199, 95, .18); background: linear-gradient(90deg, rgba(90, 12, 38, .55), rgba(20, 16, 60, .55), rgba(90, 12, 38, .55)); font-size: 12px; line-height: 26px; white-space: nowrap; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cs-tick__in { display: inline-flex; gap: 18px; padding-left: 100%; animation: csTick 30s linear infinite; }
@keyframes csTick { to { transform: translateX(-50%); } }
.cs-tick__i b { color: var(--cs-gold2); font-weight: 700; }
.cs-tick__i.is-idle { color: var(--cs-muted); letter-spacing: .1em; }
.cs-tick__d { color: var(--cs-gold); }
.cs-ti { font-style: normal; display: inline-block; font-size: 10px; line-height: 16px; padding: 0 6px; border-radius: 8px; margin-right: 6px; vertical-align: 1px; font-weight: 700; }
.cs-ti--win { background: linear-gradient(180deg, #ffe07a, #d99b1f); color: #3a2000; }
.cs-ti--gift { background: linear-gradient(180deg, #ff8fc8, #c4126a); color: #fff; }
.cs-ti--vip { background: linear-gradient(180deg, #d5b4ff, #7a2bbf); color: #fff; }
.cs-ti--ex { background: linear-gradient(180deg, #a8f2ff, #1b8fb0); color: #04222c; }
body.cs-nofeed .cs-tick, body.cs-nofeed .cs-ban { display: none; }
body.cs-in-game .cs-tick { height: 22px; line-height: 22px; font-size: 11px; }
@media (max-width: 380px) {
	.cs-top__in { gap: 4px; padding: 6px 6px; }
	.cs-logo b { font-size: 14px; letter-spacing: .1em; }
	.cs-logo i { font-size: 9px; letter-spacing: .4em; }
	.cs-wallet__v b { font-size: 14px; }
	.cs-coin { width: 26px; height: 26px; font-size: 12px; }
}
@media (max-width: 340px) { .cs-logo { display: none; } .cs-wallet { margin-right: auto; } }

/* ---------- 中身と下のナビ ---------- */
.cs-view { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 14px 12px calc(86px + var(--cs-safe-b)); min-height: calc(100vh - 90px); }
.cs-view--game { max-width: none; padding: 0 0 calc(16px + var(--cs-safe-b)); }
.cs-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px 6px calc(4px + var(--cs-safe-b)); background: linear-gradient(180deg, rgba(10, 8, 28, .88), rgba(6, 4, 18, .97)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 rgba(243, 199, 95, .4), 0 -10px 30px rgba(0, 0, 0, .5); }
.cs-nav__a { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--cs-muted) !important; font-size: 11px; border-radius: 14px; position: relative; }
.cs-nav__a svg { width: 24px; height: 24px; }
.cs-nav__a.is-on { color: var(--cs-gold2) !important; background: radial-gradient(ellipse at 50% 120%, rgba(243, 199, 95, .25), transparent 70%); }
.cs-nav__a.is-on::before { content: ""; position: absolute; top: -4px; left: 30%; right: 30%; height: 2px; border-radius: 2px; background: var(--cs-gold); box-shadow: 0 0 10px var(--cs-gold); }
body.cs-in-game .cs-nav { display: none; }
@media (min-width: 1000px) { .cs-nav { left: 50%; right: auto; width: 560px; margin-left: -280px; bottom: 12px; border-radius: 22px; border: 1px solid var(--cs-line); padding-bottom: 4px; } }

/* ---------- 部品 ---------- */
.cs-pane { position: relative; background: linear-gradient(180deg, rgba(18, 14, 46, .82), rgba(8, 6, 22, .86)); border: 1px solid var(--cs-line); border-radius: 22px; padding: 18px 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cs-h2 { margin: 2px 0 8px; font-family: var(--cs-mincho); font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; background: var(--cs-goldtxt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-h3 { margin: 22px 0 6px; font-family: var(--cs-mincho); font-size: 18px; color: var(--cs-gold2); letter-spacing: .06em; }
.cs-p { margin: 6px 0 10px; color: var(--cs-muted); font-size: 14px; line-height: 1.75; }
.cs-gs__k { display: block; font-family: var(--cs-serif); font-size: 10px; letter-spacing: .34em; color: #bff4ff; text-shadow: 0 0 8px rgba(53, 224, 255, .7); }
.cs-note { margin: 18px 4px 0; font-size: 12px; color: rgba(247, 240, 227, .55); text-align: center; }
.cs-err { color: #ffb3c1; font-size: 13px; margin: 8px 0; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 24px; border: 0; text-decoration: none; font-weight: 700; letter-spacing: .06em; transition: transform .12s, box-shadow .2s, filter .2s; }
.cs-btn:active:not(:disabled) { transform: scale(.97); }
.cs-btn:disabled { filter: grayscale(.7) brightness(.7); }
.cs-btn--gold { color: #2a1600 !important; background: linear-gradient(180deg, #fff2bf 0%, #f3c75f 42%, #c48a26 100%); box-shadow: 0 6px 18px rgba(243, 199, 95, .35), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(120, 70, 0, .35); }
.cs-btn--line { color: var(--cs-gold2) !important; background: rgba(255, 255, 255, .03); border: 1px solid rgba(243, 199, 95, .6); }
.cs-btn--s { min-height: 44px; padding: 0 16px; font-size: 14px; }
.cs-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--cs-line); background: rgba(20, 14, 50, .7); color: var(--cs-gold2) !important; text-decoration: none; font-size: 14px; }
.cs-pill--g { border-color: #ffd36b; background: linear-gradient(180deg, rgba(110, 72, 10, .8), rgba(40, 24, 4, .85)); }
.cs-toast { position: fixed; left: 50%; bottom: calc(84px + var(--cs-safe-b)); z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(92vw, 460px); padding: 12px 18px; border-radius: 16px; background: rgba(14, 10, 34, .95); border: 1px solid rgba(243, 199, 95, .55); color: var(--cs-text); font-size: 14px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); transition: .25s; }
.cs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.cs-in-game .cs-toast { bottom: calc(20px + var(--cs-safe-b)); }
.cs-fxc { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 99; pointer-events: none; }

/* 人 */
.cs-av { flex: 0 0 auto; position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: linear-gradient(135deg, #3a2a7a, #1a0f3a); border: 2px solid rgba(255, 255, 255, .25); vertical-align: middle; }
.cs-av img { width: 100%; height: 100%; object-fit: cover; }
.cs-av i { font-style: normal; font-weight: 700; color: var(--cs-gold2); font-size: 15px; }
.cs-av--t1 { border-color: #dfe6f2; } .cs-av--t2 { border-color: #f5c242; box-shadow: 0 0 8px rgba(245, 194, 66, .5); }
.cs-av--t3 { border-color: #eef7ff; box-shadow: 0 0 10px rgba(160, 220, 255, .6); } .cs-av--t4 { border-color: #f3c75f; box-shadow: 0 0 0 2px #111, 0 0 12px rgba(155, 85, 240, .7); }
.cs-av--lg { width: 52px; height: 52px; } .cs-av--lg i { font-size: 20px; }
.cs-av--xl { width: 72px; height: 72px; } .cs-av--xl i { font-size: 28px; }
.cs-nm { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 700; color: var(--cs-text); text-decoration: underline dotted rgba(243, 199, 95, .5); text-underline-offset: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-nm--t1 { color: #e8eef8; } .cs-nm--t2 { color: #ffd36b; }
.cs-nm--t3 { background: linear-gradient(90deg, #fff, #bfe6ff, #ffd6f5, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-nm--t4 { color: #ffd36b; text-shadow: 0 0 8px rgba(155, 85, 240, .9); }
.cs-tier { display: inline-block; margin-left: 6px; font-size: 10px; padding: 1px 8px; border-radius: 8px; font-weight: 700; vertical-align: 2px; }
.cs-tier--silver { background: linear-gradient(180deg, #fff, #b9c3d6); color: #2a3142; }
.cs-tier--gold { background: linear-gradient(180deg, #fff0b5, #d9a73e); color: #3a2400; }
.cs-tier--platinum { background: linear-gradient(90deg, #fff, #d4f0ff, #ffe0f6); color: #2a3142; }
.cs-tier--black { background: #111; color: #ffd36b; border: 1px solid #ffd36b; }
.cs-pm { position: fixed; z-index: 70; width: 250px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, rgba(26, 20, 60, .98), rgba(10, 8, 26, .98)); border: 1px solid rgba(243, 199, 95, .55); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); animation: csPop .18s ease-out; }
@keyframes csPop { from { transform: scale(.92); opacity: 0; } }
.cs-pm__h { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.cs-pm__h b { font-size: 15px; }
.cs-pm .cs-btn { width: 100%; }
.cs-pm__note { margin: 0; font-size: 13px; color: var(--cs-muted); text-align: center; padding: 8px 0; }

/* シート */
.cs-sheet { position: fixed; inset: 0; z-index: 60; }
.cs-sheet__bd { position: absolute; inset: 0; background: rgba(2, 1, 8, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.cs-sheet__box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; -webkit-overflow-scrolling: touch; padding: 22px 16px calc(20px + var(--cs-safe-b)); border-radius: 24px 24px 0 0; background: linear-gradient(180deg, #1a1440 0%, #0c0920 60%, #07051a 100%); border-top: 1px solid rgba(243, 199, 95, .7); box-shadow: 0 -20px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 240, 200, .25); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.cs-sheet__box::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 2px; background: rgba(243, 199, 95, .45); }
.cs-sheet.is-on .cs-sheet__bd { opacity: 1; }
.cs-sheet.is-on .cs-sheet__box { transform: none; }
@media (min-width: 700px) {
	.cs-sheet__box { left: 50%; right: auto; bottom: auto; top: 50%; width: 480px; max-height: 84vh; border-radius: 24px; border: 1px solid rgba(243, 199, 95, .6); transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: transform .25s, opacity .25s; }
	.cs-sheet.is-on .cs-sheet__box { transform: translate(-50%, -50%); opacity: 1; }
	.cs-sheet--gift .cs-sheet__box { width: 620px; }
}
.cs-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cs-line); background: rgba(255, 255, 255, .04); padding: 0; }
.cs-x::before, .cs-x::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--cs-gold2); border-radius: 1px; transform: rotate(45deg); }
.cs-x::after { transform: rotate(-45deg); }
.cs-sheet__in > .cs-btn { width: 100%; margin-top: 8px; }

/* 財布の窓 */
.cs-wm__r { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 8px 0; padding: 10px 14px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); text-align: left; }
.cs-wm__r > span:not(.cs-coin) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cs-wm__r small { color: var(--cs-muted); font-size: 12px; line-height: 1.45; }
.cs-wm__r em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cs-gold2); }
.cs-wm__r.is-on { border-color: var(--cs-gold); box-shadow: 0 0 0 1px var(--cs-gold), 0 0 20px rgba(243, 199, 95, .25); background: rgba(243, 199, 95, .08); }
.cs-wm__r.is-lock { opacity: .72; }
.cs-wm__r--g.is-on { background: linear-gradient(90deg, rgba(120, 80, 10, .35), rgba(243, 199, 95, .08)); }
.cs-wm .cs-btn { width: 100%; margin-top: 6px; }
.cs-wm__lim { font-size: 12px; margin-top: 12px; }
.cs-wm__feed { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; color: var(--cs-muted); }
.cs-wm__feed input, .cs-birth__ag input { width: 22px; height: 22px; accent-color: var(--cs-gold); }

/* ---------- ルシフェル ---------- */
.cs-lu { display: flex; align-items: flex-end; gap: 8px; position: relative; }
.cs-lu__fig { flex: 0 0 auto; width: 132px; position: relative; }
.cs-lu__fig::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 18px; border-radius: 50%; background: radial-gradient(ellipse, rgba(155, 85, 240, .45), transparent 70%); }
.cs-lu__fig img, .cs-lu__svg { display: block; width: 100%; height: auto; }
.cs-lu__svg { filter: drop-shadow(0 0 14px rgba(155, 85, 240, .35)) drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); animation: luBreath 4.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes luBreath { 50% { transform: translateY(-3px) scale(1.005); } }
.cs-lu__wr, .cs-lu__wl > g { transform-box: view-box; transform-origin: 150px 152px; animation: luWing 5.2s ease-in-out infinite; }
.cs-lu__wl > g { animation-delay: -.2s; }
@keyframes luWing { 50% { transform: rotate(-4deg); } }
.cs-lu__eye { transform-box: view-box; transform-origin: 137px 138px; animation: luBlink 5.5s infinite; }
@keyframes luBlink { 0%, 45%, 49%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.08); } }
.cs-lu__flute circle { animation: luBub 1.6s ease-in infinite; transform-box: fill-box; }
.cs-lu__flute .b2 { animation-delay: .5s; } .cs-lu__flute .b3 { animation-delay: 1s; }
@keyframes luBub { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-14px); opacity: 0; } }
.cs-lu--vipbow .cs-lu__svg { animation: luBow 3.2s ease-in-out 1 both; }
@keyframes luBow { 0% { transform: rotate(0); } 30%, 70% { transform: rotate(4deg) translateY(4px); } 100% { transform: rotate(0); } }
.cs-lu__say { flex: 1; min-width: 0; position: relative; margin-bottom: 30px; padding: 12px 14px; border-radius: 18px 18px 18px 4px; background: linear-gradient(180deg, rgba(30, 22, 70, .92), rgba(14, 10, 36, .94)); border: 1px solid rgba(243, 199, 95, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 20px rgba(155, 85, 240, .18); font-size: 14px; line-height: 1.7; min-height: 72px; }
.cs-lu__say::before { content: ""; position: absolute; left: -9px; bottom: 10px; width: 16px; height: 16px; background: inherit; border-left: 1px solid rgba(243, 199, 95, .55); border-bottom: 1px solid rgba(243, 199, 95, .55); transform: rotate(45deg) skew(10deg, 10deg); background: #120e30; }
.cs-lu__say b { display: block; font-family: var(--cs-serif); font-size: 11px; letter-spacing: .22em; color: var(--cs-gold); margin-bottom: 2px; }
.cs-lu__ic { display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--cs-gold); background: radial-gradient(circle, #2a1d5a, #0b0720); }
.cs-lu__ic img { width: 100%; height: 100%; object-fit: cover; }
.cs-lu__ic svg { display: block; width: 260%; margin: -96% 0 0 -80%; animation: none; filter: none; }
@media (min-width: 700px) { .cs-lu__fig { width: 170px; } }

/* ---------- 床（ロビー） ---------- */
.cs-lobby { display: grid; gap: 16px; }
.cs-lobby__hero { display: grid; gap: 14px; align-content: start; }
@media (max-width: 959px) {
	.cs-lobby__hero { display: contents; }
	.cs-sign { order: 1; } .cs-greet { order: 2; } .cs-lobby__floor { order: 3; } .cs-tonight { order: 4; } .cs-lobby__links { order: 5; }
	.cs-sign__in { padding: 12px 10px 11px; } .cs-sign__t { font-size: clamp(24px, 8vw, 40px); }
	.cs-greet { min-height: 0; } .cs-greet .cs-lu__fig { width: 112px; } .cs-greet .cs-lu__say { margin-bottom: 18px; min-height: 0; }
	.cs-lobby__floor .cs-note { margin-bottom: 0; }
}
@media (min-width: 960px) {
	.cs-lobby { grid-template-columns: minmax(330px, 400px) 1fr; gap: 22px; align-items: start; }
	.cs-lobby__hero { position: sticky; top: 104px; }
}
.cs-sign { position: relative; padding: 12px; border-radius: 22px; background: linear-gradient(135deg, #8a5d16, #ffe7a0 20%, #b8842a 40%, #fff0b5 60%, #8a5d16 80%, #e9c06a); box-shadow: 0 0 40px rgba(255, 79, 168, .25), 0 20px 50px rgba(0, 0, 0, .5); }
.cs-sign.has-img { background: var(--sign) center / 100% 100% no-repeat; box-shadow: none; padding: 9% 12%; }
.cs-sign.has-img .cs-sign__bulbs { display: none; }
.cs-sign.has-img .cs-sign__in { background: none; box-shadow: none; }
.cs-sign__bulbs { position: absolute; inset: 3px; border-radius: 20px; padding: 7px; background-image: radial-gradient(circle, #fffbe0 0 2.2px, rgba(255, 220, 120, .7) 3.2px, transparent 5px); background-size: 15px 15px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: csBulb 1.2s steps(2) infinite; filter: drop-shadow(0 0 3px #ffd36b); }
@keyframes csBulb { to { background-position: 7.5px 7.5px; } }
.cs-sign__in { position: relative; border-radius: 14px; padding: 18px 12px 16px; text-align: center; background: radial-gradient(ellipse at 50% 0, #241a6a, #0b0828 70%); box-shadow: inset 0 0 0 1px rgba(255, 79, 168, .7), inset 0 0 0 4px #0b0828, inset 0 0 0 5px rgba(53, 224, 255, .6), inset 0 0 30px rgba(255, 79, 168, .25); }
.cs-sign__k { display: block; font-family: var(--cs-serif); font-size: 11px; letter-spacing: .5em; color: #d9fbff; text-shadow: 0 0 6px var(--cs-cyan), 0 0 14px var(--cs-cyan); }
.cs-sign__t { display: block; margin: 6px 0 4px; font-family: var(--cs-serif); font-weight: 700; font-size: clamp(28px, 9vw, 42px); letter-spacing: .08em; line-height: 1.1; color: #ffe8f4; text-shadow: 0 0 4px #fff, 0 0 10px var(--cs-pink), 0 0 22px var(--cs-pink), 0 0 44px #ff1f8a; animation: csFlick 7s infinite; }
@keyframes csFlick { 0%, 7%, 9%, 61%, 63%, 100% { opacity: 1; } 8%, 62% { opacity: .55; } }
.cs-sign__j { display: block; font-family: var(--cs-mincho); font-size: 14px; letter-spacing: .4em; color: var(--cs-gold2); }
.cs-greet { min-height: 150px; }
.cs-tn { position: relative; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(40, 10, 40, .85), rgba(14, 6, 24, .9)); border: 1px solid rgba(255, 79, 168, .5); box-shadow: 0 0 24px rgba(255, 79, 168, .18), inset 0 0 0 1px rgba(255, 255, 255, .04); overflow: hidden; }
.cs-tn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .08) 45%, transparent 60%); background-size: 260% 100%; animation: csShine 6s ease-in-out infinite; pointer-events: none; }
@keyframes csShine { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.cs-tn__h { text-align: center; margin-bottom: 8px; }
.cs-tn__h span { display: block; font-family: var(--cs-serif); font-size: 10px; letter-spacing: .4em; color: #ffc7e6; text-shadow: 0 0 8px var(--cs-pink); }
.cs-tn__h b { font-family: var(--cs-mincho); font-size: 20px; background: var(--cs-goldtxt); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .12em; }
.cs-tn__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cs-tn__c { min-width: 0; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(243, 199, 95, .25); }
.cs-tn__c.is-empty b { display: block; font-size: 13px; color: var(--cs-muted); font-weight: 400; padding: 10px 0; }
.cs-tn__k { display: block; font-size: 11px; color: var(--cs-gold); letter-spacing: .12em; }
.cs-tn__p { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cs-tn__p > div { min-width: 0; display: flex; flex-direction: column; }
.cs-tn__p small { font-size: 11px; color: var(--cs-muted); margin-top: -8px; }
.cs-tn__f { margin: 8px 0 0; font-size: 11px; color: rgba(247, 240, 227, .5); text-align: center; }
.cs-lobby__links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cs-gsec { margin: 6px 0 18px; }
.cs-gsec__h { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-family: var(--cs-mincho); font-size: 16px; font-weight: 700; color: var(--cs-gold2); letter-spacing: .3em; }
.cs-gsec__h::before, .cs-gsec__h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(243, 199, 95, .7), transparent); }
.cs-gsec__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
@media (min-width: 1100px) { .cs-gsec__grid { grid-template-columns: repeat(3, 1fr); } }
.cs-gc { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 10px 12px; min-height: 190px; border-radius: 18px; text-decoration: none; color: var(--cs-text) !important; overflow: hidden; background: radial-gradient(ellipse at 50% 18%, rgba(255, 220, 150, .18), transparent 60%), linear-gradient(180deg, #1d1442 0%, #110a2a 60%, #0a0618 100%); border: 1px solid rgba(243, 199, 95, .4); box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .18s, box-shadow .25s; }
.cs-gc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .13) 48%, transparent 60%); background-size: 280% 100%; background-position: 140% 0; animation: csShine 7s ease-in-out infinite; pointer-events: none; }
.cs-gc:nth-child(2)::after { animation-delay: 1.3s; } .cs-gc:nth-child(3)::after { animation-delay: 2.6s; } .cs-gc:nth-child(4)::after { animation-delay: 3.9s; }
.cs-gc:hover:not(.is-soon) { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .5), 0 0 24px rgba(243, 199, 95, .3); }
.cs-gc:active:not(.is-soon) { transform: scale(.98); }
.cs-gc--slot1, .cs-gc--slot2, .cs-gc--slot3 { border-color: rgba(255, 79, 168, .55); background: radial-gradient(ellipse at 50% 18%, rgba(255, 79, 168, .25), transparent 60%), linear-gradient(180deg, #2a0f3a 0%, #140820 60%, #0a0414 100%); }
.cs-gc--roulette, .cs-gc--baccarat, .cs-gc--bj, .cs-gc--sicbo { background: radial-gradient(ellipse at 50% 18%, rgba(80, 230, 160, .18), transparent 60%), linear-gradient(180deg, #0f2a2a 0%, #0a1420 60%, #06080f 100%); }
.cs-gc--holdem, .cs-gc--vpoker { border-color: rgba(155, 85, 240, .6); background: radial-gradient(ellipse at 50% 18%, rgba(155, 85, 240, .25), transparent 60%), linear-gradient(180deg, #1d1048 0%, #0f0828 60%, #080418 100%); }
.cs-gc__em { width: 100px; height: 100px; display: grid; place-items: center; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.cs-gc__em svg, .cs-gc__em img { width: 100%; height: 100%; object-fit: contain; }
.cs-gc__em > img { width: 100px; height: 100px; max-width: 100%; } /* CSLZ1130b 絵を箱（100px）に収める。縦長の絵が下の名前に重なっていた */
.cs-gc__t { display: flex; flex-direction: column; margin: 4px 0 8px; }
.cs-gc__t b { font-family: var(--cs-mincho); font-size: 16px; letter-spacing: .04em; color: #fff6e0; }
.cs-gc__t small { font-size: 11px; color: var(--cs-muted); }
.cs-gc__go { margin-top: auto; min-height: 36px; padding: 0 18px; border-radius: 18px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: #2a1600; background: linear-gradient(180deg, #fff2bf, #f3c75f 45%, #c48a26); box-shadow: 0 4px 12px rgba(243, 199, 95, .35); }
.cs-gc__soon { margin-top: auto; font-size: 12px; padding: 4px 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .6); }
.cs-gc.is-soon { filter: grayscale(.85) brightness(.72); }
.cs-gc.is-soon::after { display: none; }
.cs-bulb { animation: csBulb2 1s steps(1) infinite; animation-delay: calc(var(--i) * -.14s); }
@keyframes csBulb2 { 50% { fill: #ff7ab8; } }
.cs-soon { text-align: center; max-width: 520px; margin: 30px auto; }
.cs-soon__lu .cs-lu { justify-content: center; }

/* ---------- 知らせの帯（大当たり・ギフト・VIP） ---------- */
.cs-ban { position: fixed; z-index: 85; left: 50%; top: calc(96px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -30px); opacity: 0; display: flex; align-items: center; gap: 10px; max-width: min(94vw, 560px); padding: 8px 16px 8px 8px; border-radius: 30px; font-size: 13px; background: linear-gradient(90deg, rgba(90, 12, 38, .96), rgba(26, 18, 70, .96)); border: 1px solid rgba(255, 211, 107, .8); box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 24px rgba(255, 211, 107, .35); transition: .35s cubic-bezier(.2, .9, .3, 1.3); pointer-events: none; }
.cs-ban.is-on { opacity: 1; transform: translate(-50%, 0); }
.cs-ban b { color: var(--cs-gold2); }
.cs-ban--bigwin { background: linear-gradient(90deg, rgba(110, 70, 0, .96), rgba(60, 20, 0, .96)); }
.cs-ban--vip { background: linear-gradient(90deg, rgba(70, 20, 120, .96), rgba(20, 10, 50, .96)); }

/* ---------- 入場の演出 ---------- */
.cs-ent { position: fixed; inset: 0; z-index: 97; overflow: hidden; background: rgba(2, 1, 8, .92); transition: opacity .6s; --spot: rgba(255, 236, 190, .55); }
.cs-ent--gold { --spot: rgba(255, 214, 110, .7); } .cs-ent--platinum { --spot: rgba(210, 240, 255, .7); } .cs-ent--black { --spot: rgba(190, 140, 255, .7); }
.cs-ent.is-end { opacity: 0; pointer-events: none; }
.cs-ent__door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: repeating-linear-gradient(90deg, #4a0618 0, #8a0f2e 14px, #4a0618 28px), #6a0a22; box-shadow: inset 0 0 60px rgba(0, 0, 0, .7); transition: transform 1.3s cubic-bezier(.7, 0, .2, 1) .15s; z-index: 2; }
.cs-ent__door::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, #8a5d16, #ffe7a0, #8a5d16); }
.cs-ent__door--l { left: 0; } .cs-ent__door--l::after { right: 0; }
.cs-ent__door--r { right: 0; } .cs-ent__door--r::after { left: 0; }
.cs-ent.is-go .cs-ent__door--l { transform: translateX(-102%); } .cs-ent.is-go .cs-ent__door--r { transform: translateX(102%); }
.cs-ent__spot { position: absolute; left: 50%; top: -10%; width: 140vmax; height: 140vmax; margin-left: -70vmax; background: radial-gradient(ellipse 20% 50% at 50% 0, var(--spot), transparent 70%); opacity: 0; transition: opacity 1s .9s; }
.cs-ent.is-go .cs-ent__spot { opacity: 1; }
.cs-ent__carpet { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(180deg, #8a0f2e, #b0143a 50%, #5a0a1e); clip-path: polygon(45% 0, 55% 0, 92% 100%, 8% 100%); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1s cubic-bezier(.2, .8, .2, 1) .8s; }
.cs-ent.is-go .cs-ent__carpet { transform: scaleY(1); }
.cs-ent__txt { position: absolute; left: 0; right: 0; top: 30%; text-align: center; opacity: 0; transform: scale(.9); transition: 1s 1.1s; }
.cs-ent.is-go .cs-ent__txt { opacity: 1; transform: none; }
.cs-ent__txt span { display: block; font-family: var(--cs-serif); letter-spacing: .5em; font-size: 12px; color: #d9fbff; text-shadow: 0 0 8px var(--cs-cyan); }
.cs-ent__txt b { display: block; font-family: var(--cs-serif); font-size: clamp(30px, 10vw, 64px); letter-spacing: .08em; color: #ffe8f4; text-shadow: 0 0 6px #fff, 0 0 18px var(--cs-pink), 0 0 50px #ff1f8a; }
.cs-ent__txt i { display: block; margin-top: 10px; font-style: normal; font-family: var(--cs-mincho); font-size: 16px; color: var(--cs-gold2); letter-spacing: .2em; }

/* ---------- シャンパンコール ---------- */
.cs-call { position: fixed; inset: 0; z-index: 96; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, rgba(60, 20, 70, .82), rgba(4, 2, 12, .94) 70%); opacity: 0; transition: opacity .4s; }
.cs-call.is-on { opacity: 1; }
.cs-call.is-tower { background: radial-gradient(ellipse at 50% 55%, rgba(110, 70, 10, .6), rgba(2, 1, 6, .97) 65%); }
.cs-call__spot { position: absolute; left: 50%; top: 50%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; background: repeating-conic-gradient(from 0deg, rgba(255, 220, 140, .12) 0 8deg, transparent 8deg 30deg); animation: csSpin 18s linear infinite; }
.cs-call__lu { position: absolute; left: 50%; bottom: 0; width: min(62vw, 300px); transform: translateX(-50%); }
.cs-call__lu .cs-lu__fig { width: 100%; }
.cs-call__txt { position: absolute; left: 12px; right: 12px; top: 13%; text-align: center; }
.cs-call__k { display: block; font-family: var(--cs-serif); font-size: 12px; letter-spacing: .5em; color: #ffc7e6; text-shadow: 0 0 10px var(--cs-pink); }
.cs-call__line { display: block; margin: 10px 0; overflow-wrap: anywhere; font-family: var(--cs-mincho); font-size: clamp(26px, 7.5vw, 48px); line-height: 1.3; background: var(--cs-goldtxt); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(255, 210, 110, .6)); }
.cs-call__line.is-in { animation: csLine .5s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes csLine { from { transform: scale(1.5); opacity: 0; filter: blur(6px); } }
.cs-call__sub { display: block; font-size: 14px; color: var(--cs-muted); letter-spacing: .08em; }
.cs-call__art { position: absolute; right: 6%; bottom: 18%; width: 90px; transform: rotate(-24deg); animation: csPour 2.6s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(255, 220, 140, .6)); }
.cs-call__art svg, .cs-call__art img { width: 100%; height: auto; display: block; }
@keyframes csPour { 50% { transform: rotate(-40deg) translateY(-6px); } }
.cs-call.is-tower .cs-call__art { display: none; }
.cs-call__skip { position: absolute; right: 12px; top: calc(12px + env(safe-area-inset-top, 0px)); min-height: 44px; min-width: 72px; border-radius: 22px; border: 1px solid var(--cs-line); background: rgba(0, 0, 0, .35); color: var(--cs-gold2); }
.cs-call__tw { position: absolute; left: 0; right: 0; bottom: 36%; display: flex; justify-content: center; }
.cs-tw { display: flex; flex-direction: column-reverse; align-items: center; }
.cs-tw__row { display: flex; gap: 2px; margin-bottom: -4px; }
.cs-tw__g { position: relative; width: 38px; height: 40px; }
.cs-tw__g::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; border-radius: 0 0 50% 50% / 0 0 100% 100%; border: 1.5px solid rgba(255, 250, 230, .8); border-top-width: 2px; background: rgba(255, 255, 255, .08); animation: csFill .8s ease-out forwards; animation-delay: calc((4 - var(--r)) * .45s + .6s); }
.cs-tw__g::after { content: ""; position: absolute; left: 50%; top: 20px; width: 2px; height: 16px; margin-left: -1px; background: rgba(255, 250, 230, .85); box-shadow: 0 16px 0 4px rgba(255, 250, 230, .6); border-radius: 1px; }
@keyframes csFill { to { background: linear-gradient(180deg, #fff6c8, #f3c75f 60%, #d18f1c); box-shadow: 0 0 16px rgba(255, 210, 110, .9), 0 0 40px rgba(255, 190, 80, .5); } }
.cs-call.is-tower .cs-call__lu { width: min(44vw, 220px); left: 18%; }
@media (orientation: landscape) and (max-height: 520px) { .cs-call__lu { width: 200px; } .cs-call__txt { top: 6%; } .cs-call__tw { bottom: 22%; } }

/* ---------- VIP の昇格 ---------- */
.cs-up { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; background: rgba(4, 2, 14, .9); opacity: 0; transition: opacity .4s; overflow: hidden; }
.cs-up.is-on { opacity: 1; }
.cs-up__rays { position: absolute; left: 50%; top: 40%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; background: repeating-conic-gradient(var(--sh) 0 6deg, transparent 6deg 20deg); opacity: .18; animation: csSpin 24s linear infinite; }
.cs-up__in { position: relative; text-align: center; padding: 20px 16px; max-width: 440px; }
.cs-up__b { display: inline-block; animation: csUpB .9s cubic-bezier(.2, .9, .3, 1.4); }
.cs-up__b img { width: 140px; height: 140px; object-fit: contain; }
@keyframes csUpB { from { transform: scale(.2) rotate(-30deg); opacity: 0; } }
.cs-up__t { display: block; font-family: var(--cs-mincho); font-size: 36px; letter-spacing: .3em; background: var(--cs-goldtxt); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 6px 0 10px; }
.cs-up__lu .cs-lu__fig { width: 110px; }
.cs-up .cs-btn { margin-top: 8px; min-width: 200px; }

/* ---------- VIP の画面 ---------- */
.cs-vip { overflow: hidden; }
.cs-vip__hero { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px; margin: -4px -2px 14px; border-radius: 18px; background: var(--lounge, none) center / cover, radial-gradient(ellipse at 70% 0, rgba(155, 85, 240, .35), transparent 60%), linear-gradient(135deg, #120a24, #2a1040 50%, #0a0614); border: 1px solid rgba(243, 199, 95, .35); position: relative; }
.cs-vip__hero::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255, 215, 130, .04) 40px 41px); pointer-events: none; }
@media (min-width: 700px) { .cs-vip__hero { grid-template-columns: 1fr 1fr; align-items: center; } }
.cs-vip__me { position: relative; text-align: center; }
.cs-plate { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 220px; max-width: 100%; min-height: 48px; margin: 8px 0 4px; padding: 6px 34px; border-radius: 10px; font-family: var(--cs-mincho); font-size: 18px; background: linear-gradient(180deg, #2a2840, #15131f); border: 1px solid rgba(255, 255, 255, .25); }
.cs-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.cs-plate b { position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-plate::before, .cs-plate::after { content: ""; position: absolute; top: 50%; width: 22px; height: 14px; margin-top: -7px; background: inherit; border: inherit; clip-path: polygon(0 50%, 100% 0, 80% 50%, 100% 100%); }
.cs-plate::before { left: -16px; } .cs-plate::after { right: -16px; transform: scaleX(-1); }
.cs-plate:has(img)::before, .cs-plate:has(img)::after { display: none; }
.cs-plate--silver { background: linear-gradient(180deg, #ffffff, #c3cad8 50%, #8f99ad); color: #232a3a; }
.cs-plate--gold { background: linear-gradient(180deg, #fff3c4, #f3c75f 50%, #a8741c); color: #3a2200; }
.cs-plate--platinum { background: linear-gradient(110deg, #ffffff, #dff2ff 30%, #ffe6f6 55%, #e8ffe9 80%, #ffffff); color: #2a3142; }
.cs-plate--black { background: linear-gradient(180deg, #23202c, #0a090e); border-color: #f3c75f; color: #ffd36b; box-shadow: 0 0 20px rgba(155, 85, 240, .5); }
.cs-vip__tier { margin: 4px 0; font-family: var(--cs-mincho); font-size: 15px; color: var(--cs-gold2); letter-spacing: .2em; }
.cs-vip__bar { height: 12px; margin: 10px auto 6px; max-width: 360px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6); }
.cs-vip__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #a8741c, #f3c75f, #fff2bf, #f3c75f); background-size: 200% 100%; animation: csBar 3s linear infinite; box-shadow: 0 0 12px rgba(243, 199, 95, .7); }
@keyframes csBar { to { background-position: -200% 0; } }
.cs-vip__pts { font-size: 13px; color: var(--cs-muted); margin: 0; }
.cs-vip__pts b { font-size: 18px; color: var(--cs-gold2); }
.cs-vip__rule { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.75; color: var(--cs-muted); background: rgba(255, 255, 255, .03); border: 1px solid rgba(243, 199, 95, .3); }
.cs-vip__rule b { color: var(--cs-gold2); }
.cs-tiers { display: grid; gap: 10px; }
@media (min-width: 700px) { .cs-tiers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cs-tiers { grid-template-columns: repeat(4, 1fr); } }
.cs-tc { position: relative; display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); border: 1px solid rgba(255, 255, 255, .12); opacity: .8; }
.cs-tc.is-on { opacity: 1; border-color: var(--sh); }
.cs-tc.is-now { box-shadow: 0 0 0 1px var(--sh), 0 0 26px color-mix(in srgb, var(--sh) 40%, transparent); }
.cs-tc__b img { width: 54px; height: 54px; object-fit: contain; }
.cs-tc__t { min-width: 0; }
.cs-tc__t b { font-family: var(--cs-mincho); font-size: 17px; color: var(--sh); }
.cs-tc--black .cs-tc__t b { color: #ffd36b; }
.cs-tc__t small { display: block; font-size: 12px; color: var(--cs-muted); }
.cs-tc__t ul { margin: 6px 0 0; padding-left: 1.1em; font-size: 12.5px; line-height: 1.7; color: var(--cs-text); }
.cs-tc__now { position: absolute; top: 10px; right: 10px; font-size: 10px; padding: 2px 8px; border-radius: 8px; background: var(--cs-gold); color: #2a1600; font-weight: 700; }
.cs-lounge { margin-top: 16px; border-radius: 18px; padding: 2px; background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .03)); }
.cs-lounge.is-open { background: linear-gradient(135deg, #8a5d16, #ffe7a0, #8a5d16); }
.cs-lounge__in { padding: 16px; border-radius: 16px; background: radial-gradient(ellipse at 80% 0, rgba(155, 85, 240, .3), transparent 60%), linear-gradient(180deg, #120a26, #08050f); }
.cs-lounge__in h3 { margin: 4px 0; font-family: var(--cs-mincho); color: var(--cs-gold2); }
.cs-lounge:not(.is-open) .cs-lounge__in { filter: grayscale(.4); }
.cs-lounge__q { margin: 10px 0 0; padding: 10px 14px; border-left: 2px solid var(--cs-gold); font-family: var(--cs-mincho); color: var(--cs-text); }
.cs-lounge__q cite { display: block; margin-top: 4px; font-size: 12px; color: var(--cs-gold); font-style: normal; }

/* ---------- ランキング ---------- */
.cs-rank { overflow: hidden; max-width: 860px; margin: 0 auto; }
.cs-rank::before { content: ""; position: absolute; inset: 0; background: var(--rkbg, none) center / cover; opacity: .35; pointer-events: none; border-radius: inherit; }
.cs-rank > * { position: relative; }
.cs-rank__h { text-align: center; }
.cs-rank__from { margin: -4px 0 8px; font-size: 12px; color: var(--cs-muted); min-height: 1em; }
.cs-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cs-tabs::-webkit-scrollbar { display: none; }
.cs-tab { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid rgba(243, 199, 95, .35); background: rgba(255, 255, 255, .03); color: var(--cs-muted); font-size: 14px; white-space: nowrap; }
.cs-tab.is-on { color: #2a1600; background: linear-gradient(180deg, #fff2bf, #f3c75f 45%, #c48a26); border-color: transparent; font-weight: 700; box-shadow: 0 4px 14px rgba(243, 199, 95, .35); }
@media (min-width: 700px) { .cs-tabs { justify-content: center; } }
.cs-rank__d { text-align: center; font-size: 13px; color: var(--cs-muted); margin: 2px 0 12px; }
.cs-pod { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; margin: 8px 0 14px; }
.cs-pod__c { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.cs-pod__c .cs-crown { width: 34px; margin-bottom: -6px; position: relative; z-index: 1; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.cs-pod__c--1 .cs-crown { width: 46px; animation: csCrown 2.4s ease-in-out infinite; }
@keyframes csCrown { 50% { transform: translateY(-3px) rotate(-3deg); } }
.cs-pod__c--1 .cs-av--xl { width: 84px; height: 84px; box-shadow: 0 0 0 3px #ffd36b, 0 0 26px rgba(255, 211, 107, .7); }
.cs-pod__c--2 .cs-av--xl { box-shadow: 0 0 0 3px #dfe6f2; } .cs-pod__c--3 .cs-av--xl { box-shadow: 0 0 0 3px #e0a070; }
.cs-pod__c .cs-nm { max-width: 100%; font-size: 13px; }
.cs-pod__v { font-size: 15px; color: var(--cs-gold2); font-variant-numeric: tabular-nums; }
.cs-pod__v small { font-size: 10px; margin-left: 2px; color: var(--cs-muted); font-weight: 400; }
.cs-pod__s { width: 100%; margin-top: 6px; display: grid; place-items: center; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, rgba(243, 199, 95, .3), rgba(243, 199, 95, .05)); border: 1px solid rgba(243, 199, 95, .4); border-bottom: 0; }
.cs-pod__s i { font-style: normal; font-family: var(--cs-serif); font-size: 22px; font-weight: 700; color: var(--cs-gold2); }
.cs-pod__c--1 .cs-pod__s { height: 70px; background: linear-gradient(180deg, rgba(255, 211, 107, .55), rgba(255, 211, 107, .06)); }
.cs-pod__c--2 .cs-pod__s { height: 50px; } .cs-pod__c--3 .cs-pod__s { height: 36px; }
.cs-rl { list-style: none; margin: 0; padding: 0; }
.cs-rl__r { display: grid; grid-template-columns: 30px 36px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 2px 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cs-rl__r.is-me { background: rgba(243, 199, 95, .08); border-radius: 12px; }
.cs-rl__n { font-family: var(--cs-serif); font-weight: 700; color: var(--cs-muted); text-align: center; }
.cs-rl__r b { font-variant-numeric: tabular-nums; color: var(--cs-gold2); }
.cs-rl__r b small { font-size: 10px; color: var(--cs-muted); margin-left: 2px; font-weight: 400; }
.cs-rank__empty { text-align: center; padding: 20px 0; }
.cs-rank__empty .cs-lu { justify-content: center; max-width: 420px; margin: 0 auto; }
.cs-rank__load { display: flex; gap: 8px; justify-content: center; padding: 40px 0; }
.cs-rank__load i { width: 10px; height: 10px; border-radius: 50%; background: var(--cs-gold); animation: csDot 1s ease-in-out infinite; }
.cs-rank__load i:nth-child(2) { animation-delay: .15s; } .cs-rank__load i:nth-child(3) { animation-delay: .3s; }
@keyframes csDot { 50% { transform: translateY(-8px); opacity: .5; } }

/* ---------- 店 ---------- */
.cs-shop__h { display: flex; gap: 14px; align-items: center; }
.cs-shop__coin { flex: 0 0 auto; width: 92px; height: 92px; display: grid; place-items: center; }
.cs-shop__coin img { width: 100%; height: 100%; object-fit: contain; }
.cs-shop__rule { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 14px; padding: 12px 14px; border-radius: 14px; font-size: 13px; background: linear-gradient(90deg, rgba(120, 80, 10, .25), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 211, 107, .55); }
.cs-shop__rule b { color: var(--cs-gold2); }
.cs-shop__rule span { color: var(--cs-muted); }
.cs-shop__bal { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--cs-muted); }
.cs-shop__bal span { display: inline-flex; align-items: center; gap: 6px; }
.cs-shop__bal b { color: var(--cs-gold2); font-size: 15px; }
.cs-shop__bal .cs-coin { width: 22px; height: 22px; font-size: 10px; }
.cs-shop__gate { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(243, 199, 95, .4); text-align: center; }
.cs-packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .cs-packs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cs-packs { grid-template-columns: repeat(6, 1fr); } }
.cs-pack { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 150px; padding: 12px 8px; border-radius: 18px; border: 1px solid rgba(255, 211, 107, .55); background: radial-gradient(ellipse at 50% 20%, rgba(255, 211, 107, .22), transparent 60%), linear-gradient(180deg, #2a1c08, #120a02); box-shadow: 0 10px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); overflow: hidden; }
.cs-pack::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .15) 48%, transparent 60%); background-size: 280% 100%; animation: csShine 6s ease-in-out infinite; pointer-events: none; }
.cs-pack:disabled { filter: grayscale(.8) brightness(.6); }
.cs-pack:disabled::after { display: none; }
.cs-pack:active:not(:disabled) { transform: scale(.97); }
.cs-pack b { font-size: 20px; font-variant-numeric: tabular-nums; background: var(--cs-goldtxt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-pack small { font-size: 11px; color: var(--cs-muted); }
.cs-pack__k { margin-top: 6px; font-size: 13px; padding: 3px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .15); }
.cs-pack__art { height: 56px; display: grid; place-items: end center; }
.cs-pile { position: relative; display: block; width: 64px; height: 50px; }
.cs-pile i { position: absolute; left: 50%; width: 40px; height: 14px; margin-left: -20px; border-radius: 50%; background: radial-gradient(ellipse at 40% 30%, #fff8cf, #f5c242 50%, #9c6410); box-shadow: 0 3px 0 #8a5a10, 0 4px 6px rgba(0, 0, 0, .5); }
.cs-pile i:nth-child(1) { bottom: 0; } .cs-pile i:nth-child(2) { bottom: 7px; } .cs-pile i:nth-child(3) { bottom: 14px; margin-left: -17px; } .cs-pile i:nth-child(4) { bottom: 21px; margin-left: -22px; } .cs-pile i:nth-child(5) { bottom: 28px; }
.cs-pile--1 i:nth-child(n+2), .cs-pile--2 i:nth-child(n+3), .cs-pile--3 i:nth-child(n+4), .cs-pile--4 i:nth-child(n+5) { display: none; }
.cs-shop__coin .cs-pile { transform: scale(1.4); }
.cs-shop__tomo { text-align: center; font-size: 13px; }
.cs-ex { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .cs-ex { grid-template-columns: repeat(4, 1fr); } }
.cs-exi { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 8px; border-radius: 16px; background: linear-gradient(180deg, rgba(40, 30, 70, .7), rgba(12, 8, 26, .8)); border: 1px solid rgba(243, 199, 95, .35); }
.cs-exi__art { width: 100%; aspect-ratio: 1; max-height: 150px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(255, 211, 107, .25), transparent 65%); }
.cs-exi__art img { width: 100%; height: 100%; object-fit: contain; }
.cs-exi__ph { width: 54%; height: 70%; background: linear-gradient(180deg, #2a2440, #141024); clip-path: polygon(30% 0, 70% 0, 100% 22%, 86% 34%, 80% 100%, 20% 100%, 14% 34%, 0 22%); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .5); }
.cs-exi b { font-size: 13px; line-height: 1.4; font-family: var(--cs-mincho); }
.cs-exi__g { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--cs-gold2); }
.cs-exi__g .cs-coin { width: 18px; height: 18px; font-size: 9px; }
.cs-exi__st { font-size: 12px; padding: 3px 10px; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .6); }
.cs-exi__st.is-own { border-style: solid; border-color: var(--cs-gold); color: var(--cs-gold2); }
.cs-exi.is-soon { filter: grayscale(.9) brightness(.7); }
.cs-cf__l { margin: 8px 0 14px; padding-left: 1.2em; font-size: 13.5px; line-height: 1.8; color: var(--cs-text); }
.cs-cf__b { display: flex; gap: 10px; }
.cs-cf__b .cs-btn { flex: 1; padding: 0 10px; }
.cs-birth__row { display: flex; gap: 10px; margin: 10px 0; }
.cs-birth__row select { flex: 1; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(243, 199, 95, .5); background: #120e2c; color: var(--cs-text); font-size: 16px; }
.cs-birth__ag { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.cs-birth .cs-btn { width: 100%; margin-top: 8px; }

/* ---------- ギフトの窓 ---------- */
.cs-gs__h { text-align: center; padding-right: 30px; padding-left: 30px; }
.cs-gs__bal { display: inline-block; font-size: 13px; color: var(--cs-muted); padding: 2px 12px; border-radius: 12px; border: 1px solid var(--cs-line); }
.cs-gs__bal b { color: var(--cs-gold2); }
.cs-gs__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
@media (min-width: 520px) { .cs-gs__list { grid-template-columns: repeat(3, 1fr); } }
.cs-gs__list > p { grid-column: 1 / -1; }
.cs-gift { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-height: 170px; padding: 10px 8px; border-radius: 18px; border: 1px solid rgba(243, 199, 95, .35); background: radial-gradient(ellipse at 50% 25%, rgba(255, 211, 107, .18), transparent 60%), linear-gradient(180deg, #1d1442, #0d0822); transition: transform .15s, box-shadow .2s; }
.cs-gift--4, .cs-gift--5 { border-color: rgba(255, 211, 107, .8); background: radial-gradient(ellipse at 50% 25%, rgba(255, 211, 107, .35), transparent 60%), linear-gradient(180deg, #3a2608, #140a02); }
.cs-gift--3 { border-color: rgba(255, 143, 200, .7); }
.cs-gift__art { width: 74px; height: 80px; display: grid; place-items: center; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.cs-gift__art svg, .cs-gift__art img { width: 100%; height: 100%; object-fit: contain; }
.cs-gift b { font-size: 13.5px; font-family: var(--cs-mincho); line-height: 1.35; }
.cs-gift__k { font-size: 12px; color: var(--cs-gold2); }
.cs-gift__note { font-size: 10.5px; line-height: 1.45; color: var(--cs-muted); }
.cs-gift.is-sel { box-shadow: 0 0 0 2px var(--cs-gold), 0 0 26px rgba(243, 199, 95, .5); transform: translateY(-2px); }
.cs-gift:disabled { opacity: .5; }
.cs-gift.is-soon .cs-gift__k { color: var(--cs-muted); }
.cs-gs__ok { margin-top: 12px; padding: 12px; border-radius: 16px; text-align: center; background: rgba(243, 199, 95, .08); border: 1px solid rgba(243, 199, 95, .5); }
.cs-gs__ok p { margin: 0 0 10px; font-size: 14px; }
.cs-gs__ok .cs-btn { width: 100%; }
.cs-gs__note { font-size: 11.5px; color: rgba(247, 240, 227, .5); text-align: center; margin: 10px 0 0; }
.cs-gs__cant { grid-column: 1 / -1; text-align: center; }

/* ---------- チップ・賭ける額 ---------- */
.cs-chip { --c: #222; --e: #fff; position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, var(--c) 0 49%, var(--e) 49% 53%, var(--c) 53% 62%, transparent 63%), repeating-conic-gradient(var(--c) 0 22.5deg, var(--e) 22.5deg 33.75deg, var(--c) 33.75deg 45deg); box-shadow: 0 3px 0 rgba(0, 0, 0, .45), 0 5px 10px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .25); font-weight: 800; font-size: 12px; color: var(--e); font-family: var(--cs-sans); }
.cs-chip span { position: relative; text-shadow: 0 1px 1px rgba(0, 0, 0, .5); letter-spacing: -.02em; }
.cs-chip::after { content: ""; position: absolute; inset: 24%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .55); }
.cs-chip--w { --c: #f2f0ea; --e: #3a5fc8; color: #1a2a5a; } .cs-chip--w span { text-shadow: none; }
.cs-chip--r { --c: #c4123c; } .cs-chip--b { --c: #1d4fd0; } .cs-chip--gr { --c: #138a4c; } .cs-chip--k { --c: #16151c; --e: #f3c75f; }
.cs-chip--pu { --c: #7a2bbf; } .cs-chip--y { --c: #e8b11c; --e: #fff; } .cs-chip--o { --c: #e5631a; } .cs-chip--pk { --c: #ff4fa8; --e: #fff3c4; }
.cs-chip--au { --c: #c9962e; --e: #fff6d0; box-shadow: 0 3px 0 #6a4a10, 0 5px 14px rgba(255, 211, 107, .5), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.cs-cp { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cs-cp__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.cs-cp__b { width: 50px; height: 56px; padding: 0; border: 0; background: none; display: grid; place-items: center; transition: transform .15s; }
.cs-cp__b.is-on { transform: translateY(-6px); }
.cs-cp__b.is-on .cs-chip { box-shadow: 0 0 0 3px #fff2bf, 0 0 18px rgba(255, 211, 107, .9), 0 8px 12px rgba(0, 0, 0, .5); }
.cs-cp__val { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--cs-muted); }
.cs-cp__val b { font-size: 20px; color: var(--cs-gold2); font-variant-numeric: tabular-nums; }

/* ---------- トランプ（--cw で大きさ） ---------- */
.cs-card { --cw: 64px; position: relative; display: inline-block; width: var(--cw); height: calc(var(--cw) * 1.4); perspective: 700px; font-size: calc(var(--cw) / 4.2); vertical-align: top; }
.cs-card__in { position: absolute; inset: 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3, .7, .3, 1); }
.cs-card.is-back .cs-card__in { transform: rotateY(180deg); }
.cs-card__f, .cs-card__b { position: absolute; inset: 0; border-radius: 9%/6.5%; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.cs-card:not(.is-back) .cs-card__b, .cs-card.is-back .cs-card__f { visibility: hidden; transition: visibility 0s .2s; }
.cs-card__f { transform: rotateY(0deg); background: linear-gradient(160deg, #ffffff, #f6f0e2); border: 1px solid #d9c48a; color: #16151c; overflow: hidden; }
.cs-card.is-red .cs-card__f { color: #c4123c; }
.cs-card__b { transform: rotateY(180deg); background: radial-gradient(circle at 50% 50%, #f3c75f 0 6%, transparent 7%), repeating-linear-gradient(45deg, transparent 0 6px, rgba(243, 199, 95, .4) 6px 7px), repeating-linear-gradient(-45deg, transparent 0 6px, rgba(243, 199, 95, .4) 6px 7px), linear-gradient(160deg, #1a1f55, #0a0c26); border: 2px solid #d6b45a; box-shadow: inset 0 0 0 3px #0a0c26, inset 0 0 0 4px rgba(243, 199, 95, .8), 0 4px 10px rgba(0, 0, 0, .45); }
.cs-card__b.has-img { background-size: cover; background-position: center; border: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.cs-card__c { position: absolute; display: flex; flex-direction: column; align-items: center; line-height: .95; }
.cs-card__c b { font-family: Georgia, var(--cs-serif); font-size: 1.05em; font-weight: 700; letter-spacing: -.06em; }
.cs-card__c i { font-style: normal; font-size: .85em; }
.cs-card__c--tl { left: 7%; top: 5%; } .cs-card__c--br { right: 7%; bottom: 5%; transform: rotate(180deg); }
.cs-card__mid { position: absolute; inset: 0; display: grid; place-items: center; }
.cs-card__pip { font-size: 2em; }
.cs-card__ace { font-size: 2.7em; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .15)); }
.cs-card__court { position: absolute; inset: 18% 20%; display: grid; place-items: center; font-family: var(--cs-serif); font-size: 2.1em; font-weight: 700; border: 1px solid rgba(201, 164, 74, .9); border-radius: 6%; background: linear-gradient(160deg, rgba(243, 199, 95, .18), rgba(243, 199, 95, .04)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8), inset 0 0 0 3px rgba(201, 164, 74, .5); }
.cs-card__cs { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); font-size: .8em; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 11/29 金のプレコ: 称号・金の羽の名札・金の扉の入場・金の間・交換所 */
.cs-nm__n { overflow: hidden; text-overflow: ellipsis; }
.cs-ttl { display: inline-flex; align-items: center; flex: none; margin-right: 6px; padding: 1px 8px; border-radius: 9px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #2a1600; background: linear-gradient(180deg, #fff3b0, #f2c14e 55%, #b07a17); box-shadow: 0 0 0 1px rgba(255, 240, 190, .7) inset, 0 0 10px rgba(242, 193, 78, .45); text-decoration: none; }
.cs-nm--wing { position: relative; padding: 0 22px; border-radius: 22px; text-decoration: none; background: linear-gradient(180deg, rgba(90, 58, 6, .55), rgba(30, 18, 2, .7)); box-shadow: 0 0 0 1px rgba(255, 211, 107, .8) inset, 0 0 14px rgba(242, 193, 78, .35); }
.cs-nm--wing::before, .cs-nm--wing::after { content: ''; position: absolute; top: 50%; width: 16px; height: 12px; margin-top: -6px; background: linear-gradient(180deg, #fff3b0, #d79b26); -webkit-mask: radial-gradient(circle at 100% 0, transparent 6px, #000 6.5px); mask: radial-gradient(circle at 100% 0, transparent 6px, #000 6.5px); border-radius: 2px 10px 2px 10px; }
.cs-nm--wing::before { left: 4px; transform: scaleX(-1); } .cs-nm--wing::after { right: 4px; }
.cs-ent--gdoor .cs-ent__door { background: repeating-linear-gradient(90deg, #6a4608 0, #e2b049 12px, #8a5d0c 24px), #b5841f; box-shadow: inset 0 0 70px rgba(60, 30, 0, .75), 0 0 40px rgba(255, 210, 110, .45); }
.cs-ent--gdoor { --spot: rgba(255, 220, 120, .85); }
.cs-goldroom { padding: 12px 12px 4px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0, rgba(242, 193, 78, .22), rgba(20, 12, 2, .35) 60%, transparent), rgba(12, 8, 2, .35); box-shadow: 0 0 0 1px rgba(255, 211, 107, .45) inset; }
.cs-goldroom__p { margin: -2px 0 10px; font-size: 13px; color: var(--cs-gold2, #f7e7b4); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.cs-gc--gold { box-shadow: 0 0 0 1px rgba(255, 211, 107, .7) inset, 0 6px 18px rgba(0, 0, 0, .35), 0 0 18px rgba(242, 193, 78, .25); }
.cs-ex__h { margin: 14px 2px 8px; font-size: 14px; color: var(--cs-gold2, #f7e7b4); }
.cs-ex__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cs-exi__k { align-self: flex-start; font-size: 11px; padding: 1px 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }
.cs-exi.is-on { border-color: #ffd36b; box-shadow: 0 0 16px rgba(242, 193, 78, .35); }
.cs-exi__ttl { display: flex; align-items: center; justify-content: center; min-height: 64px; width: 100%; }
.cs-exi__door { display: flex; gap: 3px; height: 64px; align-items: stretch; }
.cs-exi__door i { width: 26px; border-radius: 4px 4px 0 0; background: repeating-linear-gradient(90deg, #6a4608 0, #e2b049 5px, #8a5d0c 10px); box-shadow: 0 0 14px rgba(255, 210, 110, .45); }

/* 11/29 届いた絵（CSS の変数。無い間は前の CSS の見た目のまま） */
.cs-i-gcoin .cs-coin--g { background: var(--cs-i-gcoin) center / 118% no-repeat; color: transparent; box-shadow: none; }
.cs-i-ent .cs-ent { background: var(--cs-i-ent) center / cover no-repeat, rgba(2, 1, 8, .92); }
.cs-i-conf .cs-call::after { content: ''; position: absolute; inset: -10% 0 0; background: var(--cs-i-conf) center top / cover no-repeat; pointer-events: none; opacity: 0; animation: csConfFall 5s ease-out .35s forwards; }
.cs-i-bub .cs-call::before { content: ''; position: absolute; inset: 0; background: var(--cs-i-bub) center bottom / cover no-repeat; pointer-events: none; opacity: 0; animation: csBubRise 5s ease-out .2s forwards; }
.cs-i-spot .cs-call__tw::before { content: ''; position: absolute; left: 50%; top: 0; width: min(90vw, 520px); height: 100%; transform: translateX(-50%); background: var(--cs-i-spot) center top / contain no-repeat; opacity: .7; pointer-events: none; mix-blend-mode: screen; } /* 11/29 今夜の主役の欄から、シャンパンコールの時だけへ（床で読む量を増やさない） */
.cs-i-troph .cs-pod__c--1::before { content: ''; display: block; width: 54px; height: 54px; margin: 0 auto 4px; background: var(--cs-i-troph) center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(242, 193, 78, .6)); }
@keyframes csConfFall { 0% { opacity: 0; transform: translateY(-8%); } 15% { opacity: .95; } 80% { opacity: .9; } 100% { opacity: 0; transform: translateY(6%); } }
@keyframes csBubRise { 0% { opacity: 0; transform: translateY(10%); } 20% { opacity: .9; } 85% { opacity: .8; } 100% { opacity: 0; transform: translateY(-6%); } }
@media (prefers-reduced-motion: reduce) { .cs-i-conf .cs-call::after, .cs-i-bub .cs-call::before { animation: none; opacity: .6; } }
/* 11/29 看板の絵（cs-sign）: 絵の比 2:1 のまま・文字は中の紺の板の中へ（冠に「NIGHT CASINO」が重なっていた） */
.cs-sign.has-img { aspect-ratio: 2 / 1; padding: 17% 8% 6%; display: flex; align-items: center; justify-content: center; background-size: 100% 100%; }
.cs-sign.has-img .cs-sign__in { padding: 0; width: 100%; }
.cs-sign.has-img .cs-sign__t { white-space: nowrap; font-size: clamp(20px, 6.6vw, 46px); }

/* 11/29 床の絵は後から重ねる（ふわっと出す） */
.cs-bg__img--late { opacity: 0; transition: opacity 1.2s ease; }
.cs-bg__img--late.is-on { opacity: 1; }
/* 11/29 横の画面では看板が細い欄に入るので、字の大きさは看板の幅で決める（vw だと「PLEPLE CASINO」がはみ出した） */
.cs-sign.has-img { container-type: inline-size; }
.cs-sign.has-img .cs-sign__t { font-size: clamp(16px, 8.4cqw, 46px); }
.cs-sign.has-img .cs-sign__k, .cs-sign.has-img .cs-sign__j { font-size: clamp(8px, 2.6cqw, 14px); }
.cs-ex { display: block; } /* 11/29 交換所は「カジノの見た目」「限定の衣装」の 2 つの組に分けたので、組ごとに .cs-ex__g の格子にする */

/* 11/29 卓を読む間の印（絵を読まない） */
.cs-loading { text-align: center; }
.cs-loading__c { display: inline-flex; gap: 8px; margin: 18px 0 8px; }
.cs-loading__c i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8cf, #f5c242 50%, #9c6410); animation: csLd 1s ease-in-out infinite; }
.cs-loading__c i:nth-child(2) { animation-delay: .15s; } .cs-loading__c i:nth-child(3) { animation-delay: .3s; }
@keyframes csLd { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-8px); opacity: 1; } }
/* 11/29 ルシフェルの小さな動き（ポーズの絵はそのまま。CSS で息・配る・笑う・回す） */
.cs-lu__fig img { transform-origin: 50% 100%; animation: luBreath 4.2s ease-in-out infinite; }
.cs-lu--deal .cs-lu__fig img { animation: luDeal 2.6s ease-in-out infinite; }
.cs-lu--smile .cs-lu__fig img { animation: luSmile 1.4s ease-in-out 3; }
.cs-lu--shuffle .cs-lu__fig img { animation: luShuffle 1.1s ease-in-out infinite; }
.cs-lu--spin .cs-lu__fig img { animation: luSpin 1.6s cubic-bezier(.3, 0, .2, 1) 1; }
.cs-lu--champagne .cs-lu__fig img { animation: luCheers 1.2s ease-in-out 3; }
.cs-lu--vipbow .cs-lu__fig img { animation: luBowImg 2.8s ease-in-out 1; }
@keyframes luBreath { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-1.5px) scale(1.008); } }
@keyframes luDeal { 0%, 70%, 100% { transform: translate(0, 0) rotate(0); } 78% { transform: translate(3px, 2px) rotate(1.2deg); } 86% { transform: translate(-1px, 0) rotate(-.4deg); } }
@keyframes luSmile { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px) scale(1.02); } 60% { transform: translateY(0) scale(1); } }
@keyframes luShuffle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-1deg); } 75% { transform: rotate(1deg); } }
@keyframes luSpin { 0% { transform: translateX(0); } 30% { transform: translateX(-4px) rotate(-1.5deg); } 55% { transform: translateX(3px) rotate(1deg); } 100% { transform: translateX(0); } }
@keyframes luCheers { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-1.5deg); } }
@keyframes luBowImg { 0% { transform: translateY(6px); opacity: .6; } 35% { transform: translateY(0) rotate(0); opacity: 1; } 55% { transform: rotate(2deg) translateY(2px); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .cs-lu__fig img { animation: none !important; } }

/* ---------- CSRL1201 遊び方（卓の中だけ、頭の帯に「?」） ---------- */
.cs-howbtn { display: none; font-family: var(--cs-serif); font-size: 21px; font-weight: 700; line-height: 1; }
body.cs-in-game .cs-howbtn { display: grid; }
@media (max-width: 440px) { body.cs-in-game .cs-ib.cs-howbtn, body.cs-in-game .cs-ib.cs-snd { width: 36px; height: 36px; } body.cs-in-game .cs-top__in { gap: 4px; } }
.cs-how h3 { margin: 14px 0 6px; font-size: 15px; color: var(--cs-gold2); letter-spacing: .04em; }
.cs-how ol, .cs-how ul { margin: 0; padding-left: 1.4em; color: var(--cs-muted); font-size: 14px; line-height: 1.75; }
.cs-how li + li { margin-top: 4px; }
.cs-how p { margin: 6px 0; color: var(--cs-muted); font-size: 14px; line-height: 1.75; }
.cs-how__t { width: 100%; border-collapse: collapse; font-size: 14px; }
.cs-how__t td { padding: 6px 4px; border-bottom: 1px solid rgba(243, 199, 95, .18); color: var(--cs-muted); line-height: 1.5; }
.cs-how__t td + td { text-align: right; white-space: nowrap; color: var(--cs-gold2); font-weight: 700; padding-left: 10px; }
.cs-how .cs-how__n { font-size: 13px; }
/* CSGIFT1202 12/2 お酒のギフトの絵が名前・値段にはみ出していた（縦長の絵が 80px の箱で 130px になっていた） */
.cs-gift__art { width: 100%; height: 96px; overflow: hidden; }
.cs-gift__art svg, .cs-gift__art img { width: auto; height: 96px; max-width: 100%; max-height: 96px; object-fit: contain; }
