.markets .odd{flex-wrap:wrap;gap:2px 6px;padding-top:5px;padding-bottom:4px}
.markets .odd .prob{flex:0 0 100%;display:block;color:#9a9f9b;font-size:9px;font-weight:400;line-height:1;text-align:center}
.markets .odd.selected .prob{color:#ef737b}
.markets .odd .prob em{font-style:normal;font-weight:700}
.markets .odd .prob .boost{color:#ee4a57}
.markets .odd .prob .weaken{color:#159a43}
.markets .odd .prob .steady{color:#9a9f9b}
.teams .score b{color:#ff3e4d;font-size:14px;font-weight:750}
.teams .score small{font-size:7px;color:#a4aaa6;font-weight:400}
.odd.hit,.odd.hit:disabled{background:#fff0f1;color:#e62f3e;box-shadow:inset 0 0 0 1px #ff9ba3;font-weight:700}
.odd.hit .prob{color:#a55c62}
.line.plus{color:#ee4a57}
.line.minus{color:#159a43}
.score-group{margin-top:12px}
.score-group h4{margin:0;padding:7px 10px;background:#f7f7f7;color:#7d8580;font-size:11px;font-weight:600;border:1px solid #eceeec;border-bottom:0;border-radius:5px 5px 0 0}
.score-group .detail-options{border-radius:0 0 5px 5px}
.single-tag{display:inline-flex;align-items:center;justify-content:center;padding:1px 3px;border-radius:3px;background:#ff9f19;color:#fff!important;font-size:8px!important;font-style:normal;font-weight:700;line-height:1.2;vertical-align:middle}
.line{flex-direction:column;gap:2px}
.controls{align-items:flex-start}.control-group{flex:1;display:grid;gap:7px;font-size:12px;color:#727b76}.pass-options{display:flex;flex-wrap:wrap;gap:7px;min-height:40px}.pass-choice{display:block!important;flex:none!important}.pass-choice input{position:absolute;opacity:0;pointer-events:none}.pass-choice span{display:flex;align-items:center;justify-content:center;min-width:58px;height:36px;padding:0 10px;border:1px solid #e2e5e2;border-radius:5px;background:#fff;color:#505953}.pass-choice input:checked+span{border-color:#ff6974;background:#fff0f1;color:#e73745;font-weight:700}.pass-empty{display:flex;align-items:center;color:#9aa19d;font-size:11px}
.detail-main-row{grid-template-columns:36px repeat(3,1fr)}.detail-main-row .line,.detail-main-row .odd{border-bottom:0}.detail-options.ttg-options{grid-template-columns:repeat(4,1fr)}
.detail-teams{display:flex;align-items:center;justify-content:center;gap:14px}.detail-teams>span{min-width:0}.detail-score{display:grid;grid-template-columns:auto auto;gap:1px 4px;align-items:center;color:#ff3e4d;font-style:normal;line-height:1.1}.detail-score b{font-size:13px}.detail-score small{font-size:7px;color:#a4aaa6;font-weight:400}
.detail-options .odd{min-height:44px;display:flex;flex-wrap:wrap;gap:2px 6px;padding:5px;font-size:13px}.detail-options .odd>b{font-size:13px;font-weight:500}.detail-options .odd .prob{flex:0 0 100%;display:block;color:#9a9f9b;font-size:9px;font-weight:400;line-height:1;text-align:center}.detail-options .odd .prob em{font-style:normal;font-weight:700}.detail-options .odd .prob .boost{color:#ee4a57}.detail-options .odd .prob .weaken{color:#159a43}.detail-options .odd .prob .steady{color:#9a9f9b}.detail-options .odd.selected .prob{color:#ef737b}
.date-picker-anchor{position:relative;min-width:0;height:100%}.date-picker-anchor>input{width:100%;height:100%;cursor:pointer;background:#fff;padding-right:32px!important}.date-picker-anchor:after{content:'';position:absolute;right:10px;top:50%;width:16px;height:16px;transform:translateY(-50%);background:center/16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f7872' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");pointer-events:none}.attached-calendar{display:none;position:absolute;z-index:30;left:0;top:calc(100% + 5px);width:100%;padding:7px 5px;background:#fff;border:1px solid #e3e6e3;border-radius:0 0 8px 8px;box-shadow:0 10px 26px rgba(38,45,41,.16);color:#252b28}.attached-calendar.open{display:block}.calendar-head{height:31px;display:grid;grid-template-columns:27px 1fr 27px;align-items:center}.calendar-head b{text-align:center;font-size:12px}.calendar-head button,.calendar-foot button{border:0;background:transparent;color:#ff3e4d;font-size:18px;padding:0}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week span{text-align:center;padding:5px 0 4px;color:#919993;font-size:8px}.calendar-days button{min-width:0;height:26px;padding:0;border:0;border-radius:13px;background:transparent;font-size:9px}.calendar-days button.outside{color:#c7cbc8}.calendar-days button.today{color:#ff3e4d;font-weight:700}.calendar-days button.selected{background:#ff3e4d;color:#fff;font-weight:700}.calendar-foot{padding-top:4px;border-top:1px solid #eff1ef;text-align:right}.calendar-foot button{font-size:10px;padding:4px 6px}.date-query{overflow:visible}.date-query:has(.attached-calendar.open){z-index:12}
.calculator-header .home-back{position:absolute;left:7px;width:38px;height:44px;display:grid;place-items:center;color:#fff;text-decoration:none;font-size:32px;font-weight:300;line-height:1}
.calculator-header .account{left:42px;right:auto;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.plan-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:14px}.plan-actions .primary{margin:0}.secondary{border:1px solid #ff6974;border-radius:25px;background:#fff;color:#e73745;font-weight:700}
.dialog-sheet{position:absolute;left:16px;right:16px;top:50%;transform:translateY(-50%);background:#fff;border-radius:16px;padding:24px;max-width:430px;margin:auto}.dialog-sheet h2{margin:0 0 8px}.dialog-sheet label{display:grid;gap:7px;margin:20px 0 12px;font-size:12px;color:#727b76}.dialog-sheet input{height:44px;border:1px solid #e2e5e2;border-radius:7px;padding:0 12px}.dialog-sheet .primary{margin-top:14px}.code-row{display:grid;grid-template-columns:1fr 110px;gap:8px}.code-row button{border:1px solid #ff9ca4;border-radius:7px;background:#fff;color:#e73745}.code-row button:disabled{color:#aaa;border-color:#ddd}.plans-sheet{min-height:72vh}.user-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;margin:8px 0 18px;border-radius:10px;background:#fff5f5;color:#69736d;font-size:13px}.user-bar span{display:grid;gap:3px}.user-bar small{font-size:10px;color:#9b9f9c}.user-bar b{color:#292f2b}.user-bar button{border:0;background:transparent;color:#e73745}.section-title{margin:0 0 10px;font-size:15px}.plan-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:4px}.plan-tabs button{height:36px;border:1px solid #e5e7e5;border-radius:7px;background:#fff;color:#6f7772;font-size:11px}.plan-tabs button.active{border-color:#ff7b85;background:#fff0f1;color:#df3441;font-weight:700}.plan-tabs b{font-size:10px}.plan-card{border-bottom:1px solid #edf0ed;padding:16px 2px}.plan-card-head{display:flex;justify-content:space-between;gap:10px}.plan-card h3{font-size:14px;margin:0}.plan-status{border-radius:12px;padding:3px 8px;background:#f2f3f2;color:#737b76;font-size:10px;white-space:nowrap}.plan-status.pending{background:#fff1d9;color:#ad6b00}.plan-status.won{background:#fff0f1;color:#df3340}.plan-status.lost{background:#f0f1f0;color:#777}.plan-card p{margin:9px 0 0;color:#747d77;font-size:12px;line-height:1.55}.plan-card strong{color:#ec3b48}.plan-card-time{color:#a0a6a2!important;font-size:10px!important}.plan-card-actions{display:flex;gap:8px;margin-top:10px}.plan-card-actions button{border:1px solid #e3e6e3;border-radius:5px;background:#fff;padding:7px 13px;font-size:11px}.plan-card-actions .view{border-color:#ff9ba3;color:#df3441}.plan-card-actions .danger{color:#d94750}.plan-detail-sheet{padding-bottom:28px}.plan-detail-head{padding-right:38px}.plan-detail-head h2{margin:3px 0 8px;font-size:18px}.plan-detail-head p{margin:0;color:#8a918d;font-size:11px}.plan-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:18px 0}.plan-summary div{padding:12px;border-radius:8px;background:#f7f8f7;color:#7b837e;font-size:10px}.plan-summary b{display:block;margin-top:5px;color:#242a26;font-size:16px}.plan-summary .bonus b{color:#e63845}.plan-pick{margin-top:12px;border:1px solid #e6e8e6;border-radius:9px;overflow:hidden}.plan-pick-head{display:flex;justify-content:space-between;gap:10px;padding:10px;background:#f7f8f7;font-size:11px;color:#747c77}.plan-pick h4{margin:0;padding:12px 11px 3px;font-size:14px}.plan-pick .kickoff{margin:0;padding:0 11px 10px;color:#9a9f9c;font-size:10px}.plan-pick-result{color:#e63845;font-weight:700}.plan-pick-market{display:flex;justify-content:space-between;gap:8px;padding:10px 11px;border-top:1px solid #eceeec;color:#6f7772;font-size:11px}.plan-pick-options{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.plan-pick-option{padding:3px 7px;border-radius:5px;background:#fff0f1;color:#df3441;white-space:nowrap}.login-error{color:#d43e46}.login-ok{color:#159a43}
.user-bar~#membership-panel{padding:12px;border:1px solid #eee;border-radius:10px;margin-bottom:18px;font-size:12px;overflow-wrap:anywhere}
#membership-panel label{display:grid;gap:6px;margin:10px 0}#membership-panel input,#membership-panel select,#membership-panel textarea{width:100%;min-height:40px;border:1px solid #ddd;border-radius:6px;padding:8px;box-sizing:border-box}#membership-panel button{padding:9px 12px;border:1px solid #ff9ba3;background:#fff0f1;color:#df3441;border-radius:6px}#membership-panel button:disabled{opacity:.5}

/* Keep the native date picker, but give WeChat WebView and desktop browsers the same field chrome. */
.date-query input[type="date"]{display:block;width:100%;height:38px;min-height:38px;margin:0;padding:0 34px 0 12px;border-radius:6px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23545c57' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px;color:#202623;font-size:14px;line-height:36px;-webkit-appearance:none;appearance:none;color-scheme:light}
.date-query input[type="date"]::-webkit-date-and-time-value{min-height:0;margin:0;text-align:left}
.date-query input[type="date"]::-webkit-calendar-picker-indicator{width:28px;height:100%;margin:0 -28px 0 0;padding:0;opacity:0;cursor:pointer}
.plan-card-actions .store-reserve{margin-left:auto;border-color:#ff8993;background:#ffeff1;color:#d92f3d;font-weight:700}.store-reserved{margin-left:auto;align-self:center;color:#16865b;font-size:11px;font-weight:700}.store-proof{margin:16px 0;padding:14px;border:1px solid #f0d9dc;border-radius:10px;background:#fff8f8}.store-proof h3{margin:0 0 8px;font-size:15px}.store-proof p{margin:5px 0;color:#7d7476;font-size:11px;line-height:1.5}.store-proof img{display:block;width:100%;max-height:480px;margin-top:12px;border-radius:8px;object-fit:contain;background:#f4f4f4}
.user-avatar{width:46px;height:46px;flex:none;border-radius:50%;object-fit:cover;background:#f1f3f2}.settings-sheet,.profile-sheet{max-height:88vh;overflow:auto}.settings-menu{display:grid;gap:10px;margin-top:22px}.settings-menu button{min-height:52px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e7e9e7;border-radius:10px;background:#fff;padding:0 14px;text-align:left}.settings-menu button small{color:#979e99}.settings-menu .settings-logout{justify-content:center;border-color:#ffd1d5;color:#df3441}.profile-sheet form>label{margin-top:16px}.profile-images{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.profile-images .avatar-field{display:grid;gap:7px;margin:0;color:#727b76;font-size:12px}.avatar-preview{height:122px;display:grid;place-items:center;overflow:hidden;border:1px dashed #dfe4e1;border-radius:10px;background:#f8faf9;color:#9aa19d;font-size:11px}.avatar-preview img{width:100%;height:100%;object-fit:cover}.avatar-preview.backup img{object-fit:contain}.avatar-field input{height:auto;padding:8px;font-size:11px}.profile-message{min-height:18px;color:#d43e46}.profile-sheet .primary{width:100%;margin-top:10px}@media(max-width:380px){.profile-images{grid-template-columns:1fr}.avatar-preview{height:150px}}
.support-sheet{max-height:90vh;overflow:auto}.support-sheet textarea{min-height:90px;resize:vertical;border:1px solid #e2e5e2;border-radius:7px;padding:10px;font:inherit}.support-sheet .primary{width:100%;margin-top:8px}.support-sheet>h3{margin:24px 0 10px;font-size:15px}.support-ticket{padding:12px 0;border-top:1px solid #eceeec}.support-ticket>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.support-ticket p{margin:8px 0;color:#4f5752;font-size:12px;line-height:1.55}.support-ticket small{display:block;margin-top:4px;color:#919893;font-size:10px}.support-ticket blockquote{margin:9px 0 0;padding:9px;border-radius:7px;background:#f7f8f7;color:#5f6862;font-size:11px}.support-status{padding:3px 8px;border-radius:10px;background:#fff2dc;color:#986000;font-size:9px}.support-status.processing{background:#eaf4ff;color:#2471b7}.support-status.replied{background:#eaf8f0;color:#147a4c}.support-status.closed{background:#f0f2f1;color:#747b77}
.sport-tag{display:inline-flex;align-items:center;margin-right:6px;padding:2px 7px;border-radius:10px;background:#e9f8ec;color:#16834a;font-size:9px;font-style:normal;vertical-align:2px}.sport-tag.basketball{background:#fff0e5;color:#d66b16}.plan-detail-head>.sport-tag{margin-bottom:6px}
html.user-route body{padding:0;background:#fff}
html.user-route body>header,html.user-route body>main,html.user-route body>footer{display:none!important}
html.user-route #plans-shade{position:fixed;inset:0;display:block;overflow:auto;background:#fff;z-index:20}
html.user-route #plans-shade[hidden]{display:none}
html.user-route #plans-shade .plans-sheet{position:relative;inset:auto;width:min(720px,100%);min-height:100%;max-height:none;margin:0 auto;padding:calc(14px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));overflow:visible;border-radius:0}
html.user-route #plans-shade .grab{display:none}
html.user-route #plans-shade .slip-title{position:sticky;top:0;z-index:2;margin:-14px -16px 14px;padding:calc(8px + env(safe-area-inset-top)) 16px 8px;background:#ff3e4d;color:#fff}
html.user-route #plans-shade .slip-title h2{margin:0;font-size:18px}
html.user-route #plans-shade .slip-title button{color:#fff}
.shade{overscroll-behavior:none;touch-action:none}.shade>.detail-sheet,.shade>.slip-sheet{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}.member-screen,.transfer-overlay,.qr-fullscreen{overscroll-behavior:contain}.member-screen,.transfer-card{touch-action:pan-y;-webkit-overflow-scrolling:touch}
html.user-route #plans-shade{touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
