/* Homepage phone first screen (layout-8407cec8d94e, approved 2026-11-10). Loaded on / only.
   Wider than 600px: the card row and the "More" button are hidden, so the page renders as before.
   <=600px: four game cards in a fixed-height horizontal row, and the intro clamped to one line with a More/Less
   button (the intro text stays in the HTML). Visual order only (CSS order); the H1 stays first in the DOM.
   Placement respects the ads rule P0.3 (Nov 14): no play button moves. On short phones (<760px tall) the row follows
   "Play today's challenge". On taller phones system.css already lifts the daily card's Play buttons under the H1; the
   row follows those buttons (above the card's description), so it is on the first screen without moving a button. */
.hub-quick,.hub-more{display:none}
@media (max-width:600px){
 body.site-v2 main .hub-home .hub-quick{display:flex;gap:10px;height:110px;margin:0 0 24px;padding:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
 body.site-v2 main .hub-home .hub-quick::-webkit-scrollbar{display:none}
 body.site-v2 main .hub-home .hub-quick a{flex:0 0 136px;display:flex;flex-direction:column;gap:8px;scroll-snap-align:start;color:inherit;text-decoration:none}
 body.site-v2 main .hub-home .hub-quick img{display:block;width:136px;height:80px;border-radius:10px;object-fit:cover;background:#e9edf3}
 body.site-v2 main .hub-home .hub-quick span{font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.site-v2 main .hub-home .hub-intro{display:flex;align-items:baseline;gap:8px}
 body.site-v2 main .hub-home .hub-intro-text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 body.site-v2 main .hub-home .hub-intro.open .hub-intro-text{white-space:normal}
 body.site-v2 main .hub-home .hub-more{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;padding:0 2px;border:0;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;flex:none}
}
@media (max-width:600px) and (min-height:760px){
 /* Flatten the daily row and card so the cards can sit under the card's Play buttons. The row's border and padding
    move onto the card heading and the Weekly Gauntlet, so everything above the cards renders exactly as before. */
 body.site-v2 main .hub-home>.hub-daily-row,body.site-v2 main .hub-home .hub-daily{display:contents}
 body.site-v2.v2-layout main .hub-home>.daily-heading>div>h1{order:-9}
 body.site-v2.v2-layout main .hub-home>.daily-heading>div>p:has(>a.button){order:-8}
 body.site-v2.v2-layout main .hub-home .hub-daily>h2{order:-7;margin-top:0;padding-top:30px;border-top:1px solid var(--line,#d9dfeb)}
 body.site-v2.v2-layout main .hub-home .hub-daily>.daily-actions{order:-6}
 body.site-v2.v2-layout main .hub-home .hub-quick{order:-5;margin:0}
 body.site-v2.v2-layout main .hub-home .hub-daily>p{order:-4}
 body.site-v2.v2-layout main .hub-home .hub-weekly{order:-3;margin-top:30px;padding-bottom:30px;border-bottom:1px solid var(--line,#d9dfeb)}
}
