/* Distinct compact UI for phones, tablets and embedded/narrow WordPress columns. */
#ntv-game-root.ntv-device-mobile{width:100%;max-width:100%;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"]{padding:clamp(9px,2.6vw,20px)}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-home-grid{display:block;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-home-sidebar{display:none}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-mobile-discover{display:grid;gap:13px;margin-top:18px}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-mode{min-width:0;min-height:112px;padding:11px 8px}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-mode-quiz{grid-column:1 / -1;min-height:76px}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-retain-cards{display:grid;grid-template-columns:1fr;gap:9px}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-home-panels{display:grid;grid-template-columns:1fr;gap:10px}
#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-challenge-promo{padding:13px;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"]{padding:clamp(8px,2.6vw,15px);min-height:0;border-radius:clamp(15px,3vw,23px)}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-room-shell{display:block;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-room-main{display:flex;flex-direction:column;gap:10px;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-room-side{position:static;display:block;min-width:0;margin-top:17px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-mobile-room-header{display:flex;flex-direction:column;gap:7px;background:#064f46;border:2px solid #5ccba2;border-radius:18px;padding:11px 12px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-mobile-room-header .ntv-heading{font-size:clamp(21px,5vw,27px);margin:0;text-align:left}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-mobile-room-header .ntv-room-identity{display:flex;flex-wrap:wrap;gap:5px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-member-list{display:flex;grid-template-columns:none;overflow-x:auto;gap:9px;margin:0;max-height:none;padding:10px 3px 13px;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-x:contain}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-member-list .ntv-person{flex:0 0 clamp(115px,31vw,145px);min-width:0;scroll-snap-align:start;min-height:134px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-match-card{padding:10px 9px 12px;margin:2px 0;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-quiz-choices{display:grid;grid-template-columns:1fr;gap:9px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-input-row{max-width:100%;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-field{min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-mobile-room-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;background:#0c5349;padding:6px;border:2px solid #529782;border-radius:17px;margin-bottom:9px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-mobile-room-tabs button{font:inherit;font-size:14px;font-weight:900;min-height:45px;color:#d9fff0;background:transparent;border:2px solid transparent;border-radius:12px;padding:8px 5px;cursor:pointer}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-mobile-room-tabs button[aria-pressed="true"]{background:#abf3da;border-color:#204b40;color:#194538;box-shadow:0 3px 0 #17493b}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-room-grid{display:block;min-width:0}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-room-grid .ntv-moves-panel{display:none!important}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-room-grid .ntv-chatbox{display:flex!important;min-height:300px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"][data-mobile-panel="moves"] .ntv-room-grid .ntv-moves-panel{display:block!important}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"][data-mobile-panel="moves"] .ntv-room-grid .ntv-chatbox{display:none!important}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-chatbox-body{max-height:min(44dvh,360px);min-height:190px}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-moves-panel .ntv-scroll{max-height:45dvh;overflow:auto}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-actionline-mobile{display:flex}
#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-actionline-desktop{display:none}
@media(min-width:650px){#ntv-game-root.ntv-device-mobile .ntv-home[data-ntv-layout="mobile"] .ntv-retain-cards{grid-template-columns:repeat(3,minmax(0,1fr))}#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-member-list .ntv-person{flex-basis:145px}}
@media(max-width:360px){#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-quiz-choice{font-size:14px;min-height:48px}#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-mobile-room-header{padding:8px}#ntv-game-root.ntv-device-mobile .ntv-play[data-ntv-layout="mobile"] .ntv-chat-compose{padding:8px 5px;gap:5px}}

/* Bot lobby is a focused ready screen, not an empty chat room. */
#ntv-game-root.ntv-device-mobile .ntv-play.ntv-bot-game .ntv-chatbox,
#ntv-game-root.ntv-device-mobile .ntv-play.ntv-bot-game .ntv-mobile-room-tabs{display:none!important}
#ntv-game-root.ntv-device-mobile .ntv-play.ntv-bot-game .ntv-moves-panel{display:block!important}
#ntv-game-root.ntv-device-mobile .ntv-play.ntv-bot-waiting .ntv-room-side{display:none!important}
