/* Mobile homepage only. Existing draw renderers, animations and histories remain shared. */
html.mobile-home,html.mobile-home body{min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:clip;touch-action:pan-x pan-y pinch-zoom}
.mobile-home body{background:#f3f5f7;color:#24364d}
.mobile-home .width{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
.mobile-home #main{padding:8px 0 env(safe-area-inset-bottom)!important}
.mobile-home header .reference-nav{width:100%;padding:0;gap:0}
.mobile-home .announcement>div{width:100%;min-width:0;max-width:100%}
.mobile-home .mh-hero{display:block;margin:0 8px 8px;padding:0;min-width:0}
.mobile-home .mh-hero .carousel{width:100%;height:auto;aspect-ratio:994/335;min-height:0;overflow:hidden}
.mobile-home .mh-hero #poster{width:100%;height:100%;object-fit:contain}
.mobile-home .mh-section-title{padding:12px 14px 6px;background:#fff}
.mobile-home .mh-section-title h2{font-size:17px;font-weight:600;margin:0;line-height:24px;color:#24364d}
.mobile-home .mh-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:0 7px;background:#fff;border-bottom:5px solid #f3f5f7}
.mobile-home .mh-categories a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:59px;min-width:0;padding:5px 0;border-bottom:3px solid transparent;background:#fff;color:#617186;text-decoration:none}
.mobile-home .mh-categories a.active{color:#237db7;border-bottom-color:#237db7;font-weight:600;background:#f3f8fc}
.mobile-home .mh-categories img{display:block;width:19px;height:13px;object-fit:contain}
.mobile-home .mh-categories span{font-size:11px;line-height:16px;letter-spacing:-.15px;white-space:nowrap}
.mobile-home .mh-results{background:#fff;padding:0 12px!important;min-width:0}
.mobile-home .mh-card.result-card{margin:0!important;padding:13px 0!important;border:0!important;border-bottom:1px solid #e7ecf1!important;border-radius:0;background:#fff;min-width:0}
.mobile-home .mh-card .mh-top{display:block!important;width:100%!important;min-width:0;min-height:0;padding:0!important;background:none;border:0}
.mobile-home .mh-heading{display:flex;align-items:center;gap:5px;min-width:0;min-height:24px;margin-bottom:9px}
.mobile-home .mh-name{display:flex;gap:5px;align-items:center;flex:0 0 auto;color:#24364d;font-size:14px;font-weight:600;line-height:20px;text-decoration:none;white-space:nowrap}
.mobile-home .mh-name .game-icon{display:block;width:19px!important;height:22px!important;min-width:0;flex:0 0 19px!important;margin:0;object-fit:contain}
.mobile-home .mh-name .twb-group{right:-1px;bottom:-1px;height:9px;min-width:9px;padding:0 1px;font-size:6px;border-width:1px}
.mobile-home .mh-issue.issue{display:flex;gap:2px;align-items:center;flex:0 0 auto;margin:0!important;color:#3c79a9;font-size:11px!important;line-height:18px;white-space:nowrap;letter-spacing:-.2px}
.mobile-home .mh-issue b{font-weight:400;color:inherit;font-size:inherit;line-height:inherit;font-variant-numeric:tabular-nums}
.mobile-home .mh-heading .clock{display:block!important;flex:1 1 auto;min-width:0!important;width:auto!important;margin:0 0 0 auto!important;padding:0!important;line-height:20px;font-size:10px;text-align:right;white-space:nowrap}
.mobile-home .mh-heading .clock .next-draw-issue,.mobile-home .mh-heading .clock .next-draw-time,.mobile-home .mh-heading .clock .hk-next-draw,.mobile-home .mh-heading .clock .draw-countdown-label{display:none!important}
.mobile-home .mh-heading .clock .countdown-value{display:block!important;margin:0!important;font-size:10px;line-height:20px;text-align:right;white-space:nowrap;color:#9a8d8b}
.mobile-home .mh-heading .clock .countdown-value b{min-width:0!important;padding:0!important;margin:0 1px!important;border:0!important;background:none!important;box-shadow:none;font-size:12px!important;font-weight:500;line-height:20px;color:#c84f48}
.mobile-home .mh-number-line{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
.mobile-home .mh-card .mh-number-line .balls{display:flex!important;align-items:center;justify-content:flex-start;flex:1 1 auto;flex-wrap:nowrap!important;width:auto!important;min-width:0!important;max-width:100%!important;gap:5px!important;margin:0!important;zoom:1!important;overflow:visible!important}
.mobile-home .mh-history{display:flex;flex:0 0 54px;align-items:center;justify-content:flex-end;gap:1px;min-height:36px;color:#2b7fae;font-size:11px;white-space:nowrap;text-decoration:none}
.mobile-home .mh-history>span{font-size:18px;line-height:1}
.mobile-home .mh-card .balls .ball:not(.k3-die){width:31px!important;min-width:0!important;height:31px!important;line-height:31px!important;flex:0 0 31px!important;font-size:17px!important}
.mobile-home .mh-card .marksix-number{font-size:inherit!important;line-height:inherit!important}
.mobile-home .mh-card .balls .k3-die{--k3-size:30px;--k3-half:15px;width:30px!important;min-width:30px!important;height:30px!important;flex:0 0 30px!important}
.mobile-home .mh-card .hash-result{display:block;width:100%;min-width:0;max-width:100%}
.mobile-home .mh-card .hash-ball-row{display:flex!important;flex-wrap:nowrap!important;width:100%!important;min-width:0;max-width:100%!important;gap:5px!important;zoom:1!important}
.mobile-home .mh-card[data-count="10"] .balls,.mobile-home .mh-card[data-count="10"] .hash-ball-row{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px!important}
.mobile-home .mh-card[data-count="10"] .balls:has(.hash-result){display:block!important}
.mobile-home .mh-card[data-count="10"] .balls .ball{width:100%!important;max-width:28px!important;flex-basis:auto!important;height:clamp(21px,calc((100vw - 113px)/10),28px)!important;line-height:clamp(21px,calc((100vw - 113px)/10),28px)!important;font-size:15px!important}
.mobile-home .mh-card[data-count="8"] .balls{gap:4px!important}
.mobile-home .mh-card[data-count="8"] .balls .ball{width:28px!important;height:28px!important;line-height:28px!important;flex:0 1 28px!important;font-size:15px!important}
.mobile-home .mh-card[data-count="20"] .balls{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px 3px!important}
.mobile-home .mh-card[data-count="20"] .balls .ball{width:100%!important;max-width:28px!important;flex-basis:auto!important;height:clamp(21px,calc((100vw - 113px)/10),28px)!important;line-height:clamp(21px,calc((100vw - 113px)/10),28px)!important;font-size:13px!important}
.mobile-home .mh-card[data-count="20"] .balls>.plus{display:none}
.mobile-home .mh-card[data-count="20"] .balls .uk-multiplier{grid-column:1/-1;display:flex!important;justify-content:flex-start;gap:3px;width:auto!important;max-width:none!important;height:16px!important;line-height:16px!important;background:none!important;color:#805963;font-size:10px!important}
.mobile-home .mh-card .uk-multiplier:before{content:'倍数'}
.mobile-home .mh-card .lh-ball-stack{width:31px!important;flex:0 1 31px!important;min-width:0;gap:3px}
.mobile-home .mh-card .lh-zodiac{font-size:10px!important;line-height:13px}
.mobile-home .mh-card .balls>.plus{font-size:12px;flex:0 0 9px;min-width:0}
.mobile-home .mh-card .raw-ball{background:transparent url('/brand/marksix-reference/blue.png') center/contain no-repeat!important;color:#263544!important;border:0;border-radius:0;box-shadow:none}
.mobile-home .mh-card .raw-ball.raw-special{background-image:url('/brand/marksix-reference/red.png')!important}
.mobile-home .mh-raw-internals,.mobile-home .mh-card .bingo-motion-status{display:none!important}
.mobile-home .mh-card .raw-spin-face{width:100%;height:28px;line-height:28px;flex-basis:28px}
.mobile-home .mh-card .bingo-wait-strip{width:100%;max-width:100%;gap:3px!important}
.mobile-home .mh-card.bingo-pending .mh-number-line>.balls{display:none!important}
.mobile-home .mh-card .mh-number-line>.bingo-wait-strip{display:flex;flex:1 1 auto;min-width:0;margin:0;flex-wrap:nowrap}
.mobile-home .mh-card[data-count="10"] .mh-number-line>.bingo-wait-strip{display:grid;grid-template-columns:repeat(10,minmax(0,1fr))}
.mobile-home .mh-card[data-count="10"] .bingo-wait-strip>.bingo-reel{width:100%!important;min-width:0}
.mobile-home .mh-card .hash-proof{display:none}
@media(max-width:360px){
 .mobile-home .mh-categories span{font-size:10px;letter-spacing:-.25px}
 .mobile-home .mh-results{padding:0 9px!important}
 .mobile-home .mh-heading{gap:3px}
 .mobile-home .mh-name{font-size:12px;gap:3px}
 .mobile-home .mh-name .game-icon{width:16px!important;height:19px!important;flex-basis:16px!important}
 .mobile-home .mh-issue.issue{font-size:9px!important;letter-spacing:-.35px;gap:1px}
 .mobile-home .mh-heading .clock .countdown-value{font-size:9px}
 .mobile-home .mh-heading .clock .countdown-value b{font-size:10px!important;margin:0!important}
 .mobile-home .mh-history{flex-basis:47px;font-size:10px}
 .mobile-home .mh-number-line{gap:6px}
 .mobile-home .mh-card[data-count="8"] .balls{gap:3px!important}
 .mobile-home .mh-card[data-count="8"] .balls .ball{width:26px!important;height:26px!important;line-height:26px!important;flex-basis:26px!important;font-size:14px!important}
 .mobile-home .mh-card[data-count="7"] .balls{gap:2px!important}
 .mobile-home .mh-card .lh-ball-stack,.mobile-home .mh-card[data-count="7"] .balls .ball{width:28px!important;height:28px!important;line-height:28px!important;flex-basis:28px!important;font-size:15px!important}
}
