/* 採集の結果の画面（見本。sampling_result_mock.php / js/sampling_result_mock.js。2026-09-27）
   レア度の色: ☆3 青緑・☆4 紫・☆5 金。決まったら sampling.php に組み込む */
.srm-content { position: relative; min-height: calc(100dvh - var(--navbar-h, 50px)); padding: 16px !important;
  background: linear-gradient(#bfe6f5, #eaf6fb); }
.r3 { --rc: #1aa6b7; --rc2: #8fe3ef; }
.r4 { --rc: #8a5cd6; --rc2: #d5c0ff; }
.r5 { --rc: #e0a100; --rc2: #ffe27a; }

/* 見本の操作パネル */
.srm-panel { max-width: 420px; margin: 0 auto; padding: 16px; border-radius: 18px; background: #fff; border: 3px solid #06293a; color: #06293a; }
.srm-title { display: block; font-size: 18px; font-weight: 900; }
.srm-note { margin: 4px 0 10px; font-size: 12.5px; color: #4d6572; }
.srm-row { display: flex; align-items: center; gap: 6px; margin: 8px 0; }
.srm-row > span { width: 3.2em; flex: none; font-size: 13px; font-weight: 800; color: #4d6572; }
.srm-row button { flex: 1; padding: 7px 4px; border: 2px solid #1aa6b7; border-radius: 999px; background: #fff; color: #1a7f8c; font-size: 13px; font-weight: 800; }
.srm-row button.is-on { background: #1aa6b7; color: #fff; }
.srm-go { display: block; width: 100%; margin-top: 14px; padding: 12px; border: 0; border-radius: 14px; background: #f28c1e; color: #fff; font-size: 16px; font-weight: 900; box-shadow: 0 4px 0 #c0660a; }

/* 結果の舞台（ページの中身をおおう） */
.sr-stage { position: fixed; top: var(--navbar-h, 50px); left: 0; right: 0; bottom: 0; z-index: 1100; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px;
  padding: 16px; overflow-y: auto; background: radial-gradient(circle at 50% 35%, #ffffff, #cfeaf5 70%); color: #06293a; }
.sr-stage[hidden] { display: none; }
.sr-name { display: block; font-size: 24px; font-weight: 900; line-height: 1.3; }
.sr-sci { display: block; font-size: 13px; color: #4d6572; min-height: 1em; }
.sr-path { font-size: 12.5px; font-weight: 700; color: #4d6572; }
.sr-stars { color: var(--rc2); text-shadow: 0 0 6px var(--rc); letter-spacing: 2px; font-size: 15px; }
.sr-btns { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 340px; }
.sr-btn { padding: 11px; border-radius: 14px; border: 2px solid #06293a; background: #fff; color: #06293a; font-size: 15px; font-weight: 900; box-shadow: 0 3px 0 #06293a; }
.sr-btn-main { border: 0; background: #f28c1e; color: #fff; box-shadow: 0 4px 0 #c0660a; }

/* 1回: カード */
.sr-card { width: min(300px, 80vw); aspect-ratio: 3 / 4.3; perspective: 1000px; }
.sr-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,1.3,.5,1); transform: rotateY(180deg); }
.sr-card.is-open .sr-card-inner { transform: rotateY(0); }
.sr-card-back, .sr-card-front { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.sr-card-back { transform: rotateY(180deg); display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #0b3558 0 12px, #11456f 12px 24px); border: 4px solid #fff; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.sr-card-logo { color: #fff; font-weight: 900; font-size: 22px; letter-spacing: .08em; opacity: .85; }
.sr-card-front { display: flex; flex-direction: column; background: #fff; border: 4px solid var(--rc); box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 3px #fff inset; }
.sr-card-band { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; background: var(--rc); }
.sr-card-band .sr-stars { color: #fff; text-shadow: none; }
.sr-new { padding: 1px 8px; border-radius: 999px; background: #ff4d6d; color: #fff; font-size: 11px; font-weight: 900; }
.sr-card-photo { flex: 1; min-height: 0; background: #0b3558; }
.sr-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.sr-card-body { padding: 10px 12px 12px; text-align: center; }
.r5 .sr-card-front { box-shadow: 0 0 24px 6px rgba(255,210,60,.7), 0 0 0 3px #fff inset; }

/* 1回: バケツ（海・落ち葉をタップ → 写真が跳ねてバケツへ → 顔を出す） */
.sr-stage.sr-bk-sea { background: linear-gradient(#bfe6f5 0 50%, #f4e3b5 50% 58%, #2f8fc4 58%, #0b3558 100%); }
.sr-stage.sr-bk-land { background: linear-gradient(#cfe8c0 0 50%, #9ccf6a 50% 58%, #5c7a33 58%, #3b2a18 100%); }
.sr-bk { position: absolute; top: 0; right: 0; bottom: 0; left: 0; } /* 舞台いっぱい（背景の空・砂浜・海の帯と位置を合わせる） */
.sr-bk-hint { position: absolute; left: 0; right: 0; top: 66%; z-index: 2; text-align: center; font-size: 18px; font-weight: 900; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.4);
  animation: sr-hint 1s ease-in-out infinite alternate; pointer-events: none; }
@keyframes sr-hint { to { transform: translateY(-4px); } }
.sr-bk-count { position: absolute; right: 14px; top: 12px; font-size: 14px; font-weight: 900; color: #06293a; }
.sr-bk-say { position: absolute; left: 50%; top: 5%; transform: translateX(-50%); width: max-content; max-width: 92%; animation: sr-fadein .35s ease both; }
.sr-bk-vee { position: absolute; left: 50%; top: 54%; width: 88px; height: 88px; margin: -88px 0 0 -100px; image-rendering: pixelated; } /* 足もとが砂浜（54%） */
.sr-bk-pail { position: absolute; left: 50%; top: 54%; width: 62px; height: 54px; margin: -54px 0 0 -8px; z-index: 2; }
.sr-bk-pail.is-shake { animation: sr-shake .35s ease; }
@keyframes sr-shake { 20% { transform: rotate(-10deg); } 50% { transform: rotate(9deg); } 80% { transform: rotate(-4deg); } }
.sr-bk-water { position: absolute; left: 0; right: 0; top: 58%; bottom: 0; padding: 0; border: 0; background: none; pointer-events: none; } /* 目じるし。押すのは場面全体（.sr-bk.is-tap） */
.sr-bk.is-tap { cursor: pointer; }
.sr-bk-path { position: absolute; left: 0; right: 0; top: calc(5% + 58px); color: #06293a; /* 吹き出しのすぐ下 */ text-align: center; }
/* 跳ねるシルエット（大きさがレア度）。--tx, --ty はバケツまでの距離 */
.sr-fly { position: absolute; z-index: 3; animation: sr-flyin .76s cubic-bezier(.3,0,.6,1) forwards; }
.sr-fly svg { width: 100%; height: 100%; fill: #06293a; stroke: #06293a; }
.sr-fly svg .eye { fill: #fff; }
.sr-fly.r5 svg { filter: drop-shadow(0 0 8px rgba(255,210,60,.9)); }
.sr-fly.is-huge { z-index: 4; animation-duration: 1s; } /* ☆5 のめっちゃでかいの: 少しゆっくり、画面の手前を横切る */
.sr-fly.is-huge svg { filter: drop-shadow(0 0 14px rgba(255,210,60,.95)) drop-shadow(0 0 4px #fff); }
@keyframes sr-flyin {
  0% { transform: translate(0, 30px) scale(.6) rotate(-20deg); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate(calc(var(--tx) * .5), calc(var(--ty) - 100px)) scale(1) rotate(8deg); }
  100% { transform: translate(var(--tx), var(--ty)) scale(.25) rotate(30deg); opacity: .6; } }
.sr-ripple { position: absolute; width: 20px; height: 8px; margin-left: -10px; border: 3px solid rgba(255,255,255,.85); border-radius: 50%; animation: sr-ripple .8s ease-out forwards; pointer-events: none; }
.sr-bk-land .sr-ripple { border-color: rgba(214,179,74,.95); }
@keyframes sr-ripple { to { transform: scale(7); opacity: 0; } }
.sr-drop { position: absolute; z-index: 3; width: 9px; height: 12px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #8fdcff; border: 2px solid #06293a; animation: sr-drop .7s ease-out forwards; pointer-events: none; }
.sr-drop.is-leaf { background: #a4d36b; border-radius: 100% 0; }
@keyframes sr-drop { to { transform: translate(var(--dx), var(--dy)) rotate(40deg); opacity: 0; } }
/* バケツから顔を出す（写真はバケツの少し上。下の端はバケツに隠れる） */
.sr-bk-peek { position: absolute; left: 50%; top: 54%; width: 120px; height: 120px; margin: -174px 0 0 -37px; z-index: 1; border-radius: 16px; overflow: hidden;
  border: 4px solid var(--rc); background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.25); animation: sr-peek .6s cubic-bezier(.3,1.5,.5,1) both; }
.sr-bk-peek img { width: 100%; height: 100%; object-fit: cover; }
.sr-bk-peek .sr-stars { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0; background: rgba(6,41,58,.6); font-size: 12px; text-align: center; }
.sr-bk-peek.r5 { box-shadow: 0 0 20px 6px rgba(255,210,60,.85); }
@keyframes sr-peek { from { transform: translateY(90px) scale(.4); opacity: 0; } }
.sr-say { position: relative; max-width: 300px; padding: 10px 14px; border-radius: 16px; background: #fff; border: 3px solid #06293a; font-size: 15px; font-weight: 900; color: #06293a; }
.sr-bk-auto { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(300px, 80vw); z-index: 5; }
.sr-mode-bucket .sr-btns { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 5; }
.sr-pail { background: linear-gradient(90deg, #f28c1e, #ffb347); clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
.sr-pail::before { content: ""; position: absolute; left: 6px; right: 6px; top: -4px; height: 10px; border-radius: 50%; background: #9a5a14; }
/* パワーアップ前の青いバケツ（ぶいちゃんの立ち絵のバケツの色。js/bucketpowerup.js が外す。2026-09-28 見くらべ中） */
.sr-pail.is-blue { background: linear-gradient(90deg, #2f7fd0, #7fc4ff); }
.sr-pail.is-blue::before { background: #1d4f86; }

/* 10連 */
.sr-ten { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(560px, 100%); }
@media (max-width: 520px) { .sr-ten { grid-template-columns: repeat(4, 1fr); } }
.sr-mini { aspect-ratio: 3 / 4; perspective: 600px; }
.sr-mini-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3,1.3,.5,1); transform: rotateY(180deg); }
.sr-mini.is-open .sr-mini-inner { transform: rotateY(0); }
.sr-mini-back, .sr-mini-front { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.sr-mini-back { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, #0b3558 0 6px, #11456f 6px 12px); border: 2px solid #fff; }
.sr-mini-front { background: #0b3558; border: 3px solid var(--rc); }
.sr-mini-front img { width: 100%; height: 100%; object-fit: cover; }
.sr-mini-stars { position: absolute; left: 0; right: 0; top: 0; padding: 1px 0; text-align: center; font-size: 9px; color: #fff; background: var(--rc); letter-spacing: 1px; }
.sr-mini-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 3px; text-align: center; font-size: 10px; font-weight: 800; color: #fff; background: rgba(6,41,58,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-mini.r5 .sr-mini-front { box-shadow: 0 0 14px 4px rgba(255,210,60,.85); }
/* 10連のおまけの動画（再生はしない。サムネイルに ▶） */
.sr-mini.is-video .sr-mini-front { border-color: #f28c1e; background: #06293a; }
.sr-mini.is-video .sr-mini-stars { background: #f28c1e; font-weight: 800; letter-spacing: 0; }
.sr-mini-play { position: absolute; left: 50%; top: 48%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(6,41,58,.6); border: 2px solid #fff; color: #fff; font-size: 14px; line-height: 30px; text-align: center; text-indent: 3px; pointer-events: none; }
.sr-ten-head { display: flex; align-items: center; gap: 8px; }
.sr-ten-vee { width: 64px; height: 64px; image-rendering: pixelated; }
.sr-ten-head .sr-say::after { left: -12px; top: 50%; bottom: auto; margin: -8px 0 0; border: 8px solid transparent; border-right-color: #06293a; border-left: 0; }

/* 動きを減らす設定（端末の「アニメーションを削除」・省電力モードで入る）でも、シルエットが飛ぶ・顔を出す・カードがめくれるのは止めない（2026-09-28。
   以前は .sr-stage の中を全部止めていて、安いスマホでは採集が静止画になった）。止めるのは背景の飾りのくり返し・案内の上下・画面のゆれだけ */
@media (prefers-reduced-motion: reduce) { .sr-deco *, .sr-bk-hint { animation: none !important; } .sr-bk.is-quake { animation: none; } }

@keyframes sr-fadein { from { opacity: 0; } }

.sr-bk.is-quake { animation: sr-quake .4s ease; }
@keyframes sr-quake { 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }

/* 背景の飾り（磯・森。2026-09-27）。押せない。位置は場面の高さの %（空 0〜50・砂浜/草地 50〜58・海/地面 58〜100） */
.sr-deco { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; pointer-events: none; }
.sr-deco * { position: absolute; }
.sr-stage.sr-bk-sea { background: linear-gradient(#9fd8f2 0%, #d8f0fa 44%, #f4e3b5 50% 58%, #3aa0cf 58%, #0b3558 100%); }
.sr-stage.sr-bk-land { background: linear-gradient(#cfe8c0 0%, #e8f3dc 30%, #8cc267 50% 58%, #5a4a2c 58%, #2f2415 100%); }
/* 磯 */
.dc-sun { right: 14%; top: 7%; width: 54px; height: 54px; border-radius: 50%; background: #fff3b0; box-shadow: 0 0 30px 12px rgba(255,240,170,.8); }
.dc-cloud { height: 22px; border-radius: 22px; background: #fff; opacity: .9; animation: dc-drift 40s linear infinite; }
.dc-cloud::before, .dc-cloud::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.dc-cloud::before { left: 18%; top: -14px; width: 36px; height: 32px; }
.dc-cloud::after { left: 48%; top: -9px; width: 26px; height: 24px; }
.dc-cloud.c1 { left: 8%; top: 14%; width: 96px; }
.dc-cloud.c2 { left: 52%; top: 26%; width: 70px; opacity: .75; animation-duration: 55s; }
@keyframes dc-drift { from { transform: translateX(-30px); } 50% { transform: translateX(30px); } to { transform: translateX(-30px); } }
.dc-far { left: 0; right: 0; top: 40%; width: 100%; height: 10%; }
.dc-rock { border-radius: 48% 52% 40% 44% / 60% 58% 42% 40%; background: radial-gradient(circle at 35% 30%, #a39d92, #6f6a62 60%, #55514b); box-shadow: inset -4px -6px 0 rgba(0,0,0,.18); }
.dc-rock.r1 { left: 2%; top: 49%; width: 70px; height: 40px; }
.dc-rock.r2 { left: 12%; top: 52%; width: 42px; height: 26px; }
.dc-rock.r3 { right: 3%; top: 48%; width: 84px; height: 46px; }
.dc-rock.w1 { left: 6%; top: 74%; width: 90px; height: 44px; background: radial-gradient(circle at 35% 30%, #6d7f86, #3f535c 60%, #2d3f47); }
.dc-rock.w2 { right: 8%; top: 84%; width: 70px; height: 36px; background: radial-gradient(circle at 35% 30%, #6d7f86, #3f535c 60%, #2d3f47); }
.dc-rock.w1::after, .dc-rock.w2::after { content: ""; position: absolute; left: 20%; top: 18%; width: 60%; height: 20%; border-radius: 50%;
  background: radial-gradient(circle, #e8e2d0 30%, transparent 32%) 0 0/10px 10px; opacity: .7; } /* フジツボ */
.dc-shell { width: 16px; height: 13px; border-radius: 50% 50% 20% 20%; background: repeating-linear-gradient(90deg, #f3c9b4 0 3px, #e3a88e 3px 5px); }
.dc-shell.s1 { left: 30%; top: 54%; transform: rotate(-12deg); }
.dc-shell.s2 { right: 26%; top: 55.5%; width: 12px; height: 10px; transform: rotate(18deg); }
.dc-star { left: 72%; top: 53%; width: 20px; height: 20px; background: #f28c1e; clip-path: polygon(50% 0, 61% 38%, 100% 38%, 69% 60%, 80% 100%, 50% 76%, 20% 100%, 31% 60%, 0 38%, 39% 38%); transform: rotate(14deg); }
.dc-foam { left: -5%; right: -5%; top: calc(58% - 6px); height: 14px; background: radial-gradient(12px 7px at 50% 50%, #fff 70%, transparent 72%) 0 0/24px 14px repeat-x; opacity: .9;
  animation: dc-foam 4s ease-in-out infinite alternate; }
@keyframes dc-foam { to { transform: translateX(12px); opacity: .6; } }
.dc-weed { bottom: 0; width: 14px; border-radius: 10px 10px 0 0; background: linear-gradient(#5fbf6a, #2f7f3f); transform-origin: 50% 100%; animation: dc-sway 3.5s ease-in-out infinite alternate; }
.dc-weed.g1 { left: 28%; height: 22%; }
.dc-weed.g2 { left: 33%; height: 15%; animation-delay: -1.2s; background: linear-gradient(#b0503a, #7a2f22); }
.dc-weed.g3 { right: 26%; height: 18%; animation-delay: -2s; }
@keyframes dc-sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.dc-shine { left: 0; right: 0; top: 58%; bottom: 0; background: repeating-linear-gradient(100deg, transparent 0 40px, rgba(255,255,255,.07) 40px 52px); animation: dc-shine 6s linear infinite; }
@keyframes dc-shine { to { background-position: 104px 0; } }
/* 森 */
.dc-trees { left: 0; right: 0; top: 8%; width: 100%; height: 44%; }
.dc-ray { top: 0; width: 60px; height: 58%; background: linear-gradient(rgba(255,250,210,.45), transparent); transform: skewX(-18deg); opacity: .8; animation: dc-ray 5s ease-in-out infinite alternate; }
.dc-ray.y1 { left: 18%; } .dc-ray.y2 { left: 48%; width: 40px; animation-delay: -2s; } .dc-ray.y3 { left: 74%; width: 50px; animation-delay: -3.5s; }
@keyframes dc-ray { to { opacity: .35; } }
.dc-fern { width: 46px; height: 34px; background: radial-gradient(ellipse at 50% 100%, #3f8f3a 50%, transparent 52%);
  -webkit-mask: repeating-linear-gradient(60deg, #000 0 4px, transparent 4px 7px); mask: repeating-linear-gradient(60deg, #000 0 4px, transparent 4px 7px); }
.dc-fern.f1 { left: 3%; top: 50%; } .dc-fern.f2 { left: 16%; top: 52%; width: 34px; height: 26px; } .dc-fern.f3 { right: 5%; top: 49.5%; width: 56px; height: 40px; }
.dc-mush { width: 18px; height: 20px; }
.dc-mush::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: 10px 10px 3px 3px; background: radial-gradient(circle at 30% 40%, #fff 18%, transparent 20%), #d9533f; }
.dc-mush::after { content: ""; position: absolute; left: 6px; width: 6px; top: 9px; bottom: 0; border-radius: 2px; background: #f3ead8; }
.dc-mush.m1 { right: 22%; top: 53%; } .dc-mush.m2 { right: 18%; top: 54.5%; width: 12px; height: 14px; }
.dc-log { left: 8%; top: 76%; width: 120px; height: 26px; border-radius: 13px; background: linear-gradient(#8a6a45, #5a4230); box-shadow: inset -8px 0 0 #b08a5a; }
.dc-log::after { content: ""; position: absolute; left: 16px; top: -6px; width: 40px; height: 10px; border-radius: 6px; background: #6a9a4a; } /* コケ */
.dc-stone { border-radius: 50%; background: #7d7466; }
.dc-stone.t1 { right: 12%; top: 70%; width: 36px; height: 20px; } .dc-stone.t2 { right: 30%; top: 88%; width: 24px; height: 14px; }
.dc-leaves { left: 0; right: 0; top: 58%; bottom: 0; opacity: .55; /* 大きさのちがう繰り返しを重ねて、並びが目立たないように */
  background:
    radial-gradient(9px 5px at 20% 30%, #b8862f 90%, transparent 92%) 0 0/83px 47px,
    radial-gradient(8px 5px at 70% 70%, #8c6a2a 90%, transparent 92%) 11px 7px/127px 61px,
    radial-gradient(7px 4px at 40% 60%, #6a8a3a 90%, transparent 92%) 29px 13px/71px 53px,
    radial-gradient(10px 5px at 55% 20%, #a0522d 90%, transparent 92%) 5px 21px/149px 89px; }
.sr-bk > :not(.sr-deco) { z-index: 1; }

/* 写真を押すと大きく（js/samplingbucket.js の zoom） */
.is-zoom { cursor: zoom-in; }
.sr-bk-peek.is-zoom { pointer-events: auto; }
.sr-zoom { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 3000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px;
  background: rgba(4, 20, 34, .88); cursor: zoom-out; animation: sr-fadein .2s ease both; }
.sr-zoom img { max-width: 100%; max-height: calc(100% - 110px); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); object-fit: contain; }
.sr-zoom-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; text-align: center; }
.sr-zoom-cap b { font-size: 20px; font-weight: 900; }
.sr-zoom-cap small { font-size: 12.5px; color: #b8d3e2; }
.sr-zoom-stars { color: var(--rc2); text-shadow: 0 0 6px var(--rc); letter-spacing: 2px; }
.sr-zoom-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; line-height: 40px; text-align: center; }

/* 採集の結果の「もう一回」（samplingbucket.js の againButton。2026-09-28）。下のボタンの列とは別に丸く。1回は空の右側（上に置くと吹き出しに重なった）、10連は上の行の右端 */
.sr-again { position: absolute; z-index: 30; top: 27%; right: 12px; width: 78px; height: 78px; border: 3px solid #fff; border-radius: 50%; background: #f28c1e; color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; box-shadow: 0 4px 0 #c0660a, 0 6px 14px rgba(0, 0, 0, .25); animation: sr-again-in .4s cubic-bezier(.3, 1.6, .5, 1) both; }
.sr-again:active { transform: translateY(3px); box-shadow: 0 1px 0 #c0660a; }
.sr-again:disabled { opacity: .6; cursor: default; }
.sr-again-ic { font-size: 22px; line-height: 1; font-weight: 900; }
.sr-again b { font-size: 14px; line-height: 1.2; }
.sr-again small { font-size: 10px; line-height: 1.2; opacity: .95; }
@keyframes sr-again-in { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }
.sr-ten-head .sr-again { position: static; flex: 0 0 auto; width: 66px; height: 66px; margin-left: auto; }
.sr-ten-head .sr-again-ic { font-size: 18px; }
.sr-ten-head .sr-again b { font-size: 12px; }

/* 「もう一回」のまえに、結果をバケツにしまいこむ（samplingbucket.js の stowResults。2026-09-28。画面は切り替えない） */
.sr-bk-peek.is-stow { animation: sr-stow .7s cubic-bezier(.5, 0, .9, .5) forwards; }
@keyframes sr-stow { 0% { transform: none; } 30% { transform: translateY(-14px) rotate(-6deg); } 100% { transform: translateY(150px) scale(.15) rotate(12deg); opacity: 0; } }
.sr-bk-vee.sr-push { animation: sr-push .75s ease-in-out; }
@keyframes sr-push { 0% { transform: none; } 40% { transform: translate(22px, -16px) rotate(8deg); } 70% { transform: translate(26px, 0) rotate(-4deg); } 100% { transform: none; } }
.sr-mini.is-stow { animation: sr-stow-card .5s cubic-bezier(.5, 0, .9, .5) forwards; }
@keyframes sr-stow-card { to { transform: translate(var(--tx), var(--ty)) scale(.1) rotate(25deg); opacity: 0; } }
.sr-ten-head.is-stow { transition: opacity .3s; opacity: 0; }
