:root {
  --ink: #000;
  --paper: #fff;
  --red: #da291c;
  --red-bright: #f2452f;
  --red-dark: #96190f;
  --blue: #5383c3;
  --gold: #ffc72c;
  --gold-light: #ffe680;
  --muted: rgba(0, 0, 0, 0.55);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --red-rgb: 218, 41, 28;
  --gold-rgb: 255, 199, 44;
  --blue-rgb: 83, 131, 195;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* .result-dialog > small など display を指定した要素にも hidden を効かせる */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background: var(--blue);
  color: var(--ink);
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

button,
select {
  font: inherit;
}

button,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
summary:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.page-shell {
  min-height: 100vh;
}

.campaign {
  position: relative;
  width: min(100%, 470px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.campaign > * {
  position: relative;
  z-index: 1;
}

.store-header {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 10px;
  padding: max(16px, env(safe-area-inset-top)) 18px 15px;
  color: #fff;
  background: var(--red);
}

.store-header::after {
  content: "";
}

.sandbox-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.store-lockup {
  text-align: center;
}

.store-lockup span,
.store-lockup strong {
  display: block;
}

.store-kicker {
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.store-lockup strong {
  margin-top: 1px;
  font-size: clamp(17px, 5vw, 20px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  min-height: 276px;
  padding: 30px 22px 34px;
  overflow: hidden;
  color: var(--ink);
  background: var(--blue);
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 20px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: var(--red);
  animation: bounce 2.4s ease-in-out infinite;
}

.hero::after {
  top: 46px;
  right: 26px;
  width: 9px;
  height: 9px;
  background: #fff;
}

.eyebrow,
.section-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 24px;
  color: var(--blue);
  background: var(--ink);
  font-size: clamp(10px, 3vw, 11px);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(28px, 8.4vw, 38px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--red);
  font-style: normal;
  text-shadow: 3px 3px 0 #fff;
  animation: sparkle-glow 2.2s ease-in-out infinite;
}

.hero h1 em::before,
.hero h1 em::after {
  position: absolute;
  color: #fff;
  font-size: 0.34em;
  text-shadow: 0 0 10px rgba(var(--blue-rgb), 0.9);
  content: "✦";
  pointer-events: none;
}

.hero h1 em::before {
  top: -6%;
  left: -6%;
  animation: sparkle-a 1.6s ease-in-out infinite;
}

.hero h1 em::after {
  top: 4%;
  right: -8%;
  font-size: 0.24em;
  animation: sparkle-b 1.8s ease-in-out infinite 0.4s;
}

.hero-copy {
  margin: 16px auto 0;
  max-width: 290px;
  color: var(--ink);
  font-size: clamp(12px, 3.5vw, 14px);
  font-weight: 500;
  line-height: 1.8;
}

.steam {
  position: absolute;
  right: 24px;
  bottom: 32px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  animation: bounce 2.8s ease-in-out infinite 0.4s;
}

.steam-two {
  right: 52px;
  bottom: 58px;
  width: 8px;
  height: 8px;
  background: #fff;
  animation: none;
}

.status-card {
  margin: 18px 16px 0;
  padding: 14px 16px 15px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--paper);
}

.legend-badge {
  margin-bottom: 12px;
  padding: 5px 0;
  border-radius: 999px;
  color: #3a2a00;
  background: linear-gradient(var(--gold-light), var(--gold) 55%, #d99b0a);
  box-shadow: 0 2px 10px rgba(var(--gold-rgb), 0.5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
}

.status-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
}

.status-card .section-label {
  color: #fff;
  background: var(--ink);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.visit-count {
  color: var(--red);
  font-size: clamp(32px, 9vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.visit-count small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.last-visit {
  text-align: right;
}

.last-visit span,
.last-visit strong {
  display: block;
}

.last-visit span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.last-visit strong {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.jackpot-progress {
  margin-top: 12px;
  padding: 13px 14px 11px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8d8, #fff 68%);
  box-shadow: 4px 4px 0 var(--ink);
}

.jackpot-progress-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.progress-copy {
  display: flex;
  align-items: baseline;
  margin-top: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.progress-copy strong {
  margin: 0 3px 0 5px;
  color: var(--red);
  font-size: clamp(38px, 12vw, 50px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.progress-copy em {
  margin-left: auto;
  color: var(--red);
  font-size: clamp(13px, 3.8vw, 16px);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.progress-track {
  height: 12px;
  margin-top: 9px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}

.progress-track span {
  display: block;
  width: 70%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 8px,
    var(--red-bright) 8px 16px
  );
  transition: width 0.45s ease;
}

.progress-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.progress-scale b {
  color: var(--red);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.jackpot-progress.is-today {
  border-color: var(--red);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 4px 4px 0 var(--red);
}

.jackpot-progress.is-today .jackpot-progress-label {
  color: rgba(0, 0, 0, 0.62);
}

.jackpot-progress.is-today .progress-copy {
  align-items: center;
  margin-top: 6px;
}

.jackpot-progress.is-today .progress-copy > span:first-child {
  font-size: 18px;
}

.jackpot-progress.is-today .progress-copy em {
  font-size: clamp(16px, 4.5vw, 20px);
}

.slot-card {
  margin: 22px 16px 0;
  padding: 11px 13px 13px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(var(--gold-rgb), 0.35);
  transition: box-shadow 0.3s ease;
}

.slot-card.is-jackpot {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 2px rgba(var(--gold-rgb), 0.35),
    0 0 30px rgba(var(--gold-rgb), 0.55);
}

.slot-card.is-legend {
  border-color: var(--red);
  box-shadow:
    inset 0 0 0 2px rgba(var(--red-rgb), 0.45),
    0 0 30px rgba(var(--red-rgb), 0.45);
}

.bulb-row {
  display: flex;
  justify-content: space-around;
  padding: 1px 7px;
}

.bulb-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.slot-card.is-ready .bulb-row i,
.slot-card.is-spinning .bulb-row i {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.8);
  animation: bulb-pulse 0.8s infinite alternate;
}

.slot-card.is-spinning .bulb-row i:nth-child(even) {
  animation-delay: -0.4s;
}

.bulb-row-bottom {
  margin-top: 9px;
}

.slot-title {
  padding: 12px 5px 13px;
  text-align: center;
}

.slot-title > span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  color: var(--ink);
  background: var(--gold);
  font-size: clamp(10px, 3vw, 11px);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.slot-title h2 {
  margin-top: 8px;
  font-size: clamp(25px, 8vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.slot-title h2 b {
  color: var(--gold);
}

.slot-title p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 500;
}

/* ホール島設備のデータカウンター。数値は status-card と同じ情報なので装飾扱い。 */
.data-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 1px 9px;
  padding: 5px 9px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #050505;
  box-shadow: inset 0 1px 4px #000;
}

.data-counter-tag {
  padding: 2px 5px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.data-cell {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.data-cell small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* 実機のカウンターに合わせて等幅のLED風。通常は緑、当たり回数だけ赤。 */
.data-cell b {
  color: #57ff9a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 8px rgba(87, 255, 154, 0.6);
}

.data-cell.is-win b {
  color: #ff5442;
  text-shadow: 0 0 8px rgba(255, 84, 66, 0.7);
}

.slot-machine {
  --reel-height: 142px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 3px solid var(--gold);
  border-radius: 14px;
  background: linear-gradient(#171717, #090909);
  box-shadow: inset 0 2px 8px #000;
}

/* 実機の上部パネル。中央に告知ランプを据え、左右を電飾で挟む。 */
.lamp-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 0%, #3a1108, #170603 72%);
  box-shadow:
    inset 0 0 0 1px rgba(var(--gold-rgb), 0.22),
    inset 0 -6px 12px rgba(0, 0, 0, 0.65);
}

.panel-bulbs {
  display: flex;
  justify-content: space-evenly;
}

.panel-bulbs i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.slot-card.is-ready .panel-bulbs i,
.slot-card.is-spinning .panel-bulbs i {
  background: var(--gold);
  box-shadow: 0 0 7px rgba(var(--gold-rgb), 0.85);
  animation: bulb-pulse 0.55s infinite alternate;
}

.panel-bulbs i:nth-child(2) {
  animation-delay: -0.18s;
}

.panel-bulbs i:nth-child(3) {
  animation-delay: -0.36s;
}

/* ラーメンアイコンだけの告知ランプ。既存画像の左側にある丼だけを切り出して見せる。
   アクリル板を背面から光らせる構造。消灯時はほぼ真っ黒に沈ませ、
   点いた瞬間に絵が浮かび上がる（＝ペカる）見え方にしている。 */
.don-lamp {
  position: relative;
  width: clamp(84px, 25vw, 108px);
  aspect-ratio: 1.32 / 1;
  overflow: hidden;
  border: 2px solid #241a12;
  border-radius: 7px;
  background: #000;
  box-shadow: inset 0 0 12px #000;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

.don-lamp-art {
  position: absolute;
  inset: 0;
  background: url("assets/don-lamp.webp") left center / auto 135% no-repeat;
  filter: brightness(0.1) saturate(0.25);
  transition: filter 0.06s ease;
}

/* アクリル板の表面反射。点灯・消灯にかかわらず薄く乗せておく。 */
.don-lamp-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.13) 0%, transparent 44%);
}

.don-lamp.is-lit {
  border-color: rgba(var(--gold-rgb), 0.8);
  box-shadow:
    0 0 14px rgba(var(--red-rgb), 0.9),
    0 0 34px rgba(var(--gold-rgb), 0.55);
  /* 4回フラッシュしてから、ゆっくりした明滅に移る。 */
  animation:
    don-lamp-flash 0.36s steps(2, end) 4,
    don-lamp-glow 1.1s ease-in-out 1.45s infinite alternate;
}

.don-lamp.is-lit .don-lamp-art {
  filter: brightness(1.2) saturate(1.2);
}

.reel-deck {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 10px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.18);
}

/* リール下の情報パネル。BET枚数と各告知ランプを実機と同じ並びで置く。 */
.info-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 9px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: 7px;
  background: #000;
}

.bet-lamps {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bet-lamps i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.bet-lamps i.is-on {
  background: radial-gradient(circle at 38% 28%, #ffeaa8, var(--gold) 62%, #b8860b);
  box-shadow: 0 0 7px rgba(var(--gold-rgb), 0.9);
}

.bet-lamps small {
  margin-left: 3px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.signal-lamps {
  display: flex;
  gap: 5px;
}

.signal-lamp {
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.16);
  background: #0c0c0c;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: color 0.1s ease, box-shadow 0.1s ease;
}

/* 待機中の INSERT だけは、押せる合図としてゆっくり点滅させる。 */
#signal-insert.is-on {
  color: #ffe9a8;
  border-color: rgba(var(--gold-rgb), 0.5);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.45);
  animation: signal-blink 1s steps(2, end) infinite;
}

#signal-replay.is-on {
  color: #eaf6ff;
  border-color: rgba(120, 190, 255, 0.7);
  background: linear-gradient(#2f7fd6, #1b5ea8);
  box-shadow: 0 0 9px rgba(60, 150, 255, 0.75);
}

#signal-win.is-on {
  color: #3a2a00;
  border-color: rgba(var(--gold-rgb), 0.8);
  background: linear-gradient(var(--gold-light), var(--gold));
  box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.85);
}

.reel-window {
  position: relative;
  height: var(--reel-height);
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

.reel-window::before,
.reel-window::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 34px;
  pointer-events: none;
  content: "";
}

.reel-window::before {
  top: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.16), transparent);
}

.reel-window::after {
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.16));
}

.reel-strip {
  position: absolute;
  top: -47px;
  right: 0;
  left: 0;
  display: grid;
  grid-auto-rows: 47px;
  transform: translateY(0);
  will-change: transform, filter;
}

.reel-symbol {
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  filter: saturate(1.08) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.reel-symbol.is-word {
  color: var(--red);
  font-size: 18px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.reel-symbol.is-replay {
  color: var(--blue);
  font-size: 13px;
  letter-spacing: -0.04em;
}

/* 7 は assets/seven.svg で字形ごと描いている（フォント非依存）。
   リール・配当表・結果エンブレムで使うため、サイズだけ --seven-size で切り替える。 */
.is-seven {
  background-image: url("assets/seven.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto var(--seven-size, 38px);
  font-size: 0;
}

.reel-symbol.is-seven {
  --seven-size: 38px;
}

/* 背景画像で描くため、テキストを持たない span には実寸を与える必要がある。
   幅は SVG の縦横比（96:126）から算出。 */
.payout-symbol.is-seven {
  --seven-size: 18px;
  display: inline-block;
  width: 14px;
  height: 18px;
}

.result-emblem-symbol.is-seven {
  --seven-size: 56px;
  display: inline-block;
  width: 44px;
  height: 56px;
}

.reel-strip.is-spinning {
  filter: blur(1.6px);
}

.reel-strip.is-anticipating {
  filter: blur(1.9px);
}

.reel-strip.is-braking {
  filter: blur(0.6px);
}

.reel-strip.is-crawling {
  filter: blur(0);
}

.reel-strip.is-settling {
  animation: reel-settle 0.44s cubic-bezier(0.24, 0.9, 0.3, 1);
}

@keyframes reel-settle {
  0% { transform: translateY(0); }
  15% { transform: translateY(9px); }
  34% { transform: translateY(-5.5px); }
  52% { transform: translateY(3px); }
  70% { transform: translateY(-1.8px); }
  86% { transform: translateY(0.8px); }
  100% { transform: translateY(0); }
}

/* リール窓の中央（＝絵柄が停止する位置）に合わせる。reel-deck の高さは
   リール窓と padding だけで決まるので、中央は常に 50% になる。
   線の太さ2pxぶんを margin-top で相殺し、中心線に跨がせる。 */
.payline {
  position: absolute;
  top: 50%;
  right: 2px;
  left: 2px;
  z-index: 2;
  height: 2px;
  margin-top: -1px;
  pointer-events: none;
  background: rgba(var(--red-rgb), 0.7);
  box-shadow: 0 0 7px rgba(var(--red-rgb), 0.5);
}

.payline-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  color: var(--red-bright);
  font-size: 11px;
  line-height: 1;
  text-shadow: 0 0 6px rgba(var(--red-rgb), 0.8);
  transform: translateY(-47%);
}

.payline-arrow-left {
  left: -3px;
}

.payline-arrow-right {
  right: -3px;
}

.slot-card.is-reveal .payline,
.slot-card.is-reveal .payline-arrow {
  animation: payline-win 0.28s steps(2, end) 5;
}

.chance-note {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 500;
  text-align: center;
}

.chance-note strong {
  color: var(--gold);
  font-weight: 900;
}

/* 実機の操作パネル。筐体から手前に張り出した金属板の上に
   SPINとSTOPボタンが並ぶ見え方にする。 */
.control-deck {
  margin-top: 12px;
  padding: 10px;
  border-radius: 13px;
  background: linear-gradient(#3a3a40, #202027 45%, #101014);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 6px rgba(0, 0, 0, 0.6),
    0 4px 0 #000;
}

.remaining-draws {
  display: flex;
  width: fit-content;
  min-height: 27px;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin: 0 auto 9px;
  padding: 3px 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.65);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: #08080b;
  box-shadow: inset 0 0 8px rgba(var(--gold-rgb), 0.12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.remaining-draws strong {
  color: var(--gold);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.remaining-draws small {
  margin-left: 3px;
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.spin-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-bottom: 5px solid var(--red-dark);
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.spin-button-label {
  color: inherit;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(87, 9, 4, 0.72);
}

.spin-button-label.is-latin {
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(20px, 5.6vw, 23px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 0 #74130c, 0 4px 8px rgba(0, 0, 0, 0.28);
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.35);
  transform: skewX(-3deg);
}

/* リプレイによる再遊技待ち。押せることが一目で分かるよう金色で点滅させる。 */
.slot-card.is-freespin .spin-button {
  border-bottom-color: #b8860b;
  color: #3a2a00;
  background: linear-gradient(var(--gold-light), var(--gold) 60%, #e0a808);
  animation: freespin-pulse 0.65s ease-in-out infinite alternate;
}

.slot-card.is-freespin .spin-button-label {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
}

.spin-button i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  font-style: normal;
}

.spin-button:hover {
  filter: brightness(1.08);
}

.spin-button:active:not(:disabled) {
  border-bottom-width: 2px;
  transform: translateY(3px);
}

.spin-button:disabled {
  border-bottom-color: #8a8a8a;
  color: #8a8a8a;
  background: #ccc;
  cursor: not-allowed;
}

.spin-button:disabled .spin-button-label {
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.stop-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 9px;
  margin-top: 12px;
}

/* 実機の停止ボタンに合わせた正円。幅いっぱいに伸ばすと楕円になってしまう。 */
.stop-button {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 40% 25%, #ff6a54, var(--red) 58%, #8f1a10);
  box-shadow:
    0 4px 0 var(--red-dark),
    0 0 0 3px var(--gold),
    0 0 0 6px var(--ink);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.12s ease, filter 0.15s ease;
}

.stop-button span {
  position: absolute;
  top: 8px;
  font-size: 7px;
  opacity: 0.75;
}

.stop-button strong {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.stop-button:not(:disabled) {
  animation: stop-ready 0.7s infinite alternate;
}

.stop-button:active:not(:disabled) {
  transform: translateY(4px) scale(0.97);
}

.stop-button:disabled {
  color: #8a8a8a;
  background: #4a4a4a;
  box-shadow:
    0 3px 0 #2a2a2a,
    0 0 0 3px #5c5c5c,
    0 0 0 6px var(--ink);
  cursor: not-allowed;
}

.stop-button.is-stopping {
  color: var(--gold-light);
  filter: brightness(0.72);
}

.stop-button.is-stopped strong {
  font-size: 9px;
  letter-spacing: -0.02em;
}

.slot-message {
  min-height: 17px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 500;
  text-align: center;
}

.payout-table {
  margin-top: 14px;
  overflow: hidden;
  border: 2px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.payout-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.28);
  background: rgba(var(--gold-rgb), 0.1);
}

/* リプレイ揃いでも当たるため、ランプが当選の主体であることを明示する。 */
.payout-note {
  padding: 7px 10px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
}

.payout-heading span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.payout-heading h3 {
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.payout-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.payout-row:last-child {
  border-bottom: 0;
}

.payout-symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 18px;
  white-space: nowrap;
}

.payout-copy strong,
.payout-copy small {
  display: block;
}

.payout-copy strong {
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.payout-copy small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 7px;
  font-weight: 500;
}

.jackpot-preview {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr 48px;
  align-items: center;
  gap: 11px;
  margin: 18px 16px 0;
  padding: 16px 13px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 25px rgba(var(--red-rgb), 0.28);
}

.jackpot-preview::after {
  position: absolute;
  right: 67px;
  bottom: -37px;
  width: 80px;
  height: 80px;
  border: 16px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.jackpot-number {
  display: grid;
  width: 59px;
  height: 59px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--red);
  background: #fff;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.04em;
  transform: rotate(-8deg);
  animation: bounce-tilted 2.6s ease-in-out infinite;
}

.jackpot-preview p {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.jackpot-preview h2 {
  font-size: clamp(19px, 5.6vw, 23px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.jackpot-preview h2 b {
  display: block;
  margin-top: 2px;
  color: var(--gold-light);
  font-size: 0.8em;
}

.jackpot-preview div > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 700;
}

.bowl-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.coupon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 26px 16px 0;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--paper);
}

.coupon-card h2 {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.coupon-card p:not(.section-label) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.coupon-link {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.coupon-link span {
  margin-left: 4px;
  font-size: 18px;
  font-weight: 700;
}

.campaign-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 19px calc(30px + env(safe-area-inset-bottom));
  color: var(--muted);
}

.campaign-footer strong {
  font-size: 12px;
  font-weight: 900;
}

.campaign-footer span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.demo-panel {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 20;
  width: min(270px, calc(100vw - 28px));
  color: #fff;
}

.demo-panel details {
  overflow: hidden;
  border: 2px solid rgba(var(--gold-rgb), 0.5);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.demo-panel summary {
  padding: 10px 13px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  list-style-position: inside;
}

.demo-controls {
  display: grid;
  gap: 9px;
  padding: 0 13px 13px;
}

.demo-controls label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 700;
}

.demo-controls select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  background: #1f1f1f;
  font-size: 11px;
}

.demo-controls button {
  padding: 9px;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--gold);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.result-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.result-backdrop[hidden] {
  display: none;
}

.result-dialog {
  position: relative;
  width: min(100%, 355px);
  max-height: calc(100vh - 40px);
  padding: 35px 25px 24px;
  overflow: auto;
  border: 3px solid var(--red);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: result-enter 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}

.result-dialog.is-lose {
  border-color: rgba(0, 0, 0, 0.25);
}

.result-dialog.is-jackpot {
  color: #fff;
  border-color: var(--gold);
  background:
    radial-gradient(circle at 50% 16%, rgba(var(--gold-rgb), 0.28), transparent 32%),
    var(--ink);
}

.result-dialog.is-legend {
  color: #fff;
  border-color: var(--gold);
  background:
    radial-gradient(circle at 50% 18%, rgba(var(--red-rgb), 0.5), transparent 34%),
    var(--ink);
}

.dialog-close {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.is-jackpot .dialog-close,
.is-legend .dialog-close {
  background: rgba(255, 255, 255, 0.14);
}

.result-kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.is-lose .result-kicker {
  background: var(--ink);
}

.is-jackpot .result-kicker,
.is-legend .result-kicker {
  color: var(--ink);
  background: var(--gold);
}

.result-emblem {
  position: relative;
  display: grid;
  width: 102px;
  height: 102px;
  margin: 17px auto 14px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 24px rgba(var(--red-rgb), 0.35);
  font-size: 45px;
  font-weight: 900;
  transform: rotate(-6deg);
}

.is-lose .result-emblem {
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.is-jackpot .result-emblem,
.is-legend .result-emblem {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 0 0 9px rgba(var(--gold-rgb), 0.15), 0 0 34px rgba(var(--gold-rgb), 0.4);
}

.result-dialog h2 {
  font-size: clamp(24px, 7.4vw, 30px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.is-jackpot h2,
.is-legend h2 {
  color: var(--gold);
}

.result-dialog > p:not(.result-kicker) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.is-jackpot > p:not(.result-kicker),
.is-legend > p:not(.result-kicker) {
  color: rgba(255, 255, 255, 0.65);
}

.result-ticket {
  position: relative;
  margin-top: 19px;
  padding: 13px;
  border: 2px dashed var(--red);
  border-radius: 10px;
  background: rgba(var(--red-rgb), 0.06);
}

.is-jackpot .result-ticket,
.is-legend .result-ticket {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
}

.result-ticket::before,
.result-ticket::after {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translateY(-50%);
}

.is-jackpot .result-ticket::before,
.is-jackpot .result-ticket::after,
.is-legend .result-ticket::before,
.is-legend .result-ticket::after {
  background: var(--ink);
}

.result-ticket::before {
  left: -8px;
}

.result-ticket::after {
  right: -8px;
}

.result-ticket span,
.result-ticket strong {
  display: block;
}

.result-ticket span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.is-jackpot .result-ticket span,
.is-legend .result-ticket span {
  color: rgba(255, 255, 255, 0.55);
}

.result-ticket strong {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 900;
}

.result-saved {
  margin-top: 17px !important;
  padding: 10px;
  border-radius: 24px;
  color: var(--red) !important;
  background: rgba(var(--red-rgb), 0.08);
  font-size: 11px !important;
  font-weight: 900;
}

.is-jackpot .result-saved,
.is-legend .result-saved {
  color: var(--gold) !important;
  background: rgba(var(--gold-rgb), 0.12);
}

.result-dialog > small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
}

.is-jackpot > small,
.is-legend > small {
  color: rgba(255, 255, 255, 0.45);
}

/* 殿堂入り（20回目達成）後は、ページ全体を金基調に切り替える。
   ステータスカードは白地のまま金枠で飾る（内部に暗色指定が多く、
   地色を反転させると文字色の調整が連鎖するため）。 */
body.is-legendary {
  background: #101a2e;
}

body.is-legendary .hero {
  color: #fff;
  background: linear-gradient(160deg, #1b2a4a, #0d1526 58%, #2a1f06);
}

body.is-legendary .hero h1 em {
  color: var(--gold);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
}

/* .hero-copy は color: var(--ink) を持つので、暗い地では明示的に上書きする。 */
body.is-legendary .hero-copy {
  color: rgba(255, 255, 255, 0.82);
}

body.is-legendary .status-card {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.35);
}

/* 殿堂入り後はスロット筐体を常時金グローにする（is-jackpot と同じ強さ）。 */
body.is-legendary .slot-card {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 2px rgba(var(--gold-rgb), 0.5),
    0 0 34px rgba(var(--gold-rgb), 0.5);
}

body.is-legendary .bulb-row i {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.8);
}

@keyframes freespin-pulse {
  to {
    box-shadow: 0 0 26px rgba(var(--gold-rgb), 0.85);
    filter: brightness(1.12);
  }
}

@keyframes don-lamp-flash {
  to {
    filter: brightness(0.3);
  }
}

@keyframes don-lamp-glow {
  to {
    box-shadow:
      0 0 20px rgba(var(--red-rgb), 1),
      0 0 44px rgba(var(--gold-rgb), 0.8);
  }
}

@keyframes signal-blink {
  50% {
    color: rgba(255, 233, 168, 0.25);
    box-shadow: none;
  }
}

@keyframes bulb-pulse {
  to {
    filter: brightness(0.45);
  }
}

@keyframes stop-ready {
  to {
    filter: brightness(1.25);
    box-shadow:
      0 4px 0 var(--red-dark),
      0 0 0 3px var(--gold-light),
      0 0 16px rgba(var(--gold-rgb), 0.7);
  }
}

@keyframes payline-win {
  50% {
    opacity: 0.2;
  }
}

@keyframes result-enter {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes bounce-tilted {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-6px);
  }
}

@keyframes sparkle-a {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.3) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

@keyframes sparkle-b {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.4) rotate(-180deg);
  }
}

@keyframes sparkle-glow {
  0%,
  100% {
    text-shadow: 3px 3px 0 #fff;
  }
  50% {
    text-shadow:
      3px 3px 0 #fff,
      0 0 24px rgba(var(--blue-rgb), 0.9),
      0 0 8px rgba(255, 255, 255, 0.7);
  }
}

@media (min-width: 760px) {
  .page-shell {
    padding: 35px 0;
  }

  .campaign {
    min-height: calc(100vh - 70px);
    border: 2px solid var(--ink);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 510px) {
  .demo-panel {
    bottom: 10px;
  }

  .demo-panel details:not([open]) {
    width: max-content;
    margin-left: auto;
  }
}

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

  .reel-strip.is-spinning,
  .reel-strip.is-anticipating,
  .reel-strip.is-braking,
  .reel-strip.is-crawling {
    filter: none;
    transform: none;
  }
}

.current-coupon-backdrop,
.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  padding: 20px;
  place-items: center;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.72);
}

.confirm-backdrop {
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
}

.current-coupon-dialog,
.current-option-dialog,
.confirm-dialog {
  position: relative;
  width: min(100%, 360px);
  max-height: 85dvh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px var(--ink);
  text-align: center;
}

.current-coupon-dialog,
.current-option-dialog {
  border: 3px solid var(--ink);
}

.current-coupon-dialog h2,
.current-option-dialog h2 {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 900;
}

.current-close {
  position: absolute;
  top: 9px;
  right: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 27px;
}

.current-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: left;
}

.current-coupon div { min-width: 0; }
.current-coupon strong,
.current-coupon small { display: block; }
.current-coupon strong { font-size: 12px; }
.current-coupon small { margin-top: 3px; color: #777; font-size: 9px; }
.current-coupon > button {
  flex: none;
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}

.current-used { opacity: 0.5; background: #eee; }
.current-used > button { background: #777; }

.current-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
}

.current-option {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 3px 3px var(--ink);
  cursor: pointer;
}

.current-option:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px var(--ink);
}

.current-option-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 9px;
  background: #f4f4f4;
}

.current-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Campaign の ConfirmDialog と同じく、商品画像は切り抜かず全体を表示する。
   枠に対して絶対配置し、固有サイズがGridの高さを押し広げない状態で contain する。 */
.confirm-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.current-option-label {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.current-option-dialog > button,
.confirm-cancel {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.confirm-dialog {
  width: min(100%, 320px);
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.confirm-image {
  position: relative;
  display: grid;
  height: 160px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #ecfdf5;
}

.confirm-title {
  margin-top: 12px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.confirm-message {
  margin-top: 8px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.65;
}

.confirm-track {
  position: relative;
  height: 56px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background: #059669;
}

.confirm-track > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.confirm-thumb {
  position: absolute;
  top: 4px;
  left: calc(100% - 52px);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #059669;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  cursor: grab;
  touch-action: none;
  transition: left 0.2s ease;
}

.confirm-thumb.is-dragging {
  cursor: grabbing;
  transition: none;
}

.confirm-thumb:focus-visible {
  outline: 4px solid #a7f3d0;
}

.confirm-cancel {
  color: #4b5563;
  background: #f3f4f6;
}
