/* ガチャポーカーの色：ゲーム画面と同じ、夜の酒場（#33231A）に緑のフェルトの卓と木のふち。
   字は生成り、強調はランタンの金（#F2B84B）と緋（#D96A35）。課金石だけ水色。 */
.st[data-story="gachaPoker"] {
  --st-bg: linear-gradient(rgba(36, 22, 14, .55), rgba(30, 18, 12, .9) 60%), url(/assets/story/gacha/bg.webp) top center / 100% auto no-repeat, #24170f;
  --st-fg: #fff3dc;
  --st-shade: 20, 10, 4;
  --st-dots: 0;
  --ink: #2a1a10;
  --sun: #f2b84b;
}
.st[data-story="gachaPoker"] .st-hero h1 img { width: min(92%, 520px); border-radius: 14px; box-shadow: 0 0 0 3px #f2b84b, 0 14px 26px rgba(0, 0, 0, .5); filter: none; }
.st[data-story="gachaPoker"] .st-hero-cards { aspect-ratio: 100 / 56; width: min(72%, 330px); }
.st[data-story="gachaPoker"] .st-hero-cards img { width: 26%; border-radius: 6%; box-shadow: 0 10px 16px rgba(0, 0, 0, .5); }
.st[data-story="gachaPoker"] .st-hero-cards img:nth-child(1) { left: 0; top: 16%; transform: rotate(-9deg); }
.st[data-story="gachaPoker"] .st-hero-cards img:nth-child(2) { left: 24%; top: 4%; transform: rotate(-3deg); }
.st[data-story="gachaPoker"] .st-hero-cards img:nth-child(3) { left: 50%; top: 4%; transform: rotate(3deg); }
.st[data-story="gachaPoker"] .st-hero-cards img:nth-child(4) { left: 74%; top: 16%; transform: rotate(9deg); }
.st[data-story="gachaPoker"] .st-num { background: #f2b84b; color: #2a1a10; box-shadow: none; }
.st[data-story="gachaPoker"] .st-big { color: #ffe08a; -webkit-text-stroke: 9px #5a2410; text-shadow: 0 6px 0 rgba(0, 0, 0, .5); white-space: nowrap; font-size: clamp(32px, 10vw, 46px); }
.st[data-story="gachaPoker"] .st-note-text { background: rgba(255, 243, 220, .07); color: #fff3dc; box-shadow: inset 0 0 0 1px rgba(242, 184, 75, .3); }
.st[data-story="gachaPoker"] .st-know-list li, .st[data-story="gachaPoker"] .st-author-card { background: rgba(255, 243, 220, .06); box-shadow: inset 0 0 0 1px rgba(242, 184, 75, .28); }
.st[data-story="gachaPoker"] .st-ico { color: #f2b84b; }
.st[data-story="gachaPoker"] .st-prog i { background: rgba(255, 243, 220, .28); }
.st[data-story="gachaPoker"] .st-prog i.is-past { background: rgba(255, 243, 220, .65); }
.st[data-story="gachaPoker"] .st-prog i.is-now, .st[data-story="gachaPoker"] .st-prog.is-done i { background: #f2b84b; }
.st[data-story="gachaPoker"] .st-prog em { color: #f2b84b; }
/* ボタン：ゲームと同じ木札 */
.st[data-story="gachaPoker"] .st-bub { background: linear-gradient(#7a4a26, #5a331a); color: #fff3dc; text-shadow: none; box-shadow: 0 4px 0 #2a1a10, inset 0 0 0 2px #a8713f; border-radius: 8px; }
.st[data-story="gachaPoker"] .st-bub-go { background: linear-gradient(#e07a3e, #b9532a); color: #fff; box-shadow: 0 4px 0 #5a2410, inset 0 0 0 2px #f2b84b; }
.st[data-story="gachaPoker"] .st-bub::before, .st[data-story="gachaPoker"] .st-bub::after { content: none; }
.st[data-story="gachaPoker"] .st-next span { background: #f2b84b; color: #2a1a10; }
.st[data-story="gachaPoker"] .st-meta li:not(:first-child) { color: #fff3dc; background: rgba(255, 255, 255, .12); }

/* ---- 卓 ---- */
.st[data-story="gachaPoker"] .st-table { container-type: inline-size; }
.st[data-story="gachaPoker"] .gps-felt { border-radius: 6cqw; background: radial-gradient(ellipse at 50% 40%, #1f6a4c, #134a35 70%, #0e3a29); box-shadow: inset 0 0 0 2.4cqw #8a4a24, inset 0 0 0 3cqw #5a2c14, inset 0 1.2cqw 4cqw rgba(0, 0, 0, .5), 0 2cqw 4cqw rgba(0, 0, 0, .5); }
.st[data-story="gachaPoker"] .gps-rack { border-radius: 1cqw; background: linear-gradient(#b07a45, #7d4f28); box-shadow: 0 1cqw 1.4cqw rgba(0, 0, 0, .5); }
.st[data-story="gachaPoker"] .gps-card { border-radius: 1.2cqw; box-shadow: 0 0 0 .5cqw #fff, 0 1cqw 1.6cqw rgba(0, 0, 0, .5); transition: left .55s cubic-bezier(.3, 1.1, .5, 1), top .55s cubic-bezier(.3, 1.1, .5, 1), width .55s cubic-bezier(.3, 1.1, .5, 1), transform .3s, filter .3s, opacity .4s; }
.st[data-story="gachaPoker"] .gps-card.is-lift { filter: drop-shadow(0 0 1.6cqw #f2b84b); }
.st[data-story="gachaPoker"] .gps-card.is-glow { animation: gpsGlow .9s ease-in-out infinite; }
@keyframes gpsGlow { 0%, 100% { scale: 1; box-shadow: 0 0 0 .5cqw #fff, 0 1cqw 1.6cqw rgba(0, 0, 0, .5); } 50% { scale: 1.06; box-shadow: 0 0 0 .7cqw #f2b84b, 0 0 4cqw rgba(242, 184, 75, .9); } }
.st[data-story="gachaPoker"] .gps-card.gps-flip { animation: gpsFlip .5s ease-in-out; }
@keyframes gpsFlip { 0%, 100% { scale: 1 1; } 46%, 54% { scale: .02 1.06; } }
.st[data-story="gachaPoker"] .gps-card.gps-clash { animation: gpsClash .5s ease-in-out infinite; }
@keyframes gpsClash { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6%; rotate: 4deg; } }
.st[data-story="gachaPoker"] .gps-card.gps-totsu { box-shadow: 0 0 0 .7cqw #f2b84b, 0 0 5cqw rgba(242, 184, 75, .9); }
.st[data-story="gachaPoker"] .st-label.gps-badge { text-align: center; padding: .6cqw 0; border-radius: 99px; background: linear-gradient(#ffe08a, #e0a63a); color: #4a2410; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.8cqw; font-weight: 900; box-shadow: 0 0 0 .5cqw #fff, 0 1cqw 1.4cqw rgba(0, 0, 0, .5); transition: left .55s cubic-bezier(.3, 1.1, .5, 1), top .55s cubic-bezier(.3, 1.1, .5, 1); }
/* 扉 */
.st[data-story="gachaPoker"] .gps-door { perspective: 60cqw; }
.st[data-story="gachaPoker"] .gps-door i { position: absolute; inset: 0; background-size: 200% 100%; background-repeat: no-repeat; filter: drop-shadow(0 1.4cqw 2cqw rgba(0, 0, 0, .6)); transition: rotate .7s cubic-bezier(.3, .9, .4, 1), opacity .6s .2s; }
.st[data-story="gachaPoker"] .gps-door.is-l i { background-position: 0 0; transform-origin: 0 50%; }
.st[data-story="gachaPoker"] .gps-door.is-r i { background-position: 100% 0; transform-origin: 100% 50%; }
.st[data-story="gachaPoker"] .gps-door.is-knock { animation: gpsKnock .18s ease-in-out 3; }
@keyframes gpsKnock { 50% { translate: .6cqw 0; } }
.st[data-story="gachaPoker"] .gps-door.is-l.is-open i { rotate: y -100deg; opacity: 0; }
.st[data-story="gachaPoker"] .gps-door.is-r.is-open i { rotate: y 100deg; opacity: 0; }
.st[data-story="gachaPoker"] .gps-glow { border-radius: 3cqw; background: radial-gradient(ellipse, rgba(255, 230, 150, .95), rgba(242, 184, 75, .4) 45%, transparent 72%); opacity: 0; }
.st[data-story="gachaPoker"] .gps-glow.is-on { animation: gpsBurst 1s ease-out both; }
@keyframes gpsBurst { 0% { opacity: 0; scale: .4; } 30% { opacity: 1; scale: 1.3; } 100% { opacity: .5; scale: 1.1; } }
/* 文字の札 */
.st[data-story="gachaPoker"] .st-label.gps-tag { text-align: center; text-shadow: none; -webkit-text-stroke: 0; font-size: 3cqw; font-weight: 700; color: rgba(255, 243, 220, .8); }
.st[data-story="gachaPoker"] .st-label.gps-power { display: flex; justify-content: center; align-items: center; gap: 1.6cqw; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.8cqw; font-weight: 700; color: #fff3dc; transition: opacity .3s; }
.st[data-story="gachaPoker"] .gps-power span { padding: .8cqw 2.2cqw; border-radius: 99px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 .4cqw rgba(242, 184, 75, .55); }
.st[data-story="gachaPoker"] .gps-power b { display: inline-grid; place-items: center; min-width: 9cqw; height: 9cqw; border-radius: 50%; background: #d96a35; color: #fff; font-size: 5cqw; box-shadow: 0 0 0 .5cqw #f2b84b; }
.st[data-story="gachaPoker"] .st-label.gps-pill { display: flex; align-items: center; gap: 1cqw; padding: .6cqw 1.6cqw; border-radius: 99px; background: rgba(0, 0, 0, .45); text-shadow: none; -webkit-text-stroke: 0; color: #fff; font-size: 4.4cqw; font-weight: 900; transition: left .5s, top .5s; }
.st[data-story="gachaPoker"] .gps-pill img { width: 5.4cqw; height: 5.4cqw; }
.st[data-story="gachaPoker"] .st-label.gps-pill.is-glow { animation: gpsPill .9s ease-in-out infinite; }
@keyframes gpsPill { 50% { scale: 1.15; box-shadow: 0 0 3cqw rgba(110, 200, 255, .9); } }
.st[data-story="gachaPoker"] .gps-coin { filter: drop-shadow(0 0 1.6cqw #f2b84b); transition: left .6s cubic-bezier(.4, 0, .2, 1), top .6s, opacity .3s; }
/* 順位の板 */
.st[data-story="gachaPoker"] .gps-row { display: flex; align-items: center; gap: 2cqw; padding: 0 3cqw; border-radius: 2cqw; background: linear-gradient(#6a3e20, #4a2a14); box-shadow: inset 0 0 0 .4cqw #a8713f, 0 1cqw 1.6cqw rgba(0, 0, 0, .45); color: #fff3dc; font-size: 3.6cqw; }
.st[data-story="gachaPoker"] .gps-row.is-me { background: linear-gradient(#b9532a, #7d3518); box-shadow: inset 0 0 0 .5cqw #f2b84b, 0 1cqw 1.6cqw rgba(0, 0, 0, .45); }
.st[data-story="gachaPoker"] .gps-row .rk { font-style: normal; width: 8cqw; color: #ffe08a; font-weight: 900; font-size: 4.4cqw; }
.st[data-story="gachaPoker"] .gps-row b { font-size: 4.2cqw; }
.st[data-story="gachaPoker"] .gps-row span { font-size: 3.2cqw; opacity: .85; }
.st[data-story="gachaPoker"] .gps-row strong { margin-left: auto; font-size: 4cqw; }
.st[data-story="gachaPoker"] .gps-row .vp { display: flex; align-items: center; gap: .6cqw; min-width: 11cqw; font-style: normal; font-weight: 900; color: #ffe08a; font-size: 4.4cqw; }
.st[data-story="gachaPoker"] .gps-row .vp img { width: 4.6cqw; }
.st[data-story="gachaPoker"] .gps-row.is-glow { animation: gpsRow .9s ease-in-out infinite; }
@keyframes gpsRow { 50% { scale: 1.04; box-shadow: inset 0 0 0 .6cqw #ffe08a, 0 0 5cqw rgba(242, 184, 75, .8); } }
.st[data-story="gachaPoker"] .st-label.gps-sum { display: flex; justify-content: center; align-items: center; gap: 1.4cqw; text-shadow: none; -webkit-text-stroke: 0; color: #fff3dc; font-size: 4cqw; font-weight: 700; }
.st[data-story="gachaPoker"] .gps-sum img { width: 5cqw; }
.st[data-story="gachaPoker"] .gps-sum s { text-decoration: none; color: #8fd0ff; }
.st[data-story="gachaPoker"] .gps-sum b { color: #ffe08a; font-size: 6.4cqw; }
@media (min-width: 900px) { .st[data-story="gachaPoker"] .st-big { font-size: 54px; } }
.st[data-story="gachaPoker"] .gps-row.gps-in { animation: gpsIn .45s ease-out; }
@keyframes gpsIn { 0% { scale: .9; opacity: .4; } 60% { scale: 1.02; } 100% { scale: 1; opacity: 1; } }
