/* ワンナイト人狼。共通のカード・ボタンを使い、秘密の確認画面の高さをそろえる。 */
.one-night { padding-bottom: 24px; }
.one-night__phase { color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }
.one-night__person { font-family: var(--display); font-size: clamp(22px, 6vw, 30px); overflow-wrap: anywhere; text-align: center; }
.one-night__secret { min-height: 225px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.one-night__role { font-family: var(--display); font-size: 32px; text-align: center; }
.one-night__note { color: var(--muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.one-night__choices { display: grid; gap: 10px; }
.one-night__choices .btn { min-height: 52px; font-size: 15px; overflow-wrap: anywhere; }
.one-night__choices .btn[aria-pressed="true"] { background: var(--accent); }
.one-night__roles { font-size: 14px; line-height: 1.9; }
.one-night__rules { padding: 14px 16px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--white); }
.one-night__rules summary { cursor: pointer; font-size: 14px; font-weight: 800; }
.one-night__rules p { margin-top: 10px; font-size: 13px; }
.one-night__table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--white); }
.one-night__table { width: 100%; border-collapse: collapse; font-size: 12px; }
.one-night__table th, .one-night__table td { padding: 10px 7px; text-align: left; border-bottom: 1px solid #dacbb3; overflow-wrap: anywhere; }
.one-night__table th { background: #f0e6d3; }
.one-night__table tr:last-child td { border-bottom: 0; }
.one-night__win { font-weight: 800; background: #e0f3e8; }

.one-night__role-art { width:150px; height:150px; margin:0 auto; }
.one-night__role-inputs { display:grid; gap:10px; }
.one-night__role-input { display:grid; grid-template-columns:48px minmax(0,1fr) 72px; align-items:center; gap:8px; padding:6px; border-bottom:1px solid #d5c6b0; font-size:13px; font-weight:800; }
.one-night__role-input .input { width:100%; text-align:center; padding:8px 4px; }
.one-night__mini-art { width:48px; height:48px; }
.one-night__setup { display:flex; flex-direction:column; gap:12px; border-top:2px dashed #d5c6b0; padding-top:18px; }
.one-night__setup h3 { font-size:16px; }
#one-night-setup-error { color:#a42d31; font-size:13px; font-weight:800; }
.one-night__choices .btn[aria-pressed="true"] { background:#e7bfd9; box-shadow:inset 0 0 0 2px #714c71; }
.one-night__secret { min-height:350px; }

.one-night__role-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.one-night__fixed-role { display:grid; grid-template-columns:40px 1fr auto; align-items:center; gap:5px; padding:6px; background:#fffdf5; border-radius:12px; font-size:13px; }
.one-night__fixed-role .one-night__mini-art { width:40px; height:40px; }
.one-night__note { overflow-wrap:break-word; }
