.ten-rotate { display:none; }
#fs-size { display:none; }
/* جوال حكم توب 10 بالطول فقط (قرار المالك 2026-11-02): لا يمس أي صفحة أخرى. */
@media (max-width:1000px) and (max-height:500px) and (orientation:landscape) {
 html body#judge>:not(.ten-rotate):not(script):not(style):not(link) { visibility:hidden!important; }
 html body#judge>.ten-rotate { position:fixed!important; inset:0!important; z-index:200!important; display:flex!important; visibility:visible!important; flex-direction:column!important; justify-content:center!important; align-items:center!important; gap:16px!important; padding:24px!important; text-align:center!important; }
 html body#judge>.ten-rotate img { width:160px!important; max-height:70px!important; object-fit:contain!important; }
 html body#judge>.ten-rotate span { font-size:26px!important; line-height:1.4!important; }
 html body#judge>.ten-rotate small { font-size:16px!important; line-height:1.5!important; }
}
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge { height:100dvh!important; min-height:0!important; display:flex!important; flex-direction:column!important; overflow:hidden!important; font-size:calc(14px*var(--jfs,1))!important; }
 html body#judge>:not(.ten-rotate) { visibility:visible!important; }
 html body#judge>.ten-rotate { display:none!important; }
 html body#judge :is(button,a[href],summary,input,textarea,select,[role=button]) { min-height:44px!important; min-width:44px!important; font-size:calc(14px*var(--jfs,1))!important; line-height:1.4!important; }
 html body#judge .home-nav { height:52px!important; min-height:52px!important; padding:4px 8px!important; margin:0!important; align-items:center!important; }
 html body#judge .home-link { position:absolute!important; top:4px!important; left:50%!important; transform:translateX(-50%)!important; width:100px!important; height:44px!important; }
 html body#judge .home-link img { width:100px!important; height:44px!important; object-fit:contain!important; }
 html body#judge .ten-exit { min-width:44px!important; height:44px!important; padding:6px!important; font-size:calc(14px*var(--jfs,1))!important; }
 html body#judge .top-meta { position:static!important; max-width:110px!important; display:flex!important; align-items:center!important; gap:4px!important; }
 html body#judge .top-meta .game-name { display:none!important; }
 html body#judge .peer { font-size:calc(12px*var(--jfs,1))!important; }
 html body#judge .judge-menu { position:absolute!important; right:8px!important; top:4px!important; }
 html body#judge .top-meta { margin-right:48px!important; }
 html body#judge .judge-menu-items { position:fixed!important; inset:56px 8px auto!important; width:auto!important; max-height:calc(100dvh - 64px)!important; overflow:auto!important; padding:12px!important; }
 html body#judge>.top { display:block!important; padding:0 8px!important; flex:none!important; }
 html body#judge #scores { display:flex!important; align-items:stretch!important; gap:6px!important; width:100%!important; padding:0!important; }
 html body#judge .score { display:flex!important; flex:1!important; flex-direction:column!important; align-items:stretch!important; justify-content:center!important; gap:2px!important; min-width:0!important; min-height:60px!important; padding:4px 6px!important; }
 html body#judge .score>.ten-shield { display:none!important; }
 html body#judge .score-top { display:flex!important; flex-direction:row!important; align-items:center!important; justify-content:space-between!important; gap:4px!important; width:100%!important; }
 html body#judge .score-bot { display:flex!important; flex-direction:row!important; align-items:center!important; justify-content:space-between!important; gap:4px!important; }
 html body#judge .score .t-name { font-size:calc(14px*var(--jfs,1))!important; line-height:1.4!important; white-space:normal!important; }
 html body#judge .score .t-pts { font-size:min(calc(20px*var(--jfs,1)),9.4vw)!important; line-height:1.3!important; min-width:0!important; } /* بأكبر خط كان «12,800» أعرض من البطاقة على 375 فيخرج يساراً (درس 2026-11-08، كشفه سفاري) */
 html body#judge .score .t-res { font-size:calc(12px*var(--jfs,1))!important; line-height:1.3!important; }
 html body#judge .score .t-badge { font-size:calc(12px*var(--jfs,1))!important; }
 html body#judge .timer-pod { width:calc(44px*var(--jfs,1))!important; min-width:44px!important; min-height:44px!important; align-self:center!important; padding:2px!important; }
 html body#judge .timer-pod b { font-size:calc(18px*var(--jfs,1))!important; }
 html body#judge .timer-pod .pod-lbl { font-size:calc(12px*var(--jfs,1))!important; line-height:1.2!important; }
 html body#judge .ten-idle-timer { display:none!important; }
 html body#judge main#main { flex:1!important; min-height:0!important; overflow:auto!important; padding:8px 8px 108px!important; gap:6px!important; }
 html body#judge .card { padding:0!important; flex:none!important; }
 html body#judge .card.wait { padding:16px!important; }
 html body#judge .q-head-row { gap:4px!important; }
 html body#judge .meta { gap:4px!important; font-size:calc(12px*var(--jfs,1))!important; }
 html body#judge .chip { font-size:calc(12px*var(--jfs,1))!important; line-height:1.4!important; padding:2px 6px!important; }
 html body#judge .question-tools { display:flex!important; gap:4px!important; width:100%!important; justify-content:space-between!important; }
 html body#judge .question-tools :is(summary,button) { font-size:calc(14px*var(--jfs,1))!important; min-height:44px!important; padding:2px 4px!important; }
 html body#judge .q { font-size:calc(18px*var(--jfs,1))!important; line-height:1.4!important; padding:4px 0!important; }
 html body#judge .judge-middle,html body#judge .judge-middle:has(.answers.l11) { display:block!important; min-height:0!important; height:auto!important; flex:none!important; margin:0!important; }
 html body#judge .answers,html body#judge .answers.l11 { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; grid-template-rows:none!important; grid-auto-rows:minmax(44px,auto)!important; gap:4px!important; height:auto!important; min-height:0!important; overflow:visible!important; } /* الصفوف بقدر الأجوبة: ستة ثابتة كانت تترك صفاً فارغاً في قائمة العشرة فتنحشر الفخاخ تحت الأدوات (2026-11-08) */
 html body#judge .answer-row { min-height:44px!important; }
 html body#judge .ans { min-height:44px!important; height:100%!important; grid-template-columns:calc(18px*var(--jfs,1)) minmax(0,1fr) auto!important; gap:4px!important; padding:4px!important; }
 html body#judge .ans .nm { font-size:calc(14px*var(--jfs,1))!important; line-height:1.3!important; }
 html body#judge .ans .nm small { font-size:calc(14px*var(--jfs,1))!important; line-height:1.3!important; }
 html body#judge .ans .n { font-size:calc(14px*var(--jfs,1))!important; line-height:1.3!important; padding-inline-end:2px!important; }
 html body#judge .ans .pt { font-size:calc(16px*var(--jfs,1))!important; line-height:1.3!important; }
 html body#judge .traps { display:grid!important; grid-template-columns:1fr!important; gap:4px!important; flex:none!important; }
 html body#judge .trap-h { font-size:calc(14px*var(--jfs,1))!important; line-height:1.3!important; margin:0!important; }
 html body#judge .traps .ans.trap { width:100%!important; max-width:100%!important; min-height:44px!important; padding:4px 8px!important; }
 html body#judge .traps .nm { font-size:calc(14px*var(--jfs,1))!important; line-height:1.3!important; }
 html body#judge .tools { position:fixed!important; bottom:0!important; left:8px!important; right:8px!important; display:grid!important; grid-template-columns:repeat(4,minmax(44px,1fr))!important; gap:4px!important; padding:8px 0 max(8px,env(safe-area-inset-bottom))!important; z-index:25!important; }
 html body#judge .tools .btn { font-size:min(calc(14px*var(--jfs,1)),6.4vw)!important; padding:4px!important; min-height:44px!important; min-width:0!important; } /* بأكبر خط كان «إيقاف» أعرض من خانته على 375 و390 (درس 2026-11-08) */
 html body#judge>.foot { flex:none!important; min-height:48px!important; padding:4px 8px!important; }
 html body#judge.ph-live>.foot { display:none!important; }
 html body#judge .preacts { position:fixed!important; bottom:8px!important; left:8px!important; right:8px!important; display:flex!important; flex-wrap:wrap!important; gap:6px!important; }
 html body#judge .preacts .main { width:100%!important; }
 html body#judge .end-summary { padding:8px 0!important; }
 html body#judge .end-summary button { position:fixed!important; bottom:8px!important; left:8px!important; right:8px!important; width:calc(100% - 16px)!important; z-index:25!important; }
 html body#judge .details-pop { position:fixed!important; inset:120px 8px 112px!important; width:auto!important; max-width:none!important; max-height:none!important; overflow:auto!important; padding:12px!important; font-size:calc(14px*var(--jfs,1))!important; }
 html body#judge .adjov { position:fixed!important; inset:0!important; padding:8px!important; }
 html body#judge .adjbox { max-width:100%!important; max-height:calc(100dvh - 16px)!important; overflow:auto!important; padding:12px!important; }
 html body#judge [hidden] { display:none!important; }
}
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge>.tools { position:static!important; flex:none!important; margin:0 8px!important; }
 html body#judge main#main { padding-bottom:8px!important; }
}
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge .tools .btn { grid-column:auto!important; width:100%!important; display:flex!important; align-items:center!important; justify-content:center!important; }
 html body#judge .score :is(.t-res,.t-badge) { font-size:calc(14px*var(--jfs,1))!important; line-height:1.4!important; }
 html body#judge>.ten-ad { display:none!important; }
 html body#judge .home-nav .top-meta { width:44px!important; max-width:44px!important; padding:0!important; }
 html body#judge .end-summary button { bottom:56px!important; }
 html body#judge.ph-end main#main { padding-bottom:60px!important; }
}
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge .traps .ans.trap { grid-template-columns:minmax(0,1fr) auto!important; }
 html body#judge .traps .ans.trap .nm { grid-column:1!important; }
 html body#judge .traps .ans.trap .pt { grid-column:2!important; }
 html body#judge>[data-phone-next] { position:static!important; flex:none!important; width:calc(100% - 16px)!important; min-height:44px!important; margin:4px 8px!important; }
 html body#judge.ph-end main#main { padding-bottom:8px!important; }
}
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge main#main { padding-top:4px!important; gap:4px!important; }
 html body#judge .q { font-size:calc(16px*var(--jfs,1))!important; line-height:1.4!important; padding:2px 0!important; }
 html body#judge .judge-menu-items>.question-tools { flex-direction:column!important; align-items:stretch!important; }
 html body#judge .judge-menu-items>.question-tools :is(summary,button) { width:100%!important; }
 html body#judge .judge-menu-items .details-pop { position:static!important; inset:auto!important; width:100%!important; max-width:none!important; max-height:calc(100dvh - 180px)!important; margin:0!important; }
 html body#judge .traps { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
 html body#judge .traps .trap-h { grid-column:1/-1!important; }
 html body#judge .traps .ans.trap { grid-template-columns:minmax(0,1fr)!important; gap:2px!important; padding:4px!important; }
 html body#judge .traps .ans.trap :is(.nm,.pt) { grid-column:1!important; }
 html body#judge.ph-final main#main { padding-bottom:108px!important; }
 html body#judge.ph-final .end-primary { position:fixed!important; bottom:56px!important; left:8px!important; right:8px!important; min-height:44px!important; margin:0!important; z-index:25!important; }
}

