.room-body{padding:30px}.room-title{font-size:28px;letter-spacing:1px;margin:0 0 10px}.room-intro{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 25px;max-width:650px}.room-tabs{display:flex;gap:10px;border-bottom:1px solid var(--line);margin-bottom:25px;padding-bottom:16px}.room-tabs button{background:var(--white);border:1px solid var(--line);padding:12px 18px;border-radius:6px;display:flex;align-items:center;gap:9px;font-size:12px}.room-tabs button.active{background:var(--wine);color:var(--white);border-color:var(--wine)}.room-tabs .icon{width:17px;height:17px}.room-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.room-timings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.room-timings .field>span{font-size:10px}.room-timings select{font-size:11px;padding:9px}.room-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:17px}.room-footer>span{font-size:10px;color:#9b8b73}.room-join-form{max-width:420px;margin:12px auto 25px;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:24px}.room-join-form>.button{width:100%;margin-top:15px}.room-lobby-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.room-lobby-heading .room-title{margin-bottom:0}.room-code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:20px;letter-spacing:4px;color:var(--wine);border:1px dashed #cbb5a5;border-radius:6px;background:#eee6d9;padding:10px 12px;font-weight:700;white-space:nowrap}.room-lobby-grid,.room-play-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.room-share{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:20px}.room-share .field{margin:0}.room-copy-row{display:flex;align-items:center;gap:8px}.room-copy-row input{width:100%;min-width:0;padding:11px 10px;border:1px solid #dcd6cb;border-radius:5px;background:var(--paper);font-size:12px;color:var(--ink)}.room-copy-row .button{flex-shrink:0}.room-share input{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px}.room-members{border:1px solid var(--line);border-radius:7px;background:#f0ece3;padding:18px;align-self:start}.room-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.room-section-heading h4{font-size:13px;margin:0}.room-section-heading>span{font-size:10px;color:#9d8c72}.room-member{display:flex;gap:9px;align-items:center;border-top:1px solid #e2dacc;padding:10px 0;font-size:11px}.room-seat{background:#e6ddce;width:23px;height:23px;display:grid;place-items:center;font-size:10px;color:#947956;border-radius:50%;flex-shrink:0}.room-member>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.room-member small{font-size:8px;padding:2px 4px;background:#e6d8cd;border-radius:3px;margin-left:5px;color:#94735c}.room-member-status{font-size:9px;color:#9b8c77;white-space:nowrap}.room-member:has(.room-member-status):not(.out) .room-member-status{color:#788067}.room-member.empty{color:#baae9b}.room-member.empty .room-seat{opacity:.5}.room-member.out{opacity:.45}.room-member.out>span:nth-child(2){text-decoration:line-through}.room-member .icon-btn{width:21px;height:21px}.room-member .icon-btn .icon{width:12px;height:12px}.voice-controls{margin-top:18px;padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.voice-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#a18b6b}.voice-status .status-dot{background:#b49d76}.voice-status.on{color:#748060}.voice-status.on .status-dot{background:#748060}.voice-controls>div{display:flex;gap:7px}.room-my-seat{background:#e9e3d3;border-radius:7px;padding:17px;margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:12px}.room-my-seat>span{font-size:12px}.room-my-seat>span .icon{width:16px;margin-right:4px}.room-self-join{margin-top:23px;padding:18px;background:#eee8dc;border-radius:7px}.room-self-join h4{font-size:13px;margin:0 0 9px}.room-self-join>p{font-size:11px;color:#9b8a70;line-height:1.8}.room-start{width:100%;margin-top:24px;min-height:47px}.room-end-link{font-weight:400;font-size:10px;color:#b19b83;margin-top:22px}.room-stage{padding:22px;border-radius:8px;border:1px solid #decfb3}.room-stage.day{background:#eee2c5;color:#79603d}.room-stage.night{background:#592f3a;color:#f0dcc0;border-color:#592f3a}.room-stage-heading{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.7}.room-stage-heading>.icon{width:20px;height:20px;flex-shrink:0}.room-stage-heading strong{margin-left:auto;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.room-stage>p{font-size:14px;line-height:2;margin:17px 0 0;white-space:pre-wrap}.room-stage.night .room-stage-heading{color:#d1b391}.room-private{background:var(--white);border:1px solid #dccdb9;border-radius:8px;margin-top:23px;overflow:hidden}.room-private-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;background:#eee9df;border-bottom:1px solid var(--line)}.room-private-heading>span{display:flex;align-items:center;gap:6px;font-size:10px;color:#988265}.room-private-heading .icon{width:14px;height:14px}.room-private-heading .text-link{font-size:10px}.room-role-card{display:flex;gap:16px;align-items:center;padding:21px 20px;background:#f7efe1}.room-role-card>span{font-size:40px;flex-shrink:0}.room-role-card strong{display:block;font-size:23px;letter-spacing:2px;color:var(--wine)}.room-role-card small{display:block;font-size:9px;margin-top:4px;color:#a1855a}.room-role-card p{font-size:10px;color:#98805c;line-height:1.9;margin:7px 0 0}.room-identity-hidden{font-size:10px;text-align:center;color:#ad9c83;padding:14px;margin:0;border-bottom:1px solid #eee8dd}.room-private-action{padding:20px}.room-private-action h4{font-size:15px;margin:0 0 10px}.room-private-action>p{font-size:11px;line-height:1.9;color:#98856d}.room-private-action>.button{margin-top:12px}.room-targets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.room-waiting{text-align:center;padding:13px 0 8px}.room-waiting>.icon{color:#a58d68;width:30px;height:30px;margin-bottom:14px;stroke-width:1.3}.room-waiting h4{font-size:13px;color:#867359}.room-waiting p{font-size:11px;color:#a5947b;line-height:1.8}.room-wolf-team{border:1px solid #e8d7d0;border-radius:5px;padding:13px;margin:13px 0;background:#f6ebe6}.room-wolf-team h4{font-size:12px;color:var(--wine)}.room-wolf-team p{font-size:10px;color:#a07966;line-height:1.8;margin:4px 0}.room-wolf-team small{font-size:9px;color:#ad9780;line-height:1.8;display:block;margin-top:8px}.room-submitted{color:var(--green)!important;background:#e9eddf;padding:12px;border-radius:5px}.room-host-note{font-size:11px;line-height:1.9;color:#a49178;padding:19px 0}.room-pause{display:flex;align-items:center;gap:12px;background:#ede1c6;border:1px solid #d6bb86;border-radius:6px;padding:15px 18px;margin-bottom:20px;color:#947244}.room-pause strong{font-size:13px}.room-pause p{font-size:11px;margin:5px 0 0;line-height:1.8}.room-public-log{border-top:1px solid var(--line);margin-top:22px;padding-top:14px;font-size:10px;color:#a18c70}.room-public-log summary{cursor:pointer}.room-public-log ol{font-size:11px;line-height:1.9;padding-left:18px;max-height:230px;overflow:auto}.room-empty{padding:40px 20px;text-align:center}.room-empty h3{font-size:23px}.room-empty p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:25px}.room-empty .button{margin:5px}.room-error{font-size:11px;line-height:1.9;color:#a6443d;background:#f2e3df;padding:12px;border-radius:5px}.room-connection-error{padding:11px 20px;background:#eee0bb;color:#947442;font-size:11px;line-height:1.9;text-align:center}.room-resume-description{font-size:10px;color:#9d8a6e}
.room-role-list{max-height:510px;overflow:auto;padding-right:6px}.room-role-list .role-config-info small{max-width:230px;line-height:1.7}.room-role-list .role-symbol{width:36px;height:36px;font-size:16px;white-space:nowrap}.room-day-skills{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.room-day-skills>h4{font-size:12px;color:var(--wine);margin-bottom:12px}.room-day-skill-buttons,.room-idiot-options{display:flex;gap:10px;flex-wrap:wrap}.room-day-skills>p{font-size:11px;line-height:1.9;color:#947e65}.room-skill-confirm{padding:15px;background:#f1e2dc;border:1px solid #d9b9a9;border-radius:6px;margin-top:13px}.room-skill-confirm strong{font-size:12px;line-height:1.8;color:var(--wine)}.room-skill-confirm p{font-size:10px;color:#a37c65;line-height:1.8}.room-skill-confirm>div{display:flex;gap:9px;flex-wrap:wrap}.room-grave-report{background:#e9eddf;border:1px solid #d7dfc8;padding:14px;border-radius:6px;margin-bottom:18px}.room-grave-report h4{font-size:12px;color:#6b775a}.room-grave-report p{font-size:11px;line-height:1.9;color:#7f896d;margin:0}.room-revealed-role{white-space:nowrap;display:inline-block;color:var(--wine)!important;background:#ead5cc!important}
.room-quotas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.room-quota{padding:13px 10px;border:1px solid #dccdb4;border-radius:6px;background:#f3ede0}.room-quota>span{font-size:9px;color:#988267;display:block;white-space:nowrap}.room-quota strong{display:block;font-size:25px;margin-top:8px;font-variant-numeric:tabular-nums;color:#806847}.room-quota strong small{font-size:10px;font-weight:400;color:#a08d73}.room-quota p{font-size:9px;color:#a18b65;margin:6px 0 0}.room-quota.complete{background:#edf0e4;border-color:#d7dfc9}.room-quota.complete p{color:#748367}.room-quota.over{background:#f3e4df;border-color:#d9b1a3}.room-quota.over p{color:var(--wine)}.room-quota-heading{margin-top:24px!important}.room-good-total{font-size:10px;line-height:1.9;color:#9b886c;margin:12px 0 24px}.room-board-overview{align-self:start}.room-fixed-count{font-size:13px;font-variant-numeric:tabular-nums;min-width:60px;text-align:right}.room-fixed-count small{display:block;font-size:8px;color:#a18d73;margin-top:4px}.room-role-group{margin:19px 0}.room-role-group-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:4px}.room-role-group-heading strong{font-size:12px;color:var(--wine)}.room-role-group-heading span{font-size:9px;color:#9e886c}.room-role-group .room-role-list{max-height:350px}.room-lobby-board{font-size:11px;line-height:1.8;color:#8e775a;padding-bottom:14px;margin:0 0 15px;border-bottom:1px solid var(--line)}
@media(max-width:800px){.room-lobby-grid,.room-play-grid{grid-template-columns:minmax(0,1fr) 210px;gap:16px}.room-body{padding:23px}.room-targets{grid-template-columns:repeat(2,minmax(0,1fr))}.room-timings{grid-template-columns:repeat(3,minmax(0,1fr))}.room-timings .field{margin-bottom:10px;min-width:0}.room-timings select{min-width:0;min-height:44px;padding:9px 6px}.room-timings .field>span{font-size:11px}.room-code{font-size:17px;letter-spacing:3px}.room-stage{padding:18px}.room-members{padding:14px}}
@media(max-width:650px){.room-body{padding:23px 18px}.room-title{font-size:24px}.room-intro{font-size:11px}.room-tabs{gap:8px}.room-tabs button{flex:1;padding:11px 9px;gap:6px;font-size:11px;justify-content:center}.room-tabs .icon{width:15px;height:15px}.room-create-grid,.room-lobby-grid,.room-play-grid{grid-template-columns:1fr;gap:18px}.room-timings{grid-template-columns:repeat(3,minmax(0,1fr))}.room-timings .field>span{font-size:10px}.room-footer{align-items:stretch;flex-direction:column;gap:13px}.room-footer .button{width:100%}.room-join-form{padding:20px;margin-bottom:10px}.room-lobby-heading{gap:12px;align-items:flex-start;margin-bottom:20px}.room-lobby-heading .room-title{font-size:23px}.room-code{padding:9px 8px;font-size:15px;letter-spacing:2px}.room-share{padding:17px}.room-copy-row input{font-size:11px}.room-copy-row .button{font-size:10px;padding:9px 10px}.room-member-list{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.room-member{gap:6px;font-size:10px}.room-member-status{font-size:8px}.room-member .room-seat{width:20px;height:20px;font-size:9px}.room-my-seat{padding:15px}.room-my-seat .button{font-size:11px;padding:10px 13px}.room-stage>p{font-size:13px}.room-private-heading{padding:13px 15px}.room-private-action{padding:17px}.room-targets{grid-template-columns:repeat(3,minmax(0,1fr))}.room-private-action>.button{width:100%}.room-private .target-btn{padding:11px 7px}.room-private .target-btn strong{font-size:10px}.voice-controls{gap:9px}.voice-status{font-size:10px}.voice-controls .button{font-size:10px}.room-role-card{padding:19px 17px}.room-role-card>span{font-size:35px}.room-self-join{padding:16px}.room-self-join h4{font-size:12px}.room-self-join>p{font-size:10px}.room-start{margin-top:20px}.room-stage-heading{font-size:10px}.room-stage-heading strong{font-size:12px}}
@media(max-width:370px){.room-targets{grid-template-columns:repeat(2,minmax(0,1fr))}.room-member-list{grid-template-columns:1fr}.room-code{font-size:13px;letter-spacing:1.5px}.room-lobby-heading .room-title{font-size:21px}}

/* Night portraits and the rules selected for this table. */
.room-rule-settings{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}
.room-rule-toggle{display:flex;gap:11px;align-items:flex-start;margin:15px 0 20px;cursor:pointer}
.room-rule-toggle input{margin:3px 0 0;accent-color:var(--wine);width:17px;height:17px;flex-shrink:0}
.room-rule-toggle strong{display:block;font-size:12px;color:var(--ink)}
.room-rule-toggle small{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin-top:5px}
.room-lobby-rules{font-size:10px;line-height:1.9;color:#7d876e;margin:-3px 0 17px}
.role-config-row .role-thumbnail{width:44px;height:44px;object-fit:cover;border-radius:9px;flex-shrink:0;background:#202726}
.room-role-card{background:#202827;align-items:flex-start;gap:20px;padding:23px}
.room-role-card .role-portrait{width:140px;height:140px;object-fit:cover;border-radius:10px;flex-shrink:0;box-shadow:0 0 0 1px #b8c9b32b}
.room-role-card>div{min-width:0}
.room-role-card strong{color:#e8eadf;font-size:25px;line-height:1.4}
.room-role-card small{color:#a7bba6;font-size:11px}
.room-role-card .role-skill-label{font-size:11px;letter-spacing:1px;color:#9db6a2;margin:17px 0 6px;font-weight:500}
.room-role-card p{font-size:12px;line-height:1.9;color:#d0d7c9;margin-top:0}
.final-role-portrait{width:48px;height:48px;object-fit:cover;border-radius:8px;flex-shrink:0}
.potion-target-notice{display:grid;gap:8px;margin:17px 0;padding:15px;border:1px solid #c4d4bd;border-radius:7px;background:#eef2e7}
.potion-target-notice.poison{background:#f2e7ed;border-color:#d5b9cb}
.potion-target-notice>span{font-size:11px;color:#748369}.potion-target-notice.poison>span{color:#886178}
.potion-target-notice>strong{font-size:14px;line-height:1.8;color:#566b52;overflow-wrap:anywhere}.potion-target-notice.poison>strong{color:#804c67}
.potion-target-notice>small{font-size:10px;color:#8d8c77;line-height:1.8}
.potion-confirm .button{white-space:normal;text-align:left;overflow-wrap:anywhere}
.room-last-words{padding:18px;border:1px solid #d5c8a6;border-radius:7px;background:#f4eddd}
.room-last-words>p{font-size:12px;line-height:1.9;color:#947c61}.room-last-words .button{margin-top:8px}
.wolf-chat{margin:18px 0;border:1px solid #34443f;border-radius:9px;overflow:hidden;background:#202a27;color:#d9e1d1}
.wolf-chat-heading{padding:14px 14px 10px;display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.wolf-chat-heading h4{font-size:13px;margin:0;color:#dce5d6}.wolf-chat-heading small{font-size:9px;color:#9aaf9e}
.wolf-chat-messages{max-height:225px;min-height:85px;overflow:auto;padding:6px 14px 12px;overscroll-behavior:contain;scrollbar-color:#586f60 #202a27}
.wolf-chat-message{margin:8px 25px 8px 0;padding:10px 12px;background:#2d3833;border-radius:7px;overflow-wrap:anywhere}
.wolf-chat-message.mine{margin-left:25px;margin-right:0;background:#3c5041}
.wolf-chat-message strong{font-size:10px;color:#b7ccb5;font-weight:500}
.wolf-chat-message p{margin:5px 0 0;font-size:12px;line-height:1.8;white-space:pre-wrap;color:#e0e5da}
.wolf-chat-empty{font-size:11px;color:#97aa99;line-height:1.9;margin:9px 0}
.wolf-chat form{display:flex;gap:8px;padding:12px;border-top:1px solid #3c4b40}
.wolf-chat input{width:100%;min-width:0;flex:1;background:#17201c;border:1px solid #4c6451;color:#edf0e6;border-radius:5px;padding:11px;font-size:12px}
.wolf-chat input::placeholder{color:#90a190}.wolf-chat input:focus-visible{outline:2px solid #b1c8a7;outline-offset:2px}
.wolf-chat form .button{background:#bacbb1;color:#253626;flex-shrink:0;border-color:#bacbb1}
.wolf-chat>small{font-size:9px;color:#92a394;display:block;padding:0 12px 12px;line-height:1.8}
@media(max-width:650px){.room-role-card{flex-direction:column;align-items:center;padding:20px;gap:17px}.room-role-card .role-portrait{width:190px;height:190px}.room-role-card>div{width:100%}.room-role-card strong,.room-role-card small{text-align:center}.room-role-card p{font-size:12px}.role-config-row .role-thumbnail{width:40px;height:40px}.wolf-chat-messages{max-height:210px}.room-last-words .button{width:100%}}
.wolf-chat .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:650px){.wolf-chat input{font-size:16px}}
.room-beauty-turn{margin:15px 0 19px;padding:14px;border:1px solid #d8decb;border-radius:7px;background:#f1f3e9}
.room-beauty-turn ol{display:grid;grid-template-columns:1fr 1fr;gap:8px;list-style:none;padding:0;margin:0}
.room-beauty-turn li{font-size:11px;line-height:1.8;text-align:center;padding:9px 6px;border:1px solid #e0e3d8;border-radius:5px;color:#a3aa95;background:#f7f8f1}
.room-beauty-turn li.current{background:#dce7d6;border-color:#b6c8ac;color:#456449;font-weight:600}
.room-beauty-turn p{font-size:11px;line-height:1.9;color:#7c896d;margin:11px 0 0}
.room-private-reports{padding:16px 18px;background:#edf1e6;border-bottom:1px solid #d9e1cf}
.room-private-reports>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
.room-private-reports h4{font-size:12px;color:#50694f;margin:0}.room-private-reports>div>small{font-size:9px;color:#8c9d82;white-space:nowrap}
.room-private-reports ol{list-style:none;padding:0;margin:0;max-height:220px;overflow:auto;overscroll-behavior:contain}
.room-private-reports li{border-top:1px solid #d7e0cb;padding:9px 0}.room-private-reports li>small{font-size:9px;color:#8d9a7f}
.room-private-reports li p{font-size:12px;line-height:1.9;margin:4px 0 0;color:#52674b;overflow-wrap:anywhere}
.room-private-reports .reports-empty{font-size:10px;line-height:1.8;color:#8b997e;margin:0}
.report-camp,.report-potion{display:inline-block;padding:1px 7px;border-radius:4px;font-size:10px;margin:0 4px}
.report-camp.wolf{background:#ead7d9;color:#9c4654}.report-camp.good,.report-potion.save{background:#d6e4cd;color:#547747}.report-potion.poison{background:#e7d7e6;color:#89557b}
.room-day-order,.room-pk-summary{padding:14px 16px;border-radius:7px;margin-top:15px;border:1px solid #d5d9c6;background:#eef0e5}
.room-day-order>strong,.room-pk-summary>strong{font-size:11px;color:#6a7856;line-height:1.8}
.room-day-order p{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:9px 0 0}
.room-day-order span{font-size:10px;padding:4px 8px;background:#e0e6d4;border-radius:4px;color:#899576;white-space:nowrap}.room-day-order span.current{background:#647950;color:white}
.room-day-order i{font-style:normal;font-size:10px;color:#a6ad95}.room-pk-summary{background:#f1e5e0;border-color:#dfc4b8}
.room-pk-summary>strong{color:#925b56}.room-pk-summary>p{font-size:11px;line-height:1.9;color:#a07969;margin:7px 0 0}
@media(max-width:650px){.room-private-reports{padding:15px}.room-private-reports li p{font-size:11px}.room-day-order,.room-pk-summary{padding:13px}}
.room-gargoyle-status{padding:16px 18px;background:#e6eae9;border-bottom:1px solid #cdd7d3}
.room-gargoyle-status small{font-size:9px;color:#84938f;display:block}.room-gargoyle-status strong{display:block;font-size:14px;color:#596e69;margin:7px 0}
.room-gargoyle-status p{font-size:11px;line-height:1.9;color:#7f918b;margin:0}.room-gargoyle-status.armed{background:#e8e2d3;border-color:#d5c294}
.room-gargoyle-status.armed strong{color:#907440}.room-gargoyle-status.armed p{color:#958266}
.gargoyle-steps{display:flex;gap:8px;margin:0 0 18px}.gargoyle-steps span{flex:1;font-size:11px;line-height:1.8;text-align:center;background:#ecefea;color:#a1aaa0;border:1px solid #dfe5db;border-radius:5px;padding:9px 5px}
.gargoyle-steps span.current{background:#d6e2dc;border-color:#b7cbc0;color:#516e62;font-weight:600}
.room-gargoyle-action>p{font-size:11px;line-height:1.9;color:#8a8c7b}.room-gargoyle-action>.button{margin-top:12px}
.room-gargoyle-action .gargoyle-target{color:#687f72;font-weight:600}.room-gargoyle-action .gargoyle-self-warning{color:#a16a52;background:#f3e9db;padding:11px;border-radius:5px}
.report-role{display:inline-block;font-size:11px;border-radius:4px;background:#d8e3e0;color:#4e7066;padding:1px 7px;margin-left:3px}
@media(max-width:650px){.room-gargoyle-status{padding:15px}.room-gargoyle-action>.button{width:100%}}

.room-magician-action>p{font-size:11px;line-height:1.9;color:#9381a0}.room-magician-action>.button{margin-top:14px}
.magician-selection{padding:14px 16px;margin:14px 0;border:1px solid #d5cee0;background:#ece7f1;border-radius:6px;color:#78638f;font-size:12px;line-height:1.8}.magician-selection small{display:block;color:#a08fb1;font-size:10px;margin-top:5px}
.room-magician-action .target-btn.selected{border-color:#9a81b0;background:#e7ddee}.room-magician-action .target-btn.selected span{background:#8b719d}
@media(max-width:650px){.room-magician-action>.button{width:100%}}

.room-board-picker{margin:8px 0 22px}.room-board-summary{border:1px solid #e0d4bd;border-radius:6px;background:#f4efe3;padding:15px 16px;margin-top:12px}.room-board-summary>strong{font-size:12px;color:#806e51;display:block;margin-bottom:10px}.room-board-summary p{font-size:10px;line-height:1.9;color:#9a886b;margin:6px 0}.room-board-summary p>span{display:inline-block;font-size:9px;color:#b09b7c;min-width:32px;margin-right:7px}

.setup-heading .room-title{margin-bottom:16px}.setup-progress{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}.setup-progress button{border:1px solid var(--line);border-radius:6px;background:var(--white);padding:12px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px}.setup-progress button span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e8e2d6;font-size:11px}.setup-progress [aria-current=step]{border-color:var(--wine);color:var(--wine);background:#f0e4df}.setup-progress [aria-current=step] span{background:var(--wine);color:var(--white)}.setup-role-panel .role-config-info{min-width:0}.setup-role-panel .role-config-info small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.setup-summary-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 15px;border:1px solid var(--line);border-radius:6px;margin-bottom:16px;background:#eee9de}.setup-summary-strip strong{font-size:13px}.setup-summary-strip span{font-size:11px;color:#9a8569}.setup-summary-strip .text-link{margin-left:auto;font-size:11px}.setup-policy{margin:14px 0;font-size:11px;color:var(--muted)}.setup-policy summary{cursor:pointer;padding:8px 0}.setup-policy p{font-size:11px;line-height:1.8;margin:6px 0}.room-setup-footer{position:sticky;bottom:0;z-index:3;background:var(--paper);border-top:1px solid var(--line);padding:15px 0;margin-top:20px}.room-setup-footer-buttons{display:flex;justify-content:flex-end;gap:10px}.room-setup-footer-buttons .button{min-height:44px}.setup-inline-error,.setup-cooldown{border:1px solid #d8b7a3;background:#f4e4dc;color:#875045;border-radius:6px;padding:12px 14px;margin:0 0 12px;font-size:12px;line-height:1.8}.setup-inline-error[hidden],.setup-cooldown[hidden]{display:none}.room-toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:min(440px,calc(100vw - 48px));border-radius:7px;background:#333830;color:#fffaf0;box-shadow:0 8px 25px #0003;padding:13px 18px;font-size:12px;line-height:1.7;text-align:center;z-index:8;pointer-events:none}.room-toast[hidden]{display:none}
.room-invite-actions{display:flex;gap:9px;margin-top:13px;flex-wrap:wrap}.room-invite-actions>.button{min-height:40px}.room-invite-qr{display:flex;flex-direction:column;align-items:center;margin-top:16px;padding:18px 12px;background:#fff;border:1px solid var(--line);border-radius:7px}.room-invite-qr img{max-width:100%;height:auto;image-rendering:pixelated}.room-invite-qr p{font-size:11px;line-height:1.8;color:var(--muted);margin:8px 0 0;text-align:center}.room-notes-hint{font-size:10px;line-height:1.8;color:#8e7e67;margin:0 0 10px}.room-member-wrap{min-width:0}.room-member-wrap .room-member{min-height:46px}.room-guess-button{flex-shrink:0;font-size:10px;border:1px solid #d8ccbb;border-radius:5px;background:var(--white);padding:7px 5px;min-height:34px}.room-member small.room-guess-tag{display:block;width:fit-content;max-width:100%;font-size:9px;color:#826e8a;background:#eae2eb;border:1px dashed #cbbacd;padding:3px 5px;margin:5px 0 0;text-decoration:none}.room-member.out small.room-guess-tag{opacity:1}
@media(max-width:650px){.setup-progress{gap:7px;margin-bottom:16px}.setup-progress button{font-size:11px;padding:10px 6px;gap:7px}.setup-progress button span{width:23px;height:23px}.setup-role-panel{padding:14px}.setup-role-panel .room-role-list,.room-fixed-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:none;overflow:visible;padding:0}.setup-role-panel .room-role-group{margin:15px 0}.setup-role-panel .role-config-row{display:grid;grid-template-columns:32px minmax(0,1fr);gap:7px;padding:10px 8px;border:1px solid var(--line);border-radius:6px;background:var(--paper);min-width:0}.setup-role-panel .role-thumbnail{width:32px;height:32px;border-radius:6px}.setup-role-panel .role-config-info strong{font-size:13px}.setup-role-panel .role-config-info small{-webkit-line-clamp:1;font-size:9px}.setup-role-panel .stepper{grid-column:1/-1;min-width:0;width:100%;gap:5px}.setup-role-panel .stepper button{width:38px;height:38px}.setup-role-panel .room-fixed-count{grid-column:1/-1;text-align:center;font-size:12px}.setup-role-panel .room-fixed-count small{display:inline;margin-left:6px}.room-setup-footer{bottom:0;padding:13px 0 calc(13px + env(safe-area-inset-bottom));margin-top:17px}.room-setup-footer-buttons>.button{flex:1;justify-content:center;font-size:12px;padding:12px 9px}.setup-summary-strip{gap:9px;padding:11px}.room-members:has(.room-notes-hint) .room-member-list{grid-template-columns:1fr}.room-member-wrap .room-member{font-size:12px;gap:8px}.room-member-wrap .room-member-status{font-size:10px}.room-guess-button{font-size:11px;min-width:44px;min-height:38px}.room-member-wrap .room-seat{width:24px;height:24px}.room-invite-qr{padding:12px}.room-timings{grid-template-columns:repeat(3,minmax(0,1fr))}.room-timings .field{margin-bottom:10px;min-width:0}.room-timings select{min-width:0;min-height:44px;padding:9px 6px}.setup-heading .game-step-label{font-size:8px}.room-tabs{margin-bottom:16px;padding-bottom:13px}}

.room-brand-logo{display:block;width:40px;height:40px;flex-shrink:0}.room-voice-setting{margin:14px 0 20px}.room-voice-setting .form-note{font-size:10px;line-height:1.7}

/* Private guess picker stays outside the roster and its scrolling layout. */
.room-guess-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(520px,100%);max-width:100%;max-height:calc(100dvh - 24px);border:1px solid #d8ccbb;border-bottom:0;border-radius:18px 18px 0 0;padding:0;background:var(--paper);color:var(--ink);box-shadow:0 -12px 48px #201b2229;overflow:hidden;flex-direction:column}
.room-guess-dialog[open]{display:flex}
.room-guess-dialog::backdrop{background:#17151d85}
.guess-sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 14px;flex-shrink:0;border-bottom:1px solid var(--line)}
.guess-sheet-heading small{font-size:10px;color:var(--muted)}
.guess-sheet-heading h3{font-size:18px;margin:6px 0;overflow-wrap:anywhere}
.guess-sheet-heading p{font-size:11px;color:var(--muted);margin:0}
.guess-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:16px 20px;overflow:auto;min-height:0;overscroll-behavior:contain}
.guess-role-option{display:flex;align-items:center;gap:9px;min-height:58px;min-width:0;padding:9px;border:1px solid #ddd1c0;border-radius:8px;background:var(--white);text-align:left;font-size:12px}
.guess-role-option img{width:36px;height:36px;border-radius:6px;flex-shrink:0}
.guess-role-option span{overflow-wrap:anywhere}
.guess-role-option.selected{border-color:var(--wine);background:#eee1dc;color:var(--wine);box-shadow:inset 0 0 0 1px var(--wine)}
.guess-sheet-footer{display:flex;gap:10px;justify-content:space-between;padding:14px 20px max(18px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper);flex-shrink:0}
.guess-sheet-footer .button{flex:1}
.witch-action>p{font-size:12px;color:#8d7b65;line-height:1.8}
.witch-potion-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.witch-potion-option{min-height:126px;display:flex;flex-direction:column;gap:8px;text-align:left;border:1px solid #c7d3be;border-radius:8px;padding:14px;background:#f1f4ea;min-width:0}
.witch-potion-option>span{font-size:12px;font-weight:700;color:#58734c}
.witch-potion-option strong{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.witch-potion-option small{font-size:10px;line-height:1.7;color:#8a8b7b}
.witch-potion-option.poison{background:#f6edf2;border-color:#d7c3d0}
.witch-potion-option.poison>span{color:#895875}
.witch-potion-option.selected{border-color:#58734c;box-shadow:inset 0 0 0 2px #58734c}
.witch-potion-option.poison.selected{border-color:#895875;box-shadow:inset 0 0 0 2px #895875}
.witch-action h5{font-size:12px;margin:18px 0 5px}
.witch-action-summary{padding:4px 13px;background:#eee9df;border-radius:7px;margin:16px 0}
.witch-action-summary p{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;font-size:12px;line-height:1.8}
.witch-action-summary strong{overflow-wrap:anywhere}
.witch-action>.button{width:100%}
.potion-confirm>div:last-child{display:flex;flex-wrap:wrap;gap:10px}
.potion-confirm>div:last-child .button{flex:1;justify-content:center;text-align:center}







.room-check-result{padding:20px;border:1px solid #afc2aa;border-radius:10px;background:linear-gradient(135deg,#edf2e5,#e1e8da);color:#40563e}
.room-check-result>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px}
.room-check-result>div strong{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.room-check-result>p{font-size:14px;line-height:1.8;margin:24px 0 10px;overflow-wrap:anywhere}
.room-check-result h4{font-size:27px;margin:0 0 22px;line-height:1.5;color:#40563e}
.room-check-result small{font-size:11px;line-height:1.9;display:block;color:#6f8066}
