/* Extracted from 逗号开箱网.html.
 * Transitional split file: market / guess / betting related styles.
 */

/* ===== style[20] id="v28-guess-style" ===== */
.guess-page-shell{display:flex;flex-direction:column;gap:20px}
.guess-page-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap;padding:22px;border-radius:24px;background:linear-gradient(135deg,rgba(24,32,58,.95),rgba(12,16,29,.95));border:1px solid rgba(255,255,255,.08);box-shadow:0 20px 45px rgba(0,0,0,.24)}
.guess-kicker{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#9bb8ff;font-weight:800;margin-bottom:8px}
.guess-title{margin:0;font-size:30px;line-height:1.1}
.guess-sub{margin:10px 0 0;color:#b9c4de;line-height:1.7}
.guess-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.guess-badge,.guess-countdown{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;font-weight:800;font-size:13px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.06)}
.guess-badge.risk{background:rgba(255,170,0,.14);color:#ffd787;border-color:rgba(255,215,135,.28)}
.guess-badge.safe{background:rgba(120,190,255,.12);color:#b6dcff;border-color:rgba(182,220,255,.25)}
.guess-badge.locked{background:rgba(255,120,120,.12);color:#ffcccc;border-color:rgba(255,160,160,.22)}
.guess-countdown{background:rgba(12,18,32,.8);color:#fff;min-width:188px;justify-content:center}
.guess-match-shell{padding:18px;border-radius:24px;background:rgba(12,16,28,.95);border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 38px rgba(0,0,0,.18);display:flex;flex-direction:column;gap:16px}
.guess-match-shell.featured{padding:22px;border-color:rgba(112,170,255,.20);background:linear-gradient(180deg,rgba(18,23,39,.98),rgba(11,15,26,.98))}
.guess-match-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
.guess-match-title{margin:0;font-size:23px;line-height:1.2}
.guess-match-sub{margin:8px 0 0;color:#b8c3dc;font-size:13px;line-height:1.7}
.guess-round-grid{display:grid;grid-template-columns:1fr;gap:18px}
.guess-secondary-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (max-width: 1180px){.guess-secondary-grid{grid-template-columns:1fr}}
.guess-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.guess-match-shell:not(.featured) .guess-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.guess-match-shell:not(.featured) .guess-team-name{font-size:22px}
.guess-team-top > div{min-width:0}
.guess-team-name-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:12px;
  row-gap:8px;
  margin-top:4px;
}
.guess-team-name{
  margin:0;
  min-width:0;
}
.guess-team-status-inline{
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:flex-end;
  flex-wrap:nowrap;
  white-space:nowrap;
}
.guess-picked-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
  margin-top:0;
  white-space:nowrap;
}
.guess-picked-badge,
.guess-missed-badge{
  box-shadow:none;
  flex:0 0 auto;
}
.guess-team-result-chip{
  margin-top:0;
  flex:0 0 auto;
}
@media (max-width: 980px){
  .guess-team-name-row{
    grid-template-columns:1fr;
  }
  .guess-team-status-inline,
  .guess-picked-row{
    justify-content:flex-start;
  }
}

.guess-match-shell:not(.featured) .guess-odds{font-size:24px}
.guess-match-shell:not(.featured) .guess-player-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.guess-match-shell:not(.featured) .guess-stake-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.guess-match-shell:not(.featured) .guess-stake-grid.custom{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width: 900px){.guess-grid{grid-template-columns:1fr!important}}
.guess-team-card{padding:20px;border-radius:22px;background:rgba(17,21,34,.92);border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 38px rgba(0,0,0,.18);display:flex;flex-direction:column;gap:14px}
.guess-team-card.comma{border-color:rgba(112,170,255,.28);background:linear-gradient(180deg,rgba(29,40,72,.96),rgba(15,20,34,.96))}
.guess-team-card.enemy{border-color:rgba(255,126,106,.22);background:linear-gradient(180deg,rgba(61,30,32,.96),rgba(17,21,34,.96))}
.guess-team-card.neutralA{border-color:rgba(112,170,255,.20);background:linear-gradient(180deg,rgba(25,33,57,.96),rgba(15,20,34,.96))}
.guess-team-card.neutralB{border-color:rgba(255,159,92,.18);background:linear-gradient(180deg,rgba(53,32,32,.96),rgba(15,20,34,.96))}
.guess-team-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.guess-team-name{margin:0;font-size:24px}
.guess-team-tag{font-size:12px;color:#a4afc7;font-weight:700}
.guess-odds{font-size:26px;font-weight:900;white-space:nowrap}
.guess-prob-wrap{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.guess-prob-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#dbe4f6;font-weight:800}
.guess-prob-bar{height:10px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.06)}
.guess-prob-fill{height:100%;border-radius:999px}
.guess-prob-fill.comma,.guess-prob-fill.a{background:linear-gradient(90deg,rgba(115,173,255,.92),rgba(64,118,255,.98))}
.guess-prob-fill.enemy,.guess-prob-fill.b{background:linear-gradient(90deg,rgba(255,160,118,.92),rgba(255,90,90,.96))}
.guess-player-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.guess-player{padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.06);font-weight:700;color:#eef3ff}
.guess-player.favorite{box-shadow:0 0 0 1px rgba(255,215,140,.18) inset;background:rgba(255,205,110,.08)}
.guess-stake-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;color:#b7c1d6;font-size:13px}
.guess-stake-group{display:flex;flex-direction:column;gap:10px}
.guess-stake-label{font-size:12px;font-weight:800;color:#aeb8ce;text-transform:uppercase;letter-spacing:.1em}
.guess-stake-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.guess-stake-grid.custom{grid-template-columns:repeat(4,minmax(0,1fr))}
.guess-stake-btn{border:none;border-radius:16px;padding:12px 10px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));color:#fff;font-weight:800;cursor:pointer;transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease}
.guess-stake-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.22)}
.guess-stake-btn.active{box-shadow:0 0 0 2px rgba(120,205,255,.38) inset,0 14px 28px rgba(0,0,0,.26);background:linear-gradient(180deg,rgba(86,149,255,.24),rgba(55,104,220,.20))}
.guess-stake-btn small{display:block;margin-top:5px;font-size:11px;color:#d7dff2;font-weight:700;line-height:1.5}
.guess-stake-btn:disabled{cursor:not-allowed;opacity:.55;transform:none;box-shadow:none}
.guess-ticket,.guess-result-card{padding:18px 20px;border-radius:20px;background:rgba(15,20,33,.95);border:1px solid rgba(255,255,255,.08)}
.guess-ticket h3,.guess-result-card h3{margin:0 0 8px;font-size:18px}
.guess-ticket p,.guess-result-card p{margin:4px 0;color:#c8d0e2;line-height:1.7}
.guess-result-win{color:#89ffb9;font-weight:900}
.guess-result-lose{color:#ff9e9e;font-weight:900}
.guess-empty-note{padding:18px;border-radius:18px;background:rgba(255,255,255,.04);color:#bcc6da;border:1px dashed rgba(255,255,255,.08)}
.guess-bottom-note{font-size:13px;color:#9ea9c4;line-height:1.7}
#guess-toast{position:fixed;top:78px;left:50%;transform:translateX(-50%) translateY(-12px);padding:14px 18px;border-radius:16px;background:rgba(22,28,44,.95);color:#fff;font-weight:900;font-size:14px;border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 40px rgba(0,0,0,.35);z-index:99999;opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s ease;max-width:min(92vw,540px);text-align:center}
#guess-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media (max-width:1400px){.guess-secondary-grid{grid-template-columns:1fr}.guess-match-shell:not(.featured) .guess-stake-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guess-match-shell:not(.featured) .guess-player-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1200px){.guess-grid{grid-template-columns:1fr}.guess-match-shell:not(.featured) .guess-stake-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guess-match-shell:not(.featured) .guess-player-list{grid-template-columns:1fr}}
@media (max-width:760px){.guess-stake-grid,.guess-stake-grid.custom{grid-template-columns:repeat(2,minmax(0,1fr))}.guess-player-list{grid-template-columns:1fr}.guess-title{font-size:24px}}
.guess-team-card.user-picked-live{
  box-shadow:0 0 0 2px rgba(255,225,120,.48) inset, 0 0 24px rgba(255,210,80,.18), 0 16px 38px rgba(0,0,0,.18);
  border-color:rgba(255,225,120,.42) !important;
  position:relative;
}
.guess-picked-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.guess-picked-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  color:#1e1a05;
  background:linear-gradient(180deg,#ffe38d,#f7b94c);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  white-space:nowrap;
}
.guess-missed-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  color:#fff7d6;
  background:rgba(255,183,77,.14);
  border:1px solid rgba(255,200,110,.26);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  white-space:nowrap;
}

.guess-team-card.match-winner{
  border-color:rgba(120,255,176,.34) !important;
  box-shadow:0 0 0 1px rgba(120,255,176,.22) inset, 0 0 28px rgba(90,255,165,.12), 0 16px 38px rgba(0,0,0,.18);
}
.guess-team-card.match-loser{
  opacity:.78;
  filter:saturate(.82);
}
.guess-team-result-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.guess-team-result-chip.win{
  color:#96ffc0;
  background:rgba(64,170,102,.16);
  border-color:rgba(120,255,176,.22);
}
.guess-team-result-chip.lose{
  color:#ffb2b2;
  background:rgba(185,74,74,.14);
  border-color:rgba(255,150,150,.18);
}
.guess-result-card.neutral h3{color:#eef3ff}
.guess-result-card.neutral p strong{color:#fff}

/* ===== style[21] id="v46-bocai-events-style" ===== */
.guess-page-head{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.guess-event-switch-shell{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:4px;
}
.guess-event-switch-row{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  min-width:0;
}
.guess-event-tab{
  min-width:0;
  width:100%;
  min-height:88px;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#eef3ff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:all .18s ease;
  text-align:left;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:8px;
}
.guess-event-tab-title{
  display:block;
  min-height:36px;
  font-size:13px;
  font-weight:900;
  color:#f4f7ff;
  line-height:1.35;
  white-space:normal;
  word-break:break-word;
}
.guess-event-tab-meta{
  display:block;
  min-height:18px;
  margin-top:0;
  font-size:12px;
  font-weight:700;
  color:#b9c7e6;
  line-height:1.45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.guess-event-tab:hover:not(:disabled){
  transform:translateY(-1px);
  background:rgba(255,255,255,.07);
}
.guess-event-tab.active{
  background:linear-gradient(180deg, rgba(91,140,255,.18), rgba(118,75,162,.18));
  border-color:rgba(140,170,255,.34);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.guess-event-tab:disabled{
  opacity:.52;
  cursor:not-allowed;
}
.guess-event-header-note{
  color:#b8c3dc;
  font-size:13px;
  line-height:1.7;
}
@media (max-width: 1280px){
  .guess-event-switch-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 900px){
  .guess-event-switch-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 620px){
  .guess-event-switch-row{
    grid-template-columns:1fr;
  }
}

/* ===== style[22] inline ===== */
.guess-team-top > div{min-width:0}
.guess-team-name-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:12px;
  margin-top:4px;
}
.guess-team-name{
  margin:0;
  min-width:0;
  line-height:1.15;
}
.guess-team-status-inline{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:nowrap;
  white-space:nowrap;
  min-height:36px;
}
.guess-picked-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:nowrap;
  white-space:nowrap;
  margin:0;
}
.guess-picked-badge,
.guess-missed-badge,
.guess-team-result-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:none !important;
  margin:0 !important;
  flex:0 0 auto;
}
.guess-picked-badge{
  color:#1e1a05;
  background:linear-gradient(180deg,#ffe38d,#f7b94c);
  border:1px solid rgba(255,200,110,.22);
}
.guess-missed-badge{
  color:#fff7d6;
  background:rgba(255,183,77,.14);
  border:1px solid rgba(255,200,110,.26);
}
.guess-team-result-chip.win{
  color:#96ffc0;
  background:rgba(64,170,102,.16);
  border:1px solid rgba(120,255,176,.22);
}
.guess-team-result-chip.lose{
  color:#ffb2b2;
  background:rgba(185,74,74,.14);
  border:1px solid rgba(255,150,150,.18);
}
@media (max-width: 980px){
  .guess-team-name-row{
    grid-template-columns:1fr;
    row-gap:8px;
  }
  .guess-team-status-inline,
  .guess-picked-row{
    justify-content:flex-start;
  }
}

/* ===== style[23] id="v45-probbar-width-fix" ===== */
.guess-team-top > div:first-child{
  flex:1 1 auto !important;
  min-width:0 !important;
  width:100% !important;
}
.guess-team-name-row{
  width:100% !important;
}
.guess-prob-wrap{
  width:100% !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  margin-top:8px !important;
}
.guess-prob-row{
  width:100% !important;
}
.guess-prob-bar{
  width:100% !important;
}

/* ===== style[24] id="v45-name-status-nearby-fix" ===== */
.guess-team-name-row{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  width:100% !important;
}
.guess-team-name{
  margin:0 !important;
  min-width:0 !important;
}
.guess-team-status-inline{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  white-space:normal !important;
  min-height:0 !important;
  flex:0 0 auto !important;
}
.guess-picked-row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  white-space:normal !important;
  margin:0 !important;
}
.guess-picked-badge,
.guess-missed-badge,
.guess-team-result-chip{
  box-shadow:none !important;
  margin:0 !important;
}

/* ===== style[25] id="v45-teamhead-reserve-space-fix" ===== */
.guess-team-top > div:first-child{
  display:flex !important;
  flex-direction:column !important;
  min-width:0 !important;
}
.guess-team-tag{
  display:block !important;
  min-height:18px !important;
  margin-bottom:8px !important;
}
.guess-team-name-row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
  min-height:40px !important;
  width:100% !important;
}
.guess-team-name{
  flex:0 1 auto !important;
  min-width:0 !important;
  margin:0 !important;
  line-height:1.15 !important;
}
.guess-team-status-inline{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  min-height:32px !important;
}
.guess-picked-row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
  margin:0 !important;
}
.guess-picked-badge,
.guess-missed-badge,
.guess-team-result-chip{
  box-shadow:none !important;
  margin:0 !important;
  flex:0 0 auto !important;
}
@media (max-width: 980px){
  .guess-team-name-row{
    flex-wrap:wrap !important;
    min-height:40px !important;
  }
}

/* ===== style[26] id="v45-header-gap-tune" ===== */
.guess-team-tag{
  font-size:14px !important;
  font-weight:900 !important;
  min-height:16px !important;
  margin-bottom:4px !important;
  letter-spacing:.03em !important;
}
.guess-team-name-row{
  min-height:34px !important;
  gap:10px !important;
}
.guess-team-status-inline{
  min-height:28px !important;
}
.guess-picked-badge,
.guess-missed-badge,
.guess-team-result-chip{
  height:28px !important;
  padding:0 10px !important;
  font-size:11px !important;
}

/* ===== style[27] id="v45-featured-header-fix" ===== */
/* 只修逗号战队那场（featured）投注后错位 */
.guess-match-shell.featured .guess-team-top > div:first-child{
  display:grid !important;
  grid-template-rows:auto auto auto !important;
  align-content:start !important;
  min-height:118px !important;
}
.guess-match-shell.featured .guess-team-tag{
  font-size:14px !important;
  font-weight:900 !important;
  min-height:16px !important;
  margin-bottom:4px !important;
  letter-spacing:.03em !important;
}
.guess-match-shell.featured .guess-team-name{
  font-size:22px !important;
  line-height:1.15 !important;
}
.guess-match-shell.featured .guess-team-name-row{
  min-height:34px !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
}
.guess-match-shell.featured .guess-team-status-inline,
.guess-match-shell.featured .guess-picked-row{
  min-height:28px !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
}
.guess-match-shell.featured .guess-picked-badge,
.guess-match-shell.featured .guess-missed-badge,
.guess-match-shell.featured .guess-team-result-chip{
  height:28px !important;
  padding:0 10px !important;
  font-size:11px !important;
  box-shadow:none !important;
}
.guess-match-shell.featured .guess-prob-wrap{
  margin-top:6px !important;
}

/* ===== style[28] id="v45-bocai-button-selected-text-remove" ===== */
.guess-stake-btn small{
  line-height:1.35 !important;
}

/* ===== style[29] id="v45-market-rectification-style" ===== */
#market-page .empty-tip{
  margin-top: 18px;
}