/* فوق شكل الكمبيوتر القديم: خانات الجوال بالطول شبكة، فلا تدخل النقاط على الأسماء ولا ينقص كلام */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge .ans { display:grid!important; grid-template-rows:auto!important; align-items:center!important; }
 html body#judge .ans::before, html body#judge .ans::after { display:none!important; }
 html body#judge .adjov { z-index:200!important; }
 html body#judge .ans>:is(.n,.nm,.pt) { position:static!important; inset:auto!important; grid-area:auto!important; justify-self:stretch!important; align-self:center!important; }
 html body#judge .ans>.pt { white-space:nowrap!important; min-width:0!important; }
 html body#judge .ans .nm { white-space:normal!important; overflow-wrap:anywhere!important; overflow:visible!important; text-overflow:clip!important; min-width:0!important; }
 html body#judge .ans .nm small { display:block!important; margin:0!important; white-space:normal!important; overflow-wrap:anywhere!important; }
 html body#judge .score::before, html body#judge .score::after { display:none!important; }
 html body#judge .score-top, html body#judge .score-bot { display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; align-items:baseline!important; gap:2px 8px!important; width:100%!important; min-width:0!important; }
 html body#judge .score .t-name, html body#judge .score .t-res { white-space:normal!important; overflow:visible!important; text-overflow:clip!important; overflow-wrap:anywhere!important; max-width:100%!important; min-width:0!important; }
}

