/* Shared navy/gold presentation, scoped to the three requested game pages. */
html:has(body[data-game-theme="16"]){background:#041b25;scroll-padding-top:16px}
body[data-game-theme="16"]{--bg:#041b25;--surface:#0c2936;--surface2:#153642;--panel:#0c2936;--line:#35515d;--border:#35515d;--text:#faf5e9;--white:#faf5e9;--muted:#b8c7cd;--gold:#f2c56b;--teal:#a0d6d6;--purple:#c1bddf;--pink:#f0bcbd;--blue:#f2c56b;--light:#f2d392;--mint:#a6ddc5;--ui-bg:#041b25;--ui-panel:#0c2936;--ui-line:#35515d;--ui-muted:#b8c7cd;--ui-blue:#f2c56b;--ui-ink:#faf5e9;--ui-accent:#f2c56b;background:#041b25!important;color:#faf5e9;font-family:Tajawal,Tahoma,Arial,sans-serif!important}
body[data-game-theme="16"] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #f2c56b!important;outline-offset:3px}
body[data-game-theme="16"] :is(button,a,input,select){touch-action:manipulation}
body[data-game-theme="16"] :is(input:not([type=radio]):not([type=checkbox]),select,textarea){background:#06202c!important;border:1px solid #496571!important;color:#faf5e9!important;min-height:50px;font-size:16px!important;border-radius:12px;padding:12px;max-width:100%}
body[data-game-theme="16"] input::placeholder{color:#9cafb8}
body[data-ui-game][data-game-theme="16"] :is(.primary,.gold,.btn:not(.secondary):not(.outline):not(.danger),.correct){background:linear-gradient(110deg,#f7db91,#eebc56)!important;border:1px solid #f3ce7c!important;color:#102a37!important;box-shadow:none!important;font-weight:900;border-radius:999px;min-height:48px}
body[data-ui-game][data-game-theme="16"] :is(.outline,.soft,.btn.secondary,.btn.outline){background:#102f3d!important;border:1px solid #4a6570!important;color:#e9eff0!important;box-shadow:none!important}
body[data-game-theme="16"] :is(.btn.danger,.danger){background:#391f2a!important;color:#ffc3ce!important;border-color:#875264!important}
body[data-game-theme="16"] button:disabled{opacity:.48!important}
body[data-game-theme="16"] :is(.muted,.tip,.panel-note,.content-note,.small,.connection){color:#b8c7cd}
body[data-game-theme="16"] :is(dialog,.panel,.player-panel,.question-card,.entry,.summary-list){background:#0c2936!important;border-color:#3c5863!important;border-radius:20px}
body[data-game-theme="16"] dialog::backdrop{background:#001018d9;backdrop-filter:blur(5px)}
body[data-game-theme="16"] :is(.dialog-head,.dialog-body){background:#0c2936;border-color:#35515d}
body[data-game-theme="16"] :is(.dialog-head button,.icon-button){background:#173844;color:#e2ebee;border-color:#496571;min-width:44px;min-height:44px}
body[data-game-theme="16"] :is(.toast,.notice){background:#15323e;color:#e7eeee;border-color:#49626d}
body[data-game-theme="16"] :is(footer,.foot){background:none!important;border-color:#35515d;color:#b8c7cd}
body[data-game-theme="16"] :is(.eyebrow,.panel-eyebrow,.section-label,.phase-label,.count-pill){color:#eacc8e;letter-spacing:0}
body[data-game-theme="16"] .g16-header{max-width:1120px;margin:0 auto;padding:16px 24px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:12px;direction:ltr;position:relative;z-index:40;border:0;background:transparent}
body[data-game-theme="16"] .g16-brand{grid-column:2;grid-row:1;justify-self:center;font-size:30px;font-weight:900;color:#f2c56b;text-decoration:none;line-height:1.4;direction:rtl;background:none!important;border:0;padding:0 8px;min-height:44px}
body[data-game-theme="16"] .g16-account{grid-column:1;grid-row:1;display:grid;place-items:center;min-width:44px;min-height:44px;color:#c1d0d6}
.g16-account svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.6}
.g16-menu{grid-column:3;grid-row:1;position:relative;direction:rtl}
.g16-menu summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;cursor:pointer;list-style:none}
.g16-menu summary::-webkit-details-marker{display:none}.g16-menu summary span{width:23px;height:2px;background:#d7e0e3;border-radius:2px}
body[data-game-theme="16"] .g16-menu nav{position:absolute;top:50px;right:0;width:210px;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:9px;border:1px solid #48616a;border-radius:16px;background:#0c2936;box-shadow:0 14px 35px #0007}
.g16-menu:not([open]) nav{display:none!important}
body[data-game-theme="16"] .g16-menu nav :is(a,button){min-height:46px;padding:10px 13px;border-radius:10px;background:transparent!important;border:0;color:#f4eee1!important;font:700 16px Tajawal,Tahoma,Arial,sans-serif!important;text-align:right;text-decoration:none;display:block;margin:0}
body[data-game-theme="16"] .g16-menu nav :is(a,button):hover{background:#1b3b47!important}
/* Quiz selection and questions. Keep every original question/media control. */
body[data-ui-game="quiz"][data-game-theme="16"] .page{max-width:1120px;padding-inline:24px}
body[data-game-theme="16"] .ui-compact-hero{isolation:isolate;position:relative;overflow:hidden;padding:24px!important;margin:10px 0 20px;border:1px solid #3d5965;border-radius:22px;background:#08232f!important;min-height:190px}
body[data-game-theme="16"] .ui-compact-hero:after{content:'';position:absolute;left:0;top:0;bottom:0;width:45%;z-index:-1;background:url('/assets/ui-v14/quiz.webp') 65% center/cover no-repeat;mask-image:linear-gradient(90deg,#000 65%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 65%,transparent)}
body[data-game-theme="16"] .ui-compact-hero :is(h1,p,.eyebrow){max-width:62%}
body[data-game-theme="16"] .ui-compact-hero h1{color:#f4d28b;font-size:38px!important;line-height:1.4!important;margin:8px 0!important}
body[data-game-theme="16"] .ui-compact-hero p{color:#bdcdd3;font-size:15px!important;line-height:1.8}
body[data-game-theme="16"] .ui-round-settings{background:#0b2633;border-color:#3d5965;border-radius:16px}
body[data-game-theme="16"] .ui-round-settings>summary>span:last-child{color:#f3d28b}
body[data-game-theme="16"] .ui-round-body{border-color:#35515d}
body[data-game-theme="16"] :is(.settings-summary,.mode-picker){background:#082330;border-color:#3d5965}
body[data-game-theme="16"] .mode-btn.active{background:#f2c56b!important;color:#102a37!important;border-color:#f2c56b!important}
body[data-game-theme="16"] .ui-category-tools{background:#041b25f5;border-color:#35515d}
body[data-game-theme="16"] .ui-tablist{scrollbar-color:#a08a56 #0b2633}
body[data-game-theme="16"] .ui-tab{background:#0c2936;border-color:#3d5965;color:#d5dfe3}
body[data-game-theme="16"] .ui-tab[aria-selected=true]{background:#f2c56b;color:#102a37;border-color:#f4d58e;font-weight:900}
body[data-game-theme="16"] .ui-quiz-home .category{border:1px solid #3c5863!important;background:#0c2936!important;border-radius:17px!important;box-shadow:none!important}
body[data-game-theme="16"] .ui-quiz-home .category.selected{border-color:#f2c56b!important;box-shadow:0 0 0 2px #f2c56b!important;background:#173b47!important}
body[data-game-theme="16"] .ui-quiz-home .category-art{aspect-ratio:1.5!important;background:#082330}
body[data-game-theme="16"] .ui-quiz-home .category-art img{filter:none}
body[data-game-theme="16"] .ui-quiz-home .category .cat-info{position:static;padding:12px!important;min-height:76px;gap:5px;text-align:right;background:none}
body[data-game-theme="16"] .ui-quiz-home .category strong{color:#faf5e9;font-size:17px;line-height:1.45}
body[data-game-theme="16"] .ui-quiz-home .category .card-meta{color:#b8c7cd;font-size:12px}
body[data-game-theme="16"] .ui-quiz-home .category .check{background:#082330dd;border-color:#c2d0d4}
body[data-game-theme="16"] .ui-quiz-home .category.selected .check{background:#f2c56b;color:#102a37;border-color:#f7e0a4}
body[data-game-theme="16"] .ui-quiz-home .player-panel{background:#0c2936;border:1px solid #3c5863;top:160px}
body[data-game-theme="16"] :is(.resume-strip,.ui-empty){background:#102f3d;border-color:#49626d}
body[data-game-theme="16"] .ui-play-dock{background:#092430f7;border-color:#58706b;box-shadow:0 -8px 30px #0004;border-radius:20px 20px 0 0}
body[data-game-theme="16"] .ui-selected-strip{scrollbar-color:#a08a56 #0b2633}
body[data-game-theme="16"] .ui-selected-strip button{background:#173744;border-color:#48616d;color:#e7eeee}
body[data-game-theme="16"] .ui-dock-count b{color:#f5d590}
body[data-game-theme="16"] .scorebox{background:#0c2936;border-color:#3c5863}
body[data-game-theme="16"] .board-grid{gap:14px}
body[data-game-theme="16"] .board-column{background:#0b2633;border-color:#3c5863;border-radius:17px;padding:8px}
body[data-game-theme="16"] .board-cat b{font-size:14px;line-height:1.5}
body[data-game-theme="16"] .point-btn{background:#173744;border:1px solid #496571;min-height:60px;color:#f2d392}
body[data-game-theme="16"] .point-btn:hover:not(:disabled){background:#254958;border-color:#f2c56b}
body[data-game-theme="16"] .point-btn.done{background:#08212b;border-color:#29434e;opacity:.65!important}
body[data-game-theme="16"] .ui-question-top{background:#092430f7;border-color:#48616d;border-radius:16px;padding:12px!important}
body[data-game-theme="16"] .question-wrap{max-width:900px}
body[data-game-theme="16"] .ui-question-top+.question-card{padding:26px!important;border-color:#49626d!important;border-radius:22px}
body[data-game-theme="16"] .question-text{color:#faf5e9;overflow-wrap:anywhere}
body[data-game-theme="16"] .question-owner{color:#dac799}
body[data-game-theme="16"] :is(.quiz-audio,.quiz-video,.charades-card){background:#082430!important;border-color:#49626d!important;border-radius:16px}
body[data-game-theme="16"] :is(.quiz-audio button,.scene-toggle){background:#f2c56b!important;border-color:#f3d590!important;color:#102a37!important;font-weight:900;min-height:48px}
body[data-game-theme="16"] .question-hint{color:#c1d0d6}
body[data-game-theme="16"] .answer-reveal{background:#173744;border-color:#496571;color:#faf5e9}
body[data-game-theme="16"] :is(.helpers-inventory>div,.breakdown){background:#0c2936;border-color:#3c5863}
body[data-game-theme="16"] progress{accent-color:#f2c56b}
/* Auction: full-width category cards and accessible match controls. */
body[data-ui-game="mazad"][data-game-theme="16"] main{max-width:1120px;padding-inline:24px}
body[data-game-theme="16"] #mazad-app>.hero{background:#08232f;border:1px solid #3d5965;border-radius:22px;margin:10px 0 24px;padding:24px!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important;gap:24px!important;overflow:hidden}
body[data-game-theme="16"] #mazad-app>.hero h1{font-size:44px;letter-spacing:0;line-height:1.3;margin:8px 0 12px}
body[data-game-theme="16"] #mazad-app>.hero h1 em{color:#f2cf83}
body[data-game-theme="16"] #mazad-app>.hero p{color:#bdcdd3;font-size:16px}
body[data-game-theme="16"] .g16-art{display:block;width:100%;height:100%;overflow:hidden}
body[data-game-theme="16"] #mazad-app .hero-art{border-radius:18px;aspect-ratio:1.2;height:auto;width:100%;max-width:290px;filter:none}
body[data-game-theme="16"] .chip{color:#f1d59b;border-color:#746c4e;background:#19333c}
body[data-game-theme="16"] #mazad-app .setup{padding:0;background:none;border:0;grid-template-columns:minmax(0,1fr) 330px;gap:24px}
body[data-game-theme="16"] #mazad-app .categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
body[data-game-theme="16"] #mazad-app .category{padding:0;min-width:0;border:1px solid #3c5863;background:#0c2936;border-radius:17px;overflow:hidden}
body[data-game-theme="16"] #mazad-app .category-art{aspect-ratio:1.6;background:#082330}
body[data-game-theme="16"] #mazad-app .category-art img{object-fit:cover}
body[data-game-theme="16"] #mazad-app .category-copy{display:block;padding:12px;min-height:74px;border-color:#35515d}
body[data-game-theme="16"] #mazad-app .category-copy b{font-size:17px;color:#faf5e9}
body[data-game-theme="16"] #mazad-app .category-copy small{font-size:12px;color:#b8c7cd}
body[data-game-theme="16"] #mazad-app .category[aria-pressed=true]{border-color:#f2c56b;box-shadow:0 0 0 2px #f2c56b}
body[data-game-theme="16"] #mazad-app .category[aria-pressed=true] .category-copy{background:#173b47}
body[data-game-theme="16"] .category-check{background:#f2c56b;color:#102a37}
body[data-game-theme="16"] .setup-options{background:#0c2936;border:1px solid #3c5863;border-radius:20px;padding:20px;position:sticky;top:16px;align-self:start;scroll-margin-top:16px}
body[data-game-theme="16"] .setup-options h2{font-size:24px}
body[data-game-theme="16"] .round-choices span{background:#082430;border-color:#496571;min-height:48px;display:grid;place-items:center;color:#c8d6dc;padding:8px 3px}
body[data-game-theme="16"] .round-choices input:checked+span{background:#3a3928;border-color:#f2c56b;color:#ffe0a0;box-shadow:0 0 0 1px #f2c56b}
body[data-game-theme="16"] .round-choices input:focus-visible+span{outline:3px solid #f2c56b;outline-offset:3px}
.g16-back,.g16-mazad-dock{display:none}
body[data-game-theme="16"] :is(.team-score,.stage,.ready-count,.referee){background:#0c2936;border-color:#3c5863;border-radius:20px}
body[data-game-theme="16"] .team-score.active{background:#173b47;border-color:#d4b673}
body[data-game-theme="16"] .team-score b{color:#f1d18e}
body[data-game-theme="16"] .team-score:nth-child(2) b{color:#9bd2da}
body[data-game-theme="16"] .stage:before{background:linear-gradient(90deg,#9b7c3f,#f4d58b,#8bbac0)}
body[data-game-theme="16"] .challenge{border-color:#35515d}
body[data-game-theme="16"] :is(.big-bid,.ready-count strong,.count-line,.success-icon,.result-points){color:#f2d18b}
body[data-game-theme="16"] :is(.bid-log span,.history){border-color:#3c5863;background:#082430;color:#c2d3da}
body[data-game-theme="16"] .time-track{background:#25434e}
body[data-game-theme="16"] .time-track span{background:#f2c56b}
body[data-game-theme="16"] .auction-actions .btn{min-height:52px}
/* Mafia room, private role and voting panels. */
body[data-ui-game="mafia"][data-game-theme="16"] .page{max-width:1040px;padding:10px 24px 40px}
body[data-game-theme="16"] #mafia-app:has(.entry){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}
body[data-game-theme="16"] #mafia-app>.hero{background:#08232f;border:1px solid #3d5965;border-radius:22px;padding:24px 20px 18px;margin:0;overflow:hidden}
body[data-game-theme="16"] #mafia-app>.hero h1{color:#f2cf83;font-size:46px;margin:10px 0}
body[data-game-theme="16"] #mafia-app>.hero h1 span{font-size:25px;color:#faf5e9;margin-top:4px}
body[data-game-theme="16"] #mafia-app>.hero p{color:#bdcdd3;font-size:15px;line-height:1.8}
body[data-game-theme="16"] .role-fan{height:230px;max-width:330px;margin:20px auto;border:1px solid #4a626d;border-radius:18px;overflow:hidden}
body[data-game-theme="16"] .role-fan .g16-art{object-fit:cover}
body[data-game-theme="16"] #mafia-app>.entry{width:100%;max-width:none;margin:0;padding:22px}
body[data-game-theme="16"] .pills span{color:#e3d4b4;border-color:#6c654c;background:#17323d;font-size:12px}
body[data-game-theme="16"] .entry label{font-size:15px}
body[data-game-theme="16"] .entry button{min-height:50px;font-size:17px;border-radius:999px}
body[data-game-theme="16"] #mafia-app>.rules{grid-column:1/-1;margin:0}
body[data-game-theme="16"] .rules :is(p,ol){color:#c6d3da;font-size:14px;line-height:1.9}
body[data-ui-game="mafia"][data-game-theme="16"]:has(.room-top) .page{max-width:800px}
body[data-game-theme="16"] .room-top{background:#092430f7;border:1px solid #3c5863;border-radius:16px;top:8px;padding:12px 16px}
body[data-game-theme="16"] .room-code{color:#f2cf83;background:none;border:0}
body[data-game-theme="16"] .avatar{background:#173b47;border-color:#71826e;color:#f1d08d}
body[data-game-theme="16"] .player-row{border-color:#35515d;gap:12px;padding:12px 0}
body[data-game-theme="16"] .player-row strong{font-size:16px}
body[data-game-theme="16"] .card-back{background:repeating-linear-gradient(45deg,#173b47,#173b47 8px,#0b2835 8px,#0b2835 16px);border-color:#cfb273;border-radius:18px}
body[data-game-theme="16"] .card-back span{color:#f2cf83}
body[data-game-theme="16"] .target{background:#123440;border-color:#496571;min-height:56px;font-size:16px;border-radius:14px;gap:8px}
body[data-game-theme="16"] .target.selected{background:#3a3928;border-color:#f2c56b;color:#ffe0a0}
body[data-game-theme="16"] :is(.private-box,.investigations){border-color:#516b75}
body[data-game-theme="16"] .selection-status{color:#bedccb}
body[data-game-theme="16"] .role-card p{color:#c9d7dd}
body[data-game-theme="16"] .person strong{font-size:15px}
body[data-game-theme="16"] .section-head{align-items:center;gap:10px}
body[data-game-theme="16"] .section-head>span{flex:none}
@media(max-width:900px){body[data-game-theme="16"] #mazad-app .setup{grid-template-columns:minmax(0,1fr) 300px;gap:20px}body[data-game-theme="16"] #mazad-app .category-copy b{font-size:16px}body[data-game-theme="16"] #mafia-app:has(.entry){gap:18px}}
@media(max-width:760px){
 body[data-game-theme="16"] .g16-header{padding:10px 14px;gap:8px}body[data-game-theme="16"] .g16-brand{font-size:25px}
 body[data-ui-game="quiz"][data-game-theme="16"] .page,body[data-ui-game="mazad"][data-game-theme="16"] main,body[data-ui-game="mafia"][data-game-theme="16"] .page{padding-inline:14px}
 body[data-game-theme="16"] .ui-compact-hero{padding:20px 16px!important;min-height:190px;margin-top:10px;border-radius:20px}
 body[data-game-theme="16"] .ui-compact-hero :is(h1,p,.eyebrow){max-width:65%}
 body[data-game-theme="16"] .ui-compact-hero:after{width:45%;background-position:70% center}
 body[data-game-theme="16"] .ui-compact-hero h1{font-size:29px!important}
 body[data-game-theme="16"] .ui-compact-hero p{font-size:13px!important}
 body[data-game-theme="16"] .ui-compact-hero .eyebrow{font-size:11px}
 body[data-game-theme="16"] .ui-category-tools{padding-top:8px}
 body[data-game-theme="16"] .ui-tab{font-size:14px;padding:8px 15px}
 body[data-game-theme="16"] .ui-quiz-home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body[data-game-theme="16"] .ui-quiz-home .category .cat-info{padding:10px!important;min-height:74px}
 body[data-game-theme="16"] .ui-quiz-home .category strong{font-size:16px}
 body[data-game-theme="16"] .ui-play-dock{padding:9px 12px max(10px,env(safe-area-inset-bottom))}
 body[data-game-theme="16"] .ui-selected-strip button{font-size:12px;min-height:44px}
 body[data-game-theme="16"] .ui-dock-actions>.primary{min-height:48px;min-width:142px;font-size:17px}
 body[data-game-theme="16"] .board-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 body[data-game-theme="16"] .board-cat{min-height:85px}body[data-game-theme="16"] .board-cat b{font-size:15px}
 body[data-game-theme="16"] .point-btn{min-height:54px;font-size:23px}
 body[data-game-theme="16"] .ui-question-top{padding:10px!important}
 body[data-game-theme="16"] .ui-question-top .q-meta{font-size:12px!important;line-height:1.6}
 body[data-game-theme="16"] .ui-live-scores{font-size:12px;gap:10px}
 body[data-game-theme="16"] .ui-question-top+.question-card{padding:20px 14px!important;border-radius:20px}
 body[data-game-theme="16"] .ui-question-top+.question-card .question-text{font-size:24px!important;line-height:1.65!important}
 body[data-game-theme="16"] .q-actions{display:grid!important;grid-template-columns:1fr;gap:10px}
 body[data-game-theme="16"] .q-actions>*{min-width:0!important;width:100%;min-height:50px}
 body[data-game-theme="16"] .question-helpers{gap:8px}
 body[data-game-theme="16"] .question-helpers button{min-height:44px;font-size:13px}
 body[data-game-theme="16"] :is(.quiz-video video,.quiz-photo img){max-width:100%}
 body[data-game-theme="16"] #mazad-app>.hero{grid-template-columns:minmax(0,1fr) 108px!important;gap:12px!important;padding:18px!important;margin-bottom:22px}
 body[data-game-theme="16"] #mazad-app>.hero h1{font-size:31px!important;line-height:1.4;margin:8px 0}
 body[data-game-theme="16"] #mazad-app>.hero p{font-size:14px}
 body[data-game-theme="16"] #mazad-app .hero-art{width:108px;height:150px;aspect-ratio:auto;border-radius:15px}
 body[data-game-theme="16"] #mazad-app .hero-tags{gap:6px;margin-top:12px}.hero-tags .chip{font-size:11px!important}
 body[data-game-theme="16"] #mazad-app .setup{grid-template-columns:1fr;gap:24px}
 body[data-game-theme="16"] #mazad-app .categories{gap:12px}
 body[data-game-theme="16"] #mazad-app .category-copy{padding:10px;min-height:74px}
 body[data-game-theme="16"] .setup-options{position:static;padding:18px}
 body[data-game-theme="16"] .g16-back{display:block;float:left;min-height:44px;border:0;background:none;color:#f2cf83;padding:4px 0;font-size:13px}
 body[data-game-theme="16"] .g16-mazad-dock{position:fixed;bottom:max(10px,env(safe-area-inset-bottom));left:12px;right:12px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #5d736f;border-radius:18px;background:#0a2532f7;box-shadow:0 -8px 30px #0004;backdrop-filter:blur(12px)}
 .g16-mazad-dock[hidden]{display:none!important}.g16-mazad-dock>span{min-width:0;flex:1}.g16-mazad-dock small{display:block;color:#b8c7cd;font-size:11px}.g16-mazad-dock b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f6e6bf;font-size:15px}
 body[data-game-theme="16"] .g16-mazad-dock .btn{font-size:14px;min-height:46px;padding:10px 14px;flex-shrink:0}
 body[data-game-theme="16"]:has(.g16-mazad-dock) .foot{padding-bottom:110px}
 body[data-game-theme="16"] .team-score{padding:12px;gap:8px}.team-score span{font-size:14px}
 body[data-game-theme="16"] .challenge{padding:20px 15px}
 body[data-game-theme="16"] .challenge h2{font-size:25px;line-height:1.65}
 body[data-game-theme="16"] .stage-body{padding:20px 16px}
 body[data-game-theme="16"] .auction-actions{grid-template-columns:1fr;gap:10px}
 body[data-game-theme="16"] .small-actions{flex-wrap:wrap;justify-content:center}
 body[data-game-theme="16"] #mafia-app:has(.entry){display:block}
 body[data-game-theme="16"] #mafia-app>.hero{padding:20px 16px 17px}
 body[data-game-theme="16"] #mafia-app>.hero h1{font-size:38px;margin:8px 0}
 body[data-game-theme="16"] #mafia-app>.hero h1 span{font-size:23px}
 body[data-game-theme="16"] #mafia-app>.hero p{font-size:14px}
 body[data-game-theme="16"] .role-fan{height:175px;max-width:270px;margin:14px auto}
 body[data-game-theme="16"] #mafia-app>.entry{margin:18px 0;padding:19px}
 body[data-game-theme="16"] .pills{gap:6px}.pills span{font-size:11px!important}
 body[data-game-theme="16"] .panel{padding:20px 16px;border-radius:19px}
 body[data-game-theme="16"] .panel h2{font-size:23px}
 body[data-game-theme="16"] .targets{gap:10px}
 body[data-game-theme="16"] .target{font-size:15px;min-height:56px;padding:10px 12px}
 body[data-game-theme="16"] .room-top{top:4px;padding:10px 13px}
 body[data-game-theme="16"] .people-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 9px}
}
@media(max-width:359px){body[data-game-theme="16"] .g16-brand{font-size:22px}body[data-game-theme="16"] .ui-compact-hero h1{font-size:26px!important}body[data-game-theme="16"] .ui-compact-hero :is(h1,p,.eyebrow){max-width:70%}body[data-game-theme="16"] .ui-compact-hero:after{width:38%}body[data-game-theme="16"] .ui-quiz-home .category strong{font-size:15px}body[data-game-theme="16"] #mazad-app>.hero{grid-template-columns:minmax(0,1fr) 80px!important;padding:15px!important}body[data-game-theme="16"] #mazad-app .hero-art{width:80px;height:135px}body[data-game-theme="16"] #mazad-app>.hero h1{font-size:27px!important}body[data-game-theme="16"] .g16-mazad-dock .btn{font-size:13px;padding-inline:10px}body[data-game-theme="16"] .ui-dock-actions>.primary{min-width:127px;font-size:16px}body[data-game-theme="16"] .ui-dock-count{font-size:12px}}
@media(max-width:430px){body[data-game-theme="16"] #mazad-app .names{grid-template-columns:1fr;gap:14px}}
@media(prefers-reduced-motion:reduce){body[data-game-theme="16"] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
