.research-panel{margin:20px 0 30px;padding:18px;border:1px solid #d9e2e9;border-radius:8px;background:#fff;color:#273744;min-width:0}
.research-panel h2{margin:0 0 10px;font-size:21px}
.research-panel .table-scroll{overflow-x:auto;max-width:100%}
.research-panel .research-table{min-width:860px;width:100%;border-collapse:collapse}
.research-panel th,.research-panel td{padding:11px 10px;vertical-align:top;border-bottom:1px solid #e2e8ed;text-align:left}
.research-panel th{background:#edf4f6;white-space:nowrap}
.research-clock{display:block;white-space:nowrap;color:#677b87;margin-top:6px;font-size:11px}
.research-match{min-width:160px}.research-match a{overflow-wrap:anywhere}
.research-event{border-top:1px solid #d9e2e9;padding:14px 0}
.research-hash{overflow-wrap:anywhere;color:#6b7b86;font-size:11px}
.research-panel details{margin:10px 0}.research-panel summary{cursor:pointer}
.research-panel .plain{white-space:pre-wrap}.research-wide{max-width:1500px!important}
.research-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}
.research-filter label{margin:0;min-width:0}.research-filter input{display:block}
.research-panel a{color:#17677a}.research-panel table{font-size:13px}.research-panel .muted{color:#677b87}
.research-panel .research-hit{color:#c40000;font-weight:800}
.research-panel .research-miss{color:#000;font-weight:800}
.research-panel .research-neutral{color:inherit;font-weight:400}
.research-panel .research-table-scroll{max-height:720px;max-height:min(72vh,720px);overflow:auto;scrollbar-gutter:stable}
.research-table thead th{position:sticky;top:0;z-index:1}
.research-list-caption{font-size:12px;color:#677b87;margin:10px 0}
.research-ah-stage+.research-ah-stage{margin-top:6px}
.research-ah-water{display:block;font-size:11px;color:#677b87;white-space:normal}
.research-panel .research-macau{min-width:135px;font-size:12px}
@media(max-width:720px){
 .columns>.home-main,.home-body,.research-wide{min-width:0;max-width:100%}
 .research-panel{padding:12px;margin:12px 0}
 .research-panel h2{font-size:18px;line-height:1.5;margin:0}
 .research-panel .section-head{flex-wrap:wrap;gap:8px}
 .research-panel .section-head>.btn{white-space:normal}
 .research-wide{padding:10px!important}
 .research-filter label{flex:1 1 140px}.research-filter input{width:100%;min-width:0}
 .research-panel .research-table-scroll{overflow:auto;border:0;border-radius:0;max-height:72vh}
 .research-panel table.research-table{display:block;width:100%;min-width:0;table-layout:auto}
 .research-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .research-table tbody{display:block;width:100%}
 .research-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;margin:12px 0;border:1px solid #ded0b5;border-radius:6px;background:#fff;overflow:hidden}
 .research-table tbody tr:nth-child(even){background:#fbf8f0}
 .research-panel .research-table td{display:block;min-width:0;padding:10px;border:0;font-size:13px;overflow-wrap:anywhere;white-space:normal}
 .research-table td::before{content:attr(data-label);display:block;font-size:11px;font-weight:600;color:#677b87;margin-bottom:4px}
 .research-table td.research-time,.research-table td.research-match,.research-table td.empty{grid-column:1/-1}
 .research-table td.research-time{padding-bottom:4px;font-size:12px}
 .research-table td.research-time::before,.research-table td.research-match::before,.research-table td.empty::before{display:none}
 .research-table td.research-match{padding-top:0;padding-bottom:12px;border-bottom:1px solid #e2e8ed}
 .research-match strong{font-size:15px;line-height:1.6}
 .research-panel .research-macau{min-width:0}
 .research-clock{white-space:normal;font-size:11px;line-height:1.6}
 #event-history,.research-event,.research-panel .plain{overflow-wrap:anywhere}
}

@media(max-width:720px){
.research-panel{padding:12px;background:#fffdf8;color:#3e382e}
.research-panel .research-list-caption{font-size:14px;color:#5d625f}
.research-panel .research-table-scroll{max-height:none;overflow:visible}
.research-panel .research-table td{font-size:16px;color:#403b33;padding:12px;line-height:1.65}
.research-table td:before{font-size:13px;color:#626964;line-height:1.5}
.research-panel .research-table td.research-time{font-size:14px;color:#62625d}
.research-panel .research-table td.research-match{font-size:15px}.research-match strong,.research-match strong a{font-size:18px;line-height:1.6}
.research-panel .research-macau{font-size:15px}.research-table td:nth-child(6){font-size:20px;font-weight:700}
.research-filter{gap:10px}.research-filter label{font-size:15px}.research-filter input{font-size:16px;min-height:44px}
.free-table,.free-table tbody{display:block;width:100%;min-width:0}
.free-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.free-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0;border:1px solid #d9cbb4;border-radius:8px;background:#fffdf8;overflow:hidden}
.free-table tbody td{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:12px;border:0;font-size:16px;line-height:1.65;color:#403b33}
.free-table td:before{content:attr(data-label);display:block;font-size:13px;color:#626964;margin-bottom:4px}
.free-table td:first-child,.free-table td:nth-child(2),.free-table td.empty{grid-column:1/-1}
.free-table td:first-child{font-size:14px;padding-bottom:0}.free-table td:nth-child(2){font-size:18px;font-weight:700;color:#24647a;border-bottom:1px solid #e4ddcf}
.free-table td:first-child:before,.free-table td:nth-child(2):before,.free-table td.empty:before{display:none}
.free-table td:nth-child(5){font-size:20px;font-weight:700}
}

/* Consistent desktop result alignment; retain mobile card labels. */
@media(min-width:721px){
 .research-panel .research-table tbody td,.free-section .free-table tbody td{vertical-align:middle}
 .research-panel .research-table th:nth-last-child(-n+4),.research-panel .research-table td:nth-last-child(-n+4),.free-section .free-table th:nth-last-child(-n+4),.free-section .free-table td:nth-last-child(-n+4){text-align:center}
 .research-table .research-result-stage,.free-table .research-result-stage{display:flex;justify-content:center;align-items:baseline;gap:4px;line-height:1.65;margin:0}
}

/* Labels must not displace the centered outcome glyph. */
@media(min-width:721px){
 .research-panel .research-table th:nth-last-child(-n+2),.research-panel .research-table td:nth-last-child(-n+2),.free-section .free-table th:nth-last-child(-n+2),.free-section .free-table td:nth-last-child(-n+2){min-width:10em}
 .research-table .research-result-stage,.free-table .research-result-stage{position:relative;display:block;width:100%;text-align:center;min-height:1.65em}
 .research-table .research-result-stage>span:first-child,.free-table .research-result-stage>span:first-child{position:absolute;left:0;top:0;width:2em;text-align:left}
}

@media(max-width:720px){
 #free-section .table-scroll{overflow:visible;min-width:0}
 #free-section .free-table,#free-section .free-table tbody{display:block;width:100%;min-width:0}
 #free-section .free-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;box-sizing:border-box;gap:0;margin:12px 0}
 #free-section .free-table tbody td{display:block;min-width:0!important;width:auto!important;box-sizing:border-box;text-align:left!important;padding:12px;overflow-wrap:anywhere}
 #free-section .free-table td:nth-child(1){grid-column:1/-1;grid-row:1}
 #free-section .free-table td:nth-child(2){grid-column:1/-1;grid-row:2}
 #free-section .free-table td:nth-child(3){grid-column:1;grid-row:3}
 #free-section .free-table td:nth-child(4){grid-column:2;grid-row:3}
 #free-section .free-table td:nth-child(5){grid-column:1/-1;grid-row:4}
 #free-section .free-table td:nth-child(6){grid-column:1;grid-row:5}
 #free-section .free-table td:nth-child(7){grid-column:2;grid-row:5}
 #free-section .free-table td:nth-child(6)::before{content:'胜平负结果'}
 #free-section .free-table td:nth-child(7)::before{content:'亚盘结果'}
}

@media(max-width:720px){
 #free-section .free-table td:nth-child(2){padding-right:86px;align-self:stretch}
 #free-section .free-table td:nth-child(5){grid-column:2;grid-row:2;justify-self:end;align-self:center;z-index:1;white-space:nowrap;max-width:82px;font-size:20px;padding:12px;text-align:right!important;border:0}
 #free-section .free-table td:nth-child(5)::before{display:none}
 #free-section .free-table td:nth-child(6){grid-row:4}
 #free-section .free-table td:nth-child(7){grid-row:4}
}

/* direction-emphasis-20261121: distinguish recommendations from market data. */
.research-panel .research-table thead th,
#free-section .free-table thead th {
  font-weight: 800;
  line-height: 1.55;
  color: #4a5359;
}
.research-panel .research-table thead th:nth-child(3),
#free-section .free-table thead th:nth-child(3) {
  background: #efc75e;
  color: #4c3508;
  font-weight: 900;
  box-shadow: inset 1px 0 #ddb144, inset -1px 0 #ddb144;
}
.research-panel .research-table tbody td[data-label="初盘方向"],
#free-section .free-table tbody td[data-label="初盘方向"] {
  background: #fff0b3;
  color: #53380a;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
  box-shadow: inset 1px 0 #e4bd59, inset -1px 0 #e4bd59;
}
.research-panel .research-table tbody td[data-label="初盘方向"] a,
#free-section .free-table tbody td[data-label="初盘方向"] a {
  color: #53380a;
  font-weight: 800;
}
@media (max-width: 720px) {
  .research-panel .research-table tbody td[data-label]::before,
  #free-section .free-table tbody td[data-label]::before {
    font-size: 14px;
    font-weight: 800;
  }
  .research-panel .research-table tbody td[data-label="初盘方向"],
  #free-section .free-table tbody td[data-label="初盘方向"] {
    font-size: 19px;
    box-shadow: inset 4px 0 #d4a02b;
  }
  .research-panel .research-table tbody td[data-label="初盘方向"]::before,
  #free-section .free-table tbody td[data-label="初盘方向"]::before {
    color: #67450c;
    font-weight: 900;
  }
}

/* direction-pair-badges-20261121 */
.research-direction-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  white-space: nowrap;
}
.research-direction-pair > .research-direction-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 24px;
  height: 30px;
  padding: 0 3px;
  border: 1px solid #c59a38;
  border-radius: 5px;
  background: #fff9df;
  color: #53380a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* Compact membership prompts: keep recommendation emphasis for actual picks. */
.research-panel .research-table td:has(> .research-member-prompt){text-align:center;}
.research-panel .research-table td > a.research-member-prompt{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;padding:5px 7px;border:1px solid #cbb572;border-radius:6px;background:#fff9e7;color:#6b552b!important;font-size:14px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:0!important;white-space:nowrap!important;word-break:keep-all!important;text-decoration:none;vertical-align:middle;}
.research-panel .research-table td > a.research-member-prompt:hover{background:#fff2c6;border-color:#aa8430;}
@media(max-width:640px){.research-panel .research-table td > a.research-member-prompt{font-size:14px!important;padding:5px 8px;}}

/* Stable result alignment, shared desktop and mobile contract. */
.research-panel .research-table td[data-label="临场锁定"],.research-panel .research-table td[data-label="完场比分"],.research-panel .research-table td[data-label="胜平负结果"],.research-panel .research-table td[data-label="亚盘结果"]{text-align:center;vertical-align:middle;white-space:nowrap;}
.research-table .research-result-stage,.free-table .research-result-stage{position:relative;display:block!important;text-align:center;width:100%;min-height:1.65em;white-space:nowrap;}
.research-table .research-result-stage>span:first-child,.free-table .research-result-stage>span:first-child{position:absolute;left:calc(50% - 4em)!important;top:0;width:2em;text-align:right;white-space:nowrap;}
@media(max-width:640px){.research-panel .research-table td[data-label="临场锁定"],.research-panel .research-table td[data-label="完场比分"],.research-panel .research-table td[data-label="胜平负结果"],.research-panel .research-table td[data-label="亚盘结果"]{white-space:normal;}}

/* Reserve enough room for pending score labels on small free cards. */
@media(max-width:640px){
.free-table td[data-label="赛事 / 对阵"]{padding-right:114px!important;white-space:normal!important;overflow-wrap:anywhere;}
.free-table td[data-label="完场比分"]{width:110px!important;min-width:110px!important;max-width:none!important;font-size:16px!important;padding-left:4px!important;padding-right:4px!important;white-space:nowrap!important;text-align:center;}
}
