/* ab-sports — 2026-11-19 에이에이 AA BET 화면 덧칠 */
/* 해외형·라이브(sbo-*) 덧칠은 따로 둔 파일에서 불러온다 */
@import url('/aabet/ab-sports-ovs.css');

/* ── 국내형 표(크로스·스페셜·실시간) : AbFixtureCard ── */
/* 레퍼런스는 el-table 이 열 너비를 계산해 width 를 박아 넣는다. 우리는 직접 그린 <table> 이라 100% + fixed 로 맞춘다 */
.ab-fixture-table .el-table__body { width: 100%; table-layout: fixed; }
.ab-fixture-table td.el-table__cell { padding: 7px 0; }
.sm\:layout .ab-fixture-table td.el-table__cell { padding: 5px 0; }
@media (max-width: 991.98px) {
    .ab-fixture-table td.el-table__cell { padding: 5px 0; }
}
.ab-fixture-table .el-table__row > td.el-table__cell > .cell { padding-left: 0; padding-right: 0; }
/* 배팅 불가(마감·1 이하 배당) 칸 */
.tmt-game-multi .tmt-btn-bet.ab-off { opacity: .45; cursor: not-allowed; pointer-events: none; }
.tmt-game-multi .tmt-btn-bet .market-lock-slot { margin-right: 3px; opacity: .85; }

/* ── 배팅카트(BetCart) : 레퍼런스 BET SLIP ── */
/* 레퍼런스 항목(SportBetSlipItem)은 받아 둔 소스에 없어 같은 색감으로 맞춘다 */
/* # 확인요망 - 2026-11-20 게임(미니게임·BET365) 슬립은 레퍼런스처럼 바탕 없음 → 스포츠 슬립에만 */
.ab-betcart:not(.ab-betcart--game) .tmt-bet-slip--item-container { padding: 5px 5px 0; background: #22222a; }
/* # 확인요망 - 2026-11-19 슬립 칸 색·굵기는 레퍼런스 CSS(.tmt-bet-slip--item 굵게 / --header--match-time 빨강 11px /
   --bet-detail 빨강(danger) / --bet-detail--market 흰색) 그대로 — 예전 노랑 배당·주황 마켓·회색 글 덧칠은 지웠다 */
.ab-betcart .tmt-bet-slip--item.ab-slip-item { background: #1c1c22 !important; border-radius: 5px; margin-bottom: 5px; }
.ab-betcart .ab-slip-item .el-card__body { padding: 0; }
.ab-betcart .ab-slip-item__match { word-break: keep-all; }
.ab-betcart .ab-slip-item .tmt-bet-slip--item--header--match-time { margin-left: 4px; }
.ab-betcart .ab-slip-item__del { background: none; border: 0; cursor: pointer; font-size: 13px; line-height: 16px; }
.ab-betcart .ab-slip-item__oddz { flex-shrink: 0; margin-left: 8px; }
/* 금액칸: 레퍼런스는 el-input(tmt-el-input-number). 우리는 같은 클래스의 평범한 input + cleave */
.ab-betcart .ab-bet-cash-input.el-input { display: block; }

/* 휴대폰 가운데 칸 아래 작은 마켓 이름: 레퍼런스는 줄여 쓴 이름이라 한 줄. 우리는 긴 이름(1세트 핸디캡)도 있어 한 줄로 자른다 */
.tmt-game-multi .tmt-btn-bet.no .market-name { white-space: nowrap; overflow: hidden; max-width: 100%; letter-spacing: -.3px; font-size: 8px; font-weight: 500; line-height: 1.1; color: #8c8d96; }
/* 실시간 머리줄 오른쪽 LIVE 표시 */
.tmt-league-row .ab-live-tag { align-items: center; color: #ff2226; display: inline-flex; flex-shrink: 0; font-size: 11px; font-weight: 700; gap: 5px; letter-spacing: .5px; margin-left: auto; }
.tmt-league-row .ab-live-tag .sb-mode-tabs__live-dot { margin: 0; }
/* 불러오는 중 아이콘 */
.no-data .ab-no-data-loading { color: #8c8d96; font-size: 28px; margin-bottom: 10px; }

/* ── 페이지 번호(b-pagination-nav) : 레퍼런스 el-pagination is-background 모양 ── */
.ab-sport-paging .pagination { gap: 5px; margin: 0; }
.ab-sport-paging .page-item .page-link { background: #232732; border: 0; border-radius: 3px; color: #c1c1c1; font-size: 13px; font-weight: 700; min-width: 30px; height: 28px; line-height: 28px; padding: 0 6px; text-align: center; box-shadow: none; }
.ab-sport-paging .page-item.active .page-link { background: #293042; color: #fff; outline: 1px solid #f90; }
.ab-sport-paging .page-item.disabled .page-link { opacity: .45; }
.ab-sport-paging .page-item .page-link:hover { color: #fff; background: #2d3448; }

/* # 확인요망 - 2026-11-19 해외형 목록 아래 "더보기"(레퍼런스 984x38) */
.ab-sbo-more.el-button--small { height: 38px; }
/* # 확인요망 - 2026-11-19 규정 창: 레퍼런스는 6vh(1267 높이에서 76px). 묶음 CSS 의 다른 페이지용 .el-dialog{margin-top:5vh!important} 가 섞여 들어와 되돌린다 */
.el-dialog.sbo-provision-dialog { margin-top: 6vh !important; }

/* # 확인요망 - 2026-11-19 해외형 묶음 머리줄: 320폭에서 긴 리그 이름이 남은 시간 칸을 12px 밖으로 밀어서, 리그 쪽만 줄어들고 말줄임(남은 시간은 레퍼런스처럼 flex-shrink:0) */
.sbo__group-head > span:first-child { min-width: 0; overflow: hidden; margin-right: 6px; }
.sbo__group-head > span:first-child .league { overflow: hidden; }
.sbo__group-head > span:first-child .league > span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* # 확인요망 - 2026-11-25 00:13:05 전체 검수 320~360px: 스페셜 가운데 칸(폭 37px)에서 "1세트 오버언더" 끝 글자가 잘렸음
   → 430·600px 에서도 같은 일이 있어 폭 제한 없이: 칸에 안 들어갈 때만 낱말 단위로 두 줄(1세트 / 오버언더), 들어가면 한 줄 그대로 */
.tmt-game-multi .tmt-btn-bet.no .market-name {
    white-space: normal;
    word-break: keep-all;
    text-align: center;
}

