
/* Two direct home games: frame-only layout, no subcategory. */
#soroFourPage{padding:12px max(10px,calc((100vw - 1200px)/2));max-width:none}
#soroFourPage .soroFourPageHead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:10px 14px;border-radius:17px;background:linear-gradient(110deg,#0877b5,#0b519c);color:white}
#soroFourPage .soroFourPageHead h2{margin:0;color:white;font-size:18px}
#soroFourPage .soroFourPageHead button{border:1px solid #d6ecfa;border-radius:12px;background:white;color:#0b4d83;padding:10px 14px;font-weight:900;min-height:43px;cursor:pointer}
#soroFourFrame{display:block;width:100%;height:max(610px,calc(100dvh - 175px));border:0;border-radius:19px;background:#e7f1fa;box-shadow:0 7px 24px #153d681f}
@media(max-width:520px){#soroFourPage{padding:7px 5px}#soroFourFrame{height:max(600px,calc(100dvh - 158px));border-radius:11px}}

/* Mobile viewport fit for the two selected games. Remove the old 600px minimum. */
#soroFourPage{padding:5px max(7px,calc((100vw - 1200px)/2)) 4px!important;overflow:hidden;max-height:100dvh}
#soroFourPage .soroFourPageHead{margin:0 0 5px;padding:6px 9px;min-height:55px;border-radius:12px;gap:5px;flex-wrap:nowrap}
#soroFourPage .soroFourPageHead h2{font-size:16px}
#soroFourPage .soroFourPageHead button{padding:7px 10px;min-height:38px;white-space:nowrap}
#soroFourFrame{width:100%;height:calc(100dvh - 190px);min-height:0!important;border-radius:12px;box-shadow:none;display:block}
@media(max-width:520px){#soroFourPage{padding:3px 5px 4px!important}#soroFourFrame{height:calc(100dvh - 185px);min-height:0!important;border-radius:11px}}
