html,body{margin:0;min-height:100%;font-family:"PingFang SC","Microsoft YaHei",sans-serif;background:#eaf4fe;color:#333}
button,a{font-family:inherit}
button{cursor:pointer}
.recommend-shell{width:100%;max-width:480px;min-height:100vh;margin:0 auto;background:#f6f6f6;padding-bottom:24px}
.recommend-nav{position:sticky;z-index:30;top:0;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;height:46px;border-bottom:1px solid #eee;background:#fff}
.recommend-nav a{display:flex;align-items:center;justify-content:center;height:46px;color:#333;text-decoration:none;font-size:0.56rem}
.recommend-nav h1{margin:0;text-align:center;font-size:0.32rem;font-weight:600}
.recommend-platforms{display:flex;min-height:54px;padding:7px 12px 0;overflow-x:auto;background:#fff}
.recommend-platforms::-webkit-scrollbar{display:none}
.recommend-platforms button{position:relative;flex:0 0 auto;min-width:88px;height:43px;margin-right:10px;padding:0 18px;border:0;border-radius:7px 7px 0 0;background:#f5f5f5;color:#333;font-size:0.3rem;font-weight:700}
.recommend-platforms button.active{background:#07c160;color:#fff}
.recommend-platforms small{display:block;margin-top:2px;font-size:0.2rem;font-weight:400;color:#999}
.recommend-platforms button.active small{color:#fff}
.live-video-card{padding:8px 12px 0;background:#fff}
.live-video-card[hidden]{display:none}
.live-video-frame{position:relative;height:240px;overflow:hidden;border-radius:5px;background:#000}
.live-player-mount{position:absolute;inset:0;background:#000}
.live-player-mount[hidden]{display:none}
.live-player-mount iframe{display:block;width:100%;height:100%;border:0;background:#000}
.live-video-placeholder{position:relative;display:flex;height:100%;align-items:center;justify-content:center;flex-direction:column;background:#050505;color:#fff;text-align:center}
.live-video-placeholder:before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,#111,#000 58%,#161616)}
.live-badge{position:absolute;z-index:1;top:12px;left:12px;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:10px;background:#e54848;font-size:0.22rem}
.live-badge i{width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #fff3}
.live-video-copy{position:relative;z-index:1}
.live-video-copy strong{display:block;font-size:0.34rem}
.live-video-copy span{display:block;margin-top:10px;color:#ddd;font-size:0.24rem}
.live-video-copy b{display:block;margin-top:8px;color:#ffd65a;font-size:0.48rem;font-variant-numeric:tabular-nums}
.live-video-placeholder>button{position:relative;z-index:1;height:34px;margin-top:16px;padding:0 14px;border:1px solid #e54848;border-radius:4px;background:transparent;color:#ff6b6b;font-size:0.26rem}
.current-draw-card{padding:12px 12px 0;background:#fff}
.current-draw-inner{padding:12px;border:1px solid #07c160;border-radius:7px;background:#fff}
.current-draw-head{display:flex;align-items:center;justify-content:space-between;font-size:0.26rem}
.current-draw-head b{color:#07c160}
.current-draw-head a{color:#07c160;text-decoration:none;font-size:0.24rem}
.current-draw-state{margin-top:12px;color:#888;font-size:0.24rem}
.draw-balls{display:flex;align-items:flex-start;margin-top:10px}
.recommend-ball{width:13.5%;max-width:13.5%;flex:0 0 13.5%;min-width:0}
.recommend-ball-icon{width:100%;max-width:44px;height:44px;background-position:center;background-repeat:no-repeat;background-size:100% 100%}
.recommend-ball-icon.bg-amage-1{background-image:url('/assets/img/lottery/balls/ball-red.png')}
.recommend-ball-icon.bg-amage-2{background-image:url('/assets/img/lottery/balls/ball-blue.png')}
.recommend-ball-icon.bg-amage-3{background-image:url('/assets/img/lottery/balls/ball-green.png')}
.recommend-ball-icon span{display:block;width:100%;line-height:44px;color:#666;text-align:center;text-indent:3px;font-size:0.4rem;font-weight:700;font-variant-numeric:tabular-nums}
.recommend-ball small{display:block;margin:4px 0 2px;color:#333;text-align:center;white-space:nowrap;font-size:0.24rem;line-height:17px}
.recommend-ball small b{font-weight:400}
.recommend-ball.right{display:flex;align-items:flex-end;flex-direction:column}
.recommend-connector{width:5%;max-width:5%;flex:0 0 5%;padding-top:18px;text-align:center}
.replay-section{margin-top:10px;padding:14px 12px 4px;background:#fff}
.replay-section>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.replay-section h2{margin:0;font-size:0.28rem}
.replay-section a{color:#07c160;text-decoration:none;font-size:0.24rem}
.replay-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.replay-card{overflow:hidden;border:1px solid #eee;border-radius:6px;background:#fff;text-align:left}
.replay-poster{position:relative;display:flex;height:106px;align-items:center;justify-content:center;background:linear-gradient(135deg,#11372b,#07c160);color:#fff}
.replay-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.replay-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000,#0005)}
.replay-poster b{position:relative;z-index:1;display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:#fff3;box-shadow:0 2px 8px #0004;font-size:0.38rem}
.replay-poster span{position:absolute;z-index:1;left:8px;bottom:7px;font-size:0.22rem}
.replay-card>p{margin:0;padding:7px 8px;color:#555;font-size:0.22rem;text-align:center}
.recommend-history{margin-top:10px}
.ms-list{margin-bottom:8px;background:#fff}
.ms-list .bd{padding:9px 12px;color:#555;font-size:0.24rem;border-bottom:1px solid #f2f2f2}
.ms-list .bd label{margin:0 4px;color:#07c160;font-weight:600}
.ms-list .ft{padding:8px 12px 10px;font-size:0.24rem;line-height:23px}
.ms-list ul{margin:0;padding:0;list-style:none}
.ms-list li{display:flex;align-items:flex-start}
.ms-list li>span:first-child{flex:0 0 38px;color:#666}
.recommend-values{flex:1;min-width:0;color:#444}
.recommend-values i{display:inline-block;margin:2px 7px 2px 0;color:#555;font-style:normal}
.recommend-values i.number{color:#07c160}
.hit-badge{flex:0 0 auto;margin-left:8px;padding:1px 7px;border-radius:9px;background:#e54848;color:#fff;font-size:0.22rem;line-height:16px}
.recommend-empty,.recommend-loading{padding:34px 12px;background:#fff;color:#999;text-align:center;font-size:0.24rem}
.replay-viewer{position:fixed;z-index:100;inset:0}
.replay-viewer[hidden]{display:none}
.replay-mask{position:absolute;inset:0;width:100%;border:0;background:#000b}
.replay-dialog{position:absolute;top:50%;left:50%;width:min(420px,88%);transform:translate(-50%,-50%);overflow:hidden;border-radius:8px;background:#fff}
.replay-dialog header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #eee}
.replay-dialog header strong{font-size:0.3rem}
.replay-dialog header button{width:28px;height:28px;border:0;background:transparent;color:#888;font-size:0.48rem}
.replay-stage{display:flex;min-height:180px;align-items:center;justify-content:center;flex-wrap:wrap;padding:28px 18px;background:#101c17}
.replay-stage.has-video{display:block;min-height:0;padding:0;background:#000}
.replay-stage video{display:block;width:100%;max-height:280px;background:#000}
.replay-stage .recommend-ball{width:54px;max-width:54px;flex:0 0 54px}
.replay-stage .recommend-connector{width:20px;max-width:20px;flex:0 0 20px}
.replay-stage .recommend-ball small,.replay-stage .recommend-ball small b{color:#fff}
.replay-dialog p{margin:0;padding:10px 14px;color:#888;font-size:0.24rem;text-align:center}
.toast{position:fixed;z-index:120;left:50%;bottom:66px;transform:translateX(-50%);padding:8px 14px;border-radius:16px;background:#222d;color:#fff;font-size:0.24rem;opacity:0;pointer-events:none}
.toast.show{opacity:1}
