:root{--bg: #eef2f7;--surface: #ffffff;--line: #e5eaf1;--text: #1f2937;--text-2: #6b7280;--text-3: #9aa3b2;--primary: #1890ff;--primary-deep: #0c73d9;--primary-soft: #e8f4ff;--lt-blue: #2d77d7;--lt-blue-deep: #1f5fc8;--danger: #e53935;--success: #22a06b;--sidebar: 240px;--games-w: 100%;--bet-fr: 3.233fr;--results: clamp(260px, 22vw, 300px);--status-h: 115px;--subtab-w: 55px;--font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;--mono: "DIN Alternate", "SF Mono", "Menlo", monospace;--shadow: 0 4px 14px rgba(31, 56, 96, .06)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--font);color:var(--text);background:var(--bg)}button,input{font:inherit}button{border:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}#app{min-height:100vh}.app{min-height:100vh;display:grid;grid-template-rows:54px 1fr;background:radial-gradient(circle at 10% 0%,rgba(24,144,255,.08),transparent 30%),linear-gradient(180deg,#f5f8fc,#e9eef5 55%,#e7edf4);position:relative}.app:before{content:"";position:absolute;inset:0;opacity:.35;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='140' height='140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c5d2e2' stroke-width='1'%3E%3Crect x='18' y='20' width='20' height='14' rx='2'/%3E%3Ccircle cx='98' cy='30' r='9'/%3E%3Cpath d='M30 88h22M30 96h14'/%3E%3Cpath d='M90 78c10 0 18 8 18 18s-8 18-18 18-18-8-18-18 8-18 18-18z'/%3E%3C/g%3E%3C/svg%3E")}.topbar,.body{position:relative;z-index:1}.topbar{display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 12px;background:#fffffff2;border-bottom:1px solid #e4eaf2}.brand{display:flex;align-items:center;gap:10px}.brand img{width:34px;height:34px;border-radius:8px;object-fit:cover}.brand strong{display:block;font-size:15px;line-height:1.1}.brand span{font-size:11px;color:var(--text-3)}.top-actions{display:flex;align-items:center;gap:10px}.pill,.icon-sq{height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:#f7f9fc;color:var(--text-2);font-size:13px}.icon-sq{width:32px;padding:0;justify-content:center;border-radius:10px}.balance{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 8px 0 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:600;font-size:13px}.balance .plus{width:22px;height:22px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:15px;line-height:1}.body{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:0;overflow:hidden}.sidebar{width:var(--sidebar);min-width:var(--sidebar);max-width:var(--sidebar);padding:16px 4px 80px;background:#f4f7ff;display:flex;flex-direction:column;gap:4px;overflow:auto}.user{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 16px;border-radius:12px;background:#fff;transition:background-color .25s ease}.user:hover{background:#eef4fd}.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#f3e7b8;border:2px solid #e2c15a;flex-shrink:0}.user-meta{min-width:0}.user strong{display:block;font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user small{color:var(--text-3);font-size:12px}.nav{display:flex;flex-direction:column;gap:4px}.menu-row{display:flex;align-items:center;gap:10px;width:100%;min-height:45px;border-radius:8px;padding:10.7px 8px 10.7px 16px;color:var(--text);text-align:left;transition:background-color .25s ease,transform .25s ease}.menu-row:hover{background:#eef4fd}.menu-row:hover .menu-icon{transform:scale(1.12)}.menu-row:hover .menu-arrow{transform:translate(3px)}.menu-row.is-hall{background:#eef4fd}.menu-row.is-hall .menu-arrow{transform:rotate(90deg)}.menu-row.is-active{background:#167de426}.menu-icon{width:24px;height:24px;object-fit:contain;flex-shrink:0;transition:transform .25s ease}.menu-icon.is-hall{width:22px;height:22px}.menu-icon.is-agent{width:26px;height:23px}.menu-icon.is-member{width:26px;height:26px}.menu-text{flex:1;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap}.menu-arrow{width:24px;height:24px;flex-shrink:0;opacity:.75;transition:transform .25s ease}.feats{display:flex;flex-direction:column;gap:4px}.menu-row--gradient{position:relative;isolation:isolate;color:var(--text)}.menu-row--gradient:hover{filter:brightness(.98)}.content{min-width:0;min-height:0;width:100%;display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:8px 12px 12px;overflow:auto}.games-con{width:100%;max-width:1280px;margin:0 auto;display:flex;flex-direction:column;gap:7px;min-height:calc(100vh - 188px);min-width:0}.card{background:#fff;border:1px solid #e3e9f1;border-radius:6px;box-shadow:none;min-width:0;overflow:hidden}.game{display:flex;flex-direction:column;min-height:0;flex:1;background:transparent;border:0;box-shadow:none;border-radius:0;overflow:visible}.game .main-split{flex:0 0 auto}.game-title-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:4px 0 6px}.game-title-row h1{margin:0;font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px}.swap{width:24px;height:24px;border-radius:6px;color:var(--primary);border:1px solid #cfe6ff;background:#f3f9ff;display:grid;place-items:center}.links{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;font-size:12px;color:var(--text-2)}.links a:hover{color:var(--primary)}.draw-zone{display:flex;flex-direction:column;gap:0;background:transparent}.lt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 6px}.lt-game-pill{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#e8f3ff;color:var(--lt-blue);font-size:13px;font-weight:700}.lt-toggles{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--text-2);font-size:12px}.lt-ico{width:28px;height:28px;border-radius:6px;border:1px solid var(--line);background:#fff;color:var(--text-2)}.lt-switch{display:inline-flex;align-items:center;gap:4px;cursor:pointer;-webkit-user-select:none;user-select:none}.lt-switch input{accent-color:var(--lt-blue)}.betting-time{display:flex;flex-direction:row;justify-content:center;align-items:center;height:var(--status-h);width:100%;color:#fff;position:relative;margin:0 0 7px;border-radius:9.634px;background:linear-gradient(90deg,#2a6fd0,#3b87e8 48%,#2b6fd4);box-shadow:0 2px 8px #205cc42e;padding:0 16px;gap:20px;box-sizing:border-box}.betting-time>div{height:100%;position:relative}.betting-time .split{width:1px;background:#fff;height:50%;flex:0 0 auto;align-self:center}.betting-time .game-name{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;flex:0 0 auto}.betting-time .game-name .name{color:#fff;font-size:20px;font-weight:500;line-height:1;white-space:nowrap}.betting-time .time{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:30px;flex:0 1 auto;min-width:0}.betting-time .time .bet-no{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;width:160px;flex:0 0 auto}.betting-time .time .bet-no>span{display:flex;flex-direction:row;justify-content:center;align-items:center;color:#fff;font-size:16px;font-weight:500;line-height:1;white-space:nowrap}.betting-time .time .bet-no .open-audio{cursor:pointer;gap:4px}.betting-time .time .bet-no .open-audio .audioNotice{display:inline-flex;align-items:center}.betting-time .time .bet-no .open-audio .audioNotice svg{width:20px;height:20px;display:block}.betting-time .time .countdown{height:96px;line-height:80px;width:245px;max-width:100%;padding:0 10px;display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:6px;background:#ffffff1a;box-sizing:border-box;flex:0 1 auto}.betting-time .time .countdown span{width:200px;max-width:100%;color:#fff;font-size:46px;font-weight:500;font-family:var(--mono);text-align:center;line-height:1}.betting-time .log{width:630px;max-width:100%;flex:1 1 auto;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;min-width:0}.betting-time .log .log-no{width:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;flex:0 0 auto}.betting-time .log .log-no span{display:block;color:#fff;font-size:16px;font-weight:500;line-height:1;white-space:nowrap}.betting-time .log .content{width:388px;max-width:100%;min-width:0}.betting-time .log .content .lottering{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:28px;font-weight:600;letter-spacing:.04em;height:96px}.betting-time .log .content .ball{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-right:40px}.betting-time .log .content .ball .item{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:32px}.betting-time .log .content .pc28 .item{width:55px;height:55px;background-color:#888;border-radius:90px;font-size:25.917px;font-weight:600;box-shadow:0 2px 6px #0281fb2e,inset 0 1px 2px #ffffffb3}.betting-time .log .content .pc28 .actived{background:#fefefe;color:#0281fb}.betting-time .log .content .pc28 .light{background:none;box-shadow:none;color:#fff;width:25px}.betting-time .refesh{display:table;position:absolute;right:0;top:0;padding:10px;width:20px;height:20px;cursor:pointer;box-sizing:content-box}.betting-time .refesh svg{display:block;width:25px;height:25px}.betting-time .refesh:hover{background:#ffffff1f}.main-split{display:grid;grid-template-columns:minmax(0,var(--bet-fr)) var(--results);gap:10px;align-items:start;width:100%;min-width:0}.bet-zone{display:flex;flex-direction:column;min-width:0;min-height:0;width:100%;background:#fff;border-radius:6px;padding:0 10px 10px;border:1px solid var(--line)}.bet-zone .bet-wrap{flex:1}.trend.right{--trend-h: 520px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;max-width:300px;height:var(--trend-h);max-height:var(--trend-h);min-height:0;overflow:hidden;position:sticky;top:12px;background-color:#f5f5f5;border:1px solid #e8edf3;border-radius:6px;padding:10px;box-sizing:border-box}.trend.right>.nav,.trend.right>.trend-list{width:100%}.trend.right .nav{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;flex:0 0 40px;height:40px}.trend.right .nav .item{flex:1;height:40px;display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;border-radius:6px;border:.75px solid rgba(153,153,153,.5);background:#fff;color:var(--text);font-size:16px;font-weight:400;-webkit-user-select:none;user-select:none}.trend.right .nav .item.active{border:.5px solid var(--lt-blue);background:#2d77d71f;color:var(--lt-blue)}.trend.right .trend-list{flex:1 1 0;height:0;min-height:0;max-height:100%;overflow-x:hidden;overflow-y:scroll;border-radius:6px;background:#fff;margin:10px 0 0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.trend.right .trend-list>div{padding:9px 10px;min-height:82px;height:82px;display:flex;flex-direction:column;justify-content:space-between;gap:4px;box-sizing:border-box;flex-shrink:0}.trend.right .trend-list>div:not(:last-child){position:relative;border-bottom:1px solid #edf0f2}.trend.right .trend-list .top{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.trend.right .trend-list .top .no{color:#4b5563;font-weight:500;font-size:14px}.trend.right .trend-list .top .opentime{color:#9aa3b2;font-size:12px;font-variant-numeric:tabular-nums}.trend.right .trend-list .bottom{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.trend.right .trend-list .bottom .ball{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px;width:auto;height:auto;background:none;box-shadow:none;border-radius:0;color:inherit;font-size:inherit;font-weight:inherit}.trend.right .trend-list .bottom .ball .item{display:flex;flex-direction:row;justify-content:center;align-items:center;width:32px;height:32px;line-height:32px;border-radius:276.25px;background:radial-gradient(178.6% 178.6% at 74.16% 98.78%,#84f0ff,#0281fb 40.94%,#4dcaff);color:#fff;font-size:16px;font-weight:500;box-shadow:0 1px 2px #0281fb47,inset 0 1px 1px #ffffff73}.trend.right .trend-list .bottom .ball .item.actived{background:radial-gradient(178.6% 178.6% at 74.16% 98.78%,#84f0ff,#0281fb 40.94%,#4dcaff);color:#fff}.trend.right .trend-list .bottom .ball .light{width:18px;background:none!important;box-shadow:none!important;color:#888;border:0}.trend.right .trend-list .bottom>span{color:#4b5563;font-size:14px;font-weight:500}.trend.right .trend-list .table-wrap{padding:4px 6px 10px;min-height:0;display:block}.trend.right .trend-list .trend-table{width:100%;border-collapse:collapse;font-size:12px}.trend.right .trend-list .trend-table th,.trend.right .trend-list .trend-table td{padding:8px 4px;border-bottom:1px solid #eef2f7;text-align:center}.tabs{display:flex;border-bottom:1px solid var(--line);background:#fbfcfe;padding:0 8px}.tab{height:42px;padding:0 18px;color:var(--text-2);position:relative;font-weight:500}.tab.active{color:var(--primary-deep);font-weight:700}.tab.active:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--primary)}.bet-wrap{display:grid;grid-template-columns:var(--subtab-w) minmax(0,1fr);min-height:0;overflow:hidden}.subtabs{border-right:1px solid var(--line);background:#f8fafc;padding:6px 0;display:flex;flex-direction:column;gap:2px}.subtab{min-height:48px;border-radius:0;padding:8px 4px;color:var(--text-2);font-size:12px;line-height:1.25;text-align:center}.subtab.active{background:var(--primary);color:#fff;font-weight:700;border:0;box-shadow:none}.bet-scroll{overflow:auto;padding:12px 14px}.section{margin-bottom:10px}.section h3{margin:0 0 6px;font-size:13px;color:var(--text-2);font-weight:600}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.grid.extreme{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}.cell{border:1px solid var(--line);border-radius:6px;background:#fff;padding:6px 6px 8px;text-align:center;transition:.15s ease}.cell:hover{border-color:#b7d8ff}.cell.on{border-color:var(--primary);background:linear-gradient(180deg,#f3f9ff,#fff);box-shadow:0 0 0 1px #1890ff2e}.cell .name{font-size:16px;font-weight:700}.cell .name.big{color:#e53935}.cell .name.small{color:#22a06b}.cell .name.oe{color:#1d6fdc}.cell .name.combo{color:#334155}.cell .name.ext{color:#c2410c}.cell .odds{margin-top:2px;font-size:12px;color:var(--text-3)}.cell input{margin-top:8px;width:100%;height:30px;border:1px solid var(--line);border-radius:6px;text-align:center;background:#f8fafc;outline:none}.cell input:focus{border-color:var(--primary);background:#fff}.placeholder{padding:48px 12px;text-align:center;color:#9aa3b2}.bottom-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;width:100%;min-height:56px;padding:8px 12px;border-radius:6px;background:#f3f6fa;border:1px solid #e3e9f1;box-shadow:none;position:sticky;bottom:0;z-index:5}.bottom-left,.bottom-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sq{width:36px;height:36px;border-radius:8px;border:1px solid #d7deea;background:#fff;color:#6b7280;display:grid;place-items:center}.sq.ghost{border-color:transparent;background:transparent}.sq:hover{color:var(--primary-deep);border-color:#b7d8ff}.amount-group{display:inline-flex;border:1px solid #d7deea;border-radius:8px;overflow:hidden;background:#fff}.amt{min-width:46px;height:36px;padding:0 10px;color:#6b7280;font-size:14px;border-right:1px solid #e5eaf1;background:#fff}.amt:last-child{border-right:0}.amt.on{background:var(--primary);color:#fff;font-weight:700}.amount-box{width:120px;height:36px;border:1px solid #d7deea;border-radius:8px;padding:0 12px;outline:none;background:#fff;color:var(--text)}.amount-box:focus{border-color:var(--primary);box-shadow:0 0 0 3px #1890ff1f}.btn-add{height:40px;padding:0 16px;border-radius:8px;background:#5aa8ff;color:#fff;font-weight:700;font-size:14px}.btn-add:hover{filter:brightness(1.05)}.btn-cart{height:40px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;color:var(--primary-deep);font-weight:600;font-size:14px}.cart-ico{position:relative;display:inline-grid;place-items:center}.cart-ico i{position:absolute;top:-6px;right:-8px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-style:normal;display:grid;place-items:center}.btn-bet{min-width:118px;height:48px;padding:0 18px;border-radius:8px;background:linear-gradient(180deg,#2ea7ff,#1677ff);color:#fff;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15;box-shadow:0 8px 16px #1677ff40}.btn-bet strong{font-size:15px;font-weight:700}.btn-bet small{font-size:12px;opacity:.95;font-weight:500}.btn-side{height:40px;min-width:52px;padding:0 8px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--primary-deep);font-size:12px;font-weight:600}.btn-side svg{color:var(--primary)}.history{width:100%;min-height:160px;display:grid;grid-template-rows:auto minmax(100px,1fr)}.history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid var(--line);background:#fbfcfe}.history-tabs{display:flex;align-items:center;gap:4px}.htab{height:36px;padding:0 14px;color:var(--text-2);font-weight:500;position:relative}.htab.on{color:var(--primary-deep);font-weight:700}.htab.on:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;background:var(--primary);border-radius:2px 2px 0 0}.history-actions{display:flex;gap:14px}.linkish{color:var(--primary-deep);font-size:13px;font-weight:600}.linkish.danger{color:#e53935}.history-table-wrap{overflow:auto}.history-table{width:100%;border-collapse:collapse;font-size:13px}.history-table th,.history-table td{padding:12px 10px;border-bottom:1px solid #eef2f7;text-align:center;color:var(--text-2);white-space:nowrap}.history-table th{background:#f8fafc;color:var(--text-3);font-weight:600;position:sticky;top:0}.history-table .empty{padding:36px 12px;color:var(--text-3)}.dot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:#fff;font-size:11px;font-weight:700}.dot.b{background:#e53935}.dot.s{background:#22a06b}.dot.o{background:#1d6fdc}.dot.e{background:#7c3aed}.chat-fab{position:fixed;right:18px;bottom:18px;z-index:20;width:52px;height:52px;border-radius:14px;background:#fff;color:#111827;display:grid;place-items:center;box-shadow:0 10px 24px #00000029;border:1px solid #e5eaf1}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%) translateY(10px);opacity:0;pointer-events:none;z-index:40;padding:10px 16px;border-radius:999px;background:#111827e6;color:#fff;font-size:13px;transition:.2s ease}.toast.show{opacity:1;transform:translate(-50%) translateY(0)}.badge{position:fixed;top:64px;right:14px;z-index:25;height:28px;padding:0 12px;border-radius:999px;background:#111827d1;color:#fff;font-size:12px;display:inline-flex;align-items:center;gap:6px}.badge i{width:7px;height:7px;border-radius:50%;background:#34d399}@media(max-width:960px){.body{grid-template-columns:1fr}.sidebar{display:none}.betting-time{height:auto;min-height:96px;flex-wrap:wrap;gap:12px;padding:10px 36px 10px 14px;justify-content:flex-start}.betting-time .split{display:none}.betting-time .time{gap:12px}.betting-time .log{width:100%;justify-content:flex-start}.betting-time .time .countdown{width:min(245px,56vw)}.betting-time .time .countdown span{font-size:clamp(28px,6vw,46px);width:auto}.main-split{grid-template-columns:1fr}.trend.right{--trend-h: 420px;position:static;width:100%;max-width:none}}@media(max-width:720px){.bet-wrap{grid-template-columns:1fr}.subtabs{flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.subtab{min-height:36px;white-space:nowrap;padding:8px 12px}.grid,.grid.extreme{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.bottom-bar{flex-direction:column;align-items:stretch}.bottom-left,.bottom-right{justify-content:flex-start}}