/* أزرار الحكم: «غلط» الأكثر استعمالاً عمود كبير مستقل بعرض صفين، بلا زيادة ارتفاع حتى تبقى الفخاخ ظاهرة */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge .tools { grid-template-columns:1.25fr repeat(3,minmax(0,1fr))!important; gap:4px!important; }
 html body#judge.ph-live main#main { gap:3px!important; }
 html body#judge.ph-live .ans .nm, html body#judge.ph-live .ans .nm small { line-height:1.22!important; }
 html body#judge.ph-live .q { padding:0!important; line-height:1.3!important; }
 html body#judge .trap-h { font-size:calc(12px*var(--jfs,1))!important; line-height:1.1!important; }
 html body#judge .traps .ans.trap { padding:2px 4px!important; }
 html body#judge .tools .btn.miss { grid-row:span 2!important; font-size:calc(20px*var(--jfs,1))!important; margin-inline-end:6px!important; }
 html body#judge.ph-final #scores { display:none!important; }
 html body#judge.ph-final main#main > .final-card { flex:1!important; display:flex!important; flex-direction:column!important; justify-content:center!important; gap:10px!important; }
 html body#judge.ph-final main#main > .final-card { background:none!important; border:0!important; box-shadow:none!important; }
 html body#judge.ph-final .final-card h1 { font-size:calc(30px*var(--jfs,1))!important; line-height:1.3!important; }
}

