/* Hold'em refinements. Original PNGs and default card geometry are preserved. */
.poker-page .seat.pv-table-bet .seat-bet{visibility:hidden}
.poker-page .pk-blind-fallback{font-size:9px;line-height:12px;flex:none;color:#a8ccfa}
.poker-page .pk-bb{color:#eed99a}
.poker-page .pv-sb-placed .pk-sb,.poker-page .pv-bb-placed .pk-bb{display:none}
.poker-page .seat[data-player-state="allin"] .seat-info{border-color:#ef8d79;box-shadow:none}
.poker-page .seat[data-player-state="allin"] .seat-allin{color:#efab9d}
.poker-page .seat.active .seat-info{border-color:#e8c468;box-shadow:0 0 0 1px #e8c46866}
.poker-page .pk-seat-avatar[data-pv-tier]{box-shadow:0 0 0 1px #9fb4bb66}
.poker-page .seat.active .pk-seat-avatar[data-pv-tier]{box-shadow:0 0 0 1px #e8c46899}
.poker-page .pk-log-filters{display:flex;gap:12px;flex-wrap:wrap;flex:none;margin-bottom:8px;font-size:12px;color:#cfdae5}
.poker-page .pk-log-filters label{display:flex;align-items:center;gap:5px;min-height:44px;cursor:pointer}
.poker-page .pk-log-filters input{width:18px;height:18px;accent-color:#e8c468}
.poker-page .pk-log-quiet{color:#a7bac4;margin:4px 0}
.poker-page .pk-log-quiet summary{min-height:36px;display:flex;align-items:center;cursor:pointer;font-size:12px}
.poker-page button[aria-busy="true"]{opacity:1!important;color:#fff;border-style:dashed}
.poker-page .pv-cos-preview{--felt:#1c6e3c;display:flex;align-items:center;justify-content:center;gap:14px;padding:16px;margin:10px 0;border:5px solid #6b4622;border-radius:50%;background:radial-gradient(ellipse at center,#ffffff0b,transparent 70%),var(--felt);color:#edf4eb;font-size:12px;min-height:70px}
.poker-page .pv-cos-preview[data-felt="blue"]{--felt:#1d4f8a}
.poker-page .pv-cos-preview[data-felt="wine"]{--felt:#7a2332}
.poker-page .pv-cos-preview[data-felt="black"]{--felt:#26241f}
.poker-page .pv-cos-preview[data-felt="violet"]{--felt:#4a2f7a}
.poker-page .pv-back-preview{display:inline-block;flex:none;width:28px;height:40px;border-radius:3px;background:url('assets/cards/guandan/back.png') center/100% 100% no-repeat}
.poker-page .pv-back-preview[data-back="red"]{filter:hue-rotate(150deg) saturate(1.1)}
.poker-page .pv-back-preview[data-back="green"]{filter:hue-rotate(-78deg) saturate(1.05)}
.poker-page .pv-back-preview[data-back="gold"]{filter:hue-rotate(-170deg) saturate(1.35) brightness(1.1)}
.poker-page .pv-back-preview[data-back="black"]{filter:grayscale(1) brightness(.5) contrast(1.15)}
.poker-page #pvResetCosmetics{min-height:44px;font-size:12px}
.poker-page .pv-cos-chip{min-height:82px}
@media(min-width:721px) and (min-height:501px){
 .poker-page.pk-large-cards #community .card{width:58px;height:80px}
 .poker-page.pk-large-cards .seat.self .seat-cards .card{width:52px;height:74px}
}
@media(max-width:720px), (max-height:500px) and (max-width:1100px){
 .poker-page #heroStack{font-weight:800}
 .poker-page #btnCheckCall{font-weight:800}
 .poker-page .pre-btn.on{color:#fff0b0;border-color:#e8c468}
 .poker-page.pk-large-cards:not(.pk-keyboard) #heroCards .card{width:48px;height:68px}
 .poker-page.pk-large-cards:not(.pk-keyboard) #heroPanel{min-height:68px}
 .poker-page.pk-large-cards:not(.pk-keyboard) #community .card{width:clamp(36px,11.2vw,46px);height:clamp(51px,15.9vw,65px)}
}
@media(max-width:360px){
 .poker-page .topbar,.poker-page .room-screen:not(.pk-can-dissolve) .topbar{grid-template-columns:minmax(36px,1fr) repeat(6,44px);gap:0;padding:2px;min-height:50px}
 .poker-page .room-screen:not(.pk-can-dissolve) .topbar{grid-template-columns:minmax(36px,1fr) repeat(5,44px)}
 .poker-page .topbar-info{gap:1px 0;font-size:10px}
 .poker-page .room-code{font-size:12px}
 .poker-page .pk-room-mode,.poker-page .blind-info{font-size:10px}
 .poker-page .pk-top-actions button,.poker-page .pk-room-actions button{grid-row:1;width:44px;min-width:44px;padding:2px 0}
 .poker-page #btnVoiceMic{grid-column:2}.poker-page #btnVoiceSpk{grid-column:3}.poker-page #btnChat{grid-column:4}.poker-page #btnCopyRoom{grid-column:5}.poker-page #btnTools{grid-column:6}.poker-page #btnDissolve{grid-column:7}
 .poker-page .pk-room-actions .pk-tool-label,.poker-page .pk-top-actions .pk-tool-label{font-size:10px}
 .poker-page.pk-large-cards:not(.pk-keyboard) #heroCards .card{width:40px;height:56px}
 .poker-page.pk-large-cards:not(.pk-keyboard) #heroPanel{min-height:56px}
}
@media(max-height:700px) and (min-width:361px) and (max-width:720px), (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .poker-page.pk-large-cards:not(.pk-keyboard) #heroCards .card{width:40px;height:56px}
 .poker-page.pk-large-cards:not(.pk-keyboard) #heroPanel{min-height:56px}
 .poker-page.pk-large-cards:not(.pk-keyboard) #community .card{width:42px;height:59px}
}
/* Preserve keyboard adaptations, and never enlarge opponents' purchased artwork. */

.poker-page .toast[data-toast-kind="preaction"]{top:calc(var(--pk-view-top,0px) + var(--pk-top-height,52px) + 8px);max-width:calc(100vw - 24px);padding:5px 10px;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:8px;background:#263b34;color:#edf4eb;box-shadow:0 2px 8px #0006}

/* Reserve the full odds label, including its info mark, before sizing the bar. */
.poker-page #oddsHelp{width:auto;flex:none;white-space:nowrap}
.poker-page #oddsRow .strength-bar-wrap{min-width:0}

/* 默认放大（沿用「大牌阅读」里已经测过的尺寸；对手的牌不放大）：
   · 电脑：牌桌随窗口高度拉高（原来最高 560px，1080 高的屏幕下面空一大块），公共牌和自己的牌放大一档；
   · 手机竖屏（高度够）：公共牌放大一档（牌桌下半部分原来是空的）。小屏幕、横屏、键盘弹出都保持原来的紧凑尺寸。 */
@media(min-width:721px) and (min-height:501px){
 .poker-page .pk-playing .table{height:clamp(440px,62vh,680px)}
 .poker-page #community .card{width:58px;height:80px}
 .poker-page .seat.self .seat-cards .card{width:52px;height:74px}
}
@media(max-width:720px) and (min-height:701px){
 .poker-page:not(.pk-keyboard) #community .card{width:clamp(36px,11.2vw,46px);height:clamp(51px,15.9vw,65px)}
}
