/* Mobile notice relocation and compact metadata. */
.mobile-device #hall>summary .hot-badge{display:none!important}
.mobile-home .mh-announcement-slot{margin:0;background:#fff;color:#53667b;border-bottom:1px solid #edf0f4}
.mobile-home .mh-announcement-slot .notice-bar{padding:0 12px;min-height:0;height:auto}
.mobile-home .mh-announcement-slot .notice-area{height:36px;gap:8px}
.mobile-home .mh-announcement-slot .notice-badge{color:#277eae;font-size:11px}
.mobile-home .mh-announcement-slot .notice-icon{background:#edf6fb}
.mobile-home .mh-announcement-slot .notice-text{color:#53667b;font-size:12px}
.mobile-home body>.announcement .notice-bar{min-height:25px}
.mobile-results #main .detail-current[data-game="hk6"] .clock{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px!important;align-items:center}
.mobile-results #main .detail-current[data-game="hk6"] .clock>.next-draw-issue{grid-area:1/1;order:0}
.mobile-results #main .detail-current[data-game="hk6"] .clock>.hk-next-draw{grid-area:1/2;margin:0!important;text-align:right;font-size:11px;line-height:20px}
.mobile-results #main .detail-current[data-game="hk6"] .clock>.hk-cutoff-time{grid-area:2/1;order:0;white-space:nowrap;line-height:22px;gap:2px!important}
.mobile-results #main .detail-current[data-game="hk6"] .clock>.countdown-value{grid-area:2/2;order:0}
.mobile-results #main .detail-current:is([data-game="macao_old6"],[data-game="macao_new6"]) .clock>.next-draw-time{display:none!important}
/* Nine faces fill nine ball heights; the final face repeats the first. The
   proportional travel stays correct for 21px mobile and 48px desktop balls. */
.raw-spin-track{height:900%;animation-name:raw-digit-scroll-fit;animation-timing-function:linear}
.raw-spin-track .raw-spin-face{display:flex;align-items:center;justify-content:center;flex:0 0 calc(100% / 9)!important;height:calc(100% / 9)!important;line-height:normal!important;width:100%}
@keyframes raw-digit-scroll-fit{from{transform:translateY(0)}to{transform:translateY(-88.8888888889%)}}

.mobile-home .mh-card[data-game="tw_bingo_marksix"] .bingo-wait-strip{gap:5px!important}
.mobile-home .mh-card[data-game="tw_bingo_marksix"] .bingo-wait-strip .plus{flex:0 0 9px;font-size:12px}

/* Keep the original continuous roll; every face is centered in its ball. */
.raw-spin-track .raw-spin-face{text-align:center;align-items:center;justify-content:center}
/* Official BINGO retains yellow balls; only the inner digits scroll. */
.mobile-home .mh-card .raw-ball{background-image:url('/brand/official-bingo/ball.svg')!important;color:#000!important}
.mobile-home .mh-card .raw-ball.raw-special{background-image:url('/brand/official-bingo/ball_super.svg')!important;color:#fff!important}
/* Preserve the official player; center its scaled winning-number overlay. */
@media(max-width:767px){.official-bingo-overlay .official-ball-grid .unset-ball[data-bingo-official]:after{display:flex;align-items:center;justify-content:center;line-height:1}}
/* Mobile BINGO: keep sorting at left and animation control at right. */
.mobile-results .raw-bingo-card .raw-issue-time .draw-time-inline{display:block;margin-left:0!important;padding-left:0;text-align:left}
.mobile-results .raw-bingo-card .raw-order-controls{display:flex;align-items:center;gap:0;width:100%;margin-bottom:8px}
.mobile-results .raw-bingo-card .raw-order-controls .raw-animation-button{margin-left:auto;padding:6px 9px;border:1px solid #ff926e;border-radius:4px;background:#fff;color:#e47956;font-size:11px;line-height:16px;white-space:nowrap}
.mobile-results .raw-bingo-card .raw-status{margin:8px 0 0;min-height:16px;line-height:16px}
.mobile-results #main .raw-bingo-card.detail-current .clock{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px!important}
.mobile-results #main .raw-bingo-card.detail-current .clock>.next-draw-issue{grid-area:1/1/2/3;order:0}
.mobile-results #main .raw-bingo-card.detail-current .clock>.next-draw-time{grid-area:2/1;order:0;white-space:nowrap}
.mobile-results #main .raw-bingo-card.detail-current .clock>.countdown-value{grid-area:2/2;order:0}
@media(max-width:360px){
 .mobile-results #main .raw-bingo-card.detail-current .clock>.next-draw-time{font-size:9px!important;gap:3px!important}
 .mobile-results #main .raw-bingo-card.detail-current .clock>.next-draw-time time{font-size:10px!important}
 .mobile-results #main .raw-bingo-card.detail-current .clock>.countdown-value{font-size:10px!important;gap:1px!important}
 .mobile-results #main .raw-bingo-card.detail-current .clock>.countdown-value b{font-size:13px!important}
 .mobile-results #main .raw-bingo-card.detail-current .draw-countdown-label{font-size:10px!important;margin:0!important}
}

/* BINGO history title and order choices share one compact row. */
.mobile-results #main>.raw-bingo-card+.detail-tabs{display:none!important}
.mobile-results .mr-bingo-history-head .mr-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:4px}
.mobile-results .mr-bingo-history-title{display:flex;align-items:center;margin:0;font-size:13px;font-weight:600;color:#197fbc;white-space:nowrap;line-height:20px}
.mobile-results .mr-bingo-history-head .mr-modes button{font-size:12px;padding-left:1px;padding-right:1px}
/* Mobile taps must not focus or pause the scrolling notice. */
.mobile-device .notice-area{pointer-events:none;cursor:default;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.mobile-device .notice-area:not(.notice-paused) .notice-single-running{animation-play-state:running!important}