/* مراجعة آبل 2026-11-04: فراغ 12 نقطة تحت الشعار، وتدرج أسفل منطقة الأجوبة يدل على أن تحتها مزيداً بالتمرير (الفخاخ كانت تبدو مقصوصة) */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge .score { margin-top:8px!important; }
 html body#judge .btn[class*="spla"] { margin-block:6px!important; }
 html body#judge #main { padding-bottom:20px!important; }
 html body#judge #main::after { content:""; display:block; position:sticky; bottom:-20px; height:32px; margin-top:-32px; pointer-events:none; background:linear-gradient(to bottom, transparent, var(--bg, #0D1326)); }
}

/* مراجعة آبل لجوال الحكم 2026-11-04: حجم الخط يشمله، وفراغ الأدوات والخانات 8 و6 من صف وفّرناه في بطاقة النقاط
   (شارة الدور مكررة في المؤقت، والقلم في زاوية البطاقة). */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge #fs-size { display:flex!important; align-items:center!important; justify-content:center!important; width:100%!important; }
 html body#judge #mute { display:flex!important; align-items:center!important; justify-content:center!important; gap:8px!important; width:100%!important; }
 html body#judge #mute::after { content:attr(data-label); }
 html body#judge .score { position:relative!important; }
 html body#judge .score .t-badge.b-turn { display:none!important; }
 html body#judge .score .t-badge.b-edit { position:absolute!important; top:4px!important; left:6px!important; }
 html body#judge .score.adj .t-name { padding-inline-end:18px!important; }
 html body#judge .t-mark { font-size:calc(12px*var(--jfs,1))!important; }
 html body#judge .passrules span { font-size:calc(12px*var(--jfs,1))!important; height:auto!important; min-height:22px!important; line-height:1.3!important; }
 html body#judge .timenote { font-size:calc(12px*var(--jfs,1))!important; line-height:1.3!important; white-space:normal!important; }
 html body#judge .answers, html body#judge .answers.l11 { gap:6px!important; }
 html body#judge .tools { gap:8px!important; }
 html body#judge .tools .btn.miss { font-size:calc(20px*var(--jfs,1))!important; margin-inline-end:4px!important; }
 html body#judge .adjbtns { gap:8px!important; }
 html body#judge .turnbar { font-size:calc(15px*var(--jfs,1))!important; height:auto!important; }
 html body#judge .pausebar b { font-size:calc(16px*var(--jfs,1))!important; }
 html body#judge .end-summary h2 { font-size:calc(14px*var(--jfs,1))!important; }
 html body#judge .end-gains .gain { font-size:calc(13px*var(--jfs,1))!important; }
 html body#judge .final-gap { font-size:calc(16px*var(--jfs,1))!important; }
 html body#judge .final-card .gain { font-size:calc(22px*var(--jfs,1))!important; }
 html body#judge .final-card .gain.won { font-size:calc(28px*var(--jfs,1))!important; }
 html body#judge .final-moments p { font-size:calc(14px*var(--jfs,1))!important; }
 html body#judge .adjh { font-size:calc(18px*var(--jfs,1))!important; }
 html body#judge .adjname b { font-size:calc(22px*var(--jfs,1))!important; }
 html body#judge .adjbox .small, html body#judge .details-pop, html body#judge .details-pop :is(p,.src) { font-size:calc(13px*var(--jfs,1))!important; }
 html body#judge.ph-final main#main > .final-card { flex:1 0 auto!important; overflow:visible!important; }
 /* أزرار ما قبل السؤال جزء من المنطقة: لا تغطي «تراجع» ولا السؤال على الجوال القصير */
 html body#judge.ph-pre main#main { padding-bottom:0!important; }
 html body#judge.ph-pre main#main::after { display:none!important; }
 html body#judge.ph-pre main#main > .card { flex:1 0 auto!important; display:flex!important; flex-direction:column!important; }
 html body#judge.ph-pre .preacts { position:sticky!important; inset:auto 0 0!important; margin-top:auto!important; padding-block:8px!important; background:var(--bg, #0D1326)!important; z-index:25!important; }
 /* زرا النهاية جزء من المنطقة: لا يمر الكلام تحتهما ولا يظهر من أسفلهما */
 html body#judge.ph-final main#main { padding-bottom:0!important; }
 html body#judge.ph-final main#main::after { display:none!important; }
 html body#judge.ph-final .end-primary { position:sticky!important; inset:auto 0 0!important; padding-block:8px!important; background:var(--bg, #0D1326)!important; }
 /* الأقصى (تدقيق 2026-11-19، البند 1): الأجوبة والسؤال بالضعف، والإطار حولها (بطاقتا الفريقين والمؤقت والأدوات والشريط) يقف عند درجة «أكبر».
    كان الإطار يتضاعف أيضاً فيأكل الشاشة، والأجوبة بعمودين تنكسر وسط الكلمة ولا يظهر منها جواب كامل */
 html[data-jfs="2"] body#judge :is(#scores,.tools,.home-nav,.turnbar,.pausebar,.judge-menu-items,.meta,.q) { --jfs:1.5; }
 /* الخط الأكبر: عمود واحد للأجوبة وصفوف أكثر للأدوات، فلا تنكسر الكلمة حرفاً حرفاً */
 html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .answers, html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .answers.l11 { grid-template-columns:minmax(0,1fr)!important; grid-template-rows:none!important; grid-auto-rows:minmax(44px,auto)!important; }
 html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .traps { grid-template-columns:minmax(0,1fr)!important; }
 html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .tools { grid-template-columns:1.1fr repeat(2,minmax(0,1fr))!important; }
 html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .tools .btn.miss { grid-row:span 3!important; }
}
@media (max-width:375px) and (orientation:portrait) {
 html[data-jfs="1.25"] body#judge .answers, html[data-jfs="1.25"] body#judge .answers.l11 { grid-template-columns:minmax(0,1fr)!important; grid-template-rows:none!important; grid-auto-rows:minmax(44px,auto)!important; }
 html[data-jfs="1.25"] body#judge .tools { grid-template-columns:1.1fr repeat(2,minmax(0,1fr))!important; }
 html[data-jfs="1.25"] body#judge .tools .btn.miss { grid-row:span 3!important; }
}
/* شاشة انتظار الحكم وترحيبه تكبر مع زر الخط مثل باقي الجوال (مراجعة آبل 2026-11-07): كانت ثابتة على 13 بكسل بالخط الأقصى */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge .card.wait h1 { font-size:calc(26px*var(--jfs,1))!important; }
 html body#judge .card.wait .lead { font-size:calc(16px*var(--jfs,1))!important; }
 html body#judge .card.wait :is(.label,.tvlink) { font-size:calc(14px*var(--jfs,1))!important; }
 html body#judge .card.wait :is(.small,.muted,.how p) { font-size:calc(13px*var(--jfs,1))!important; }
 html body#judge .card.wait .codein { font-size:calc(24px*var(--jfs,1))!important; }
}

