.privacy-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;min-height:138px;padding:18px;border:1px solid #8f8050;border-radius:16px;background:linear-gradient(135deg,#20383b,#172530);color:#edcc79;cursor:pointer;text-align:center;font:inherit;touch-action:manipulation}
.privacy-entry .privacy-entry-icon{font-size:42px;line-height:1}
.privacy-entry strong{font-size:18px;line-height:1.4}
.privacy-entry small{color:#acbac5;font-size:13px;line-height:1.6;max-width:32em}
.privacy-entry:focus-visible{outline:3px solid #f5d68c;outline-offset:3px}
.privacy-entry.is-open{min-height:46px;flex-direction:row;padding:10px;margin-bottom:14px}.privacy-entry.is-open .privacy-entry-icon{font-size:24px}.privacy-entry.is-open strong{font-size:14px}
.target-confirm-dialog .btn-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.privacy-instruction{font-size:12px;line-height:1.6;color:#acbac5;font-weight:normal}
.witch-no-medicine{margin-top:22px}.witch-no-medicine > button{width:100%;min-height:48px}
.private-actions.private-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch;margin-top:18px}
.private-actions.private-actions > button{width:100%;min-width:0;min-height:48px;white-space:normal;margin:0!important;padding:12px 8px;font-size:15px;line-height:1.45}
.private-actions.private-actions > button:only-child{grid-column:1/-1}
@media(max-width:360px){.private-actions.private-actions{gap:18px}.private-actions.private-actions > button{font-size:13px}}

/* Public vote summaries shared by solo and LAN, independent of game rules. */
.public-vote-groups{display:grid;gap:12px;margin:16px 0}
.public-vote-row{display:grid;grid-template-columns:80px 30px minmax(0,1fr);gap:10px;align-items:center}
.public-vote-target{text-align:center;overflow-wrap:anywhere}.public-vote-target strong{display:block;color:#ffb3ab;font-size:24px;line-height:1.3}.public-vote-target small{display:block;color:#adbcc6;font-size:12px;line-height:1.6}
.public-vote-arrow{font-size:30px;color:#84d9ae;text-align:center;font-weight:800}
.public-vote-voters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;border:1px solid #9e6c79;background:#14232d;border-radius:12px;padding:12px;min-height:74px;min-width:0}
.public-vote-person{display:inline-flex;flex-direction:column;min-width:42px;max-width:100%;overflow-wrap:anywhere;color:#b3d6ff}.public-vote-person b{font-size:20px;line-height:1.4;white-space:nowrap}.public-vote-person small{font-size:11px;line-height:1.6;color:#adbcc6}
.vote-yes .public-vote-target strong{color:#9dd0b7}.vote-yes .public-vote-voters{border-color:#689a80}
@media(max-width:480px){.public-vote-row{grid-template-columns:62px 24px minmax(0,1fr);gap:6px}.public-vote-target strong{font-size:22px}.public-vote-voters{padding:9px;gap:8px}.public-vote-person{max-width:86px}.public-vote-person b{font-size:19px}.public-vote-arrow{font-size:28px}}

/* Dismissible confirmation, including destructive actions: outside means cancel. */
dialog.ui-confirm-layer{position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;box-sizing:border-box;padding:14px;border:0;border-radius:0;background:transparent;overflow:hidden;color:#edf3f5}
dialog.ui-confirm-layer[open]{display:flex;align-items:center;justify-content:center}
dialog.ui-confirm-layer::backdrop{background:rgba(0,0,0,.72)}
.ui-confirm-panel{box-sizing:border-box;width:100%;max-width:520px;max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain;padding:22px;background:#1b2a36;border:1px solid #405663;border-radius:18px;box-shadow:0 14px 50px #0008}
.ui-confirm-panel h2{margin:0 0 16px;font-size:24px}
.ui-confirm-panel p{line-height:1.7;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 20px}
.ui-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ui-confirm-actions button{min-width:0;min-height:48px;padding:12px;border:1px solid #405663;border-radius:12px;background:#283d49;color:#edf3f5;font:inherit;cursor:pointer}
.ui-confirm-actions [data-ui-answer="yes"]{background:#edbd59;color:#151c22;border-color:#edbd59;font-weight:700}
.ui-confirm-actions button:focus-visible{outline:3px solid #9ee0ff;outline-offset:3px}
