.smh-app,.smh-app *{box-sizing:border-box}.smh-app{--smh-bg:#0d1420;--smh-panel:#151f2f;--smh-panel2:#1d2b3d;--smh-line:#2a3b4d;--smh-text:#f5f7fc;--smh-muted:#aebdd0;--smh-accent:#efbb70;--smh-cyan:#73d6cf;--smh-danger:#ff9296;color:var(--smh-text);font-family:Tahoma,Arial,sans-serif;line-height:1.8;text-align:right;max-width:980px;margin:16px auto;isolation:isolate}.smh-app .smh-shell{background:radial-gradient(ellipse 65% 20% at 100% 0%,#203b4c 0%,transparent 85%),#0d1420;border:1px solid #233448;border-radius:22px;overflow:hidden;min-height:400px;box-shadow:0 26px 60px #080e1740}.smh-app h2,.smh-app h3,.smh-app p{margin:0}.smh-app h2{font-size:24px;font-weight:800;color:#fff;line-height:1.5}.smh-app h3{font-size:16px;line-height:1.7;font-weight:800;color:#fff;margin-bottom:9px}.smh-app button,.smh-app input,.smh-app textarea,.smh-app select{font:inherit}.smh-app button{cursor:pointer;transition:background-color .18s,transform .18s}.smh-app button:focus-visible,.smh-app input:focus,.smh-app textarea:focus,.smh-app select:focus{outline:2px solid var(--smh-cyan);outline-offset:2px}.smh-app button[disabled]{opacity:.55;cursor:not-allowed}.smh-app input:not([type=checkbox]),.smh-app textarea,.smh-app select{background:#0f1826;border:1px solid #34485e;border-radius:11px;color:#fff;width:100%;padding:12px 14px;min-height:45px;box-shadow:none}.smh-app input::placeholder,.smh-app textarea::placeholder{color:#8a9bad}.smh-app textarea{resize:vertical;font-size:14px;line-height:1.9}.smh-app option{background:#101d2d;color:#fff}.smh-app .smh-head{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-bottom:1px solid #253549;background:#121d2b80;gap:12px}.smh-app .smh-brand{display:flex;gap:12px;align-items:center}.smh-app .smh-brand strong{display:block;font-size:15px;line-height:1.45;color:#fff}.smh-app .smh-brand small{display:block;color:#99afbf;font-size:10px}.smh-app .smh-logo{height:38px;width:38px;border:1px solid #c8a06c9c;border-radius:12px;color:var(--smh-accent);background:#ab7b2b20;text-align:center;font-size:25px;line-height:35px}.smh-app .smh-version{font-size:11px;color:#9baec0;direction:ltr}.smh-app .smh-hero{padding:43px 24px 37px;position:relative;overflow:hidden;border-bottom:1px solid #2d3e4c}.smh-app .smh-hero:after{content:'♛';position:absolute;left:5%;top:10%;font-size:150px;opacity:.06;transform:rotate(-10deg);pointer-events:none}.smh-app .smh-hero-mark,.smh-app .smh-eyebrow{font-size:12px;font-weight:700;color:var(--smh-accent);letter-spacing:.2px;margin-bottom:9px}.smh-app .smh-hero h2{font-size:clamp(23px,4vw,35px);line-height:1.7;letter-spacing:-.3px}.smh-app .smh-hero h2 em{font-style:normal;color:var(--smh-cyan)}.smh-app .smh-hero p{color:var(--smh-muted);font-size:13px;max-width:540px;margin:14px 0 24px}.smh-app .smh-hero .smh-primary{max-width:320px}.smh-app .smh-section{border:1px solid var(--smh-line);background:linear-gradient(140deg,#182434,#131e2d);border-radius:17px;padding:21px;margin:18px 22px}.smh-app .smh-section-head{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px}.smh-app .smh-section-head h3{margin:0}.smh-app .smh-primary,.smh-app .smh-secondary{border:none;border-radius:12px;min-height:46px;padding:11px 17px;font-size:14px;font-weight:700;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:9px}.smh-app .smh-primary{background:linear-gradient(135deg,#f5c680,#db9d52);color:#20202b!important}.smh-app .smh-primary:hover{background:linear-gradient(135deg,#f8d4a3,#ebb26e)}.smh-app .smh-secondary{background:#284054;color:#ecf7ff!important;border:1px solid #496577}.smh-app .smh-secondary:hover{background:#34536b}.smh-app .smh-wide{display:flex;width:100%}.smh-app .smh-text{border:0;background:transparent;color:var(--smh-cyan);font-weight:700;font-size:12px;padding:5px}.smh-app .smh-text:hover{text-decoration:underline}.smh-app .smh-mini{border:1px solid #466075;background:#21354a;border-radius:10px;padding:6px 9px;font-size:11px;color:#e8f6fa;white-space:nowrap}.smh-app .smh-stack{display:flex;flex-direction:column;gap:12px}.smh-app .smh-bar,.smh-app .smh-game-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 24px}.smh-app .smh-bar{border-bottom:1px solid #283b4c}.smh-app .smh-pace{font-size:11px;color:var(--smh-muted)}.smh-app .smh-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smh-app .smh-scenario{border-radius:13px;border:1px solid #32485c;background:#142236;color:#e9f4fc;text-align:right;padding:13px;min-height:82px}.smh-app .smh-scenario.selected{border-color:#f0bb77;background:linear-gradient(145deg,#4b3a30,#292d36)}.smh-app .smh-scenario b,.smh-app .smh-scenario small{display:block}.smh-app .smh-scenario b{font-size:13px}.smh-app .smh-scenario small{color:#a7b8c9;font-size:10px}.smh-app .smh-note{color:#aebecf;font-size:12px;margin-top:11px}.smh-app .smh-muted{font-size:11px;color:var(--smh-muted)}.smh-app .smh-center{text-align:center}.smh-app .smh-between{display:flex;gap:10px;justify-content:space-between;align-items:center}.smh-app .smh-label{display:block;font-size:12px;font-weight:700;color:#d9e7f0;margin:7px 0}.smh-app .smh-pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#bad1df;border:1px solid #3b5467;background:#182a3c;border-radius:100px;padding:4px 9px}.smh-app .smh-role-edit{border:1px solid #2d4151;border-radius:13px;overflow:hidden}.smh-app .smh-role-line{display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid #2b3d50;padding:9px 12px;font-size:13px}.smh-app .smh-role-line:last-child{border-bottom:0}.smh-app .smh-role-line>span:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.smh-app .smh-side{display:inline-flex;font-size:10px;color:#a7d6cd;border-radius:7px;padding:1px 6px;background:#1d4944}.smh-app .smh-side.mafia{color:#ffbbb5;background:#4c2932}.smh-app .smh-side.neutral{color:#f4d29c;background:#54412b}.smh-app .smh-counter{display:flex;align-items:center;gap:8px;direction:ltr}.smh-app .smh-counter button{font-size:20px;line-height:1;width:31px;height:31px;border:1px solid #405568;border-radius:8px;background:#253c50;color:#fff}.smh-app .smh-counter b{font-variant-numeric:tabular-nums;min-width:19px;text-align:center}.smh-app .smh-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#223f41;border:1px solid #3d7875;border-radius:12px;padding:12px;color:#bbf0e3;font-size:12px}.smh-app .smh-summary.smh-bad{background:#4d2835;color:#ffb0b0;border-color:#9d4e64}.smh-app .smh-game-head h2{font-size:20px;margin:7px 0}.smh-app .smh-tags{display:flex;gap:7px;flex-wrap:wrap}.smh-app .smh-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 22px 10px;gap:9px}.smh-app .smh-kpis>div{background:#182b3b;border:1px solid #2d4657;border-radius:13px;text-align:center;padding:11px}.smh-app .smh-kpis b{display:block;font-size:23px;color:#f5c381;line-height:1.4}.smh-app .smh-kpis small{color:#b7c9d9;font-size:10px}.smh-app .smh-secret{background:radial-gradient(circle at 50% 40%,#263e4a,#0b1522 78%);border:1px solid #395364;border-radius:17px;text-align:center;padding:27px 15px;margin:18px 0}.smh-app .smh-secret small{font-size:11px;color:#b3c6d0}.smh-app .smh-secret h2{margin:4px 0 18px}.smh-app .smh-hold{border:2px dashed #b48f5f;border-radius:16px;background:#1e2935;color:#f4c98d;min-height:126px;width:100%;font-size:16px;font-weight:800;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.smh-app .smh-hold.is-visible{background:#f1bb74;color:#121d2b;border-style:solid}.smh-app .smh-hold-text{font-size:25px}.smh-app [hidden]{display:none!important}.smh-app .smh-tip{background:#334132;border-right:3px solid #c3a96d;color:#e0ddbf;padding:12px;margin:14px 0;border-radius:9px;font-size:12px}.smh-app .smh-private{background:#263c3c;border:1px solid #527d72;border-radius:11px;color:#c2e9dd;padding:11px;margin:12px 0;font-size:12px}.smh-app .smh-private p{margin:7px 0;color:#fff}.smh-app .smh-inlineform{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.smh-app .smh-inlineform label{font-size:12px;color:#d0deeb}.smh-app .smh-inlineform button{grid-column:1/-1}.smh-app .smh-meter{height:8px;border-radius:10px;background:#28394b;overflow:hidden;margin:13px 0 2px}.smh-app .smh-meter>div{height:100%;background:linear-gradient(90deg,#55b3ae,#e7bf79);transition:width .3s}.smh-app .smh-voters,.smh-app .smh-tally{margin:15px 0;border:1px solid #344758;border-radius:11px;overflow:hidden}.smh-app .smh-voters>div,.smh-app .smh-tally>div{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;gap:10px;font-size:12px;border-bottom:1px solid #293b49}.smh-app .smh-voters>div:last-child,.smh-app .smh-tally>div:last-child{border-bottom:0}.smh-app .smh-voters b,.smh-app .smh-tally b{color:#9fd7d1;font-size:11px}.smh-app .smh-divider{height:1px;background:#2c4351;margin:20px 0}.smh-app .smh-actions>div,.smh-app .smh-roster>div{padding:11px 0;border-bottom:1px solid #304354;display:flex;align-items:center;justify-content:space-between;gap:8px}.smh-app .smh-actions>div span,.smh-app .smh-roster>div span:first-child{font-size:12px}.smh-app .smh-actions b,.smh-app .smh-roster b{display:block;font-weight:700}.smh-app .smh-actions small,.smh-app .smh-roster small{display:block;color:#aebed0;font-size:10px}.smh-app .smh-icon-btn{height:30px;width:30px;border:1px solid #72545d;background:#4b3038;color:#ffc2cb;border-radius:9px;font-size:19px;line-height:1}.smh-app .smh-top-space{margin-top:17px}.smh-app .smh-review{border-color:#5e634b}.smh-app .smh-note-list{padding:9px 13px;border:1px solid #395161;border-radius:11px;font-size:12px;color:#bbd0dc}.smh-app .smh-note-list p{margin:8px 0}.smh-app .smh-checkgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px}.smh-app .smh-check{display:flex;align-items:center;gap:9px;padding:10px 9px;background:#1e3142;border:1px solid #365065;border-radius:10px;font-size:12px}.smh-app .smh-check input{accent-color:#f3bd76;transform:scale(1.12)}.smh-app .smh-player-tools{display:flex;align-items:center;gap:6px}.smh-app .smh-state{font-size:10px;padding:3px 7px;border-radius:8px;background:#234c47;color:#a6eed7;white-space:nowrap}.smh-app .smh-state.is-dead{background:#512e39;color:#ffc4ca}.smh-app .smh-end{color:#ff9ba8;margin-top:12px}.smh-app .smh-finish{text-align:center;padding:37px 18px}.smh-app .smh-finish h2{font-size:24px}.smh-app .smh-finish p{color:#b0c1cd;font-size:12px;margin:13px 0 25px}.smh-app .smh-win-icon{color:#eabe7a;font-size:48px}.smh-app .smh-history summary{cursor:pointer;font-size:13px;font-weight:700}.smh-app .smh-history-item{border-bottom:1px solid #304052;padding:10px 2px}.smh-app .smh-history-item b{font-size:12px}.smh-app .smh-history-item small{display:block;color:#acc0ce;font-size:10px}.smh-app .smh-history-item p{font-size:11px;color:#ced9e3}.smh-app .smh-alert{margin:16px 22px 0;background:#1f4748;border:1px solid #44848a;border-radius:11px;padding:12px;color:#ddfafa;font-size:12px;display:flex;justify-content:space-between}.smh-app .smh-alert.smh-danger{background:#502734;color:#ffd5d8;border-color:#955460}.smh-app .smh-alert button{background:transparent;color:inherit;border:none;font-size:20px}.smh-app .smh-busy{background:#223e45;border:1px solid #448a92;margin:13px 22px;padding:10px 13px;border-radius:9px;color:#baf3ef;font-size:12px}.smh-app .smh-saved{width:100%;text-align:right;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#1c3040;border:1px solid #3a5161;color:#d6e9f5;border-radius:12px;padding:11px}.smh-app .smh-saved b,.smh-app .smh-saved small{display:block}.smh-app .smh-saved small{font-size:10px;color:#97a8b8;direction:ltr;text-align:right}.smh-app .smh-footer{border-top:1px solid #25364a;margin-top:22px;padding:14px 22px;color:#8498ad;text-align:center;font-size:10px}@media(max-width:640px){.smh-app{margin:0 auto}.smh-app .smh-shell{border-radius:0;border-left:0;border-right:0}.smh-app .smh-head{padding:12px 15px}.smh-app .smh-hero{padding:26px 16px}.smh-app .smh-section{margin:12px;padding:15px;border-radius:14px}.smh-app .smh-kpis{margin:0 12px 10px}.smh-app .smh-game-head,.smh-app .smh-bar{padding:14px 15px}.smh-app .smh-scenarios{gap:7px}.smh-app .smh-scenario{padding:10px 8px}.smh-app .smh-inlineform{grid-template-columns:1fr}.smh-app .smh-checkgrid{gap:6px}.smh-app .smh-check{font-size:11px;padding:9px 7px}.smh-app .smh-player-tools{flex-wrap:wrap;justify-content:flex-end}.smh-app .smh-role-line{padding:8px}.smh-app .smh-role-line>span:first-child{gap:4px}.smh-app .smh-side{font-size:9px}}@media(prefers-reduced-motion:reduce){.smh-app *{transition:none!important;animation:none!important}}
.smh-app .smh-winner-check{border-color:#b88b58;background:linear-gradient(140deg,#433726,#2a2630)}.smh-app .smh-win-actions{display:flex;gap:9px;margin-top:13px}.smh-app .smh-win-actions>*{flex:1}.smh-app .smh-win-actions button{font-size:12px}@media(max-width:410px){.smh-app .smh-win-actions{flex-direction:column}}
/* 0.9.1 — fast aggregate day voting for the moderator */
.smh-app .smh-vote-count-list{margin:14px 0 12px;border:1px solid #334d5f;border-radius:13px;overflow:hidden}
.smh-app .smh-vote-count-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-bottom:1px solid #2a4051;min-height:66px}
.smh-app .smh-vote-count-row:last-child{border-bottom:0}
.smh-app .smh-vote-name{font-size:14px;font-weight:700;overflow-wrap:anywhere;min-width:0;flex:1}
.smh-app .smh-vote-counter{display:flex;direction:ltr;align-items:center;gap:5px;flex:0 0 auto}
.smh-app .smh-vote-counter button{height:42px;width:42px;border:1px solid #4b7182;background:#263e51;color:#fff;font-weight:bold;font-size:23px;border-radius:10px;line-height:1}
.smh-app .smh-vote-counter button:active{background:#467887}
.smh-app .smh-vote-counter input[type=number]{min-height:42px;height:42px;width:55px;padding:5px 2px;text-align:center;border-radius:10px;font-size:18px;font-weight:800;direction:ltr;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.smh-app .smh-vote-counter input[type=number]::-webkit-inner-spin-button,.smh-app .smh-vote-counter input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.smh-app .smh-vote-count-status{margin:6px 0 12px}
.smh-app .smh-vote-error{background:#4d2b39;color:#ffbdc5;border-radius:8px;padding:7px;font-size:12px;margin:8px 0}
@media(max-width:390px){.smh-app .smh-vote-count-row{padding:8px 7px;gap:6px}.smh-app .smh-vote-counter{gap:3px}.smh-app .smh-vote-counter button{width:37px;height:39px}.smh-app .smh-vote-counter input[type=number]{width:45px;height:39px;min-height:39px}}