/* زرّا الوقت (المواصفة 016) بالطول: تحت الأدوات بجانب «غلط»، و«غلط» يطول صفاً بدل أن يبقى فراغ تحته */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge .tools:has(.time-btn) .btn.miss { grid-row:span 3!important; }
 html body#judge .tools .btn.t-qclock { grid-column:span 2!important; }
 html body#judge .tools .btn.time-btn.solo { grid-column:span 3!important; }
 html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .tools:has(.time-btn) .btn.miss { grid-row:span 4!important; }
 html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .tools .btn.t-qclock { grid-column:auto!important; }
 html:is([data-jfs="1.5"],[data-jfs="2"]) body#judge .tools .btn.time-btn.solo { grid-column:span 2!important; }
}
/* بالخط العادي: زرّا الوقت عمود خامس بجانب الأدوات لا صف ثالث، فتبقى الأدوات صفين والفخاخ ظاهرة فوقها (فحص الملاءمة 2026-11-08) */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html:not([data-jfs="1.25"]):not([data-jfs="1.5"]):not([data-jfs="2"]) body#judge .tools:has(.time-btn) { grid-template-columns:1.15fr repeat(3,minmax(0,1fr)) minmax(0,1.2fr)!important; }
 html:not([data-jfs="1.25"]):not([data-jfs="1.5"]):not([data-jfs="2"]) body#judge .tools:has(.time-btn) .btn.miss { grid-row:span 2!important; }
 html:not([data-jfs="1.25"]):not([data-jfs="1.5"]):not([data-jfs="2"]) body#judge .tools .btn.t-tclock { grid-column:5!important; grid-row:1!important; }
 html:not([data-jfs="1.25"]):not([data-jfs="1.5"]):not([data-jfs="2"]) body#judge .tools .btn.t-qclock { grid-column:5!important; grid-row:2!important; }
 html:not([data-jfs="1.25"]):not([data-jfs="1.5"]):not([data-jfs="2"]) body#judge .tools .btn.time-btn.solo { grid-column:5!important; grid-row:1 / span 2!important; }
}
@media (max-width:375px) and (orientation:portrait) {
 html[data-jfs="1.25"] body#judge .tools:has(.time-btn) .btn.miss { grid-row:span 4!important; }
 html[data-jfs="1.25"] body#judge .tools .btn.t-qclock { grid-column:auto!important; }
 html[data-jfs="1.25"] body#judge .tools .btn.time-btn.solo { grid-column:span 2!important; }
}

