
/* G167 W087 lobby/tournament/profile refinements */
.br137-profile{position:relative!important}.br162-profile-actions{position:absolute!important;top:14px!important;right:14px!important;z-index:4!important;display:flex!important;gap:6px!important}.br162-profile-actions .br137-myinfo,.br162-profile-actions .br162-login{min-width:72px!important;text-align:center!important;justify-content:center!important}.br162-profile-actions .br137-myinfo{display:flex!important;align-items:center!important;justify-content:center!important}
.service .service-cards article b{font-size:17px!important;line-height:1.1!important}.service .service-cards article{padding:7px 5px!important}
.service h3{font-size:14px!important;margin:6px 0 3px!important}.service p{font-size:12px!important;line-height:1.45!important;font-weight:700!important}.service #nextEvent{font-size:12px!important}.service .countdown{font-size:11px!important}.service ul{display:flex!important;gap:16px!important;justify-content:center!important;list-style:none!important;padding:4px 0!important;margin:4px 0!important}.service ul li{font-size:13px!important;font-weight:900!important;white-space:nowrap!important}.service>small{font-size:10.5px!important;line-height:1.4!important}.service #tourStatus{font-size:11px!important;font-weight:700!important}
.tour-rule b{font-size:20px!important;line-height:1.35!important;font-weight:900!important}.tour-rule span{font-size:18px!important;line-height:1.4!important;font-weight:800!important}.tour-rule{gap:7px!important}
.jack.jr small{font-size:11px!important}.jack.jr b{font-size:22px!important}

/* G168 W088 compact profile + chat/tournament fixes */
#customerCenter,#liveChatButton{pointer-events:auto!important;cursor:pointer!important;opacity:1!important;position:relative!important;z-index:12!important}
#customerCenter:disabled,#liveChatButton:disabled{opacity:1!important;cursor:pointer!important}
#modal.br168-profile-compact{padding:0!important}
#modal.br168-profile-compact #modalForm{width:min(760px,calc(100vw - 40px))!important;max-width:760px!important;max-height:78vh!important;min-height:0!important}
#modal.br168-profile-compact #modalBody{max-height:calc(78vh - 96px)!important;overflow:auto!important;padding:10px!important}
#modal.br168-profile-compact .br134-profile{font-size:12px!important;line-height:1.35!important}
#modal.br168-profile-compact .br134-profile-identity h3{font-size:17px!important;margin:3px 0!important}
#modal.br168-profile-compact .br134-profile-dates{gap:6px!important}
#modal.br168-profile-compact table{font-size:11px!important}
#modal.br168-profile-compact th,#modal.br168-profile-compact td{padding:5px 6px!important}
#modal.br168-profile-compact .br168-profile-edit-group{margin:0 0 8px;padding:7px;border:1px solid #2a6075;border-radius:8px;background:#071a26}
#modal.br168-profile-compact .br168-profile-edit-group summary{cursor:pointer;color:#73e9ff;font-weight:900;font-size:13px;margin-bottom:6px}
#modal.br168-profile-compact .br168-profile-edit-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#modal.br168-profile-compact .br168-profile-edit-actions button{min-height:34px!important;padding:5px 7px!important;font-size:11px!important}
.service .service-cards article b{font-size:14px!important;line-height:1.05!important}

