.catcher {
  --catch-ink:#52324d;
  --catch-berry:#8e426b;
  --catch-line:#c490a7;
  color:var(--catch-ink);
  max-width:1060px;
  margin:auto;
}
.catch-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 18px;
  padding:16px 22px;
  background:linear-gradient(90deg,#fff4e2ee,#f0d9e3b9),url('assets/backgrouds背景纹理/粉色音符.webp') center/315px;
  border:1px solid var(--catch-line);
  border-bottom:4px double #9f6b8c;
}
.catch-heading p { margin:0; font:11px/1.5 V4Pixel,monospace; letter-spacing:.12em; color:#7d486c }
.catch-heading h2 { margin:3px 0 1px; font:clamp(27px,5vw,43px)/1.24 V4JP,var(--text); letter-spacing:0 }
.catch-heading>div>span { font-size:13px }
.catch-number {
  flex:none;
  background:#fff3d9;
  border:3px double #b48f7d;
  padding:5px 9px;
  font:10px/1.4 V4JP,var(--text);
  transform:rotate(6deg);
  box-shadow:2px 3px #a3718729;
}
.catch-number b { display:block; font:16px/1.4 V4Pixel,monospace }
.catch-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,330px);
  gap:clamp(14px,4vw,43px);
  align-items:start;
  align-content:start;
  padding:14px clamp(10px,3vw,34px) 20px;
  border:1px solid #96677f;
  background:
    linear-gradient(110deg,#58354ecf,#402842f7),
    url('assets/backgrouds背景纹理/藤蔓底图紫色.jpg') center top/420px;
  box-shadow:inset 0 0 0 3px #9d6d8b55,inset 0 0 42px #44234280;
}
.catch-machine,.catch-shelf { min-width:0 }
.catch-machine { width:min(100%,510px); margin:auto }
.catch-cabinet { position:relative; filter:drop-shadow(0 9px 10px #27112187) }
.catch-model { display:block; width:100%; height:auto; overflow:visible }
.catch-bulb { fill:#fdf0c8; stroke:#b58591; stroke-width:2; filter:drop-shadow(0 0 6px #ffebbd); animation:catch-lamp 4.8s ease-in-out infinite; animation-delay:calc(var(--bulb) * -.33s) }
.catch-marquee { font:35px V4EN,sans-serif; fill:#fff5e6; letter-spacing:3px; paint-order:stroke; stroke:#ab487d; stroke-width:3px }
.catch-decal { font:15px V4Pixel,monospace; fill:#642a52; letter-spacing:2px }
.catch-outlet-label { font:21px V4JP,sans-serif; fill:#fff0da }
.catch-base-label { font:23px V4Pixel,monospace; fill:#825577 }
.catch-float { animation:catch-breathe 5.4s ease-in-out infinite; animation-delay:var(--float-delay) }
.catch-cabinet:not([data-phase=IDLE],[data-phase=REVEAL]) .catch-float { animation-play-state:paused }
.catch-target { filter:drop-shadow(0 0 9px #fff1c9) }
.catch-cabinet:is([data-phase=IDLE],[data-phase=REVEAL]) .catch-mechanism { animation:catch-breathe 4.8s ease-in-out infinite }
.catch-coin,.catch-sparks { opacity:0; pointer-events:none }
.catch-cabinet[data-phase=INSERT_COIN] .catch-coin { animation:catch-coin .55s ease-in both }
.catch-cabinet[data-phase=INSERT_COIN] { animation:catch-jolt .43s ease-out both }
.catch-cabinet[data-phase=INSERT_COIN] .catch-bulb { animation:catch-lamp .44s ease-out both; animation-delay:calc(var(--bulb)*.023s) }
.catch-cabinet[data-phase=DROPPING] .catch-sparks { animation:catch-spark .48s .36s ease-out both }
.catch-cabinet[data-phase=DROPPING] .catch-bulb { animation:catch-lamp .32s ease-out 2 }
.catch-cabinet[data-phase=REVEAL] .catch-pocket { fill:#af6893; stroke:#ffe2b3 }
@keyframes catch-lamp { 0%,100% {opacity:.54} 40% {opacity:1} }
@keyframes catch-breathe { 0%,100% {transform:translateY(0)} 50% {transform:translateY(-4px)} }
@keyframes catch-coin { from {opacity:1;transform:translate(45px,-55px) scale(1)} 80% {opacity:1} to {opacity:0;transform:translate(-9px,15px) scale(.55)} }
@keyframes catch-jolt { 30%,73% {transform:translateX(-2px)} 51% {transform:translateX(2px)} }
@keyframes catch-spark { from {opacity:0;transform:translateY(10px)} 30% {opacity:1} to {opacity:0;transform:translateY(-18px)} }
.catch-controls { position:relative; display:flex; gap:8px; margin:8px 0 0; align-items:stretch }
.catch-controls .catch-start,.catch-card-actions .catch-replay {
  background:linear-gradient(#f8b9d5,#ee8ebd);
  border:2px solid #783955;
  box-shadow:0 4px #783955,inset 0 2px #ffd8e9;
  color:#521e3e;
  border-radius:26px;
  min-height:49px;
  font:clamp(14px,2.5vw,19px)/1.2 V4EN,sans-serif;
  text-shadow:0 1px #ffdaf0;
}
.catch-controls .catch-start { flex:1 }
.catch-controls .catch-start:active:not(:disabled) { transform:translateY(3px); box-shadow:0 1px #783955,inset 0 2px #df80ae }
.catch-start:disabled { opacity:.75 }
.catch-start:not(:disabled) span { animation:catch-lamp 2.6s ease-in-out infinite }
.catch-controls .catch-sound {
  flex:none;
  padding-inline:12px;
  background:#fff0de;
  color:#573149;
  border-radius:12px;
  box-shadow:0 3px #865e78;
}
.catch-blessing { text-align:center; margin:12px 0 0; font:11px/1.6 V4JP,var(--text); color:#ffeadd }
.catch-shelf { display:grid; grid-template-columns:minmax(0,1fr); gap:15px; padding-top:13px }
.catch-meter {
  background:#ded9e6;
  padding:11px;
  border:2px solid #b99bb9;
  box-shadow:inset 0 0 0 2px #fff4f6,3px 4px #381c3573;
  border-radius:8px 8px 4px 4px;
}
.catch-meter-label { font:10px V4Pixel,monospace; letter-spacing:.14em }
.catch-status {
  display:grid;
  gap:3px;
  margin:6px 0;
  min-height:66px;
  align-content:center;
  background:#dce5d4;
  border:2px inset #a099a5;
  padding:7px 10px;
  color:#463852;
}
.catch-status b { font:13px/1.25 V4Pixel,monospace }
.catch-status span { font-size:12px }
.catch-progress { display:block; width:100%; height:8px; accent-color:#9f547e }
.catch-album {
  padding:13px;
  background:linear-gradient(#fff1dfcb,#ffedf3e9),url('assets/backgrouds背景纹理/粉色田园布料.webp') center/240px;
  border:3px double #b684a1;
  box-shadow:4px 5px #321c323f;
}
.catch-album>p { font:11px/1.5 V4JP,var(--text); margin:0 }
.catch-album h3 { margin:3px 0 6px; font:19px/1.14 V4EN,sans-serif; color:#59344e }
.catch-album .catch-count { display:inline-block; color:#64435e; background:#f0dbe8; padding:3px 8px; font:11px V4Pixel,monospace; letter-spacing:.07em }
.catch-slots { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:12px }
.catch-slots button,.catch-locked {
  min-width:0;
  width:100%;
  height:88px;
  display:grid;
  place-items:center;
  align-content:center;
  padding:4px;
  border-radius:3px;
  border:1px dashed #b790a4;
}
.catch-slots button { border-style:solid; background:#fff8eb; box-shadow:1px 2px #c195ac }
.catch-slots button img { display:block; width:100%; height:57px; object-fit:contain }
.catch-slots button span,.catch-locked small { font:11px/1.5 V4Pixel,monospace }
.catch-locked { background:#e6d8e488; color:#795d79 }
.catch-locked>span { font:27px/1.2 V4EN,sans-serif }
.catch-result {
  color:var(--catch-ink);
  background:#faeadb;
  border:5px double #b47d9e;
  padding:0;
  max-width:410px;
  max-height:calc(100dvh - 24px);
  box-shadow:0 12px 60px #2d153cca;
}
.catch-result::backdrop { background:#2f1b35b8 }
.catch-card {
  position:relative;
  text-align:center;
  padding:15px clamp(12px,4vw,24px) 21px;
  background:linear-gradient(#ffeedcec,#fff7e7ce),url('assets/backgrouds背景纹理/藤蔓蕾丝底图.jpg') center/240px;
}
.catch-card .catch-close { position:absolute; top:7px; right:8px; padding:2px 8px; font-size:19px; line-height:1.3 }
.catch-card>p { margin:0 0 7px }
.catch-card .catch-card-en { font:clamp(17px,5vw,27px)/1.3 V4EN,sans-serif; color:#803e66; padding-inline:23px }
.catch-card>p[lang=ja] { font:12px/1.3 V4JP,sans-serif }
.catch-card-photo { position:relative; display:grid; place-items:center; margin:8px auto 10px; padding:8px 14px 15px; width:min(205px,90%); background:#ebd8e6; border:5px solid #fffaf3; box-shadow:2px 3px #d8afbf; transform:rotate(-2deg) }
.catch-card-photo img { height:clamp(105px,28dvh,200px); width:100%; object-fit:contain }
.catch-card-photo span { position:absolute; bottom:-4px; right:-8px; background:#fff0ce; padding:2px 6px; font:10px V4Pixel,monospace; border:1px solid #c7a990; transform:rotate(4deg) }
.catch-card h3 { margin:0 0 6px; font:20px/1.3 V4EN,V4CN,var(--text); letter-spacing:0 }
.catch-prize-copy { text-align:left; font-size:13px; line-height:1.6 }
.catch-card .catch-wish { background:#f2ddeb; padding:4px 6px; font-size:12px }
.catch-card .catch-obtained { font-size:10px; color:#624f60 }
.catch-card-actions { display:flex; justify-content:center; align-items:center; gap:9px }
.catch-card-actions button { padding:6px 11px }
.catch-card-actions .catch-replay { min-height:36px; font:14px/1.2 V4CN,var(--text) }
.catch-home-art { display:block; height:89px; width:auto; max-width:100%; margin:8px auto; object-fit:contain; object-position:top }
@media(max-width:680px) {
  .catch-heading { padding:11px 10px; margin-bottom:10px }
  .catch-number { padding:4px; font-size:8px }
  .catch-number b { font-size:12px }
  .catch-layout { grid-template-columns:minmax(0,1fr); gap:14px; padding:10px 8px 14px }
  .catch-machine { width:min(100%,440px) }
  .catch-shelf { padding-top:0 }
  .catch-slots { grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:76px; overflow-x:auto; padding:0 1px 5px }
  .catch-album h3 { font-size:17px }
  .catch-status { min-height:54px }
}
@media(prefers-reduced-motion:reduce) {
  .catcher * { animation:none!important }
  .catch-cabinet[data-phase=DROPPING] .catch-sparks { opacity:1 }
}
