/* 共テ単ラッシュ（rush）だけの見た目。クラスは rush- で始める */
.rush-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rush-kicker { font-size: 13px; font-weight: 800; color: var(--ink2); }
.rush-how { margin: 4px 0 10px; padding-left: 1.2em; font-size: 14px; line-height: 1.65; color: var(--ink); }
.rush-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
.rush-opts { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; font-size: 13.5px; margin-top: 4px; }
.rush-check { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; cursor: pointer; }
.rush-check input { width: 20px; height: 20px; accent-color: var(--board); }
.rush-note { color: var(--ink2); }
.rush-best b { font-size: 17px; }
.rush-go { min-width: 220px; font-size: 18px; }
.rush-load { display: flex; flex-direction: column; justify-content: center; }

.rush-play { display: flex; flex-direction: column; }
.rush-play .g-hud { margin-bottom: 6px; }
.rush-play .g-hud span { white-space: nowrap; }
.rush-pausebtn { margin-left: auto; }
.rush-bar > i { transition: none; }
.rush-hurry .rush-bar > i { background: var(--ng); }
.rush-hurry .g-hud span:nth-child(3) b { color: var(--ng); }
.rush-mult { height: 22px; text-align: left; font-weight: 900; color: var(--r-col); font-size: 17px; letter-spacing: .02em; }
.rush-qbox { text-align: center; min-height: 106px; display: flex; flex-direction: column; justify-content: center; }
.rush-q { margin: 2px 0 4px; font-family: var(--en); font-size: clamp(30px, 9vw, 44px); line-height: 1.15; }
.rush-rev .rush-q { font-family: var(--head); font-size: clamp(22px, 6.4vw, 30px); }
.rush-q.rush-long { font-size: clamp(22px, 6.6vw, 32px); }
.rush-rev .rush-q.rush-long { font-size: clamp(18px, 5.2vw, 24px); }
.rush-meta { display: flex; gap: 8px; justify-content: center; align-items: center; min-height: 36px; }
.rush-pos { display: inline-block; font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--bg2); border: 1.5px solid var(--soft); color: var(--ink2); }
.rush-say { font: inherit; font-size: 13px; font-weight: 800; min-height: 36px; padding: 4px 12px; border: 2px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; }
.rush-say:active { transform: translateY(1px); }
.rush-choices { margin-top: 6px; gap: 8px; }
.rush-choices .g-btn { flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; font-size: 16px; line-height: 1.35; transition: transform .05s; }
.rush-rev .rush-choices .g-btn { font-family: var(--en); font-size: 19px; }
.rush-n { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--bg2); border: 1.5px solid var(--soft); color: var(--ink2); font: 800 13px/21px system-ui, sans-serif; text-align: center; }
.rush-t { overflow-wrap: anywhere; text-align: left; }
.rush-fb { min-height: 24px; margin: 8px 0 0; text-align: center; font-weight: 800; font-size: 15px; }
.rush-fb-ng { color: var(--ng); }
.rush-fever { box-shadow: 0 0 0 3px var(--yellow), var(--shadow); }
.rush-fever .rush-mult { animation: rushGlow .8s ease-in-out infinite alternate; }
@keyframes rushGlow { from { opacity: .65; } to { opacity: 1; } }

.rush-pop { position: absolute; right: 16px; top: 74px; font-weight: 900; font-size: 20px; color: var(--ok); pointer-events: none; white-space: nowrap; animation: rushUp .85s ease-out forwards; z-index: 3; text-shadow: 0 0 4px var(--card), 0 0 8px var(--card); }
.rush-pop-hot { color: var(--r-col); font-size: 22px; }
.rush-pop-ng { color: var(--ng); }
@keyframes rushUp { from { opacity: 1; transform: scale(1.12); } to { opacity: 0; transform: translateY(-30px); } }
.rush-banner { position: absolute; left: 12px; right: 12px; top: 96px; text-align: center; font-family: var(--head); font-weight: 900; font-size: clamp(18px, 5.4vw, 24px); background: var(--yellow); color: #1d211f; border: 3px solid var(--line); border-radius: 12px; padding: 6px 10px; pointer-events: none; z-index: 4; animation: rushBanner 1.25s ease-out forwards; }
@keyframes rushBanner { 0% { opacity: 0; transform: scale(.7); } 15% { opacity: 1; transform: scale(1.05); } 25% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }
.rush-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 900; font-size: 84px; color: var(--ink); background: color-mix(in srgb, var(--card) 82%, transparent); z-index: 5; }
.rush-pulse { animation: rushPulse .45s ease-out; }
@keyframes rushPulse { from { transform: scale(1.5); opacity: .2; } to { transform: scale(1); opacity: 1; } }
.rush-pause { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--card) 92%, transparent); z-index: 6; }
.rush-pause p { font-family: var(--head); font-weight: 900; font-size: 26px; margin: 0; }
.rush-pause .g-btn { min-width: 220px; }

.rush-result .big { margin-top: 2px; font-size: 46px; }
.rush-title small { display: block; font-size: 13px; color: var(--ink2); }
.rush-say-ex { min-height: 30px; font-size: 12px; padding: 1px 10px; vertical-align: middle; }
.rush-new { display: inline-block; margin: 4px 0; padding: 4px 14px; border-radius: 999px; background: var(--yellow); color: #1d211f; border: 2px solid var(--line); font-weight: 900; animation: rushNew 1s ease-in-out infinite alternate; }
@keyframes rushNew { from { transform: scale(1); } to { transform: scale(1.08); } }
.rush-sub { color: var(--ink2); font-size: 14px; margin: 4px 0; }
.rush-title { font-size: 17px; margin-top: 4px; }
.rush-title b { font-family: var(--head); font-size: 22px; color: var(--r-col); }
.rush-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; font-size: 14px; margin-top: 8px; }
.rush-stats b { font-size: 17px; }
.rush-h { font-size: 16px; margin: 14px 0 0; text-align: left; }
.rush-review { margin-top: 8px; max-height: min(32vh, 300px); }
.rush-r-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rush-r-w { font-family: var(--en); font-size: 20px; }
.rush-r-line { font-size: 14px; }
.rush-r-k { font-weight: 800; color: var(--ink2); }
.rush-r-ex { font-size: 14px; border-left: 3px solid var(--soft); padding-left: 8px; margin: 2px 0; }
.rush-r-ex small { color: var(--ink2); font-size: 13px; }
.rush-result .g-row .g-btn { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .rush-pop, .rush-banner, .rush-pulse, .rush-new, .rush-fever .rush-mult { animation: none; }
  .rush-banner { opacity: 1; }
}
