/* Common board controls: independent of icon fonts and legacy white buttons. */
#bo_list .btn_bo_user,#bo_v .btn_bo_user{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
#bo_list .btn_bo_user>li,#bo_v .btn_bo_user>li{float:none!important;margin:0!important;background:transparent!important}
#bo_list .btn_bo_user>li>a.btn,#bo_list .btn_bo_user>li>button.btn,#bo_v .btn_bo_user>li>a.btn,#bo_v .btn_bo_user>li>button.btn{display:inline-flex!important;align-items:center;justify-content:center;width:36px!important;height:36px!important;min-width:36px;padding:0!important;line-height:1!important;border:1px solid #424039!important;border-radius:8px!important;background:#292821!important;color:#f4be24!important;box-shadow:none!important}
#bo_list .btn_bo_user>li>a.btn:hover,#bo_list .btn_bo_user>li>button.btn:hover,#bo_v .btn_bo_user>li>a.btn:hover{border-color:#f4be24!important;background:#363123!important}
.casino-board-control-icon{width:19px!important;height:19px!important;display:inline-block!important;vertical-align:middle;flex-shrink:0}
#bo_list #bo_list_total{color:#a9a9ae!important;font-size:12px!important}
#bo_list .tbl_wrap,#bo_list .tbl_wrap table{border-left:0!important;border-right:0!important;background:transparent!important}
#bo_list .tbl_wrap th,#bo_list .tbl_wrap td{border-left:0!important;border-right:0!important}
#bo_list .tbl_wrap th{background:#222!important;color:#f4be24!important}
#bo_list .tbl_wrap td{background:#222!important;color:#eee!important;border-bottom-color:#373737!important}
#bo_list .tbl_wrap .empty_table{padding:38px 12px!important;color:#aaa!important}
#bo_list .pg_wrap{margin:24px 0!important;clear:both;text-align:center}
#bo_list .pg_page,#bo_list .pg_current{min-width:24px!important;height:28px!important;line-height:28px!important;padding:0 6px!important;font-size:12px!important;border:0!important;box-shadow:none!important;background-color:transparent!important;border-radius:4px!important;color:#999!important}
#bo_list .pg_current{color:#f4be24!important}
#bo_list .bo_sch .casino-board-control-icon{width:18px!important;height:18px!important}
@media(max-width:767px){#bo_list .btn_bo_user{gap:5px}#bo_list .btn_bo_user>li>a.btn,#bo_list .btn_bo_user>li>button.btn{width:32px!important;height:32px!important;min-width:32px}#bo_list .tbl_wrap{overflow-x:auto}#bo_list .tbl_wrap th,#bo_list .tbl_wrap td{font-size:12px!important}}

/* Decorative action layers must not intercept links. */
.tanga-ref-list-actions::before,.tanga-ref-list-actions::after,.tanga-qa-list-actions::before,.tanga-qa-list-actions::after,.casino-qa-reference-actions::before,.casino-qa-reference-actions::after{pointer-events:none!important}
a.casino-uniform-write::before,a.casino-uniform-write::after{display:none!important;pointer-events:none!important}
a.casino-uniform-write:focus-visible{outline:2px solid #f4be24;outline-offset:3px}

/* Unified dark-site pagination colors; no number boxes. */
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_page:not(.pg_start):not(.pg_prev):not(.pg_next):not(.pg_end){background:transparent!important;background-color:transparent!important;background-image:none!important;color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;border:0!important;box-shadow:none!important;opacity:1!important;font-weight:500!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_page:not(.pg_start):not(.pg_prev):not(.pg_next):not(.pg_end):hover{background:transparent!important;background-color:transparent!important;background-image:none!important;color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;border:0!important;box-shadow:none!important;opacity:1!important;font-weight:500!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_page:not(.pg_start):not(.pg_prev):not(.pg_next):not(.pg_end):focus{background:transparent!important;background-color:transparent!important;background-image:none!important;color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;border:0!important;box-shadow:none!important;opacity:1!important;font-weight:500!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > strong.pg_current{background:transparent!important;background-color:transparent!important;background-image:none!important;color:#F4BE24!important;-webkit-text-fill-color:#F4BE24!important;border:0!important;box-shadow:none!important;opacity:1!important;font-weight:500!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_page:not(.pg_start):not(.pg_prev):not(.pg_next):not(.pg_end):active{background:transparent!important;background-color:transparent!important;background-image:none!important;color:#F4BE24!important;-webkit-text-fill-color:#F4BE24!important;border:0!important;box-shadow:none!important;opacity:1!important;font-weight:500!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_start::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_start:hover::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_start:focus::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_start:active::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_start.pg_disabled::before{color:#888888!important;-webkit-text-fill-color:#888888!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_prev::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_prev:hover::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_prev:focus::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_prev:active::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_prev.pg_disabled::before{color:#888888!important;-webkit-text-fill-color:#888888!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_next::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_next:hover::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_next:focus::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_next:active::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_next.pg_disabled::before{color:#888888!important;-webkit-text-fill-color:#888888!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_end::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_end:hover::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_end:focus::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_end:active::before{color:#cccccc!important;-webkit-text-fill-color:#cccccc!important;}
html body:is(body,#casino-pagination-theme) .pg_wrap > .pg > .pg_end.pg_disabled::before{color:#888888!important;-webkit-text-fill-color:#888888!important;}

/* Compact new-post badge; prevent global font rules from enlarging N. */
html body .tanga-ref-new{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:14px!important;min-width:14px!important;max-width:14px!important;height:14px!important;min-height:14px!important;max-height:14px!important;padding:0!important;font-size:8px!important;line-height:1!important;font-weight:700!important;vertical-align:middle;flex:0 0 14px!important}
@media(max-width:767px){html body .tanga-ref-new{width:12px!important;min-width:12px!important;max-width:12px!important;height:12px!important;min-height:12px!important;max-height:12px!important;font-size:7px!important;flex-basis:12px!important}}

/* 조회 제목/숫자를 같은 중앙 기준선에 맞추고 오른쪽 여백 확보. */
html body:is(body,#casino-hit-spacing) .tanga-ref-board .tanga-ref-head,
html body:is(body,#casino-hit-spacing) .tanga-ref-board .tanga-ref-row{padding-right:22px!important;box-sizing:border-box!important}
html body:is(body,#casino-hit-spacing) .tanga-ref-board .tanga-ref-col-hit{width:100%!important;text-align:center!important;justify-self:stretch!important;padding:0!important;font-variant-numeric:tabular-nums}
html body:is(body,#casino-hit-spacing) #bo_list .tbl_wrap th.td_num,
html body:is(body,#casino-hit-spacing) #bo_list .tbl_wrap td.td_num{text-align:center!important;padding-left:10px!important;padding-right:10px!important}
@media(max-width:767px){html body:is(body,#casino-hit-spacing) .tanga-ref-board .tanga-ref-head,html body:is(body,#casino-hit-spacing) .tanga-ref-board .tanga-ref-row{padding-right:14px!important}}