/* تدقيق 2026-11-19، البندان 46 و47: وقت السؤال وكشفه يذهب شريط الشعار وتصعد بطاقتا الفريقين مكانه، وزر القائمة بينهما فوق المؤقت،
   والسطر الثانوي في الخانة 12 بدل 14 فلا ينكسر سطراً رابعاً. كان يظهر 6 من 10 أجوبة على 375×667 بأطول الأسماء. */
@media (max-width:500px) and (max-height:1000px) and (orientation:portrait) {
 html body#judge:is(.ph-live,.ph-end) .home-nav { height:0!important; min-height:0!important; padding:0!important; border:0!important; overflow:visible!important; }
 html body#judge:is(.ph-live,.ph-end) .home-nav :is(.home-link,.top-meta) { display:none!important; }
 html body#judge:is(.ph-live,.ph-end) .judge-menu { position:fixed!important; top:8px!important; right:auto!important; left:calc(50% - 22px)!important; transform:none!important; z-index:30!important; } /* بلا تحويل: التحويل يجعل الزر مرجع القائمة المنسدلة الثابتة فتنحشر داخله */
 html body#judge:is(.ph-live,.ph-end) #scores>.timer-pod { align-self:flex-end!important; margin-top:48px!important; }
 html body#judge .ans .nm small { font-size:calc(12px*var(--jfs,1))!important; }
}
/* الجوال القصير (ارتفاع 700 فأقل): درجات الخط الأكبر تكبّر السؤال والأجوبة وحدها، وبطاقتا الفريقين والأدوات تبقى بحجمها العادي وترتيبها العادي.
   كان الإطار يكبر معها فلا يبقى جواب واحد كامل فوق الأدوات على 375×667 بدرجة «أكبر» (البند 46). الجوال الطويل لا يتغير. */
@media (max-width:500px) and (max-height:700px) and (orientation:portrait) {
 html[data-jfs] body#judge :is(#scores,.tools,.meta) { --jfs:1; }
 html[data-jfs] body#judge .tools:has(.time-btn) { grid-template-columns:1.15fr repeat(3,minmax(0,1fr)) minmax(0,1.2fr)!important; }
 html[data-jfs] body#judge .tools:has(.time-btn) .btn.miss { grid-row:span 2!important; }
 html[data-jfs] body#judge .tools .btn.t-tclock { grid-column:5!important; grid-row:1!important; }
 html[data-jfs] body#judge .tools .btn.t-qclock { grid-column:5!important; grid-row:2!important; }
 html[data-jfs] body#judge .tools .btn.time-btn.solo { grid-column:5!important; grid-row:1 / span 2!important; }
 html[data-jfs] body#judge.ph-live .tools .time-btn > b { flex-basis:100%!important; text-align:center!important; }
}
