/* 飲みげー共通（tool.css のあとに読む） */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 14px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8em; padding: 2px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--sub); }
.rules { margin: 0 0 12px; padding: 14px 16px 14px 34px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-size: 0.93em; }
.rules li { margin: 3px 0; }
.rules li::marker { color: var(--accent2); font-weight: 700; }
details.set { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; margin-bottom: 12px; }
details.set summary { cursor: pointer; color: var(--sub); font-size: 0.9em; }
details.set[open] summary { margin-bottom: 8px; }
.stage { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 16px; text-align: center;
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; user-select: none; -webkit-user-select: none; }
.stage .label { color: var(--sub); font-size: 0.9em; }
.stage .big { font-size: clamp(1.8em, 9vw, 3em); font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; color: var(--text); }
.stage .mid { font-size: clamp(1.25em, 6vw, 1.8em); font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.stage .num { font-size: clamp(3em, 18vw, 5.5em); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stage .muted, .handoff .muted { color: var(--sub); font-size: 0.85em; margin: 0; }
.btn.big { font-size: 1.1em; padding: 12px 30px; border-radius: 14px; justify-content: center; }
.btn.warn { background: #dc2626; border-color: #dc2626; }
.btn.ok { background: #16a34a; border-color: #16a34a; }
.btns.center { justify-content: center; }
.handoff { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.handoff > i { font-size: 34px; color: var(--accent2); }
.handoff .who { font-size: 2em; font-weight: 800; }
.handoff p { margin: 0; }
.handoff .btn { margin-top: 10px; }
.batsu { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; background: color-mix(in srgb, #dc2626 12%, var(--card)); color: var(--text); font-weight: 700; }
.batsu::before { content: "\f0fc"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; color: #dc2626; }
.bar2 { width: 100%; height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.bar2 > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width 0.2s linear; }
.flash { animation: flash 0.5s; }
@keyframes flash { 0% { background: color-mix(in srgb, #dc2626 35%, var(--card)); } 100% { background: var(--card); } }
.rank { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 360px; text-align: left; }
.rank li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.rank li.bad { background: color-mix(in srgb, #dc2626 12%, transparent); border-radius: 8px; font-weight: 700; }
.rank li b { font-variant-numeric: tabular-nums; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.choices > div { border-radius: 14px; padding: 18px 10px; font-weight: 800; font-size: 1.2em; color: #fff; }
.safe { color: #dc2626; font-size: 0.82em; text-align: center; margin: 14px 0 0; }
