/* FIX-03: compact local computer competition, separate from real-time games. */
.saFix03Open{background:#076c57;color:white;border:0;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}
.saFix03Hidden{display:none!important}
#saFix03Panel{direction:rtl;max-width:730px;margin:auto;padding:8px 10px 15px;display:flex;flex-direction:column;gap:10px;color:#143f35}
#saFix03Panel.hidden{display:none!important}
.saFix03Top{display:flex;align-items:center;justify-content:space-between;gap:9px}
.saFix03Top strong{font-size:clamp(18px,4vw,26px)}
.saFix03Top button,.saFix03Nav button{background:#fff;border:1px solid #bbd1c7;border-radius:11px;padding:8px 12px;color:#175747;font-weight:800}
.saFix03Note{padding:9px;margin:0;background:#fff6dc;border-radius:12px;font-size:12px;color:#6a5c39}
.saFix03Setup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.saFix03Setup label{font-weight:800;font-size:13px;display:flex;flex-direction:column;gap:5px}
.saFix03Setup label select{border:1px solid #c6dacf;padding:9px 8px;border-radius:10px;background:white;color:#154538;min-width:0;width:100%}
.saFix03Primary{padding:13px!important;border:0;border-radius:13px;background:#08735a!important;color:white!important;font-size:17px;font-weight:900}
.saFix03Problem{border:1px solid #cbe1d3;background:#fff;padding:16px 8px;border-radius:14px;text-align:center;font-weight:850;font-size:clamp(25px,6vw,42px);overflow-wrap:anywhere;line-height:1.4;max-height:28dvh;overflow:auto}
.saFix03Label{text-align:center;font-weight:800}
#saFix03Input{width:min(100%,410px);margin:0 auto;text-align:center;border:2px solid #b8ddcc;border-radius:14px;padding:8px;font-weight:850;font-size:clamp(21px,5vw,30px);background:white;color:#163f35}
.saFix03Nav{display:flex;gap:10px;justify-content:center}.saFix03Nav button{flex:1;max-width:200px}.saFix03Nav button:last-child{background:#08715a;color:white}
.saFix03Nav button:disabled{opacity:.4}
.saFix03Pad{margin-top:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;direction:ltr;min-height:198px;max-height:240px;height:clamp(154px,30dvh,232px)}
.saFix03Pad button{border-radius:12px;background:white;border:1px solid #d1e3d9;color:#143b31;font-weight:850;font-size:clamp(19px,4vh,28px);touch-action:manipulation}
.saFix03Pad button[data-key="✓"]{background:#096f58;color:#fff}.saFix03Pad button:disabled{background:transparent;border:0}
.saFix03Score{padding:18px 8px;text-align:center;background:#edfaf1;border-radius:13px;font-weight:900;font-size:clamp(22px,6vw,32px)}
.saFix03Outcome{text-align:center;font-size:17px}.saFix03Results{max-height:38dvh;overflow:auto}.saFix03Results>div{display:flex;justify-content:space-between;gap:8px;padding:8px;border-bottom:1px solid #c9ded5}
@media(max-width:520px){#r56ArenaPage.saFix03On{padding:4px!important}#r56ArenaPage.saFix03On .r56Head h2{font-size:17px}#r56ArenaPage.saFix03On .saFix03Open{display:none}#saFix03Panel{gap:6px;padding:5px} .saFix03Setup{gap:6px}.saFix03Problem{padding:10px 5px;max-height:23dvh}.saFix03Pad{height:clamp(160px,30dvh,215px)}}
@media(max-height:500px){#saFix03Panel{gap:4px} .saFix03Problem{max-height:20dvh;font-size:23px;padding:3px} .saFix03Pad{min-height:105px;height:29dvh}.saFix03Pad button{font-size:18px}}

.saFix03Error{margin:0;padding:9px 11px;border:1px solid #e5b1a6;border-radius:11px;background:#fff2eb;color:#95352b;font-weight:800;font-size:13px;text-align:center}

/* Fix-18: use the page header space for questions in short landscape viewports. */
@media (orientation:landscape) and (max-height:520px) {
 #r56ArenaPage.saFix03On .r56Head{display:none!important}
 #r56ArenaPage.saFix03On #saFix03Panel{gap:3px!important;padding:2px 4px 5px!important}
 #r56ArenaPage.saFix03On .saFix03Top strong{font-size:17px!important}
 #r56ArenaPage.saFix03On .saFix03Top button{padding:4px 9px!important}
 #r56ArenaPage.saFix03On .saFix03Problem{padding:3px 6px!important;font-size:22px!important;max-height:21dvh!important}
 #r56ArenaPage.saFix03On .saFix03Label{font-size:12px!important}
 #r56ArenaPage.saFix03On #saFix03Input{font-size:20px!important;padding:3px!important}
 #r56ArenaPage.saFix03On .saFix03Nav button{padding:5px!important}
 #r56ArenaPage.saFix03On .saFix03Pad{height:clamp(98px,29dvh,120px)!important;min-height:0!important;gap:3px!important}
 #r56ArenaPage.saFix03On .saFix03Pad button{font-size:17px!important;border-radius:7px!important}
}
