:root{color-scheme:dark;--bg:#0b0b0e;--panel:#15151a;--panel2:#1d1d24;--line:#303038;--text:#f5f2eb;--muted:#a7a2a0;--red:#b42431;--gold:#c6a15c;--green:#44b878;--orange:#e39b3a;--radius:20px;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:radial-gradient(circle at 50% -15%,#34191f 0,#141116 30%,var(--bg) 62%);color:var(--text);font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px;background:rgba(11,11,14,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}.brand{border:0;background:none;color:var(--text);display:flex;align-items:center;gap:10px;text-align:left;padding:0}.brand-mark{width:38px;height:38px;border-radius:12px;border:1px solid var(--gold);display:grid;place-items:center;color:var(--gold);font:700 24px Georgia,serif}.brand b{display:block;font-size:17px}.brand small{display:block;font-size:8px;letter-spacing:.16em;color:var(--gold)}.top-actions{display:flex;gap:8px}.icon-btn,.avatar-btn{width:40px;height:40px;border-radius:13px;border:1px solid var(--line);background:var(--panel);color:var(--text)}.avatar-btn span{display:grid;place-items:center;width:100%;height:100%;border-radius:12px;background:linear-gradient(145deg,var(--red),#40151b);font-weight:800}main{max-width:840px;margin:0 auto;padding:18px 15px calc(100px + var(--safe-bottom));min-height:calc(100vh - 70px)}.bottom-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;padding:8px 8px calc(8px + var(--safe-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:rgba(15,15,19,.94);backdrop-filter:blur(20px);border-top:1px solid rgba(255,255,255,.08)}.bottom-nav button{border:0;background:none;color:#77727a;display:grid;gap:2px;place-items:center;padding:4px 1px}.bottom-nav button span{font-size:21px}.bottom-nav button small{font-size:10px}.bottom-nav button.active{color:var(--gold)}
.hero{position:relative;overflow:hidden;border:1px solid #4b2d32;background:linear-gradient(145deg,#25161b,#111116 70%);border-radius:26px;padding:24px 20px;margin-bottom:16px} .hero:after{content:"";position:absolute;right:-18px;top:-26px;width:150px;height:150px;background:rgba(198,161,92,.075);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0v1H5v-1Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0v1H5v-1Z'/%3E%3C/svg%3E") center/contain no-repeat}.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--gold);font-weight:700}.hero h1{margin:7px 0 4px;font-size:30px;line-height:1.12}.hero p{margin:0;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:center;margin:24px 2px 11px}.section-head h2{font-size:20px;margin:0}.section-head button{border:0;background:none;color:var(--gold)}.card{background:rgba(21,21,26,.96);border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:12px}.card.clickable{transition:.15s}.card.clickable:active{transform:scale(.985)}.accent-card{border-color:#5a3138;background:linear-gradient(135deg,#25171b,var(--panel) 65%)}.event-title{font-size:21px;font-weight:780}.meta{color:var(--muted);font-size:14px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.stack{display:grid;gap:10px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.metric{background:var(--panel2);border:1px solid var(--line);border-radius:16px;padding:13px}.metric strong{font-size:23px;display:block}.metric small{color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:999px;padding:5px 9px;color:var(--muted);font-size:12px}.pill.green{color:#8adbad;border-color:#285f42}.pill.red{color:#ef8a94;border-color:#69303a}.pill.orange{color:#f1bd78;border-color:#694d29}.pill.gold{color:#e3c58c;border-color:#695836}.btn{border:0;border-radius:14px;background:var(--red);color:white;font-weight:720;padding:13px 15px;min-height:48px}.btn.secondary{background:var(--panel2);border:1px solid var(--line);color:var(--text)}.btn.gold{background:var(--gold);color:#17120b}.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--text)}.btn.danger{background:#50151c}.btn:disabled{opacity:.45;cursor:not-allowed}.full{width:100%}.compact{padding:8px 11px;min-height:38px;font-size:14px}.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.status-btn{border:1px solid var(--line);background:var(--panel2);border-radius:15px;padding:13px 5px;color:var(--text);font-weight:700}.status-btn.coming{border-color:#2d6c4a}.status-btn.no{border-color:#71313a}.status-btn.maybe{border-color:#71532c}.avatar{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#8f1e29,#2b151a);font-weight:850;color:white;flex:0 0 auto}.avatar.small{width:34px;height:34px;border-radius:11px}.people-strip{display:flex;gap:11px;overflow:auto;padding-bottom:4px;scrollbar-width:none}.people-strip::-webkit-scrollbar{display:none}.person-mini{min-width:90px;text-align:center}.person-mini .avatar{margin:0 auto 6px}.person-mini b{display:block;font-size:13px}.person-mini small{font-size:10px;color:var(--muted)}.list{display:grid;gap:8px}.list-item{display:flex;gap:12px;align-items:center;border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:12px}.progress{height:9px;background:#24242a;border-radius:999px;overflow:hidden}.progress>span{height:100%;display:block;background:linear-gradient(90deg,var(--red),var(--gold));border-radius:inherit}label.field{display:grid;gap:6px;margin:12px 0;color:var(--muted);font-size:14px}.input{width:100%;background:#0f0f13;border:1px solid var(--line);border-radius:13px;padding:12px;color:var(--text);outline:none}.input:focus{border-color:var(--gold)}textarea.input{min-height:86px;resize:vertical}.check{display:flex;align-items:flex-start;gap:9px;margin:12px 0;color:var(--muted)}.check input{width:20px;height:20px}.tabs{display:flex;gap:7px;overflow:auto;padding-bottom:8px}.tabs button{white-space:nowrap;border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:999px;padding:8px 12px}.tabs button.active{background:var(--gold);color:#17120b;border-color:var(--gold)}.empty{text-align:center;padding:34px 16px;color:var(--muted)}.empty .big{font-size:46px;opacity:.75}.notice{border-left:3px solid var(--gold);background:#1c1914;padding:11px 13px;border-radius:0 12px 12px 0;color:#d9c9ab;font-size:13px}
.player-card{position:relative;overflow:hidden;aspect-ratio:1.58/1;border-radius:25px;background:radial-gradient(circle at 15% 10%,#52212a,#151218 45%,#08080a);border:1px solid #705744;padding:21px}.player-card:after{content:"♛";position:absolute;right:10px;bottom:-28px;font-size:145px;color:rgba(198,161,92,.08)}.player-card .nick{font-size:29px;font-weight:900}.player-card .rank{color:var(--gold);letter-spacing:.1em;font-size:11px}.player-card .stats{position:absolute;left:21px;right:21px;bottom:19px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.player-card .stats div{border-left:1px solid #5a4a37;padding-left:9px}.player-card .stats b{display:block;font-size:20px}.player-card .stats small{color:var(--muted);font-size:10px}.table-board{display:grid;gap:12px}.mafia-table{border:1px solid #594634;border-radius:22px;background:radial-gradient(ellipse at center,#382b1d,#17151a 68%);padding:16px}.seat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:12px}.seat{background:#111116;border:1px solid #493c2c;border-radius:13px;padding:8px 4px;text-align:center;font-size:11px}.seat b{display:block;color:var(--gold)}.result-poster{background:linear-gradient(145deg,#461822,#131116 60%);border:1px solid #765444;border-radius:24px;padding:22px;text-align:center}.score{font-size:45px;font-weight:900;letter-spacing:.08em}.winner{color:var(--gold);font-weight:800}dialog{width:min(620px,calc(100% - 22px));max-height:88vh;border:1px solid var(--line);border-radius:24px;background:#141419;color:var(--text);padding:0;box-shadow:0 24px 80px #0009}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}#modal-content{padding:20px;overflow:auto;max-height:88vh}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.modal-head h2{margin:0}.close{border:0;background:var(--panel2);color:var(--text);width:36px;height:36px;border-radius:12px}.toast{position:fixed;z-index:100;left:50%;bottom:calc(84px + var(--safe-bottom));transform:translate(-50%,20px);background:#24242b;border:1px solid #44434b;border-radius:14px;padding:11px 15px;opacity:0;pointer-events:none;transition:.25s;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.qr-wrap{display:grid;place-items:center;background:white;border-radius:18px;padding:14px;width:max-content;margin:12px auto}.qr-wrap canvas{max-width:220px;height:auto!important}.hidden{display:none!important}.danger-text{color:#ef7e89}.gold-text{color:var(--gold)}
@media(min-width:700px){main{padding-top:28px}.dashboard{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.bottom-nav{left:50%;transform:translateX(-50%);max-width:680px;border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0}.hero h1{font-size:38px}}@media(max-width:420px){.status-grid{grid-template-columns:1fr}.grid3{grid-template-columns:1fr 1fr}.seat-grid{grid-template-columns:repeat(2,1fr)}.player-card .nick{font-size:25px}}

/* DOMUS CLUB V2 */
.notification-btn{position:relative}.notification-count{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--red);color:white;border:2px solid var(--bg);font-size:10px;font-weight:850;display:grid;place-items:center}.level-card{background:linear-gradient(145deg,#20161a,#121217);border:1px solid #5e4632;border-radius:20px;padding:16px;margin:12px 0}.level-ring{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--gold) var(--level-progress,50%),#29252a 0);position:relative;flex:0 0 auto}.level-ring:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#151419}.level-ring strong{position:relative;z-index:1;color:var(--gold);font-size:20px}.xp-track{height:10px;background:#29262b;border-radius:999px;overflow:hidden;margin-top:9px}.xp-track span{display:block;height:100%;background:linear-gradient(90deg,var(--red),var(--gold));border-radius:inherit}.achievement-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.achievement{position:relative;border:1px solid var(--line);background:var(--panel);border-radius:17px;padding:13px;min-height:122px}.achievement.locked{filter:saturate(.3);opacity:.58}.achievement .badge-icon{font-size:29px;display:block;margin-bottom:5px}.achievement b{display:block}.achievement small{color:var(--muted);display:block;margin-top:3px}.achievement .progress-mini{height:6px;background:#2c2930;border-radius:999px;overflow:hidden;margin-top:9px}.achievement .progress-mini span{display:block;height:100%;background:var(--gold)}.leader-row{display:grid;grid-template-columns:34px 42px 1fr auto;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.leader-pos{font-weight:900;color:var(--gold);text-align:center}.leader-row.me{border-color:var(--gold);background:linear-gradient(100deg,#2a2018,var(--panel))}.score-label{font-weight:850}.friend-mark{font-size:16px;color:var(--gold)}.thanks-chip{display:inline-flex;gap:5px;align-items:center;font-size:12px;color:#e9c983}.timeline-row{display:grid;grid-template-columns:52px 1fr 36px;align-items:center;gap:8px;margin:8px 0}.timeline-bar{height:9px;border-radius:999px;background:#28262b;overflow:hidden}.timeline-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--red),var(--gold))}.analytics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.analytics-alert{border:1px solid #6a3b31;background:#221816;border-radius:15px;padding:12px}.notification-item{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--panel);margin-bottom:8px}.notification-item.unread{border-color:#6e5836;background:#211d17}.notification-icon{width:36px;height:36px;border-radius:11px;background:#2b2022;display:grid;place-items:center}.history-row{display:flex;align-items:center;gap:11px;border-left:2px solid #59472f;padding:5px 0 5px 13px;margin:9px 0}.history-dot{width:10px;height:10px;border-radius:50%;background:var(--gold);margin-left:-19px;border:2px solid var(--panel)}.challenge{border:1px dashed #65573c;border-radius:17px;padding:14px;background:#1a1815}.community-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.community-tabs button{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:13px;padding:10px 5px}.community-tabs button.active{background:var(--gold);color:#17120b;border-color:var(--gold);font-weight:750}.club-title{color:var(--gold);font-size:12px;letter-spacing:.12em}.compact-list .list-item{padding:9px}.gold-outline{border-color:#655335!important}.rank-medal{font-size:20px}.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
@media(min-width:700px){.achievement-grid{grid-template-columns:repeat(4,1fr)}.analytics-grid{grid-template-columns:repeat(4,1fr)}}


/* DOMUS CLUB V3 — игровая арена и турниры */
.tournament-badge{display:inline-flex;margin-bottom:7px}.arena-summary,.arena-panel{overflow:hidden}.match-list{display:grid;gap:8px;margin-top:12px}.match-mini{width:100%;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;text-align:left;border:1px solid var(--line);background:#111116;color:var(--text);padding:10px;border-radius:15px}.match-mini small{display:block;color:var(--muted);margin-top:2px}.match-table{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#30251a;color:var(--gold);font-size:20px;font-weight:900}.match-state{font-size:11px;font-weight:900;border-radius:999px;padding:5px 8px;background:#2b2930}.match-state.live{background:#771d29;color:white;animation:pulse-live 1.4s infinite}.match-state.completed{background:#19442f;color:#a7e7c2}@keyframes pulse-live{50%{opacity:.55}}
.arena-hero,.match-console-head{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #5e4632;background:linear-gradient(135deg,#21181b,#111116);border-radius:19px;padding:15px}.match-clock{font-size:36px;font-weight:900;font-variant-numeric:tabular-nums;margin-top:8px}.winner-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.winner-buttons button{border:1px solid var(--line);background:#222229;color:var(--muted);border-radius:12px;padding:10px}.winner-buttons button.active{background:var(--gold);color:#17120b;border-color:var(--gold);font-weight:850}
.console-players{display:grid;gap:7px;margin:12px 0}.console-player{display:grid;grid-template-columns:32px 34px minmax(130px,1fr) 68px 58px 35px;gap:7px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:8px;background:#111116}.seat-number{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#342719;color:var(--gold);font-weight:900}.console-player label{font-size:10px;color:var(--muted);display:grid;gap:3px}.console-player input,.mini-select{width:100%;min-width:0;border:1px solid var(--line);background:#0b0b0e;color:var(--text);border-radius:9px;padding:7px}.best-check input{width:19px;height:19px}.best-check span{color:var(--gold);font-size:18px}.mini-select{margin-top:4px}
.role-filter{display:flex;gap:7px;overflow:auto;padding-bottom:9px}.role-filter button{white-space:nowrap;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--muted);padding:9px 12px}.role-filter button.active{background:var(--gold);color:#17120b;border-color:var(--gold);font-weight:800}.role-head{background:linear-gradient(135deg,#271b20,#131318)}.role-leader{grid-template-columns:34px 42px 1fr auto}.role-score{text-align:right}.role-score strong,.role-score small{display:block}.role-score strong{color:var(--gold)}.role-score small{font-size:10px;color:var(--muted)}.role-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.role-stats article{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;border:1px solid var(--line);background:var(--panel);border-radius:15px;padding:11px}.role-stats article>span{font-size:21px;color:var(--gold)}.role-stats article>small{grid-column:2/4;color:var(--muted)}
.standings-card{padding:8px}.standing-row{display:grid;grid-template-columns:28px 34px 1fr auto;gap:9px;align-items:center;padding:9px;border-bottom:1px solid var(--line)}.standing-row:last-child{border-bottom:0}.standing-row>strong{color:var(--gold);text-align:center}.standing-points{text-align:right;font-weight:900;font-size:18px}.standing-points small{display:block;font-size:9px;color:var(--muted);font-weight:600}.v3-tabs{grid-template-columns:repeat(4,1fr)}
body.tv-mode{background:#050507}body.tv-mode main{max-width:none;padding:0;min-height:100vh}.tv-screen{min-height:100vh;padding:clamp(22px,4vw,60px);background:radial-gradient(circle at 20% 0,#431923,#0a090c 45%,#030304);color:white}.tv-screen header{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;border-bottom:1px solid #594634;padding-bottom:25px}.tv-screen h1{font-size:clamp(35px,5vw,82px);margin:8px 0}.tv-clock{font-size:clamp(42px,7vw,100px);font-weight:900;color:var(--gold);font-variant-numeric:tabular-nums}.tv-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0}.tv-metrics div{border:1px solid #4d4030;background:#171419;border-radius:20px;padding:20px;text-align:center}.tv-metrics strong,.tv-metrics span{display:block}.tv-metrics strong{font-size:clamp(34px,5vw,68px);color:var(--gold)}.tv-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:25px}.tv-grid h2{font-size:clamp(25px,3vw,46px)}.tv-matches{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tv-match{display:grid;border:1px solid #4f4537;border-radius:20px;padding:18px;background:#111116}.tv-match span{color:var(--gold);font-weight:850}.tv-match b{font-size:clamp(25px,4vw,50px);margin:8px 0}.tv-match small{color:#aaa5a0}.tv-match.live{border-color:#9b2634;box-shadow:inset 0 0 40px #6a182622}.tv-people{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tv-people>div{display:flex;align-items:center;gap:8px;border:1px solid #3c3840;border-radius:14px;padding:9px}.tv-exit{position:fixed;right:16px;bottom:16px;border:1px solid #ffffff33;background:#0008;color:white;border-radius:12px;padding:9px 12px;opacity:.45}.tv-exit:hover{opacity:1}
@media(max-width:620px){.console-player{grid-template-columns:30px 34px 1fr 56px}.console-player label:nth-of-type(2),.console-player .best-check{grid-column:auto}.console-player label{font-size:9px}.v3-tabs{grid-template-columns:repeat(2,1fr)}.role-stats{grid-template-columns:1fr}.tv-grid{grid-template-columns:1fr}.tv-matches{grid-template-columns:1fr}.tv-metrics{grid-template-columns:repeat(2,1fr)}}

/* DOMUS CLUB V4 — AUTH */
.auth-card{width:min(460px,100%)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#101014;border:1px solid var(--line);border-radius:14px;padding:5px;margin:14px 0}.auth-tabs button{border:0;border-radius:10px;background:transparent;color:var(--muted);padding:10px;font-weight:750}.auth-tabs button.active{background:var(--gold);color:#17120b}.auth-tabs button:disabled{opacity:.4}.password-wrap{position:relative}.password-wrap .input{padding-right:92px}.password-toggle{position:absolute;right:7px;top:6px;height:36px;border:0;border-radius:9px;background:#25252c;color:var(--muted);padding:0 10px}.password-hint,.auth-caption{font-size:12px;color:var(--muted);margin:4px 0 12px}.text-btn{border:0;background:transparent;color:var(--gold);padding:11px}.auth-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:16px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.oauth-grid{display:grid;gap:8px}.oauth-btn{display:grid;grid-template-columns:36px 1fr auto;align-items:center;text-align:left;background:var(--panel2);border:1px solid var(--line);color:var(--text)}.oauth-btn span{font-size:20px;text-align:center}.oauth-btn small{font-size:10px;color:var(--muted)}.oauth-disabled{opacity:.45}.security-box{border:1px solid #4b3d27;background:#1c1914;border-radius:14px;padding:13px;margin-top:16px}.security-box h3{margin:0 0 4px}

/* DOMUS CLUB V4.2 — INVITES & MEMBERSHIP */
.invite-input{text-transform:uppercase;letter-spacing:.08em;font-weight:800}.invite-hint{font-size:12px;color:var(--muted);margin:-6px 0 12px}.membership-gate{max-width:620px;margin:40px auto}.club-access-card{border-color:#725a2e;background:linear-gradient(145deg,#201a12,#17171c 60%)}.compact-head{margin-top:16px}.compact-list .list-item{padding:10px}.invite-code-card{padding:26px;border:1px solid var(--gold);border-radius:18px;text-align:center;background:radial-gradient(circle at top,#3a2e1a,#131316 70%);margin-bottom:14px}.invite-code{font-size:clamp(28px,7vw,48px);font-weight:950;letter-spacing:.08em;color:var(--gold);margin:16px 0;user-select:all}.btn.green{background:#1f7a4d;color:white}.btn.danger.compact{background:#762936}

/* DOMUS CLUB V4.3 */
.invite-input{text-transform:uppercase;letter-spacing:.08em;font-weight:800}.invite-hint{font-size:12px;color:var(--muted);margin:-6px 0 12px}.membership-gate{max-width:620px;margin:40px auto}.club-access-card{border-color:#725a2e;background:linear-gradient(145deg,#201a12,#17171c 60%)}.club-access-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.compact-head{margin-top:16px}.compact-list .list-item{padding:10px}.invite-code-card{padding:26px;border:1px solid var(--gold);border-radius:18px;text-align:center;background:radial-gradient(circle at top,#3a2e1a,#131316 70%);margin-bottom:14px}.invite-code{font-size:clamp(28px,7vw,48px);font-weight:950;letter-spacing:.08em;color:var(--gold);margin:16px 0;user-select:all}.invite-qr{display:grid;place-items:center;min-height:204px;margin:8px auto 12px}.invite-qr canvas,.invite-qr img{background:#fff;border-radius:14px;padding:8px}.invite-link{font-size:11px;line-height:1.35;word-break:break-all;color:var(--muted);border:1px solid var(--line);border-radius:10px;padding:9px;background:#0f0f13}.invite-manager-row{gap:8px}.icon-btn{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--text)}.icon-btn.danger{background:#3a171d}.member-admin-list{display:grid;gap:10px;max-height:65vh;overflow:auto}.member-admin-card{border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--panel2)}.member-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin-top:10px}.timeline{display:grid;gap:0;max-height:68vh;overflow:auto}.timeline-item{display:grid;grid-template-columns:18px 1fr;gap:10px;padding:10px 0;position:relative}.timeline-item:not(:last-child):before{content:"";position:absolute;left:6px;top:22px;bottom:-5px;width:2px;background:var(--line)}.timeline-dot{width:14px;height:14px;border-radius:50%;background:var(--gold);margin-top:3px;z-index:1}.audit-details{white-space:pre-wrap;word-break:break-word;font-size:10px;color:var(--muted);background:#0d0d10;border-radius:8px;padding:7px;margin:5px 0 0}.btn.green{background:#1f7a4d;color:white}
@media(max-width:700px){.club-access-actions{grid-template-columns:1fr 1fr}.member-actions{grid-template-columns:1fr}.invite-manager-row{flex-wrap:wrap}}

/* Local Manager V3: visible update button */
.update-site-btn{height:40px;border-radius:13px;border:1px solid #6d5731;background:#211b12;color:#d7b66f;display:flex;align-items:center;gap:7px;padding:0 12px;font-weight:800;cursor:pointer}
.update-site-btn span{font-size:20px;line-height:1}.update-site-btn b{font-size:12px}
.update-site-btn:hover{border-color:#c6a15c;background:#2b2214}
@media(max-width:620px){.update-site-btn b{display:none}.update-site-btn{width:40px;padding:0;justify-content:center}}

/* DOMUS CLUB V4.4 — CHAT */
.chat-nav-btn{position:relative}.chat-nav-count{position:absolute;top:0;left:calc(50% + 9px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;border:2px solid #111116;font-style:normal;font-size:10px;font-weight:900;display:grid;place-items:center}.chat-nav-count[hidden]{display:none}
body:has(.chat-page) main{max-width:1500px;padding:12px 12px calc(94px + var(--safe-bottom))}.chat-page{height:calc(100vh - 150px);min-height:560px;display:grid;grid-template-columns:320px minmax(420px,1fr) 290px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#0c0c0f}.chat-sidebar,.chat-info{background:linear-gradient(180deg,#111115,#0d0d10)}.chat-sidebar{border-right:1px solid var(--line);min-width:0}.chat-side-head{height:72px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}.chat-side-head h1{margin:0;font-size:24px}.chat-side-head small{color:var(--muted);font-size:11px}.chat-side-head button,.chat-header>button,.chat-composer>button{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:12px}.chat-side-head button{width:38px;height:38px;font-size:22px}.chat-search{margin:0 14px 10px;height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);background:#0c0c10;border-radius:14px}.chat-search span{color:var(--muted)}.chat-search input{border:0;outline:0;background:transparent;color:var(--text);width:100%}.chat-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 14px 11px}.chat-filters button{border:1px solid var(--line);background:#15151a;color:var(--muted);border-radius:999px;padding:8px}.chat-filters button.active{border-color:#7a343d;background:#34171d;color:#e8c783}.chat-list{height:calc(100% - 166px);overflow:auto;padding:0 8px 12px}.chat-thread{width:100%;display:grid;grid-template-columns:48px 1fr;gap:10px;text-align:left;border:1px solid transparent;background:transparent;color:var(--text);border-radius:16px;padding:10px;margin:2px 0}.chat-thread:hover{background:#15151a}.chat-thread.active{border-color:#67482f;background:linear-gradient(120deg,#24191b,#32151c88)}.chat-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#5b232b,#25181b);border:1px solid #6c3a40;font-weight:900;color:#f0d9c2}.chat-avatar.group{background:#101014;border-color:var(--gold);color:var(--gold);font:800 26px Georgia,serif}.chat-thread-copy{min-width:0}.chat-thread-top,.chat-thread-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-thread-top b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-top small{font-size:11px;color:var(--muted);flex:0 0 auto}.chat-thread-bottom{margin-top:4px}.chat-thread-bottom em{font-style:normal;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-bottom i{font-style:normal;background:var(--red);color:#fff;min-width:21px;height:21px;padding:0 6px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:900;flex:0 0 auto}
.chat-center{display:grid;grid-template-rows:72px 1fr auto auto;min-width:0;background:radial-gradient(circle at 50% 20%,#171217,#09090b 63%)}.chat-header{display:flex;align-items:center;gap:11px;padding:10px 16px;border-bottom:1px solid var(--line);background:#0e0e12cc}.chat-header b,.chat-header small{display:block}.chat-header small{color:var(--muted);font-size:12px;margin-top:2px}.chat-header>button{width:38px;height:38px}.chat-mobile-back{display:none}.chat-messages{overflow:auto;padding:18px 20px}.chat-day{text-align:center;margin:7px 0 16px}.chat-day span{display:inline-block;border:1px solid var(--line);background:#111116;border-radius:999px;padding:5px 10px;color:var(--muted);font-size:11px}.chat-message-row{display:flex;align-items:flex-end;gap:8px;margin:10px 0}.chat-message-row.mine{justify-content:flex-end}.chat-mini-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid #5d383b;background:#28191c;font-weight:800;font-size:12px;flex:0 0 auto}.chat-message-wrap{max-width:min(72%,620px)}.chat-sender{font-size:12px;color:#e3505c;margin:0 0 4px 5px}.chat-bubble{background:#18181d;border:1px solid #303038;border-radius:17px 17px 17px 5px;padding:10px 12px;box-shadow:0 4px 20px #0002}.mine .chat-bubble{background:linear-gradient(135deg,#3a151c,#271318);border-color:#71303a;border-radius:17px 17px 5px 17px;color:#f2d39a}.chat-message-meta{display:flex;justify-content:flex-end;gap:6px;margin-top:5px;color:var(--muted);font-size:10px}.mine .chat-message-meta{color:#c79e60}.chat-message-actions{display:flex;gap:4px;opacity:0;transition:.15s;margin-top:4px}.chat-message-row:hover .chat-message-actions{opacity:1}.chat-message-actions button{border:1px solid var(--line);background:#121216;color:var(--muted);border-radius:999px;padding:3px 7px;font-size:11px}.chat-attachment{margin-top:8px;width:100%;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #4a3b3d;background:#111116aa;color:var(--text);border-radius:12px;padding:9px}.chat-attachment>span:first-child{font-size:24px;color:var(--gold)}.chat-attachment b,.chat-attachment small{display:block}.chat-attachment small{color:var(--muted);font-size:10px}.chat-composer{display:grid;grid-template-columns:42px 1fr 44px;align-items:end;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:#0d0d10}.chat-composer>button{width:42px;height:42px;font-size:20px}.chat-composer .chat-send{background:linear-gradient(145deg,#8d2632,#581720);border-color:#8c3440;color:white}.chat-composer textarea{min-height:42px;max-height:120px;resize:none;outline:0;border:1px solid var(--line);background:#15151a;color:var(--text);border-radius:16px;padding:10px 13px}.chat-file-name{padding:0 14px 9px;background:#0d0d10;color:var(--gold);font-size:11px}.chat-info{border-left:1px solid var(--line);overflow:auto}.chat-info-top{text-align:center;padding:24px 16px;border-bottom:1px solid var(--line)}.chat-info-top .chat-avatar{margin:0 auto 10px;width:70px;height:70px;font-size:28px}.chat-info-top h2{font-size:18px;margin:6px 0}.chat-info-top p{color:var(--muted);font-size:12px;margin:0}.chat-info-links{padding:10px}.chat-info-links button{width:100%;display:grid;grid-template-columns:26px 1fr auto;gap:8px;align-items:center;text-align:left;border:0;background:transparent;color:var(--text);padding:11px 7px;border-radius:11px}.chat-info-links button:hover{background:#18181d}.chat-info-links b{color:var(--gold);font-size:11px}.chat-members{border-top:1px solid var(--line);padding:14px}.chat-members>button{width:100%;display:flex;gap:9px;align-items:center;text-align:left;border:0;background:transparent;color:var(--text);padding:7px;border-radius:11px}.chat-members>button:hover{background:#18181d}.chat-members>button span:last-child b,.chat-members>button span:last-child small{display:block}.chat-members>button span:last-child small{color:var(--muted);font-size:10px}.chat-loading{min-height:55vh;display:grid;place-items:center;align-content:center;gap:12px;color:var(--muted)}.chat-spinner{width:34px;height:34px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--gold);animation:chatspin .8s linear infinite}@keyframes chatspin{to{transform:rotate(360deg)}}.chat-person-list{max-height:55vh;overflow:auto}.chat-person-choice{width:100%;display:flex;gap:10px;align-items:center;text-align:left;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:14px;padding:9px}.chat-person-choice span:last-child b,.chat-person-choice span:last-child small{display:block}.chat-person-choice small{color:var(--muted)}
@media(max-width:1050px){.chat-page{grid-template-columns:290px 1fr}.chat-info{position:absolute;right:12px;top:84px;bottom:94px;width:min(320px,calc(100% - 24px));z-index:22;display:none;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 60px #000b}.chat-info.open{display:block}}
@media(max-width:720px){body:has(.chat-page) main{padding:0 0 calc(78px + var(--safe-bottom));}.chat-page{height:calc(100vh - 124px);min-height:480px;border:0;border-radius:0;display:block;position:relative;overflow:hidden}.chat-sidebar,.chat-center{position:absolute;inset:0}.chat-sidebar{border:0}.chat-center{transform:translateX(100%);transition:.18s;z-index:3}.chat-page.mobile-open .chat-center{transform:translateX(0)}.chat-mobile-back{display:block!important}.chat-side-head{height:64px}.chat-list{height:calc(100% - 158px)}.chat-header{height:64px}.chat-center{grid-template-rows:64px 1fr auto auto}.chat-message-wrap{max-width:84%}.chat-messages{padding:14px 10px}.chat-message-actions{opacity:1}.chat-info{top:74px;bottom:82px}.bottom-nav button small{font-size:9px}}


/* DOMUS CLUB V4.5 — VK VIDEO / DOMUS TV */
.video-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;flex-wrap:wrap}.video-tabs{display:flex;gap:7px;overflow:auto;padding:2px 0}.video-tabs button{white-space:nowrap;border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:999px;padding:8px 12px}.video-tabs button.active{background:#33181e;border-color:#71404a;color:#f1cf91}.video-hero{position:relative;min-height:390px;border:1px solid #5e482b;border-radius:24px;overflow:hidden;margin-bottom:24px;background:#0c0c0f;cursor:pointer}.video-hero .video-poster{position:absolute;inset:0;border:0;border-radius:0}.video-hero .video-poster:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08080be8 0%,#08080bb8 42%,#08080b25 75%),linear-gradient(0deg,#08080bd6 0%,transparent 60%)}.video-hero .video-play{right:12%;left:auto;top:50%;transform:translateY(-50%);z-index:2;width:82px;height:82px;font-size:30px}.video-hero .video-poster-mark{right:9%;left:auto;top:27%;z-index:2;font-size:28px}.video-hero-copy{position:relative;z-index:3;max-width:610px;padding:54px 46px}.video-hero-copy h1{font-size:clamp(30px,5vw,52px);margin:8px 0 14px}.video-hero-copy p{color:#c7c3be;font-size:16px;line-height:1.55;max-width:540px}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.video-card{position:relative;border:1px solid var(--line);background:linear-gradient(160deg,#151519,#0e0e11);border-radius:18px;overflow:hidden;cursor:pointer;transition:.18s}.video-card:hover{transform:translateY(-2px);border-color:#6a5030}.video-poster{position:relative;aspect-ratio:16/9;background:radial-gradient(circle at 70% 25%,#5b252c 0,#27171b 30%,#0d0d10 70%);background-size:cover;background-position:center;overflow:hidden}.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;display:grid;place-items:center;padding-left:4px;background:#a82735dd;color:white;border:1px solid #d36b72;box-shadow:0 10px 35px #0008;font-size:20px}.video-poster-mark{position:absolute;left:16px;bottom:14px;color:#e7c37f;font-size:18px;font-weight:900;letter-spacing:.08em}.video-poster-mark b{color:#b83a45}.video-card-copy{padding:14px}.video-card-copy h3{font-size:17px;margin:10px 0 7px}.video-card-copy p{color:var(--muted);font-size:13px;line-height:1.45;min-height:38px;margin:0 0 10px}.video-card-copy small{color:#8c8990}.video-featured{font-size:10px;color:var(--gold)}.video-card-menu{position:absolute;right:9px;top:9px;z-index:4;border:1px solid #5f5050;background:#0b0b0dcc;color:white;border-radius:10px;width:34px;height:32px}.video-player-wrap{aspect-ratio:16/9;background:#000;border-radius:16px;overflow:hidden}.video-player-wrap iframe{width:100%;height:100%;border:0}.video-player-fallback{text-align:center}.video-player-fallback .video-poster{border-radius:16px}.video-player-fallback p{color:var(--muted)}.video-setup-note{margin-top:18px;border-color:#604c2c}.video-setup-note p{margin-bottom:0}
@media(max-width:980px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-hero{min-height:340px}.video-hero-copy{padding:38px 28px;max-width:58%}.video-hero .video-play{right:13%}}
@media(max-width:640px){.video-toolbar{align-items:stretch}.video-tabs{width:100%}.video-grid{grid-template-columns:1fr}.video-hero{min-height:430px}.video-hero-copy{max-width:none;padding:210px 20px 24px}.video-hero .video-poster:after{background:linear-gradient(0deg,#08080bf4 0%,#08080bca 52%,#08080b22 100%)}.video-hero .video-play{left:50%;right:auto;top:27%;transform:translate(-50%,-50%);width:68px;height:68px}.video-hero .video-poster-mark{left:18px;right:auto;top:18px}.video-hero-copy h1{font-size:28px}.video-card-copy p{min-height:0}}

.video-channels{margin:0 0 20px}.video-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.video-channel-card{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #5e482b;background:linear-gradient(145deg,#17151a,#0d0d10);color:var(--text);border-radius:18px;padding:16px;cursor:pointer;transition:.18s}.video-channel-card:hover{transform:translateY(-2px);border-color:#9a7640}.video-channel-mark{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex:0 0 48px;background:#27171b;border:1px solid #7b5a32;color:#e7c37f;font-weight:900;font-size:20px}.video-channel-card span:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}.video-channel-card b{font-size:16px}.video-channel-card small{margin-top:4px;color:var(--muted)}.video-channel-card i{font-style:normal;color:var(--gold);font-size:12px;white-space:nowrap}@media(max-width:640px){.video-channel-grid{grid-template-columns:1fr}.video-channel-card{padding:14px}.video-channel-mark{width:44px;height:44px;flex-basis:44px}}

/* DOMUS CLUB V4.6 — GAME CENTER / RATING */
.org-game-center-v46{margin:14px 0 18px;display:grid;gap:10px}.conduct-game-v46{width:100%;display:grid;grid-template-columns:58px 1fr 28px;align-items:center;gap:12px;text-align:left;border:1px solid #8a6834;border-radius:20px;padding:15px;background:linear-gradient(135deg,#3d131a 0%,#211416 46%,#17151a 100%);color:var(--text)}.conduct-game-v46:hover{border-color:var(--gold)}.conduct-icon-v46{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#b5904f;color:#17120b;font-size:28px;font-weight:900}.conduct-game-v46 small{display:block;color:var(--gold);font-size:10px;letter-spacing:.12em;font-weight:800}.conduct-game-v46 b{display:block;font-size:22px;margin:2px 0}.conduct-game-v46 em{display:block;color:var(--muted);font-size:12px;font-style:normal}.conduct-game-v46 i{font-size:26px;color:var(--gold);font-style:normal}.org-quick-grid-v46{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.org-quick-v46{display:grid;gap:4px;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);padding:12px}.org-quick-v46>span{font-size:21px}.org-quick-v46 b{font-size:13px}.org-quick-v46 small{color:var(--muted);font-size:10px}.club-rating-preview-v46{margin:0}.text-action-v46{border:0;background:none;color:var(--gold);font-weight:800}.rating-mini-list-v46,.rating-full-list-v46{display:grid;gap:7px;margin-top:11px}.rating-row-v46{display:grid;grid-template-columns:34px 36px 1fr auto;gap:9px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:13px;background:#111116}.rating-row-v46.me{border-color:#735c37;background:#201b14}.rating-pos-v46{text-align:center}.rating-row-v46 small{display:block;color:var(--muted);font-size:10px}.rating-score-v46{text-align:right}.rating-score-v46 b{color:var(--gold);font-size:18px}.rating-summary-v46,.conduct-info-v46{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.rating-summary-v46>div,.conduct-info-v46>div{border:1px solid var(--line);border-radius:14px;background:var(--panel2);padding:10px;text-align:center}.rating-summary-v46 b,.conduct-info-v46 b{display:block;color:var(--gold);font-size:18px}.rating-summary-v46 small,.conduct-info-v46 small{display:block;color:var(--muted);font-size:10px}.conduct-seats-v46{display:grid;gap:7px;margin-bottom:12px}.conduct-seat-v46{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:8px}.conduct-seat-v46>span{width:32px;height:32px;border-radius:10px;background:#2c2419;color:var(--gold);display:grid;place-items:center;font-weight:900}.conduct-seat-v46 .input{margin:0}.conduct-start-v46{margin-top:10px}
@media(max-width:560px){.org-quick-grid-v46{grid-template-columns:1fr}.conduct-game-v46{grid-template-columns:50px 1fr 20px;padding:12px}.conduct-icon-v46{width:46px;height:46px}.conduct-game-v46 b{font-size:19px}.rating-summary-v46,.conduct-info-v46{grid-template-columns:repeat(3,1fr)}.rating-row-v46{grid-template-columns:30px 34px 1fr auto}}


/* DOMUS CLUB V4.7 */
.signup-off-v47{margin-top:14px}.signup-switch-v47{margin:14px 0}.signup-switch-v47 .form-check-label{display:flex;flex-direction:column;gap:3px}.signup-switch-v47 small{color:var(--muted)}
.org-comms-v47{margin:18px 0 26px}.segment-grid-v47{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.segment-card-v47{border:1px solid var(--line);background:var(--card);border-radius:16px;padding:14px;text-align:left;color:var(--text);display:grid;gap:5px}.segment-card-v47 strong{font-size:26px;color:var(--gold)}.segment-card-v47 small{color:var(--muted)}.segment-card-v47:hover{border-color:rgba(198,161,92,.55)}
.broadcast-v47{width:100%;display:flex;align-items:center;gap:14px;margin-top:10px;padding:15px 17px;border:1px solid rgba(198,161,92,.45);background:linear-gradient(135deg,rgba(198,161,92,.13),rgba(91,27,40,.18));border-radius:18px;color:var(--text);text-align:left}.broadcast-v47>span{font-size:24px;color:var(--gold)}.broadcast-v47 div{display:grid;gap:3px;flex:1}.broadcast-v47 small{color:var(--muted)}.broadcast-v47 i{color:var(--gold);font-style:normal;font-size:22px}
.segment-player-v47{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.segment-player-v47 .segment-select-v47{width:190px}.segment-player-v47 small{display:block;color:var(--muted);margin-top:2px}.broadcast-modes-v47{display:grid;gap:8px;margin-bottom:12px}.broadcast-player-list-v47{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:8px}.broadcast-player-v47{padding:7px}.broadcast-player-v47 small{display:block;color:var(--muted)}
@media(max-width:640px){.segment-grid-v47{grid-template-columns:1fr}.segment-player-v47{align-items:flex-start}.segment-player-v47 .segment-select-v47{width:145px;font-size:13px}.bottom-nav button[hidden]{display:none!important}.bottom-nav{grid-template-columns:repeat(4,1fr)}}
/* DOMUS V4.7.1 — independent player tags */
.group-summary-v471{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 14px}.group-summary-v471 span{border:1px solid var(--line);border-radius:12px;padding:9px 10px;color:var(--muted);font-size:12px}.group-summary-v471 b{display:block;color:var(--gold);font-size:18px;margin-top:2px}.player-tags-v471{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tag-check-v471{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:7px 9px;font-size:12px;cursor:pointer}.tag-check-v471 input{accent-color:#c6a15c}.tag-check-v471:has(input:checked){border-color:rgba(198,161,92,.7);background:rgba(198,161,92,.08);color:var(--gold)}
@media(max-width:640px){.group-summary-v471{grid-template-columns:repeat(3,1fr)}.player-tags-v471{width:100%;justify-content:flex-start;margin-top:6px}.segment-player-v47{flex-wrap:wrap}}

/* V4.7.5 — LIVE */
.video-live-badge{position:absolute;z-index:5;left:12px;top:12px;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#d81f35;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em;box-shadow:0 8px 24px #0008}.video-live-badge i{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 #fff8;animation:domusLivePulse 1.4s infinite}.video-poster.is-live{outline:1px solid #d81f3566;outline-offset:-1px}.live-eyebrow{color:#ff5a6b!important}.video-live-toggle{margin:12px 0;padding:12px 14px;border:1px solid #5c2630;border-radius:14px;background:#2a1015}.video-live-toggle .form-check-label{display:grid;gap:2px}.video-live-toggle small{color:#c58a93;font-weight:400}@keyframes domusLivePulse{70%{box-shadow:0 0 0 7px #fff0}100%{box-shadow:0 0 0 0 #fff0}}

/* ================= DOMUS CLUB V4.8 — GAME PROTOCOL ================= */
#modal:has(.v48-modal-head){width:min(1240px,calc(100vw - 20px));max-width:1240px}
.v48-topbar{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:12px;align-items:stretch;padding:12px;border:1px solid #40362d;border-radius:18px;background:linear-gradient(135deg,#1a1714,#111115);margin-bottom:10px}
.v48-status-block{display:grid;gap:8px}.v48-best-hint{margin:8px 0 12px;color:#a39d93;font-size:12px}
.v48-result,.v48-timer,.v48-status-block{border:1px solid #302a24;background:#121216;border-radius:14px;padding:10px}.v48-result small,.v48-timer small{display:block;color:#a39d93;margin-bottom:6px}
.v48-result button,.v48-timer button,.v48-fouls button,.v48-add-candidates button,.v48-vote-numbers button,.v48-tie-actions button{border:1px solid var(--line);background:#17171c;color:#e7e3dc;border-radius:10px;min-height:38px;padding:8px 12px}
.v48-winner-buttons{display:flex;gap:8px;flex-wrap:wrap}.v48-winner-buttons button.active{background:#c6a15c;border-color:#d4b277;color:#151515}
.v48-timer{text-align:center}.v48-timer strong{display:block;font-size:46px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.03em}.v48-timer>div{display:flex;justify-content:center;gap:8px;margin-top:8px}.v48-hide-roles{display:flex;align-items:center;gap:8px;color:#c5c0b9;margin-top:8px}.v48-hide-roles input{width:18px;height:18px}
.v48-role-counts{display:flex;gap:8px;flex-wrap:wrap}.v48-role-counts span{border:1px solid #343139;background:#17171c;border-radius:999px;padding:6px 10px;color:#aaa5a0}.v48-role-counts b{color:#f5f2eb}
.v48-table{border:1px solid #353139;border-radius:16px;overflow:hidden;background:#101014}.v48-player-head,.v48-player-row{display:grid;grid-template-columns:42px minmax(170px,1.5fr) 112px 118px 130px 78px 78px 78px;align-items:center;gap:8px}.v48-player-head{padding:8px 10px;background:#18171c;color:#8f8b8a;font-size:11px;font-weight:800;text-transform:uppercase}.v48-player-row{padding:8px 10px;border-top:1px solid #29272e;min-height:56px}.v48-player-row.is-out{background:rgba(255,255,255,.018)}.v48-player-row.is-out .v48-player-name,.v48-player-row.is-out .v48-fouls,.v48-player-row.is-out .v48-role,.v48-player-row.is-out .v48-role-hidden,.v48-player-row.is-out .v48-score{opacity:.42}.v48-player-row.is-out .v48-best-cell{opacity:1}.v48-cell{min-width:0}.v48-mobile-label{display:none}.v48-seat{font-weight:900;text-align:center;color:#c6a15c}.v48-player-name{display:flex;align-items:center}.v48-player-name b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v48-player-name small:last-child{display:block;color:#77737a;font-size:10px;margin-top:2px}.v48-fouls{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;text-align:center}.v48-fouls strong{font-variant-numeric:tabular-nums}.v48-fouls button{padding:0;min-height:34px}.v48-best-move-seat,.v48-role,.v48-score{width:100%;min-width:0;background:#15151a;border:1px solid #343139;color:#f5f2eb;border-radius:10px;padding:8px}.v48-role.is-hidden-role{color:#8e8a91}.v48-score{text-align:center;font-variant-numeric:tabular-nums}.v48-score.plus,.v48-score.minus,.v48-score.tech{border-color:#474451}
.v48-voting{margin-top:12px;border:1px solid #353139;border-radius:16px;background:#121216;padding:14px}.v48-section-head{display:flex;align-items:end;justify-content:space-between;gap:10px}.v48-section-head small{color:#c6a15c;font-weight:800;letter-spacing:.1em}.v48-section-head h3{margin:2px 0}.v48-section-head.history{margin-top:16px;align-items:center}.v48-add-candidates{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0}.v48-add-candidates span{color:#8f8b8a;margin-right:4px}.v48-add-candidates button{min-width:40px}.v48-vote-candidate{display:grid;grid-template-columns:120px 1fr 34px;gap:8px;align-items:center;border-top:1px solid #29272e;padding:8px 0}.v48-vote-candidate:first-child{border-top:0}.v48-vote-candidate strong{font-size:18px}.v48-vote-candidate small{display:block;color:#8f8b8a}.v48-vote-numbers{display:grid;grid-template-columns:repeat(11,minmax(31px,1fr));gap:4px}.v48-vote-numbers button{padding:0;min-height:34px}.v48-vote-numbers button.active{background:#c6a15c;border-color:#d4b277;color:#121216}.v48-remove-candidate{border:0;background:transparent;color:#817c82;font-size:22px}.v48-empty-vote{padding:18px;text-align:center;color:#77737a}.v48-tie-actions{display:flex;gap:8px;margin:8px 0}.v48-tie-actions button:first-child,.v48-tie-actions button:last-child{background:#1a1a20;color:#f5f2eb;border-color:#4a4440}.v48-vote-history{display:grid;gap:6px;margin-top:8px}.v48-vote-history-row{display:grid;grid-template-columns:34px 1fr;gap:8px;padding:8px;border:1px solid #2b2930;border-radius:10px}.v48-vote-history-row>strong{display:grid;place-items:center;background:#1e1d23;border-radius:8px}.v48-vote-history-row small{display:block;color:#8f8b8a;margin-top:2px}.v48-note{margin-top:12px}.v48-savebar{position:sticky;bottom:-14px;z-index:3;display:flex;align-items:center;gap:8px;margin:12px -14px -14px;padding:12px 14px;background:#101014ed;border-top:1px solid #36323a;backdrop-filter:blur(10px)}.v48-savebar span{margin-right:auto;color:#8f8b8a;font-size:12px}
@media(max-width:900px){#modal:has(.v48-modal-head){width:calc(100vw - 8px);max-width:none;margin:4px auto}.v48-modal-head h2{font-size:20px}.v48-topbar{grid-template-columns:1fr;padding:8px;gap:8px}.v48-timer strong{font-size:40px}.v48-table{border-radius:12px}.v48-player-head{display:none}.v48-player-row{grid-template-columns:34px repeat(3,minmax(0,1fr));gap:7px;padding:9px 8px;min-height:0}.v48-seat{grid-column:1;grid-row:1/4;padding-top:7px}.v48-player-name{grid-column:2/4;grid-row:1}.v48-player-name b{font-size:14px}.v48-player-row>.v48-cell:nth-child(5){grid-column:4;grid-row:1}.v48-player-row>.v48-cell:nth-child(3){grid-column:2/4;grid-row:2}.v48-player-row>.v48-cell:nth-child(4){grid-column:4;grid-row:2}.v48-player-row>.v48-cell:nth-child(6){grid-column:2;grid-row:3}.v48-player-row>.v48-cell:nth-child(7){grid-column:3;grid-row:3}.v48-player-row>.v48-cell:nth-child(8){grid-column:4;grid-row:3}.v48-mobile-label{display:block;color:#8f8b8a;font-size:9px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 3px}.v48-fouls{grid-template-columns:34px 1fr 34px}.v48-best-move-seat,.v48-role,.v48-score{padding:7px 6px;font-size:13px}.v48-voting{padding:10px}.v48-vote-candidate{grid-template-columns:1fr}.v48-vote-numbers{grid-template-columns:repeat(6,1fr)}.v48-vote-numbers button{min-height:40px}.v48-add-candidates button{min-width:42px;min-height:42px}.v48-savebar{flex-wrap:wrap}.v48-savebar span,.v48-savebar button{width:100%}.v48-savebar button{min-height:46px}}
/* ================= END DOMUS CLUB V4.8 ================= */

/* V4.8.5 interaction fixes */
.v48-seat-vote{width:36px;height:36px;border:1px solid #4a443b;border-radius:10px;background:#18171c;color:#c6a15c;font-weight:900;cursor:pointer}
.v48-seat-vote.active{background:#c6a15c;color:#121216;border-color:#d8bb7a;box-shadow:0 0 0 2px rgba(198,161,92,.16)}
.v48-seat-vote:disabled{opacity:.35;cursor:not-allowed}
.v48-best-cell{position:relative}.v48-best-move-seat{min-height:36px;cursor:pointer;text-align:center}.v48-best-move-seat.has-value{border-color:#c6a15c;color:#e8d3a3}
.v48-best-picker{position:absolute;z-index:20;top:calc(100% + 5px);left:0;width:240px;padding:10px;border:1px solid #4b4339;border-radius:12px;background:#111115;box-shadow:0 14px 40px rgba(0,0,0,.45)}
.v48-best-picker-title{font-size:11px;color:#aaa5a0;margin-bottom:8px}.v48-best-picker-numbers{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.v48-best-picker-numbers button,.v48-best-clear{min-height:34px;border:1px solid #343139;border-radius:8px;background:#19191e;color:#f1ede6}.v48-best-picker-numbers button.active{background:#c6a15c;color:#111;border-color:#d4b277}.v48-best-clear{width:100%;margin-top:7px;color:#bcb5aa}
.v48-role-hidden{width:100%;min-height:36px;display:grid;place-items:center;background:#15151a;border:1px solid #343139;border-radius:10px;color:#b8b3aa;font-weight:800;letter-spacing:.18em}
.v48-vote-candidate{grid-template-columns:120px 1fr}
.v48-add-candidates,.v48-remove-candidate{display:none!important}
@media(max-width:900px){.v48-best-picker{position:relative;top:auto;left:auto;width:100%;margin-top:6px}.v48-seat-vote{width:40px;height:40px}.v48-player-row{overflow:visible}}

/* V4.8.6 winner protocol tint */
.v48-topbar.v48-winner-red,.v48-table.v48-winner-red,#v48-voting-host.v48-winner-red .v48-voting{border-color:#6d2d34;background:linear-gradient(180deg,rgba(105,35,43,.22),rgba(18,18,22,.96))}
.v48-modal-head.v48-winner-red{border-bottom-color:#6d2d34}
.v48-topbar.v48-winner-black,.v48-table.v48-winner-black,#v48-voting-host.v48-winner-black .v48-voting{border-color:#393941;background:linear-gradient(180deg,rgba(0,0,0,.48),rgba(12,12,15,.98))}
.v48-modal-head.v48-winner-black{border-bottom-color:#393941}
.v48-player-row.is-out .v48-best-move-seat{opacity:1;border-color:#5b5144;color:#f1ede6}

/* DOMUS V4.9 — fan/tournament game launcher */
.v49-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v49-mode-card{min-height:150px;border:1px solid #4b3d27;border-radius:18px;background:linear-gradient(145deg,#181616,#111115);color:#f5f2eb;text-align:left;padding:20px;cursor:pointer}.v49-mode-card:hover{border-color:#c6a15c}.v49-mode-card b{display:block;font-size:22px;margin-bottom:8px}.v49-mode-card small{color:#aaa5a0;line-height:1.45}.v49-player-inputs{display:grid;gap:7px;max-height:55vh;overflow:auto;padding-right:4px;margin-bottom:12px}.v49-player-input{display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center}.v49-player-input>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#2a2319;color:#d3ad62;font-weight:900}.v49-confirm-check{display:flex;gap:10px;align-items:flex-start;border:1px solid #3c342a;border-radius:14px;padding:12px;margin:14px 0}.v49-confirm-check input{width:20px;height:20px;margin-top:2px}.v49-confirm-check b,.v49-confirm-check small{display:block}.v49-confirm-check small{color:#99938b;margin-top:3px}.v49-games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v49-game-card{border:1px solid #343139;border-radius:14px;background:#141419;color:#f5f2eb;padding:13px;text-align:left}.v49-game-card:hover{border-color:#c6a15c}.v49-game-card span,.v49-game-card b,.v49-game-card small{display:block}.v49-game-card span{color:#c6a15c;font-weight:900}.v49-game-card b{margin:5px 0}.v49-game-card small{color:#8f8b8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v49-game-card.completed{opacity:.72}.history-game-v49{border-bottom:1px solid #29272e;padding:10px 0}.history-game-title-v49{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:6px}.history-game-title-v49 small{display:block;color:#8f8b8a;margin-top:2px}
@media(max-width:700px){.v49-mode-grid,.v49-games-grid{grid-template-columns:1fr}.v49-mode-card{min-height:110px}.v49-player-inputs{max-height:58vh}}

/* DOMUS V4.9.1 */
.toast{top:calc(14px + env(safe-area-inset-top));bottom:auto;transform:translate(-50%,-18px);z-index:10000;max-width:min(560px,calc(100vw - 24px));font-weight:800;box-shadow:0 14px 45px #000b;background:#24242b;border-color:#5b564d}
.toast.show{transform:translate(-50%,0)}
.toast.error{background:#2b1719;border-color:#9f4b52;color:#fff}
.v491-tournament-list{display:grid;gap:8px;margin-top:12px}.v491-tournament-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid var(--line);background:#17171c;color:var(--text);border-radius:14px;padding:13px 14px}.v491-tournament-card:hover{border-color:#8e7448}.v491-tournament-card span{min-width:0}.v491-tournament-card b{display:block;font-size:15px}.v491-tournament-card small{display:block;color:var(--muted);margin-top:4px}.v491-tournament-card em{font-style:normal;color:var(--gold);font-size:12px;white-space:nowrap}
@media(max-width:600px){.toast{top:calc(8px + env(safe-area-inset-top));width:calc(100vw - 16px);max-width:none}.v491-tournament-card{align-items:flex-start;flex-direction:column}.v491-tournament-card em{white-space:normal}}

/* DOMUS V4.9.2 — toast always above modal */
#modal > .toast{
  position:fixed;
  left:50%;
  top:calc(14px + env(safe-area-inset-top));
  bottom:auto;
  z-index:2147483647;
  width:auto;
  max-width:min(560px,calc(100vw - 24px));
  pointer-events:none;
}
@media(max-width:600px){
  #modal > .toast{
    top:calc(8px + env(safe-area-inset-top));
    width:calc(100vw - 16px);
    max-width:none;
  }
}

/* DOMUS V4.10.0 — live tournament table */
.v410-my-result{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:8px;margin:10px 0 14px;padding:12px;border:1px solid #5b482a;border-radius:16px;background:linear-gradient(135deg,#1c1812,#111115)}
.v410-my-result>div{display:flex;flex-direction:column;justify-content:center;min-height:56px}.v410-my-result small{color:#c6a15c;font-weight:800;letter-spacing:.08em}.v410-my-result b{font-size:20px}.v410-my-result strong{font-size:22px}.v410-my-result span{color:#8f8b8a;font-size:11px}
.v410-results-wrap{border:1px solid #343139;border-radius:16px;overflow:hidden;background:#101014}.v410-results-scroll{overflow:auto;max-width:100%}
.v410-results-table{width:100%;border-collapse:collapse;min-width:760px;font-size:12px}.v410-results-table th,.v410-results-table td{padding:9px 8px;border-bottom:1px solid #29272e;text-align:center;white-space:nowrap}.v410-results-table th{position:sticky;top:0;background:#18171c;color:#8f8b8a;font-size:10px;text-transform:uppercase;z-index:1}.v410-results-table th:nth-child(2),.v410-results-table td:nth-child(2){text-align:left;position:sticky;left:0;background:#111115;z-index:2}.v410-results-table thead th:nth-child(2){background:#18171c;z-index:3}.v410-results-table tr.is-me td{background:#2a2417}.v410-results-table tr.is-me td:nth-child(2){background:#2a2417;color:#e4c47c}.v410-results-table td.pending{color:#55515a}
.v410-nominations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v410-nomination{border:1px solid #343139;border-radius:14px;background:#121216;padding:10px}.v410-nomination:first-child{grid-column:1/-1;border-color:#5b482a}.v410-nomination h4{margin:0 0 8px;color:#e9e4da}.v410-nom-row{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:7px 0;border-top:1px solid #29272e}.v410-nom-row:first-of-type{border-top:0}.v410-nom-row strong{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2a2417;color:#d7b463}.v410-nom-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v410-nom-row b{font-variant-numeric:tabular-nums}
@media(max-width:700px){.v410-my-result{grid-template-columns:1fr 1fr}.v410-my-result>div:first-child{grid-column:1/-1}.v410-nominations{grid-template-columns:1fr}.v410-nomination:first-child{grid-column:auto}.v410-results-table{min-width:680px}}

/* DOMUS V4.10.4 — tournament table + seating in the same window */
.v410-games-seating{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}
.v410-game-card{width:100%;text-align:left;border:1px solid #343139;border-radius:14px;background:#121216;color:#f5f2eb;padding:10px;cursor:pointer}
.v410-game-card:hover{border-color:#765c30}.v410-game-card.completed{opacity:.82}
.v410-game-title{display:grid;grid-template-columns:1fr auto;gap:3px 8px;align-items:center;margin-bottom:8px}
.v410-game-title span{font-weight:900;color:#d4b36b}.v410-game-title b{font-size:11px}.v410-game-title small{grid-column:1/-1;color:#77737a}
.v410-seating-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.v410-seating-mini span{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:5px;border:1px solid #29272e;border-radius:8px;padding:5px 6px;background:#0f0f13;min-width:0}
.v410-seating-mini span b{color:#c6a15c;font-size:10px}.v410-seating-mini span em{font-style:normal;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:720px){.v410-games-seating{grid-template-columns:1fr}.v410-seating-mini{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* DOMUS V4.10.5 — separate tournament tabs */
.v410-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 14px;padding:5px;border:1px solid #343139;border-radius:14px;background:#101014;position:sticky;top:-14px;z-index:4}
.v410-tabs button{min-height:42px;border:0;border-radius:10px;background:transparent;color:#8f8b8a;font-weight:800;cursor:pointer}
.v410-tabs button.active{background:#c6a15c;color:#151515}
@media(max-width:600px){.v410-tabs{top:-10px}.v410-tabs button{min-height:46px;font-size:13px}}

/* DOMUS V4.10.6 — official FSM tournament scoring */
.v410-fsm-note{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin:0 0 8px;padding:9px 10px;border:1px solid #4a3b24;border-radius:12px;background:#17140f;color:#bdb6aa;font-size:11px}
.v410-fsm-note b{color:#d6b364}.v410-fsm-note small{color:#8f8b8a}
.v410-fsm-table th,.v410-fsm-table td{padding-left:7px;padding-right:7px}.v410-fsm-table sup{color:#d6b364;font-weight:900}
.v410-fsm-rules{margin-top:10px;border:1px solid #343139;border-radius:12px;background:#121216;padding:9px 11px}
.v410-fsm-rules summary{cursor:pointer;color:#d6b364;font-weight:800}.v410-fsm-rules p{margin:7px 0;color:#aaa5a0;font-size:12px}
@media(max-width:700px){.v410-fsm-note{grid-template-columns:1fr}.v410-fsm-note small{display:block}.v410-fsm-table{min-width:980px}}

/* DOMUS V4.10.7 — compact tournament table + protocol headers */
.v410-table-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.v410-toggle-games{border:1px solid #5b482a;background:#17140f;color:#d6b364;border-radius:9px;padding:7px 10px;font-weight:800;cursor:pointer}
.v410-toggle-games:hover{border-color:#d6b364}
.v48-player-head>span:nth-child(6),.v48-player-head>span:nth-child(7),.v48-player-head>span:nth-child(8){text-align:center;display:block}
.v48-player-row>.v48-cell:nth-child(6),.v48-player-row>.v48-cell:nth-child(7),.v48-player-row>.v48-cell:nth-child(8){display:flex;flex-direction:column;align-items:stretch;justify-content:center}
@media(max-width:900px){.v48-player-row>.v48-cell:nth-child(6),.v48-player-row>.v48-cell:nth-child(7),.v48-player-row>.v48-cell:nth-child(8){display:block}}

/* DOMUS V4.10.9 — fan game players selected directly in protocol */
.v48-player-picker{position:relative;width:100%}
.v48-player-search{width:100%;min-height:34px;padding:7px 9px;font-size:12px}
.v48-player-options{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;display:grid;max-height:210px;overflow:auto;border:1px solid #3a373f;border-radius:10px;background:#17171c;box-shadow:0 14px 32px rgba(0,0,0,.45)}
.v48-player-options:empty{display:none}
.v48-player-options button{border:0;border-bottom:1px solid #29272e;background:#17171c;color:#f5f2eb;text-align:left;padding:9px 10px;cursor:pointer}
.v48-player-options button:hover{background:#252119}
.v48-picked-player{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 6px;min-width:0}
.v48-picked-player b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v48-picked-player small{grid-column:1/-1;color:#77737a;font-size:10px}
.v48-picked-player button{border:0;background:transparent;color:#8f8b8a;font-size:18px;cursor:pointer;padding:0 4px}

/* DOMUS V4.11.0 — guest fan players + editable game title */
.v48-game-title-input{width:min(560px,75vw);border:0;border-bottom:1px solid #4a4439;background:transparent;color:#f5f2eb;font-size:22px;font-weight:900;padding:3px 0 5px;outline:0}
.v48-game-title-input:focus{border-color:#c6a15c}
.v48-player-row.is-guest-row{background:rgba(128,128,128,.055)}
.v48-picked-player.is-guest b{color:#9a9aa0}
.v48-picked-player.is-guest small{color:#77777d}
.v48-guest-badge{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#8d8d92;border:1px solid #47474d;border-radius:999px;padding:2px 5px}
.v48-player-options .guest-option{color:#a7a7ab;background:#141418;border-top:1px solid #47474d}
@media(max-width:700px){.v48-game-title-input{width:calc(100vw - 95px);font-size:18px}}

/* DOMUS V4.11.1 — lower player picker opens upward + persistent best-move picker */
.v48-player-picker.open-up .v48-player-options{
  top:auto;
  bottom:calc(100% + 4px);
  max-height:240px;
}
.v48-best-picker-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.v48-best-picker-title span{
  color:#c6a15c;
  font-variant-numeric:tabular-nums;
}

/* DOMUS V4.11.2 — best move save button */
.v48-best-save{
  width:100%;
  margin-top:8px;
  min-height:36px;
  border:1px solid #7a6337;
  border-radius:9px;
  background:#c6a15c;
  color:#151515;
  font-weight:800;
  cursor:pointer;
}

/* DOMUS V4.12.0 — monthly fan rating */
.v412-rating-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0 12px}
.v412-month-controls{display:flex;gap:7px}.v412-month-controls select,.v412-rating-actions button{min-height:38px;border:1px solid #3a373f;border-radius:10px;background:#17171c;color:#eee9df;padding:7px 10px}
.v412-rating-actions{display:flex;gap:7px;flex-wrap:wrap}.v412-rating-actions button{cursor:pointer}.v412-rating-actions button:hover{border-color:#7a6337}
.v412-upload-box{display:grid;place-items:center;gap:5px;border:1px dashed #665638;border-radius:14px;padding:22px;background:#15140f;cursor:pointer;margin-bottom:10px}.v412-upload-box input{display:none}.v412-upload-box b{color:#d5b36a}.v412-upload-box span{color:#8f8b8a;font-size:11px}
.v412-paper-queue{display:grid;gap:6px;margin:10px 0}.v412-paper-queue>div{display:flex;justify-content:space-between;gap:10px;border:1px solid #2f2c33;border-radius:10px;padding:9px;background:#121216}.v412-paper-queue span{color:#9b968d;font-size:11px}
@media(max-width:700px){.v412-rating-toolbar,.v412-rating-actions,.v412-month-controls{width:100%}.v412-month-controls>*{flex:1}.v412-rating-actions button{flex:1 1 30%}}

/* DOMUS V4.12.1 — fan rating uses tournament visual language */
.v412-rating-tabs{margin-top:6px}
.v412-fan-table{min-width:820px}
.v412-fan-table th,.v412-fan-table td{text-align:center}
.v412-fan-table th:nth-child(2),.v412-fan-table td:nth-child(2){text-align:left}
.v412-fan-table td strong{color:#d7b567}
.v412-fan-table .v412-game-col{min-width:48px}
.v412-fan-table td.pending{color:#55515a}
@media(max-width:700px){.v412-fan-table{min-width:900px}}

/* DOMUS V4.12.2 — wider tournament/rating tables */
#modal:has(.v410-results-table){
  width:min(1500px,calc(100vw - 16px));
  max-width:1500px;
}
.v410-results-scroll{
  overflow-x:auto;
}
.v410-results-table{
  min-width:1400px;
}
.v410-fsm-table{
  min-width:1550px;
}
.v412-fan-table{
  min-width:1450px;
}
@media(max-width:900px){
  #modal:has(.v410-results-table){
    width:calc(100vw - 8px);
    max-width:none;
  }
  .v410-results-table,
  .v410-fsm-table,
  .v412-fan-table{
    min-width:1200px;
  }
}

/* DOMUS V4.12.3 — compact rating tables + nomination colors */

/* Таблица рейтинга должна помещаться в окно без горизонтальной прокрутки */
#modal:has(.v410-results-table){
  width:min(1500px,calc(100vw - 16px));
  max-width:1500px;
}
.v410-results-scroll{
  overflow-x:hidden;
}
.v410-results-table,
.v410-fsm-table,
.v412-fan-table{
  width:100%;
  min-width:0 !important;
  table-layout:fixed;
  font-size:10px;
}
.v410-results-table th,
.v410-results-table td{
  padding:6px 3px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v410-results-table th{
  font-size:8px;
  letter-spacing:0;
}
.v410-results-table th:first-child,
.v410-results-table td:first-child{
  width:44px;
}
.v410-results-table th:nth-child(2),
.v410-results-table td:nth-child(2){
  width:120px;
}
.v410-results-table td:nth-child(2) b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v410-fsm-table th:not(:first-child):not(:nth-child(2)),
.v410-fsm-table td:not(:first-child):not(:nth-child(2)){
  width:auto;
}
.v412-fan-table th:not(:first-child):not(:nth-child(2)),
.v412-fan-table td:not(:first-child):not(:nth-child(2)){
  width:auto;
}

/* Номинации */
.v410-nomination{
  position:relative;
  overflow:hidden;
}
.v410-nomination::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.13;
}
.v410-nomination > *{
  position:relative;
  z-index:1;
}

/* Лучший чёрный — серый */
.v410-nomination.nom-black{
  border-color:#67676d;
}
.v410-nomination.nom-black::before{
  background:linear-gradient(135deg,#b7b7bd,#55555b);
}
.v410-nomination.nom-black h4{
  color:#c9c9ce;
}

/* Лучший дон — чёрный */
.v410-nomination.nom-don{
  border-color:#45454b;
  background:#09090c;
}
.v410-nomination.nom-don::before{
  background:linear-gradient(135deg,#000,#1b1b20);
  opacity:.28;
}
.v410-nomination.nom-don h4{
  color:#e4e4e7;
}

/* Лучший красный — красный */
.v410-nomination.nom-red{
  border-color:#7b3035;
}
.v410-nomination.nom-red::before{
  background:linear-gradient(135deg,#8e222b,#3a1015);
  opacity:.22;
}
.v410-nomination.nom-red h4{
  color:#e48a90;
}

/* Лучший шериф — жёлтый */
.v410-nomination.nom-sheriff{
  border-color:#866c2e;
}
.v410-nomination.nom-sheriff::before{
  background:linear-gradient(135deg,#c99f35,#594513);
  opacity:.20;
}
.v410-nomination.nom-sheriff h4{
  color:#e3c56e;
}

/* MVP оставляем золотым */
.v410-nomination.nom-mvp{
  border-color:#7b6334;
}
.v410-nomination.nom-mvp::before{
  background:linear-gradient(135deg,#b58c35,#4d3b16);
  opacity:.15;
}

@media(max-width:900px){
  .v410-results-table,
  .v410-fsm-table,
  .v412-fan-table{
    min-width:0 !important;
    font-size:8px;
  }
  .v410-results-table th,
  .v410-results-table td{
    padding:5px 2px;
  }
  .v410-results-table th:first-child,
  .v410-results-table td:first-child{
    width:34px;
  }
  .v410-results-table th:nth-child(2),
  .v410-results-table td:nth-child(2){
    width:92px;
  }
}

/* DOMUS V4.12.4 — larger nicknames and scores, table still fits without sideways scroll */
.v410-results-table,
.v410-fsm-table,
.v412-fan-table{
  font-size:12px !important;
}
.v410-results-table th{
  font-size:9px !important;
}
.v410-results-table td{
  font-variant-numeric:tabular-nums;
  font-weight:600;
}
.v410-results-table td:nth-child(2) b{
  font-size:13px;
  font-weight:800;
}
.v410-results-table td strong{
  font-size:13px;
  font-weight:900;
}
.v410-results-table th,
.v410-results-table td{
  padding:7px 3px !important;
}
.v410-results-table th:first-child,
.v410-results-table td:first-child{
  width:46px;
}
.v410-results-table th:nth-child(2),
.v410-results-table td:nth-child(2){
  width:145px;
}
@media(max-width:900px){
  .v410-results-table,
  .v410-fsm-table,
  .v412-fan-table{
    font-size:10px !important;
  }
  .v410-results-table th{
    font-size:8px !important;
  }
  .v410-results-table td:nth-child(2) b,
  .v410-results-table td strong{
    font-size:11px;
  }
  .v410-results-table th:nth-child(2),
  .v410-results-table td:nth-child(2){
    width:110px;
  }
}

/* DOMUS V4.12.5 — fan rating matches tournament rating + active home rating */
.v412-home-rating-link{cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.v412-home-rating-link::after{content:"→";color:#c6a15c;font-size:.8em}
.v412-home-rating-button{
  width:100%;
  margin-top:10px;
  min-height:42px;
  border:1px solid #7a6337;
  border-radius:12px;
  background:#c6a15c;
  color:#151515;
  font-weight:900;
  cursor:pointer;
}
.v412-home-rating-button:hover{filter:brightness(1.05)}
.v412-fan-table th:nth-child(1),.v412-fan-table td:nth-child(1){width:58px}
.v412-fan-table th:nth-child(2),.v412-fan-table td:nth-child(2){width:180px}
.v412-fan-table td:nth-child(2) b{font-size:13px}

/* DOMUS V4.12.6 — real full fan rating table */
.v412-home-rating-cta{padding:12px 0 0}
.v412-home-rating-button{width:100%}
.v412-rating-tabs{margin:10px 0 14px}
.v412-fan-table td:nth-child(2) b{display:block;font-size:13px;font-weight:800}

/* DOMUS V4.12.7 — social icon refresh: no poker/card-suit visuals */
.domus-ui-icon{display:inline-block;width:1.15em;height:1.15em;background:currentColor;vertical-align:-.16em;flex:0 0 auto}
.domus-ui-icon-people{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm7.5 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM2 21v-1.2C2 15.5 5.1 13 9 13s7 2.5 7 6.8V21H2Zm15.2 0v-1.1c0-2.1-.7-3.9-1.9-5.3.4-.1.8-.1 1.2-.1 3.1 0 5.5 2 5.5 5.4V21h-4.8Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm7.5 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM2 21v-1.2C2 15.5 5.1 13 9 13s7 2.5 7 6.8V21H2Zm15.2 0v-1.1c0-2.1-.7-3.9-1.9-5.3.4-.1.8-.1 1.2-.1 3.1 0 5.5 2 5.5 5.4V21h-4.8Z'/%3E%3C/svg%3E") center/contain no-repeat}
.domus-ui-icon-bell{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a3 3 0 0 0-3 3v.3A7 7 0 0 0 5 12v4l-2 2v1h18v-1l-2-2v-4a7 7 0 0 0-4-6.7V5a3 3 0 0 0-3-3Zm0 20a3 3 0 0 0 2.8-2H9.2A3 3 0 0 0 12 22Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a3 3 0 0 0-3 3v.3A7 7 0 0 0 5 12v4l-2 2v1h18v-1l-2-2v-4a7 7 0 0 0-4-6.7V5a3 3 0 0 0-3-3Zm0 20a3 3 0 0 0 2.8-2H9.2A3 3 0 0 0 12 22Z'/%3E%3C/svg%3E") center/contain no-repeat}
.domus-ui-icon-big{width:52px;height:52px;color:var(--gold)}
.notification-btn{display:grid;place-items:center}.notification-btn>.domus-ui-icon{width:20px;height:20px;color:var(--gold)}
.conduct-icon-v46>.domus-ui-icon{width:28px;height:28px}
.broadcast-v47>span>.domus-ui-icon{width:24px;height:24px}
.brand-mark{border-radius:50%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:20px}

/* V4.12.7 — subtle graphite/steel visual refresh */
body{background:radial-gradient(circle at 50% -18%,#24262c 0,#14151a 34%,#0b0b0e 66%)}
.topbar{background:rgba(12,13,16,.92);border-bottom-color:rgba(198,161,92,.13)}
.hero{border-color:#464850;background:linear-gradient(145deg,#202229,#111217 72%)}
.accent-card{border-color:#4b4d55;background:linear-gradient(135deg,#22242a,#15161b 66%)}
.avatar{background:linear-gradient(145deg,#695737,#22242a);border:1px solid rgba(198,161,92,.22)}
.player-card{background:radial-gradient(circle at 15% 10%,#343740,#17181d 48%,#0b0c0f);border-color:#66583f}
.result-poster{background:linear-gradient(145deg,#25272d,#121318 64%);border-color:#62563f}
.conduct-game-v46{border-color:#76623e;background:linear-gradient(135deg,#2a2c32 0%,#1c1d22 48%,#121318 100%)}
.broadcast-v47{background:linear-gradient(135deg,rgba(198,161,92,.11),rgba(51,54,62,.22))}
.domus-ui-icon-person{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0v1H5v-1Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0v1H5v-1Z'/%3E%3C/svg%3E") center/contain no-repeat}
.friend-mark .domus-ui-icon{width:15px;height:15px;vertical-align:-2px}
.chat-info-links .domus-ui-icon{width:16px;height:16px;color:var(--gold);margin-right:2px}

/* DOMUS V4.12.8 — always-open fan night + host controls */
.v4128-night-manager{margin:0 0 16px;border-color:rgba(198,161,92,.22)}
.v4128-night-manager .section-head{margin-top:0}
.v4128-night-list{display:grid;gap:8px}
.v4128-night-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:rgba(255,255,255,.018)}
.v4128-night-row.active{border-color:rgba(198,161,92,.45);background:rgba(198,161,92,.065)}
.v4128-night-open{border:0;background:none;color:inherit;text-align:left;padding:0;display:flex;flex-direction:column;gap:4px;cursor:pointer;min-width:0}
.v4128-night-open b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v4128-night-open small{color:var(--muted);font-size:11px}
.v4128-night-actions{display:flex;gap:6px}
.v4128-night-actions button,.v4128-remove-player{border:1px solid rgba(255,255,255,.09);background:#18191e;color:#ddd;border-radius:9px;padding:7px 9px;font-size:11px;cursor:pointer}
.v4128-night-actions button:hover,.v4128-remove-player:hover{border-color:rgba(198,161,92,.45)}
.v4128-night-actions .danger-link,.v4128-danger-btn{color:#ff8f96!important;border-color:rgba(211,74,84,.3)!important}
.v4128-active-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.v4128-signup-note{display:flex;align-items:center;gap:10px;margin:12px 0}
.v4128-signup-note small{display:block;margin-top:3px;color:var(--muted)}
.list-item[data-admin-person]{position:relative;padding-right:86px}
.v4128-remove-player{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#ff9ba2}
@media(max-width:700px){
 .v4128-night-row{grid-template-columns:1fr}
 .v4128-night-actions{justify-content:flex-start}
 .v4128-active-actions{grid-template-columns:1fr}
 .list-item[data-admin-person]{padding-right:12px;padding-bottom:46px}
 .v4128-remove-player{top:auto;bottom:9px;right:10px;transform:none}
}


/* DOMUS Club V4.12.9 — fan night detail */
.v4129-home-dashboard{grid-template-columns:1fr!important}
.v4129-home-dashboard>div:first-child{min-width:0}
.v4129-home-lower{margin-top:18px}
.v4129-back-link{border:0;background:transparent;color:var(--muted);padding:0 0 12px;cursor:pointer;font-weight:700}
.v4129-back-link:hover{color:var(--gold)}
.v4129-night-hero h2{margin:10px 0 5px;font-size:clamp(24px,4vw,38px)}
.v4129-night-count{min-width:92px;text-align:center;padding:12px 16px;border:1px solid rgba(198,161,92,.25);border-radius:18px;background:rgba(198,161,92,.07)}
.v4129-night-count strong{display:block;font-size:28px;color:var(--gold)}
.v4129-night-count span{font-size:12px;color:var(--muted)}
.v4129-my-status{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding:14px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06)}
.v4129-attendance{margin-top:14px}
.v4129-status-grid .status-btn.selected,.status-grid .status-btn.selected{outline:2px solid rgba(198,161,92,.78);box-shadow:0 0 0 4px rgba(198,161,92,.08)}
.v4129-companions-card{margin:12px 0;padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(255,255,255,.025)}
.v4129-companion-row{display:grid;grid-template-columns:1fr 42px;gap:8px;margin-top:8px}
.v4129-companion-row button{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);color:var(--muted);border-radius:12px;font-size:22px;cursor:pointer}
.v4129-companion-row button:hover{color:#fff;border-color:rgba(255,255,255,.18)}
.v4129-no-companions{padding:12px 0 2px}
.v4129-companion-summary{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border:1px solid rgba(198,161,92,.18);border-radius:16px;background:rgba(198,161,92,.05)}
.v4129-companion-summary>div{flex:1}
.v4129-companion-summary .domus-ui-icon{width:34px;height:34px}
@media(max-width:720px){
 .v4129-my-status,.v4129-companion-summary{align-items:stretch;flex-direction:column}
 .v4129-my-status .btn,.v4129-companion-summary .btn{width:100%}
 .v4129-night-count{min-width:76px}
}


/* DOMUS Club V4.13.0 — video intro */
html.domus-intro-pending,
body.domus-intro-open{overflow:hidden!important}
.domus-intro{
  display:none;position:fixed;inset:0;z-index:100000;
  align-items:center;justify-content:center;background:#050507;
  opacity:1;transition:opacity .5s ease,visibility .5s ease;
}
html.domus-intro-pending .domus-intro{display:flex}
.domus-intro.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
.domus-intro-stage{
  position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(198,161,92,.10),transparent 42%),#050507;
}
.domus-intro-video{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;background:#050507}
.domus-intro-skip{
  position:absolute;z-index:5;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));
  border:1px solid rgba(255,255,255,.22);background:rgba(8,8,10,.42);color:rgba(255,255,255,.88);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:999px;padding:10px 15px;
  font:600 13px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;opacity:.78;
}
.domus-intro-loader{
  position:absolute;z-index:1;width:34px;height:34px;border:2px solid rgba(255,255,255,.12);
  border-top-color:rgba(198,161,92,.8);border-radius:50%;animation:domusIntroSpin .8s linear infinite;
}
.domus-intro.is-playing .domus-intro-loader{display:none}
@keyframes domusIntroSpin{to{transform:rotate(360deg)}}
@media(max-width:700px){
  .domus-intro-video{object-fit:cover}
  .domus-intro-skip{top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));padding:9px 13px;font-size:12px}
}


/* DOMUS Club V4.13.1 — intro sound controls */
.domus-intro-actions{
  position:absolute;
  z-index:5;
  top:max(18px,env(safe-area-inset-top));
  right:max(18px,env(safe-area-inset-right));
  display:flex;
  gap:8px;
  align-items:center;
}
.domus-intro-actions .domus-intro-skip{
  position:static;
  top:auto;
  right:auto;
}
.domus-intro-sound{
  display:none;
  border:1px solid rgba(198,161,92,.55);
  background:rgba(8,8,10,.58);
  color:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-radius:999px;
  padding:10px 15px;
  font:600 13px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.domus-intro-sound.is-visible{display:inline-flex}
@media(max-width:700px){
  .domus-intro-actions{
    top:max(14px,env(safe-area-inset-top));
    right:max(14px,env(safe-area-inset-right));
    gap:6px;
  }
  .domus-intro-sound,
  .domus-intro-actions .domus-intro-skip{
    padding:9px 12px;
    font-size:12px;
  }
}


/* =========================================================
   DOMUS Club V4.13.3 — compact mobile game protocol
   Mobile-only visual override. Game logic is unchanged.
   ========================================================= */
@media (max-width: 700px) {
  #modal:has(.v48-modal-head) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    overflow-x: hidden !important;
  }

  /* Compact top controls */
  .v48-topbar {
    padding: 7px !important;
    gap: 7px !important;
  }
  .v48-timer {
    padding: 8px !important;
  }
  .v48-timer strong {
    font-size: 34px !important;
    line-height: 1 !important;
    margin: 4px 0 7px !important;
  }
  .v48-timer button,
  .v48-winner-buttons button {
    min-height: 38px !important;
    padding: 7px 11px !important;
  }

  /* Turn stacked player cards back into a dense table. */
  .v48-table {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: visible !important;
    border-radius: 10px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .v48-player-head,
  .v48-player-row {
    display: grid !important;
    grid-template-columns:
      36px
      minmax(150px, 1.35fr)
      96px
      104px
      112px
      62px
      62px
      62px !important;
    gap: 5px !important;
    min-width: 720px;
    align-items: center !important;
  }

  .v48-player-head {
    padding: 6px 7px !important;
    min-height: 30px;
    font-size: 9px !important;
    line-height: 1.1;
  }

  .v48-player-row {
    padding: 5px 7px !important;
    min-height: 46px !important;
    max-height: 46px;
    overflow: visible !important;
  }

  /* Undo old stacked-grid placement. */
  .v48-seat,
  .v48-player-name,
  .v48-player-row > .v48-cell:nth-child(3),
  .v48-player-row > .v48-cell:nth-child(4),
  .v48-player-row > .v48-cell:nth-child(5),
  .v48-player-row > .v48-cell:nth-child(6),
  .v48-player-row > .v48-cell:nth-child(7),
  .v48-player-row > .v48-cell:nth-child(8) {
    grid-column: auto !important;
    grid-row: auto !important;
    padding-top: 0 !important;
  }

  .v48-mobile-label {
    display: none !important;
  }

  .v48-seat-vote {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
  }

  /* Nickname is now one compact line. */
  .v48-player-name {
    min-width: 0;
    overflow: hidden;
  }
  .v48-picked-player {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 0 3px !important;
    width: 100%;
  }
  .v48-picked-player b {
    min-width: 0;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .v48-picked-player small {
    display: none !important;
  }
  .v48-picked-player button {
    font-size: 16px !important;
    line-height: 1 !important;
    padding: 0 2px !important;
  }
  .v48-guest-badge {
    display: none !important;
  }

  .v48-player-search {
    min-height: 32px !important;
    height: 32px;
    padding: 5px 7px !important;
    font-size: 12px !important;
  }

  /* Compact fouls */
  .v48-fouls {
    grid-template-columns: 29px 1fr 29px !important;
    gap: 3px !important;
  }
  .v48-fouls button {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    font-size: 16px !important;
  }
  .v48-fouls strong {
    font-size: 14px !important;
  }

  .v48-best-move-seat,
  .v48-role,
  .v48-role-hidden,
  .v48-score {
    min-height: 32px !important;
    height: 32px !important;
    padding: 5px 6px !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .v48-best-move-seat {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .v48-score {
    text-align: center;
  }

  /* Best-move chooser becomes a mobile bottom sheet instead of
     expanding inside a narrow table cell. */
  .v48-best-picker {
    position: fixed !important;
    z-index: 1000000 !important;
    left: 12px !important;
    right: 12px !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    top: auto !important;
    width: auto !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 14px !important;
    border-radius: 16px !important;
    background: rgba(17,17,21,.98) !important;
    box-shadow: 0 -6px 36px rgba(0,0,0,.65) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .v48-best-picker-title {
    font-size: 13px !important;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .v48-best-picker-numbers {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 7px !important;
  }

  .v48-best-picker-numbers button {
    min-height: 42px !important;
    font-size: 15px !important;
    border-radius: 9px !important;
  }

  .v48-best-save {
    min-height: 42px !important;
    margin-top: 10px !important;
    font-size: 14px !important;
  }

  /* Voting stays touch-friendly but not oversized. */
  .v48-voting {
    margin-top: 8px !important;
  }

  /* Save area compact, but full-width action buttons remain easy to tap. */
  .v48-savebar {
    margin-top: 8px !important;
    padding-top: 9px !important;
    gap: 7px !important;
  }
  .v48-savebar button {
    min-height: 44px !important;
  }
}


/* DOMUS Club V4.13.4 — tournament chat */
.chat-thread.tournament-pinned{border-color:rgba(205,168,89,.38)!important;background:linear-gradient(90deg,rgba(205,168,89,.10),rgba(255,255,255,.015))!important}
.v4134-state{margin:10px 0;padding:9px 10px;border:1px solid rgba(205,168,89,.25);border-radius:10px;color:#d9bd82;background:rgba(205,168,89,.08);font-size:12px;font-weight:700}
.v4134-important{width:40px;height:40px;border-radius:12px;border:1px solid rgba(222,181,91,.58);background:rgba(222,181,91,.15);color:#eacb83;font-weight:900;font-size:20px}
.v4134-important-bubble{border:1px solid rgba(222,181,91,.55)!important;box-shadow:0 0 0 1px rgba(222,181,91,.08)!important}
.v4134-closed{margin:10px 14px 14px;padding:13px;text-align:center;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);color:#a7abb5;font-size:12px;font-weight:700}
.v4134-overlay{position:fixed;inset:0;z-index:1200000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.72);backdrop-filter:blur(8px)}
.v4134-card{width:min(430px,100%);padding:22px;border-radius:18px;background:#111216;border:1px solid rgba(222,181,91,.48);box-shadow:0 24px 80px rgba(0,0,0,.62)}
.v4134-card small{display:block;color:#e4c175;font-weight:900;letter-spacing:.08em;margin-bottom:8px}
.v4134-card h3{margin:0 0 8px}.v4134-card p{white-space:pre-wrap;line-height:1.45;margin:0 0 18px}


/* DOMUS Club V4.13.5 — compact monthly schedule */
.v4135-open-calendar{
  width:100%;display:grid;grid-template-columns:42px 1fr auto;grid-template-rows:auto auto;
  gap:2px 10px;align-items:center;text-align:left;margin:0 0 12px;padding:13px 14px;
  border:1px solid rgba(202,167,93,.28);border-radius:14px;background:rgba(202,167,93,.07);color:inherit;
}
.v4135-open-calendar>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:rgba(202,167,93,.16);color:#d9b96e;font-size:20px}
.v4135-open-calendar>b{font-size:14px}.v4135-open-calendar>small{color:#90949e}.v4135-open-calendar>i{grid-column:3;grid-row:1/3;color:#d5b366;font-style:normal}
.v4135-calendar-card{position:relative;border:1px solid rgba(185,191,201,.20);border-radius:18px;padding:14px;background:linear-gradient(180deg,#15171a,#0d0e10);box-shadow:inset 0 0 0 1px rgba(202,167,93,.07)}
.v4135-calendar-head{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center;gap:8px}
.v4135-calendar-head button{height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.10);background:#17191d;color:#d6b66d;font-size:24px}
.v4135-calendar-head b{display:block;font-size:21px;text-transform:uppercase;letter-spacing:.08em}.v4135-calendar-head small{display:block;color:#8f949d;margin-top:3px;font-size:10px;text-transform:uppercase;letter-spacing:.12em}
.v4135-my-button{display:block;margin:10px auto 12px;border:1px solid rgba(202,167,93,.3);border-radius:999px;background:rgba(202,167,93,.08);color:#d8b96f;padding:7px 13px;font-size:11px;font-weight:800}
.v4135-week,.v4135-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.v4135-week span{text-align:center;padding:7px 0;color:#9b9fa8;font-size:10px;font-weight:800}
.v4135-grid{border-top:1px solid rgba(255,255,255,.12);border-left:1px solid rgba(255,255,255,.12)}
.v4135-cell{position:relative;min-height:86px;padding:6px;border:0;border-right:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.008);color:#f2f2f3;text-align:left;overflow:hidden}
.v4135-cell:hover{background:rgba(202,167,93,.07)}.v4135-cell.empty{pointer-events:none;background:rgba(255,255,255,.015)}
.v4135-cell.today{box-shadow:inset 0 0 0 1px rgba(202,167,93,.65)}.v4135-cell.signed{background:rgba(202,167,93,.075)}
.v4135-num{display:block;font-weight:800;font-size:12px;margin-bottom:5px}.v4135-mini{display:grid;gap:3px}
.v4135-mini i{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:normal;font-size:8px;line-height:1.2;color:#c5c8ce;text-transform:uppercase}
.v4135-mini i.tournament{color:#e3c176}.v4135-mini i.review{color:#b8b3dc}.v4135-mini i.monthgame{color:#e7cf8a}.v4135-mini i.birthday{color:#d7b7c4}
.v4135-check{position:absolute;right:5px;top:5px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#cfa95b;color:#0b0c0e;font-size:10px;font-weight:900}
.v4135-legend{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding-top:11px;color:#8e939c;font-size:9px;text-transform:uppercase}
.v4135-legend span{display:flex;align-items:center;gap:4px}.v4135-legend i{width:7px;height:7px;border-radius:50%;background:#858a94}.v4135-legend i.tournament{background:#d0aa5f}.v4135-legend i.review{background:#9e96cc}.v4135-legend i.signed{background:#cfa95b;border:1px solid #f2d891}
.v4135-day-list{display:grid;gap:10px}.v4135-day-event{padding:13px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.025)}
.v4135-day-event-top{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.v4135-day-event-top b{display:block}.v4135-day-event-top small{display:block;margin-top:3px;color:#90949d}
.v4135-type{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.06);font-size:18px}.v4135-type.tournament{color:#dfbc6d;background:rgba(205,168,89,.13)}.v4135-type.review{color:#b6afe0;background:rgba(158,150,204,.12)}
.v4135-count{min-width:28px;text-align:center;border:1px solid rgba(202,167,93,.25);border-radius:999px;padding:4px 7px;color:#d8b86d;font-size:11px;font-weight:800}
.v4135-day-people{display:flex;align-items:center;gap:8px;min-height:28px;margin:9px 0;color:#b5b8c0;font-size:11px}.v4135-muted{color:#777c86}
.v4135-avatars{display:flex}.v4135-avatars i{width:25px;height:25px;margin-left:-5px;display:grid;place-items:center;border-radius:50%;border:2px solid #111317;background:#272a31;color:#d8d9dd;font-style:normal;font-size:8px;font-weight:800}.v4135-avatars i:first-child{margin-left:0}
.v4135-my-list{display:grid;gap:6px}.v4135-my-list button{display:grid;grid-template-columns:1fr auto;gap:3px 10px;text-align:left;padding:11px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025);color:inherit}.v4135-my-list button small{color:#8f949d}.v4135-my-list button span{grid-column:2;grid-row:1/3;color:#d6b46a;align-self:center}
@media(max-width:700px){
 .v4135-calendar-card{padding:8px;border-radius:14px}
 .v4135-calendar-head b{font-size:17px}.v4135-calendar-head small{font-size:8px}
 .v4135-cell{min-height:70px;padding:4px 3px}.v4135-num{font-size:11px;margin-bottom:4px}
 .v4135-mini{gap:2px}.v4135-mini i{font-size:6.8px;letter-spacing:-.01em}
 .v4135-check{right:3px;top:3px;width:14px;height:14px;font-size:9px}
 .v4135-week span{font-size:9px;padding:5px 0}.v4135-legend{gap:7px;font-size:8px}
}


/* DOMUS Club V4.13.7 — Home calendar entry */
.v4137-home-calendar{
  width:100%;
  display:grid;
  grid-template-columns:44px 1fr 28px;
  align-items:center;
  gap:10px;
  margin:12px 0;
  padding:13px 14px;
  border:1px solid rgba(202,167,93,.28);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(202,167,93,.09),rgba(255,255,255,.02));
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.v4137-home-calendar:hover{
  border-color:rgba(202,167,93,.46);
  background:linear-gradient(90deg,rgba(202,167,93,.13),rgba(255,255,255,.025));
}
.v4137-home-calendar-icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(202,167,93,.15);
  color:#d9b96e;
  font-size:21px;
}
.v4137-home-calendar-copy{
  min-width:0;
  display:grid;
  gap:3px;
}
.v4137-home-calendar-copy b{
  font-size:14px;
  line-height:1.1;
}
.v4137-home-calendar-copy small{
  color:#9297a1;
  font-size:11px;
  line-height:1.2;
}
.v4137-home-calendar-arrow{
  justify-self:end;
  color:#d7b56a;
  font-size:18px;
}
@media(max-width:700px){
  .v4137-home-calendar{
    grid-template-columns:40px 1fr 24px;
    padding:11px 12px;
    border-radius:12px;
    margin:10px 0;
  }
  .v4137-home-calendar-icon{
    width:36px;height:36px;font-size:19px;
  }
  .v4137-home-calendar-copy b{font-size:13px}
  .v4137-home-calendar-copy small{font-size:10px}
}


/* DOMUS Club V4.13.8 — real home calendar, top-left */
.v4138-home-calendar{
  width:min(720px,100%);
  margin:0 0 14px 0;
  padding:12px;
  border:1px solid rgba(195,199,207,.22);
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(25,27,31,.98),rgba(12,13,15,.98));
  box-shadow:
    inset 0 0 0 1px rgba(206,171,94,.07),
    0 10px 30px rgba(0,0,0,.18);
}
.v4138-cal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:1px 2px 9px;
}
.v4138-cal-head span{
  display:block;
  color:#cda95d;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.v4138-cal-head h2{
  margin:3px 0 0;
  font-size:18px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.v4138-cal-actions{
  display:flex;
  gap:5px;
}
.v4138-cal-actions button{
  width:32px;
  height:30px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:#17191d;
  color:#d5b269;
  font-size:20px;
  line-height:1;
}
.v4138-week,
.v4138-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
}
.v4138-week{
  border-top:1px solid rgba(255,255,255,.10);
  border-left:1px solid rgba(255,255,255,.10);
}
.v4138-week span{
  padding:5px 2px;
  border-right:1px solid rgba(255,255,255,.10);
  text-align:center;
  color:#8f949d;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
}
.v4138-days{
  border-top:1px solid rgba(255,255,255,.10);
  border-left:1px solid rgba(255,255,255,.10);
}
.v4138-day{
  position:relative;
  min-width:0;
  min-height:58px;
  padding:5px;
  border:0;
  border-right:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.008);
  color:#f1f2f4;
  text-align:left;
  overflow:hidden;
}
.v4138-day.empty{
  background:rgba(255,255,255,.018);
  pointer-events:none;
}
.v4138-day:hover{
  background:rgba(205,169,91,.075);
}
.v4138-day.today{
  box-shadow:inset 0 0 0 1px rgba(211,175,95,.72);
}
.v4138-day.signed{
  background:rgba(205,169,91,.08);
}
.v4138-day b{
  display:block;
  margin-bottom:4px;
  font-size:11px;
  line-height:1;
}
.v4138-day small{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#aeb2ba;
  font-size:7px;
  line-height:1.15;
  text-transform:uppercase;
}
.v4138-day small.tournament,
.v4138-day small.monthgame{
  color:#dfbd70;
}
.v4138-day small.review{
  color:#b8b1dc;
}
.v4138-day small.birthday{
  color:#d8b9c7;
}
.v4138-day i{
  position:absolute;
  top:4px;
  right:4px;
  width:14px;
  height:14px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#cfa95b;
  color:#0c0d0f;
  font-size:8px;
  font-style:normal;
  font-weight:900;
}
.v4138-cal-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 2px 1px;
}
.v4138-cal-foot button{
  border:1px solid rgba(205,169,91,.28);
  border-radius:999px;
  background:rgba(205,169,91,.08);
  color:#dab970;
  padding:6px 10px;
  font-size:9px;
  font-weight:800;
}
.v4138-cal-foot span{
  color:#7f848e;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
@media(max-width:700px){
  .v4138-home-calendar{
    width:100%;
    padding:8px;
    margin-bottom:10px;
    border-radius:13px;
  }
  .v4138-cal-head h2{font-size:16px}
  .v4138-day{
    min-height:51px;
    padding:4px 3px;
  }
  .v4138-day b{font-size:10px}
  .v4138-day small{font-size:6px}
  .v4138-cal-foot span{display:none}
}


/* V4.13.9 direct-home calendar diagnostic */
.v4138-home-calendar::before{
  content:"";
  display:block;
  position:absolute;
}


/* DOMUS V4.13.12 — smaller calendar, larger cell text */
.v4138-home-calendar{
  width:min(560px,100%) !important;
  padding:9px !important;
  border-radius:14px !important;
}
.v4138-cal-head{
  padding:0 1px 7px !important;
}
.v4138-cal-head span{
  font-size:10px !important;
}
.v4138-cal-head h2{
  font-size:17px !important;
}
.v4138-week span{
  padding:4px 1px !important;
  font-size:9px !important;
}
.v4138-day{
  min-height:50px !important;
  padding:4px 5px !important;
}
.v4138-day b{
  margin-bottom:4px !important;
  font-size:13px !important;
  line-height:1 !important;
}
.v4138-day small{
  font-size:8.5px !important;
  line-height:1.12 !important;
  font-weight:700 !important;
  letter-spacing:.01em !important;
}
.v4138-cal-foot{
  padding:7px 1px 0 !important;
}
.v4138-cal-foot button{
  font-size:10px !important;
  padding:6px 11px !important;
}
.v4138-cal-foot span{
  font-size:8px !important;
}
@media(max-width:700px){
  .v4138-home-calendar{
    width:100% !important;
    padding:7px !important;
  }
  .v4138-day{
    min-height:48px !important;
    padding:4px !important;
  }
  .v4138-day b{
    font-size:12px !important;
  }
  .v4138-day small{
    font-size:8px !important;
  }
}


/* DOMUS V4.13.13 — signup confirmation / roster / admin actions */
.v41313-signed-banner{
  margin:-2px 0 10px;
  padding:9px 11px;
  border:1px solid rgba(74,180,116,.38);
  border-radius:10px;
  background:rgba(74,180,116,.10);
  color:#72d69a;
  font-size:12px;
  font-weight:800;
}
.v4135-day-event.is-signed{
  border-color:rgba(74,180,116,.28);
}
.v4135-day-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.v41313-green{
  border-color:rgba(74,180,116,.45)!important;
  background:rgba(74,180,116,.14)!important;
  color:#79dca0!important;
}
.v41313-admin-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}
.v41313-roster{
  display:grid;
  gap:7px;
}
.v41313-roster-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:rgba(255,255,255,.025);
}
.v41313-roster-row b{display:block}
.v41313-roster-row small{display:block;margin-top:2px;color:#8f949d}
.v41313-remove-player{
  border:1px solid rgba(217,91,91,.32);
  border-radius:8px;
  background:rgba(217,91,91,.08);
  color:#df8b8b;
  padding:7px 9px;
  font-size:10px;
  font-weight:800;
}
.v41313-home-flash{
  width:min(560px,100%);
  margin:0 0 10px;
  padding:10px 12px;
  border:1px solid rgba(74,180,116,.38);
  border-radius:11px;
  background:rgba(74,180,116,.10);
  color:#77d89e;
  font-size:12px;
  font-weight:800;
  opacity:0;
  transform:translateY(-4px);
  transition:.2s ease;
}
.v41313-home-flash.is-visible{
  opacity:1;
  transform:translateY(0);
}
@media(max-width:700px){
  .v4135-day-actions,
  .v41313-admin-actions{
    grid-template-columns:1fr;
  }
  .v41313-home-flash{
    width:100%;
  }
}


/* DOMUS V4.13.16 — combined events in calendar cell */
.v4138-day small.combined{
  color:#e0bd70 !important;
  font-weight:800 !important;
}

/* DOMUS Club V4.13.17 — fan counters + customizable dashboard */
.v4138-day{position:relative}
.v41317-fan-count{position:absolute;right:4px;top:4px;z-index:2;display:inline-flex;align-items:center;gap:2px;min-width:20px;height:18px;padding:0 5px;border:1px solid rgba(198,161,92,.42);border-radius:999px;background:rgba(9,10,12,.88);color:#e4c271;font-size:9px;font-weight:850;line-height:1;box-shadow:0 2px 8px rgba(0,0,0,.28)}
.v41317-fan-count .domus-ui-icon{width:9px;height:9px;opacity:.9}
.v41317-nearest-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v41317-layout-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 10px}
.v41317-layout-toolbar>button{border:1px solid rgba(198,161,92,.25);background:#17181c;color:#dbc078;border-radius:11px;padding:8px 12px;font-weight:750;cursor:pointer}
.v41317-layout-toolbar.is-editing>button:first-child{background:var(--gold);color:#17120b;border-color:var(--gold)}
.v41317-layout-hint{color:var(--muted);font-size:11px}
.v41317-home-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start;margin-bottom:18px}
.v41317-widget{grid-column:span 6;min-width:0;position:relative}
.v41317-widget-body{min-width:0;height:100%}
.v41317-widget-body>.v4138-home-calendar{width:100%!important;margin:0!important}
.v41317-widget-body>.section-head:first-child{margin-top:0}
.v41317-widget-tools{display:none;align-items:center;gap:8px;margin-bottom:7px;padding:6px 7px;border:1px dashed rgba(198,161,92,.32);border-radius:10px;background:rgba(198,161,92,.055)}
.v41317-widget-tools>b{flex:1;font-size:11px;color:#d9c28b;text-transform:uppercase;letter-spacing:.06em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v41317-home-layout.is-editing .v41317-widget-tools{display:flex}
.v41317-home-layout.is-editing .v41317-widget{outline:1px dashed rgba(198,161,92,.28);outline-offset:5px;border-radius:14px;cursor:grab}
.v41317-widget.dragging{opacity:.48;cursor:grabbing!important}
.v41317-drag,.v41317-size-tools button{border:1px solid rgba(255,255,255,.09);background:#111216;color:#bfc2c9;border-radius:8px;height:28px;min-width:31px;padding:0 7px;font-size:10px;font-weight:800;cursor:pointer}
.v41317-drag{font-size:16px;color:#d9b96e;cursor:grab}
.v41317-size-tools{display:flex;gap:4px}
.v41317-widget[style*="min-height"] .v41317-widget-body>.card,.v41317-widget[style*="min-height"] .v41317-widget-body>.player-card,.v41317-widget[style*="min-height"] .v41317-widget-body>.result-poster{min-height:calc(100% - 0px)}
@media(max-width:760px){
 .v41317-home-layout{grid-template-columns:1fr;gap:12px}
 .v41317-widget{grid-column:1/-1!important;min-height:0!important}
 .v41317-size-tools button{display:none}
 .v41317-layout-hint{width:100%}
 .v41317-fan-count{right:2px;top:2px;min-width:17px;height:16px;padding:0 4px;font-size:8px}
}


/* DOMUS Club V4.13.18 — mouse resize + personal evening result */
.v41318-resize-handle{display:none;position:absolute;right:6px;bottom:6px;z-index:20;width:28px;height:28px;border:1px solid rgba(198,161,92,.5);border-radius:9px;background:#15161a;color:#d9b96e;font-size:15px;font-weight:900;line-height:1;cursor:nwse-resize;box-shadow:0 4px 16px rgba(0,0,0,.35);touch-action:none}
.v41317-home-layout.is-editing .v41318-resize-handle{display:grid;place-items:center}
.v41317-home-layout.is-editing{row-gap:18px}
.v41317-widget.is-resizing{user-select:none;cursor:nwse-resize!important;outline:1px solid rgba(198,161,92,.72)!important}
.v41318-personal-night{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 10px;padding:10px;border:1px solid rgba(198,161,92,.2);border-radius:12px;background:rgba(198,161,92,.055)}
.v41318-personal-night>div{min-width:0;display:flex;flex-direction:column;justify-content:center}
.v41318-personal-night small,.v41318-personal-night span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.v41318-personal-night b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v41318-personal-night strong{font-size:16px;color:#e7c979}
.v41318-no-result{grid-column:1/-1}
.result-poster .winner small{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-weight:600}
@media(max-width:760px){.v41318-resize-handle{display:none!important}.v41318-personal-night{grid-template-columns:1fr 1fr}.v41318-personal-night>div:first-child{grid-column:1/-1}}


/* DOMUS Club V4.13.19 — empty score + equal top cards */
.v41319-hidden-score{display:none!important}
.v41317-widget.v41319-equal-top .v41317-widget-body{height:100%}
.v41317-widget.v41319-equal-top[data-widget-id="calendar"] .v4138-home-calendar,
.v41317-widget.v41319-equal-top[data-widget-id="nearest"] .accent-card{height:100%;min-height:100%;box-sizing:border-box}

/* DOMUS Club V4.13.21 — true equal top cards + no programmatic focus flash */
main:focus,main:focus-visible{outline:none!important}
.v41317-widget.v41321-equal-top{height:auto!important;min-height:var(--v41321-top-height)!important}
.v41317-widget.v41321-equal-top .v41317-widget-body{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important}
.v41317-widget.v41321-equal-top[data-widget-id="calendar"] .v4138-home-calendar,
.v41317-widget.v41321-equal-top[data-widget-id="nearest"] .accent-card{
 flex:1 1 auto!important;
 height:100%!important;
 min-height:0!important;
 margin-bottom:0!important;
 box-sizing:border-box!important;
}
@media(max-width:760px){
 .v41317-widget.v41321-equal-top{height:auto!important;min-height:0!important}
 .v41317-widget.v41321-equal-top .v41317-widget-body{height:auto!important;display:block!important}
 .v41317-widget.v41321-equal-top[data-widget-id="calendar"] .v4138-home-calendar,
 .v41317-widget.v41321-equal-top[data-widget-id="nearest"] .accent-card{height:auto!important}
}


/* DOMUS Club V4.13.23 — equal visible top cards without overlap */
.v41317-widget.v41323-equal-top{height:auto!important;min-height:calc(var(--v41323-card-height,0px) + var(--v41323-toolbar-height,0px))!important}
.v41317-widget.v41323-equal-top .v41317-widget-body{min-height:var(--v41323-card-height,0px)!important;height:auto!important;display:flex!important;flex-direction:column!important}
.v41317-widget.v41323-equal-top[data-widget-id="calendar"] .v4138-home-calendar,
.v41317-widget.v41323-equal-top[data-widget-id="nearest"] .accent-card{
 height:var(--v41323-card-height,0px)!important;
 min-height:var(--v41323-card-height,0px)!important;
 margin-bottom:0!important;
 box-sizing:border-box!important;
 flex:0 0 auto!important;
}
@media(max-width:760px){
 .v41317-widget.v41323-equal-top{min-height:0!important}
 .v41317-widget.v41323-equal-top .v41317-widget-body{min-height:0!important;display:block!important}
 .v41317-widget.v41323-equal-top[data-widget-id="calendar"] .v4138-home-calendar,
 .v41317-widget.v41323-equal-top[data-widget-id="nearest"] .accent-card{height:auto!important;min-height:0!important}
}

/* DOMUS Club V4.13.25 — empty results placeholder */
.v41325-empty-results{display:flex;flex-direction:column;justify-content:center;min-height:220px}
.v41325-empty-copy{display:grid;place-items:center;text-align:center;gap:6px;padding:26px 12px}
.v41325-empty-copy b{font-size:18px}
.v41325-empty-copy span{font-size:12px;color:var(--muted);max-width:260px}

/* DOMUS Club V4.13.28 — free nicknames, case-insensitive profile matching */
.v41328-free-nick-hint{display:block;padding:7px 9px;color:#85818a;font-size:10px;line-height:1.25;border-top:1px solid #29272e}


/* DOMUS Club V4.13.29 — compact protocol header + non-sticky savebar */
.v48-topbar.v41329-compact-top{grid-template-columns:minmax(220px,.85fr) minmax(280px,1.15fr)!important;gap:10px!important;align-items:stretch!important}
.v41329-compact-top .v48-timer,.v41329-compact-top .v48-result{padding:9px 11px!important}
.v41329-timer-label{display:flex;align-items:center;justify-content:space-between;gap:8px}
.v41329-timer-label small{margin:0!important}
.v41329-compact-top .v48-timer strong{font-size:38px!important;margin:4px 0!important}
.v41329-compact-top .v48-timer>div:last-child{margin-top:5px!important}
.v41329-compact-top .v48-result{display:flex;flex-direction:column;justify-content:center}
.v41329-compact-top .v48-result small{margin-bottom:5px!important}
.v41329-compact-top .v48-hide-roles{margin-top:7px!important}
.v48-savebar{position:static!important;bottom:auto!important;z-index:auto!important;margin:14px 0 0!important;padding:12px 0 0!important;background:transparent!important;border-top:1px solid #36323a!important;backdrop-filter:none!important}
@media(max-width:900px){
 .v48-topbar.v41329-compact-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important;padding:7px!important}
 .v41329-compact-top .v48-timer,.v41329-compact-top .v48-result{padding:7px!important}
 .v41329-compact-top .v48-timer strong{font-size:31px!important}
 .v41329-compact-top .v48-timer button,.v41329-compact-top .v48-winner-buttons button{min-height:34px!important;padding:5px 8px!important;font-size:12px!important}
 .v41329-compact-top .v48-hide-roles{font-size:11px!important;gap:5px!important}
 .v41329-compact-top .v48-hide-roles input{width:16px!important;height:16px!important}
 .v48-savebar{flex-wrap:wrap!important;margin:10px 0 0!important;padding:10px 0 0!important}
 .v48-savebar span{width:100%!important}
 .v48-savebar button{width:auto!important;flex:1 1 160px!important;min-height:44px!important}
}
@media(max-width:520px){
 .v48-topbar.v41329-compact-top{grid-template-columns:1fr 1fr!important}
 .v41329-compact-top .v48-timer strong{font-size:28px!important}
 .v41329-timer-label .pill{font-size:9px!important;padding:3px 6px!important}
 .v41329-compact-top .v48-winner-buttons{gap:5px!important}
 .v41329-compact-top .v48-result small,.v41329-compact-top .v48-timer small{font-size:10px!important}
}

/* DOMUS Club V4.13.29 — compact protocol header + non-sticky footer */
.v48-topbar{
  grid-template-columns:minmax(210px,.9fr) minmax(280px,1.1fr)!important;
  gap:8px!important;
  padding:8px!important;
  align-items:stretch!important;
}
.v48-topbar>.v48-status-block{display:none!important}
.v48-timer,.v48-result{
  padding:8px 10px!important;
  min-height:0!important;
}
.v48-timer{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:12px!important;
  text-align:left!important;
}
.v48-timer>small{grid-column:1;grid-row:1;margin:0 0 2px!important}
.v48-timer>strong{grid-column:1;grid-row:2;font-size:34px!important;line-height:.95!important}
.v48-timer>div{grid-column:2;grid-row:1/3;margin:0!important;justify-content:flex-end!important;align-items:center!important}
.v48-timer button{min-height:34px!important;padding:6px 10px!important}
.v48-result{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  align-items:center!important;
}
.v48-result>small{grid-column:1;grid-row:1;margin:0!important}
.v48-winner-buttons{grid-column:1;grid-row:2;display:flex!important;gap:6px!important}
.v48-result button{min-height:34px!important;padding:6px 10px!important}
.v48-hide-roles{grid-column:2;grid-row:1/3;margin:0!important;justify-self:end!important;white-space:nowrap!important}
.v48-savebar{
  position:static!important;
  bottom:auto!important;
  z-index:auto!important;
  margin:14px 0 0!important;
  padding:12px 0 0!important;
  background:transparent!important;
  border-top:1px solid #36323a!important;
  backdrop-filter:none!important;
}
@media(max-width:900px){
  .v48-topbar{
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
    gap:6px!important;
    padding:6px!important;
  }
  .v48-timer,.v48-result{padding:7px!important}
  .v48-timer{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;row-gap:4px!important}
  .v48-timer>small{grid-column:1;grid-row:1}
  .v48-timer>strong{grid-column:1;grid-row:2;font-size:30px!important}
  .v48-timer>div{grid-column:1;grid-row:3;justify-content:flex-start!important;gap:5px!important}
  .v48-timer button,.v48-result button{min-height:32px!important;padding:5px 8px!important;font-size:12px!important}
  .v48-result{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;row-gap:5px!important}
  .v48-result>small{grid-column:1;grid-row:1}
  .v48-winner-buttons{grid-column:1;grid-row:2}
  .v48-hide-roles{grid-column:1;grid-row:3;justify-self:start!important;font-size:12px!important}
  .v48-savebar{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  .v48-savebar span{width:100%!important;margin:0!important}
  .v48-savebar button{width:auto!important;flex:1 1 160px!important;min-height:42px!important}
}


/* DOMUS Club V4.13.31 — equal player rows */
.v48-picked-player.is-guest{grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important}
.v48-picked-player.is-guest .v48-guest-badge{white-space:nowrap;align-self:center}
.v48-picked-player.is-guest button{grid-column:auto!important;grid-row:auto!important}


/* DOMUS Club V4.13.32 — compact best-move button */
@media(min-width:901px){
 .v48-best-move-seat{
  min-height:32px!important;
  height:32px!important;
  padding:5px 7px!important;
  font-size:12px!important;
  line-height:1!important;
 }
}


/* DOMUS Club V4.13.34 — ELO in player card + history */
.v41334-player-card{position:relative!important;padding-right:118px!important}
.v41334-elo-badge{position:absolute;top:16px;right:16px;min-width:88px;text-align:right;display:grid;justify-items:end;line-height:1}
.v41334-elo-badge small{font-size:9px;letter-spacing:.16em;color:var(--muted);font-weight:800}
.v41334-elo-badge strong{font-size:27px;color:var(--gold);margin:3px 0 4px;font-variant-numeric:tabular-nums}
.v41334-elo-badge span{font-size:10px;color:var(--muted);font-weight:800}
.v41334-elo-badge span.up,.v41334-elo-change.up>b{color:#72c994}.v41334-elo-badge span.down,.v41334-elo-change.down>b{color:#df6b75}
.v41334-elo-head{align-items:end}.v41334-elo-summary{text-align:right}.v41334-elo-summary b{display:block;color:var(--gold);font-size:23px}.v41334-elo-summary small{color:var(--muted);font-size:10px}
.v41334-elo-history{display:grid;gap:7px}.v41334-elo-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.v41334-elo-row:last-child{border-bottom:0}.v41334-elo-row b{font-size:13px}.v41334-elo-row small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.v41334-elo-change{text-align:right;font-variant-numeric:tabular-nums}.v41334-elo-change>b{font-size:16px;color:var(--text)}
.v41334-elo-empty{display:grid;gap:5px;padding:8px 0}.v41334-elo-empty b{color:var(--gold);font-size:18px}.v41334-elo-empty span{color:var(--muted);font-size:11px}
@media(max-width:560px){.v41334-player-card{padding-right:92px!important}.v41334-elo-badge{top:13px;right:12px;min-width:70px}.v41334-elo-badge strong{font-size:23px}.v41334-elo-row{padding:9px 0}.v41334-elo-summary b{font-size:20px}}

/* DOMUS Club V4.13.35 — clickable My Card */
.v41335-card-link{cursor:pointer;transition:border-color .16s ease,transform .16s ease}
.v41335-card-link:hover{border-color:rgba(201,164,92,.48)}
.v41335-card-link:active{transform:translateY(1px)}
.v41335-card-link:focus-visible{outline:1px solid var(--gold);outline-offset:2px}


/* DOMUS CLUB V4.13.36 — invite friends */
.v41336-invite-btn{border:1px solid rgba(198,161,92,.45);background:rgba(198,161,92,.08);color:var(--gold);border-radius:10px;padding:7px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.v41336-nearest-invite{margin-top:10px}
.v41336-invite-event{margin-bottom:10px}
.v41336-select-all{display:flex;align-items:center;gap:8px;padding:8px 2px 10px;color:var(--muted);font-size:13px}
.v41336-friends{display:grid;gap:7px;max-height:50vh;overflow:auto;margin-bottom:12px}
.v41336-friend{display:grid;grid-template-columns:auto 36px 1fr;align-items:center;gap:10px;border:1px solid var(--line);background:var(--panel);padding:10px;border-radius:13px;cursor:pointer}
.v41336-friend input{width:18px;height:18px;accent-color:var(--gold)}
.v41336-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#2a2520;color:var(--gold);font-size:12px;font-weight:900}
.v41336-friend small{display:block;color:var(--muted);margin-top:2px}
.v41336-events{display:grid;gap:8px}
.v41336-events button{display:grid;grid-template-columns:1fr auto;gap:3px 10px;text-align:left;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:13px;padding:12px;cursor:pointer}
.v41336-events button b,.v41336-events button small{grid-column:1}.v41336-events button span{grid-column:2;grid-row:1/3;align-self:center;color:var(--gold);font-size:18px}.v41336-events button small{color:var(--muted)}
@media(max-width:700px){.v41336-nearest-invite{min-height:42px}.v4138-cal-foot{gap:7px;flex-wrap:wrap}.v41336-invite-btn{min-height:36px}}


/* DOMUS V4.13.38 — Friends hub */
.v41338-friends-metric{cursor:pointer;border-radius:12px;transition:background .15s ease,transform .15s ease}
.v41338-friends-metric:hover{background:rgba(255,255,255,.05)}
.v41338-friends-metric:active{transform:scale(.98)}
.v41338-section{margin-top:18px}
.v41338-section:first-of-type{margin-top:4px}
.v41338-list{display:flex;flex-direction:column;gap:8px;margin-top:8px;max-height:310px;overflow:auto}
.v41338-person{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.v41338-person .avatar{flex:0 0 auto}
.v41338-person .grow{min-width:0;display:flex;flex-direction:column}
.v41338-person .grow b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v41338-person small{display:block;color:var(--muted);margin-top:2px}
.v41338-hint{margin:-3px 0 8px}
.v41338-incoming .v41338-person{border-color:rgba(210,170,70,.42)}
@media(max-width:620px){.v41338-person{gap:8px;padding:9px}.v41338-person .btn.compact{padding:8px 9px;font-size:12px}.v41338-list{max-height:270px}}


/* DOMUS V4.13.39 — active streak and respects */
.v41339-active-metric{cursor:pointer;border-radius:12px;transition:background .15s ease,transform .15s ease}
.v41339-active-metric:hover{background:rgba(255,255,255,.05)}
.v41339-active-metric:active{transform:scale(.98)}
.v41339-summary{margin-bottom:16px}
.v41339-evenings,.v41339-respects{display:flex;flex-direction:column;gap:10px;max-height:62vh;overflow:auto;padding-right:2px}
.v41339-evening{padding:14px}
.v41339-evening-elo{font-weight:900;white-space:nowrap}
.v41339-game-list{display:flex;flex-direction:column;margin-top:10px;border-top:1px solid var(--line)}
.v41339-game{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.v41339-game:last-child{border-bottom:0;padding-bottom:0}
.v41339-game span{display:flex;flex-direction:column;min-width:0}
.v41339-game small{color:var(--muted);margin-top:2px}
.v41339-game strong,.v41339-evening-elo{color:var(--muted)}
.v41339-game strong.up,.v41339-evening-elo.up{color:#68c98b}
.v41339-game strong.down,.v41339-evening-elo.down{color:#ef8585}
.v41339-respect-row{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.v41339-respect-row .grow{min-width:0;display:flex;flex-direction:column}
.v41339-respect-row small{color:var(--muted);margin-top:2px}
.v41339-respect-mark{font-size:22px;color:var(--gold);margin-left:auto}
.v41339-big{font-size:30px;color:var(--gold)}
@media(max-width:620px){.v41339-evening{padding:11px}.v41339-game{padding:9px 0}.v41339-respect-row{padding:9px}.v41339-evenings,.v41339-respects{max-height:66vh}}


/* DOMUS V4.13.40 — real DOMUS level */
.v41340-level-active{cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}
@media (hover:hover){.v41340-level-active:hover{transform:translateY(-1px);border-color:rgba(198,161,92,.58);background:linear-gradient(135deg,rgba(198,161,92,.08),rgba(255,255,255,.015))}}
.v41340-level-active:focus-visible{outline:2px solid rgba(198,161,92,.75);outline-offset:3px}
.v41340-breakdown{display:grid;gap:0;padding-top:4px;padding-bottom:4px}
.v41340-level-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 2px;border-bottom:1px solid rgba(255,255,255,.07)}
.v41340-level-row:last-child{border-bottom:0}
.v41340-level-row span{display:flex;flex-direction:column;gap:3px;font-weight:700}
.v41340-level-row small{font-weight:500;color:var(--muted,#8f8a84)}
.v41340-level-row strong{color:var(--gold,#c6a15c);font-size:17px}


/* ================= DOMUS CLUB V4.13.41 — CARD/ORGANIZER CUSTOM LAYOUT ================= */
.v41341-layout-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 14px}
.v41341-layout-toolbar>button{border:1px solid var(--line,#2d2d32);background:var(--panel,#17171c);color:var(--text,#f5f1e9);border-radius:10px;padding:8px 12px;cursor:pointer}
.v41341-layout-toolbar.is-editing>button:first-child{border-color:rgba(218,174,83,.75);color:#e0b45c}
.v41341-layout-hint{font-size:12px;color:var(--muted,#96939a)}
.v41341-layout-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start}
.v41341-layout-widget{grid-column:span 12;min-width:0;position:relative;border:1px solid transparent;border-radius:16px;overflow:visible}
.v41341-widget-tools{display:none;align-items:center;gap:9px;min-height:36px;padding:5px 7px;margin-bottom:7px;border:1px dashed rgba(218,174,83,.38);border-radius:10px;background:rgba(18,18,22,.92)}
.v41341-layout-grid.is-editing .v41341-widget-tools{display:flex}
.v41341-widget-tools>b{font-size:12px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v41341-drag,.v41341-order-tools button,.v41341-size-tools button{border:1px solid var(--line,#303036);background:transparent;color:var(--muted,#aaa);border-radius:7px;min-width:30px;height:27px;cursor:pointer}
.v41341-drag{cursor:grab;font-weight:900;letter-spacing:-2px}
.v41341-order-tools,.v41341-size-tools{display:flex;gap:4px}
.v41341-layout-grid.is-editing .v41341-layout-widget{border-color:rgba(218,174,83,.22);padding:7px}
.v41341-layout-widget.dragging{opacity:.55}
.v41341-widget-body{min-width:0;height:100%}
.v41341-widget-body>.section-head:first-child{margin-top:0}
.v41341-widget-body>.player-card,.v41341-widget-body>.card,.v41341-widget-body>.level-card,.v41341-widget-body>.result-poster{margin-left:0;margin-right:0}
@media(max-width:720px){
 .v41341-layout-grid{grid-template-columns:1fr;gap:12px}
 .v41341-layout-widget{grid-column:1/-1!important;min-height:0!important}
 .v41341-size-tools{display:none}
 .v41341-widget-tools{position:sticky;top:0;z-index:3}
 .v41341-layout-hint{width:100%}
}
/* ================= END V4.13.41 ================= */


/* DOMUS Club V4.13.42 — resize from every edge and corner */
.v41342-resize-handle{display:none;position:absolute;z-index:8;touch-action:none;user-select:none}
.v41341-layout-grid.is-editing .v41342-resize-handle{display:block}
.v41342-resize-n{left:18px;right:18px;top:-7px;height:14px;cursor:ns-resize}
.v41342-resize-s{left:18px;right:18px;bottom:-7px;height:14px;cursor:ns-resize}
.v41342-resize-e{top:18px;bottom:18px;right:-7px;width:14px;cursor:ew-resize}
.v41342-resize-w{top:18px;bottom:18px;left:-7px;width:14px;cursor:ew-resize}
.v41342-resize-ne,.v41342-resize-nw,.v41342-resize-se,.v41342-resize-sw{width:22px;height:22px}
.v41342-resize-ne{right:-9px;top:-9px;cursor:nesw-resize}
.v41342-resize-nw{left:-9px;top:-9px;cursor:nwse-resize}
.v41342-resize-se{right:-9px;bottom:-9px;cursor:nwse-resize}
.v41342-resize-sw{left:-9px;bottom:-9px;cursor:nesw-resize}
.v41341-layout-grid.is-editing .v41342-resize-handle::after{content:"";position:absolute;background:rgba(218,174,83,.62);border-radius:999px;opacity:.72}
.v41341-layout-grid.is-editing .v41342-resize-n::after,.v41341-layout-grid.is-editing .v41342-resize-s::after{left:42%;right:42%;top:6px;height:2px}
.v41341-layout-grid.is-editing .v41342-resize-e::after,.v41341-layout-grid.is-editing .v41342-resize-w::after{top:42%;bottom:42%;left:6px;width:2px}
.v41341-layout-grid.is-editing .v41342-resize-ne::after,.v41341-layout-grid.is-editing .v41342-resize-nw::after,.v41341-layout-grid.is-editing .v41342-resize-se::after,.v41341-layout-grid.is-editing .v41342-resize-sw::after{inset:5px;border:2px solid rgba(218,174,83,.72);background:transparent;border-radius:4px}
.v41342-resizing{user-select:none!important}
@media(max-width:760px){.v41342-resize-handle{display:none!important}}


/* DOMUS V4.13.44 — create and pin chats */
.chat-thread-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:4px;position:relative}
.chat-thread-row>.chat-thread{width:100%;min-width:0}
.chat-pin-btn{width:30px;height:30px;border:0;background:transparent;opacity:.28;filter:grayscale(1);border-radius:8px;cursor:pointer;font-size:13px;display:grid;place-items:center;transition:.15s ease}
.chat-pin-btn:hover,.chat-pin-btn.active{opacity:1;filter:none;background:rgba(197,151,64,.10)}
.chat-pin-btn.active{color:var(--gold,#c9a052)}
.chat-create-tabs-v41343{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0 14px;padding:4px;border:1px solid rgba(255,255,255,.08);border-radius:12px}
.chat-create-tabs-v41343 button{border:0;border-radius:9px;padding:10px 12px;background:transparent;color:inherit;cursor:pointer}
.chat-create-tabs-v41343 button.active{background:rgba(197,151,64,.16);color:var(--gold,#c9a052)}
.chat-group-people-v41343{display:grid;gap:6px;max-height:330px;overflow:auto;margin:8px 0 14px}
.chat-group-person-v41343{display:grid;grid-template-columns:22px 34px 1fr;gap:9px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.07);border-radius:10px;cursor:pointer}
.chat-group-person-v41343:hover{border-color:rgba(197,151,64,.35)}
.chat-group-person-v41343 input{width:17px;height:17px}
.chat-group-person-v41343 span{display:flex;flex-direction:column;min-width:0}
.chat-group-person-v41343 small{opacity:.55}
.chat-pin-info-v41343{padding:12px 14px 16px}
@media(max-width:700px){.chat-thread-row{grid-template-columns:minmax(0,1fr) 38px}.chat-pin-btn{width:34px;height:34px}}

/* DOMUS V4.13.45 — smart nickname search */
.chat-smart-results-v41345{display:flex;flex-direction:column}.chat-search-hint-v41345{margin:-4px 0 8px;font-size:11px}.chat-smart-results-v41345 [hidden]{display:none!important}

/* DOMUS V4.13.47 — player photo avatars */
.domus-photo-avatar-v41346,.domus-chat-photo-v41346,.domus-header-avatar-v41346{position:relative;overflow:hidden;background:#17171c!important;color:transparent!important;isolation:isolate}
.domus-photo-avatar-v41346 img,.domus-chat-photo-v41346 img,.domus-header-avatar-v41346 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}
.domus-avatar-placeholder-v41346{position:absolute;inset:19%;z-index:1;background:#7b7780;opacity:.72;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0v1H5v-1Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0v1H5v-1Z'/%3E%3C/svg%3E") center/contain no-repeat}
.domus-group-avatar-v41346{position:relative;overflow:hidden;background:#101014!important;color:transparent!important}.domus-group-icon-v41346{position:absolute;inset:22%;background:var(--gold);opacity:.9;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM16.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM1 20v-1.2C1 15.6 3.9 13 7.5 13c1.8 0 3.4.6 4.5 1.6A6.8 6.8 0 0 0 9.5 20H1Zm9.5 0c0-3.9 2.7-7 6-7s6 3.1 6 7h-12Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM16.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM1 20v-1.2C1 15.6 3.9 13 7.5 13c1.8 0 3.4.6 4.5 1.6A6.8 6.8 0 0 0 9.5 20H1Zm9.5 0c0-3.9 2.7-7 6-7s6 3.1 6 7h-12Z'/%3E%3C/svg%3E") center/contain no-repeat}
.domus-header-avatar-v41346{display:block;width:100%;height:100%;border-radius:12px}.profile-avatar-editor-v41346{display:flex;align-items:center;gap:14px;padding:12px;margin:4px 0 14px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}.profile-avatar-preview-v41346 .avatar{width:72px;height:72px;border-radius:22px}.profile-avatar-preview-v41346{flex:0 0 auto}


/* DOMUS Club V4.13.48 — Player registration */
.v41348-auth-card{width:min(480px,100%)}
.v41348-auth-subtitle{margin:4px 0 0}
.v41348-field-status{display:block;font-size:11px;color:var(--muted);margin-top:5px;min-height:16px}
.v41348-field-status.good{color:#62c995}.v41348-field-status.bad{color:#ef7b86}
.v41348-consent{display:flex;align-items:flex-start;gap:10px;margin:10px 0 15px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);font-size:12px;line-height:1.45;color:var(--muted)}
.v41348-consent input{margin-top:2px;accent-color:var(--gold)}
.v41348-register-note{display:grid;gap:4px;margin-top:12px;padding:11px 12px;border-radius:12px;border:1px solid #4b3d27;background:#1c1914;font-size:12px}
.v41348-register-note b{color:var(--gold)}.v41348-register-note span{color:var(--muted);line-height:1.4}
@media(max-width:560px){.v41348-auth-card .auth-tabs{position:sticky;top:-1px;z-index:2}.v41348-consent{font-size:11px}}


/* DOMUS V4.13.60 — access statuses + VIP */
.v41360-access-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.v41360-access-check{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line,#2b2b31);border-radius:10px;padding:10px 8px;font-size:12px;font-weight:800;cursor:pointer}.v41360-access-check input{accent-color:#d2a852}.v41360-status-row,.v41360-public-statuses,.v41360-legend{display:flex;gap:6px;flex-wrap:wrap}.v41360-public-statuses{margin:-3px 0 12px}.pill.v41360-vip{border-color:#d1a34d;color:#efc66e}.pill.v41360-resident{border-color:#4b8a68;color:#7ed9a7}.pill.v41360-host{border-color:#5576a6;color:#8bb6ff}.pill.v41360-admin{border-color:#9a5560;color:#ff9eab}.v41360-vip-settings{border-color:rgba(210,168,82,.45)!important}.v41360-vip-nick{display:inline-flex;align-items:center;gap:.28em}.v41360-font-serif{font-family:Georgia,'Times New Roman',serif}.v41360-font-mono{font-family:'Courier New',monospace}.v41360-font-elegant{font-family:Georgia,'Times New Roman',serif;font-style:italic;letter-spacing:.035em}.v41360-effect-gold{color:#e6bf67!important;text-shadow:0 0 14px rgba(213,167,77,.2)}.v41360-effect-shimmer{background:linear-gradient(90deg,#d7aa52,#fff1bf,#b98836,#fff1bf,#d7aa52);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:v41360Shimmer 3.8s linear infinite}.v41360-vip-symbol{font-size:.8em;color:#e6bf67;-webkit-text-fill-color:#e6bf67}@keyframes v41360Shimmer{to{background-position:220% 0}}.v41360-vip-stats{grid-column:1/-1}.v41360-h2h-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line,#2b2b31)}.v41360-h2h-row:last-child{border-bottom:0}.v41360-h2h-row small{display:block;color:var(--muted,#8d8d96)}.v41360-win{color:#71d69a;font-weight:800}.v41360-loss{color:#e68c97;font-weight:800}.v41360-member-card .member-actions{display:grid;grid-template-columns:1fr auto;gap:8px}@media(max-width:720px){.v41360-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* DOMUS V4.13.62 — current player status in top-left header */
.brand-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.header-player-status{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px;max-width:310px}
.header-status-chip{display:inline-flex;align-items:center;min-height:16px;padding:1px 6px;border:1px solid rgba(255,255,255,.14);border-radius:999px;font-size:9px;line-height:1.15;font-weight:800;letter-spacing:.035em;white-space:nowrap;background:rgba(255,255,255,.035)}
.header-status-vip{color:#efc66e;border-color:rgba(209,163,77,.55)}
.header-status-resident{color:#7ed9a7;border-color:rgba(75,138,104,.6)}
.header-status-host{color:#8bb6ff;border-color:rgba(85,118,166,.65)}
.header-status-admin{color:#ff9eab;border-color:rgba(154,85,96,.65)}
.header-status-owner{color:#e4c16f;border-color:rgba(210,168,82,.62);background:rgba(210,168,82,.08)}
.header-status-player{color:var(--muted)}
@media(max-width:620px){.header-player-status{max-width:190px;gap:3px}.header-status-chip{font-size:8px;padding:1px 5px}.brand-copy small{font-size:8px}}


/* DOMUS CLUB V4.13.68 — CHAT DELETE + VIDEO CIRCLES */
.chat-danger-zone-v41368{border-top:1px solid var(--line);padding:14px 10px 18px}.chat-danger-zone-v41368 small{display:block;color:var(--muted);font-size:10px;text-align:center;margin-top:7px}.chat-composer{grid-template-columns:42px 1fr 42px 44px}.chat-circle-record-btn-v41368{width:42px!important;height:42px!important;border-radius:50%!important;font-size:22px!important;color:var(--gold)!important}.chat-circle-bubble-v41368{padding:7px}.chat-circle-wrap-v41368{display:flex}.chat-circle-v41368{position:relative;width:176px;height:176px;border-radius:50%;padding:0;border:3px solid #a66f31;background:#111;overflow:hidden;box-shadow:0 4px 26px #0008;cursor:pointer;color:#fff}.chat-circle-v41368 video{width:100%;height:100%;object-fit:cover;display:block;background:radial-gradient(circle,#29292f,#111)}.chat-circle-play-v41368{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#0009;font-weight:900;font-size:20px;backdrop-filter:blur(4px)}.chat-circle-v41368.playing .chat-circle-play-v41368{opacity:.4}.chat-circle-time-v41368{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);background:#0009;border-radius:999px;padding:3px 7px;font-size:10px;white-space:nowrap}.chat-circle-v41368.unavailable{opacity:.7}.circle-recorder-v41368{display:grid;justify-content:center;gap:10px;margin:8px 0 18px}.circle-recorder-v41368 video{width:min(72vw,340px);height:min(72vw,340px);max-width:340px;max-height:340px;border-radius:50%;object-fit:cover;background:#09090b;border:4px solid var(--gold);box-shadow:0 12px 40px #000a}.circle-timer-v41368{text-align:center;font-weight:900;color:var(--gold);font-variant-numeric:tabular-nums}@media(max-width:720px){.chat-composer{grid-template-columns:42px 1fr 42px 44px}.chat-circle-v41368{width:154px;height:154px}}

/* DOMUS V4.13.72 — VIP detailed statistics */
.v41372-detailed-btn{width:100%;margin:18px 0 14px;padding:12px 14px;border:1px solid rgba(198,161,92,.48);border-radius:13px;background:rgba(198,161,92,.08);color:var(--text,#fff);display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer}
.v41372-detailed-btn:hover{background:rgba(198,161,92,.14);border-color:rgba(198,161,92,.8)}
.v41372-detailed-btn span{font-size:9px;font-weight:900;letter-spacing:.12em;color:var(--gold,#c6a15c);border:1px solid rgba(198,161,92,.5);border-radius:999px;padding:4px 7px}
.v41372-detailed-btn b{font-size:13px}.v41372-detailed-btn em{font-style:normal;font-size:11px;color:var(--gold,#c6a15c)}
.v41372-role-row,.v41372-h2h-row{display:grid;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.v41372-role-row:last-child,.v41372-h2h-row:last-child{border-bottom:0}
.v41372-role-row{grid-template-columns:1fr auto 54px}.v41372-role-row span{display:flex;flex-direction:column}.v41372-role-row small,.v41372-h2h-row small{color:var(--muted,#999)}
.v41372-h2h-row{grid-template-columns:auto 1fr auto auto 48px}.v41372-win{color:#73d79d}.v41372-loss{color:#e88088}.v41372-h2h-row strong,.v41372-role-row strong{text-align:right;color:var(--gold,#c6a15c)}
@media(max-width:680px){.v41372-h2h-row{grid-template-columns:auto 1fr auto}.v41372-h2h-row .v41372-loss,.v41372-h2h-row strong{grid-column:3}.v41372-role-row{grid-template-columns:1fr auto auto}}

/* DOMUS V4.13.77 — chat viewport/composer fix */
body:has(.chat-page){height:100dvh;overflow:hidden}
body:has(.chat-page) main{
  height:calc(100dvh - 68px);
  min-height:0;
  max-height:calc(100dvh - 68px);
  padding:12px 12px calc(82px + var(--safe-bottom));
  overflow:hidden;
}
.chat-page{
  height:100%;
  max-height:100%;
  min-height:0;
}
.chat-sidebar,.chat-center,.chat-info{min-height:0}
.chat-center{overflow:hidden;min-height:0}
.chat-messages{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.chat-composer{
  position:relative;
  z-index:6;
  flex:0 0 auto;
  padding-bottom:max(10px,env(safe-area-inset-bottom,0px));
}
.chat-file-name{position:relative;z-index:6}
@media(max-width:720px){
  body:has(.chat-page) main{
    height:calc(100dvh - 64px);
    max-height:calc(100dvh - 64px);
    padding:0 0 calc(70px + var(--safe-bottom));
  }
  .chat-page{height:100%;min-height:0;max-height:100%}
  .chat-center{min-height:0}
  .chat-messages{min-height:0}
}


/* ================= DOMUS CLUB V4.13.83 — MOBILE FIX VERIFIED ================= */
.v41383-eye{border:1px solid #373239;background:#111216;color:#c6a15c;border-radius:8px;min-width:32px;height:28px;font-weight:800}
.v41383-hidden{opacity:.35}.v41383-nearest-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v41383-nearest-card{border:1px solid var(--line);background:var(--panel);border-radius:22px;padding:18px}.v41383-nearest-card h2{margin:14px 0 6px}.v41383-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.v41383-unfinished{margin:14px 0}.v41383-unfinished-card{display:grid;gap:12px;margin:8px 0}
@media(max-width:720px){
  main{padding-bottom:calc(52px + env(safe-area-inset-bottom,0px))!important}
  .bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;min-height:44px!important;padding:3px 4px calc(3px + env(safe-area-inset-bottom,0px))!important}
  .bottom-nav button{display:grid;min-width:0!important;min-height:38px!important;padding:0!important;gap:0!important}.bottom-nav button[hidden]{display:none!important}
  .bottom-nav button span{font-size:14px!important;line-height:15px!important}.bottom-nav button small{font-size:7px!important;line-height:9px!important;white-space:nowrap!important}
  .v41317-drag{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important}
  .v41383-nearest-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.v41383-nearest-card{padding:11px!important;border-radius:15px!important}.v41383-nearest-card h2{font-size:17px!important;margin:8px 0 3px!important}.v41383-nearest-card .meta{font-size:9px!important}.v41383-nearest-card .pill{font-size:8px!important;padding:3px 5px!important}.v41383-nearest-card .metric{padding:7px!important}.v41383-nearest-card .metric strong{font-size:18px!important}.v41383-nearest-card .metric small{font-size:8px!important}.v41383-status-grid{grid-template-columns:1fr!important;gap:4px!important;margin-top:7px!important}.v41383-status-grid button{min-height:30px!important;padding:5px 2px!important;font-size:9px!important}
  body:has(.chat-page){overflow:hidden!important}.chat-page{height:calc(100dvh - 104px)!important;min-height:0!important;max-height:calc(100dvh - 104px)!important}.chat-center{grid-template-rows:52px minmax(0,1fr) auto auto!important;min-height:0!important}.chat-header{height:52px!important;padding:5px 8px!important}.chat-messages{padding:5px 7px 2px!important;min-height:0!important;overflow-y:auto!important}.chat-message-row{gap:3px!important;margin:3px 0!important}.chat-message-wrap{max-width:90%!important}.chat-sender{font-size:8px!important;margin:0 0 1px 2px!important}.chat-bubble{font-size:10px!important;line-height:1.18!important;padding:5px 7px!important;border-radius:10px!important}.chat-message-meta{font-size:7px!important;margin-top:1px!important}.chat-message-actions{opacity:1!important;gap:2px!important;margin-top:2px!important}.chat-message-actions button{font-size:8px!important;padding:2px 4px!important}.chat-mini-avatar{width:18px!important;height:18px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:9px!important}
  .chat-composer{position:relative!important;z-index:50!important;grid-template-columns:28px minmax(0,1fr) 28px 30px!important;gap:3px!important;padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px))!important;background:#0d0d10!important}.chat-composer>button,.chat-circle-record-btn-v41368{width:28px!important;height:28px!important;min-height:28px!important;font-size:12px!important}.chat-composer textarea{min-height:28px!important;max-height:56px!important;padding:5px 7px!important;font-size:10px!important;line-height:1.15!important;border-radius:9px!important}.chat-file-name{padding:0 7px 2px!important;font-size:7px!important}
}
/* ================= END V4.13.83 ================= */


/* ================= DOMUS CLUB V4.13.84 — MOBILE CHAT COMPOSER ABOVE NAV ================= */
@media(max-width:720px){
  body:has(.chat-page) main{padding:0!important;min-height:0!important;overflow:hidden!important}
  .chat-page{height:var(--domus-chat-height,calc(100dvh - 150px))!important;max-height:var(--domus-chat-height,calc(100dvh - 150px))!important;min-height:220px!important;margin:0!important;overflow:hidden!important}
  .chat-center{height:100%!important;min-height:0!important;grid-template-rows:52px minmax(0,1fr) auto auto!important}
  .chat-messages{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:4px!important}
  .chat-composer{position:relative!important;inset:auto!important;bottom:auto!important;margin:0!important;padding:4px 6px!important;min-height:36px!important;flex-shrink:0!important;border-bottom:0!important}
  .chat-file-name{margin:0!important;padding:0 7px 2px!important;min-height:0!important}
}
/* ================= END V4.13.84 ================= */


/* ================= DOMUS CLUB V4.13.85 — TELEGRAM CHAT DOCK ================= */
@media (max-width:720px){
  body:has(.chat-page){height:100dvh!important;overflow:hidden!important}
  body:has(.chat-page) main{padding:0!important;min-height:0!important;overflow:hidden!important}
  .chat-page{height:calc(100dvh - var(--domus-topbar-h,86px))!important;max-height:calc(100dvh - var(--domus-topbar-h,86px))!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
  .chat-center{height:100%!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:52px minmax(0,1fr)!important;padding-bottom:0!important}
  .chat-header{height:52px!important;min-height:52px!important;padding:6px 8px!important}
  .chat-messages{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:6px 8px calc(var(--domus-chat-dock-h,44px) + 10px)!important;scroll-padding-bottom:calc(var(--domus-chat-dock-h,44px) + 10px)!important;display:flex!important;flex-direction:column!important}
  .chat-messages:before{content:"";margin-top:auto!important;flex:1 1 auto!important}
  .chat-messages>*{flex:0 0 auto!important}
  .chat-composer{position:fixed!important;left:0!important;right:0!important;bottom:var(--domus-bottom-nav-h,52px)!important;z-index:120!important;margin:0!important;grid-template-columns:28px minmax(0,1fr) 28px 30px!important;gap:4px!important;padding:6px 8px!important;min-height:44px!important;align-items:end!important;border-top:1px solid var(--line)!important;border-bottom:0!important;background:#0d0d10f2!important;backdrop-filter:blur(16px)!important}
  .chat-file-name{position:fixed!important;left:0!important;right:0!important;bottom:calc(var(--domus-bottom-nav-h,52px) + var(--domus-chat-dock-h,44px))!important;z-index:121!important;margin:0!important;padding:3px 8px 4px!important;min-height:0!important;background:#0d0d10f2!important;font-size:10px!important}
  .chat-composer textarea{min-height:32px!important;max-height:88px!important;padding:7px 10px!important;font-size:12px!important;line-height:1.25!important;border-radius:12px!important}
  .chat-composer>button,.chat-circle-record-btn-v41368{width:28px!important;height:28px!important;min-height:28px!important;font-size:12px!important;padding:0!important}
}
/* ================= END DOMUS CLUB V4.13.85 ================= */



/* ================= DOMUS CLUB V4.13.86 — CHAT FLOW DOCK FIX ================= */
@media (max-width:720px){
  body:has(.chat-page){
    height:100dvh!important;
    overflow:hidden!important;
  }
  body:has(.chat-page) main{
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .chat-page{
    height:var(--domus-chat-available-h,calc(100dvh - 150px))!important;
    max-height:var(--domus-chat-available-h,calc(100dvh - 150px))!important;
    min-height:220px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .chat-center{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    display:grid!important;
    grid-template-rows:52px minmax(0,1fr) auto auto!important;
    padding:0!important;
  }
  .chat-header{
    height:52px!important;
    min-height:52px!important;
    padding:6px 8px!important;
  }
  .chat-messages{
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    padding:6px 8px 6px!important;
    scroll-padding-bottom:8px!important;
  }
  .chat-messages::before{
    content:""!important;
    display:block!important;
    flex:1 0 0!important;
    min-height:0!important;
  }
  .chat-messages>*{
    flex:0 0 auto!important;
  }
  .chat-composer{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    inset:auto!important;
    z-index:20!important;
    width:100%!important;
    margin:0!important;
    grid-template-columns:28px minmax(0,1fr) 28px 30px!important;
    gap:4px!important;
    padding:5px 8px!important;
    min-height:42px!important;
    align-items:end!important;
    border-top:1px solid var(--line)!important;
    border-bottom:0!important;
    background:#0d0d10f2!important;
    backdrop-filter:blur(16px)!important;
    transform:none!important;
  }
  .chat-file-name{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    inset:auto!important;
    z-index:21!important;
    width:100%!important;
    margin:0!important;
    padding:3px 8px 4px!important;
    min-height:0!important;
    background:#0d0d10f2!important;
    font-size:10px!important;
    transform:none!important;
  }
  .chat-composer textarea{
    min-height:32px!important;
    max-height:76px!important;
    padding:7px 10px!important;
    font-size:12px!important;
    line-height:1.25!important;
    border-radius:12px!important;
  }
  .chat-composer>button,.chat-circle-record-btn-v41368{
    width:28px!important;
    height:28px!important;
    min-height:28px!important;
    font-size:12px!important;
    padding:0!important;
  }
}
/* ================= END DOMUS CLUB V4.13.86 ================= */


/* ================= DOMUS CLUB V4.13.87 — CHAT DOCK EXACTLY ABOVE NAV ================= */
@media (max-width:720px){
  body:has(.chat-page){height:100dvh!important;overflow:hidden!important}
  body:has(.chat-page) main{padding:0!important;min-height:0!important;overflow:hidden!important}
  .chat-page{
    position:relative!important;
    height:var(--domus-chat87-h,calc(100dvh - 150px))!important;
    max-height:var(--domus-chat87-h,calc(100dvh - 150px))!important;
    min-height:180px!important;
    margin:0!important;padding:0!important;overflow:hidden!important;
  }
  .chat-sidebar,.chat-center{position:absolute!important;inset:0!important}
  .chat-center{
    height:100%!important;min-height:0!important;overflow:hidden!important;
    display:grid!important;
    grid-template-rows:52px minmax(0,1fr) auto auto!important;
    padding:0!important;
  }
  .chat-page.mobile-open .chat-center{transform:none!important}
  .chat-header{grid-row:1!important;height:52px!important;min-height:52px!important;padding:6px 8px!important}
  .chat-messages{
    grid-row:2!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain!important;display:flex!important;flex-direction:column!important;
    justify-content:flex-start!important;padding:6px 8px!important;scroll-padding-bottom:8px!important;
  }
  .chat-messages::before{content:""!important;display:block!important;flex:1 0 0!important;min-height:0!important}
  .chat-messages>*{flex:0 0 auto!important}
  .chat-file-name{
    grid-row:3!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
    top:auto!important;bottom:auto!important;width:100%!important;margin:0!important;padding:3px 8px 4px!important;
    min-height:0!important;background:#0d0d10f2!important;font-size:10px!important;transform:none!important;z-index:21!important;
  }
  .chat-composer{
    grid-row:4!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
    top:auto!important;bottom:auto!important;width:100%!important;margin:0!important;transform:none!important;
    z-index:22!important;grid-template-columns:28px minmax(0,1fr) 28px 30px!important;gap:4px!important;
    padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px))!important;min-height:42px!important;align-items:end!important;
    border-top:1px solid var(--line)!important;border-bottom:0!important;background:#0d0d10fa!important;backdrop-filter:blur(16px)!important;
  }
  .chat-composer textarea{min-height:32px!important;max-height:76px!important;padding:7px 10px!important;font-size:12px!important;line-height:1.25!important;border-radius:12px!important}
  .chat-composer>button,.chat-circle-record-btn-v41368{width:28px!important;height:28px!important;min-height:28px!important;font-size:12px!important;padding:0!important}
  .bottom-nav{z-index:130!important}
}
/* ================= END DOMUS CLUB V4.13.87 ================= */

/* ================= DOMUS CLUB V4.13.89 — CHAT RAISED 2MM + NO IOS FOCUS ZOOM ================= */
@media (max-width:720px){
  .chat-composer textarea{
    font-size:16px!important;
    line-height:1.25!important;
    -webkit-text-size-adjust:100%;
  }
}
/* ================= END DOMUS CLUB V4.13.89 ================= */

/* ================= DOMUS CLUB V4.13.91 — CHAT COMPOSER LIFT 20PX ================= */
@media (max-width:720px){
  body:has(.chat-page) .chat-composer,
  body:has(.chat-page) .chat-file-name{
    transform:translateY(-20px)!important;
  }
}
/* ================= END DOMUS CLUB V4.13.91 ================= */

/* ================= DOMUS CLUB V4.13.92 — LARGE VIDEO CIRCLE VIEWER ================= */
.circle-viewer-v41392{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:max(54px,env(safe-area-inset-top,0px)) 18px max(54px,env(safe-area-inset-bottom,0px));background:rgba(0,0,0,.32);backdrop-filter:none;-webkit-backdrop-filter:none;animation:circleViewerIn41392 .16s ease-out}
.circle-viewer-stage-v41392{position:relative;width:min(88vmin,760px);height:min(88vmin,760px);max-width:calc(100vw - 28px);max-height:calc(100dvh - 116px);aspect-ratio:1;border-radius:50%;overflow:hidden;border:4px solid var(--gold);background:#08080a;box-shadow:0 18px 80px #000,0 0 0 1px rgba(255,255,255,.1)}
.circle-viewer-stage-v41392 video{width:100%;height:100%;display:block;object-fit:cover;background:#08080a}
.circle-viewer-close-v41392{position:absolute;z-index:2;top:max(12px,env(safe-area-inset-top,0px));right:14px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(20,20,24,.86);color:#fff;font-size:29px;line-height:1;display:grid;place-items:center}
.circle-viewer-play-v41392{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:68px;border:0;border-radius:50%;background:rgba(0,0,0,.58);color:#fff;font-size:26px;display:grid;place-items:center;transition:opacity .15s}
.circle-viewer-v41392.playing .circle-viewer-play-v41392{opacity:0;pointer-events:none}
body.circle-viewer-open-v41392{overflow:hidden!important}
@keyframes circleViewerIn41392{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(max-width:720px){.circle-viewer-stage-v41392{width:min(92vw,82dvh);height:min(92vw,82dvh);max-width:none;max-height:none}.circle-viewer-close-v41392{top:max(10px,env(safe-area-inset-top,0px));right:10px}}
/* ================= END DOMUS CLUB V4.13.92 ================= */


/* ================= DOMUS CLUB V4.13.105 — MOBILE GAME PROTOCOL FIT =================
   Keep every protocol control inside the phone viewport. The previous V4.13.3
   override forced a 720px-wide table on <=700px screens, pushing Best Move and
   later controls off-screen. Restore a compact multi-row mobile grid instead.
   ================================================================================ */
@media (max-width:700px){
  #modal:has(.v48-modal-head){
    width:100vw!important;
    max-width:100vw!important;
    padding-left:5px!important;
    padding-right:5px!important;
    overflow-x:hidden!important;
  }

  .v48-modal-head{padding-left:5px!important;padding-right:5px!important}
  .v48-modal-head h2,.v48-game-title-input{font-size:18px!important;line-height:1.15!important}

  .v48-topbar{padding:5px!important;gap:5px!important;margin-bottom:7px!important}
  .v48-result,.v48-timer,.v48-status-block{padding:7px!important;border-radius:11px!important}
  .v48-timer strong{font-size:32px!important;margin:2px 0 5px!important}
  .v48-timer>div,.v48-winner-buttons{gap:5px!important}
  .v48-timer button,.v48-winner-buttons button{min-height:34px!important;padding:5px 9px!important;font-size:12px!important}
  .v48-hide-roles{margin-top:5px!important;font-size:12px!important}
  .v48-hide-roles input{width:16px!important;height:16px!important}

  .v48-table{
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    border-radius:10px!important;
  }
  .v48-player-head{display:none!important;min-width:0!important}
  .v48-player-row{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:0!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) minmax(72px,.9fr)!important;
    grid-template-rows:auto auto auto!important;
    gap:4px!important;
    padding:5px 4px!important;
    overflow:visible!important;
    align-items:center!important;
  }

  .v48-seat{grid-column:1!important;grid-row:1/4!important;padding:0!important;align-self:stretch!important;display:grid!important;place-items:center!important}
  .v48-seat-vote{width:28px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;font-size:12px!important}

  .v48-player-name{grid-column:2/4!important;grid-row:1!important;min-width:0!important;overflow:hidden!important}
  .v48-player-name b,.v48-picked-player b{font-size:12px!important;line-height:1.1!important}
  .v48-player-search{height:30px!important;min-height:30px!important;padding:4px 6px!important;font-size:12px!important;border-radius:8px!important}

  .v48-player-row>.v48-cell:nth-child(5){grid-column:4!important;grid-row:1!important}
  .v48-player-row>.v48-cell:nth-child(3){grid-column:2/4!important;grid-row:2!important}
  .v48-player-row>.v48-cell:nth-child(4){grid-column:4!important;grid-row:2!important;position:relative!important;z-index:2!important}
  .v48-player-row>.v48-cell:nth-child(6){grid-column:2!important;grid-row:3!important}
  .v48-player-row>.v48-cell:nth-child(7){grid-column:3!important;grid-row:3!important}
  .v48-player-row>.v48-cell:nth-child(8){grid-column:4!important;grid-row:3!important}

  .v48-mobile-label{display:block!important;margin:0 0 2px!important;font-size:7.5px!important;line-height:1!important;letter-spacing:.03em!important}
  .v48-player-name .v48-mobile-label,.v48-seat .v48-mobile-label{display:none!important}

  .v48-fouls{grid-template-columns:28px minmax(20px,1fr) 28px!important;gap:3px!important}
  .v48-fouls button{height:29px!important;min-height:29px!important;padding:0!important;border-radius:7px!important;font-size:16px!important}
  .v48-fouls strong{font-size:13px!important}

  .v48-best-move-seat,.v48-role,.v48-role-hidden,.v48-score{
    width:100%!important;
    min-width:0!important;
    height:30px!important;
    min-height:30px!important;
    padding:4px 5px!important;
    border-radius:7px!important;
    font-size:10px!important;
    line-height:1.05!important;
  }
  .v48-best-move-seat{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    touch-action:manipulation!important;
  }
  .v48-best-move-seat:not(:disabled){pointer-events:auto!important;cursor:pointer!important}

  .v48-voting{margin-top:7px!important;padding:8px!important;border-radius:11px!important}
  .v48-section-head h3{font-size:18px!important}
  .v48-section-head small{font-size:9px!important}
  .v48-vote-history-row{padding:6px!important}
}
/* ================= END DOMUS CLUB V4.13.105 ================= */


/* ================= DOMUS CLUB V4.13.106 — ONE-LINE MOBILE PROTOCOL =================
   One compact row per player. Unknown typed nicknames are rendered as grey guests.
   Best Move stays available and commits a typed nickname before opening the picker.
   ================================================================================ */
@media (max-width:700px){
  .v48-table{overflow-x:hidden!important;width:100%!important}
  .v48-player-head{display:none!important}
  .v48-player-row{
    display:grid!important;
    grid-template-columns:24px minmax(72px,1.55fr) 60px 54px 62px 25px 25px 25px!important;
    grid-template-rows:34px!important;
    gap:2px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:2px 3px!important;
    align-items:center!important;
    overflow:visible!important;
  }
  .v48-seat,.v48-player-name,
  .v48-player-row>.v48-cell:nth-child(3),
  .v48-player-row>.v48-cell:nth-child(4),
  .v48-player-row>.v48-cell:nth-child(5),
  .v48-player-row>.v48-cell:nth-child(6),
  .v48-player-row>.v48-cell:nth-child(7),
  .v48-player-row>.v48-cell:nth-child(8){grid-column:auto!important;grid-row:1!important;padding:0!important;min-width:0!important}
  .v48-seat{display:block!important;align-self:center!important}
  .v48-mobile-label{display:none!important}
  .v48-seat-vote{width:22px!important;height:28px!important;min-height:28px!important;padding:0!important;font-size:10px!important;border-radius:6px!important}
  .v48-player-name{overflow:visible!important}
  .v48-player-search{width:100%!important;height:28px!important;min-height:28px!important;padding:3px 5px!important;font-size:10px!important;border-radius:6px!important}
  .v48-picked-player{display:grid!important;grid-template-columns:minmax(0,1fr) 12px!important;gap:1px!important;width:100%!important;align-items:center!important}
  .v48-picked-player b{font-size:10px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .v48-picked-player.is-guest b{color:#85858c!important;font-weight:600!important}
  .v48-picked-player small,.v48-guest-badge{display:none!important}
  .v48-picked-player button{font-size:13px!important;padding:0!important;width:12px!important;min-width:12px!important}
  .v48-fouls{display:grid!important;grid-template-columns:19px 18px 19px!important;gap:2px!important;width:58px!important;align-items:center!important}
  .v48-fouls button{width:19px!important;height:28px!important;min-height:28px!important;padding:0!important;font-size:13px!important;border-radius:6px!important}
  .v48-fouls strong{font-size:11px!important;text-align:center!important}
  .v48-best-move-seat,.v48-role,.v48-role-hidden,.v48-score{height:28px!important;min-height:28px!important;padding:2px 3px!important;font-size:9px!important;border-radius:6px!important;line-height:1!important}
  .v48-best-move-seat{width:54px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;pointer-events:auto!important;touch-action:manipulation!important}
  .v48-role,.v48-role-hidden{width:62px!important}
  .v48-score{width:25px!important;padding:1px!important;font-size:8px!important;text-align:center!important}
  .v48-score::placeholder{font-size:0!important}
  .v48-player-options{left:0!important;right:auto!important;width:min(220px,72vw)!important;z-index:1000!important}
  .v48-best-picker{position:fixed!important;left:12px!important;right:12px!important;bottom:max(16px,env(safe-area-inset-bottom))!important;width:auto!important;z-index:1000000!important}
}
@media (max-width:360px){
  .v48-player-row{grid-template-columns:22px minmax(62px,1.45fr) 56px 50px 58px 22px 22px 22px!important;gap:1px!important;padding-left:2px!important;padding-right:2px!important}
  .v48-best-move-seat{width:50px!important;font-size:8px!important}.v48-role,.v48-role-hidden{width:58px!important;font-size:8px!important}.v48-score{width:22px!important}.v48-fouls{width:56px!important;grid-template-columns:18px 18px 18px!important}.v48-fouls button{width:18px!important}
}
/* ================= END DOMUS CLUB V4.13.106 ================= */

/* ================= DOMUS CLUB V4.13.107 — MOBILE PROTOCOL FINAL =================
   One row per player. Restore + / - / Tech labels and make Best Move picker
   independent from the table overflow container on touch devices.
   ================================================================================ */
@media (max-width:700px){
  .v48-player-row{
    grid-template-columns:24px minmax(76px,1.6fr) 58px 54px 60px 24px 24px 27px!important;
    grid-template-rows:38px!important;
    min-height:42px!important;
    max-height:42px!important;
    overflow:visible!important;
  }
  .v48-player-row>.v48-cell:nth-child(6),
  .v48-player-row>.v48-cell:nth-child(7),
  .v48-player-row>.v48-cell:nth-child(8){
    position:relative!important;
    padding-top:9px!important;
    overflow:visible!important;
  }
  .v48-player-row>.v48-cell:nth-child(6) .v48-mobile-label,
  .v48-player-row>.v48-cell:nth-child(7) .v48-mobile-label,
  .v48-player-row>.v48-cell:nth-child(8) .v48-mobile-label{
    display:block!important;
    position:absolute!important;
    top:0!important;
    left:1px!important;
    margin:0!important;
    color:#85818a!important;
    font-size:7px!important;
    line-height:8px!important;
    text-transform:none!important;
    letter-spacing:0!important;
    pointer-events:none!important;
  }
  .v48-score{height:27px!important;min-height:27px!important;width:100%!important}
  .v48-best-move-seat{
    position:relative!important;
    z-index:5!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:rgba(198,161,92,.22)!important;
  }
  .v413107-best-picker{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:min(330px,calc(100vw - 28px))!important;
    max-width:calc(100vw - 28px)!important;
    padding:16px!important;
    border:1px solid #80683e!important;
    border-radius:16px!important;
    background:#111115!important;
    box-shadow:0 0 0 100vmax rgba(0,0,0,.72),0 18px 60px rgba(0,0,0,.75)!important;
    z-index:2147483000!important;
    overflow:visible!important;
  }
  .v413107-best-picker .v48-best-picker-title{display:flex!important;justify-content:space-between!important;align-items:center!important;font-size:13px!important;color:#f5f2eb!important}
  .v413107-best-picker .v48-best-picker-title span{color:#c6a15c!important}
  .v48-best-picker-subtitle{font-size:10px!important;color:#8f8b8a!important;margin:-2px 0 10px!important}
  .v413107-best-picker .v48-best-picker-numbers{grid-template-columns:repeat(5,1fr)!important;gap:7px!important}
  .v413107-best-picker .v48-best-picker-numbers button{min-height:44px!important;font-size:15px!important}
  .v413107-best-close{width:100%!important;margin-top:10px!important;min-height:40px!important;border:1px solid #343139!important;border-radius:10px!important;background:#19191e!important;color:#d5d0c9!important}
}
@media (max-width:360px){
  .v48-player-row{grid-template-columns:22px minmax(66px,1.5fr) 54px 50px 56px 22px 22px 25px!important}
}
/* ================= END DOMUS CLUB V4.13.107 ================= */


/* ================= DOMUS CLUB V4.13.108 — MOBILE ROLE + SCORE HEADERS =================
   Keep one player per row. Compact the role column and move + / − / Тех labels
   into a single header above their score columns on mobile.
   ================================================================================ */
@media (max-width:700px){
  .v48-player-head{
    display:grid!important;
    grid-template-columns:24px minmax(102px,1.8fr) 58px 54px 34px 24px 24px 27px!important;
    gap:2px!important;
    align-items:end!important;
    min-height:14px!important;
    padding:1px 4px 0!important;
    background:#121217!important;
    border-bottom:0!important;
    font-size:7px!important;
    line-height:10px!important;
    text-transform:none!important;
    letter-spacing:0!important;
  }
  .v48-player-head>span:nth-child(-n+5){visibility:hidden!important}
  .v48-player-head>span:nth-child(6),
  .v48-player-head>span:nth-child(7),
  .v48-player-head>span:nth-child(8){
    visibility:visible!important;
    display:block!important;
    text-align:center!important;
    color:#8f8b8a!important;
    font-size:7px!important;
    font-weight:600!important;
  }
  .v48-player-row{
    grid-template-columns:24px minmax(102px,1.8fr) 58px 54px 34px 24px 24px 27px!important;
    gap:2px!important;
  }
  .v48-role,.v48-role-hidden{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    padding:2px 1px!important;
    font-size:7.5px!important;
    text-overflow:clip!important;
  }
  .v48-player-row>.v48-cell:nth-child(5){overflow:visible!important}
  .v48-player-row>.v48-cell:nth-child(6),
  .v48-player-row>.v48-cell:nth-child(7),
  .v48-player-row>.v48-cell:nth-child(8){
    padding-top:0!important;
  }
  .v48-player-row>.v48-cell:nth-child(6) .v48-mobile-label,
  .v48-player-row>.v48-cell:nth-child(7) .v48-mobile-label,
  .v48-player-row>.v48-cell:nth-child(8) .v48-mobile-label{
    display:none!important;
  }
}
@media (max-width:360px){
  .v48-player-head,
  .v48-player-row{
    grid-template-columns:22px minmax(84px,1.65fr) 54px 50px 32px 22px 22px 25px!important;
    gap:1px!important;
  }
  .v48-role,.v48-role-hidden{width:32px!important;min-width:32px!important;max-width:32px!important;font-size:7px!important}
}
/* ================= END DOMUS CLUB V4.13.108 ================= */

/* ================= DOMUS CLUB V4.13.110 — TOURNAMENT WORKSPACE ================= */
.v413110-tournament-main{width:100%;margin:10px 0 0;border:1px solid rgba(212,175,95,.58);background:linear-gradient(135deg,rgba(179,132,46,.24),rgba(20,19,24,.96) 55%);color:#f7f2e7;border-radius:18px;padding:15px 16px;display:grid;grid-template-columns:44px 1fr 20px;align-items:center;gap:12px;text-align:left;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.v413110-tournament-main.active{box-shadow:0 0 0 1px rgba(218,180,89,.12),0 10px 28px rgba(0,0,0,.18)}
.v413110-tournament-main .v413110-tournament-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(212,175,95,.14);border:1px solid rgba(212,175,95,.36);font-size:23px;color:#d9b866}
.v413110-tournament-main span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:2px}.v413110-tournament-main small{font-size:10px;letter-spacing:.14em;color:#c9a95f}.v413110-tournament-main b{font-size:19px}.v413110-tournament-main em{font-size:12px;color:#9f9ba5;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v413110-tournament-main>i{font-style:normal;color:#d3b362;font-size:20px}
.v413110-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;border:1px solid #34323b;background:#111014;border-radius:15px;margin:4px 0 14px}.v413110-tabs button{min-width:0;border:0;background:transparent;color:#aaa6b0;border-radius:11px;padding:11px 6px;font-weight:700;font-size:13px}.v413110-tabs button.active{background:linear-gradient(135deg,#d6b15b,#b88936);color:#17130d}
.v413110-host{min-width:0}.v413110-info-card{padding:18px}.v413110-info-card h2{margin:5px 0 2px}.v413110-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}.v413110-metrics>div{border:1px solid #33313a;border-radius:13px;padding:12px 7px;text-align:center;background:#121116}.v413110-metrics strong{display:block;font-size:21px;color:#e4c36d}.v413110-metrics span{display:block;margin-top:3px;font-size:10px;color:#918d97}.v413110-leader{margin-top:12px;border:1px solid rgba(212,175,95,.28);border-radius:13px;padding:12px;display:grid;grid-template-columns:1fr auto auto auto;align-items:baseline;gap:7px;background:rgba(183,136,50,.07)}.v413110-leader span,.v413110-leader small{color:#918d97;font-size:11px}.v413110-leader strong{color:#e3c36b;font-size:18px}.v413110-rules{margin-top:10px}
.v413110-tournament-list{display:grid;gap:9px;margin-top:12px}.v413110-tournament-card{width:100%;border:1px solid #34313b;background:#121116;color:#f3f0f5;border-radius:14px;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.v413110-tournament-card span{min-width:0;display:flex;flex-direction:column;gap:4px}.v413110-tournament-card b{font-size:15px}.v413110-tournament-card small{font-size:11px;color:#918d97;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v413110-tournament-card em{font-style:normal;flex:none}
@media(max-width:520px){.v413110-tabs{gap:3px}.v413110-tabs button{padding:10px 3px;font-size:11px}.v413110-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v413110-leader{grid-template-columns:1fr auto auto}.v413110-leader small{display:none}.v413110-tournament-card{align-items:flex-start}.v413110-tournament-card em{font-size:10px}.v413110-tournament-main{grid-template-columns:38px 1fr 16px;padding:13px 12px}.v413110-tournament-main .v413110-tournament-icon{width:36px;height:36px;border-radius:11px;font-size:20px}}
/* ================= END DOMUS CLUB V4.13.110 ================= */


/* ================= DOMUS CLUB V4.13.111 — MOBILE TOURNAMENT TABLE SCROLL =================
   Tournament standings stay readable on phones: full-width columns, horizontal swipe,
   sticky place/player columns. No tournament calculation or server logic is changed.
   ======================================================================================== */
.v413111-scroll-hint{
  display:none;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 10px;
  border-bottom:1px solid #29272e;
  background:#151419;
  color:#a8a3aa;
  font-size:10px;
  line-height:1.25;
  text-align:center;
}
.v413111-scroll-hint span{color:#d6b364;font-size:14px;font-weight:900}

/* Undo the old "fit everything into one screen" rule for tournament standings. */
.v410-results-scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto !important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x pan-y;
  scrollbar-width:thin;
  scrollbar-color:#7c6336 #17161b;
}
.v410-results-scroll::-webkit-scrollbar{height:7px}
.v410-results-scroll::-webkit-scrollbar-track{background:#17161b}
.v410-results-scroll::-webkit-scrollbar-thumb{background:#7c6336;border-radius:999px}

.v410-results-table.v410-fsm-table{
  width:max-content !important;
  min-width:1020px !important;
  table-layout:auto !important;
  font-size:12px !important;
}
.v410-results-table.v410-fsm-table th,
.v410-results-table.v410-fsm-table td{
  min-width:58px;
  padding:9px 8px !important;
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:nowrap;
}
.v410-results-table.v410-fsm-table th{font-size:9px !important}
.v410-results-table.v410-fsm-table th:first-child,
.v410-results-table.v410-fsm-table td:first-child{
  position:sticky;
  left:0;
  z-index:4;
  width:52px !important;
  min-width:52px !important;
  max-width:52px !important;
  background:#111115;
}
.v410-results-table.v410-fsm-table th:nth-child(2),
.v410-results-table.v410-fsm-table td:nth-child(2){
  position:sticky;
  left:52px;
  z-index:4;
  width:150px !important;
  min-width:150px !important;
  max-width:150px !important;
  background:#111115;
  box-shadow:8px 0 12px -12px #000;
}
.v410-results-table.v410-fsm-table thead th:first-child,
.v410-results-table.v410-fsm-table thead th:nth-child(2){background:#18171c;z-index:7}
.v410-results-table.v410-fsm-table tr.is-me td:first-child,
.v410-results-table.v410-fsm-table tr.is-me td:nth-child(2){background:#2a2417}
.v410-results-table.v410-fsm-table td:nth-child(2) b{
  display:block;
  max-width:134px;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media(max-width:700px){
  #modal:has(.v410-results-table){
    width:calc(100vw - 8px) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  #modal:has(.v410-results-table) #modal-content{padding-left:12px;padding-right:12px}
  .v413111-scroll-hint{display:flex}
  .v410-results-wrap{border-radius:14px}
  .v410-results-table.v410-fsm-table{
    min-width:1020px !important;
    font-size:12px !important;
  }
}
/* ================= END DOMUS CLUB V4.13.111 ================= */


/* ================= DOMUS CLUB V4.13.112 — CLEAN CHAT ACTIONS ================= */
#v4134-important,.v4134-important{display:none!important}
.chat-message-actions{display:none!important}
.v413112-reaction-menu{
  position:fixed;z-index:10050;min-width:190px;padding:7px;border:1px solid #3b3740;
  border-radius:16px;background:rgba(22,21,26,.98);box-shadow:0 14px 42px rgba(0,0,0,.48);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
.v413112-reaction-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.v413112-reaction-row button{
  min-width:52px;height:45px;border:1px solid #37343b;border-radius:12px;background:#111116;
  color:#fff;font-size:23px;line-height:1
}
.v413112-reaction-row button:active{transform:scale(.95);background:#242027}
.v413112-delete{
  width:100%;margin-top:7px;padding:10px 12px;border:1px solid #64323a;border-radius:11px;
  background:#2a1519;color:#f2b8bf;font-weight:700
}
@media(max-width:720px){
  .chat-composer{grid-template-columns:auto minmax(0,1fr) auto auto!important}
  .v413112-reaction-menu{min-width:210px;padding:8px;border-radius:18px}
  .v413112-reaction-row button{height:48px;font-size:25px}
}
/* ================= END DOMUS CLUB V4.13.112 ================= */


/* ================= DOMUS CLUB V4.13.113 — MOBILE CHAT DOCK + IOS LONG PRESS ================= */
@media(max-width:720px){
  /* V4.13.91 used a visual translate that left an empty 20px slot below the composer
     and made the last message slide underneath it. Keep the composer in its real grid row. */
  body:has(.chat-page) .chat-composer,
  body:has(.chat-page) .chat-file-name{
    transform:none!important;
  }
  .chat-center{
    grid-template-rows:52px minmax(0,1fr) auto auto!important;
  }
  .chat-messages{
    padding-bottom:8px!important;
    scroll-padding-bottom:8px!important;
  }
  .chat-message-row[data-message-row]{
    -webkit-touch-callout:none;
  }
  .chat-bubble{
    -webkit-user-select:none;
    user-select:none;
  }
  .v413112-reaction-menu{
    z-index:10150!important;
    touch-action:manipulation;
  }
  .v413112-reaction-row button,
  .v413112-delete{
    touch-action:manipulation;
  }
}
/* ================= END DOMUS CLUB V4.13.113 ================= */

/* ================= DOMUS CLUB V4.13.114 — MOBILE CHAT HARD DOCK + TOUCH MENU ================= */
@media(max-width:720px){
  /* The chat page ends exactly at the top edge of the fixed bottom navigation. */
  body:has(.chat-page) .chat-page{
    height:var(--domus-chat114-h,var(--domus-chat87-h,calc(100dvh - 150px)))!important;
    max-height:var(--domus-chat114-h,var(--domus-chat87-h,calc(100dvh - 150px)))!important;
  }
  body:has(.chat-page) .chat-center{
    grid-template-rows:52px minmax(0,1fr)!important;
    padding:0!important;
    overflow:hidden!important;
  }
  body:has(.chat-page) .chat-messages{
    grid-row:2!important;
    padding:6px 8px calc(var(--domus-chat114-composer-h,46px) + 8px)!important;
    scroll-padding-bottom:calc(var(--domus-chat114-composer-h,46px) + 8px)!important;
    overflow-y:auto!important;
  }
  /* Composer is docked to the real measured height of the bottom nav. No visual translate/gap. */
  body:has(.chat-page) .chat-composer{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:var(--domus-chat114-nav-h,var(--domus-bottom-nav-h,52px))!important;
    width:100%!important;
    z-index:129!important;
    margin:0!important;
    transform:none!important;
    grid-template-columns:34px minmax(0,1fr) 34px 38px!important;
    gap:5px!important;
    padding:5px 8px!important;
    min-height:44px!important;
    align-items:center!important;
    border-top:1px solid var(--line)!important;
    border-bottom:0!important;
    background:#0d0d10fa!important;
  }
  body:has(.chat-page) .chat-file-name{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:calc(var(--domus-chat114-nav-h,var(--domus-bottom-nav-h,52px)) + var(--domus-chat114-composer-h,46px))!important;
    z-index:128!important;
    margin:0!important;
    transform:none!important;
  }
  body:has(.chat-page) .chat-composer>button,
  body:has(.chat-page) .chat-circle-record-btn-v41368{
    width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  body:has(.chat-page) .chat-composer textarea{
    min-height:36px!important;
    max-height:76px!important;
    padding:7px 10px!important;
    font-size:16px!important;
  }
  .chat-message-row[data-message-row]{
    -webkit-touch-callout:none!important;
    touch-action:pan-y!important;
  }
  .chat-bubble{
    -webkit-user-select:none!important;
    user-select:none!important;
  }
  .v413114-touch-menu{
    position:fixed;z-index:20000;left:50%;transform:translateX(-50%);
    display:flex;align-items:center;gap:7px;padding:8px;
    border:1px solid #3b3740;border-radius:18px;background:rgba(22,21,26,.98);
    box-shadow:0 14px 42px rgba(0,0,0,.5);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
  }
  .v413114-touch-menu button{
    width:52px;height:48px;padding:0;border:1px solid #37343b;border-radius:13px;
    background:#111116;color:#fff;font-size:25px;line-height:1;touch-action:manipulation
  }
  .v413114-touch-menu .v413114-delete{width:auto;min-width:74px;padding:0 10px;font-size:12px;color:#f2b8bf;border-color:#64323a;background:#2a1519}
}
/* ================= END DOMUS CLUB V4.13.114 ================= */


/* ================= DOMUS CLUB V4.13.115 — STABLE MOBILE CHAT FLOW ================= */
@media(max-width:720px){
  /* Override 4.13.114 fixed dock. The page itself ends at the top of bottom navigation;
     composer stays in normal grid flow so iOS keyboard cannot place it under the nav. */
  body:has(.chat-page) .chat-page{
    height:var(--domus-chat115-h,calc(100dvh - 150px))!important;
    max-height:var(--domus-chat115-h,calc(100dvh - 150px))!important;
    min-height:180px!important;
    overflow:hidden!important;
  }
  body:has(.chat-page) .chat-center{
    display:grid!important;
    grid-template-rows:52px minmax(0,1fr) auto auto!important;
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  body:has(.chat-page) .chat-header{grid-row:1!important}
  body:has(.chat-page) .chat-messages{
    grid-row:2!important;
    min-height:0!important;
    overflow-y:auto!important;
    padding:6px 8px 5px!important;
    scroll-padding-bottom:5px!important;
    overscroll-behavior:contain!important;
  }
  body:has(.chat-page) .chat-composer{
    grid-row:3!important;
    position:relative!important;
    inset:auto!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    width:auto!important;
    z-index:20!important;
    margin:0!important;
    transform:none!important;
    grid-template-columns:34px minmax(0,1fr) 34px 38px!important;
    gap:5px!important;
    padding:5px 8px!important;
    min-height:46px!important;
    align-items:center!important;
    border-top:1px solid var(--line)!important;
    background:#0d0d10fa!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
  }
  body:has(.chat-page) .chat-file-name{
    grid-row:4!important;
    position:relative!important;
    inset:auto!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    width:auto!important;
    z-index:20!important;
    margin:0!important;
    transform:none!important;
    padding:0 8px 4px!important;
    background:#0d0d10fa!important;
  }
  body:has(.chat-page) .chat-composer textarea{
    min-height:36px!important;max-height:76px!important;padding:7px 10px!important;font-size:16px!important;
  }
  body:has(.chat-page) .chat-composer>button,
  body:has(.chat-page) .chat-circle-record-btn-v41368{
    width:34px!important;height:34px!important;min-height:34px!important;
  }
  .chat-message-row[data-message-row],.chat-message-row[data-message-row] .chat-bubble{
    -webkit-touch-callout:none!important;
    -webkit-user-select:none!important;
    user-select:none!important;
  }
  .v413115-reaction-sheet{
    position:fixed!important;left:50%!important;transform:translateX(-50%)!important;
    z-index:30000!important;display:flex!important;align-items:center!important;gap:8px!important;
    padding:8px!important;border:1px solid #413b45!important;border-radius:18px!important;
    background:rgba(22,21,26,.99)!important;box-shadow:0 16px 48px rgba(0,0,0,.58)!important;
    backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
  }
  .v413115-reaction-sheet button{
    width:54px!important;height:50px!important;padding:0!important;border:1px solid #3a3640!important;
    border-radius:14px!important;background:#111116!important;color:#fff!important;font-size:26px!important;line-height:1!important;
    touch-action:manipulation!important;
  }
  .v413115-reaction-sheet .v413115-delete{
    width:auto!important;min-width:78px!important;padding:0 11px!important;font-size:12px!important;
    color:#f2b8bf!important;border-color:#64323a!important;background:#2a1519!important;
  }
}
/* ================= END DOMUS CLUB V4.13.115 ================= */

/* ================= DOMUS CLUB V4.13.116 — IOS CHAT COMPOSER ANCHOR + REAL HOLD MENU ================= */
@media(max-width:720px){
  body:has(.chat-page){height:100dvh!important;overflow:hidden!important}
  body:has(.chat-page) main{padding:0!important;overflow:hidden!important;min-height:0!important}
  body:has(.chat-page) .chat-page{
    height:var(--domus-chat116-page-h,calc(100dvh - 150px))!important;
    max-height:var(--domus-chat116-page-h,calc(100dvh - 150px))!important;
    min-height:140px!important;overflow:hidden!important;margin:0!important;padding:0!important;
  }
  body:has(.chat-page) .chat-center{
    height:100%!important;min-height:0!important;overflow:hidden!important;
    display:grid!important;grid-template-rows:52px minmax(0,1fr)!important;padding:0!important;
  }
  body:has(.chat-page) .chat-header{grid-row:1!important}
  body:has(.chat-page) .chat-messages{
    grid-row:2!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    padding:6px 8px 6px!important;scroll-padding-bottom:6px!important;overscroll-behavior:contain!important;
  }
  /* Composer is positioned from the real iOS visual viewport in JS. This avoids it ever sitting under nav/keyboard. */
  body:has(.chat-page) .chat-composer{
    position:fixed!important;left:0!important;right:0!important;top:var(--domus-chat116-composer-top,auto)!important;bottom:auto!important;
    width:100%!important;z-index:600!important;margin:0!important;transform:none!important;
    display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px 38px!important;gap:5px!important;
    padding:5px 8px!important;min-height:46px!important;align-items:center!important;
    border-top:1px solid var(--line)!important;border-bottom:0!important;background:#0d0d10fa!important;
    backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;
  }
  body:has(.chat-page) .chat-file-name{
    position:fixed!important;left:0!important;right:0!important;top:var(--domus-chat116-file-top,auto)!important;bottom:auto!important;
    z-index:601!important;margin:0!important;transform:none!important;padding:3px 8px!important;background:#0d0d10fa!important;
  }
  body:has(.chat-page) .chat-composer textarea{min-height:36px!important;max-height:76px!important;padding:7px 10px!important;font-size:16px!important;line-height:1.25!important}
  body:has(.chat-page) .chat-composer>button,
  body:has(.chat-page) .chat-circle-record-btn-v41368{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important}
  body.v413116-keyboard .bottom-nav{visibility:hidden!important;pointer-events:none!important}

  .chat-message-row[data-message-row] .chat-bubble{
    -webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;
    touch-action:pan-y!important;
  }
  .chat-message-row[data-message-row] .chat-bubble.v413116-holding{filter:brightness(1.12);transform:scale(.995);transition:transform .08s ease,filter .08s ease}
  .v413116-reaction-sheet{
    position:fixed!important;left:50%!important;transform:translateX(-50%)!important;z-index:40000!important;
    display:flex!important;align-items:center!important;gap:8px!important;padding:8px!important;
    border:1px solid #47404b!important;border-radius:19px!important;background:rgba(22,21,26,.99)!important;
    box-shadow:0 18px 54px rgba(0,0,0,.62)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
  }
  .v413116-reaction-sheet button{width:56px!important;height:50px!important;padding:0!important;border:1px solid #3d3741!important;border-radius:14px!important;background:#111116!important;color:#fff!important;font-size:26px!important;line-height:1!important;touch-action:manipulation!important}
  .v413116-reaction-sheet .v413116-delete{width:auto!important;min-width:82px!important;padding:0 12px!important;font-size:12px!important;color:#f2b8bf!important;border-color:#64323a!important;background:#2a1519!important}
  .v413116-reactions{display:flex;justify-content:flex-end;gap:4px;margin-top:3px}
  .v413116-reaction-chip{font-size:13px;line-height:20px;min-width:28px;height:22px;padding:0 6px;border:1px solid rgba(210,168,82,.42);border-radius:999px;background:#17151a;color:#fff}
}
/* ================= END DOMUS CLUB V4.13.116 ================= */

/* ================= DOMUS CLUB V4.13.119 — LOCKED CHAT DOCK + DELEGATED HOLD REACTIONS ================= */
@media(max-width:720px){
  /* Final override: never position composer by TOP. It is permanently attached
     to the top edge of the fixed bottom navigation. iOS moves both fixed bars
     together when the keyboard changes the visual viewport. */
  body:has(.chat-page){height:100dvh!important;overflow:hidden!important}
  body:has(.chat-page) main{padding:0!important;min-height:0!important;overflow:hidden!important}
  body:has(.chat-page) .chat-page{
    height:var(--domus-chat117-page-h,calc(100dvh - 104px))!important;
    max-height:var(--domus-chat117-page-h,calc(100dvh - 104px))!important;
    min-height:160px!important;margin:0!important;padding:0!important;overflow:hidden!important;
  }
  body:has(.chat-page) .chat-center{
    height:100%!important;min-height:0!important;overflow:hidden!important;
    display:grid!important;grid-template-rows:52px minmax(0,1fr)!important;padding:0!important;
  }
  body:has(.chat-page) .chat-header{grid-row:1!important}
  body:has(.chat-page) .chat-messages{
    grid-row:2!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    display:flex!important;flex-direction:column!important;
    padding:6px 8px calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 8px)!important;
    scroll-padding-bottom:calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 8px)!important;
    overscroll-behavior:contain!important;
  }
  body:has(.chat-page) .chat-messages::before{content:""!important;display:block!important;flex:1 0 0!important;min-height:0!important}
  body:has(.chat-page) .chat-messages>*{flex:0 0 auto!important}

  body:has(.chat-page) .chat-composer{
    position:fixed!important;left:0!important;right:0!important;
    top:auto!important;bottom:var(--domus-chat117-nav-h,52px)!important;
    width:100%!important;z-index:600!important;margin:0!important;transform:none!important;
    display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px 38px!important;gap:5px!important;
    padding:5px 8px!important;min-height:46px!important;align-items:center!important;
    border-top:1px solid var(--line)!important;border-bottom:0!important;background:#0d0d10fa!important;
    backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;
  }
  body:has(.chat-page) .chat-file-name{
    position:fixed!important;left:0!important;right:0!important;
    top:auto!important;bottom:calc(var(--domus-chat117-nav-h,52px) + var(--domus-chat117-composer-h,46px))!important;
    width:100%!important;z-index:601!important;margin:0!important;transform:none!important;
    padding:3px 8px!important;background:#0d0d10fa!important;
  }
  body:has(.chat-page) .chat-composer textarea{
    min-height:36px!important;max-height:76px!important;padding:7px 10px!important;font-size:16px!important;line-height:1.25!important
  }
  body:has(.chat-page) .chat-composer>button,
  body:has(.chat-page) .chat-circle-record-btn-v41368{
    width:34px!important;height:34px!important;min-height:34px!important;padding:0!important
  }
  /* V4.13.116 hid navigation while keyboard was open. Do not do that anymore. */
  body.v413116-keyboard .bottom-nav{visibility:visible!important;pointer-events:auto!important}

  .chat-message-row[data-message-row] .chat-bubble{
    -webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;
    touch-action:pan-y!important;
  }
  .chat-message-row[data-message-row] .chat-bubble.v413117-holding{
    filter:brightness(1.15)!important;transform:scale(.992)!important;
  }
  .v413117-reaction-sheet{
    position:fixed!important;left:50%!important;transform:translateX(-50%)!important;z-index:50000!important;
    display:flex!important;align-items:center!important;gap:8px!important;padding:8px!important;
    border:1px solid #413b45!important;border-radius:18px!important;background:rgba(22,21,26,.99)!important;
    box-shadow:0 16px 48px rgba(0,0,0,.62)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
  }
  .v413117-reaction-sheet button{
    width:54px!important;height:50px!important;padding:0!important;border:1px solid #3a3640!important;
    border-radius:14px!important;background:#111116!important;color:#fff!important;font-size:26px!important;line-height:1!important;
    touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;
  }
  .v413117-reaction-sheet .v413117-delete{
    width:auto!important;min-width:82px!important;padding:0 12px!important;font-size:12px!important;
    color:#f2b8bf!important;border-color:#64323a!important;background:#2a1519!important
  }
  .v413117-reactions{display:flex!important;justify-content:flex-end!important;gap:4px!important;margin-top:3px!important}
  .v413117-reaction-chip{font-size:13px!important;line-height:20px!important;min-width:28px!important;height:22px!important;padding:0 6px!important;border:1px solid rgba(210,168,82,.42)!important;border-radius:999px!important;background:#17151a!important;color:#fff!important}
}
/* ================= END DOMUS CLUB V4.13.119 ================= */

/* V4.13.119 — mobile composer clearance above bottom navigation.
   Keep the dock logic from 117; only raise the composer by 24px so it never overlaps nav buttons. */
@media (max-width: 760px){
  body:has(.chat-page) .chat-composer{
    bottom:calc(var(--domus-chat117-nav-h,52px) + 24px)!important;
  }
  body:has(.chat-page) .chat-file-name{
    bottom:calc(var(--domus-chat117-nav-h,52px) + 24px + var(--domus-chat117-composer-h,46px))!important;
  }
  body:has(.chat-page) .chat-messages{
    padding-bottom:calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 32px)!important;
    scroll-padding-bottom:calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 32px)!important;
  }
}


/* V4.13.119 — message-list clearance only.
   Composer/dock geometry is intentionally untouched. A real flex spacer after
   the last message keeps sent messages above the fixed composer on iPhone. */
@media (max-width:760px){
  body:has(.chat-page) .chat-messages::after{
    content:""!important;
    display:block!important;
    flex:0 0 calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 58px)!important;
    height:calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 58px)!important;
    min-height:calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 58px)!important;
    pointer-events:none!important;
  }
}

/* ================= DOMUS CLUB V4.13.120 — CHAT REACTIONS + EDGE BACK ================= */
.chat-messages .chat-bubble{
  touch-action:pan-y;
  -webkit-touch-callout:none;
}
.chat-bubble.v413120-holding{filter:brightness(1.12)}
.v413120-reaction-picker{
  position:fixed;z-index:10040;display:flex;align-items:center;gap:3px;
  max-width:calc(100vw - 16px);padding:7px;border:1px solid rgba(210,168,82,.42);
  border-radius:18px;background:rgba(20,18,23,.98);box-shadow:0 12px 34px rgba(0,0,0,.42);
  overscroll-behavior:contain;
}
.v413120-reaction-picker.full{
  display:grid;grid-template-columns:repeat(4,44px);gap:5px;
}
.v413120-reaction-picker button{
  width:42px;height:42px;padding:0;border:0;border-radius:12px;background:transparent;
  color:#fff;font-size:25px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.v413120-reaction-picker button:hover,.v413120-reaction-picker button:focus-visible{background:rgba(210,168,82,.18);outline:none}
.v413120-reaction-picker .v413120-more{font-size:25px;color:#d2a852}
.v413120-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.chat-message-row.mine .v413120-reactions{justify-content:flex-end}
.v413120-reaction-chip{
  display:inline-flex;align-items:center;gap:4px;min-width:34px;height:24px;padding:0 7px;
  border:1px solid rgba(255,255,255,.13);border-radius:999px;background:#17151a;color:#fff;
  font-size:14px;line-height:22px;
}
.v413120-reaction-chip b{font-size:11px;font-weight:700;color:#c9c4ba}
.v413120-reaction-chip.own{border-color:rgba(210,168,82,.72);background:rgba(210,168,82,.14)}
.v413120-edge-back{
  position:fixed;left:0;top:50%;z-index:10030;width:42px;height:58px;border-radius:0 29px 29px 0;
  display:grid;place-items:center;background:rgba(20,18,23,.92);color:#d2a852;font-size:38px;
  box-shadow:0 8px 24px rgba(0,0,0,.35);pointer-events:none;opacity:0;will-change:transform,opacity;
}
@media(max-width:380px){
  .v413120-reaction-picker{gap:1px;padding:6px 4px}
  .v413120-reaction-picker button{width:38px;height:40px;font-size:23px}
  .v413120-reaction-picker.full{grid-template-columns:repeat(4,40px)}
}
/* ================= END DOMUS CLUB V4.13.120 ================= */

.domus-js-runtime{
  display:inline-block;margin-top:2px;color:#d2a852;font-size:9px;font-weight:800;letter-spacing:.08em;
}

/* ================= DOMUS CLUB V4.13.122 — MESSAGE ACTIONS + COMPOSER ROW ================= */
.v413120-reaction-picker,.v413120-reaction-picker.full{display:block;min-width:230px;padding:7px}
.v413120-reaction-row{display:flex;align-items:center;gap:3px}
.v413120-reaction-picker.full .v413120-reaction-row{display:grid;grid-template-columns:repeat(4,44px);gap:5px;justify-content:center}
.v413122-message-actions{display:grid;gap:2px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.1)}
.v413122-message-actions button{width:100%;height:36px;display:flex;align-items:center;gap:10px;padding:0 11px;border-radius:10px;text-align:left;font-size:13px}
.v413122-message-actions button span{width:20px;color:#d2a852;text-align:center}
.v413122-message-actions button.danger{color:#f0a2aa}.v413122-message-actions button.danger span{color:#e3505c}
.v413122-reply-preview{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:6px 8px;border-left:3px solid #d2a852;border-radius:8px;background:#17151a}
.v413122-reply-preview span{display:block;min-width:0}.v413122-reply-preview b,.v413122-reply-preview small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v413122-reply-preview b{font-size:11px;color:#d2a852}.v413122-reply-preview small{max-width:70vw;font-size:10px;color:#aaa6ad}
.v413122-reply-preview button{flex:0 0 28px;width:28px!important;height:28px!important;border:0!important;background:transparent!important;color:#aaa!important;font-size:20px!important}
.v413122-message-quote,.v413122-forwarded{display:grid;gap:2px;margin-bottom:7px;padding:6px 8px;border-left:3px solid #d2a852;border-radius:7px;background:rgba(0,0,0,.2)}
.v413122-message-quote b,.v413122-forwarded b{font-size:10px;color:#d2a852}.v413122-message-quote span,.v413122-forwarded span{font-size:11px;color:#cbc7c0}
.v413122-select-mark{align-self:center;flex:0 0 24px;width:24px;height:24px;padding:0;border:1px solid #665f69;border-radius:50%;background:#15151a;color:#111;font-size:14px}
.v413122-select-mark.checked{border-color:#d2a852;background:#d2a852}
.v413122-selection-toolbar{position:fixed;left:8px;right:8px;bottom:calc(var(--domus-chat117-nav-h,52px) + 76px);z-index:10020;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px;border:1px solid #514957;border-radius:14px;background:#151319f5;box-shadow:0 12px 30px #0008}
.v413122-selection-toolbar button{height:34px;padding:0 10px;border:1px solid #4a444e;border-radius:9px;background:#211e25;color:#fff}.v413122-selection-toolbar button.danger{color:#f0a2aa;border-color:#74343d}
@media(max-width:760px){
  body:has(.chat-page) .chat-composer{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:5px!important;padding-left:max(8px,env(safe-area-inset-left,0px))!important;padding-right:max(8px,env(safe-area-inset-right,0px))!important}
  body:has(.chat-page) .chat-composer textarea{flex:1 1 auto!important;min-width:0!important;width:auto!important}
  body:has(.chat-page) .chat-composer>button{flex:0 0 34px!important;width:34px!important;min-width:34px!important}
  body:has(.chat-page) .chat-composer .v413122-reply-preview{flex:1 0 100%!important;order:-1}
  body:has(.chat-page) .chat-composer:has(.v413122-reply-preview){flex-wrap:wrap!important}
  body:has(.chat-page) .chat-messages{padding-bottom:calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 40px)!important;scroll-padding-bottom:calc(var(--domus-chat117-composer-h,46px) + var(--domus-chat117-file-h,0px) + 40px)!important}
  body:has(.chat-page) .chat-messages::after{flex:0 0 0!important;height:0!important;min-height:0!important}
}
/* ================= END DOMUS CLUB V4.13.122 ================= */

/* ================= DOMUS CLUB V4.13.123 — TOURNAMENT RESULTS/TABLE/BLANKS ================= */
.v413123-tabs{display:grid;gap:6px;padding:5px;border:1px solid #34323b;background:#111014;border-radius:15px;margin:4px 0 14px}.v413123-tabs.player-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.v413123-tabs.organizer-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.v413123-tabs button{border:0;background:transparent;color:#aaa6b0;border-radius:11px;padding:11px 8px;font-weight:800;font-size:13px}.v413123-tabs button.active{background:linear-gradient(135deg,#d6b15b,#b88936);color:#17130d}.v413123-host{min-width:0}
.v413123-games-results{display:grid;gap:14px}.v413123-game-card{padding:14px;overflow:hidden}.v413123-game-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.v413123-game-head h3{margin:0 0 3px;font-size:18px}.v413123-game-head span{font-size:11px;color:#8f8b94}.v413123-winner{text-align:center;font-weight:900;border:1px solid #3a3740;border-radius:10px;padding:8px 10px;margin:6px 0 10px}.v413123-winner.winner-red{color:#f06b72;background:rgba(170,40,50,.12);border-color:rgba(215,75,85,.34)}.v413123-winner.winner-gray{color:#d6d6d8;background:rgba(130,130,135,.12);border-color:rgba(170,170,175,.28)}
.v413123-seating-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.v413123-seating-list>div{display:grid;grid-template-columns:38px 1fr;gap:7px;align-items:center;border:1px solid #302e35;background:#111014;border-radius:10px;padding:8px 9px}.v413123-seating-list b{color:#d8b865}.v413123-seating-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.v413123-game-table-wrap,.v413123-table-wrap .v410-results-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.v413123-game-table{width:100%;border-collapse:separate;border-spacing:0;min-width:420px}.v413123-game-table th,.v413123-game-table td{padding:9px 10px;border-right:1px solid #302e35;border-bottom:1px solid #302e35;text-align:center;font-size:13px}.v413123-game-table th:first-child,.v413123-game-table td:first-child{border-left:1px solid #302e35}.v413123-game-table thead th{border-top:1px solid #302e35;color:#8f8b94;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.v413123-game-table td:nth-child(2){text-align:left;white-space:nowrap}.v413123-game-table .role-red{background:rgba(188,50,59,.20);color:#ff777e}.v413123-game-table .role-gray{background:rgba(145,145,150,.16);color:#d7d7da}.v413123-game-table .role-sheriff{background:rgba(212,175,65,.18);color:#f0ca56}.v413123-game-table strong{color:#e7e2d8}
.v413123-main-table{min-width:760px}.v413123-main-table th,.v413123-main-table td{white-space:nowrap}.v413123-main-table td:nth-child(2),.v413123-main-table th:nth-child(2){text-align:left;min-width:120px}
@media(max-width:520px){.v413123-tabs button{padding:10px 6px;font-size:12px}.v413123-game-card{padding:12px}.v413123-seating-list{grid-template-columns:1fr}.v413123-game-table{min-width:100%}.v413123-game-table th,.v413123-game-table td{padding:9px 7px;font-size:12px}.v413123-game-table td:nth-child(2){max-width:150px;overflow:hidden;text-overflow:ellipsis}.v413123-main-table{min-width:720px}}
/* ================= END DOMUS CLUB V4.13.123 ================= */
