/* 진행중인 공모주 표 — 화면 폭에 맞춤 (사용자 요청 2026-11-19)
 * 원본은 표 최소 너비 1280px 고정이라 좁은 모니터에서 아래 가로 스크롤 바가 생김.
 * 번들 패치(tools/build_web.py 7번)가 표를 <div class="ipo-fit"> 로 감싸고, 여기서
 *  - 최소 너비를 없애고, 글자·칸 여백을 화면 폭에 따라 줄임 (1440px 이상은 원래 크기)
 *  - 칸 안 줄바꿈은 정해진 곳에서만 (날짜·희망공모가 범위는 '~' 뒤, 종목명은 글자 단위, 주간사는 회사 단위)
 *    숫자·날짜 하나는 중간에서 끊지 않음
 *  - 가로 스크롤 바는 숨김
 * 휴대폰(768px 미만)은 원래대로 카드형 화면이 보임. */
.ipo-fit .overflow-x-auto{overflow-x:hidden!important;scrollbar-width:none}
.ipo-fit .overflow-x-auto::-webkit-scrollbar{display:none}
.ipo-fit table{min-width:0!important;width:100%;table-layout:auto;font-size:clamp(9px,calc(4px + .6vw),12.5px)!important}
html .ipo-fit table td,html.ipo-themed .ipo-fit table td:not(:first-child){font-size:inherit!important}
.ipo-fit table thead tr{font-size:clamp(8.5px,calc(3.5px + .55vw),11.5px)!important}
.ipo-fit table th{white-space:normal!important;word-break:keep-all;line-height:1.25;padding:clamp(6px,.75vw,12px) clamp(2px,.45vw,10px)!important}
.ipo-fit table .cell{white-space:normal;word-break:keep-all;overflow-wrap:normal;line-height:1.35;padding:clamp(5px,.6vw,10px) clamp(2px,.45vw,10px)}
html .ipo-fit table td:first-child{min-width:5.5em!important;max-width:10em!important}
.ipo-fit table td span[class*="rounded-full"]{font-size:.92em!important;padding:.2em .6em!important;white-space:nowrap;display:inline-block}
.ipo-fit table td img{max-width:100%}

/* 맨 위 탭 메뉴: 좁은 PC 화면에서 탭이 한 줄에 안 들어가면 가로 스크롤 바 대신 두 줄로 (휴대폰은 원래대로 밀어서 보기, 스크롤 바만 숨김) */
header nav.overflow-x-auto{scrollbar-width:none}
header nav.overflow-x-auto::-webkit-scrollbar{display:none}
@media (min-width:768px){header nav.overflow-x-auto{flex-wrap:wrap;overflow-x:visible}}