/* G169 W089 lobby / matching-room fixes */
#roomVideo,#gameBgVideo,#roomStill,#gameStill{background:#061018!important;object-fit:cover!important}
.room-card p.room-stat-only{margin-top:4px!important;font-size:20px!important;line-height:1.18!important;font-weight:800!important;color:#f4faff!important}
.room-card p.room-stat-only .room-count{color:#ffb24f!important;font-weight:900!important;font-size:1.08em!important}
.room-card button{position:relative!important;z-index:6!important;pointer-events:auto!important;touch-action:manipulation!important}
.tour-rule{overflow:hidden!important;padding-top:10px!important;padding-bottom:10px!important}
.tour-rule b{font-size:11px!important;line-height:1.25!important;font-weight:900!important;display:block!important}
.tour-rule span{font-size:10px!important;line-height:1.3!important;font-weight:800!important}
.tour-rule .tour-c1,.tour-rule .tour-c2,.tour-rule .tour-c3,.tour-rule .tour-c4,.tour-rule .tour-week,.tour-rule .tour-time{display:inline-block!important;margin-right:4px!important}
.service ul li{font-size:15px!important;font-weight:900!important;letter-spacing:-.2px!important}
.service ul li::marker{color:#7fead4!important}
.service .schedule-one,.service .schedule-two,.service .schedule-three{color:#7fead4!important}
.service .schedule-one::after,.service .schedule-two::after,.service .schedule-three::after{color:#ffb356!important}
.service .schedule-one,.service .schedule-two,.service .schedule-three{display:flex!important;justify-content:space-between!important;gap:10px!important}
.service .schedule-one,.service .schedule-two,.service .schedule-three{position:relative!important}
.service .schedule-one::after{content:'10:00';font-weight:900!important}
.service .schedule-two::after{content:'16:00';font-weight:900!important}
.service .schedule-three::after{content:'21:00';font-weight:900!important}
.service .schedule-one,.service .schedule-two,.service .schedule-three{list-style:none!important}
.service .schedule-one{padding-right:0!important}.service .schedule-two{padding-right:0!important}.service .schedule-three{padding-right:0!important}
.service .schedule-one,.service .schedule-two,.service .schedule-three{font-size:0!important}
.service .schedule-one{--label:'1회차'}.service .schedule-two{--label:'2회차'}.service .schedule-three{--label:'3회차'}
.service .schedule-one::before,.service .schedule-two::before,.service .schedule-three::before{content:var(--label);font-size:15px!important;font-weight:900!important;color:#7fead4!important}
#customerCenter,#liveChatButton,#inquiryButton{pointer-events:auto!important;cursor:pointer!important;position:relative!important;z-index:12!important}

/* G171 W091 tournament launch + AI betting rollout */
#lobby .profile.br137-profile{transform:translateY(-62px)!important}
.br170-tour-rule{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(210px,.85fr)!important;gap:14px!important;align-items:center!important;padding:11px 15px!important;overflow:hidden!important}
.br170-tour-left{text-align:left!important;min-width:0!important}
.br170-tour-left>b{display:block!important;margin:0 0 8px!important;font-size:15px!important;line-height:1.35!important;font-weight:900!important;white-space:normal!important}
.br170-tour-left .tour-c1{color:#fff3a0!important}.br170-tour-left .tour-c2{color:#ffbd4f!important}.br170-tour-left .tour-c3{color:#79e9ff!important}
.br170-tour-times{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;white-space:nowrap!important}
.br170-tour-times>span{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;font-size:12px!important}
.br170-tour-times em{font-style:normal!important;color:#71efcf!important;font-weight:900!important}.br170-tour-times strong{color:#ffad45!important;font-size:13px!important;font-weight:900!important}
.br170-tour-right{min-width:0!important;display:grid!important;gap:5px!important;text-align:left!important;border-left:1px solid #3a7085!important;padding-left:14px!important}
.br170-tour-right b{color:#ffd365!important;font-size:12px!important;line-height:1.35!important}.br170-tour-right span{color:#89f0d2!important;font-size:12px!important;font-weight:900!important}.br170-tour-right small{color:#cde9f4!important;font-size:10.5px!important;line-height:1.35!important}
.service .schedule-one::after{content:'10:00'!important}.service .schedule-two::after{content:'13:00'!important}.service .schedule-three::after{content:'20:00'!important}
#tourGrid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important}
#tourGrid .tour-card{min-width:0!important;padding-left:7px!important;padding-right:7px!important}
#tourGrid .tour-card h2{font-size:17px!important}#tourGrid .tour-card p{font-size:10px!important}#tourGrid .tour-card b{font-size:12px!important}#tourGrid .tour-card small{font-size:9.5px!important;line-height:1.25!important}
#tourGrid .tour-card button{font-size:11px!important;padding:7px 5px!important}
.br170-prize{display:block!important;color:#ffcf62!important;font-size:11px!important;margin:3px 0!important}
#modal.br170-tournament-dialog #modalForm{width:min(850px,calc(100vw - 40px))!important;max-width:850px!important}
#modal.br170-tournament-dialog #modalBody{max-height:68vh!important;overflow:auto!important;padding:12px!important}
.br170-tour-modal{display:grid!important;gap:10px!important}.br170-tour-head{padding:12px 14px!important;border:1px solid #2b667d!important;border-radius:10px!important;background:#071b29!important}.br170-tour-head h3{margin:0 0 5px!important;color:#6ff1d0!important;font-size:20px!important}.br170-tour-head>b{color:#ffcb57!important;font-size:18px!important}.br170-tour-head p{margin:7px 0 3px!important;font-size:12px!important}.br170-tour-head small{color:#9ddcf4!important;font-size:11px!important}
.br170-event{padding:11px 13px!important;border:1px solid #285c72!important;border-radius:10px!important;background:linear-gradient(180deg,#081b28,#07141e)!important}.br170-event-title{display:flex!important;justify-content:space-between!important;gap:10px!important;align-items:center!important}.br170-event-title strong{font-size:14px!important;color:#e8f8ff!important}.br170-event-title b{font-size:12px!important;color:#70efce!important}.br170-event>p{font-size:11px!important;color:#a9d6e8!important;margin:6px 0!important}.br170-winners{margin:7px 0!important;padding:8px 10px 8px 28px!important;background:#061019!important;border-radius:7px!important}.br170-winners li{font-size:12px!important;line-height:1.55!important;color:#ffe083!important;font-weight:800!important}.br170-event-actions{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:8px!important}.br170-event-actions button{min-height:34px!important;padding:6px 11px!important;font-size:11px!important}.br170-claim{background:#f0bc36!important;color:#1b1706!important;border-color:#ffd96b!important;font-weight:900!important}
.br170-celebrate{animation:br170Celebrate 1s ease-in-out 3!important}@keyframes br170Celebrate{0%,100%{box-shadow:0 0 0 #ffd65a00}50%{box-shadow:0 0 28px #ffd65aaa,0 0 8px #55efc4 inset}}
@media(max-width:1180px){#lobby .profile.br137-profile{transform:translateY(-52px)!important}.br170-tour-rule{grid-template-columns:1fr!important;gap:5px!important}.br170-tour-right{border-left:0!important;border-top:1px solid #3a7085!important;padding-left:0!important;padding-top:5px!important}#tourGrid{gap:4px!important}#tourGrid .tour-card h2{font-size:14px!important}#tourGrid .tour-card button{font-size:9.5px!important}}

/* G173 W093 compact continuous-test tournament popup */
#modal.br170-tournament-dialog #modalForm{width:min(620px,calc(100vw - 46px))!important;max-width:620px!important;max-height:74vh!important}
#modal.br170-tournament-dialog #modalBody{max-height:54vh!important;overflow:auto!important;padding:9px!important}
.br170-tour-modal{gap:7px!important}.br170-tour-head{padding:9px 11px!important}.br170-tour-head h3{font-size:17px!important}.br170-tour-head>b{font-size:15px!important}.br170-tour-head p{font-size:10.5px!important;line-height:1.35!important}.br170-tour-head small{font-size:9.5px!important}.br170-event{padding:8px 10px!important}.br170-event-title strong{font-size:12px!important}.br170-event-title b{font-size:10px!important}.br170-event>p{font-size:10px!important;margin:4px 0!important}.br170-winners{margin:5px 0!important;padding:6px 8px 6px 24px!important}.br170-winners li{font-size:10.5px!important}.br170-event-actions{margin-top:5px!important}.br170-event-actions button{min-height:30px!important;font-size:10px!important;padding:5px 9px!important}

/* G174 W094 isolated free-seed tournament gameplay */
.center-frame{position:relative!important}
.br174-tour-hud{position:absolute!important;top:10px!important;left:50%!important;transform:translateX(-50%)!important;z-index:28!important;min-width:360px!important;display:grid!important;grid-template-columns:auto auto!important;grid-template-areas:'label round' 'prize seed'!important;gap:3px 18px!important;align-items:center!important;padding:8px 14px!important;border:1px solid #ffcc59!important;border-radius:10px!important;background:linear-gradient(180deg,rgba(6,19,32,.94),rgba(4,11,20,.92))!important;box-shadow:0 0 24px #ffc94b3d,0 12px 28px #0009!important;pointer-events:none!important}
.br174-tour-hud>small{grid-area:label;color:#77efd4!important;font-size:10px!important;font-weight:900!important;letter-spacing:1px!important}.br174-tour-hud>b{grid-area:round;color:#fff!important;font-size:18px!important;text-align:right!important}.br174-tour-hud>strong{grid-area:prize;color:#ffd058!important;font-size:15px!important}.br174-tour-hud>span{grid-area:seed;color:#7de9ff!important;font-size:13px!important;text-align:right!important;font-weight:900!important}
.br174-tour-finish{position:absolute!important;inset:0!important;z-index:40!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:radial-gradient(circle at center,rgba(2,20,34,.82),rgba(0,6,13,.96))!important;opacity:0!important;pointer-events:none!important;transition:opacity .35s ease!important}.br174-tour-finish.show{opacity:1!important}.br174-tour-finish>strong{font-size:42px!important;line-height:1.05!important;color:#ffd05c!important;text-shadow:0 0 26px #ffc84e88,0 6px 24px #000!important}.br174-tour-finish>span{font-size:19px!important;color:#84f0d3!important;font-weight:900!important}
#modal.br174-tour-result-dialog #modalForm{width:min(880px,calc(100vw - 46px))!important;max-width:880px!important}#modal.br174-tour-result-dialog #modalBody{max-height:62vh!important;overflow:auto!important}.br174-result-box{display:grid!important;gap:12px!important}.br174-result-box>h2{margin:0!important;text-align:center!important;color:#ffd05d!important;font-size:28px!important}.br174-result-box>p{text-align:center!important;color:#83efd2!important;font-weight:900!important;font-size:14px!important;margin:0!important}.br174-result-box table{width:100%!important;border-collapse:collapse!important;background:#06141f!important;border:1px solid #2b6177!important}.br174-result-box th,.br174-result-box td{padding:10px 8px!important;text-align:center!important;border-bottom:1px solid #234c60!important;font-size:13px!important}.br174-result-box th{color:#83dcff!important;background:#0b2638!important;font-weight:900!important}.br174-result-box td:nth-child(1){color:#ffd059!important;font-weight:900!important}.br174-result-box td:nth-child(2){color:#fff!important;font-weight:900!important}.br174-result-box .positive{color:#5cf0b8!important}.br174-result-box .negative{color:#ff7288!important}.br174-result-claim{justify-self:center!important;min-width:240px!important;min-height:44px!important;background:#efbd3d!important;color:#181304!important;border:1px solid #ffdf77!important;border-radius:9px!important;font-weight:900!important;font-size:15px!important}
#modal.br170-tournament-dialog .br170-tour-head p{color:#d9f5ff!important}.br170-tour-head p::first-line{font-weight:900!important}
@media(max-height:760px){.br174-tour-hud{top:6px!important;min-width:320px!important;padding:6px 10px!important}.br174-tour-hud>b{font-size:15px!important}.br174-tour-hud>strong{font-size:13px!important}.br174-tour-finish>strong{font-size:34px!important}.br174-tour-finish>span{font-size:16px!important}.br174-result-box th,.br174-result-box td{padding:7px 5px!important;font-size:11px!important}}


/* G176 W096 tournament round cells */
.br176-game-rounds{display:grid;grid-template-columns:repeat(10,minmax(48px,1fr));gap:4px;margin:8px 0;overflow:auto}.br176-game-round{min-width:48px;border:1px solid #28516b;border-radius:6px;padding:5px 3px;text-align:center;background:#071b29}.br176-game-round b,.br176-game-round small,.br176-game-round em{display:block;font-style:normal}.br176-game-round b{font-size:10px;color:#7fe5ff}.br176-game-round small{font-size:8px;color:#b9d4df}.br176-game-round em{font-size:9px}.br176-game-round.done{border-color:#4ed2a1}.br176-game-round.done em{color:#65e8b6}.br176-game-round.live{border-color:#ffc45a;box-shadow:0 0 10px #ffba3033}.br176-game-round.live em{color:#ffc45a}.br176-winner-button{width:100%;margin:6px 0;color:#ffd56a;border-color:#c89d37;background:#261d08}.br170-tournament-dialog #modalForm{max-width:720px!important;width:min(720px,82vw)!important}

/* G177 W097 tournament entry only */
.br177-tour-enter-top{width:100%!important;min-height:42px!important;margin:2px 0 7px!important;border:1px solid #58e7bd!important;border-radius:8px!important;background:linear-gradient(180deg,#0b5547,#083d36)!important;color:#eafff8!important;font-weight:900!important;font-size:13px!important;box-shadow:0 0 14px #47e1b033!important;cursor:pointer!important}
.br177-tour-enter-top:disabled{opacity:.6!important}.br170-event-actions button{pointer-events:auto!important;touch-action:manipulation!important}

/* G178 W098: readable tournament dialogs on desktop without horizontal scrolling */
#modal.br174-tour-result-dialog #modalForm,#modal.br170-tournament-dialog #modalForm{width:min(1160px,calc(100vw - 24px))!important;max-width:none!important;max-height:calc(100vh - 20px)!important;box-sizing:border-box!important}
#modal.br174-tour-result-dialog #modalBody,#modal.br170-tournament-dialog #modalBody{max-height:calc(100vh - 105px)!important;overflow-x:hidden!important;padding:9px 12px!important}
.br174-result-box{gap:5px!important}.br174-result-box>h2{font-size:clamp(18px,2vw,26px)!important}.br174-result-box>p{font-size:13px!important}.br174-result-box table{table-layout:fixed!important;min-width:0!important}.br174-result-box th,.br174-result-box td{padding:6px 5px!important;font-size:clamp(11px,1vw,14px)!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}.br174-result-claim{min-height:38px!important}
.br170-tour-modal{gap:5px!important}.br170-tour-head{padding:7px 10px!important}.br170-event{padding:7px 10px!important}.br176-game-rounds{grid-template-columns:repeat(auto-fit,minmax(64px,1fr))!important;overflow:visible!important}.br176-game-round{min-width:0!important}
@media(max-width:760px){#modal.br174-tour-result-dialog #modalBody,#modal.br170-tournament-dialog #modalBody{overflow-y:auto!important}.br174-result-box th,.br174-result-box td{font-size:10px!important;padding:5px 2px!important}}

/* G179 W099: tournament summary and separate vertical record table only */
#modal.br170-tournament-dialog #modalForm{width:min(1040px,calc(100vw - 32px))!important;max-width:1040px!important}
#modal.br170-tournament-dialog #modalBody{overflow-x:hidden!important;overflow-y:auto!important}
.br179-tour-winners,.br179-tour-history table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;margin:5px 0!important}
.br179-tour-winners th,.br179-tour-winners td,.br179-tour-history th,.br179-tour-history td{font-size:12px!important;line-height:1.25!important;padding:5px 8px!important;border-bottom:1px solid #28516b!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
.br179-tour-winners th,.br179-tour-history th{color:#8bdfff!important;background:#102a3d!important}.br179-tour-winners td:nth-child(3){color:#ffd46f!important;font-weight:800!important}
.br170-event .br170-event-actions{justify-content:flex-end!important;margin-top:4px!important}.br170-event .br170-event-actions button{min-height:30px!important;font-size:12px!important}
#modal.br179-tour-history-dialog #modalForm{width:min(820px,calc(100vw - 32px))!important;max-width:820px!important}#modal.br179-tour-history-dialog #modalBody{max-height:calc(100vh - 130px)!important;overflow-x:hidden!important;overflow-y:auto!important}

/* G181 W101: only tournament winner/record tables, no unrelated dialogs */
#modal.br170-tournament-dialog .br179-tour-winners{max-width:560px!important;width:100%!important;margin:5px 0!important}
#modal.br170-tournament-dialog .br179-tour-winners th,#modal.br170-tournament-dialog .br179-tour-winners td{padding:4px 8px!important;font-size:12px!important}
#modal.br179-tour-history-dialog #modalForm{width:min(700px,calc(100vw - 28px))!important;max-width:700px!important}
#modal.br179-tour-history-dialog .br179-tour-history table{max-width:620px!important;width:100%!important}
#modal.br179-tour-history-dialog .br179-tour-history th,#modal.br179-tour-history-dialog .br179-tour-history td{padding:5px 8px!important;font-size:12px!important}


/* G183 W103 */
#modal.br170-tournament-dialog #modalForm,#modal.br179-tour-history-dialog #modalForm,#modal.br174-tour-result-dialog #modalForm{width:min(1260px,calc(100vw - 20px))!important;max-width:1260px!important;max-height:calc(100vh - 16px)!important;box-sizing:border-box!important}
#modal.br170-tournament-dialog #modalBody,#modal.br179-tour-history-dialog #modalBody,#modal.br174-tour-result-dialog #modalBody{max-height:calc(100vh - 110px)!important;overflow-x:hidden!important;overflow-y:auto!important;padding:10px 12px!important}
#modal.br170-tournament-dialog table,#modal.br179-tour-history-dialog table,#modal.br174-tour-result-dialog table{width:100%!important;table-layout:fixed!important}
#modal.br170-tournament-dialog th,#modal.br170-tournament-dialog td,#modal.br179-tour-history-dialog th,#modal.br179-tour-history-dialog td,#modal.br174-tour-result-dialog th,#modal.br174-tour-result-dialog td{word-break:break-word!important;white-space:normal!important}
.br170-event,.br179-tour-history,.br174-result-box{overflow:hidden!important}.br170-tour-modal{gap:10px!important}.br170-event-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.br177-tour-enter-inline{background:#17b8c9!important;color:#02141c!important;border-color:#7aefff!important;font-weight:900!important}.br183-inline-title{margin:8px 0 0!important;color:#9ce7ff!important;font-size:18px!important}.br183-prev-event h3{margin:0 0 8px!important;color:#e4f8ff!important}
